- Jul 24, 2023
-
-
Jed Fox authored
-
- Jul 20, 2023
-
-
Neil authored
-
- Jul 18, 2023
-
-
Jed Fox authored
-
- Jul 02, 2023
-
-
Neil authored
-
- Jun 28, 2023
-
-
Jed Fox authored
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.
-
- Jun 27, 2023
-
-
Jed Fox authored
<!-- 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 -->
-
- Jun 25, 2023
-
-
Matiss Janis Aboltins authored
Just removing some unused/unnecessary scripts and `IS_BETA` env variable + the associated code (we don't use this in the OS version of Actual).
-
shall0pass authored
Based on Tom's comment (https://github.com/actualbudget/actual/pull/1058#issuecomment-1568030881 ) I've eliminated all direct use of date-fns and only use the functions in months.ts. --------- Co-authored-by:
Matiss Janis Aboltins <matiss@mja.lv>
-
Tom French authored
I've updated the return values in `sync/index` to sensible values based on how they're being called. I've updated the type of `msg.value` to be `string | number | null` to match the values expected by `serializeValue`
-
- Jun 24, 2023
-
-
Shazib Hussain authored
- New linter rules are now added - Perhaps the `createPayee` method i've tagged with a disable should be deleted. - I have ignored unused methods in Plaid/Mobile as this stuff is still WIP/experimental?
-
- Jun 23, 2023
-
-
Shazib Hussain authored
Last one before I add the actual linter rules!
-
- Jun 20, 2023
-
-
Shazib Hussain authored
Following on from #1146 this PR removes all unused exports from `loot-core/`
-
- Jun 16, 2023
-
-
Jed Fox authored
This reverts #1029. As raised in #1097, the formatting chosen doesn’t work well when doing math. There may be a way to balance compatibility with multiple format styles with handling non-currency amounts correctly, but it will require some more careful consideration. Re-opens #894.
-
- Jun 15, 2023
-
-
Jed Fox authored
Depends on https://github.com/actualbudget/docs/pull/202.
-
- Jun 06, 2023
-
-
Jed Fox authored
Closes #944, closes #532. ~WIP because something is causing the test budget to fail to create because it’s using INSERT instead of UPDATE sql queries. (Or not? I have no idea)~
-
- May 20, 2023
-
-
chylex authored
-
- May 18, 2023
-
-
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:
Shazib Hussain <contact@shazib.com> Co-authored-by:
Jed Fox <git@jedfox.com>
-
- May 10, 2023
-
-
TheTrueCaligari authored
The regex for the "space-dot" format was incorrect. When entering the amount on a schedule, the number was incorrectly read (12.34 became 1234.00) Strangely, it was not an issue with transactions...
-
- May 05, 2023
-
-
TheTrueCaligari authored
-
- Apr 29, 2023
-
-
Alberto Gasparin authored
This is the last PR with lots of renaming for `loot-core`!
-
- Apr 23, 2023
-
-
Alberto Gasparin authored
Another batch of `loot-core` migrated.
-
- Apr 20, 2023
-
-
Jed Fox authored
Fixes #913. (And probably a few other similar bugs)
-
- Apr 16, 2023
-
-
biohzrddd authored
-
- Apr 12, 2023
-
-
Alberto Gasparin authored
Another batch of files from `loot-core` migrated to TS (loose mode)
-
- Apr 10, 2023
-
-
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.
-
- Apr 03, 2023
-
-
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.
-
- Mar 29, 2023
-
-
Alberto Gasparin authored
-
- Mar 28, 2023
-
-
Alberto Gasparin authored
-
- Mar 24, 2023
-
-
Aidan Harbison authored
- When parsing an amount string, consider surrounding parentheses to mean the amount is negative. - Ensures all input to `parseFloat()` is sanitized. Closes: #807
-
Jed Fox authored
Seems to build fine, will test later.
-
- Mar 21, 2023
-
-
Jed Fox authored
-
Jakub Kuczys authored
I'm not sure if this is something you want but it was a simple change so I figured I might as well contribute it. This PR allows the user to upload `.blob` files that they may have gotten from server's `user-files/` folder. This can be useful if the user didn't export the file but has server backups. --------- Co-authored-by:
Jed Fox <git@jedfox.com>
-
- Mar 18, 2023
-
-
Jed Fox authored
- Add a “hide decimal places” setting to visually hide the `.xx` from currency values globally - When hiding the fractional digits, slightly decrease character spacing to allow more digits to show up Ref: #327 New settings: <img width="566" alt="Screenshot_2023-03-17 14 19 46" src="https://user-images.githubusercontent.com/25517624/225986815-b884b93d-02f9-48b3-a73d-d27f90b678cf.png"> Before/after: <img width="149" alt="Screenshot_2023-02-27 21 47 07" src="https://user-images.githubusercontent.com/25517624/222916856-21ab4f03-56c6-4b24-8fc1-ac4b883138b7.png"><img width="131" alt="Screenshot_2023-02-27 22 02 01" src="https://user-images.githubusercontent.com/25517624/222916859-cf882ca3-6087-4994-818e-239c3374e412.png">
-
- Mar 17, 2023
-
-
Jed Fox authored
-
- Feb 28, 2023
-
-
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
-
- Feb 24, 2023
-
-
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
-
- Feb 23, 2023
-
-
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
-
- Feb 10, 2023
-
-
Matiss Janis Aboltins authored
*
(prettier) adding trailing commas * More commas
-
- Feb 05, 2023
-
-
Rich Howell authored
* Remove all references to help@actualbudget.com Replaced help@actualbudget.com with link to GitHub issues * Lint Fixes Lint Fixes * Added React React required for href expansion as per lint rules https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md * Changed links to contact page and fixed linting Changed links to contact page and fixed linting * Update packages/desktop-client/src/components/accounts/AccountSyncCheck.js Co-authored-by:
Jed Fox <git@jedfox.com> * Lint fixes * JSX removal * Lint * Update packages/desktop-client/src/components/tutorial/Final.js Co-authored-by:
Matiss Janis Aboltins <matiss@mja.lv> * Update packages/desktop-client/src/components/accounts/AccountSyncCheck.js Co-authored-by:
Matiss Janis Aboltins <matiss@mja.lv> * Lint fixes --------- Co-authored-by:
Jed Fox <git@jedfox.com> Co-authored-by:
Matiss Janis Aboltins <matiss@mja.lv>
-
- Jan 31, 2023
-
-
Jed Fox authored
-