- Dec 19, 2023
-
-
Matiss Janis Aboltins authored
-
- Nov 14, 2023
-
-
Matiss Janis Aboltins authored
-
- Sep 05, 2023
-
-
Joel Jeremy Marquez authored
* desktopc-client swc-loader * More swc * Jest swc + upgrades * Revert @swc/jest usage for now * SWC minify * Remove setupFilesAfterEnv in package.json as per warning message in CI * Release notes * Minify on CI * swc helpers in loot-core * @swc/jest * Upgrade webpack * Add @swc/core to crdt * Use yarn cache in github actions * Cleanup * Fix electron * Revert "Fix electron" This reverts commit 787af1980648fa30788a1d1678dcda534716f31d. * Revert action.yml cache changes --------- Co-authored-by:
Matiss Janis Aboltins <matiss@mja.lv>
-
- Sep 03, 2023
-
-
Matiss Janis Aboltins authored
-
Matiss Janis Aboltins authored
-
- Jul 30, 2023
-
-
Matiss Janis Aboltins authored
Closes #1415 Fix number formatter not listening to state changes. This is not a fully comprehensive solution. We will need to run a migration campaign to port over from direct usage of `format` util to `useFormat`, but this is a first step that solves the most glaring issue.
-
Jed Fox authored
-
- Jul 18, 2023
-
-
Jed Fox authored
-
- Jun 28, 2023
- Jun 27, 2023
-
-
Jed Fox authored
<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes -->
-
Jed Fox authored
-
- Jun 26, 2023
-
-
Jed Fox authored
This significantly speeds up `yarn lint` for me. It also ensures we’re listing all source files in the project, including the `.eslintrc` files and any other files that may be present.
-
- Jun 18, 2023
-
-
Matiss Janis Aboltins authored
actual-server does not need to import the full actual-app/api package. It can import only the CRDT stuff.. so I'm extracting it into a new package to reduce the size of actual-server and make the link between things more transparent.
-
- Jun 10, 2023
-
-
Jed Fox authored
~based on #1114~ This brings its build process up to date with the rest of the project. We can now use Node 20 to build successfully. Closes #918
-
- Jun 08, 2023
-
-
Davis Silverman authored
Draft because it is untested, maybe tonight I will test it! Just wanted to get some code out cause i had a spare 5 minutes. The new parser isn't immediately good enough to replace the old parser, and I sadly lost the time to contribute more! Sorry! If someone else wants to take maintenance burden of this code, we can not merge this. Otherwise, it should go the way of the Dodo it seems. Thanks! Closes #1044
-
- May 18, 2023
-
-
Shazib Hussain authored
Updates to the latest version of electron and moves the backend-frontend communication from node-ipc to websockets. This resolves the previous roadblock regarding `nodeIntegration` . Done - Remove node-ipc in favour of websockets. - Move file copying out of `preload.js` to avoid importing module `fs` there - Bump all electron pacakge versions to the latest - Added new package for finding open ports as node-ipc is gone - Tweaked webpack config for above changes Partially fixes #468 Questions/ Pending: - Literally every single test fails for me, presumably some issue with my setup/environment. - The websocket communication is not using TLS. I'm not sure how to enable this, or if we even need to as its all local. - Still need to create the CI for building/deploying but I'm not sure where start in this regard as i have no exp with it. Presumably we will need to point the electron auto-updater to the github releases url's. If people are happy with this PR I will look at adding the CI before its merged. - In dev mode only, I have disabled TLS security becuase my docker container's cert is not signed. I _assume_ this will be true for other people who spin up the server on thier own hardware. Perhaps I just need to change my cert to one from letsencrypt or something... Notes. I have not touched javascript in eons so my apologies if the commit trail is a bit fragmented. I tried to keep them fairly contained and then there is a slightly gnarly final commit fixing all the linter issues... Please let me know if you want me to squash some commits etc. I initially tried to move this to web workers the same way the web app does it but this was unsuccessful. I have found no way to spin up a worker in one place (frontend/backend) and then pass this worker to the other. The electron ipc channels don't allow you to directly pass objects such as workers, everything is cloned/serialised. Passing a port number so the other end can spin up its own socket works fine. --------- Co-authored-by:
Shazib Hussain <contact@shazib.com> Co-authored-by:
Jed Fox <git@jedfox.com>
-
- Apr 23, 2023
-
-
Alberto Gasparin authored
Another batch of `loot-core` migrated.
-
Davis Silverman authored
Hi there, `Peg.js` is unmaintained, so I figure you all would appreciate if I replaced it with the drop-in replacement of Peggy. This is work I am breaking out of #918. Peggy adds new features like source map support that we could use, although I do not include that in this change-set. It may be useful for debugging changes to the .pegjs file we have.e
-
- Apr 22, 2023
-
-
Davis Silverman authored
Hi there, I try to tackle #798 here. It was suggested to throw this behind a feature flag, so here it is! this does its best to import the problem file in #767. I am working on this because it would make my work on #918 easier :) Feel free to set the feature flag to true and try the new importer. The date parser is not as sophisticated as the one in `node-libofx`, but I tried 3 different OFX files, one from my bank, one from the mocks, and one from #767. They all seem to work well enough on that front, but this is definitely the weak point of the new implementation. Let me know what you think!
-
- Apr 12, 2023
-
-
Alberto Gasparin authored
Another batch of files from `loot-core` migrated to TS (loose mode)
-
- Apr 09, 2023
-
-
Jed Fox authored
These files will be automatically recreated by `yarn build:api`, `yarn build:browser`, and `yarn start:browser`, so we don’t need them in the repo.
-
- Apr 06, 2023
-
-
Jed Fox authored
<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes -->
-
- Apr 03, 2023
-
-
Jed Fox authored
Previously, we were using an alpha version of date-fns v2. Now we’re using the latest stable v2.
-
Alberto Gasparin authored
Part 1 of the conversion. Mostly renaming js to ts and making sure things make still sense. Added also handy TS ESLint rules. In order to support the various .web/.electron/... I ended up adopting `index.d.ts` as pattern to share type definition. Let me know if that makes sense for you too. Right now the function type definition is duplicated, but the solution will be importing from `index.d.ts` and using `const fn: FnDef = () => ...` that way we can keep all variants in sync from a single type file. Such rewrite however is better done in another PR otherwise we risk confusing git and loosing history (rename + too many changes). Another thing that might do in the next PR is convert all files to ESModules, as things get confusing between CJS exports, ESM default/named and TS adds extra complains.
-
- Mar 28, 2023
-
-
Alberto Gasparin authored
-
- Mar 17, 2023
-
-
Matiss Janis Aboltins authored
Upgraded `fast-check` to improve unit test performance.
-
- Mar 16, 2023
-
-
Matiss Janis Aboltins authored
Removing - Debugger - `perf-deeets` - `codemirror`
-
- Mar 09, 2023
-
-
Matiss Janis Aboltins authored
A new release for `api` too so we could start using `better-sqlite3` v8 in `actual-server`.
-
- Feb 28, 2023
-
-
Jed Fox authored
* Sort transactions by date in updateCategoryRules * Update better-sqlite3 to 7.5.0 * Update better-sqlite3 to v8
-
Matiss Janis Aboltins authored
*
removed usage of babel-preset-jwl-app * Add @babel/preset-react -
Jed Fox authored
* Run `yarn dedupe` * Update to better-sqlite3@latest * Remove react-native * Remove a bunch more unused deps * Update mitt to 3.0 * Remove a few more * Remove react-native-gesture-handler * Revert "Update to better-sqlite3@latest" This reverts commit d436bc8d73f2745f484def4e40596322d0c56458. * Dedupe better-sqlite3 versions * snapshots! * Fix jsdom error * Revert "Dedupe better-sqlite3 versions" This reverts commit f99d2ab6f9311663e3312ab5b00bc81c068f040d. * Add back jest-watch-typeahead * Fix conflicting Jest version (The jest-environment-jsdom package that is magically available seems to only be compatible with Jest 27)
-
Matiss Janis Aboltins authored
-
- Feb 12, 2023
-
-
Jed Fox authored
* Dedupe loot-core webpack configs * Swap to parsing using Peggy * Actually record syntax errors * Refactor template types * Add notifications after applying the templates * “Successfully” * Try a Nearley grammar * Revert "Try a Nearley grammar" This reverts commit 1e11c07b855a492b905f1291c3eadd93f78ac3de. Not going with this approach since the error messages are inscrutable. * switch to PEG.js which has slightly better tooling support * fix parser * Fix error reporting * Adjust grammar for better error messages Also allow spaces between currency symbol and number * Fix grammar * Make #template prefix case insensitive * Trailing commas * Remove patch-package from loot-core
-
- Feb 02, 2023
-
-
Matiss Janis Aboltins authored
-
- Jan 25, 2023
-
-
Matiss Janis Aboltins authored
*
upgrade eslint-plugin-import and fix issues * Change import ordering
-
- Jan 14, 2023
-
-
Matiss Janis Aboltins authored
-
- Jan 12, 2023
-
-
Matiss Janis Aboltins authored
-
- Jan 03, 2023
-
-
Matiss Janis Aboltins authored
-
- Dec 29, 2022
-
-
Matiss Janis Aboltins authored
-