Commit Graph

3198 Commits

Author SHA1 Message Date
Martin Kleinschrodt e604d10d25
Merge pull request #426 from padloc/feature/transfer-ownership
Add ability to transfer organisation ownership
2022-04-12 08:33:53 +02:00
Martin Kleinschrodt 43dd7d40f7 more minor refactoring 2022-04-11 18:02:22 +02:00
Martin Kleinschrodt 80419a00f6 Some refactoring to make things more readable 2022-04-11 17:58:53 +02:00
Martin Kleinschrodt ae5461d7f3 Fix problem with provisioning objects not existing in database when transferring organisation ownership 2022-04-11 17:45:19 +02:00
Martin Kleinschrodt 050b03f9aa Add ability to transfer organisation ownership 2022-04-09 11:52:17 +02:00
Martin Kleinschrodt c9307f2b49
Merge pull request #425 from padloc/feature/timing-safe-equal
Add timingSafeEqual to CryptoProvider as better alternative for @padloc/core/encoding/equalCT
2022-04-09 09:47:40 +02:00
Martin Kleinschrodt 792a7698d7 Add "fake" timingSafeEqual implementation to StubCryptoProvider 2022-04-08 10:22:39 +02:00
Martin Kleinschrodt ddce639b57 Replace @padloc/core/util/equalCT with true timing-safe comparison method as part of CryptoProvider. 2022-04-08 10:16:36 +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 2f8c900a3e
Implement Stripe Integration for v4 (#417)
Add a proper implementation of StripeProvisioner, which builds on BasicProvisioner and derives provisioning profiles from Stripe subscriptions. There's been some refactoring of the core provisioning logic as well.
2022-04-01 14:08:25 +02:00
Martin Kleinschrodt 798ef7621a
Merge pull request #415 from padloc/feature/lock-down-tauri
Lock down tauri apis / whitelist dependencies
2022-03-22 10:01:20 +01:00
Martin Kleinschrodt a934ccd59b Fix build output paths (guessing for windows and linux for now) 2022-03-22 08:37:05 +01:00
Martin Kleinschrodt fb9273d61d Include csp tag via webpack instead of usings tauris csp injection since their use of nonces conflicts with the way lit builds style sheets 2022-03-22 08:03:30 +01:00
Martin Kleinschrodt e0bb56cd9a Update tauri and other dependencies 2022-03-22 08:01:48 +01:00
Martin Kleinschrodt f547e5bcba Lock down all tauri apis, since we're currently not using any of them (except shell, which we're only using to open the help site, and I decided to just remove that functionality since we already have that in the "inner" app itself) 2022-03-21 14:25:14 +01:00
Bruno Bernardino 310b2f8bc5
Merge pull request #411 from padloc/feature/advanced-csv-import-ui
Advanced CSV Import UI
2022-03-18 16:48:06 +00:00
Bruno Bernardino 8088e70f75
It's possible to skip columns now, and the code was slightly refactored/cleaned up. 2022-03-17 16:16:22 +00:00
Bruno Bernardino a4bbd20d6d
Many misc fixes and improvements
- Fix importing empty rows
- Fix not importing first row (was being skipped too early)
- Fix sample values including column row
- Better type default (other instead of username)
- Add new `matchPattern` to use for matching, make it stricter, and leave `pattern` for validation, looser.
2022-03-15 16:57:32 +00:00
Martin Kleinschrodt 7e732cba3a Fix setting values for name and tag selects; some improvements to inferring column types and names if first column does not contain field names 2022-03-12 11:10:34 +01:00
Bruno Bernardino 477ab826a4
Rename checkbox, move to toggle button.
Also rename variables, improve RegExp for 2fa, and reset the dialog.

The attempt to properly select the first values didn't work, unfortunately. That, coupled with the "shadow import" of one empty item, is still the main problem before final cleanup refactoring.
2022-03-11 16:43:57 +00:00
Bruno Bernardino 2116565979
Remove unnecessary `new RegExp` now that the pattern is a `RegExp` already. 2022-03-09 21:51:08 +00:00
Bruno Bernardino 9235543838
Improve and use `guessFieldType`.
Enforce restrictions on `itemColumns`.

Tweak UX for the dropdowns and added checkbox for no columns row.

Still has the two modal bugs, referenced in the code comments.
2022-03-09 21:00:42 +00:00
Bruno Bernardino 0b03fd0990
Improve UX and functionally follow the mapped columns and field names.
Still buggy and the dialog seems to keep state, strangely. Still missing a checkbox to signal if the first row has data.
2022-03-08 17:28:23 +00:00
Bruno Bernardino 2ba1a590d2
Functionally working, now. 2022-03-04 18:19:35 +00:00
Bruno Bernardino 229c0860da
Advanced CSV Import UI
This is only starting some logic, very bare bones and with some notes in the code.

Related to #348
2022-03-02 20:32:44 +00:00
Martin Kleinschrodt e209cff254 Double default PBKDF2 iteration count to 100.000 2022-02-27 09:16:54 +01:00
Martin Kleinschrodt 97f016d7d6
Merge pull request #407 from padloc/feature/drag-and-drop-attachments
Allow drag & drop for attachments
2022-02-26 16:39:18 +01:00
Martin Kleinschrodt 6bae11d55a Display attachments section even if no attachments have been added yet; Use more subtle indicator when file is being dragged over 2022-02-26 16:15:52 +01:00
Bruno Bernardino 0a18dd1382
Switch tauri build commands 2022-02-26 11:49:10 +00:00
Bruno Bernardino 69a39257c8
Fix problems with tauri and running tests 2022-02-26 11:47:20 +00:00
Bruno Bernardino a6ea1b83c4
Add always-visible (when there are attachments) attachment helper indicator.
Also tweak code as per PR review requests.
2022-02-26 11:29:50 +00:00
Bruno Bernardino 5cca0109da
Merge branch 'v4' into feature/drag-and-drop-attachments 2022-02-26 11:01:59 +00:00
Martin Kleinschrodt ef63867a19
Merge pull request #408 from padloc/feature/config-and-docs
Add support for .env file to server package; update readme files; Add AGPL license
2022-02-25 18:23:52 +01:00
Martin Kleinschrodt f417c4bbac Remove formatOnSave settings from workspace settings 2022-02-25 18:18:13 +01:00
Martin Kleinschrodt 29435ce970 Missed a word or two 2022-02-25 16:39:04 +01:00
Martin Kleinschrodt 1ae4ff0693 Add electron readme 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt b662832ebc Update Tauri readme 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 0061056398 Use "production" build as default. Debug builds are now done via `npm run tauri:build:debug` 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 0e0e6f1094 Add readme for web extension 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 83362a6511 Add pwa readme 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 2b5b957a58 Automatically wrap lines in markdown files at 80 characters 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 051f47598a First draft for @padloc/server readme. 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 0dcf3ce59c Allow setting server config variables via .env file 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt 589ffeaf49 Update main readme; Add AGPL license; add shorter/better aliases for some commands 2022-02-25 16:25:33 +01:00
Bruno Bernardino 7d7ec5b36a
Allow drag & drop for attachments
Enables adding an attachment to an item via drag & drop. An item needs to be selected/visible.

Works for electron, but not for Tauri (#386).

Fixes #379
2022-02-25 15:21:58 +00:00
Bruno Bernardino 22e82a9a7a
Merge pull request #406 from padloc/fix/linux-electron-icon
Failed to Fix Linux Electron icon -- Improve Electron build performance
2022-02-25 09:37:35 +00:00
Bruno Bernardino 64c8c9bdae
Fix CI caching 2022-02-24 19:36:43 +00:00
Bruno Bernardino ec5e5b9d78
Nothing works. Give up, use some of the cleaning. 2022-02-24 19:34:19 +00:00
Bruno Bernardino ccf8d09dd7
Take it one level more. 2022-02-24 18:59:35 +00:00
Bruno Bernardino 2a8fa47eb2
Pass linux argument further down. 2022-02-24 18:50:00 +00:00