Skip to content
Snippets Groups Projects
  1. May 09, 2023
  2. May 01, 2023
  3. Apr 23, 2023
  4. 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
  5. Apr 19, 2023
  6. Apr 12, 2023
  7. Apr 11, 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.
      Unverified
      cd00da76
  9. Apr 06, 2023
  10. 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
  11. Mar 28, 2023
  12. Mar 24, 2023
  13. Mar 21, 2023
  14. Mar 17, 2023
  15. Mar 16, 2023
  16. Mar 09, 2023
  17. Mar 05, 2023
  18. Feb 28, 2023
  19. Feb 23, 2023
  20. 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
  21. Feb 02, 2023
  22. Jan 29, 2023
  23. Jan 25, 2023
  24. Jan 20, 2023
    • Jed Fox's avatar
      Regenerate icons without the .web.js extension (#485) · 20c7abc1
      Jed Fox authored
      * Regenerate icons without the .web.js extension
      
      * Move icons in the root folder to a “v0” folder
      
      * Remove generated index.js files
      
      * Update generator to auto-remove deleted icons
      
      * Add back AnimatedLoading + Loading
      
      * Add SVG files for missing icons
      
      * lint fix
      
      * the perils of (not) running a case-sensitive file system
      
      * Fix new import
      
      * Switch v0 icons from width/height to viewBox
      Unverified
      20c7abc1
  25. Jan 18, 2023
  26. Jan 14, 2023
  27. Jan 13, 2023
  28. Jan 12, 2023
Loading