Johannes Zellner
a6a39cc4e6
Adapt clients.getAllWithDetailsByUserId() to new client types
2015-10-16 19:36:12 +02:00
Johannes Zellner
c9f84f6259
Show user selection for singleUser apps
2015-10-16 18:06:49 +02:00
Johannes Zellner
07063ca4f0
Adjust the webadmin to the accessRestriction changes
2015-10-16 16:14:23 +02:00
Johannes Zellner
b5cfdcf875
Fixup the unit tests for accessRestriction format change
2015-10-16 16:06:13 +02:00
Johannes Zellner
373db25077
Make accessRestriction a JSON format to prepare for group access control
2015-10-16 15:32:19 +02:00
Johannes Zellner
f8c2ebe61a
Taks accessRestriction and oauthProxy into account for an update through the cli
2015-10-16 14:50:00 +02:00
Johannes Zellner
ae23fade1e
Show oauthProxy and accessRestriction values at app installation and configuration
2015-10-16 14:50:00 +02:00
Johannes Zellner
5386c05c0d
Give developer tokens the correct scopes
2015-10-16 14:50:00 +02:00
Johannes Zellner
aed94c8aaf
roleDeveloper is no more
2015-10-16 14:50:00 +02:00
Johannes Zellner
37185fc4d5
Only allow simple auth clients through simple auth
2015-10-16 14:49:51 +02:00
Johannes Zellner
cc64c6c9f7
Test using simple auth credentials in oauth
2015-10-16 11:48:12 +02:00
Johannes Zellner
0c0782ccd7
Fixup oauth to not allow simple auth clients
2015-10-16 11:27:42 +02:00
Johannes Zellner
5bc9f9e995
use clientdb types in authorization endpoint
2015-10-16 11:22:16 +02:00
Johannes Zellner
22402d1741
Remove legacy test auth client type
2015-10-16 10:05:58 +02:00
Johannes Zellner
8f203b07a1
Fix indentation
2015-10-16 09:19:05 +02:00
Girish Ramakrishnan
9c157246b7
add type field to clients table
v0.0.73
v0.0.72
2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
d0dfe1ef7f
remove unused variable
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
63edbae1be
minor rename
2015-10-15 15:51:51 -07:00
Girish Ramakrishnan
8afe537497
fix typo
2015-10-15 15:32:14 -07:00
Girish Ramakrishnan
f33844d8f1
fix debug tag
2015-10-15 15:19:28 -07:00
Girish Ramakrishnan
c750d00355
ignore any tmp cleanup errors
2015-10-15 14:47:43 -07:00
Girish Ramakrishnan
bb9b39e3c0
callback can be null
2015-10-15 14:25:38 -07:00
Girish Ramakrishnan
057b89ab8e
Check error code of image removal
2015-10-15 14:06:05 -07:00
Girish Ramakrishnan
23fc4bec36
callback can be null
2015-10-15 12:06:38 -07:00
Girish Ramakrishnan
6b82fb9ddb
Remove old addon images on infra update
...
Fixes #329
2015-10-15 12:01:31 -07:00
Girish Ramakrishnan
a3ca5a36e8
update test image
2015-10-15 11:11:54 -07:00
Girish Ramakrishnan
f57c91847d
addons do not write to /var/log anymore
2015-10-15 11:00:51 -07:00
Johannes Zellner
eda4dc83a3
Do not fail in container.sh when trying to remove non-existing directories
2015-10-15 18:06:57 +02:00
Johannes Zellner
5a0bf8071e
Handle the various appId types we have by now
2015-10-15 17:57:07 +02:00
Johannes Zellner
09dfc6a34b
Get the oauth2 debug()s in shape
2015-10-15 16:55:48 +02:00
Johannes Zellner
3b8ebe9a59
Fixup the oauth tests with accessRestriction support
2015-10-15 16:50:05 +02:00
Johannes Zellner
2ba1092809
Adhere to accessRestriction for oauth authorization endpoint
2015-10-15 16:49:13 +02:00
Johannes Zellner
7c97ab5408
Revert "Since we got fully rid of the decision dialog, no need to serialze the client anymore"
...
This is now again required, due to the accesRestriction check
This reverts commit 2c9ff1ee3b .
2015-10-15 16:33:05 +02:00
Johannes Zellner
ac1991f8d1
Fix typo in oauth test
2015-10-15 15:37:56 +02:00
Johannes Zellner
2a573f6ac5
Fixup the simpleauth tests
2015-10-15 15:19:01 +02:00
Johannes Zellner
9833d0cce6
Adhere to accessRestriction in simple auth
2015-10-15 15:18:40 +02:00
Johannes Zellner
fbc3ed0213
Add apps.hasAccessTo()
2015-10-15 15:06:34 +02:00
Johannes Zellner
c916a76e6b
Prepare simpleauth test for accessRestriction
2015-10-15 13:29:44 +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
5d389337cd
make /var/log readonly
...
Expect apps to redirect logs of stdout/stderr
Part of #503
2015-10-15 00:46:50 -07:00
Girish Ramakrishnan
a977597217
cleanup tmpdir in janitor
2015-10-14 23:21:03 -07:00
Girish Ramakrishnan
b3b4106b99
Add janitor tests
2015-10-14 22:50:07 -07:00
Girish Ramakrishnan
7f29eed326
fold janitor into main box code cron job
...
the volume cleaner will now also come into janitor
2015-10-14 22:39:34 -07:00
Girish Ramakrishnan
ec895a4f31
do not use -f to logrotate
...
Normally, logrotate is run as a daily cron job. It will not modify a log
multiple times in one day unless the criterion for that log is based on
the log's size and logrotate is being run multiple times each day, or
unless the -f or --force option is used.
2015-10-14 15:10:53 -07:00
Girish Ramakrishnan
3fc0a96bb0
Add docker volumes janitor
...
This cleans up tmp and logrotates /var/log every 12 hours.
Note that this janitor is separate from the box janitor because they
run as different users.
Fixes #503
2015-10-14 14:18:36 -07:00
Girish Ramakrishnan
c154f342c2
show restore button if we have a lastBackupId
...
This is the only way to roll back even if you have a functioning app.
Use cases include:
1. You updated and something doesn't work
2. The app is in 'starting...' state (so it's installed) but no data yet
2015-10-14 11:36:12 -07:00
Johannes Zellner
8f1666dcca
Consolidate the oauth comments
2015-10-14 16:31:55 +02:00