summaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* finetune the appinfo parserArthur Schiwon2017-09-261-1/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make it possible to register plugins and kick out the circle oneArthur Schiwon2017-09-261-0/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix L10N::tRoeland Jago Douma2017-08-011-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix MigrationSchemaChecker and CryptoWrapperLukas Reschke2017-08-011-0/+6
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add new bundleLukas Reschke2017-07-262-0/+51
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-242-5/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Check the migration files for table, column and index length errorsJoas Schilling2017-07-052-2/+212
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deprecate static writeLog() methodMorris Jobke2017-06-231-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Version and dependency are now requiredJoas Schilling2017-05-221-31/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* We don't use the prefix on index namesJoas Schilling2017-05-161-6/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix apps without translationsJoas Schilling2017-05-161-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check the name length of database itemsJoas Schilling2017-05-161-0/+107
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check the syntax of the language fileJoas Schilling2017-05-161-0/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4825 from nextcloud/add-timeout-appstoreLukas Reschke2017-05-121-1/+3
|\ | | | | Add timeout for requests to appstore
| * Add timeout for requests to appstoreMorris Jobke2017-05-111-1/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Log connectiong problems while fetching data from appstoreMorris Jobke2017-05-113-6/+24
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Automatic injection into the FetchersJoas Schilling2017-05-103-11/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the AppFetcher fetches the new applist from the appstoreRoeland Jago Douma2017-05-022-11/+43
| | | | | | | | When in the upgrade process the version in the config is still the old version. (Since we only upgrade it after the upgrade is complete). However the app list fetched from the appstore must be the new list. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not do ETag caching when the version is updatedRoeland Jago Douma2017-05-021-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add SocialSharingBundleLukas Reschke2017-04-262-0/+47
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add spreed to Groupware bundleLukas Reschke2017-04-261-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unrequired getDescription() methodLukas Reschke2017-04-264-29/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add app bundlesLukas Reschke2017-04-265-0/+298
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unused use statementsMorris Jobke2017-04-222-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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.