summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Properly hint exceptions thrown by getUserFolderJulius Härtl2020-04-031-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fixes the return type of BeforeUserLoggedInEventArthur Schiwon2020-04-031-2/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-022-0/+19
|\ | | | | Add optional comments reference_id
| * Allow to set and get the reference idJoas Schilling2020-03-311-0/+17
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-0133-9/+40
|\ \ | | | | | | Update the license headers for Nextcloud 19
| * | Update the license headers for Nextcloud 19Christoph Wurst2020-03-3133-9/+40
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / [POC] Event for failed login attemptsRoeland Jago Douma2020-03-311-0/+58
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-276-6/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-256-6/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-2619-33/+33
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use lowercase true, false and null constantsChristoph Wurst2020-03-251-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a public event for contacts interactionChristoph Wurst2020-03-251-0/+136
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Added Hook before Message is sendArne Hamann2020-03-241-0/+57
| | | | Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* Expose enumeration config though share managerJulius Härtl2020-03-201-0/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #19967 from roscomputing/enh/19958/usejsnoncedocsRoeland Jago Douma2020-03-171-0/+1
|\ | | | | add docs for useJsNonce
| * add docs for useJsNoncePavel Krasikov2020-03-151-0/+1
| | | | | | | | Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
* | Merge pull request #19746 from nextcloud/locked-exception-forward-existingRoeland Jago Douma2020-03-091-0/+12
|\ \ | | | | | | pass the existing locks info when making locked exception with absolu…
| * | pass the existing locks info when making locked exception with absolute pathsRobin Appelman2020-03-021-0/+12
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / Fix mismatching doc block parameter typesChristoph Wurst2020-03-061-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19493 from nextcloud/simplefile-new-lazyRoeland Jago Douma2020-02-282-2/+4
|\ | | | | Create SimpleFile only when writing the content
| * allow writing content directly when creating new SimpleFileRobin Appelman2020-02-282-2/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Create SimpleFile only when writing the contentRobin Appelman2020-02-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of first creating an empty file and then writing the content. This solves the overhead of creating an empty file with the common pattern: ```php $file = $simpleFilder->newFile('foo.txt'); $file->putContent('bar.txt'); ``` roughly halving the number of storage and database operations that need to be done when creating a `SimpleFile`. This is not automatically done with `File` because that has a more complex api which I'm more hesitant to touch. Instead the `Folder::newFile` api has been extended to accept the content for the new file. In my local testing, the overhead of first creating an empty file took about 20% of the time for preview generation Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #19321 from ↵Joas Schilling2020-02-281-0/+83
|\ \ | |/ |/| | | | | nextcloud/enh/allow-to-overwrite-share-target-mountpoints Allow to overwrite share target mountpoints
| * Allow to overwrite share target mountpointsJoas Schilling2020-02-171-0/+83
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #19670 from nextcloud/techdebt/noid/allow-to-remove-listenersChristoph Wurst2020-02-271-0/+8
|\ \ | | | | | | Allow to remove listeners
| * | Allow to remove listenersJoas Schilling2020-02-271-0/+8
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Allow non integer ids in Entity MapperJoas Schilling2020-02-261-2/+7
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #19478 from ↵Roeland Jago Douma2020-02-231-3/+8
|\ \ | | | | | | | | | | | | Tim-Obert/bug/19475/fix-routes-generation-authpublicsharecontroller Change the route generation of AuthPublicShareController.php
| * | Fix requested changesTimObert2020-02-141-10/+5
| | | | | | | | | | | | Signed-off-by: Tim Obert <tobert@w-commerce.de>
| * | Change the route generation of AuthPublicShareController.php and adjust the ↵Tim Obert2020-02-141-3/+13
| |/ | | | | | | | | | | routes for file sharing Signed-off-by: Tim Obert <tobert@w-commerce.de>
* | Merge pull request #19412 from nextcloud/fix/19404/make-favorite-publicChristoph Wurst2020-02-211-0/+4
|\ \ | |/ |/| Make TAG_FAVORITE public
| * Make TAG_FAVORITE publicDaniel Kesselberg2020-02-121-0/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Allow to overwrite the path on the cache eventJoas Schilling2020-02-131-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | always require a message paramter for data loggingArthur Schiwon2020-01-281-3/+3
| | | | | | | | | | | | also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | log Flow activityArthur Schiwon2020-01-281-0/+42
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix license headersChristoph Wurst2020-01-136-9/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17861 from ↵Roeland Jago Douma2020-01-071-8/+9
|\ | | | | | | | | nextcloud/fix-tab-navigation-of-menu-in-public-share-pages Fix tab navigation of menu in public share pages
| * Split the menu entry for external shares in twoDaniel Calviño Sánchez2019-12-301-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The external shares entry showed a "button" that, when pressed, replaced the button with the input to set the remote share address. The "button" was actually a label for the input, so when the label was focused it transferred the focus to the input and thus pressing enter or space did not show the input. Moreover, inputs inside links are not valid HTML, and once shown there was no way to hide the input again. Due to all this, and for consistency with the direct link input, the external share input was moved to a different menu item that is shown and hidden when the button, which nows is also a real button, is clicked. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Format HTML elementsDaniel Calviño Sánchez2019-12-301-8/+8
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Use the new Events in FlowRoeland Jago Douma2020-01-024-6/+171
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #18483 from nextcloud/fix/license-headers-18Christoph Wurst2019-12-2033-59/+100
|\ | | | | Update license headers for 18
| * Update license headers for 18Christoph Wurst2019-12-2033-59/+100
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #18080 from nextcloud/enhancement/noid/add-timeoutblizzz2019-12-201-0/+91
|\ \ | |/ |/| adding timeout param
| * nullable paramsMaxence Lange2019-12-131-1/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * +ManuallyLockedExceptionMaxence Lange2019-12-121-0/+91
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #17018 from ↵Joas Schilling2019-12-161-2/+4
|\ \ | | | | | | | | | | | | nextcloud/feature/noid/allow-to-force-enable-via-cli Allow to force enable apps via CLI
| * | Allow to force enable apps via CLIJoas Schilling2019-12-131-2/+4
| | | | | | | | | | | | | | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #18384 from ↵Roeland Jago Douma2019-12-161-0/+53
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/18255/global_config_to_always_accept config.php setting to always accept internal shares
| * | | config.php setting to always accept internal sharesRoeland Jago Douma2019-12-161-0/+53
| |/ / | | | | | | | | | | | | | | | Part of #18255 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>