Jake Howard
3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard
155109dea1
Extract client creation to a single place
4 years ago
Jeremy Lin
d77333576b
Add support for auto-deleting trashed items
Upstream will soon auto-delete trashed items after 30 days, but some people
use the trash as an archive folder, so to avoid unexpected data loss, this
implementation requires the user to explicitly enable auto-deletion.
4 years ago
Jeremy Lin
73ff8d79f7
Add a generic job scheduler
Also rewrite deletion of old sends using the job scheduler.
4 years ago
Jake Howard
0af3956abd
Run `cargo fmt` on codebase
4 years ago
Jake Howard
3e5971b9db
Remove unnecessary result return types
4 years ago
Daniel García
1fc6c30652
Send deletion thread and updated users revision
4 years ago
Daniel García
8da5b99482
Send API
4 years ago
BlackDex
235ff44736
Updated the admin interface
Mostly updated the admin interface, also some small other items.
- Added more diagnostic information to (hopefully) decrease issue
reporting, or at least solve them quicker.
- Added an option to generate a support string which can be used to
copy/paste on the forum or during the creation of an issue. It will
try to hide the sensitive information automatically.
- Changed the `Created At` and `Last Active` info to be in a column and
able to sort them in the users overview.
- Some small layout changes.
- Updated javascript and css files to the latest versions available.
- Decreased the png file sizes using `oxipng`
- Updated target='_blank' links to have rel='noreferrer' to prevent
javascript window.opener modifications.
4 years ago
Daniel García
668d5c23dc
Removed try_trait and some formatting, particularly around imports
5 years ago
Daniel García
9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
BlackDex
1b4b40c95d
Updated reqwest to the latest version.
- Use the blocking client (no async).
- Disabled gzip.
- use_sys_proxy is now default.
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
a0ece3754b
Formatting
5 years ago
Patrick Li
85dbf4e16c
Don't include excluded global equivalent domains during sync
Fixes #681
5 years ago
BlackDex
edc482c8ea
Changed HIBP Error message.
- Moved the manual link to the check to the top.
- Clearified that hibp is a payed service.
- Changed error logo to hibp logo.
5 years ago
BlackDex
6e5c03cc78
Some modification when no HIBP API Key is set
- Added an URL with the useraccount for manual check.
- Added support for HTTP(S)_PROXY for hibp.
5 years ago
Daniel García
4a7d2a1e28
Rename static files endpoint
6 years ago
Daniel García
515b87755a
Update HIBP to v3, requires paid API key, fixes #583
6 years ago
Emil Madsen
e22e290f67
Fix key and type variable names for mysql
6 years ago
Daniel García
61515160a7
Allow changing error codes and create an empty error.
Return 404 instead of 400 when no accounts breached.
6 years ago
Daniel García
8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query
6 years ago
Daniel García
a797459560
Implement HIBP check [WIP].
Add extra security attributes to admin cookie.
Error handling.
6 years ago
Daniel García
30e768613b
Start using rustfmt and some style changes to make some lines shorter
6 years ago
Daniel García
6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
6 years ago
Daniel García
5fecf09631
Initial version of admin panel, list users and reload user list works. No serious auth method yet, password is 'token123'
6 years ago
Daniel García
19754c967f
More changes to the push token, and filtered multipart logs
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García
dc1bb6de20
Update device push token methods to more closely follow the official server response
6 years ago
Daniel García
00abd4c853
Add create endpoint, fixes #253 , fixes #261
6 years ago
Stepan Fedorko-Bartos
9e0e4b13c5
Adds Yubikey OTP Support
6 years ago
Roman Hargrave
760e0ab805
Initial u2f fix
6 years ago
Daniel García
c673370103
Updated bw_rs to Rocket version 0.4-rc1
6 years ago
janost
c32c65d367
Accept PUT and POST on /settings/domains, returns JsonResult, fixes saving Custom Equivalent Domains
6 years ago
janost
daa66b08dc
Fix /sync without query string
6 years ago
janost
e985221b50
User::save() should return QueryResult instead of bool
6 years ago
Miroslav Prasil
a28caa33ef
Implement poor man's admin panel
6 years ago
janost
c29bc9309a
Return proper error message for org reinvite
6 years ago
Daniel García
ebb66c374e
Implement KDF iterations change ( Fixes #195 )
6 years ago
Miroslav Prasil
f7951b44ba
Add alias for DELETE call on accounts
6 years ago
Daniel García
f397f0cbd0
Implement organization import for admins and owners ( Fixes #178 )
7 years ago
mprasil
3cfdf9b585
Add DELETE handlers fo cipher and attachment deletion ( fixes #158 ) ( #160 )
7 years ago
Daniel García
8d1ee859f2
Implemented basic support for prelogin and notification negotiation
7 years ago
Miroslav Prasil
40d09ddd2a
Add PUT alias for Organization updates
7 years ago
Miroslav Prasil
12a2dc0901
Add PUT alias for profile update
7 years ago
Miroslav Prasil
f2fec345ec
Add PUT alias for editing cipher
7 years ago
Miroslav Prasil
0dfd9c7670
Add couple more aliases for PUTs and DELETEs
7 years ago
Miroslav Prasil
6ede1743ac
add alias for PUT collections-admin
7 years ago
Daniel García
d3f357b708
Implemented PUT for u2f registration
7 years ago
Miroslav Prasil
626a3c93ba
Revert "Merge branch 'beta' of https://github.com/krankur/bitwarden_rs into beta"
This reverts commit 3fd3d8d5e9
.
7 years ago