Skip to content
Snippets Groups Projects
  1. May 10, 2023
  2. May 05, 2023
  3. Apr 29, 2023
  4. Apr 23, 2023
  5. Apr 20, 2023
  6. Apr 16, 2023
  7. Apr 12, 2023
  8. Apr 10, 2023
    • Alberto Gasparin's avatar
      Convert commonjs to esm (#877) · cd00da76
      Alberto Gasparin authored
      This PR converts everything (aside from electron) from CommonJS to ESM.
      It is needed to reduce the changes that will happen during the migration
      to Typescript (as TS does not play nice with CJS).
      
      Basically:
      - rewrite `require()` to `import`
      - rewrite `module.exports` to `exports`
      - introduce `ts-node` to run importers so we can convert them to TS too
      
      Lastly, sorry for this larg-ish PR, not my preference but when I tried
      to reduce its scope, I would end up with mixed commons/esm that was even
      more tricky to handle.
      cd00da76
  9. Apr 03, 2023
    • 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.
      79ad04dd
  10. Mar 29, 2023
  11. Mar 28, 2023
  12. Mar 24, 2023
  13. Mar 21, 2023
  14. Mar 18, 2023
  15. Mar 17, 2023
  16. Feb 28, 2023
    • Jed Fox's avatar
      Intelligently adjust field for newly added action (#680) · 9ead7d50
      Jed Fox authored
      * Intelligently adjust field for newly added action
      
      * Remove unnecessary switch case
      
      * Dedupe list of fields
      
      * Remove unnecessary conditionFields prop
      
      * Intelligently adjust field for newly added condition
      
      * Use a less specific condition
      9ead7d50
  17. 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
  18. Feb 23, 2023
    • Jed Fox's avatar
      Fix error cases in displaying filters/rules (#678) · 2a8b25a3
      Jed Fox authored
      * Add missing imported_payee case
      
      * Switch over to a `switch` to ensure no other cases are missed
      
      * Fix switching from “amount” to “amount (inflow/outflow)”
      
      * fix crash when parsing null value as number
      
      * Fix formatting for “payee/category/account contains” filters
      2a8b25a3
  19. Feb 10, 2023
  20. Feb 05, 2023
  21. Jan 31, 2023
  22. Jan 21, 2023
  23. Jan 18, 2023
    • Jed Fox's avatar
      Fix a bunch of warnings/errors (#479) · 423df672
      Jed Fox authored
      * Remove invalid ref={} prop
      
      * Fix <rect> height being less than 0
      
      * Improve history.push override
      
      * Filters: add missing key prop
      
      * DateSelect: don’t pass `null` to an input
      
      * Filters: add missing key prop
      
      * EditRule: fix key props
      
      * ScheduleDetails: Fix `for` prop
      
      * usePayees: default `payees` to empty array instead of null (fixes crash)
      
      * safeNumber: better error if `value` is not a number
      
      * ScheduleDescription: fix description for “amount is between”
      
      * ScheduleDetails: add missing `key` prop
      
      * BudgetTitlebar: use ButtonWithLoading
      423df672
  24. Jan 10, 2023
  25. Jan 03, 2023
  26. Nov 13, 2022
  27. Sep 02, 2022
  28. Aug 23, 2022
  29. Jul 20, 2022
  30. Apr 29, 2022
Loading