summaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* Some more code fixesJoas Schilling2017-03-201-21/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't use a generic exceptionJoas Schilling2017-03-201-5/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add exception to PHPDocLukas Reschke2017-03-201-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* checking if app exists in the FileStream nownoveens2017-03-201-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit tests and improve appstore logicMorris Jobke2017-02-241-5/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add back appstoreenabled config switchSteffen Lindner2017-02-241-4/+20
| | | | Signed-off-by: Steffen Lindner <mail@steffen-lindner.de>
* Merge pull request #2814 from nextcloud/appstore_etag_validationJoas Schilling2017-01-092-6/+40
|\ | | | | Add ETag validation to appstore requests
| * Add ETag validation to appstore requestsRoeland Jago Douma2017-01-052-6/+40
| | | | | | | | | | | | | | | | | | | | * If the ETag if present store it * If a stored ETag is present then pass it along (with the original response) to get * Add tests * Added files to classmap Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove group restrictions when those are not allowed anymoreJoas Schilling2017-01-041-0/+15
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Clear appstore cache on version upgradeRoeland Jago Douma2016-12-153-16/+24
| | | | | | | | | * Add version to cached json * Compare version * Updated calls * Updated tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the mocked config versionJoas Schilling2016-12-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check for nextcloud version as wellLukas Reschke2016-12-051-2/+8
| | | | | | The code checker didn't consider the "nextcloud" version before, resulting in fails such as https://travis-ci.org/nextcloud/richdocuments/jobs/181470760#L415-L416 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Exclude pre-release versions as per SemVerLukas Reschke2016-11-251-5/+7
| | | | | | | | As SemVer can be used apps could define a release like "10.0.0-alpha". This is something that we don't support at the moment in the server and we should filter all prereleases. Ref https://github.com/nextcloud/server/pull/2307#issuecomment-262911588 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Loop for newest version in appstore responseLukas Reschke2016-11-242-8/+85
| | | | | | | | | | The current implementation when fetching apps from the appstore is to assume that the first element is the newest version, this is now always applicable and leads to the fact that for some apps (e.g. nextant) the newest version is not delivered. This can be easily tested by comparing the version of the downloaded Nextant version. This change will loop over all releases delivered by the appstore and chooses the newest compatible one. While not the cleanest solution, it does its job. Most of the code are actually unit tests. Whereas I have copied the whole original response from the appstore and also have performed the transformation. So that's why the diff looks so huge. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Expose getAppPath to public APIJulius Haertl2016-11-171-0/+16
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Allow to register ProvidersJoas Schilling2016-11-161-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to register settings/types via info.xmlJoas Schilling2016-11-161-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to register activity filters via info.xmlJoas Schilling2016-11-161-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust previous fallbacksLukas Reschke2016-11-151-4/+0
| | | | | | 11.0 is 11 and not 9.2 anymore Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add update supportLukas Reschke2016-10-311-2/+7
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* %d instead %sLukas Reschke2016-10-311-1/+1
| | | | | | These are only numbers. THX @nickvergessen Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use substr and explode instead of a regexLukas Reschke2016-10-311-14/+33
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Read array elements instead of substrLukas Reschke2016-10-311-2/+6
| | | | | | Otherwise this would break with 11.0.0 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use new appstore APILukas Reschke2016-10-315-0/+305
| | | | | | This change introduces the new appstore API in Nextcloud. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Cleanup usagesRoeland Jago Douma2016-10-291-7/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* App dependencies are now analysed on app enable as well - not only on app ↵Thomas Müller2016-10-241-0/+3
| | | | install.
* Ensure $commands being an array - fixes #26073Thomas Müller2016-10-201-0/+3
|
* [9.2] Register commands in info.xml (#26248)Thomas Müller2016-10-111-0/+6
| | | | | | | | | | | | * Use DI to load console commands from the apps - class name to be defined in the info.xml * Load commands from info.xml * Fix unit test * Allow Di magic for IMountManager Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache AppInfo in Memory Cache if configuredLukas Reschke2016-10-071-0/+23
| | | | | | | | This saves around 20ms on a bare-bone instance, on bigger ones more (depending on the number of installed apps). See https://blackfire.io/profiles/compare/fc326ad3-100d-49b8-8ea9-8343240f53f3/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)Thomas Müller2016-10-071-28/+4
| | | | | | | | * Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
* Initialize array elements properlyThomas Müller2016-09-071-1/+1
|
* Allow to validate the password_policy appJoas Schilling2016-09-011-3/+9
|
* Fix "Undefined index" when the values do not existJoas Schilling2016-08-181-2/+2
|
* Translate the server version for nextcloudJoas Schilling2016-07-261-2/+24
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-2114-25/+40
|
* fix more stringsMorris Jobke2016-06-201-2/+2
|
* emit correct signal if a app get's disabledBjoern Schiessle2016-06-131-1/+1
|
* Update license headersLukas Reschke2016-05-264-4/+8
|
* Add two factor auth to coreChristoph Wurst2016-05-232-1/+4
|
* Allow declaration of background jobs in info.xmlThomas Müller2016-05-031-4/+7
|
* Adding repair steps for install and uninstall - fixes #24306Thomas Müller2016-05-021-0/+12
|
* allow app developers to specify the minimum int sizeBernhard Posselt2016-04-282-0/+13
| | | | | | | | simplify comparison remove additional null fix off by 1 error
* Introduce background repair stepsThomas Müller2016-04-261-0/+6
|
* Adding pre- and post-migration repair stepsThomas Müller2016-04-221-12/+12
|
* Remove deprecated HTTPHelper from InfoParserThomas Müller2016-04-221-12/+22
|
* Move \OC\App to PSR-4Roeland Jago Douma2016-04-1314-0/+2356