summaryrefslogtreecommitdiffstats
path: root/settings/ajax/enableapp.php
Commit message (Collapse)AuthorAgeFilesLines
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add app bundlesLukas Reschke2017-04-261-5/+12
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add sudo mode to enabling and disabling appsLukas Reschke2016-12-051-0/+7
| | | | | | | | | | 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>
* Use new appstore APILukas Reschke2016-10-311-2/+4
| | | | | | This change introduces the new appstore API in Nextcloud. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* 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
| |
* | update licence headers via scriptMorris Jobke2015-10-051-0/+1
|/
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* update license headers and authorsMorris Jobke2015-06-251-1/+0
|
* Correctly purge the cache when an app is disabled via cliJoas Schilling2015-04-011-3/+0
|
* Update license headersJenkins for ownCloud2015-03-261-1/+24
|
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+1
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-1/+23
|
* This is an arrayLukas Reschke2015-02-131-1/+1
|
* Manually type-case all AJAX filesLukas Reschke2015-02-131-2/+2
| | | | | | 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
* Cache responses from the AppStore serverLukas Reschke2015-01-091-0/+3
| | | | | | | | | | 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 option to enable app for specific groupsRobin Appelman2014-06-031-1/+3
|
* Log exception at the catching codekondou2013-08-091-0/+1
|
* Improve app-managementkondou2013-08-061-6/+5
| | | | | | | | - Better error messages - Translate untranslated strings Basically picks non-app-dependency related stuff from #4017
* Remove invalid characters from app id to prevent loading of invalid resourcesBart Visscher2013-02-091-1/+1
|
* Remove setContentTypeHeader()Lukas Reschke2013-01-111-1/+0
| | | | | | `OC_JSON::success` and `OC_JSON::error` are calling `OC_JSON::encodedPrint`, which already sets these headers. So this two calls are uneeded duplicates.
* Make the settings ajax calls use the routerBart Visscher2012-10-021-2/+0
|
* $l was undefinedThomas Müller2012-09-171-0/+1
|
* return a message when app could not be enabledJörn Friedrich Dreyer2012-09-121-1/+1
|
* no more require_once()Thomas Mueller2012-09-051-1/+1
|
* Return possibly changed appid.Thomas Tanghus2012-08-051-3/+4
|
* CSRF check in the settingsLukas Reschke2012-07-071-0/+1
|
* show error when installing an app has failedRobin Appelman2012-04-141-3/+5
|
* Add more checks for admin userBart Visscher2011-09-301-0/+1
|
* Use OC_JSON for json responsesBart Visscher2011-09-251-1/+1
| | | | | Create OC_JSON class, for single point of creating json responses. No real logic change, this just cleans up the code a bit.
* merged admin, help and settings to settingsJan-Christoph Borchardt2011-08-131-0/+9