Johannes Zellner
95faccd8d9
Make nearly all app tests work now
2019-04-18 13:11:56 +02:00
Johannes Zellner
e79b6ade51
Get some of the apps tests to work again
2019-04-17 13:33:10 +02:00
Johannes Zellner
9a349eff32
Do not purge all docker containers in the apps-test
2019-04-16 17:22:03 +02:00
Johannes Zellner
e756a442f6
Validate tags in one place only and add tests
2019-04-16 16:36:11 +02:00
Johannes Zellner
332c860e80
If label or tags are present they have to be a specific type
2019-04-16 10:29:44 +02:00
Girish Ramakrishnan
f0f18db5a8
Remove unused error code
2019-04-15 16:54:41 -07:00
Girish Ramakrishnan
2f068c66d4
sendTestMail: return error
2019-04-15 16:54:25 -07:00
Girish Ramakrishnan
fa5415b1eb
get rid of mail queue
...
this prevents us from returning mail errors synchronously
2019-04-15 16:39:09 -07:00
Girish Ramakrishnan
58625c82a0
Add route to trigger backup cleaner
2019-04-13 18:10:43 -07:00
Johannes Zellner
0c8cf9cc0d
Fix error messages
2019-04-11 13:35:33 +02:00
Girish Ramakrishnan
2e40325f2a
Fix _.extend usage
...
it modifies the destination object
2019-04-08 00:32:12 -07:00
Girish Ramakrishnan
d752c68790
re-factor all the audit source objects
2019-03-25 15:15:39 -07:00
Girish Ramakrishnan
536e14dfe8
Fix failing settings test
2019-03-24 16:57:45 -07:00
Girish Ramakrishnan
ee76c2c06e
Return 403 if totp token is invalid
...
the ui redirects to login screen otherwise
2019-03-23 14:12:46 -07:00
Girish Ramakrishnan
730da103b1
Fix logstream test
2019-03-23 13:41:05 -07:00
Girish Ramakrishnan
9a0d9506f8
settings.on is gone
2019-03-22 15:33:25 -07:00
Girish Ramakrishnan
abae4b5106
Add labels and tags
2019-03-22 10:12:48 -07:00
Girish Ramakrishnan
add954db80
detect dashboard domain conflict with existing app
...
Fixes #620
2019-03-18 21:20:13 -07:00
Girish Ramakrishnan
46f46483f8
Mark as internal functions
2019-03-08 19:09:34 -08:00
Girish Ramakrishnan
aa19cbbfc7
Properly escape filename when downloading files
2019-03-04 13:50:17 -08:00
Girish Ramakrishnan
27f6177fc9
do not restart mail container when not activated
...
provision code is calling setDashboardDomain() which is restarting
the mail server
2019-02-27 11:46:03 -08:00
Johannes Zellner
f1f8cdb6e9
Add admin route to test digest
2019-02-27 12:06:01 +01:00
Girish Ramakrishnan
8fdc9939cd
Add locked flag to settings table
2019-02-22 10:08:02 -08:00
Girish Ramakrishnan
c15449492a
settings: remove appstore scope
2019-02-22 09:43:26 -08:00
Girish Ramakrishnan
1cab1e06d9
aggregate the settings get/set handlers
...
this makes it easy to check for a settings lock
2019-02-22 09:37:36 -08:00
Johannes Zellner
5ae93bb569
Clear connect-timeout handling for graphs
2019-02-18 13:13:29 +01:00
Girish Ramakrishnan
e8c11f6e15
Fix tests
2019-02-15 14:56:51 -08:00
Girish Ramakrishnan
422abc205b
do not return accessToken when listing tokens
2019-02-15 13:26:33 -08:00
Girish Ramakrishnan
671b5e29d0
Hide mail relay password
2019-02-15 11:25:51 -08:00
Girish Ramakrishnan
a88893b10a
remove/inject backups secret fields
...
follow same pattern as dns code
fixes #615
2019-02-09 20:44:05 -08:00
Girish Ramakrishnan
52289568bf
backups: omit the key and secret fields
...
part of #615
2019-02-08 22:21:28 -08:00
Girish Ramakrishnan
ade2b65a94
make mail test pass
2019-02-08 11:08:14 -08:00
Johannes Zellner
86c4246f75
Do not dump the whole app object into a login event
2019-02-05 16:13:20 +01:00
Girish Ramakrishnan
7e6ce1a1ef
Add event to track dashboard update
2019-02-04 20:42:28 -08:00
Girish Ramakrishnan
4765e4f83c
Add locked flag to domains table
2019-01-25 14:45:45 -08:00
Johannes Zellner
47329eaebc
Add tests for getting a single eventlog item
2019-01-23 17:11:57 +01:00
Johannes Zellner
f53a951daf
Add route to get single eventlog items
2019-01-23 16:44:45 +01:00
Johannes Zellner
6e925f6b99
assert if auditSource is null on user apis
2019-01-23 11:18:31 +01:00
Girish Ramakrishnan
13c628b58b
backups (tgz): work with a layout
...
this will allow us to place the localstorage directory in an arbitrary
location
2019-01-16 12:52:04 -08:00
Johannes Zellner
13fac3072d
Support username search in user listing api
2019-01-15 17:21:40 +01:00
Johannes Zellner
3470252768
Add user pagination to rest api
2019-01-14 16:39:20 +01:00
Girish Ramakrishnan
810f5e7409
Fix line param parsing
...
lines is a positive integer or -1 to disable line limiting. The
default value is 10 if no argument is given.
Fixes #604
2019-01-08 13:23:29 -08:00
Johannes Zellner
07e052b865
Fix notifications route to return all notifications if nothing specified
2019-01-08 13:46:18 +01:00
Johannes Zellner
841b4aa814
Can't pass booleans over query
2019-01-07 17:30:28 +01:00
Girish Ramakrishnan
635557ca45
Fix failing tests
2019-01-04 10:56:56 -08:00
Johannes Zellner
b9daa62ece
Add notification tests for business logic
2019-01-04 17:13:52 +01:00
Girish Ramakrishnan
1bb2552384
move feedback test
2018-12-19 14:32:54 -08:00
Girish Ramakrishnan
4a34703cd3
rework code to enable/disable remote support
...
we had a generic ssh key management api. this was causing issues because
the ssh format is more complicated than what we had implemented. currently,
the only use case we have is to add our ssh key.
Fixes #600
2018-12-19 13:35:20 -08:00
Girish Ramakrishnan
52bbf3be21
move support to separate file
2018-12-19 10:54:33 -08:00
Johannes Zellner
57d435ccf4
Add basic notification rest api
2018-12-17 16:37:19 +01:00