Girish Ramakrishnan
a77d45f5de
Add rolesJson to groups table
...
This will contain the roles ('role definition') of a group of
users. We will internally map these to our API scopes.
2018-06-14 22:54:52 -07:00
Girish Ramakrishnan
6534297a5d
Remove hat module
...
It's not been updated for 6 years!
2018-06-11 12:38:29 -07:00
Girish Ramakrishnan
a1020ec6b8
remove /user from profile route
2018-05-13 21:53:06 -07:00
Girish Ramakrishnan
f76a5a7ba7
Move the clients API out of oauth prefix
2018-05-01 11:30:51 -07:00
Girish Ramakrishnan
f809e359c9
refactor the global variables as functions
2018-04-29 20:17:45 -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
e0da6679e9
Move user routes to /api/v1/user
2018-04-26 19:57:44 -07:00
Girish Ramakrishnan
606efb8038
remove caas related logic from oauth test
2018-01-18 13:31:08 -08:00
Girish Ramakrishnan
68c26c1d12
Fix route/ tests
2017-11-27 16:01:52 -08:00
Johannes Zellner
1466104681
Remove obsolete developer mode
2017-11-24 01:31:15 +01:00
Johannes Zellner
9c0af8b13e
Fixing sysadmin, settings and clients tests
2017-11-20 20:01:50 +01:00
Girish Ramakrishnan
0bd0857189
Update many modules
...
npm WARN deprecated ejs-cli@1.2.0: This has breaking change. (in ejs package) use <= 2.0.0.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
2017-08-13 17:57:48 -07:00
Johannes Zellner
1bf869963b
Only allow alphanumerics and dash in auth client names
2016-06-23 10:16:02 +02:00
Johannes Zellner
d08397336d
Add test for addon auth clients deletion
2016-06-09 15:12:30 +02:00
Johannes Zellner
194b9b35bd
We now have 3 built-in api clients
2016-06-08 14:48:03 +02:00
Johannes Zellner
3c3de6205e
Add test case for blocking cid-webadmin deletion
2016-06-08 11:27:10 +02:00
Johannes Zellner
3ad2a2a5ca
Fixup the unit tests
2016-06-03 15:07:44 +02:00
Johannes Zellner
b4dfad3aa3
Fixup the unit tests after removing PREFIX_USER
2016-06-03 13:09:26 +02:00
Girish Ramakrishnan
ed78bd05c8
reserve the "admin" username
2016-04-13 16:50:20 -07:00
Johannes Zellner
e058e22cae
Fixup the client tests with userid change
2016-04-05 09:27:32 +02:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01:00
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Girish Ramakrishnan
a9ccc7e2aa
remove updating clients
...
clients are immutable
2015-10-15 16:08:17 -07:00
Johannes Zellner
ae1bfaf0c8
roleUser is gone as well
2015-10-15 12:50:48 +02:00
Girish Ramakrishnan
c31a0f4e09
Store dates as iso strings in database
...
ideally, the database schema should be TIMESTAMP
2015-09-17 13:51:55 -07:00
Johannes Zellner
bdca5e343b
Fixup clients test with new developer mode setting
2015-07-23 13:16:36 +02:00
Girish Ramakrishnan
df9d321ac3
app.portBindings and newManifest.tcpPorts may be null
2015-07-20 00:10:36 -07:00