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.
5 years ago
Emil Madsen
e22e290f67
Fix key and type variable names for mysql
6 years ago
Emil Madsen
ab95a69dc8
Rework migrations for MySQL
6 years ago
Дамјан Георгиевски
473f8b8e31
remove some unneeded mutability
6 years ago
Daniel García
86de0ca17b
Fix editing users from collections menu
6 years ago
Stephen White
fc0e239bdf
No point calling find_by_uuid now we don't use the result.
6 years ago
Stephen White
928ad6c1d8
Fix the list of users with access to a collection to display correctly.
...
https://github.com/dani-garcia/bitwarden_rs/issues/364
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
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
Daniel García
f84cbeaaf8
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# src/db/models/organization.rs
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
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
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
8651df8c2a
Fixed some lint issues
6 years ago
Miroslav Prasil
ec05f14f5a
Implement poor man's invitation via Organization invitation
6 years ago
Miroslav Prasil
049aa33f17
Fix editing users in Organization
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
Miroslav Prasil
692ed81306
Do not show organization stuff to not accepted user
6 years ago
Daniel García
a1ffa4c28d
Allow TOTP generation in organizations ( Fixes #50 )
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
941747f9e8
Implement deleting Organization
7 years ago
Miroslav Prasil
a0d2ca3f24
Implement deleting collections
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
Daniel García
032134aabc
Fixed some errors asigning collections to users
7 years ago
Miroslav Prasil
a0796acbc7
Implement suggested improvements
7 years ago
Miroslav Prasil
514a372bc8
Add per-user folder-cipher mapping
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