Commit Graph

396 Commits

Author SHA1 Message Date
Johannes Zellner 2ef8f02445 Make error.html an angular app 2015-02-24 16:23:33 +01:00
Johannes Zellner e24321a574 Make use of the setupToken in setup.html 2015-02-20 10:13:46 +01:00
Girish Ramakrishnan 28f8596bf0 invalidate update info 2015-02-18 13:03:17 -08:00
Girish Ramakrishnan a99248d5db Show update modal dialog when update button is clicked 2015-02-18 12:46:03 -08:00
Johannes Zellner 0ef33896fc Make sure we clear the password field after submit 2015-02-18 21:27:37 +01:00
Johannes Zellner 8ae99fc155 Do not poll for apps on any config change 2015-02-18 18:25:12 +01:00
Johannes Zellner 79a6a85a9b Also fixup appstore.js breakage due to uglifyjs 2015-02-18 17:58:27 +01:00
Johannes Zellner d75cecc801 Ask for password and send for app update 2015-02-18 17:37:03 +01:00
Johannes Zellner 856ac4967b Add form feedback in case wrong password was given 2015-02-18 17:07:00 +01:00
Johannes Zellner e28863382a Ask for password and send for app uinstallation 2015-02-18 16:51:49 +01:00
Johannes Zellner da67f0c40f Rename all delete/removeApp to uninstallApp 2015-02-18 16:28:15 +01:00
Johannes Zellner e0aa207569 Enable uglification for our javascript files
Fixes #189
2015-02-18 14:12:38 +01:00
Girish Ramakrishnan 43428cd063 Send version when updating app
Fixes #169
2015-02-17 21:32:11 -08:00
Girish Ramakrishnan 824fa4ac54 Add TODO that getManifest should use boxVersion at some point 2015-02-17 21:26:46 -08:00
Girish Ramakrishnan 130ff6bad0 send app version when installing
Part of #169
2015-02-17 21:16:15 -08:00
Girish Ramakrishnan dcf09b8814 Send boxVersion when requesting app listing
appstore uses this to filter out apps
2015-02-16 15:16:42 -08:00
Johannes Zellner cb9dbf4956 Remove account settings from settings view
Fixes #187
2015-02-16 14:11:21 +01:00
Johannes Zellner f07d0db07a Fixup angular issues from migrating to 1.3 2015-02-16 13:57:25 +01:00
Johannes Zellner e9c875e964 Add accounts page 2015-02-16 13:27:50 +01:00
Johannes Zellner fe19032f5f Update to angular 1.3.13
Note that angular-md5 is not an official extension
https://github.com/gdi2290/angular-md5

Fixes #186
2015-02-16 13:24:02 +01:00
Johannes Zellner 77015dabee Remove non minified versions of angular and its extensions 2015-02-16 13:01:31 +01:00
Johannes Zellner 5d275e5fab Remove unused async.js 2015-02-16 12:45:17 +01:00
Johannes Zellner aee36b8998 Since non admins are now allowed in webadmin it is no longer only for admins
Fixes #131
2015-02-16 11:15:29 +01:00
Johannes Zellner 9458c0f472 Bring a non admin back to / if he accesses an admin ui 2015-02-16 11:00:34 +01:00
Johannes Zellner 0ec738409e Do not show admin ui components if user is not an admin
Note that the REST API anyways would fail if the token is not
associated with an admin
2015-02-16 10:55:31 +01:00
Johannes Zellner ee35ec5349 Further remove unused includes in update.html and define background 2015-02-16 09:28:40 +01:00
Johannes Zellner 2107ce4976 Remove unused styles for update.html 2015-02-15 22:15:33 +01:00
Johannes Zellner 182f978f27 Replace isUpdating with a more generic progress API
/api/v1/cloudron/progress -> 200
  {
    update: null | { percent: 13, message: 'foobar' },
    backup: null | { percent: 37, message: 'great' }
  }

the start splash server also serves up that API endpoint,
by serving up the /progress.json file

Fixes #185
2015-02-15 19:47:11 +01:00
Johannes Zellner f5d915e4b1 Ensure we also copy over the sourcemap files with gulp
Fixes #182
2015-02-15 12:26:53 +01:00
Johannes Zellner a287c2d2e3 Use angular-md5 minified 2015-02-15 12:19:13 +01:00
Johannes Zellner be7a380315 Remove unused angular-base64 2015-02-15 12:13:57 +01:00
Johannes Zellner 6ba3c55060 Always use the minified version of angular.js 2015-02-15 12:11:25 +01:00
Johannes Zellner 2b621e9c1d Remove update dialog from webadmin
This is now handled in update.html
2015-02-13 17:34:00 +01:00
Johannes Zellner 0e05f91475 Finally go back to the webadmin 2015-02-13 16:30:28 +01:00
Johannes Zellner 354fa3fefd isUpdate is actually called isUpdating 2015-02-13 16:19:52 +01:00
Johannes Zellner 4e2031dafb Also add update.js to dist/ 2015-02-13 16:13:46 +01:00
Johannes Zellner 045d2b5263 Remove stray whitespace 2015-02-13 15:42:43 +01:00
Johannes Zellner 62ecd7df09 Update the update.html 2015-02-13 15:33:38 +01:00
Johannes Zellner 50ff1aeb3e Unify the update site to update.html
This still needs tweaking of the splash nginx config
2015-02-13 14:04:25 +01:00
Johannes Zellner 778fb507ca Smoothen out the update dialogs
Fixes #140
2015-02-13 11:17:06 +01:00
Girish Ramakrishnan aa42067f9f Track update status
After clicking update, the box webadmin returns to webadmin page. This is because the update has
started but the updater is busy download and building stuff for sometime before it sets up the
nginx to show upload progress.

Part of #140. The UI doesn't work properly.
2015-02-12 20:42:17 -08:00
Girish Ramakrishnan 48aef2f217 update dist of error.html 2015-02-12 13:14:41 -08:00
Girish Ramakrishnan e7bfb948d0 Reload root url after some time 2015-02-12 13:14:16 -08:00
Girish Ramakrishnan bc60c1a7fc Generate naked_domain.conf out of appconfig.ejs
Set admin as default naked domain in db

It's no different than any other app now
2015-02-12 01:03:26 -08:00
Girish Ramakrishnan 9b25205dcb create config.json that can be used in error.html
Fixes #171
2015-02-10 23:46:37 -08:00
Girish Ramakrishnan f7a562b07b Use apiServerOrigin and webServerOrigin
Part of #171
2015-02-10 18:23:03 -08:00
Girish Ramakrishnan e0ebd2b585 app icon is now already prefixed with appServerUrl 2015-02-10 17:30:30 -08:00
Johannes Zellner dcb021776d Fixup the url replacing for graphs
Fixes #124
2015-02-09 18:31:14 +01:00
Johannes Zellner 782f868962 Remove stray console.log() 2015-02-09 13:25:12 +01:00
Johannes Zellner 950283f2fd Add form validation for appinstall and appconfig views
Fixes #118
2015-02-09 11:51:03 +01:00