Daniel García
0778bd4bd5
Merge branch 'admin-changes' of https://github.com/BlackDex/vaultwarden into BlackDex-admin-changes
3 years ago
Daniel García
0cd065d354
Update webauthn-rs crate to upstream version
3 years ago
BlackDex
8615736e84
Multiple Admin Interface fixes and some others.
...
Misc:
- Fixed hadolint workflow, new git cli needs some extra arguments.
- Add ignore paths to all specific on triggers.
- Updated hadolint version.
- Made SMTP_DEBUG read-only, since it can't be changed at runtime.
Admin:
- Migrated from Bootstrap v4 to v5
- Updated jquery to v3.6.0
- Updated Datatables
- Made Javascript strict
- Added a way to show which ENV Vars are overridden.
- Changed the way to provide data for handlebars.
- Fixed date/time check.
- Made support string use details and summary feature of markdown/github.
3 years ago
Daniel García
5772836be5
Fix admin page with handlebars 4
4 years ago
Daniel García
c380d9c379
Support for webauthn and u2f->webauthn migrations
4 years ago
Daniel García
cea7a30d82
Merge pull request #1761 from jjlin/deps
...
Update dependencies
4 years ago
Jeremy Lin
06cde29419
Update dependencies
...
Notably, update `diesel` to 1.4.7 and `libsqlite3-sys` to 0.22.2 to pick up
the fix for CVE-2021-20227 added in SQLite 3.34.1.
4 years ago
Daniel García
20f5988174
Merge pull request #1736 from jjlin/rocket-env-docs
...
Clarify Rocket env var defaults
4 years ago
Jeremy Lin
b491cfe0b0
Clarify Rocket env var defaults
...
Mention `ROCKET_WORKERS`, but remove `ROCKET_ENV` since most users
probably wouldn't use it.
4 years ago
Daniel García
fc513413ea
Merge pull request #1730 from jjlin/attachment-upload-v2
...
Add support for v2 attachment upload APIs
4 years ago
Jeremy Lin
3f7e4712cd
Fix attachment size limit calculation for v2 uploads
4 years ago
Jeremy Lin
c2ef331df9
Rework file ID generation
4 years ago
Jeremy Lin
5fef7983f4
Clean up attachment error handling
4 years ago
Jeremy Lin
29ed82a359
Add support for v2 attachment upload APIs
...
Upstream PR: https://github.com/bitwarden/server/pull/1229
4 years ago
Daniel García
7d5186e40a
Merge pull request #1706 from jjlin/trash-auto-delete-env
...
Add `TRASH_AUTO_DELETE_DAYS` to .env.template
4 years ago
Daniel García
99270612ba
Merge pull request #1704 from jjlin/global-domains
...
Sync global_domains.json
4 years ago
Jeremy Lin
c7b5b6ee07
Add `TRASH_AUTO_DELETE_DAYS` to .env.template
4 years ago
Jeremy Lin
848d17ffb9
Sync global_domains.json to bitwarden/server@7857053 (Amazon)
4 years ago
Daniel García
47e8aa29e1
Merge pull request #1702 from BlackDex/icon-updates-plus
...
Updated icon fetching and crates.
4 years ago
BlackDex
f270f2ed65
Updated icon fetching and crates.
...
- Updated some crates
- Updated icon fetching code:
+ Use a cookie jar and set Max-Age to 2 minutes for all cookies
+ Locate the base href tag to fix some locations
+ Changed User-Agent (Helps on some sites to get HTML instead of JS)
+ Reduced HTML code limit from 512KB to 384KB
+ Allow some large icons higer-up in the sort
+ Allow GIF images
+ Ignore cookie_store and hyper::client debug messages
4 years ago
Daniel García
aba5b234af
Merge pull request #1700 from jjlin/fix-attachment-downloads
...
Fix attachment downloads
4 years ago
Jeremy Lin
9133e2927d
Fix attachment downloads
...
Upstream switched to new upload/download APIs. Uploads fall back to the
legacy APIs for now, but not downloads apparently.
4 years ago
Jeremy Lin
38104ba7cf
`cargo fmt` changes
...
The PR build seems to fail without this...
4 years ago
Daniel García
c42bcae224
Merge pull request #1696 from umireon/patch-1
...
Remove unneeded spaces in .env.template
4 years ago
Kaito Udagawa
764e51bbe9
Remove unneeded spaces in .env.template
4 years ago
Daniel García
8e6c6a1dc4
Merge pull request #1689 from jjlin/hide-email
...
Add support for hiding the sender's email address in Bitwarden Sends
4 years ago
Daniel García
7a9cfc45da
Merge pull request #1688 from jjlin/config-sends-allowed
...
Add `sends_allowed` config setting
4 years ago
Daniel García
9e24b9065c
Merge pull request #1682 from dongcarl/2021-05-admin-granular-http-codes
...
admin: More granular HTTP return codes for user-related endpoints
4 years ago
Daniel García
1c2b376ca2
Merge pull request #1663 from dongcarl/2021-05-invite_user-return
...
admin: Return newly-created user in invite_user
4 years ago
Daniel García
746ce2afb4
Merge pull request #1653 from jjlin/password-reprompt
...
Add support for password reprompt
4 years ago
Jeremy Lin
029008bad5
Add support for the `Send Options` policy
...
Upstream refs:
* https://github.com/bitwarden/server/pull/1234
* https://bitwarden.com/help/article/policies/#send-options
4 years ago
Jeremy Lin
d3449bfa00
Add support for hiding the sender's email address in Bitwarden Sends
...
Note: The original Vaultwarden implementation of Bitwarden Send would always
hide the email address, while the upstream implementation would always show it.
Upstream PR: https://github.com/bitwarden/server/pull/1234
4 years ago
Jeremy Lin
a9a5706764
Add support for password reprompt
...
Upstream PR: https://github.com/bitwarden/server/pull/1269
4 years ago
Jeremy Lin
3ff8014add
Add `sends_allowed` config setting
...
This provides global control over whether users can create Bitwarden Sends.
4 years ago
Carl Dong
e60bdc7efe
admin: Make invite_user error codes more specific
...
- Return 409 Conflict for when a user with that email already exists
- Return 500 InternalServerError for everything else
4 years ago
Carl Dong
cccd8262fa
admin: Add /users/<uuid> route
...
Individual user information can now be looked up by UUID.
4 years ago
Carl Dong
68e5d95d25
admin: Specifically return 404 for user not found
...
- Modify err_code to accept an expr for err_code
- Add get_user_or_404, properly returning 404 instead of a generic 400
for cases where user is not found
- Use get_user_or_404 where appropriate.
4 years ago
Carl Dong
5f458b288a
admin: Return newly-created user in invite_user
...
Instead of having the caller dig through /admin/users for the right one,
just return the user upon creation.
4 years ago
Daniel García
e9ee8ac2fa
Fix sponsors
4 years ago
Daniel García
8a4dfc3bbe
Merge pull request #1670 from BlackDex/branding-and-email
...
Updated branding, email and crates
4 years ago
Daniel García
4f86517501
Merge pull request #1679 from BlackDex/gh-workflows
...
Updated Pipelines and fixed new Hadolints
4 years ago
BlackDex
7cb19ef767
Updated branding, email and crates
...
- Updated branding for admin and emails
- Updated crates and some deprications
- Removed newline-converter because this is built-in into lettre
- Updated email templates to use a shared header and footer template
- Also trigger SMTP SSL When TLS is selected without SSL
Resolves #1641
4 years ago
BlackDex
565439a914
Updated Pipelines and fixed new Hadolints
...
- Removed azure-pipelines
- Updated gh-actions to run `cargo test` per db feature
- Fail on warnings by adding `RUSTFLAGS` env
- Updated Dockerfile to fix some new hadolint warnings
4 years ago
Daniel García
b8010be26b
Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints
4 years ago
Daniel García
f76b8a32ca
Update dependencies
4 years ago
Olivier Martin
39167d333a
Merge commit '0d631329873196935ba29db985c5e32def391251' into 2fa_enforcement
4 years ago
Daniel García
0d63132987
Rename the title too, not just the URL
4 years ago
Daniel García
7b5d5d1302
Rename references to the discourse forum
4 years ago
Daniel García
0dc98bda23
Merge pull request #1650 from mprasil/main
...
Point docker hub badge to correct repository
4 years ago
Miro Prasil
f9a062cac8
Point docker hub badge to correct repository
...
The link is already pointing to the new image location, but the badge
source was somewhat confusingly showing stats for the old image.
4 years ago