Daniel García
c1c60e3b68
Merge branch 'stefan0xC-email-attach-images'
2 years ago
Stefan Melmuk
ed6e852904
fix invitations of new users when mail is disabled
...
If you add a new user that has already been Invited to another
organization they will be Accepted automatically. This should not be
possible because they cannot be Confirmed until they have completed
their registration. It is also not necessary because their invitation
will be accepted automatically once they register.
2 years ago
Daniel García
a54065420c
Merge branch 'stefan0xC-fix-invitation-of-new-users'
2 years ago
Stefan Melmuk
aa5a05960e
allow registration without invite link
...
if signups are allowed invited users should be able to complete their
registration even when they don't have the invite link at hand.
2 years ago
BlackDex
f41ba2a60f
Fix master password hint update not working.
...
- The Master Password Hint input has changed it's location to the
password update form. This PR updates the the code to process this.
- Also changed the `ProfileData` struct to exclude `Culture` and
`MasterPasswordHint`, since both are not used at all, and when not
defined they will also not be allocated.
Fixes #2833
2 years ago
Stefan Melmuk
2215cfefb9
fix invitations of new users when mail is disabled
...
If you add a new user that has already been Invited to another
organization they will be Accepted automatically. This should not be
possible because they cannot be Confirmed until they have completed
their registration. It is also not necessary because their invitation
will be accepted automatically once they register.
2 years ago
Stefan Melmuk
4289663a16
use static_files() for email attachments
...
Apply suggestions from code review
Co-authored-by: Mathijs van Veluw <black.dex@gmail.com>
2 years ago
Stefan Melmuk
ea19c2250e
attach images to email
...
Set SMTP_EMBED_IMAGES option to false if you don't want to attach images
to the mail.
NOTE: If you have customized the template files `email_header.hbs` and
`email_footer.hbs` you can replace `{url}/vw_static/` to `{img_url}`
to support both URL schemes
2 years ago
Daniel García
638766b346
Update web-vault to 2022.10.0 and dependencies
2 years ago
Daniel García
d1ff136552
Merge branch 'stefan0xC-check-data-folder-permissions'
2 years ago
Jeremy Lin
46ec11de12
Update CSP for DuckDuckGo email forwarding
...
Upstream PR: https://github.com/bitwarden/clients/pull/3630
2 years ago
Jeremy Lin
4283a49e0b
Reformat CSP header for readability
2 years ago
Jeremy Lin
1e32db8c41
Add `CreationDate` to cipher response JSON
...
Upstream PR: https://github.com/bitwarden/server/pull/2142
2 years ago
Stefan Melmuk
0f944ec7e2
fix link of license badge
...
master branch has been renamed to main.
2 years ago
Daniel García
736dbc9553
Merge branch 'jjlin-csp'
2 years ago
Jeremy Lin
b4a38f1f63
Add `CreationDate` to cipher response JSON
...
Upstream PR: https://github.com/bitwarden/server/pull/2142
2 years ago
Stefan Melmuk
646186fe38
fix link of license badge
...
master branch has been renamed to main.
2 years ago
Daniel García
c2725916f4
Merge branch 'jjlin-creation-date'
2 years ago
Stefan Melmuk
fd334e2b7d
fix link of license badge
...
master branch has been renamed to main.
2 years ago
Daniel García
f9feca1ce4
Merge branch 'stefan0xC-fix-link-in-license-badge'
2 years ago
Stefan Melmuk
677fd2ff32
fix link of license badge
...
master branch has been renamed to main.
2 years ago
Jeremy Lin
f49eb8eb4d
Add `CreationDate` to cipher response JSON
...
Upstream PR: https://github.com/bitwarden/server/pull/2142
2 years ago
Jeremy Lin
b0e0d68632
Update CSP for DuckDuckGo email forwarding
...
Upstream PR: https://github.com/bitwarden/clients/pull/3630
2 years ago
Jeremy Lin
f3c8c16d79
Reformat CSP header for readability
2 years ago
Stefan Melmuk
2dd5086916
more verbose permission denied error
...
be a bit more verbose about why a file could not be created when it is
caused by a permission denied error.
2 years ago
Stefan Melmuk
7532072d50
add check if data folder is a directory
2 years ago
Daniel García
382e6107fe
Update dependencies
2 years ago
Daniel García
e6c6609e19
8bit Solutions LLC. -> Bitwarden, Inc.
2 years ago
Daniel García
4cb5918950
Update web vault to v2022.9.2
2 years ago
Daniel García
55030f3687
Merge branch 'stefan0xC-return-token-expired-message'
2 years ago
Stefan Melmuk
ef4072e4ff
improve spelling of minimum expiration hours check
...
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
2 years ago
Stefan Melmuk
c78d383ed1
make invitation expiration time configurable
...
configure the number of hours after which organization invites,
emergency access invites, email verification emails and account deletion
requests expire (defaults to 5 days or 120 hours and must be atleast 1)
2 years ago
Stefan Melmuk
5b96270874
return "Object" for consistency
...
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
2 years ago
Stefan Melmuk
2c0742387b
return CaptchaBypassToken and register object
2 years ago
Stefan Melmuk
1704d14f29
v2022.9.2 expects a json response when registering
2 years ago
Stefan Melmuk
2d7ffbf378
allow the removal of non-confirmed owners
...
ensure user_to_edit and user_to_delete are actually confirmed users,
before checking if they are the last owner of an organization.
2 years ago
Daniel García
dfd63f85c0
Merge branch 'stefan0xC-configure-expirations'
2 years ago
Stefan Melmuk
cd0c49eaf6
return "Object" for consistency
...
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
2 years ago
Stefan Melmuk
080e38d227
return CaptchaBypassToken and register object
2 years ago
Stefan Melmuk
1a664fba6a
v2022.9.2 expects a json response when registering
2 years ago
Stefan Melmuk
c915ef815d
allow the removal of non-confirmed owners
...
ensure user_to_edit and user_to_delete are actually confirmed users,
before checking if they are the last owner of an organization.
2 years ago
Daniel García
adea4ec54d
Merge branch 'stefan0xC-update-to-v2022.9.2'
2 years ago
Stefan Melmuk
387b5eb2dd
allow the removal of non-confirmed owners
...
ensure user_to_edit and user_to_delete are actually confirmed users,
before checking if they are the last owner of an organization.
2 years ago
Daniel García
6337af59ed
Merge branch 'stefan0xC-allow-removal-of-invited-owners'
2 years ago
Stefan Melmuk
475c7b8f16
return more descriptive JWT validation messages
2 years ago
Stefan Melmuk
ac120be1c6
improve spelling of minimum expiration hours check
...
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
2 years ago
Stefan Melmuk
b70316e6d3
make invitation expiration time configurable
...
configure the number of hours after which organization invites,
emergency access invites, email verification emails and account deletion
requests expire (defaults to 5 days or 120 hours and must be atleast 1)
2 years ago
Stefan Melmuk
0a0f620d0b
return "Object" for consistency
...
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
2 years ago
Stefan Melmuk
9132cc4a30
return CaptchaBypassToken and register object
2 years ago
Stefan Melmuk
e50edcadfb
v2022.9.2 expects a json response when registering
2 years ago