summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate \OCP\ISearchChristoph Wurst2020-06-245-0/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Implement unified search for FilesChristoph Wurst2020-06-241-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add unified search APIChristoph Wurst2020-06-245-0/+391
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21479 from nextcloud/fix/21474/allow_specifying_cookie_typeblizzz2020-06-222-3/+5
|\ | | | | Allow to specify the cookie type for appframework responses
| * Allow to specify the cookie type for appframework responsesRoeland Jago Douma2020-06-222-3/+5
| | | | | | | | | | | | | | | | | | In general it is good to set them to Lax. But also to give devs more control over them is not a bad thing. Helps with #21474 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21475 from nextcloud/enh/noid/flow-event-dispatcherblizzz2020-06-221-0/+34
|\ \ | |/ |/| flow to not use deprecated event dispatcher methods
| * flow to not use deprecated event dispatcher methodsArthur Schiwon2020-06-191-0/+34
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-193-0/+20
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Load the app.php before running apps' boot methodChristoph Wurst2020-06-171-0/+7
| | | | | | | | | | | | | | | | Some apps require the composer autoloader from app.php. If we run boot before including that file, classes and functions from dependencies won't be found. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-173-0/+209
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21311 from nextcloud/techdebt/noid/make-share-order-reliableRoeland Jago Douma2020-06-091-1/+1
|\ | | | | Always sort shares in a reliable way
| * Always sort shares in a reliable wayJoas Schilling2020-06-081-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Deprecate \OCP\IServerContainer::getEventDispatcherChristoph Wurst2020-06-081-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add lazy events for the Node APIRoeland Jago Douma2020-05-2815-0/+530
| | | | | | | | | | | Right now if you want to get events via the Node API you have to have a real instance of the Root. Which in turns sets up the whole FS. We should make sure this is done lazy. Else enabling the preview generator for example makes you setup the whole FS on each and every authenticated call. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Copy over the ETag and LastModified when formatting a DataresponseRoeland Jago Douma2020-05-191-0/+8
| | | | | | This way the ETag checks etc are all working. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow links to conversationsJoas Schilling2020-05-131-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #20897 from nextcloud/bugfix/httpcacheRoeland Jago Douma2020-05-131-5/+4
|\ | | | | Proxy server could cache http response when it is not private
| * Add public argument to Http cacheFor()Clement Wong2020-05-101-5/+4
| | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
| * Proxy server could cache http response when it is not privateClement Wong2020-05-101-2/+2
| | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
* | Fix OCPSinceChecker and php-csMorris Jobke2020-05-081-0/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add InitialState Appframework serviceRoeland Jago Douma2020-05-071-0/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20782 from nextcloud/enh/appframework/appconfig_wrapperRoeland Jago Douma2020-05-071-0/+111
|\ \ | | | | | | Simple AppConfig wrapper for the AppFramework
| * | Simple AppConfig wrapper for the AppFrameworkRoeland Jago Douma2020-05-021-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9 out of 10 cases apps want to access their own appconfig. Hence it would be nice not to have to enter the app id all the time. This simple wrapper just passes on the appid in all calls. Basically this allows for simpler code in the apps. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | PHP 7.4 excludes the arguments from stack traces by default.Daniel Kesselberg2020-04-301-1/+4
|/ / | | | | | | | | | | | | That leads to a false positive is not setup via query() but directly warning for every app because the check does not work anymore. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #19039 from nextcloud/dav-activity-provide-links-to-calendarRoeland Jago Douma2020-04-301-0/+6
|\ \ | | | | | | Provide links to calendar in event creation/update activities
| * | Provide links to calendar in event creation/update activitiesThomas Citharel2020-04-261-0/+6
| |/ | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* / Update license headers for 19Christoph Wurst2020-04-29104-10/+105
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use paginated search for contactsJulius Härtl2020-04-232-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow some apps to have root URLs in their own routing fileJoas Schilling2020-04-181-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #20505 from nextcloud/fix/noid/system-credsblizzz2020-04-161-3/+3
|\ | | | | do not advertise nulled userId for for systemwide credentials
| * fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-151-3/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #20511 from nextcloud/fix/cs-fixer-ldapRoeland Jago Douma2020-04-161-0/+1
|\ \ | | | | | | PHP-CS-Fixer green
| * | PHP-CS-Fixer greenRoeland Jago Douma2020-04-161-0/+1
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Provide the proper language to the mailerRoeland Jago Douma2020-04-162-3/+4
|/ | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Check all remotes for local accessJoas Schilling2020-04-141-0/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add visibility to all constantsChristoph Wurst2020-04-1051-272/+272
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-102-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20422 from ↵Christoph Wurst2020-04-10219-381/+165
|\ | | | | | | | | nextcloud/techdebt/format-control-structs-classes-methods Format control structures, classes, methods and function
| * Format control structures, classes, methods and functionChristoph Wurst2020-04-10219-381/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #19495 from nextcloud/preview-generate-batchRoeland Jago Douma2020-04-102-0/+52
|\ \ | |/ |/| optimize batch generation of previews
| * optimize batch generation of previewsRobin Appelman2020-04-091-0/+39
| | | | | | | | | | | | | | | | | | | | by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file the main use case for this is the preview generator app (pr for that comming next) in my local testing this saves about 25% of time when using the preview generator app Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow generating multiple preview sizes for a single file at onceRobin Appelman2020-04-091-0/+13
| | | | | | | | | | | | this saves having to do some of the overhead multiple times Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use elseif instead of else ifChristoph Wurst2020-04-102-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Make sure every file ends with an empty newlineChristoph Wurst2020-04-091-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove trailing whitespaces from commentsChristoph Wurst2020-04-096-15/+15
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove trailing and in between spacesChristoph Wurst2020-04-095-11/+11
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0918-54/+54
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-0967-53/+14
| | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix (array) indent style to always use one tabChristoph Wurst2020-04-097-57/+57
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>