Matthew Turney
4c70806a5a
Support SLEF import format for importing builds.
...
Inara uses the [SLEF] format to export builds. This format is mostly
just a wrapper around the standard journal loadout format and includes
support for source app metadata and exporting of multiple loadouts at
one time. This change adds support for this format in the manual
importer. Eventually it would be good to support this in the import
route as well so Inara (or any other apps) can link directly to
coriolis.
[SLEF]: https://inara.cz/inara-impexp-slef/
2020-06-14 12:38:24 -05:00
Matthew Turney
7de304bdbe
Tests for ImportModal are failing
...
All of the compressed data in the Persisted storage has subtly changed.
It is not entirely clear why it has changed and the imports still
function correctly.
Another change is the 'Import Backup' tests. At some point there was a
change to just remove invalid builds instead of throwing validation
errors. The tests were never updated to fit this use-case.
2020-06-14 12:38:09 -05:00
Matthew Turney
34f9f28c16
Import tests fail due to Jest API change with mock functions
2020-06-14 10:51:39 -05:00
strideynet
d82128690b
Outdated URLs in tests don't match actual URLs
2017-08-17 19:47:13 +01:00
Cmdr McDonald
82725e1c5a
Fixes
2017-04-25 12:10:44 +01:00
Cmdr McDonald
59a5ba0227
Updaes
2017-04-23 16:06:14 +01:00
Cmdr McDonald
95f358f9d8
Upgrade to React 15.5
2017-04-21 16:07:41 +01:00
Cmdr McDonald
42c43d3f2d
Use single calculation for shield metrics
2017-04-04 08:51:02 +01:00
Cmdr McDonald
73a75c69a3
Make various components stateless
2017-03-20 13:52:24 +00:00
Cmdr McDonald
91cab5a4f1
Embed battle centre in main pages
2017-03-17 12:07:18 +00:00
Cmdr McDonald
597344353a
Update test with new hardness
2017-03-03 22:40:50 +00:00
Cmdr McDonald
ab1d73a6ea
Add crew
2017-02-16 22:43:06 +00:00
Cmdr McDonald
7fbcbb75ed
Do not rely on slot sizes being correct
2017-02-11 19:45:28 +00:00
Cmdr McDonald
df03102c35
Added time to drain calculation and display
2017-01-30 21:31:55 +00:00
Cmdr McDonald
c1ddecfd3e
Add specials
2017-01-27 21:32:07 +00:00
Cmdr McDonald
8b855b62a1
Fix tests with new values
2017-01-25 10:59:28 +00:00
Cmdr McDonald
c49e2cff03
Lint and test fixes
2017-01-22 17:12:48 +00:00
Cmdr McDonald
80656a7a78
Fix resistance diminishing return calculations
2017-01-11 21:33:31 +00:00
Cmdr McDonald
66d4b5ac4c
Fix tests due to new module values
2017-01-10 19:30:43 +00:00
Cmdr McDonald
b40a2e96e0
Fix for change to military slots
2016-12-24 23:49:33 +00:00
Cmdr McDonald
af82b8ca1e
Fix up tests
2016-12-15 16:46:38 +00:00
Cmdr McDonald
22e74164c5
Alternate (embedded) code versioning scheme; start to fix up tests
2016-12-14 22:38:21 +00:00
Cmdr McDonald
a6a10df39c
Add movement summary; add standard internal class sizes to shipyard page; fix issue when importing Viper Mk IV
2016-12-11 21:52:49 +00:00
Cmdr McDonald
c1ce07e039
Calculate rate of fire for multi-burst weapons
2016-11-30 12:19:40 +00:00
Cmdr McDonald
2c9237626d
Show specials; handle import of specials
2016-11-27 19:43:43 +00:00
Cmdr McDonald
f86ba48295
Fix tests
2016-11-26 18:58:29 +00:00
Cmdr McDonald
e73e0a305d
Use new-style modification data
2016-11-26 18:54:22 +00:00
Cmdr McDonald
0ab59c1f9a
Handle import of restricted slots - fix for #35
2016-11-24 11:10:41 +00:00
Cmdr McDonald
9042de422a
patch
2016-11-23 01:05:13 +00:00
Cmdr McDonald
fdb202e7d6
Add blueprints
2016-11-22 15:52:31 +00:00
Cmdr McDonald
0d3c128059
Lints and tests
2016-11-15 13:38:02 +00:00
Cmdr McDonald
030867c4f8
Update test results
2016-11-14 16:47:28 +00:00
Cmdr McDonald
9556f28ba4
Add ability to import directly from companion API output
2016-11-12 12:02:52 +00:00
Cmdr McDonald
ad570534a0
Update test outputs
2016-11-11 00:21:53 +00:00
Cmdr McDonald
38eaebefc0
Fix import and export of ships with modifications, bump schema version to 4
2016-11-09 16:32:11 +00:00
Cmdr McDonald
09895852c3
Fixes for tests
2016-10-17 15:12:05 +01:00
Colin McLeod
b49eb06101
Use IDs for standard components instead of [class][rating]. Update tests accordingly
2016-06-06 00:07:21 -07:00
Colin McLeod
1544deb350
Update tests for eagle changes
2016-03-07 09:14:48 -08:00
Colin McLeod
d7000bfebf
Update test to work with Jest 0.9.0
2016-03-06 17:22:26 -08:00
Colin McLeod
7b3c3a1236
Correct test data
2016-02-24 12:30:35 -08:00
Colin McLeod
524b05159e
Merge branch 'react'
2016-02-24 12:21:58 -08:00
Colin McLeod
e2170c9d2f
Update tests and correct beta version
2016-02-24 12:13:51 -08:00
Colin McLeod
9175fb60af
2.0.1 Beta
2016-02-13 22:48:48 -08:00
Colin McLeod
d783a38588
Continued porting to react
2016-02-02 09:13:59 -08:00
Colin McLeod
b42a812a45
React port nearing completetion. Adding tests
2016-01-27 00:52:57 -08:00
Colin McLeod
8227a4e361
Continued porting to react, approaching beta
2016-01-21 22:06:05 -08:00