Skip to content
Snippets Groups Projects
  1. Aug 20, 2024
  2. Aug 11, 2024
  3. Jul 20, 2024
  4. Jul 16, 2024
  5. May 16, 2024
  6. Feb 21, 2024
  7. Feb 08, 2024
    • Joel Jeremy Marquez's avatar
      Update loot-core deps (#2280) · 8a8113a6
      Joel Jeremy Marquez authored
      * Upgrade desktop-client depenencies
      
      * yarn dedupe
      
      * Update useSelectors
      
      * Update loot-core deps
      
      * yarn dedupe
      
      * Move deps to devDependencies
      
      * yarn dedupe
      8a8113a6
  8. Feb 03, 2024
  9. Jan 19, 2024
  10. Jan 15, 2024
  11. Nov 14, 2023
  12. Sep 18, 2023
  13. Sep 07, 2023
  14. Sep 03, 2023
  15. Aug 25, 2023
  16. Aug 17, 2023
  17. Jul 29, 2023
  18. Jun 30, 2023
  19. Jun 26, 2023
    • Jed Fox's avatar
      Run ESLint at the top level once (#1202) · ed50e2b3
      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.
      ed50e2b3
  20. Jun 24, 2023
  21. Jun 10, 2023
    • Jed Fox's avatar
      Update recommended version to Node.js 18 (#1117) · c1af40ff
      Jed Fox authored
      After #1115, new Node.js versions will be able to be used for
      development of the frontend. This PR changes the recommended Node.js
      version to 18 (the current LTS version). I have also tested with 16 and
      20 and it works.
      
      I also took the opportunity to:
      
      - move the build script that was at the project root to the `bin/`
      folder
      - update the `browserslist` to target Electron 24 (which is the version
      we currently build against). This results in a slightly smaller bundle
      due to no longer having to transpile optional chaining.
      c1af40ff
  22. Jun 04, 2023
  23. May 20, 2023
  24. 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
  25. May 17, 2023
  26. May 01, 2023
  27. Apr 06, 2023
  28. Mar 28, 2023
  29. Mar 21, 2023
  30. Mar 14, 2023
    • Jed Fox's avatar
      Reduce client build size by 1MB (#750) · c7e531a2
      Jed Fox authored
      before:
      
      ```
      kcab.worker.4bdc73a8d45eb2115156.js (2.1 MiB)
      xfo.kcab.worker.4bdc73a8d45eb2115156.js (1010 KiB)
      ```
      
      after:
      
      ```
      kcab.worker.39f5fba82d7bc7477962.js (1.41 MiB)
      xfo.kcab.worker.39f5fba82d7bc7477962.js (1000 KiB)
      ```
      
      What’s changed:
      
      - `loot-core` did not have a `browserslist` config, so
      `@babel/preset-env` assumes we want to [transpile all the way back to
      ES5](https://babeljs.io/docs/options#no-targets). I’ve removed the
      `browserslist` config from each of the `package.json` files and moved it
      to the root so this doesn’t happen again.
      - I updated the target from `electron 3.0` to `electron 12.0` to match
      our Electron dependency
      - I’ve added `defaults` (currently equivalent to `> 0.5%, last 2
      versions, Firefox ESR, not dead`) which is [recommended by
      browserslist](https://browsersl.ist/#q=defaults). We could consider
      tightening this, but it doesn’t offer a ton of space savings at this
      point to just target Electron 12.
      - Since much less transpilation will be happening, stack traces (dev and
      prod) will be much easier to read!
      c7e531a2
  31. Mar 09, 2023
  32. Feb 28, 2023
    • Jed Fox's avatar
      Remove/dedupe/upgrade several dependencies (#702) · 0688c258
      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)
      0688c258
    • Matiss Janis Aboltins's avatar
      18eae3eb
  33. Feb 23, 2023
  34. Jan 12, 2023
  35. Dec 30, 2022
  36. Aug 25, 2022
  37. Aug 24, 2022
Loading