Commit Graph

563 Commits

Author SHA1 Message Date
Martin Kleinschrodt 3736fac4c5 Forgot to generate id for log events 2022-07-29 17:58:49 +02:00
Martin Kleinschrodt 9640a66f09 Apparently prettier doesn't like <pre></pre> inside <p></p> 2022-07-29 16:49:40 +02:00
Martin Kleinschrodt 01dd5eaf2a Provide better information in error reports by printing the stack trace and message of the original error instead of the Err wrapper 2022-07-29 16:36:32 +02:00
Martin Kleinschrodt 7e7d6c770c Add flag to completely disable multi-factor authentication for a given account 2022-07-28 09:45:15 +02:00
Martin Kleinschrodt ed593318aa Send more helpful error reports 2022-07-26 12:43:14 +02:00
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
Martin Kleinschrodt 07f6f0ed10
Merge pull request #493 from padloc/feature/richtext-markdown-notes
Feature/richtext markdown notes
2022-07-18 15:30:44 +02:00
Martin Kleinschrodt bf4ca0e086 Update naming of notes and totp features 2022-07-18 14:58:48 +02:00
Bruno Bernardino e4b5a36d5b
Support better fuzzy-matching, with subdomains (#492)
* Support better fuzzy-matching, with subdomains

Fixes #397

* Apply PR requests, only match for urls that are prefixed with `*.` and simplify method.
2022-07-18 12:27:30 +01:00
Martin Kleinschrodt 77a34c7611 Fix test 2022-07-18 13:18:00 +02:00
Martin Kleinschrodt 1c1085247f WIP 4 2022-07-18 08:22:29 +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 8015f797c8 Totp field now requires premium 2022-07-15 10:29:38 +02: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 b00eb4fda9 Fix vulnerable dependencies (where possible) 2022-06-22 14:32:27 +02:00
Martin Kleinschrodt b2544f7303 Fix permission check 2022-06-22 13:37:04 +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 bf5d8bc7e4
Make default provisioning unlimited
Fixes #460
2022-06-21 07:13:34 +01:00
Martin Kleinschrodt 16f4a76cb2 Fix accountId and role not being set correctly when adding org members 2022-06-20 08:09:38 +02:00
Martin Kleinschrodt 1635dc96c3 Some general UX improvements and bug fixes 2022-06-18 13:28:25 +02:00
Martin Kleinschrodt 40ce39ecc9 Allow hiding/disable directory sync feature via provisioning layer. Make directory sync available only in the business plan. 2022-06-09 14:34:17 +02:00
Martin Kleinschrodt fc03a2dc62 Allow defining additional actions for fields, add "open" action for urls 2022-06-09 09:46:51 +02:00
Martin Kleinschrodt 3fcb44a91a Add option to unmask fields on hover instead of requiring an explicit button click. 2022-06-09 09:20:20 +02:00
Martin Kleinschrodt bf2bef1e8e Update signup flow to include check for and automatic migration of legacy (v2) accounts. 2022-06-08 13:29:19 +02:00
Martin Kleinschrodt 44d5cc07d0 Merge branch 'v4' into feature/scim-v1
* v4:
  Remove trailing slash from config URLs
  Increase timeout in e2e v3 compatibility tests to prevent intermittent fails
  Update vault revision when changing name or other meta data to make sure clients pull the updated version Fixes #427
  Rename components
  Fix performance problem caused by trying to calculate strength of very long passwords
  Properly integrate security check feature into provisioning system, allowing to hide/disable it.
  Add missing properties in AccountProvisioning and OrgProvisioning classes (forgot to commit earlier)
  Allow disabling security checks
  Update logo and icon

# Conflicts:
#	packages/core/src/util.ts
2022-05-16 16:37:43 +02:00
Martin Kleinschrodt c212dc6669 Remove explicit group and user urls from scim settings 2022-05-16 16:21:05 +02:00
Bruno Bernardino 8b52a27e6e
Remove trailing slash from config URLs
Fixes #310
2022-05-16 14:44:29 +01:00
Martin Kleinschrodt 594ab6051a Implement version selection in migration module in a more clear way and fix some issues 2022-05-16 10:47:19 +02:00
Martin Kleinschrodt 16e184d012 Fix type error 2022-05-15 18:18:34 +02:00
Martin Kleinschrodt d99e4d41df Fix migrations bug 2022-05-15 17:46:18 +02:00
Martin Kleinschrodt a0e3e1b30b Only store required properties in members array 2022-05-15 17:46:07 +02:00
Martin Kleinschrodt 2d4ca3b29d Fix type errors 2022-05-13 15:31:39 +02:00
Martin Kleinschrodt d362f01bbe Add proper handling of default provisioning status, message etc. 2022-05-13 15:17:18 +02:00
Bruno Bernardino 19d2b5e49f
Add new server setting to disable signup 2022-05-13 11:49:04 +01:00
Bruno Bernardino 574142ab64
Don't default to unprovisioned for basic/simple provisioning backend 2022-05-13 11:22:28 +01:00
Bruno Bernardino 905802acc5
Add docs and minor tweaks. 2022-05-12 14:52:05 +01:00
Bruno Bernardino 5ab73f979c
Add logic to support Azure AD.
Add GET for Azure AD's test connection
Add Authorization Bearer secret token support
Add support for the single SCIM tenant/root endpoint

User provisioning working in Azure AD!
2022-05-10 15:54:36 +01:00
Martin Kleinschrodt 5bbd7a33e6 Update vault revision when changing name or other meta data to make sure clients pull the updated version
Fixes #427
2022-05-10 16:29:42 +02:00
Martin Kleinschrodt 7a342c230c Rename components 2022-05-10 15:39:14 +02:00
Martin Kleinschrodt dd42011f52 Properly integrate security check feature into provisioning system, allowing to hide/disable it. 2022-05-10 14:47:49 +02:00
Bruno Bernardino d5be77d9b2
Reworked + Fixed Users and Groups CRUD, and it's fully functional
Includes fully server-generated SCIM URLs, having the orgId in the path instead of search params, and properly adding/removing members.
2022-05-09 16:31:04 +01:00
Martin Kleinschrodt 00b33e801e
Use different strategy for dealing with scim resources: (#446)
* Use different strategy for dealing with scim resources:

- Store "virtual" scim-based representation of org in provisioning profile
- Assign random ids to all scim resources
- use "virtual" scim model to resolve ids and track changes

* Set propery meta data in scim resources; add missing calls to _saveScimOrg

* Fix incorrect parsing of group ids
2022-05-09 12:47:34 +01:00
Bruno Bernardino 7ff597a19e
Implement Group PATCHing (including adding and removing members).
Right now removing a member isn't persisting, though the group is correctly changed.
2022-05-06 17:17:16 +01:00
Martin Kleinschrodt f04dc2b1d0 Add missing properties in AccountProvisioning and OrgProvisioning classes (forgot to commit earlier) 2022-05-06 18:09:50 +02:00
Martin Kleinschrodt ffaf6a421e Allow disabling security checks 2022-05-06 18:01:33 +02:00
Bruno Bernardino 5102be1785
Implement proper Group Create and Delete 2022-05-05 16:24:36 +01:00
Bruno Bernardino fbd496cc97
Finish CRUD for user matching the proper spec (with operations), and "stable" id. 2022-05-04 16:25:33 +01:00
Bruno Bernardino ec9f7e6dd6
Update endpoints to support proper emails property and <id> in URL
User Create and Delete + Group Create are now working, and returning proper data.
2022-05-03 17:46:31 +01:00
Bruno Bernardino 8786f86c4d
Remove externalId need, implement group POST, add comments based on spec/research findings 2022-05-02 16:48:09 +01:00