Daniel García
9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Daniel García
e3b00b59a7
Initial support for soft deletes
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
adf47827c9
Make sure the data field is always returned, otherwise the mobile apps seem to have issues
5 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
Daniel García
76f38621de
Update dependencies and remove unwraps from Cipher::to_json
6 years ago
Emil Madsen
ab95a69dc8
Rework migrations for MySQL
6 years ago
Daniel García
621f607297
Update dependencies and fix some warnings
6 years ago
Daniel García
bef1183c49
Only send one notification per vault import and purge, improve move ciphers functions
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
Andreas Schneider
e7ea5097f4
Restrict join on users_collections to current user ( fixes #313 )
6 years ago
Daniel García
738ad2127b
Fixed some clippy linting issues
6 years ago
Daniel García
cb930a0858
Remove some required values during login, now uses default values
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Miroslav Prasil
044cf19913
Prevent accepted user from seeing ciphers until confirmed ( fixes #196 )
7 years ago
Daniel García
c673370103
Updated bw_rs to Rocket version 0.4-rc1
7 years ago
Miroslav Prasil
a28caa33ef
Implement poor man's admin panel
7 years ago
janost
380cf06211
Cipher::save() should return QueryResult instead of bool
7 years ago
Daniel García
8651df8c2a
Fixed some lint issues
7 years ago
Shane A. Faulkner
d8e5e53273
Add notifications for cipher delete and create
7 years ago
Shane A. Faulkner
b6502e9e9d
Add support for CipherUpdate notifications
7 years ago
Kumar Ankur
781056152a
Support password history #155 ( #156 )
* Password History Support (#155 )
* down.sql logic not required as per review comments
7 years ago
Miroslav Prasil
2b2401be19
Update affected users revision on cipher and folder change
7 years ago
Daniel García
2f892cb866
Hide org ciphers from unconfirmed users (Showed deciption error)
7 years ago
Daniel García
a1ffa4c28d
Allow TOTP generation in organizations ( Fixes #50 )
7 years ago
Daniel García
0905355629
Fix wrong case in import struct, invite collections and user Uri back-compat
7 years ago
Miroslav Prasil
ac2ca5812b
Remove unused UserOrganization
7 years ago
Miroslav Prasil
e2b4f3b13f
Bettech check for cipher access
7 years ago
Miroslav Prasil
941747f9e8
Implement deleting Organization
7 years ago
Miroslav Prasil
21c1ab7fda
Remove dependent items when removing cipher
7 years ago
Miroslav Prasil
89e544009f
Fix duplicate ciphers returned from find_by_user
7 years ago
Miroslav Prasil
8bed867798
Also list shared ciphers in find_by_user
7 years ago
Miroslav Prasil
dfb1232081
Filter collection lists based on user
7 years ago
Miroslav Prasil
34f2aa68f4
Implement Collection-Cipher mapping
7 years ago
Daniel García
92236394e6
Delete folder mappings when deleting folders and make sure that we can't change a ciphers owner when created
7 years ago
Miroslav Prasil
c4360ee697
Save extra query when checking write access
7 years ago
Miroslav Prasil
c3be1b4298
Fix FolderCipher creation, handle some errors
7 years ago
Miroslav Prasil
514a372bc8
Add per-user folder-cipher mapping
7 years ago
Miroslav Prasil
7e9e200d29
Add support for adding and viewing of org ciphers
7 years ago
Daniel García
1277cb099d
Updated Cipher API with breaking changes, and included backwards compatibility
7 years ago
Daniel García
7a3308200a
Finished work on ciphers (import, update, and the missing types)
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
Daniel García
5cd40c63ed
First working version
7 years ago