aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old ajax fileJoas Schilling2017-01-181-92/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add sudo mode to enabling and disabling appsLukas Reschke2016-12-054-0/+28
| | | | | | | | | | Otherwise an administrator could bypass sudo mode by installing an app that allows RCE by design. I've by intention excluded the update endpoint from the requirement because updating apps should be as unintruisive as possible. Not the cleanest approach by adding this to the AJAX endpoints instead of requiring a controller but for 11 this felt safer for me. We can clean this up together later then. (also the other AJAX endpoints in this folder do have the same logic) Ref https://github.com/nextcloud/server/issues/2487 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use app ID instead of objectLukas Reschke2016-11-221-1/+1
| | | | | | | | | | | | | | Fixes several error messages when installing an app from the appstore, including: ``` Illegal offset type in isset or empty at /media/psf/stable9/lib/private/legacy/app.php#662 Illegal offset type at /media/psf/stable9/lib/private/legacy/app.php#663 Illegal offset type at /media/psf/stable9/lib/private/legacy/app.php#661 Object of class OC_App could not be converted to string at /media/psf/stable9/lib/private/legacy/app.php#81 trim() expects parameter 1 to be string, object given at /media/psf/stable9/lib/private/legacy/app.php#628 ``` Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Require password confirmation to change the QuotaJoas Schilling2016-11-181-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require password confirmation for user managementJoas Schilling2016-11-182-0/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix route and jsRoeland Jago Douma2016-11-061-46/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add update supportLukas Reschke2016-10-311-12/+7
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use new appstore APILukas Reschke2016-10-312-7/+10
| | | | | | This change introduces the new appstore API in Nextcloud. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update with robinJoas Schilling2016-07-218-8/+8
|
* Fix othersJoas Schilling2016-07-2110-12/+22
|
* Update license headersLukas Reschke2016-05-269-12/+12
|
* OC_Installer -> \OC\InstallerThomas Müller2016-05-021-1/+1
|
* Update author informationLukas Reschke2016-03-012-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Consolidate getQuota and setQuota methods in User instanceArthur Schiwon2016-02-091-1/+1
|
* Move findAvailableLanguages() to the factoryJoas Schilling2016-01-261-1/+1
|
* Happy new year!Thomas Müller2016-01-1210-12/+11
|
* Moved changedisplayname to usercontrollerRoeland Jago Douma2015-11-201-67/+0
| | | | | Killed the old static route to change a users display name and moved it to a properly testable controller.
* Fix everyone count for subadminsVincent Petry2015-10-291-55/+0
| | | | Also moved the logic to the UsersController
* Drop OC_SubAdmin and replace usagesLukas Reschke2015-10-295-9/+48
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Merge pull request #19526 from ↵Thomas Müller2015-10-061-2/+3
|\ | | | | | | | | owncloud/issue-16251-reload-app-settings-when-app-needs-update Reload the page when an app needs an update after being enabled
| * Reload the page when an app needs an update after being enabledJoas Schilling2015-10-051-2/+3
| |
* | deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
| |
* | update licence headers via scriptMorris Jobke2015-10-052-2/+2
|/
* Get sorted navigation listRobin McCorkell2015-09-061-1/+1
|
* Rebuild app navigation in JSRobin McCorkell2015-09-051-10/+2
| | | | | | Retrieve all app navigations to prevent reloading appinfo/app.php and causing an error when the app isn't fully loaded. The addition/deletion logic has been moved to JS, simplifying a lot of code.
* do not remove group if it is emptymichag862015-08-181-3/+0
| | | | | Sometimes an admin removes a user from a group but he needs the group. This is a big problem if a subadmin removes the last user of a group. He cannot recreate the group
* Remove OC_AppconfigThomas Müller2015-07-031-1/+1
|
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* update license headers and authorsMorris Jobke2015-06-255-5/+0
|
* Migrate personal certificate handling into AppFramework controllersLukas Reschke2015-04-202-80/+0
| | | | Also added unit-tests and better error-handling
* Removing left overs from old encryption appThomas Müller2015-04-073-132/+0
|
* Correctly purge the cache when an app is disabled via cliJoas Schilling2015-04-012-7/+0
|
* Add check for activated local memcacheLukas Reschke2015-03-281-40/+0
| | | | | | Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it. Fixes https://github.com/owncloud/core/issues/14956
* Update license headersJenkins for ownCloud2015-03-2618-30/+394
|
* Add wrapper for GuzzleLukas Reschke2015-03-251-1/+1
|
* Revert "Updating license headers"Morris Jobke2015-02-2618-385/+33
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-2318-33/+385
|
* This is an arrayLukas Reschke2015-02-131-1/+1
|
* Manually type-case all AJAX filesLukas Reschke2015-02-1313-17/+17
| | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* adapt decrypt all and restore/delete key backups to the new folder structure ↵Bjoern Schiessle2015-01-132-17/+6
| | | | for encryption key introduced with OC8
* Cache responses from the AppStore serverLukas Reschke2015-01-094-0/+13
| | | | | | | | | | Otherwise every time the AppStore was opened a lot of connections to the AppStore server were made which resulted in a terrible performance. This changeset will cache the response for a sensible time so that only the first request will be somewhat slow. Performance changes: - Loading a category took previously more than 3 seconds on my machine. Now for every follow-up request it takes less than 200ms, resulting in a performance gain of 1950% - Loading the category list took previously about 750ms - now it takes 154ms, a total performance gain of 395%
* add Download logfile button to admin settingsGeorg Ehrke2015-01-072-34/+0
| | | | | | | | | | | | | | | | | | | | add logSettingsController add download logfile button move getEntries to LogSettingsController move set log level to logsettingscontroller.php add warning if logfile is bigger than 100MB add unit test for set log level fix typecasting, add new line at EoF show log and logfile download only if log_type is set to owncloud add unit test for getFilenameForDownload
* Mail address of users is now changable in the user managementMorris Jobke2014-12-181-15/+0
| | | | | | | | | | | * introduced new route settings/users/{id}/mailAddress * kept old responses * better error messages * dropped lostpassword.php from settings/ajax * cleaned up the UserList.add() and hand in user object instead of each attribute as another parameter * check for change permission of mail address * proper response messages
* Merge pull request #12611 from owncloud/use-uid-instead-of-loginnameLukas Reschke2014-12-101-1/+1
|\ | | | | Use UID instead of login name
| * Use UID instead of login nameLukas Reschke2014-12-041-1/+1
| | | | | | | | Login name can be something different and thus I'm pretty sure this will break in combination with external auth providers such as LDAP.
* | Fix namespace of Files_Encryption outside of the appJoas Schilling2014-12-091-1/+1
| |
* | reduce OC_Preferences, OC_Config and \OCP\Config usageMorris Jobke2014-12-083-3/+3
| | | | | | | | | | | | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container
* | Add REST route for user & group managementLukas Reschke2014-12-086-258/+0
| | | | | | | | First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
* | Check for working .htaccess via AJAXLukas Reschke2014-12-061-2/+3
|/ | | | Fixes https://github.com/owncloud/core/issues/12650