Skip to content
Snippets Groups Projects
  1. Nov 22, 2023
  2. Sep 05, 2023
    • Joel Jeremy Marquez's avatar
      Webpack + SWC Loader (#1650) · 319d196e
      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: default avatarMatiss Janis Aboltins <matiss@mja.lv>
      319d196e
  3. Sep 03, 2023
    • Joel Jeremy Marquez's avatar
      Experimental OFX parser (#1600) · 8ef2c401
      Joel Jeremy Marquez authored
      * Experimental OFX parser
      
      * Release notes
      
      * Enable enableExperimentalOfxParser in tests
      
      * Move experimental ofx parser to ofx2json
      
      * Enable experimental ofx parser by default
      
      * Address PR comments
      8ef2c401
  4. Jul 17, 2023
  5. Jun 27, 2023
  6. Jun 25, 2023
  7. Jun 10, 2023
    • Jed Fox's avatar
      Update loot-core to webpack 5 (#1115) · f06edd72
      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
      f06edd72
  8. May 18, 2023
    • Shazib Hussain's avatar
      Fix electron app (#1003) · 461132b9
      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: default avatarShazib Hussain <contact@shazib.com>
      Co-authored-by: default avatarJed Fox <git@jedfox.com>
      461132b9
  9. May 04, 2023
  10. Apr 29, 2023
  11. Apr 23, 2023
    • Davis Silverman's avatar
      Use Peggy instead of deprecated Peg.js (#934) · b0c5a938
      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
      b0c5a938
  12. Apr 06, 2023
  13. Mar 28, 2023
  14. Mar 16, 2023
  15. Feb 28, 2023
  16. Feb 24, 2023
    • Jed Fox's avatar
      Updates to the @actual-budget/api package (#464) · 93a1f8a9
      Jed Fox authored
      * Make it easier to build the bundle.api.js for the API
      
      * Remove budgetId parameter, move config to top level of API
      
      * that’s a breaking change
      
      * Add support for signing into the server in init()
      
      * Add api.downloadBudget(syncId, { password }) method
      
      * Fix lint errors
      
      * Refactor: extract out getSyncError
      
      * api/download-budget: sync if possible instead of downloading
      
      * Don’t bother with fetching remote files and installing key if the file is local
      
      * *groupId
      
      * FIx lint issues
      
      * Remove extra close+reopen
      
      * Refactor out duplicate load-budget logic
      
      * Trailing commas
      93a1f8a9
  17. Feb 12, 2023
    • Jed Fox's avatar
      Updates to the template/goal feature (#588) · a8656162
      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
      a8656162
  18. Jan 12, 2023
  19. Aug 23, 2022
  20. Apr 29, 2022
Loading