Commit Graph

191 Commits (219a9d9f5ed9a374f2b0f7ad039bf57394b1852c)

Author SHA1 Message Date
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
6 years ago
Daniel García f71f10eac6
Implemented key rotation with the latest vault
6 years ago
Daniel García 5edbd0e952
Merge branch 'master' into rocket-0.4
6 years ago
Miroslav Prasil 044cf19913 Prevent accepted user from seeing ciphers until confirmed (fixes #196)
6 years ago
Daniel García f84cbeaaf8
Merge branch 'master' into rocket-0.4
6 years ago
Miroslav Prasil dd684753d0 Fix gt()
6 years ago
Miroslav Prasil f3e6cc6ffd Set PartialOrd to consider invalid i32 UserOrgType lower than anything
6 years ago
Miroslav Prasil 66a4c5d48b Implement comparison between i32 and UserOrgType
6 years ago
Daniel García c673370103
Updated bw_rs to Rocket version 0.4-rc1
6 years ago
Daniel García 02fd68d63b
Merge pull request #218 from janost/refactor-folder-save
6 years ago
janost e985221b50 User::save() should return QueryResult instead of bool
6 years ago
janost 77cf63c06d Folder::save() should return QueryResult instead of bool
6 years ago
Daniel García faec050a6d
Merge pull request #217 from janost/refactor-device-save
6 years ago
janost 58a78ffa54 Device::save() should return QueryResult instead of bool
6 years ago
janost 64f6c60bfd Organization::save() and UserOrganization::save() should return QueryResult instead of bool
6 years ago
Miroslav Prasil a28caa33ef Implement poor man's admin panel
6 years ago
janost 5292d38c73 CollectionCipher::save() and delete() should return QueryResult instead of bool
6 years ago
janost 380cf06211 Cipher::save() should return QueryResult instead of bool
6 years ago
Miroslav Prasil 54f54ee845 Update revision for users on collection save
6 years ago
Miroslav Prasil c3c74506a7 Add missing fields to returned Org json
6 years ago
Daniel García ebb66c374e
Implement KDF iterations change (Fixes #195)
6 years ago
Daniel García 8651df8c2a
Fixed some lint issues
6 years ago
Daniel García a01fee0b9f
Merge branch 'ws'
6 years ago
Miroslav Prasil c1cd4d9a6b Modify User::new to be keyless and paswordless
6 years ago
Miroslav Prasil ec05f14f5a Implement poor man's invitation via Organization invitation
6 years ago
Daniel García 69dcbdd3b2 Merge branch 'master' into ws
6 years ago
Miroslav Prasil 049aa33f17 Fix editing users in Organization
6 years ago
Shane A. Faulkner d8e5e53273 Add notifications for cipher delete and create
6 years ago
Shane A. Faulkner b6502e9e9d Add support for CipherUpdate notifications
6 years ago
Daniel García d70864ac73 Initial version of websockets notification support.
6 years ago
Baelyk fe473b9e75 `Attachment::save()` returns Result instead of bool (#161)
6 years ago
Kumar Ankur 781056152a Support password history #155 (#156)
6 years ago
Miroslav Prasil 2b2401be19 Update affected users revision on cipher and folder change
6 years ago
Miroslav Prasil 9eea0151ba Update user revision timestamp on Organization changes
6 years ago
Daniel García d332e87655
Merge pull request #144 from mprasil/collection_revision
6 years ago
Miroslav Prasil a5ef8aef0f Update affected users revision when there are collection changes
6 years ago
Miroslav Prasil 4fb09c5b4d Actually update the revision date for user struct, not just in DB
6 years ago
Daniel García 16056626b0
Merge pull request #131 from mprasil/revision_date
6 years ago
Miroslav Prasil 626a3c93ba Revert "Merge branch 'beta' of https://github.com/krankur/bitwarden_rs into beta"
6 years ago
Miroslav Prasil 3f5a99916a Implement update_revision trigger
6 years ago
Kumar Ankur 3fd3d8d5e9 Merge branch 'beta' of https://github.com/krankur/bitwarden_rs into beta
6 years ago
Kumar Ankur ddda86b90d Implemented bulk cipher share (share selected) #100
6 years ago
Miroslav Prasil 2872f40d13 WAL journal mode and delete retry added
6 years ago
Miroslav Prasil 692ed81306 Do not show organization stuff to not accepted user
6 years ago
Daniel García be4e6c6f0c Merge branch 'master' into u2f
6 years ago
Daniel García 2f892cb866 Hide org ciphers from unconfirmed users (Showed deciption error)
6 years ago
Daniel García dae92b9018 Implemented U2F, refactored Two Factor authentication, registering U2F device and authentication should work. Works on Chrome on MacOS with a virtual device.
6 years ago
Daniel García a1ffa4c28d Allow TOTP generation in organizations (Fixes #50)
6 years ago
Daniel García 0905355629 Fix wrong case in import struct, invite collections and user Uri back-compat
7 years ago
Daniel García b0ee5f6570 Improved two factor auth
7 years ago
Miroslav Prasil ac2ca5812b Remove unused UserOrganization
7 years ago
Miroslav Prasil e2b4f3b13f Bettech check for cipher access
7 years ago
Daniel García 4cf9f83866 Fixed sync
7 years ago
Daniel García 1a4b1a8254 Enabled unused variable warning again, fixed some possible bugs where we didn't check some parameters, and explicitly marked all unused parameters (mostly orgheaders)
7 years ago
Miroslav Prasil 62be23b1c0 Support listing and deleting users from collection
7 years ago
Miroslav Prasil 85ecd001a5 Fix user invitation
7 years ago
Miroslav Prasil a6105f7029 Let find_by_uuid_and_user return indirect collection (#26)
7 years ago
Miroslav Prasil 941747f9e8 Implement deleting Organization
7 years ago
Miroslav Prasil a0d2ca3f24 Implement deleting collections
7 years ago
Miroslav Prasil e54b52f109 Improve Folder::delete() to handle FolderCipher
7 years ago
Miroslav Prasil 21c1ab7fda Remove dependent items when removing cipher
7 years ago
Miroslav Prasil 8b18c4c633 Implement cipher sharing
7 years ago
Miroslav Prasil c054d0094a set max storage to non-null value
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 032134aabc Fixed some errors asigning collections to users
7 years ago
Daniel García 79b4ddcae8 Added read_only bit to users_collections
7 years ago
Daniel García 0cb58add54 Implemented some admin methods, inserted CollectionsUsers only when Org accessAll == false, and implemented find_collection when user has access_all in Org
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 a0796acbc7 Implement suggested improvements
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 69e624f82b Improved collection loading
7 years ago
Miroslav Prasil c5185ddb83 Adding some oganization features
7 years ago
Daniel García 5210f9b951 Added org user editing
7 years ago
Daniel García 4093bf92fe Initial organizations functionality: Creating orgs and inviting users
7 years ago
Daniel García 66097e5f12 r2d2_diesel is included in diesel since 1.1, so we don't need the dependencies directly.
7 years ago
Daniel García 1277cb099d Updated Cipher API with breaking changes, and included backwards compatibility
7 years ago
Daniel García 1bc346688c Some initial work on organizations, nothing works yet
7 years ago
Daniel García 7a3308200a Finished work on ciphers (import, update, and the missing types)
7 years ago
Daniel García 84a75c871b Improved error messagees, implemented delete ciphers, attachments and account, implemented two factor recovery.
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