dependabot[bot]
fe6ff6a1ae
Bump electron from 21.4.1 to 22.3.25 in /client
...
Bumps [electron](https://github.com/electron/electron ) from 21.4.1 to 22.3.25.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v21.4.1...v22.3.25 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-08 01:14:45 +02:00
Dan Albert
8b04dd878d
Migrate IP placement to WaypointSolver.
2023-10-07 17:07:32 +02:00
Dan Albert
12cdb8646c
Improve IP selection near threat zone centers.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2754 .
2023-10-01 19:26:21 +02:00
dependabot[bot]
1ba3f2fbb4
Bump @adobe/css-tools from 4.1.0 to 4.3.1 in /client ( #202 )
2023-09-04 00:54:44 +02:00
Raffson
a8a37fa3e7
Add GroupTask to TGO for map filtering
...
Resolves #21
2023-09-03 23:41:15 +02:00
dependabot[bot]
43b6cb8bb1
Bump tough-cookie from 4.1.2 to 4.1.3 in /client
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15 18:05:42 +02:00
Dan Albert
6f1333d26a
Test NavMeshLayer.
2023-06-17 13:57:08 +02:00
Dan Albert
42a0545630
Test FrontLinesLayer.
2023-06-17 13:57:07 +02:00
Dan Albert
e4e7155f02
Partial tests for FrontLine.
...
We need to mock the backend to usefully test the contextmenu handler.
I'd like to finish all the low hanging fruit before going for that.
2023-06-17 13:56:55 +02:00
Dan Albert
2286d155c4
Test FlightPlansLayer.
2023-06-16 22:42:58 +02:00
Dan Albert
7c1b642aa8
Test CullingExclusionZones.
2023-06-16 22:42:57 +02:00
Dan Albert
198f93fe4a
Test ControlPointsLayer.
2023-06-16 22:42:56 +02:00
Dan Albert
ea25e2ceb8
Add tests for CombatLayer.
2023-06-16 22:42:56 +02:00
Dan Albert
453343849f
Test Combat.
2023-06-16 22:42:55 +02:00
Dan Albert
cee9122680
Add tests for AirDefenseRangeLayer.
2023-06-16 22:42:55 +02:00
Dan Albert
3b40aef70c
Add tests for AircraftLayer.
2023-06-12 20:59:12 +02:00
Raffson
7bbf5d59e4
Update package-lock.json
2023-05-14 17:31:18 +02:00
Dan Albert
2c9dcd430f
Add a test for the Aircraft component.
...
Leaflet (or maybe react-leaflet?) isn't very testable, so we can really
only test that mocks were called with the right props for the leaflet
components we expect, but that's still better than nothing.
2023-05-14 17:28:46 +02:00
Dan Albert
71c2eb3567
Test typescript and collect coverage.
...
We don't actually have any tests yet :(
2023-05-14 17:28:46 +02:00
dependabot[bot]
ae24b5e1ea
Bump webpack from 5.75.0 to 5.76.2 in /client
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.2 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 21:16:49 +01:00
Raffson
b25f484ef3
More renaming of Liberation into Retribution
2023-02-05 12:05:27 +01:00
Raffson
1033923f68
Update React dependencies
2023-02-04 17:02:44 +01:00
dependabot[bot]
1deff6fa49
Bump json5 from 1.0.1 to 1.0.2 in /client ( #68 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 19:17:30 +01:00
dependabot[bot]
13cb4d321a
Bump loader-utils from 1.4.1 to 1.4.2 in /client ( #20 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 16:39:49 +01:00
dependabot[bot]
f0fcd7155c
Bump loader-utils from 1.4.0 to 1.4.1 in /client ( #18 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 16:07:57 +01:00
Raffson
bdbfc19c7c
Attempt at fixing Dependabot issues in front-end
2022-10-23 17:42:42 +02:00
Dan Albert
febcbce413
Key the PrimaryMarker with destination presence.
...
This is how React recommend dealing with derived state that needs to be
reset:
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
The problem is that the new turn will give the component new props, but
new props will not cause the state to be reset. We can either do that
manually (which React recommends only for the cases where it is
absolutely necessary:
https://reactjs.org/docs/hooks-faq.html#how-do-i-implement-getderivedstatefromprops ),
or by forcing the component to be replaced by using a key.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2388 .
2022-10-16 12:51:17 +02:00
Dan Albert
b478e9c3af
Split up the ControlPoint.tsx monolith.
...
This is in need of some serious refactoring so that
https://github.com/dcs-liberation/dcs_liberation/issues/2388 can be
fixed.
2022-10-16 12:51:17 +02:00
Dan Albert
6c388bd557
Factor out control point location event behavior.
2022-10-16 12:51:16 +02:00
Dan Albert
f0a30b5cb7
Document primary/secondary CP marker behavior.
2022-10-16 12:51:16 +02:00
Dan Albert
daa5227f07
Fix the react app initialization.
...
ReactDOM.render is deprecated and using it forces react 17 behavior.
2022-10-16 12:51:16 +02:00
Dan Albert
07425ea04f
Update NPM dependencies.
...
New versions of react and leaflet, along with a lot of other packages.
I'm hoping that the newest react-leaflet might let use solve the carrier
drag and drop issues in a less hacky way, since that's the cause of
https://github.com/dcs-liberation/dcs_liberation/issues/2388 .
2022-10-09 12:46:05 +02:00
Dan Albert
326291e708
Fix the react test.
...
It's still a useless test, but now it passes.
2022-10-09 12:46:05 +02:00
Dan Albert
998a58df34
Ignore vscode tasks file in client.
2022-10-09 12:46:05 +02:00
Dan Albert
9c20a3cf51
Update caniuse-lite.
...
Complains when tests are run.
2022-10-09 12:45:53 +02:00
Dan Albert
3a412b420b
Double the front line thickness.
...
Make it easier to click on.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2437 .
2022-10-02 19:56:51 +02:00
Dan Albert
8126635bd9
Add missing type annotation.
...
Caught by newer versions of typescript.
2022-10-02 19:56:50 +02:00
Dan Albert
cb5783e360
Fix rendering of join permissible zones.
...
The zones themselves are supposed to be unstroked because we only want
to stroke the boundaries of the zone that are preferred.
2022-09-17 14:35:11 +02:00
Dan Albert
cbfeebd28c
Ignore user vscode settings in the client.
2022-09-17 14:35:00 +02:00
Dan Albert
2dba0f07ad
Support polygons with holes in the API.
...
We don't have any of these yet because our landmaps suck, but we'll need
holes in the sea zones to mask islands correctly.
2022-09-17 14:35:00 +02:00
Dan Albert
db4b43f495
Fix inclusion/exclusion zone reversal in UI.
2022-09-04 12:07:16 +02:00
Raffson
244415b721
PBO: IADS
...
Finishes/Fixes part of advanced IADS in back-end
2022-08-14 15:26:40 +02:00
Raffson
e9917ba00e
Front-end 'push' updates for SupplyRoutes
2022-08-14 14:45:25 +02:00
dependabot[bot]
16b03ec90e
Bump terser from 5.11.0 to 5.14.2 in /client ( #2333 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.11.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 23:33:51 +02:00
Raffson
7355162d80
Fix combat updates in the front-end.
...
`setCombat` was never called, so old combats were never cleared on turn
end, game load, or unload.
https://github.com/dcs-liberation/dcs_liberation/issues/2253
2022-07-06 13:36:15 -07:00
Raffson
9823f7b96f
Push full navmesh/threatzone info in the event stream.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2253
https://github.com/dcs-liberation/dcs_liberation/issues/2263
2022-07-06 13:27:06 -07:00
Raffson
a20b95bb26
Push full TGO information in the event stream.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2263
2022-07-06 12:41:58 -07:00
Raffson
27dff95df5
Handle IADS updates properly.
...
This adds the missing events in the backend, and handles them properly in the front end.
2022-06-29 18:58:49 -07:00
Raffson
61488627a4
Push full control point information in the event stream.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2263
2022-06-25 14:17:08 -07:00
Raffson
da90a40bc4
Push full front line information in the event stream.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2263
2022-06-25 14:13:10 -07:00