Girish Ramakrishnan
|
f94ff49fb9
|
users: replace modifiedAt with ts
|
2020-07-09 16:02:49 -07:00 |
|
Girish Ramakrishnan
|
e2cadbfc30
|
Fix uniqueness constraint in app passwords table
Fixes #688
|
2020-05-30 13:25:29 -07:00 |
|
Girish Ramakrishnan
|
936f456cec
|
make reset tokens only valid for a day
fixes #563
mysql timestamps cannot be null. it will become current timestamp when
set as null
|
2020-03-30 17:13:31 -07:00 |
|
Girish Ramakrishnan
|
0e156b9376
|
migrate permissions and admin flag to user.role
|
2020-02-21 16:49:20 -08:00 |
|
Girish Ramakrishnan
|
00c6ad675e
|
add usermanager tests
|
2020-02-14 14:34:29 -08:00 |
|
Girish Ramakrishnan
|
c537dfabb2
|
add manage user permission
|
2020-02-13 22:49:58 -08:00 |
|
Girish Ramakrishnan
|
d1911be28c
|
user: load the resource with middleware
|
2020-02-13 20:59:17 -08:00 |
|
Johannes Zellner
|
6745221e0f
|
Password reset does not need an email
|
2020-02-04 17:05:08 +01:00 |
|
Girish Ramakrishnan
|
3427db3983
|
Add app passwords feature
|
2020-01-31 22:03:19 -08:00 |
|
Girish Ramakrishnan
|
7a96e4858a
|
Not found messages at the db level
|
2019-10-24 20:48:38 -07:00 |
|
Girish Ramakrishnan
|
bc3169deb3
|
Move UsersError to BoxError
|
2019-10-24 15:06:41 -07:00 |
|
Johannes Zellner
|
b823213c94
|
Create and update users from external ldap
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
4b86311ab9
|
Add user source property to schema
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
573663412c
|
Add more fuzzy user search
Fixes #646
|
2019-08-13 15:23:26 +02:00 |
|
Johannes Zellner
|
17599417f7
|
WIP
|
2019-08-13 15:16:17 +02:00 |
|
Girish Ramakrishnan
|
0ab6cad048
|
Add user enable/disable flag
|
2019-08-08 06:31:46 -07:00 |
|
Johannes Zellner
|
13fac3072d
|
Support username search in user listing api
|
2019-01-15 17:21:40 +01:00 |
|
Johannes Zellner
|
05f07b1f47
|
Add paginated user listing on the db level
|
2019-01-14 16:08:55 +01:00 |
|
Girish Ramakrishnan
|
9fe02d3818
|
lint
|
2018-10-29 20:19:42 -07:00 |
|
Girish Ramakrishnan
|
d09ff985af
|
remove all user tokens when user is deleted
|
2018-08-27 14:05:22 -07:00 |
|
Girish Ramakrishnan
|
78a2176d1d
|
Make admin simply a boolean instead of group
This simplifies a lot of logic. Keeping an admin group has no benefit
|
2018-07-26 22:29:57 -07:00 |
|
Girish Ramakrishnan
|
39848a25a8
|
Refactor a bit
|
2018-07-26 15:35:41 -07:00 |
|
Girish Ramakrishnan
|
dfa318e898
|
Add ownerId for apps
This tracks who installed the app.
|
2018-06-28 14:13:12 -07:00 |
|
Girish Ramakrishnan
|
32e6b9024c
|
Add email query param to reset code path
This reduces any attack surface
|
2018-06-12 17:56:41 -07:00 |
|
Johannes Zellner
|
0167f83d4a
|
Handle 2fa fields in userdb code
|
2018-04-25 17:03:16 +02:00 |
|
Johannes Zellner
|
3948cfc33b
|
Parse sql error message to deliver correct conflict errors
|
2018-01-26 17:56:07 +01:00 |
|
Johannes Zellner
|
ccdf926976
|
move mailbox cleanup code from userdb to user businesslogic
|
2018-01-26 12:26:03 +01:00 |
|
Johannes Zellner
|
666f42f4ef
|
Do not automatically create mailboxes for users
|
2018-01-24 12:56:12 +01:00 |
|
Johannes Zellner
|
1e8aa209b1
|
Add fallbackEmail to user data model
|
2018-01-21 14:25:39 +01:00 |
|
Johannes Zellner
|
1ccc3b84b8
|
Fixup various tests for multidomain
|
2017-11-20 20:01:50 +01:00 |
|
Girish Ramakrishnan
|
88a929c85e
|
Instead of appstore account, include owner alternate email
|
2017-11-02 15:10:05 -07:00 |
|
Girish Ramakrishnan
|
0b3d1c855c
|
get the user before updating it
updating a non-existent user ends up creating a new mailbox
|
2017-02-15 23:19:56 -08:00 |
|
Girish Ramakrishnan
|
ebf3559e60
|
Assume mailbox already exists
|
2017-02-14 15:42:38 -08:00 |
|
Girish Ramakrishnan
|
57d20b2b32
|
Assume mailbox already exists
|
2017-02-14 15:32:56 -08:00 |
|
Girish Ramakrishnan
|
fd27240b26
|
delete user's old mailbox
we don't really support username change. this is only done for
completness.
|
2017-02-14 15:16:08 -08:00 |
|
Girish Ramakrishnan
|
330c9054b4
|
add/del/update user mailbox as part of transaction
|
2017-02-14 10:42:32 -08:00 |
|
Girish Ramakrishnan
|
7efb6d60bc
|
Allow usernames and groupnames of length 1
Fixes #204
|
2017-02-02 01:02:51 -08:00 |
|
Girish Ramakrishnan
|
536c16929b
|
Remove showTutorial
|
2017-01-17 09:11:34 -08:00 |
|
Girish Ramakrishnan
|
9a000ddaf0
|
make ADMIN_GROUP_ID a constant
|
2016-09-20 15:07:11 -07:00 |
|
Johannes Zellner
|
1ec5d8c03b
|
Fix error usage
|
2016-08-05 14:01:19 +02:00 |
|
Johannes Zellner
|
594be7dbbd
|
Allow the userdb code to distinguish between username or email duplicates
|
2016-06-02 15:34:27 +02:00 |
|
Johannes Zellner
|
e48156dceb
|
postprocess showTutorial to ensure we deal with a boolean
|
2016-05-06 14:05:47 +02:00 |
|
Johannes Zellner
|
18f05de8ae
|
use users.showTutorial field in userdb
|
2016-05-06 13:56:05 +02:00 |
|
Johannes Zellner
|
101ce62ef3
|
Move username and email lowercasing to where it belongs
Fixes #592
|
2016-04-14 16:25:48 +02:00 |
|
Johannes Zellner
|
11f89da3a0
|
Ensure username and email are treated lower case in the database layer
|
2016-04-13 12:15:49 +02:00 |
|
Girish Ramakrishnan
|
819095b465
|
order for predictable tests
|
2016-04-06 09:08:59 -07:00 |
|
Girish Ramakrishnan
|
1453fd3c54
|
order by username to make tests deterministic
|
2016-04-06 08:46:42 -07:00 |
|
Johannes Zellner
|
baf586b028
|
Add missing 'else'
|
2016-04-05 16:25:05 +02:00 |
|
Johannes Zellner
|
94faa3575c
|
Ensure we lowercase all emails
This ensures the uniqueness of that field
|
2016-04-05 11:15:50 +02:00 |
|
Johannes Zellner
|
544c1474d1
|
Allow multiple empty usernames in the db
|
2016-04-05 10:54:09 +02:00 |
|