Commit Graph

3198 Commits

Author SHA1 Message Date
Martin Kleinschrodt 50aaa3840e Richtext notes are now a premium feature 2022-07-18 08:32:34 +02:00
Martin Kleinschrodt 1c1085247f WIP 4 2022-07-18 08:22:29 +02:00
Martin Kleinschrodt 30f75294b0 Add support for code blocks 2022-07-18 08:10:53 +02:00
Martin Kleinschrodt 8f64945bdd WIP 3 2022-07-16 19:28:39 +02:00
Martin Kleinschrodt 9c5c09df81 WIP 2022-07-16 15:23:51 +02:00
Martin Kleinschrodt 9450945143 WIP 2 2022-07-16 13:48:28 +02:00
Martin Kleinschrodt be067e5008 WIP 2022-07-15 18:58:26 +02:00
Martin Kleinschrodt 23d524127c Change minimum seats for team plan to 2 2022-07-15 10:31:51 +02:00
Martin Kleinschrodt 8015f797c8 Totp field now requires premium 2022-07-15 10:29:38 +02:00
Martin Kleinschrodt 5d6eec9067 Quote minimum "package" price (5 seats) for family plan to avoid confusion 2022-07-15 10:26:34 +02:00
Bruno Bernardino edf4c89053
Merge pull request #488 from padloc/feature/snapcraft-flatpak
Add snap and flatpak options to electron publishing and release
2022-07-04 14:37:47 +01:00
Bruno Bernardino 292596b95b
Update electron packages, rebuild with snap fixes too. 2022-07-04 13:36:10 +01:00
Bruno Bernardino b1c6ea39ad
Add snap and flatpak options to electron publishing and release
Also adds `deb` and tweaks the v3 compatibility test a bit more since it has failed a couple of times in the last week.

Fixes #201
2022-07-04 12:22:12 +01:00
Martin Kleinschrodt a312b9b177
Merge pull request #487 from padloc/fix/tls-reject-unauthorized
Make sure postgres `tlsRejectUnauthorized` setting is parsed as boolean
2022-07-01 16:53:47 +02:00
Martin Kleinschrodt bcbbff53ee Make sure postgres `tlsRejectUnauthorized` setting is parsed as boolean 2022-07-01 16:37:21 +02:00
Bruno Bernardino 8f0b6f0f1f
Merge pull request #486 from padloc/feature/include-manifest-in-csp-automatically
Automatically include manifest files in CSP when building PWA
2022-07-01 15:07:41 +01:00
Bruno Bernardino dd41fd749b
Fix connect_replace ending up in non-dev now 2022-07-01 12:28:18 +01:00
Bruno Bernardino 1515237a4c
Replace unnecessary let 2022-07-01 12:15:19 +01:00
Bruno Bernardino 6b5e31a208
Tweak to allow simpler but stil strict CSP in dev mode 2022-07-01 12:11:36 +01:00
Bruno Bernardino 61d6349807
Automatically include manifest files in CSP when building PWA
Fixes #471

The hardest part here was finding the right hook to tap into, and the silent error thing threw me off for a while as well.
2022-07-01 11:49:21 +01:00
Martin Kleinschrodt 81b2007f1c
Merge pull request #485 from padloc/fix/firefox-extension-focus
Fix occasional non-focus extension popup in Firefox
2022-06-30 14:13:14 +02: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
Bruno Bernardino 14fcd1bf25
Merge pull request #484 from padloc/feature/edge-browser-extension
Add Edge checksum information
2022-06-30 09:43:42 +01:00
Bruno Bernardino 841d23cf58
Tweak CI step names 2022-06-30 09:37:48 +01:00
Bruno Bernardino 8309104fdf
Add Edge checksum information
Also fixes a typo in the chrome documentation

Related to #421
2022-06-30 09:28:08 +01:00
Bruno Bernardino 8a2ba75e14
Merge pull request #483 from padloc/feature/improve-v3-e2e-test-reliability
Improve v3 compatibility e2e test reliability
2022-06-23 09:31:32 +01:00
Bruno Bernardino 0e51950f48
Improve v3 compatibility e2e test reliability
I've ran the test 50 times in a row without errors locally in CLI, now. Let's see how it handles itself in CI.
2022-06-23 08:27:45 +01:00
Martin Kleinschrodt 004e9b8d08
Merge pull request #481 from padloc/chore/npm-audit-fixes
Fix vulnerable dependencies (where possible)
2022-06-22 15:28:04 +02:00
Martin Kleinschrodt ed53b70c9e
Merge pull request #480 from padloc/feature/fixes-and-improvements-2
Feature/fixes and improvements 2
2022-06-22 14:33:45 +02: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
Martin Kleinschrodt 2d886161b9 Update import/export and vault buttons. 2022-06-22 13:37:04 +02:00
Martin Kleinschrodt b2544f7303 Fix permission check 2022-06-22 13:37:04 +02:00
Martin Kleinschrodt 8b299bbb88
Merge pull request #479 from padloc/feature/upgrade-lerna
Upgrade Lerna
2022-06-22 13:31:08 +02:00
Bruno Bernardino cc02f50167
Limit input field length for email, name, and org name (#477)
* Limit input field length for email, name, and org name

Fixes #458

* Moving over to Serializable:validate.

* Remove unnecessary errors

* Tweak how to use/export the constants.
2022-06-22 12:30:54 +01: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 5273c9b749
Sanitize email HTML to prevent XSS (#478)
* Sanitize email HTML to prevent XSS

Fixes #457

* Replace dompurify with isomorphic-dompurify as per https://github.com/cure53/DOMPurify/issues/29

* Switch to dompurify and make it work server-side on our own.
2022-06-22 11:17:40 +01:00
Martin Kleinschrodt 63a1a144ad
Merge pull request #476 from padloc/feature/unlimited-provisioning-by-default
Make default provisioning unlimited
2022-06-21 10:33:36 +02:00
Bruno Bernardino bf5d8bc7e4
Make default provisioning unlimited
Fixes #460
2022-06-21 07:13:34 +01:00
Bruno Bernardino 3243c47879
Merge pull request #475 from padloc/fix/postgres-default-tls
Fix default TLS Config for PostgreSQL
2022-06-20 13:04:42 +01:00
Bruno Bernardino 2cf5d2aa6e
Change sample to match default 2022-06-20 12:53:31 +01:00
Bruno Bernardino 071589087b
Fix default TLS Config for PostgreSQL
Fixes #459
2022-06-20 12:46:02 +01:00
Martin Kleinschrodt dac697ccc7
Merge pull request #474 from padloc/fix/tauri-v1.0.0
Fix Tauri building and publishing
2022-06-20 13:25:42 +02:00
Bruno Bernardino 7424e75742
Fix tauri build path 2022-06-20 11:18:09 +01:00
Bruno Bernardino 195558db44
Linting 2022-06-20 11:03:24 +01:00
Bruno Bernardino 0ccb1b45f3
Update rust dependencies and fix build script 2022-06-20 11:01:57 +01:00
Bruno Bernardino bff6491cac
Update dependencies to first stable. 2022-06-20 10:16:53 +01:00
Bruno Bernardino 9e023327ea
Fix Tauri building and publishing
Based off of https://github.com/tauri-apps/tauri/issues/4377
2022-06-20 09:45:23 +01:00
Martin Kleinschrodt c048140303
Merge pull request #473 from padloc/feature/fixes-and-improvements
Miscellaneous fixes and improvements
2022-06-20 10:14:33 +02:00
Bruno Bernardino 8e2036f297
Checksums - Allow anyone to confirm source and delivered code (#467)
* Checksums - Allow anyone to confirm source and delivered code

For now this only has the initial step on making CSP stricter so we can use it to parse through used files.

Very much WIP for now, but now it should just be a matter of writing up concise docs on how to go through the process, after generating and publishing the checksums via CI as well.

Related to #331

* Lint!

* Add more instructions and CI to build checksums.

* Fix typo and lint

* Remove CSP package dependency, build it manually.

Update commands in docs, fix web extension release.

* Tweak docs and webpack. CI still isn't producing a matching checksum, though.

* Tweak docs for web checksums, add debugging in the checksum action, make it faster, temporarily.

* Fix web checksum, add checksums and instructions for everything else

Closes #467

* Fix tauri release + macos sha256sum

* Remove .app checksum, since it's a directory and checksum'ing the .tar.gz seems strange.

* Properly indent + fix sha256sum results (and windows line endings problem)

* Include PWA for release, add instructions to change filenames when checksum fails.

* Include _everything_ in the CSP now, and tweak the verification script and checksum build to also include everything, now.

Still requires changes in the way to verify a published web app, where I'll have to write a script to parse through the whole CSP now.

* Add TypeScript (Deno) script to parse through CSP and download matched files.

Also update docs.

* Tweak web checksum examples.

* Remove content hashes from font files.

* Try sorting files before adding to CSP, to enforce consistency.
2022-06-20 07:34:45 +01:00