Daniel García
3fa78e7bb1
Initial version of policies
5 years ago
Daniel García
70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster
5 years ago
Daniel García
b6612e90ca
Update dependencies
5 years ago
Daniel García
161cccca30
Merge pull request #892 from BlackDex/smtp-test-button
...
Relocated SMTP test input+button.
5 years ago
BlackDex
84dc2eda1f
Changed javascript default argument construction
5 years ago
BlackDex
390d10d656
Relocated SMTP test input+button.
...
- Moved smtp test option to within the "SMTP Email" Settings block.
- Added optional option to prevent full page reload.
- SMTP Test and Backup do not reload the admin interface any more.
5 years ago
Daniel García
1f775f4414
Merge pull request #888 from zethra/add_cli_args
...
Added command line flags for help and version
5 years ago
zethra
cc404b4edc
Added command line flags for help and version
...
Signed-off-by: zethra <benaagoldberg@gmail.com>
5 years ago
Daniel García
536672ac1b
Delete ISSUE_TEMPLATE.md
5 years ago
Daniel García
e41e7c07db
Update issue templates
5 years ago
Daniel García
f1d3b03c60
Update README.md
5 years ago
Daniel García
2ebff958a4
Merge pull request #879 from BlackDex/smtp-test-button
...
Added SMTP test button in the admin gui
5 years ago
Daniel García
edfdda86ae
Use web vault built by docker autobuild, using the hash to reference the image for extra security
5 years ago
BlackDex
97fb7b5b96
Added urlpath to smtpTest function
5 years ago
BlackDex
f6de144cbb
Merge branch 'smtp-test-button' of github.com:BlackDex/bitwarden_rs into smtp-test-button
5 years ago
BlackDex
5a974c7b94
Added SMTP test button in the admin gui
...
- Added a test button for checking the e-mail settings.
- Fixed a bug with the _post JavaScript function:
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
5 years ago
BlackDex
5f61607419
Added SMTP test button in the admin gui
...
- Added a test button for checking the e-mail settings.
- Fixed a bug with the _post JavaScript function:
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
5 years ago
Daniel García
cd8907542a
Make sure the provided domain contains the protocol and show a useful error when it doesn't
5 years ago
Daniel García
8a5450e830
Merge pull request #868 from jjlin/alt-base
...
Add backend support for alternate base dir (subdir/subpath) hosting
5 years ago
Daniel García
ad9f2b2d8e
Removed test urlpath
5 years ago
Daniel García
2f4a9865e1
Use absolute paths in the admin page
5 years ago
Daniel García
0a3008e753
Update web vault used in docker
5 years ago
Jeremy Lin
29a0795219
Add backend support for alternate base dir (subdir/subpath) hosting
...
To use this, include a path in the `DOMAIN` URL, e.g.:
* `DOMAIN=https://example.com/custom-path `
* `DOMAIN=https://example.com/multiple/levels/are/ok `
5 years ago
Daniel García
63459c5f72
Updated FUNDING as mentioned in #859
5 years ago
Daniel García
916e96b143
Update web vault to fix copy issues
5 years ago
Daniel García
325039c316
Attachment size limits, per-user and per-organization
5 years ago
Daniel García
c5b97f4146
Merge pull request #864 from mprasil/admin-invitation
...
Do not disable invitations via admin API
5 years ago
Miro Prasil
03233429f4
Remove check from Invitation:take()
...
I've checked the spots when `Invitation::new()` and `Invitation::take()`
are used and it seems like all spots are already correctly gated. So to
enable invitations via admin API even when invitations are otherwise
disabled, this check can be removed.
5 years ago
Miroslav Prasil
0a72c4b6db
Do not disable invitations via admin API
...
This was brought up today:
https://github.com/dani-garcia/bitwarden_rs/issues/752#issuecomment-586715073
I don't think it makes much sense in checking whether admin has the
right to send invitation as admin can change the setting anyway.
Removing the condition allows users to forbid regular users from
inviting new users to server while still preserving the option to do so
via the admin API.
5 years ago
Daniel García
8867626de8
Add option to change invitation org name, fixes #825
...
Add option to allow additional iframe ancestors, fixes #843
Sort the rocket routes before printing them
5 years ago
Daniel García
f5916ec396
Fix backwards indices
5 years ago
Daniel García
ebb36235a7
Cache icons in the clients
5 years ago
Daniel García
def174a517
Convert email domains to punycode
5 years ago
Daniel García
2798f623d4
Updated rust toolchain version
5 years ago
Daniel García
480ba933fa
Don't error if admin token is empty but disabled
5 years ago
Daniel García
3d1ee9ef62
Use rust-toolchain file to determine version in workflows, disabled mac builds for now
5 years ago
Daniel García
5352321fe1
Merge pull request #831 from mprasil/whitelist-fix
...
SIGNUPS_ALLOWED with no whitelist [fixes #830 ]
5 years ago
Miro Prasil
c4101162d6
SIGNUPS_ALLOWED with no whitelist [ fixes #830 ]
...
This reverts back to `SIGNUPS_ALLOWED` when there is no domain whitelist
set. The functionality was broken in 64d6f72
.
5 years ago
Daniel García
632d55265b
Merge pull request #824 from tomuta/fix_change_email
...
Fix change email when no whitelist is configured
5 years ago
tomuta
e277f7d1c1
Fix change email when no whitelist is configured
...
Fixes issue #792
5 years ago
Daniel García
ff7b4a3d38
Update handlebars to 3.0 which included performance improvements.
...
Updated lettre to newer git revision, which should give better error messages now.
5 years ago
Daniel García
d212dfe735
Accept y/n, True/False, 1/0 as booleans in environment vars
5 years ago
Daniel García
84ed185579
Update u2f to 0.2, which requires OpenSSL but also might solve the problems we've had with certificates.
...
The rust image doesn't need installing curl or tar, so removed. Also collapsed ENV lines.
5 years ago
Daniel García
c0ba3406ef
Merge pull request #812 from swedishborgie/postgresql
...
Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL
5 years ago
Michael Powers
e196ba6e86
Switch error handling to ? operator instead of explicit handling.
5 years ago
Michael Powers
76743aee48
Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL
...
Because of differences in how .on_conflict() works compared to .replace_into() the PostgreSQL backend wasn't correctly ensuring the unique constraint on user_uuid and atype wasn't getting violated.
This change simply issues a DELETE on the unique constraint prior to the insert to ensure uniqueness. PostgreSQL does not support multiple constraints in ON CONFLICT clauses.
5 years ago
Daniel García
9ebca99290
Update dependencies
5 years ago
Daniel García
a734ad2d36
Add contributor
5 years ago
Daniel García
baf7d1be4e
Delete old workflow file and disable building binaries on pull requests, as we already have CI for that
5 years ago
Daniel García
31bcd1bf7c
Merge pull request #784 from ypid/docker/use-debian-base
...
Use Debian base image for all steps of the build process
5 years ago