Commit Graph

62 Commits

Author SHA1 Message Date
Martin Kleinschrodt 2ea970b261
Allow selectively disabling all billing functionality on certain platforms (#505)
* Allow selectively disabling all billing functionality on certain platforms

* Remove check for org metadata param in customer

* Fix linter complaint
2022-07-26 10:41:30 +01:00
Bruno Bernardino 90156024da
Fix occasional non-focus extension popup in Firefox
Fixes #482

While the solution isn't ideal, there isn't much more to do, other than not using a JS framework to render HTML, as per https://bugzilla.mozilla.org/show_bug.cgi?id=1324255

This also fixes some text on the web extension build, to make it clearer Edge is also supported.
2022-06-30 12:09:14 +01:00
Martin Kleinschrodt b00eb4fda9 Fix vulnerable dependencies (where possible) 2022-06-22 14:32:27 +02:00
Martin Kleinschrodt 67f7b9165d Fix dependencies with vulnerabilities 2022-06-22 13:57:57 +02:00
Bruno Bernardino 8ef09eb7be
Security Audit v1 (#414)
This adds a security audit page with automatic checks for:

- Reused passwords
- Weak passwords
- Compromised passwords

Storing the audit information in the items themselves.

Co-authored-by: Martin Kleinschrodt <martin@maklesoft.com>
2022-04-06 07:18:50 +01:00
Martin Kleinschrodt e0bb56cd9a Update tauri and other dependencies 2022-03-22 08:01:48 +01:00
Martin Kleinschrodt 0e0e6f1094 Add readme for web extension 2022-02-25 16:25:33 +01:00
Bruno Bernardino 2df8c83738
Add private to methods 2022-02-23 17:03:40 +00:00
Bruno Bernardino 17890719a9
Enable Auto-lock in web extension
This allows the web extension to auto-lock (tested in Chrome and Firefox), by running an alarm in the background, since the `setTimeout` is ignored past 10 seconds.

I noticed that if the popup is open, it does not lock until it’s closed (even after firing the alarm). I couldn’t find a way to change the route for the app from the background, and I wasn’t sure if it would worth it adding a new listener for this, as it’s not common for the extension to be open for a long period of time anyway.

Closes #300
2022-02-23 16:48:20 +00:00
Martin Kleinschrodt b37fb74e33 Load terms of service url from manifest file 2022-01-31 12:02:35 +01:00
Bruno Bernardino 1589b05baa
CI: Full Release (#376)
* CI: Full Release

This implements a full release action that takes care of creating a tag, release, then building and uploading builds for all targets.
2022-01-17 17:32:21 +00:00
Martin Kleinschrodt 18e19cdcbf Don't redirect to matching items unless:
- There are new matching items since last time the popup was opened OR
- We're on the items view already AND there is no active search context
2022-01-17 09:48:31 +01:00
Martin Kleinschrodt 3535215bc8 Only force-navigate to maching items list if there are new matching items since last time the popup was opened of if we're on the list view already 2022-01-16 13:29:35 +01:00
Martin Kleinschrodt 98a59e8824
Merge pull request #373 from padloc/feature/build-crx-web-extension
Build Signed CRX Web Extension
2022-01-05 08:35:35 +01:00
Bruno Bernardino a1bb8c8a29
Tweak CI process for tests to build web extension, and for web extension building to add the dev build version when not building for production 2022-01-04 19:16:04 +00:00
Martin Kleinschrodt 64de7ad941 Upgrade lit dependency to v2.0.2 2022-01-04 17:30:16 +01:00
Martin Kleinschrodt a624c43040 Add setting for disabling/enabling badge on extension icon 2021-12-26 11:41:50 +01: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
Martin Kleinschrodt 7d262e35be Fix build issues by updating dependencies and regenerating lock files 2021-12-16 10:33:05 +01:00
Bruno Bernardino 5d0d688968 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-16 09:01:59 +01:00
Martin Kleinschrodt 0d5bf5e9f7 Remove hardcoded references to "Padloc" in extension 2021-11-29 09:30:37 +01:00
Martin Kleinschrodt 05e2cdeaa8 Fix extension webpack config 2021-11-20 08:42:14 +01:00
Martin Kleinschrodt ff0b4d3c40 Resolve assets dir relative to root dir, not current file 2021-11-19 15:58:09 +01:00
Martin Kleinschrodt 427633306b Disable background polling in extension; sync on interactions instead 2021-11-06 17:02:03 +01:00
Martin Kleinschrodt d0e5924953 Some house keeping / cleanup 2021-10-21 13:32:08 +02:00
Martin Kleinschrodt 649ed1284c Add separate vendor version property 2021-10-17 13:47:33 +02:00
Martin Kleinschrodt ab258892ea Some minor tweaks 2021-10-15 15:56:55 +02:00
Martin Kleinschrodt 80ef149559 Add support page 2021-10-14 15:58:24 +02:00
Martin Kleinschrodt 0593fc4f1c Load extension name from manifest file 2021-10-13 16:22:15 +02:00
Martin Kleinschrodt bde6ef77d9 Automatically generate cordova icons from singe app icon image 2021-10-12 17:33:49 +02:00
Martin Kleinschrodt 07bc7cfe9c Generate extension icons from single vector source 2021-10-12 14:37:05 +02:00
Martin Kleinschrodt 347275e3ce Make more icons customizable 2021-10-11 17:41:49 +02:00
Martin Kleinschrodt 0cc7bb1560 Disable bioauth button on devices that don't support it 2021-10-11 17:27:12 +02:00
Martin Kleinschrodt 792c707ec4 Some tweaks/fixes for the browser extension 2021-10-11 16:13:13 +02:00
Martin Kleinschrodt 8b73e5da8d First pass at making styles more configurable 2021-10-06 15:05:00 +02:00
Martin Kleinschrodt 7dfdd3a27b Upgrade typescript version 2021-09-25 10:06:45 +02:00
Martin Kleinschrodt 5a1a9db495 Refactor extension context mechanism; add url suggestion; add suggestion when creating new entry 2021-08-15 07:22:31 +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 00da3cc59d v3.1.3 2020-10-25 15:13:53 +01:00
Martin Kleinschrodt 71578d3f1d Bump version 2020-07-26 17:49:04 +02:00
Martin Kleinschrodt 2bd3188b11 Bump the rest of the package files to v3.1.1 that were missed before 2020-07-04 16:24:20 +02:00
Martin Kleinschrodt cf78d7321e v3.1.1 2020-07-04 15:32:28 +02:00
Martin Kleinschrodt 5c4be7fb49 Make extension background script persistent 2020-05-30 09:36:36 +02:00
Martin Kleinschrodt 23db2c7f2c Fix some minor race condition issues in extension background script 2020-05-30 09:35:41 +02:00
Martin Kleinschrodt 82cb762f1f bump version to 3.1.0 2020-05-27 18:47:53 +02:00
Martin Kleinschrodt 7bb7839b97 Use classes for vault items and fields to have better control over serialization 2020-05-27 18:47:52 +02:00
Martin Kleinschrodt fc0c5bda9e Extension background script should ignore messages from extension content scripts for security reasons 2020-03-10 15:16:15 +01:00
Martin Kleinschrodt c722d05203 v3.0.14 2020-03-10 14:57:01 +01:00