Commit Graph

318 Commits

Author SHA1 Message Date
Johannes Zellner 91fe4d4f1d Further form validation for app install with ports
We have to use a custom directive to achieve the
dynamic form validation. See
http://stackoverflow.com/questions/23616578/issue-registering-form-control-with-interpolated-name#answer-23617401
2015-01-07 11:25:13 +01:00
Johannes Zellner 98d211b5a0 Add visual form validation to app install view 2015-01-07 10:23:39 +01:00
Johannes Zellner 2eaac28576 Give full feedback to the user in setup.html
Replace the submit-time check with form validation
pre submit.
2015-01-04 18:15:49 +01:00
Johannes Zellner e04575b46c Improve error reporting for setup.html 2014-12-29 12:00:11 +01:00
Johannes Zellner 33481e70ad Remove unused includes in setup.html 2014-12-27 17:53:35 +01:00
Johannes Zellner 152cf1be46 Create separate setup angular application to avoid side effects
This also adds a loading indicator during cloudron admin
creation.
2014-12-27 17:52:09 +01:00
Johannes Zellner b0d2a18a94 Temporarily disable browser forward to / in case we get an oauth login error
This prevents an endless loop of redirects/forwards.
We need a real OAuth error page.
2014-12-18 08:10:27 +01:00
Johannes Zellner 721803ed84 Harmonize the webadmin oauth client secret to fix broken login 2014-12-18 08:09:30 +01:00
Johannes Zellner c83d482185 webadmin: add hack for autofocus on setup.html 2014-12-17 14:38:53 +01:00
Johannes Zellner 39c428c7d8 webadmin: Fix exception due to non existing error variable in login callback 2014-12-16 11:41:05 +01:00
Girish Ramakrishnan 639d5fd1ad userInfo is not sent as part of activation anymore 2014-11-23 22:59:41 -08:00
Girish Ramakrishnan 4844f7899c createadmin -> cloudron/activate 2014-11-23 22:06:08 -08:00
Girish Ramakrishnan c1ad249eea Merge firsttime and version routes into status 2014-11-23 19:42:33 -08:00
Girish Ramakrishnan aec65fadd8 Move version into cloudron routes 2014-11-23 19:11:40 -08:00
Girish Ramakrishnan c17e063025 namespace apis under cloudron/ 2014-11-23 18:50:24 -08:00
Girish Ramakrishnan 3df66f2b2e Use plural in routes 2014-11-23 18:32:41 -08:00
Girish Ramakrishnan 2794be118e Rename restrictAccessTo to accessRestriction
Doing a db migration for a column rename is too complex in sqlite,
so the initial schema itself is modified.
(you have to create a new table and copy things over)
2014-11-22 22:16:42 -08:00
Girish Ramakrishnan 967981838f Fix REST response codes
200 - OK
201 - Created (immediately)
202 - Accepted (for future)
204 - Empty response, action done

Fixes #89
2014-11-06 18:44:49 -08:00
Girish Ramakrishnan c24488f90f Remove volume code
Most of it is moved to syncer-app
2014-11-06 18:27:47 -08:00
Girish Ramakrishnan 4d101e7972 webadmin: Use box.upgrade instead of imageId 2014-11-01 09:40:22 -07:00
Girish Ramakrishnan 0f8bab034f Show 'upgrade' when image id is as part of update info 2014-10-23 16:30:38 -07:00
Girish Ramakrishnan 95ef3b9d2b Open App Store in new window 2014-10-23 14:31:53 -07:00
Girish Ramakrishnan e01f9007c7 Make Appstore url clickable 2014-10-23 14:29:26 -07:00
Girish Ramakrishnan 3540a3147b Fix typo 2014-10-22 18:57:24 -07:00
Girish Ramakrishnan c44779e639 Provision based on isDev value in provision call from app server 2014-10-16 14:29:41 -07:00
Girish Ramakrishnan e72d2e1e4f Move to cloudron.io domain 2014-10-15 19:27:04 -07:00
Johannes Zellner e318160ec6 webadmin: display the access restriction in app details 2014-10-15 09:23:15 -07:00
Johannes Zellner fbc511cc73 webadmin: create restrictAccessToLabel angular filter 2014-10-15 09:23:00 -07:00
Johannes Zellner 2d42f0e81a webadmin: Add restrictAccessTo select fields in install and config forms 2014-10-15 09:22:29 -07:00
Johannes Zellner ea4e51e252 Adjust Client to restrictAccessTo REST api changes 2014-10-15 09:21:47 -07:00
Girish Ramakrishnan 4ea1bc65c9 Fix appstore url 2014-10-14 13:28:09 -07:00
Johannes Zellner 37f2dd6df6 webadmin: use ng-src instead of src in img tags 2014-10-10 11:04:12 -07:00
Johannes Zellner c03f62339a webadmin: use https:// for gravatar 2014-10-10 11:00:09 -07:00
Johannes Zellner a421943e1c Add angular-m5 for now to setup.html this is only temporarily 2014-10-10 10:52:15 -07:00
Johannes Zellner 15dc7ac13c webadmin: use better fitting default gravatar 2014-10-10 09:47:45 -07:00
Johannes Zellner 7aeb66a603 webadmin: fun, use gravatar for user icon 2014-10-10 09:43:44 -07:00
Johannes Zellner 6f1b208f47 If oauth client asks for admin capabilities only allow admins to login
This requires nicer error handling
2014-10-09 09:21:48 -07:00
Girish Ramakrishnan aad31c46e0 Rickshaw does not like null data 2014-10-06 23:08:43 -07:00
Girish Ramakrishnan b0c788e621 Cleanup rendering of appdetails graphs 2014-10-06 23:02:49 -07:00
Girish Ramakrishnan 37f2c5c9a1 Refactor graph rendering 2014-10-06 22:43:23 -07:00
Girish Ramakrishnan 3bc9cba036 Handle null data from graphite 2014-10-06 22:23:41 -07:00
Girish Ramakrishnan ebc5c56b11 Display location on sidebar now that we allow multiple instances 2014-10-04 02:36:11 -07:00
Girish Ramakrishnan b31320bff4 Allow multiple instances of apps
Fixes #93
2014-10-04 01:24:13 -07:00
Johannes Zellner 1d242d18f4 Generate random passwords for new user and send them via mail 2014-10-04 00:21:27 -07:00
Girish Ramakrishnan 669f0d2eca Fix typo 2014-10-04 00:12:43 -07:00
Girish Ramakrishnan b7156f7b49 break after finding an app 2014-10-04 00:07:08 -07:00
Johannes Zellner 18a931c04f webadmin: make navbar responsive 2014-10-03 19:16:32 -07:00
Johannes Zellner 39916b351a webadmin: Remove context menu for profile 2014-10-03 18:49:47 -07:00
Girish Ramakrishnan ed74695d22 Remove bogus default email id 2014-10-03 02:32:01 -07:00
Johannes Zellner 47d2d957aa webadmin: use a default error handler for all ajax requests in console.js
This allows us to logout if any request fails due to invalid
token. This can for example happen if you revoke the tokens for
the webadmin.
2014-10-01 16:53:50 -07:00