Daniel García
9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
BlackDex
1ee8e44912
Fixed issue #965
PostgreSQL updates/inserts ignored None/null values.
This is nice for new entries, but not for updates.
Added derive option to allways add these none/null values for Option<>
variables.
This solves issue #965
5 years ago
Daniel García
325039c316
Attachment size limits, per-user and per-organization
5 years ago
Daniel García
4c07f05b3a
Remove Result<T, E: Debug> in preparation of deprecation as Rocket responder.
Removed unnecessary returns
6 years ago
Michael Powers
f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246 .
This includes migrations as well as Dockerfile's for amd64.
The biggest change is that replace_into isn't supported by Diesel for the
PostgreSQL backend, instead requiring the use of on_conflict. This
unfortunately requires a branch for save() on all of the models currently
using replace_into.
6 years ago
Emil Madsen
ab95a69dc8
Rework migrations for MySQL
6 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
Improved some two factor methods.
6 years ago
Daniel García
6f52104324
Fix casing error in Attachment, should fix 'Attachment doesn't exist' errors
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
acb9d1b3c6
Remove config option for admin email, embdedded admin page, managed IO::Error, and added security and cache headers globally
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
4e827e4f8a
Implement better retry and use it while saving device
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García
2fde4e6933
Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested)
6 years ago
Daniel García
6364c05789
Fix attachments during key rotation, add individual attachment key
7 years ago
Daniel García
c673370103
Updated bw_rs to Rocket version 0.4-rc1
7 years ago
Daniel García
8651df8c2a
Fixed some lint issues
7 years ago
Baelyk
fe473b9e75
`Attachment::save()` returns Result instead of bool ( #161 )
Returning a result instead of a bool as per #6
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
Kumar Ankur
3fd3d8d5e9
Merge branch 'beta' of https://github.com/krankur/bitwarden_rs into beta
7 years ago
Kumar Ankur
ddda86b90d
Implemented bulk cipher share (share selected) #100
7 years ago
Kumar Ankur
fb7b1c8c18
Implemented bulk cipher share (share selected) #100
7 years ago
Miroslav Prasil
2872f40d13
WAL journal mode and delete retry added
7 years ago
Miroslav Prasil
21c1ab7fda
Remove dependent items when removing cipher
7 years ago
Daniel García
84a75c871b
Improved error messagees, implemented delete ciphers, attachments and account, implemented two factor recovery.
Known missing:
- import ciphers, create ciphers types other than login and card, update ciphers
- clear and put device_tokens
- Equivalent domains
- Organizations
7 years ago
Daniel García
47a116bbee
Get host from client and put it in the attachments URL (only the web vault works without indicating the host in the URL)
7 years ago
Daniel García
912901780e
Updated modified date when saving and removed hardcoded attachment domain
7 years ago
Daniel García
31bf2bc2b1
Solved some warnings
7 years ago
Daniel García
b54684b677
Upload and download attachments, and added License file
7 years ago