Commit graph

156 commits

Author SHA1 Message Date
Jed Fox 9e7f94a237
Fix handling of -0 in budget summary (#229)
* Fix handling of -0 in budget summary

* Update based on review

Co-Authored-By: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-31 22:38:16 +01:00
Tom French 89128faf3f
Merge pull request #164 from bdoherty/windows
build on windows
2022-08-30 21:52:16 +01:00
Tom French e638cdf467
fix: use correct comment style 2022-08-30 20:35:57 +01:00
Tom French d293613645 build: remove patch-package dependency from loot-design 2022-08-30 20:33:17 +01:00
bdoherty 18e6eac116
Conditionally set MSYS
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-31 07:31:03 +12:00
Tom French b0ed8d5149
Merge pull request #204 from TomAFrench/yarn-workspace-dependencies
Use workspace ranges for monorepo dependencies
2022-08-30 16:35:57 +01:00
Tom French fecca411b0
Merge branch 'master' into windows 2022-08-30 15:07:32 +01:00
Tom French 5505a1439a
Merge pull request #217 from TomAFrench/remove-unused-imports
Remove unused imports and sort imports in desktop-client
2022-08-30 10:19:04 +01:00
Ezekiel Elin 55b9a0e7ef Fix enter to create accounts 2022-08-29 23:47:07 -04:00
Tom French 887df1e388 refactor: sort imports in desktop-client alphabetically 2022-08-30 01:27:10 +01:00
Tom French 8e41d8d2dd chore: remove unused imports from desktop-client 2022-08-30 01:24:32 +01:00
Trevor Farlow 3773ab9892
adm-zip to 0.5.6 2022-08-26 10:10:15 -06:00
Tom French 677faa611d build: make eslint-plugin-prettier a dependency of desktop-client 2022-08-25 16:35:48 +01:00
Tom French 3ee7ae16cc style: fix or silence linting errors in desktop-client 2022-08-25 16:20:09 +01:00
Tom French 203ab791f2 fix: correct some re-exports which were breaking things 2022-08-24 21:15:16 +01:00
Tom French c77273742b fix: stop trying to transform node_modules 2022-08-24 21:15:00 +01:00
Tom French 0e0b46ed5e fix: stop the web tests from running in node environment 2022-08-24 21:14:16 +01:00
Tom French 3118cf26e3 fix: add ts-jest presets which are equivalent to the old transform properties 2022-08-24 21:13:04 +01:00
Tom French 102d92048b chore: allow mobile package to pass with no tests 2022-08-24 20:21:35 +01:00
Tom French 9be15eaee1 build: replace babel-jest with ts-jest 2022-08-24 20:21:35 +01:00
Tom French e3ee0c61a6
Merge pull request #137 from TomAFrench/skip-failing-test-suites
Skip failing test suites
2022-08-24 20:20:20 +01:00
Tom French 7fa62b431c
Merge pull request #124 from andremralves/fix/hitting-enter-on-bootstrap-page
fix: hitting enter after setting password redirects to demo page
2022-08-24 00:31:02 +01:00
Tom French f7c977dc12 build: use workspace ranges for monorepo dependencies 2022-08-24 00:07:06 +01:00
Tom French 5a49d65b72 test: skip failing test suites 2022-08-23 17:25:56 +01:00
Tom French 3f0addc78e chore: remove unused rollup config and dependencies 2022-08-23 16:19:29 +01:00
Tom French 26ff01f4c9 Merge branch 'master' into remove-unused-deps
* master:
  style: apply prettier fixes
  style: switch prettier to enforce single quotes
  style: enforce prettier rules in linter
  chore: silence erroneous warning for missing moment.js install
  fix: revert remaining changed weights
  fix: revert changes to weights and pin fast-check version to 2.13.0
  test: make all frequency weights be integer values
2022-08-23 16:13:15 +01:00
Tom French 8f3e9d4b37 Merge branch 'master' into fix-splitfreq-weights
* master:
  style: apply prettier fixes
  style: switch prettier to enforce single quotes
  style: enforce prettier rules in linter
  chore: silence erroneous warning for missing moment.js install
2022-08-23 15:57:50 +01:00
Tom French b230c52f92
Merge pull request #131 from TomAFrench/silence-moment-errors
Silence warning for missing moment.js install
2022-08-23 15:55:07 +01:00
Tom French 57e0d713da Merge branch 'master' into fix-splitfreq-weights
* master: (39 commits)
  fix: correct import of merkle in test
  chore: move snapshot to new dir
  refactor: move crdt files into separate directory
  revert: revert pruning of svg imports
  style: nicer re-exporting syntax
  refactor: remove unused imports
  chore: update package scripts to take advantage of yarn v3
  build: add missing eslint dependency to loot-core
  build: add cross-env dependency to desktop-client package.json
  build: remove deprecated nohoist settings and prevent hoisting of mobile dependencies
  fix: move downshift patch to monorepo root
  CI: update CI definition to use yarn v3
  fix: wrap glob in quotes so that it's properly passed to npm-run-all
  chore: update root yarn scripts to use `workspace` command instead of cd
  chore: fix broken builds
  chore: update to yarnv3 and fix missing packages preventing install
  Force react-error-overlay to 6.0.9 to fix error
  Add docs for building for windows (contributed by @ejmurra)
  add: tsconfig.json
  build: replace jwl-dev-utils with react-dev-utils
  ...
2022-08-23 12:37:46 +01:00
Tom French 8d0872c7a4 Merge branch 'master' into prettier
* master:
  fix: correct import of merkle in test
  chore: move snapshot to new dir
  refactor: move crdt files into separate directory
  revert: revert pruning of svg imports
  style: nicer re-exporting syntax
  refactor: remove unused imports
  chore: update package scripts to take advantage of yarn v3
  build: add missing eslint dependency to loot-core
  build: add cross-env dependency to desktop-client package.json
  build: remove deprecated nohoist settings and prevent hoisting of mobile dependencies
  fix: move downshift patch to monorepo root
  CI: update CI definition to use yarn v3
  fix: wrap glob in quotes so that it's properly passed to npm-run-all
  chore: update root yarn scripts to use `workspace` command instead of cd
  chore: fix broken builds
  chore: update to yarnv3 and fix missing packages preventing install
  Force react-error-overlay to 6.0.9 to fix error
  Add docs for building for windows (contributed by @ejmurra)
  add: tsconfig.json
2022-08-23 12:31:04 +01:00
Tom French 0c6304572c build: remove more unused dependencies 2022-08-23 12:24:31 +01:00
Tom French 93a3543464 build: remove unused dependencies 2022-08-23 12:24:03 +01:00
Tom French 8a91006c7b fix: correct import of merkle in test 2022-08-22 23:09:08 -04:00
Tom French 0dcff8e671 chore: move snapshot to new dir 2022-08-22 23:09:08 -04:00
Tom French 6967698d32 refactor: move crdt files into separate directory 2022-08-22 23:09:08 -04:00
Tom French fc4f120487 revert: revert pruning of svg imports 2022-08-22 22:51:01 -04:00
Tom French 88590dccaa style: nicer re-exporting syntax 2022-08-22 22:51:01 -04:00
Tom French d705cd351b refactor: remove unused imports 2022-08-22 22:51:01 -04:00
Tom French 1fb6e193f0 build: add missing eslint dependency to loot-core 2022-08-22 22:35:07 -04:00
Tom French 2d9091f179 build: add cross-env dependency to desktop-client package.json 2022-08-22 22:35:07 -04:00
Tom French 58a0910996 build: remove deprecated nohoist settings and prevent hoisting of mobile dependencies 2022-08-22 22:35:07 -04:00
Tom French aa4d05ece6 fix: move downshift patch to monorepo root 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
Brendan Doherty 90f7a205a6 changes needed to build on windows 2022-08-13 05:48:24 +12:00
James Long a92e740c88 Add docs for building for windows (contributed by @ejmurra) 2022-08-12 09:48:38 -04:00
Tom French d30067b5b9 style: apply prettier fixes 2022-07-24 08:53:05 +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 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 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 159d53260d chore: delete unused directory browser/build 2022-07-07 18:27:26 -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 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 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 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
Tom French 908def3957 build: add a yarn clean script to desktop-electron 2022-06-29 10:04:10 -04:00
Tom French 87529218df build: add a "yarn build" script to desktop-electron 2022-06-29 10:04:10 -04:00
Tom French 8c56fa46b5 build: sort contents of data-file-index.txt 2022-06-29 09:57:00 -04:00
Tom French 538077f448 chore: remove stats.json 2022-06-29 09:56:37 -04:00
Tom French 583e3b7db7 chore: clean up unwanted files 2022-06-29 09:56:37 -04:00
Tom French 2ec2508c0e fix: add missing comma to jest.config.js 2022-06-29 09:54:46 -04:00
Tom French 1c03867916 chore: update importer packages package.json to point to new repo 2022-06-29 09:53:42 -04:00
Tom French e9644270ba chore: remove duplicated license entry 2022-06-29 09:50:39 -04:00
Tom French 0124380183 chore: remove empty object entries in package.jsons 2022-06-29 09:50:39 -04:00
Tom French d4baa9932c chore: sort dependencies in api package 2022-06-29 09:50:39 -04:00
Tom French bd0f243118 chore: reorder packages in desktop-client package.json 2022-06-29 09:50:39 -04:00
Tom French c94749aace test: make all frequency weights be integer values 2022-06-27 01:20:14 +01:00