Girish Ramakrishnan
9b74bb73aa
config.js is dead, long live config.js
...
we use settings now
2019-07-26 14:51:51 -07:00
Girish Ramakrishnan
12eae1eff2
Make port a constant
2019-07-25 16:08:54 -07:00
Girish Ramakrishnan
d7dd069ae0
Use constants.version instead of config.version
2019-07-25 15:02:14 -07:00
Girish Ramakrishnan
3246edd5a8
rework cloudron registration flow
...
we now route all the registration, login etc via the backend
subscription management are also in a separate scope now
2019-05-03 19:47:20 -07:00
Girish Ramakrishnan
730da103b1
Fix logstream test
2019-03-23 13:41:05 -07:00
Girish Ramakrishnan
e8c11f6e15
Fix tests
2019-02-15 14:56:51 -08:00
Girish Ramakrishnan
1bb2552384
move feedback test
2018-12-19 14:32:54 -08:00
Girish Ramakrishnan
305a3c94d0
Rework the progress API to use the task progress
2018-11-19 21:06:44 -08:00
Girish Ramakrishnan
e49b57294d
Give optional name for tokens
2018-08-27 14:59:52 -07:00
Girish Ramakrishnan
35c9e99102
Move the update info into separate route (since it is sensitive)
2018-06-28 17:50:27 -07:00
Girish Ramakrishnan
cab9bc3a61
Unify the config routes into /api/v1/config
...
No more separate config routes for different types of user
2018-06-28 17:40:57 -07:00
Girish Ramakrishnan
712c920b86
Move caas config to separate route
2018-06-28 17:28:46 -07:00
Girish Ramakrishnan
898cbd01b3
tokens table always has canonical scope
2018-06-17 23:11:36 -07:00
Girish Ramakrishnan
55e5c319fe
Fix failing log test
2018-06-14 13:43:44 -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
61d803f528
Use SCOPE_ANY everywhere
2018-04-30 21:44:24 -07:00
Girish Ramakrishnan
ee66893875
more config.fqdn() removal in tests
2018-01-24 14:58:37 -08:00
Girish Ramakrishnan
614f13ffd0
move caas tests to separate file
2018-01-18 14:22:07 -08:00
Girish Ramakrishnan
9cd690e8b4
Do not cache box and user config
...
this is not needed anymore since webadmin does not keep polling this
2018-01-17 15:38:24 -08:00
Girish Ramakrishnan
116befd111
fix test
2018-01-17 15:13:53 -08: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
1466104681
Remove obsolete developer mode
2017-11-24 01:31:15 +01:00
Girish Ramakrishnan
4272d5be8a
Send feedback via API
...
Fixes #484
2017-11-15 23:31:13 -08:00
Girish Ramakrishnan
5663cf45f8
remove redundant reset
2017-11-15 19:08:38 -08:00
Girish Ramakrishnan
d8cb2d1d25
test: reset is already part of setup
2017-11-15 18:56:27 -08:00
Girish Ramakrishnan
e39329218d
Make tests work
2017-09-27 11:38:43 -07:00
Girish Ramakrishnan
6525a467a2
Rework backuptask into tar.js
...
This makes it easy to integrate another backup strategy
as the next step
2017-09-17 18:50:26 -07:00
Girish Ramakrishnan
70eae477dc
Fix logstream test
2017-09-13 23:01:04 -07:00
Girish Ramakrishnan
1da91b64f6
Filter out possibly sensitive information for normal users
...
Fixes #407
2017-08-26 14:47:51 -07:00
Johannes Zellner
3b98eb0543
Add cloudron logstream api test
2017-08-08 20:40:18 +02:00
Girish Ramakrishnan
ded31b977e
Add config.setFqdn and config.setZoneName
...
Part of #110
2017-06-15 19:53:20 -07:00
Girish Ramakrishnan
ca5723bbc7
more work on tests
...
disable the migrate tests for now
2017-04-24 15:45:23 -07:00
Girish Ramakrishnan
cf69a8c4ce
move feedback route into /api/v1/feedback
2017-04-18 14:49:28 -07:00
Girish Ramakrishnan
02bcff2223
set isCustomDomain to true by default
...
CaaS is an exception and not the norm
2017-02-06 23:58:06 -08:00
Girish Ramakrishnan
d460c36e14
Simply use settings.setBackupConfig
2016-10-13 15:32:00 -07:00
Girish Ramakrishnan
3652d7f186
Fix failing cloudron-test
2016-10-13 14:55:14 -07:00
Johannes Zellner
33c701ece7
Adjust migrate route tests to new api
2016-07-14 16:17:32 +02:00
Girish Ramakrishnan
dac9f29900
Add migrate route
2016-06-27 22:40:41 -05:00
Girish Ramakrishnan
ed78bd05c8
reserve the "admin" username
2016-04-13 16:50:20 -07:00
Girish Ramakrishnan
be127ec313
fix failing test
2016-04-10 17:15:23 -07:00
Johannes Zellner
57ff8b6770
fix feedback test
2016-03-04 22:27:18 +01:00
Johannes Zellner
2888a85081
Remove cloudron side migrate api
...
This is some old api when we had a migrate view in the webadmin
This is entirely handled on the appstore for now.
2016-01-29 14:17:33 +01:00
Johannes Zellner
85423cbc20
Actually send displayName instead of name in cloudron activation tests
2016-01-20 16:14:44 +01:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01:00
Johannes Zellner
ce38742caf
Fix cloudron tests
2015-12-31 11:55:01 +01:00
Johannes Zellner
bb90bafb62
Fix crash when the appstore server does not respond correctly on setup
2015-12-29 16:07:04 +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
10c876ac75
make migrate test work
2015-11-09 20:34:27 -08:00
Johannes Zellner
e0c845ca16
Fix cloudron tests when run together
2015-10-30 21:30:57 +01:00