Commit Graph

39 Commits

Author SHA1 Message Date
Bruno Bernardino 6de33c115b
Fix critical vulnerabilities in dependencies
Mostly `ejs` via `workbox` and `parse-url` via `lerna`.
2022-07-20 08:43:05 +01:00
Martin Kleinschrodt 67f7b9165d Fix dependencies with vulnerabilities 2022-06-22 13:57:57 +02:00
Bruno Bernardino 0f1489f1da
Upgrade Lerna
Upgrades to the latest 5.1.4. I tried most commands (did not try adding or removing dependencies), and everything seemed to work fine!

Fixes #470
2022-06-22 12:13:33 +01:00
Bruno Bernardino 9880e4c2c9
Fix Linux Electron icon
I can't build this locally over some strange permissions issue. I'm pushing to try if it works on CI.

I've tried many suggestions mentioned in the following PRs, but nothing worked. This one seems to at least try to do something about the icns file, though it's failing locally, like I said:

- https://github.com/electron-userland/electron-builder/issues/748
- https://github.com/electron-userland/electron-builder/issues/2269
- https://github.com/electron-userland/electron-builder/issues/4617
- https://github.com/electron-userland/electron-builder/pull/5385
- https://github.com/electron-userland/electron-builder/issues/2577#issuecomment-659879082

Related to #123
2022-02-24 16:14:05 +00:00
Martin Kleinschrodt b4b44f9d08 Use custom fork of maildev without the vulnerable dependencies and with proper html sanitiation 2022-02-19 17:40:50 +01:00
Martin Kleinschrodt c4e67381ee Use maildev for catching and parsing verification emails in e2e tests 2022-02-18 12:28:36 +01:00
Bruno Bernardino 5aa2d19865
Add v3 compatibility end-to-end test
This is still a WIP. It adds the basic skeleton for the tests and is going through the signup, but currently unable to finish.
2022-02-09 17:15:08 +00:00
Bruno Bernardino f905ab77c6
First e2e test (via cypress)
This adds the first e2e test via [cypress](https://cypress.io). It's still incomplete, but it was a bit of a pain to figure out the shadow dom stuff.

The next step is to force a specific verification code when running via tests so the test can progress.
2022-01-21 18:51:27 +00:00
Bruno Bernardino ad32254846
CI: Build Cordova
Initial work to build Android APK, via Cordova. Still largely untested because I haven't been able to get it to build locally, over Android SDK issues.
2021-12-23 12:24:16 +00:00
Bruno Bernardino 50ae105b45
A few improvements, requested from the review:
- File reading is now happening later in the process;
- File reading now reuses methods from `core/attachment`;
- Errors thrown in the import now include an error message;
- Adds prettier command to "prettify" all files;
- Adds prettier command to check for files not conforming to prettier's config;
- Makes CI run the prettier:check command;
- Changes `export const method = () => {};` to `export function method() {}` in the `1pux-parser` file;
- Other minor consistency changes/fixes/improvements;
- Actually ran prettier on every file, and it had a lot of things to tweak.
2021-12-20 15:01:25 +00:00
Bruno Bernardino 9b5f8e3d1e
Lock dependencies' versions
This implements `.nvmrc` and `.npmrc` files, as well as locking `package.json` versions, in order to get us closer to reproducible builds and more stable environment.

Closes #320
2021-12-15 16:16:37 +00:00
Martin Kleinschrodt 6f533c2fad Update package-lock.json 2021-12-15 16:44:00 +01:00
Martin Kleinschrodt 7dfdd3a27b Upgrade typescript version 2021-09-25 10:06:45 +02:00
Martin Kleinschrodt 54a161e502 Some dependency upgrades 2021-09-15 10:20:21 +02:00
Martin Kleinschrodt 63076556d8 Bump npm version to 4.0.0; clean up/fix some dependencies 2021-08-06 15:07:25 +02:00
Martin Kleinschrodt 4e748dec1f First pass at implementing biometric unlock using webauthn 2021-06-16 17:20:49 +02:00
Martin Kleinschrodt 3444dc9e7f WIP 35 2021-05-30 15:53:51 +02:00
Martin Kleinschrodt cf888a4276 some dependency updates 2020-10-25 14:05:58 +01:00
Martin Kleinschrodt 87e0f52a3f Upgrade various dependencies 2020-07-19 17:44:11 +02:00
Martin Kleinschrodt 0534432ceb Upgrade favicons-webpack-plugin
Fixes #249
2020-01-01 13:11:34 +01:00
Martin Kleinschrodt 781a10eeeb Move translation function to locale module; load translations from language files 2019-08-13 18:34:22 +02:00
Martin Kleinschrodt f6064f1149 First pass at creating service worker for precaching and other PWA features 2019-07-02 15:10:00 +00:00
Martin Kleinschrodt adbaafe26a First pass at implementing a stripe-powered billing service 2019-06-15 16:27:55 +01:00
Martin Kleinschrodt b169dc05b4 Add npm script for generating documentation for core module 2019-04-19 18:14:29 +02:00
Martin Kleinschrodt d4e6b58019 Upgrade learn dependency 2019-03-28 15:05:00 +01:00
Martin Kleinschrodt a0bfd7294a Migrate to new static styles property for lit-element 2019-03-28 11:10:23 +01:00
Martin Kleinschrodt 1bba35c723 Add favicon to ui package 2018-12-09 21:32:58 +01:00
Martin Kleinschrodt d94053c25b First pass at migrating to rcp-style api 2018-10-05 15:46:46 +02:00
Martin Kleinschrodt 3b6c804d5b Rename Client to App and move into separate module
Move crypto providers into separate modules
Start implementing new Client class for communication with the server
Update project structure to monorepo structure with multiple packages
2018-06-21 22:43:06 +02:00
Martin Kleinschrodt c379c23786 Update build tooling 2018-06-07 09:47:08 +02:00
Martin Kleinschrodt f7bb477baa Separate client dependencies from general project dependencies;
Vendor / lazy load some dependencies
2018-06-04 11:53:14 +02:00
Martin Kleinschrodt bffb2648b8 Restructure project: group elements and mixing in directories, flatten directory structure
Directly import from core modules, mixins
2018-05-31 20:22:25 +02:00
Martin Kleinschrodt d1f276f46d Import core modules directly rather than compiling them under a namespace 2018-05-30 16:29:04 +02:00
Martin Kleinschrodt ce10f86145 Begin migration to Polymer 3.0 2018-05-29 12:23:57 +02:00
Martin Kleinschrodt e11244a94e Remove package-lock.json from version control for now since it seems to cause problems with npm install on 'clean' clones 2017-06-18 22:51:25 +02:00
Martin Kleinschrodt fbbb8abc32 Update package-lock.json 2017-06-18 22:44:35 +02:00
Martin Kleinschrodt eafe5724ae Use headless chrome to run tests 2017-06-18 16:24:08 +02:00
Martin Kleinschrodt 7662ac7190 Add lint task
Fix various indentation issues
2017-06-16 12:19:13 +02:00
Martin Kleinschrodt 4ab0b61626 Commit npm lock file 2017-06-16 11:48:43 +02:00