Commit graph

189 commits

Author SHA1 Message Date
Tom French
d30067b5b9 style: apply prettier fixes 2022-07-24 08:53:05 +01:00
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
Tom French
55870be101 chore: silence erroneous warning for missing moment.js install 2022-07-17 17:03:57 +01:00
Tom French
c1761b9302 ci: add action to mark new issues for triage 2022-07-16 11:03:59 +01:00
Tom French
91967ef920 fix: revert remaining changed weights 2022-07-16 10:31:26 +01: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
c6335b4f57 Merge branch 'master' into fix-splitfreq-weights
* master: (43 commits)
  build: move dev dependencies from dependencies array and remove unused dependencies
  build: fix offical node version to 16.15.0
  chore: delete unused directory `browser/build`
  docs: remove holiday text from README
  build: update downshift patch to match installed version
  style: revert to using var to minimise diff
  style: replace var with const
  fix: enforce proper length constraints on timestamp counter and node id
  test: fix test to properly pass in invalid inputs individually
  ci: re-add runner os specific caches
  ci: turn boilerplate into composite action
  ci: only build electron app on master
  docs: add comment explaining how to reactivate code signing
  build: remove signing config
  ci: avoid attempting to get CSC_KEY_PASSWORD interactively in github actions
  ci: always use bash as the shell
  ci: cache node_modules per runner os
  ci: avoid duplicate linting in CI
  ci: add electron build to CI
  ci: build api and web packages in CI
  ...
2022-07-08 21:21:51 +01:00
Tom French
2846166a8e fix: revert changes to weights and pin fast-check version to 2.13.0 2022-07-08 21:19:48 +01: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
Andre Alves
a2b67cb153 fix: hitting enter after setting password redirects to demo page 2022-07-06 14:51:03 -03: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