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
ddd49596ba
Fix invite empty email
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
b2fc0499f6
Finish invite functionality, and remove virtual organization
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
1b5134dfe2
Fixed delete user when 2FA is enabled, implemented delete user for admin panel, and the front-end part for invite user. Secured admin panel behind a configurable token.
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
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
f71f10eac6
Implemented key rotation with the latest vault
6 years ago
Daniel García
f84cbeaaf8
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# src/db/models/organization.rs
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
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
Daniel García
ebb66c374e
Implement KDF iterations change ( Fixes #195 )
6 years ago
Daniel García
8651df8c2a
Fixed some lint issues
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
d332e87655
Merge pull request #144 from mprasil/collection_revision
...
Update affected users revision when there are collection changes
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
Miroslav Prasil
3f5a99916a
Implement update_revision trigger
7 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.
7 years ago
Daniel García
b0ee5f6570
Improved two factor auth
7 years ago
Miroslav Prasil
c5185ddb83
Adding some oganization features
7 years ago
Daniel García
4093bf92fe
Initial organizations functionality: Creating orgs and inviting users
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
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