Commit Graph

219 Commits

Author SHA1 Message Date
Johannes Zellner
35c926d504 Ensure we actually update the correct user, not the user holding the token 2016-01-25 14:58:02 +01:00
Johannes Zellner
a6998550a7 Add displayName change unit tests 2016-01-25 14:08:35 +01:00
Girish Ramakrishnan
a2899c9c65 add appupdate tests 2016-01-24 00:44:46 -08:00
Girish Ramakrishnan
ff6d5e9efc complete the box update tests 2016-01-24 00:06:32 -08:00
Girish Ramakrishnan
f48fe0a7c0 Get started with updatechecker tests 2016-01-23 22:38:46 -08:00
girish@cloudron.io
b72d48b49f set default update config 2016-01-23 05:07:12 -08:00
girish@cloudron.io
3a6b9c23c6 settings: add update config 2016-01-23 05:06:09 -08:00
Johannes Zellner
bfa917e057 Add password strength unit tests 2016-01-20 14:50:06 +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
ebc9d9185d Use displayName in userdb 2016-01-19 12:39:54 +01:00
Johannes Zellner
c5b8b0e3db Split up userAdd and sendInvite mailer calls 2016-01-18 16:11:00 +01:00
Johannes Zellner
9258585746 add user.sendInvite() with tests 2016-01-18 15:16:18 +01:00
Johannes Zellner
61f4fea9c3 Check for emails sent in users tests 2016-01-18 14:19:20 +01:00
Johannes Zellner
4629739a14 Fix ldap tests 2016-01-18 13:56:59 +01:00
Johannes Zellner
e9b3a1e99c Fixup user tests 2016-01-18 13:50:54 +01:00
Johannes Zellner
033ccb121f Add tests for user.getAllAdmins() 2016-01-15 16:33:13 +01:00
girish@cloudron.io
efaacdb534 Add getOwner 2016-01-13 12:37:56 -08: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
9d91340223 add settings.setTlsConfig 2015-12-11 22:39:13 -08:00
Girish Ramakrishnan
cf80fd7dc5 rename certificatemanager 2015-12-11 12:24:52 -08:00
Girish Ramakrishnan
73d891b98e move validateCertificate to certificateManager 2015-12-10 20:38:49 -08:00
Girish Ramakrishnan
47981004c9 split port reserving to separate function
this allows us to move nginx configuration to the bottom of apptask
(required for tls cert download support)
2015-12-10 15:25:15 -08:00
Girish Ramakrishnan
8f2119272b print all missing images 2015-11-09 23:31:04 -08:00
Girish Ramakrishnan
15aaa440a2 Add test for settings.backupConfig 2015-11-07 22:17:08 -08:00
Girish Ramakrishnan
d8a4014eff remove bad reference to config.aws 2015-11-07 22:12:03 -08:00
Johannes Zellner
7798111af1 Ensure the test certs match domain and the folder is created 2015-10-28 16:33:45 +01:00
Johannes Zellner
d9256f99af Make sure the dns sync file is removed 2015-10-28 15:32:49 +01:00
Johannes Zellner
cf021066ed Move cert validation to settings and use it for wildcard cert 2015-10-28 14:35:39 +01:00
Johannes Zellner
04eb2a982f Add proper cert validator 2015-10-28 14:20:25 +01:00
Girish Ramakrishnan
2da7216be6 make apptask-test work 2015-10-27 10:02:43 -07:00
Johannes Zellner
920f04aab3 Use test-app image 10.0.0 2015-10-27 14:20:19 +01:00
Girish Ramakrishnan
2db2eb13af add settings.get/setDnsConfig 2015-10-26 16:35:50 -07:00
Girish Ramakrishnan
259199897b update test image 2015-10-21 09:16:04 -07:00
Johannes Zellner
9f19b0bc9e Use a persistent file for dns sync flag 2015-10-21 16:42:17 +02:00
Johannes Zellner
b5cfdcf875 Fixup the unit tests for accessRestriction format change 2015-10-16 16:06:13 +02:00
Girish Ramakrishnan
9c157246b7 add type field to clients table 2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
a9ccc7e2aa remove updating clients
clients are immutable
2015-10-15 16:08:17 -07:00
Girish Ramakrishnan
a3ca5a36e8 update test image 2015-10-15 11:11:54 -07:00
Johannes Zellner
fbc3ed0213 Add apps.hasAccessTo() 2015-10-15 15:06:34 +02:00
Johannes Zellner
ae1bfaf0c8 roleUser is gone as well 2015-10-15 12:50:48 +02:00
Johannes Zellner
0aedff4fec roleAdmin is gone 2015-10-15 12:37:42 +02:00
Johannes Zellner
73d88a3491 Rewrite accessRestriction validator 2015-10-15 12:37:42 +02:00
Girish Ramakrishnan
b3b4106b99 Add janitor tests 2015-10-14 22:50:07 -07:00
Johannes Zellner
e34c34de46 Fixup the apptask-test.js 2015-10-13 10:41:57 +02:00
Johannes Zellner
8dc5bf96e3 Fix apps-test.js 2015-10-13 10:41:57 +02:00
Johannes Zellner
d2c3e1d1ae Fix database tests 2015-10-13 10:41:57 +02:00
Johannes Zellner
9fcb2c0733 Fix the check install to keep up with the base image version 2015-10-11 17:19:39 +02:00
Girish Ramakrishnan
43e1e4829f new test image 3.0.0 2015-10-08 16:07:14 -07:00
Girish Ramakrishnan
8f6521f942 pass addon options to all functions 2015-10-07 16:10:08 -07:00