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
Daniel García
a3b30ed65a
Add missing target armv7 and cross compile envs
5 years ago
Daniel García
59e50b03bd
Merge pull request #804 from publicarray/master
...
Improve Github Actions Workflow
5 years ago
Sebastian Schmidt
0a88f020e1
Disable Windows workflow
5 years ago
Daniel García
c058a1d63c
Make sure handlebars is not updated, as the next patch version has breaking changes
5 years ago
Daniel García
96a189deb9
Merge pull request #803 from aeolyus/master
...
Minor typo conect -> connect
5 years ago
Daniel García
8c229920ad
Protect websocket server against panics
5 years ago
Richard Huang
d592323e39
minor typo conect -> connect
5 years ago
Robin Schneider
402c857d17
Add hint to Dockerfile's that they are generated
5 years ago
Robin Schneider
def858854b
Readd missing cargo build for armv7. Thanks to @dani-garcia!
5 years ago
Robin Schneider
f6761ac30e
Remove debugging echo statement from Dockerfiles
5 years ago
Robin Schneider
f8e49ea3f4
Use apt-get instead of apt in Dockerfiles, also --no-install-recommends
...
apt is intended for humans, not scripts.
--no-install-recommends improves build time by avoiding to install
unneeded packages.
5 years ago
Robin Schneider
f6a4a2127b
Remove duplicate empty lines in generated Dockerfiles
...
Checked with:
```Shell
find . -type f -print0 | xargs -0 pcregrep -M '\n\n\n'
```
5 years ago
Robin Schneider
446fc3f1f8
Set build time options for dpkg and reproducible builds
...
Ref: https://github.com/moby/moby/issues/4032
Ref: https://sweetcode.io/using-docker-reproducible-build-environments/
Ref: https://github.com/hashbang/aosp-build/blob/master/config/container/Dockerfile
5 years ago
Robin Schneider
146525db91
Improve Jinja2 template logic a bit
5 years ago
Robin Schneider
1698b43f9b
Readd missing cargo setup for armv7. Thanks to @dani-garcia!
5 years ago
Robin Schneider
078b21db85
Fix armv6 build, thanks to @dani-garcia for the review!
5 years ago
Robin Schneider
43adcde094
Move `rustup target` before `cargo build`. Thanks to @dani-garcia!
...
Note from @dani-garcia:
> I don't think this is doing anything right now because the target is probably
> installed already.
5 years ago
Daniel García
7a0bb18dcf
Make `cargo new` independent of workdir to be exact
...
The muslrust images seem to have a workdir of /volume as opposed to / in the
others so doing cargo new like this would create the folder in /volume/app.
5 years ago
Robin Schneider
47a5a4e1fc
Fix package name for Ubuntu 16.04 based image. Thanks @dani-garcia!
5 years ago