Girish Ramakrishnan
|
0c07c6e4d0
|
Allow "-" in usernames
now that username and mailboxes are totally separate, we can allow '-'.
'+' is still reserved because LDAP it.
Fixes #509
|
2018-05-05 09:56:21 -07:00 |
|
Girish Ramakrishnan
|
da5fd71aaa
|
Bump mail container for CRAM-MD5 login fix
|
2018-05-04 21:57:26 -07:00 |
|
Johannes Zellner
|
d6e49415d4
|
Only list user mailboxes in ldap search
|
2018-05-04 17:02:04 +02:00 |
|
Johannes Zellner
|
cb73eb61d4
|
Allow binds against mailboxes
|
2018-05-04 17:02:04 +02:00 |
|
Johannes Zellner
|
4ce3a262a3
|
Allow search for mailboxes over ldap for a specific domain
|
2018-05-04 17:02:04 +02:00 |
|
Girish Ramakrishnan
|
d18d1a977a
|
Add duplicate profile route for compat with old apps using oauth addon
|
2018-05-03 09:29:46 -07:00 |
|
Girish Ramakrishnan
|
616e38189c
|
Revert "x"
This reverts commit 182ea3dac3.
|
2018-05-03 09:29:23 -07:00 |
|
Johannes Zellner
|
726cafcee4
|
Rollback appdb record on clone and install if appstore purchase fails
|
2018-05-03 13:20:34 +02:00 |
|
Girish Ramakrishnan
|
e5c43e9acd
|
Remove debug
|
2018-05-02 12:41:22 -07:00 |
|
Girish Ramakrishnan
|
f09e8664d1
|
Return canonical scope in REST responses
The '*' scope is purely an implementation detail. It cannot
be requested as such.
|
2018-05-02 12:36:41 -07:00 |
|
Girish Ramakrishnan
|
182ea3dac3
|
x
|
2018-05-01 15:17:48 -07:00 |
|
Girish Ramakrishnan
|
f1abb2149d
|
gravatar url is already generated client side
|
2018-05-01 14:30:48 -07:00 |
|
Girish Ramakrishnan
|
8c4015851a
|
merge auth.js into accesscontrol.js
|
2018-05-01 14:03:10 -07:00 |
|
Girish Ramakrishnan
|
a545bdd574
|
merge developer.js into clients.js
|
2018-05-01 14:02:59 -07:00 |
|
Girish Ramakrishnan
|
d1135accbd
|
lint
|
2018-05-01 13:58:13 -07:00 |
|
Girish Ramakrishnan
|
d5b594fade
|
return the scope as part of the user profile
send canonical scope in the profile response
|
2018-05-01 13:25:47 -07:00 |
|
Girish Ramakrishnan
|
c5ffb65563
|
Fix usage of normalizeScope
|
2018-05-01 13:21:53 -07:00 |
|
Girish Ramakrishnan
|
f76a5a7ba7
|
Move the clients API out of oauth prefix
|
2018-05-01 11:30:51 -07:00 |
|
Girish Ramakrishnan
|
17bcd95961
|
typo: return the scope as the scope
|
2018-05-01 10:59:46 -07:00 |
|
Girish Ramakrishnan
|
23bc0e8db7
|
Remove SDK Role
Just compare with the token's clientId instead
|
2018-04-30 23:03:30 -07:00 |
|
Girish Ramakrishnan
|
240ee5f563
|
Ensure we hand out max user.scope
The token.scope was valid at token creation time. The user's scope
could since have changed (maybe we got kicked out of a group).
|
2018-04-30 22:51:57 -07:00 |
|
Girish Ramakrishnan
|
200f43a58e
|
lint
|
2018-04-30 22:41:23 -07:00 |
|
Girish Ramakrishnan
|
61d803f528
|
Use SCOPE_ANY everywhere
|
2018-04-30 21:44:24 -07:00 |
|
Girish Ramakrishnan
|
e7c8791356
|
lint
|
2018-04-30 21:41:09 -07:00 |
|
Girish Ramakrishnan
|
bc4f9cf596
|
Remove redundant requireAdmin
We already hand out scopes based on the user's access control
|
2018-04-30 21:38:48 -07:00 |
|
Girish Ramakrishnan
|
9789966017
|
Set the scope for a token basedon what the user has access to
|
2018-04-30 21:21:18 -07:00 |
|
Girish Ramakrishnan
|
1432d90f37
|
lint
|
2018-04-30 21:13:23 -07:00 |
|
Girish Ramakrishnan
|
68317a89cb
|
remove the analytics hooks
|
2018-04-30 15:33:25 -07:00 |
|
Girish Ramakrishnan
|
c84f984205
|
No need to create a token on password reset
|
2018-04-30 15:15:05 -07:00 |
|
Johannes Zellner
|
6e19153350
|
Remove now unused result argument
|
2018-04-30 20:37:12 +02:00 |
|
Johannes Zellner
|
4dc778f7c2
|
Change reset password button text
|
2018-04-30 20:17:56 +02:00 |
|
Johannes Zellner
|
c5c3748aa9
|
Do not auto login on password reset
|
2018-04-30 19:55:59 +02:00 |
|
Girish Ramakrishnan
|
f809e359c9
|
refactor the global variables as functions
|
2018-04-29 20:17:45 -07:00 |
|
Girish Ramakrishnan
|
91e846d976
|
Add SCOPE_DOMAINS
|
2018-04-29 18:11:33 -07:00 |
|
Girish Ramakrishnan
|
b5f8ca6c16
|
Fix nasssty typo
|
2018-04-29 17:50:12 -07:00 |
|
Girish Ramakrishnan
|
922ab3bde1
|
lint
|
2018-04-29 17:50:12 -07:00 |
|
Girish Ramakrishnan
|
3b7bcc1f61
|
refactor scopes into accesscontrol.js
this will be our authorization layer for oauth and non-oauth tokens.
|
2018-04-29 17:50:07 -07:00 |
|
Girish Ramakrishnan
|
6e3b060615
|
Use SCOPE_PROFILE constant
|
2018-04-29 17:12:30 -07:00 |
|
Girish Ramakrishnan
|
cc113d0bb5
|
Add SCOPE_CLIENTS for oauth clients API
|
2018-04-29 17:03:10 -07:00 |
|
Girish Ramakrishnan
|
3e22d513eb
|
Add SCOPE_MAIL for mail APIs
|
2018-04-29 17:01:12 -07:00 |
|
Girish Ramakrishnan
|
1c55a3e310
|
typo
|
2018-04-29 11:29:21 -07:00 |
|
Girish Ramakrishnan
|
d8acf92929
|
UserError -> UsersError
|
2018-04-29 11:22:15 -07:00 |
|
Girish Ramakrishnan
|
7bb8d059b5
|
GroupError -> GroupsError
|
2018-04-29 11:21:01 -07:00 |
|
Girish Ramakrishnan
|
863afc68cb
|
DomainError -> DomainsError
|
2018-04-29 11:20:12 -07:00 |
|
Girish Ramakrishnan
|
4fd58fb46b
|
Rename user.js to users.js
|
2018-04-29 11:19:04 -07:00 |
|
Girish Ramakrishnan
|
b1b664ceca
|
Move removeInternalAppFields to model code
|
2018-04-29 10:47:34 -07:00 |
|
Girish Ramakrishnan
|
1a27009fb5
|
Make expiresAt a body parameter
|
2018-04-28 22:02:07 -07:00 |
|
Girish Ramakrishnan
|
6c8c206e89
|
Move input validation logic to routes
|
2018-04-28 21:58:56 -07:00 |
|
Girish Ramakrishnan
|
82207c3ccd
|
Keep naming consistent with delToken
|
2018-04-28 21:55:57 -07:00 |
|
Girish Ramakrishnan
|
6768994bbe
|
Capitalize the 2fa text
|
2018-04-28 10:20:33 -07:00 |
|