Johannes Zellner
e710a210fd
Fixup the unit tests
2018-02-08 09:00:31 +01:00
Johannes Zellner
d1ef35ae1d
Fixup all the tests to use domain tlsConfig
2018-01-31 18:09:38 +01:00
Johannes Zellner
7441e11c2d
Further test fixes to oauth, ldap and mail tests
2018-01-26 21:10:53 +01:00
Johannes Zellner
cf94f26d62
Fixup the test using fallbackEmail
2018-01-22 11:52:58 +01:00
Girish Ramakrishnan
915cfbe7dd
Remove use of isCustomDomain
...
Use adminFqdn instead as needed
2018-01-11 00:35:12 -08:00
Girish Ramakrishnan
68c26c1d12
Fix route/ tests
2017-11-27 16:01:52 -08:00
Johannes Zellner
8d69e5f3b9
More test cleanups to support domains api
2017-11-21 02:46:20 +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
Girish Ramakrishnan
b421866bf5
Remove simpleauth
...
Simple Auth used to provide auth over HTTP. The original motivation
behind this was this was a simple way to add Cloudron Auth integration.
Back in the day, Cloudron Auth was a requirement for apps but this is
not the case anymore.
This is currently not used by any app and having this might encourage
people to make Cloudron specific un-upstreamable changes.
2017-03-19 01:31:38 -07:00
Girish Ramakrishnan
536c16929b
Remove showTutorial
2017-01-17 09:11:34 -08:00
Girish Ramakrishnan
fe62aba4d7
make appdb.add take a data object
2016-06-17 16:43:35 -05:00
Johannes Zellner
3ad2a2a5ca
Fixup the unit tests
2016-06-03 15:07:44 +02:00
Johannes Zellner
e986a67d39
Fixup all the unit tests
2016-05-06 15:16:22 +02:00
Girish Ramakrishnan
37bdd2672b
make user.create take auditSource
2016-05-01 20:01:34 -07:00
Girish Ramakrishnan
d2a3925e04
add altDomain to install route
2016-04-26 14:45:58 -07:00
Johannes Zellner
de2cde7333
Test oauth with mixed case username and email
2016-04-13 12:48:02 +02:00
Johannes Zellner
d83395ecfb
Also test grant type token access tokens
2016-04-13 11:28:10 +02:00
Johannes Zellner
6d3dd452be
Test that oauth tokens are actually usable after issuing
2016-04-13 11:03:35 +02:00
Johannes Zellner
f7887228d3
Fix oauth session view tests and simpleauth tests
2016-04-05 09:28:41 +02:00
Johannes Zellner
c90a8041e2
Move password/setup.html -> account/setup.html
2016-04-05 09:27:32 +02:00
Johannes Zellner
81bd4f2ea5
Remove console.log()
2016-02-19 16:29:40 +01:00
Johannes Zellner
351ddcb218
Fixup the unit tests
2016-02-19 16:29:29 +01:00
Johannes Zellner
59ecb056d0
Fixup the oauth tests to set memoryLimit
2016-02-10 12:49:02 +01:00
Johannes Zellner
1b7265f866
Fixup the merge
2016-02-10 12:28:57 +01:00
girish@cloudron.io
7e60fd554a
add some failing groups for good measure
2016-02-09 18:55:42 -08:00
girish@cloudron.io
c1cd7ac129
fix typo
2016-02-09 18:53:14 -08:00
girish@cloudron.io
aab62263a7
add accessRestriction group test in oauth2
2016-02-09 18:52:27 -08:00
girish@cloudron.io
e752949752
make all tests work after group changes
2016-02-09 11:29:32 -08:00
Johannes Zellner
9b4c385a64
Ensure we send proper password requirements on password reset
2016-01-26 15:21:03 +01:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01:00
Johannes Zellner
74860f2d16
Fix tests for password strength change
2016-01-20 14:39:08 +01:00
girish@cloudron.io
ee705eb979
Add displayName to create user and activate routes
2016-01-19 23:34:49 -08:00
Johannes Zellner
3aa668aea3
Fixup tests
2016-01-19 12:42:19 +01:00
Johannes Zellner
e635aaaa58
Fix oauth2 tests
2016-01-18 14:31:25 +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
10ac435d53
addons is mandatory
2015-10-20 12:57:00 -07:00
Johannes Zellner
b5cfdcf875
Fixup the unit tests for accessRestriction format change
2015-10-16 16:06:13 +02:00
Johannes Zellner
cc64c6c9f7
Test using simple auth credentials in oauth
2015-10-16 11:48:12 +02:00
Girish Ramakrishnan
9c157246b7
add type field to clients table
2015-10-15 17:35:47 -07:00
Johannes Zellner
3b8ebe9a59
Fixup the oauth tests with accessRestriction support
2015-10-15 16:50:05 +02:00
Johannes Zellner
ac1991f8d1
Fix typo in oauth test
2015-10-15 15:37:56 +02:00
Johannes Zellner
08de0a4e79
Add token exchange tests
2015-10-14 16:15:32 +02:00
Johannes Zellner
d2f7b83ea7
Add oauth callback tests
2015-10-14 15:50:00 +02:00
Johannes Zellner
72ca1b39e8
Add oauth session logout test
2015-10-14 15:38:40 +02:00
Johannes Zellner
69bd234abc
Test for unkown client_id
2015-10-14 15:30:10 +02:00
Johannes Zellner
94e6978abf
Add test for grant type requests
2015-10-14 15:08:04 +02:00
Johannes Zellner
edb213089c
Add oauth2 test when user is already logged in with his session
2015-10-14 14:46:25 +02:00
Johannes Zellner
4727187071
Also test loginForm submit with email
2015-10-14 14:31:10 +02:00
Johannes Zellner
d8b8f5424c
add loginForm submit tests
2015-10-14 14:30:53 +02:00
Johannes Zellner
8425c99a4e
Also test oauth clients with oauth proxy
2015-10-14 13:38:37 +02:00