Commit Graph

26 Commits

Author SHA1 Message Date
Jed Fox
a99e88b46c Update node-fetch in the API to fix connection drop issue (#1397) 2023-07-29 05:24:51 -07:00
Matiss Janis Aboltins
91474f1f0c 🐛 fix sync: add back 'accounts.type' column (#1317)
Closes #1296

After this is merged I'll do an API release which will also solve
https://github.com/actualbudget/actual/issues/1303
2023-07-09 16:13:30 +01:00
Jed Fox
1733179bfb Remove redundant UUID wrapper module, update uuid package to 9.x (#1216)
I noticed that:

- The web and electron versions of our `uuid` module both looked exactly
the same…
- …and deferred to the `uuid` package…
- …and the async version just called the sync API.

So now we will just use the `uuid` package directly everywhere.
2023-06-28 12:24:24 -04:00
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
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
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
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
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
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
15e2f2dce7 v22.12.03 2022-12-03 23:26:11 -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
83cab80633 license 2022-04-29 10:40:12 -04:00
James Long
4d9fdfc590 Initial (open-source) 2022-04-28 22:44:38 -04:00