Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
  2. Nov 14, 2023
  3. 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>
      Unverified
      319d196e
  4. Sep 03, 2023
  5. Jul 30, 2023
  6. Jul 18, 2023
  7. Jun 28, 2023
  8. Jun 27, 2023
  9. Jun 26, 2023
  10. Jun 18, 2023
  11. Jun 10, 2023
  12. Jun 08, 2023
    • Davis Silverman's avatar
      Remove 'new' OFX parser as it is too buggy (#1111) · 87d269ba
      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
      Unverified
      87d269ba
  13. 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>
      Unverified
      461132b9
  14. Apr 23, 2023
  15. Apr 22, 2023
    • Davis Silverman's avatar
      Add experimental new OFX importer (#921) · a1d321d6
      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!
      Unverified
      a1d321d6
  16. Apr 12, 2023
  17. Apr 09, 2023
  18. Apr 06, 2023
  19. Apr 03, 2023
    • Jed Fox's avatar
      Update to latest stable date-fns version (#849) · 5d921f7a
      Jed Fox authored
      Previously, we were using an alpha version of date-fns v2. Now we’re
      using the latest stable v2.
      Unverified
      5d921f7a
    • Alberto Gasparin's avatar
      Convert loot-core to TS p1 (#841) · 79ad04dd
      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.
      Unverified
      79ad04dd
  20. Mar 28, 2023
  21. Mar 17, 2023
  22. Mar 16, 2023
  23. Mar 09, 2023
  24. Feb 28, 2023
  25. 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
      Unverified
      a8656162
  26. Feb 02, 2023
  27. Jan 25, 2023
  28. Jan 14, 2023
  29. Jan 12, 2023
  30. Jan 03, 2023
  31. Dec 29, 2022
Loading