diff --git a/webadmin/src/js/client.js b/webadmin/src/js/client.js index cd4c17bc9..0add0b1a9 100644 --- a/webadmin/src/js/client.js +++ b/webadmin/src/js/client.js @@ -114,7 +114,6 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification', isDev: false, progress: {}, isCustomDomain: false, - developerMode: false, region: null, size: null, memory: 0 @@ -260,20 +259,6 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification', }).error(defaultErrorHandler(callback)); }; - Client.prototype.changeDeveloperMode = function (enabled, password, callback) { - var that = this; - - var data = { password: password, enabled: enabled }; - post('/api/v1/developer', data).success(function (data, status) { - if (status !== 200) return callback(new ClientError(status, data)); - - // will get overriden after polling for config, but ensures quick UI update - that._config.developerMode = enabled; - - callback(null); - }).error(defaultErrorHandler(callback)); - }; - Client.prototype.changeCloudronAvatar = function (avatarFile, callback) { var fd = new FormData(); fd.append('avatar', avatarFile); @@ -586,8 +571,6 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification', }; Client.prototype.getNonApprovedApps = function (callback) { - if (!this._config.developerMode) return callback(null, []); - get('/api/v1/developer/apps').success(function (data, status) { if (status !== 200 || typeof data !== 'object') return callback(new ClientError(status, data)); callback(null, data.apps || []); diff --git a/webadmin/src/views/appstore.html b/webadmin/src/views/appstore.html index 571553876..05c83cd73 100644 --- a/webadmin/src/views/appstore.html +++ b/webadmin/src/views/appstore.html @@ -260,7 +260,7 @@ Project Management Wiki
- Testing +


diff --git a/webadmin/src/views/tokens.html b/webadmin/src/views/tokens.html index c96f9f3b0..b45157cda 100644 --- a/webadmin/src/views/tokens.html +++ b/webadmin/src/views/tokens.html @@ -1,35 +1,3 @@ - -