Commit graph

88 commits

Author SHA1 Message Date
Tom French aa4d05ece6 fix: move downshift patch to monorepo root 2022-08-22 22:35:07 -04:00
Tom French 2eb4408872 CI: update CI definition to use yarn v3 2022-08-22 22:35:07 -04:00
Tom French 5c96635d79 fix: wrap glob in quotes so that it's properly passed to npm-run-all 2022-08-22 22:35:07 -04:00
Tom French 5dad1070b6 chore: update root yarn scripts to use workspace command instead of cd 2022-08-22 22:35:07 -04:00
Tom French b41ee56c81 chore: fix broken builds 2022-08-22 22:35:07 -04:00
Tom French ce5ee1b877 chore: update to yarnv3 and fix missing packages preventing install 2022-08-22 22:35:07 -04:00
James Long 2358c0875d Force react-error-overlay to 6.0.9 to fix error 2022-08-15 11:23:51 -04:00
James Long a92e740c88 Add docs for building for windows (contributed by @ejmurra) 2022-08-12 09:48:38 -04:00
Wout Mertens ac1e2b3c79 add: tsconfig.json
This configures TS to look at JS files as well, so that IDEs like VSCode
can provide better edit-time checks
2022-08-12 09:29:18 -04: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