Commit graph

81 commits

Author SHA1 Message Date
Tom French 5977e020f0 style: switch prettier to enforce single quotes
This is the style predominantly used in the codebase currently.
2022-07-24 08:53:04 +01:00
Tom French a44834c0d3 style: enforce prettier rules in linter 2022-07-24 08:53:04 +01:00
Tom French ffc3e2f423 build: replace jwl-dev-utils with react-dev-utils 2022-07-24 00:17:06 -04:00
Arthur E. Jones c171597c7b refactor: remove change notes link
Release note publishing is currently in flux. As such, there is no
determinate location to link to.
2022-07-23 00:33:09 -04:00
Arthur E. Jones 0ab294b50e feat: add server version to ManagementApp 2022-07-23 00:33:09 -04:00
Arthur E. Jones eed864aca1 refactor: extract useServerVersion hook 2022-07-23 00:33:09 -04:00
Arthur E. Jones b95a57080b refactor: adjust version formatting and position 2022-07-23 00:33:09 -04:00
Arthur E. Jones 1a449ae0b8 fix: wrap async func in useEffect 2022-07-23 00:33:09 -04:00
Arthur E. Jones 3290e73978 refactor: get server version via backend method
Avoid touching the server directly. Maintains consistency with existing
workflow and centralizes changes in the event that, for example, auth
requirements change for this route.
2022-07-23 00:33:09 -04:00
Arthur E. Jones 37ca3c005a feat: add get-server-version handler 2022-07-23 00:33:09 -04:00
Arthur E. Jones 7d31c51790 feat: display server version on settings page
Shows the version returned form the server /info endpoint as static text
on the Settings component.
2022-07-23 00:33:09 -04:00
Arthur E. Jones 6c8cb65ac2 refactor: extract Version component 2022-07-23 00:33:09 -04:00
Arthur E. Jones 4a49533aba feat: display client version on settings page
Shows the @actual-app/web package version as static text on the Settings
component.
2022-07-23 00:33:09 -04:00
Trevor Farlow 33ca432ea6 build: Bump @babel/plugin-transform-modules-commonjs to get test transform working 2022-07-19 23:31:42 -04:00
Trevor Farlow 3273b2723d refactor: currency-formatter -> Intl.NumberFormat 2022-07-19 23:31:42 -04:00
Arthur E. Jones 2c9ecee464 refactor: split groups with slice 2022-07-11 01:13:12 -04:00
Arthur E. Jones 70b99c451c test: add invalid length date test cases 2022-07-11 01:13:12 -04:00
Arthur E. Jones e32a916bd2 test: add impossible date test cases
Tests impossible dates eg
- months outside 1-12 range
- days outside valid range for a given month
2022-07-11 01:13:12 -04:00
Arthur E. Jones 5756ef6f98 docs: update documentation/comments 2022-07-11 01:13:12 -04:00
Arthur E. Jones face6c254d style: apply prettier 2022-07-11 01:13:12 -04:00
Arthur E. Jones dcf5379f49 test: add parseDate tests 2022-07-11 01:13:12 -04:00
Arthur E. Jones 2897b647a1 fix: use more versatile date regex
Previous implementation could not parse dates that are lacking delimiters.

Fix issue #116
2022-07-11 01:13:12 -04:00
Tom French 7e4728d646 build: move dev dependencies from dependencies array and remove unused dependencies 2022-07-07 18:28:46 -04:00
Tom French f9a9475497 build: fix offical node version to 16.15.0 2022-07-07 18:27:52 -04:00
Tom French 159d53260d chore: delete unused directory browser/build 2022-07-07 18:27:26 -04:00
Tom French cfa586e344 docs: remove holiday text from README 2022-07-07 18:20:42 -04:00
Tom French de81e2cf76 build: update downshift patch to match installed version 2022-06-29 13:31:10 -04:00
Tom French 96e797dca4 style: revert to using var to minimise diff 2022-06-29 13:28:03 -04:00
Tom French 6f9e51191d style: replace var with const 2022-06-29 13:28:03 -04:00
Tom French 966e49ad54 fix: enforce proper length constraints on timestamp counter and node id 2022-06-29 13:28:03 -04:00
Tom French c66c316b95 test: fix test to properly pass in invalid inputs individually 2022-06-29 13:28:03 -04:00
Tom French 8ae21c9782 ci: re-add runner os specific caches 2022-06-29 13:24:34 -04:00
Tom French 883df58724 ci: turn boilerplate into composite action 2022-06-29 13:24:34 -04:00
Tom French 6b06105f00 ci: only build electron app on master 2022-06-29 13:24:34 -04:00
Tom French e906b9652c docs: add comment explaining how to reactivate code signing 2022-06-29 13:24:34 -04:00
Tom French d6eb0d9d2e build: remove signing config 2022-06-29 13:24:34 -04:00
Tom French 86fbab2d2a ci: avoid attempting to get CSC_KEY_PASSWORD interactively in github actions 2022-06-29 13:24:34 -04:00
Tom French 97cf072fc6 ci: always use bash as the shell
windows is currently defaulting to powershell
2022-06-29 13:24:34 -04:00
Tom French fdbcf8d906 ci: cache node_modules per runner os 2022-06-29 13:24:34 -04:00
Tom French 91147285f0 ci: avoid duplicate linting in CI 2022-06-29 13:24:34 -04:00
Tom French 0a7e6fba8b ci: add electron build to CI 2022-06-29 13:24:34 -04:00
Tom French a9cf0b6cda ci: build api and web packages in CI 2022-06-29 13:24:34 -04:00
Tom French 55044de921 style: fix linter warning 2022-06-29 10:48:19 -04:00
Tom French 5451cfae32 ci: add linter check to CI 2022-06-29 10:48:19 -04:00
Tom French 7dc5646555 fix: correct other scripts which use sh shebang but bash features 2022-06-29 10:31:58 -04:00
Tom French c97b378ccc fix: use bash over sh in package-browser 2022-06-29 10:31:58 -04:00
Tom French 9d7dedeb2f build: update react-modal in loot-design to 3.4.4 2022-06-29 10:27:42 -04:00
Tom French c431ccf74a build: lock packages to the versions for which patches have been made 2022-06-29 10:27:42 -04:00
Tom French f517c2457a build: remove unused patch 2022-06-29 10:09:28 -04:00
Tom French fda8127b4e docs: add documentation on how to build the protobuf 2022-06-29 10:07:02 -04:00