Commit Graph

89 Commits

Author SHA1 Message Date
Jed Fox
ed50e2b392 Run ESLint at the top level once (#1202)
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.
2023-06-26 15:32:56 -04:00
Jed Fox
9aea091f53 Update links to point to new domain (#1129)
Depends on https://github.com/actualbudget/docs/pull/202.
2023-06-15 06:46:04 +01:00
Jed Fox
02f1fe48c6 Stop mixing platform-specific code (#1114)
Bundle sizes are unchanged but now we no longer pull in the
Electron-specific FS code on the web version
2023-06-09 16:06:18 -04:00
Jed Fox
6de6ad661d Sync more often when using the API (#1075) 2023-06-02 15:34:42 -04:00
Matiss Janis Aboltins
a0dfb8afbd 🔖 (23.6.0) category hiding and filters for reports (#1087)
Web: https://github.com/actualbudget/actual/pull/1087
Server: https://github.com/actualbudget/actual-server/pull/207
Docs: https://github.com/actualbudget/docs/pull/179

---------

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 20:58:42 +01:00
Matiss Janis Aboltins
353474dacd 🔖 (6.0.1) api (#1057)
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-05-24 18:44:14 +01:00
Jed Fox
fafd162db0 Export api/methods.js at the top level again (#1054)
This allows using the API as documented. In #877, I think this was
unintentionally converted to be a named export.
2023-05-22 18:20:09 -04:00
Jed Fox
d400ebfda0 Fix the API (again) (#1002) 2023-05-16 14:56:24 -04:00
Matiss Janis Aboltins
f913d99c9f 🔖 (23.5.0) various improvements (#993) 2023-05-04 18:23:08 +01:00
Jed Fox
646d0d90a4 Remove unused payee rules feature (#985)
Fixes #615. I would appreciate double-checking that I didn’t
accidentally delete anything that is important.

Since I’m removing the related API methods, this is technically a
breaking change (even if people would have no reason to remove this
stuff), so we should probably do a major release of the API package.
2023-05-02 14:08:05 -04:00
Alberto Gasparin
5dec98e754 Migrate core to TS p2 (#889)
Another batch of files from `loot-core` migrated to TS (loose mode)
2023-04-12 11:09:42 -04:00
Alberto Gasparin
cd00da76ef Convert commonjs to esm (#877)
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.
2023-04-10 20:40:40 +01:00
Matiss Janis Aboltins
7e33cda7b2 🔖 (api) 5.1.2 (#880)
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-04-09 19:29:44 +01:00
Jed Fox
bf05b759aa Remove duplicate migration and default-db.sqlite files (#870)
These files will be automatically recreated by `yarn build:api`,
`yarn build:browser`, and `yarn start:browser`, so we don’t need
them in the repo.
2023-04-09 14:21:59 -04:00
Matiss Janis Aboltins
7abbdcc5bb 🔖 (5.1.1) api (#873) 2023-04-07 21:11:12 +01:00
Jed Fox
5d559afe30 Enable linting for all packages (#861)
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-04-06 15:49:43 -04:00
Matiss Janis Aboltins
0bae379c17 🔖 (5.1.0) upgrade better-sqlite3 to v8.2 (#735)
A new release for `api` too so we could start using `better-sqlite3` v8
in `actual-server`.
2023-03-09 19:31:00 +00:00
Jed Fox
a56f295185 Upgrade better-sqlite3 to the latest version (#714)
* Sort transactions by date in updateCategoryRules

* Update better-sqlite3 to 7.5.0

* Update better-sqlite3 to v8
2023-02-28 16:40:33 -05:00
Jed Fox
93a1f8a944 Updates to the @actual-budget/api package (#464)
* 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
2023-02-23 23:01:05 -05:00
Matiss Janis Aboltins
f4ad715b7a 🔖 (api) 4.1.6: node-fetch upgrade (#610) 2023-02-02 21:40:34 +00:00
Matiss Janis Aboltins
df5012a4ca ⬆️ upgrade node-fetch to ^2.6.9 (#609) 2023-02-02 21:25:34 +00:00
shall0pass
e18fc0efc7 Merge branch 'actualbudget:master' into replaceUrls 2022-12-12 10:57:43 -06:00
shall0pass
3f5ea96059 replaced urls with github.io links 2022-12-12 10:23:40 -06:00
James Long
3edf947145 Accidentally only build the sourcemap for API bundle 2022-12-08 15:59:12 -05:00
James Long
b34dfb15b2 @actual-app/api 4.1.4 2022-12-08 15:55:29 -05:00
James Long
8b1c5777ad Include the API bundle when publishing 2022-12-08 15:55:05 -05:00
James Long
94c195abb9 Fix API version 2022-12-03 23:34:31 -05:00
James Long
7c1c9bf03a Ignore API bundle 2022-12-03 23:32:57 -05:00
James Long
15e2f2dce7 v22.12.03 2022-12-03 23:26:11 -05:00
shall0pass
ba71c1ba05 another 2022-12-03 23:03:19 -05:00
shall0pass
fcde52a9c7 cleanup 2022-12-03 23:03:19 -05:00
shall0pass
0a61acdf8f Remove the hold for future months button 2022-12-03 23:03:19 -05:00
James Long
157b58a2dd Import only what's needed from the API for importer packages 2022-12-02 10:36:56 -05:00
Tom French
e903f5c20d fix: remove unnecessary conversion to 32 bit 2022-11-12 22:33:49 -05:00
Tom French
e9644270ba chore: remove duplicated license entry 2022-06-29 09:50:39 -04:00
Tom French
d4baa9932c chore: sort dependencies in api package 2022-06-29 09:50:39 -04:00
James Long
b4696ce598 New API bundle 2022-05-28 23:08:55 -04:00
James Long
83cab80633 license 2022-04-29 10:40:12 -04:00
James Long
4d9fdfc590 Initial (open-source) 2022-04-28 22:44:38 -04:00