3b9bfe55d0
use static_files() for email attachments
...
Apply suggestions from code review
Co-authored-by: Mathijs van Veluw <black.dex@gmail.com >
2022-10-19 20:23:24 +02:00
Stefan Melmuk and Daniel García
a0c6a7c0de
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
2022-10-19 20:23:24 +02:00
Stefan Melmuk and Daniel García
a2d716aec3
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.
2022-10-19 20:23:24 +02:00
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.
2022-10-18 12:49:07 +02:00
Stefan Melmuk and Daniel García
0f944ec7e2
fix link of license badge
...
master branch has been renamed to main.
2022-10-14 17:56:41 +02:00
Stefan Melmuk and Daniel García
646186fe38
fix link of license badge
...
master branch has been renamed to main.
2022-10-14 17:55:59 +02:00
Stefan Melmuk and Daniel García
fd334e2b7d
fix link of license badge
...
master branch has been renamed to main.
2022-10-14 17:55:27 +02:00
Stefan Melmuk
677fd2ff32
fix link of license badge
...
master branch has been renamed to main.
2022-10-12 20:18:18 +02:00
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.
2022-10-12 01:31:10 +02:00
Stefan Melmuk
7532072d50
add check if data folder is a directory
2022-10-12 01:26:28 +02:00
Stefan Melmuk and Daniel García
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)
2022-10-09 16:21:13 +02:00
Stefan Melmuk and Daniel García
2c0742387b
return CaptchaBypassToken and register object
2022-10-09 16:21:12 +02:00
Stefan Melmuk and Daniel García
1704d14f29
v2022.9.2 expects a json response when registering
2022-10-09 16:21:12 +02:00
Stefan Melmuk and Daniel García
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.
2022-10-09 16:21:11 +02:00
Stefan Melmuk and Daniel García
080e38d227
return CaptchaBypassToken and register object
2022-10-09 16:19:32 +02:00
Stefan Melmuk and Daniel García
1a664fba6a
v2022.9.2 expects a json response when registering
2022-10-09 16:19:32 +02:00
Stefan Melmuk and Daniel García
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.
2022-10-09 16:19:32 +02:00
Stefan Melmuk and Daniel García
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.
2022-10-09 16:17:11 +02:00
Stefan Melmuk
475c7b8f16
return more descriptive JWT validation messages
2022-10-09 13:55:22 +02:00
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)
2022-10-08 18:37:16 +02:00
Stefan Melmuk
9132cc4a30
return CaptchaBypassToken and register object
2022-10-07 08:06:55 +02:00
Stefan Melmuk
e50edcadfb
v2022.9.2 expects a json response when registering
2022-10-07 03:00:52 +02:00
Stefan Melmuk
2685099720
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.
2022-09-27 10:21:23 +02:00
Stefan Melmuk
102ee3f871
add api_not_found catcher for 404 errors in /api
2022-09-25 10:59:01 +02:00
Stefan Melmuk
acb5ab08a8
add not_found catcher for 404 errors
2022-09-25 04:02:16 +02:00