Daniel García
30e768613b
Start using rustfmt and some style changes to make some lines shorter
6 years ago
Daniel García
2bb0b15e04
Implemented better errors for JWT
6 years ago
Daniel García
250a2b340f
Use new Errors in latest changes
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
Nick Fox
2cd736ab81
Validate JWT if a user registers with SMTP invites enabled
6 years ago
Nick Fox
26bf7bc12f
Use upstream jslib invite/registration workflow
6 years ago
Nick Fox
9479108fb7
Remove CONFIG.email_invitations
6 years ago
Nick Fox
4910b14d57
Implement email invitations and registration workflow
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García
f71f10eac6
Implemented key rotation with the latest vault
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
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
Daniel García
7112c86471
Updated dependencies, removed valid mail check (now done by lettre), and updated global domains file
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
b75ba216d1
Return default prelogin values when the user doesn't exist
6 years ago
Daniel García
8651df8c2a
Fixed some lint issues
7 years ago
Daniel García
3e1afb139c
Remove unnecessary return
7 years ago
Miroslav Prasil
c1cd4d9a6b
Modify User::new to be keyless and paswordless
7 years ago
Miroslav Prasil
ec05f14f5a
Implement poor man's invitation via Organization invitation
7 years ago
Jean-Christophe BEGUE
37d88be2be
return an error when email adress for password hint is not valid
7 years ago
Jean-Christophe BEGUE
1c641d7635
Special messages when user has no password hint
7 years ago
Jean-Christophe BEGUE
e2ab2f7306
Save None instead of empty password hint
7 years ago
Daniel García
8d1ee859f2
Implemented basic support for prelogin and notification negotiation
7 years ago
Jean-Christophe BEGUE
9e63985b28
Check email validity before using it for password hint sending
7 years ago
Miroslav Prasil
12a2dc0901
Add PUT alias for profile update
7 years ago
Jean-Christophe BEGUE
d68f57cbba
Fix password hint showing logic
7 years ago
Jean-Christophe BEGUE
812387e586
SMTP integration, send password hint by email.
7 years ago
Miroslav Prasil
58c1545707
Return revision date in miliseconds ( fixes #127 )
7 years ago
Jean-Christophe BEGUE
d3b4b10d18
Add a explaination to the password hint message #85
7 years ago
Jean-Christophe BEGUE
c031ae9f2f
Make password hints available in the error message #85
7 years ago
Daniel García
1c45c2ec3a
Implemented API endpoints to modify profile name and hint, and to change email address, fixes #43
7 years ago
Daniel García
410ee9f1f7
Fixed case problems, hopefully this time for real
7 years ago
Daniel García
483066b9a0
Some style changes, removed useless matches and formats
7 years ago
Daniel García
2be1dafe80
Missed some
7 years ago
Daniel García
5ec728683e
Make sure the inputs are always in the same case (PascalCase, which is what upstream seems to prefer most of the time)
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
e54b52f109
Improve Folder::delete() to handle FolderCipher
7 years ago
Miroslav Prasil
21c1ab7fda
Remove dependent items when removing cipher
7 years ago
Miroslav Prasil
b0472d7aab
Delete owned ciphers on account deletion
7 years ago
Daniel García
7e7c3681da
Implemented public key method correctly, which fixes decryption errors in collections and organizations
7 years ago
Daniel García
4093bf92fe
Initial organizations functionality: Creating orgs and inviting users
7 years ago
Daniel García
dfefbf1f31
Fixed cipher import, created missing data structs instead of using generic Value, and fixed some warnings
7 years ago
Daniel García
e173ef948d
Removed some unnecesary clones
7 years ago
Daniel García
d6a1a9b274
Detect device type correctly and shorten return types of functions
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
31bf2bc2b1
Solved some warnings
7 years ago
Daniel García
b54684b677
Upload and download attachments, and added License file
7 years ago