summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #17824 from nextcloud/fix/dav/catch_forbiddenRoeland Jago Douma2019-11-201-0/+5
|\ | | | | Catch forbidden http status code
| * Catch forbidden http status codeRoeland Jago Douma2019-11-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | If you try to do something on a DAV mount (external or federated share) that is not allowed. We should not mark the storage as not available but just fail somewhat gracefully. Now by catching this and just properly returning the operation will just fail (and notify the user) which is already a lot better then marking the storage as unavailable and doing boom. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17850 from ↵Joas Schilling2019-11-201-0/+6
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/mark-spreed-as-active-on-call-urls Mark "Talk" active on /call/token URLs
| * | Make phan happy ;)Daniel Kesselberg2019-11-191-1/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Mark "Talk" active on /call/token URLsJoas Schilling2019-11-121-0/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #16828 from nextcloud/feature/noid/accept-incoming-sharesRoeland Jago Douma2019-11-183-26/+145
|\ \ \ | | | | | | | | 🔗☑️ Accept all incoming shares
| * | | FixesRoeland Jago Douma2019-11-181-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | The share manager knows which provider can accept sharesJoas Schilling2019-11-121-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Allow to accept group sharesJoas Schilling2019-11-122-26/+123
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add the notifier and the API endpoint for user sharesJoas Schilling2019-11-121-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Respect the accepted flag for group and user sharesJoas Schilling2019-11-122-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #17765 from nextcloud/filecache-extensionRoeland Jago Douma2019-11-189-208/+430
|\ \ \ \ | | | | | | | | | | Upload time and Creation time
| * | | | Fix cache movesRoeland Jago Douma2019-11-181-1/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Merge remote-tracking branch 'origin/master' into filecache-extensionRoeland Jago Douma2019-11-182-1/+5
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | cast ctime and utimeRobin Appelman2019-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | filter out empty filecache extension valuesRobin Appelman2019-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix folder deleteRobin Appelman2019-11-131-3/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | dont create empty filecache extended rowsRobin Appelman2019-11-131-19/+33
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | dont expose metadata etag for nowRobin Appelman2019-11-133-15/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | expose filecache extension data in FileInfoRobin Appelman2019-11-133-0/+45
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | store filecache extension fieldsRobin Appelman2019-11-133-27/+110
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | move more cache logic to querybuilderRobin Appelman2019-11-132-169/+254
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | add count() as shortcut for count('*') in FunctionBuilderRobin Appelman2019-11-131-2/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | return from QueryBuilder instead of IQueryBuilderRobin Appelman2019-11-131-31/+31
| | |/ / | |/| | | | | | | | | | | | | | | | | | this make the type hints work properly with querybuilder subclasses Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Fixes a 500 without useridArthur Schiwon2019-11-161-5/+0
| |/ / |/| | | | | | | | | | | | | | plus cleanup of unused use statements Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | HTTPS link to https://en.wikipedia.org/wiki/Server-sent_eventsChristian Oliff2019-11-151-1/+1
| | | | | | | | | prevents a redirect
* | | pass through ServerNotAvailableException on app initArthur Schiwon2019-11-141-0/+4
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #17830 from nextcloud/global-quota-return-quotaRoeland Jago Douma2019-11-071-2/+7
|\ \ | |/ |/| actually return the quote when getting global storage info
| * actually return the quote when getting global storage infoRobin Appelman2019-11-061-2/+7
| | | | | | | | | | | | prevents 'undefined' index errors when 'include external storage in quota' is enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #17822 from nextcloud/fix/noid/tip-download-to-node-apiblizzz2019-11-071-4/+15
|\ \ | | | | | | switch to Files Node API for zip generation
| * | switch to Files Node API for zip generationArthur Schiwon2019-11-071-4/+15
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #17696 from nextcloud/enh/17659/hide-objectstore-credentialsRoeland Jago Douma2019-11-071-2/+13
|\ \ \ | | | | | | | | Remove objectstore credentials
| * | | Add information about credentialsDaniel Kesselberg2019-10-311-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Remove objectstore credentialsDaniel Kesselberg2019-10-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Also remove the username for Swift v2 and add todo for unclear keys. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Remove objectstore credentialsDaniel Kesselberg2019-10-271-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | S3: key and secret Swift v3: user.name and user.password Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Cleanup sharing leftoversJohn Molakvoæ (skjnldsv)2019-11-051-3/+0
| |_|/ |/| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #17735 from tcoupin/fix-reshare-circleChristoph Wurst2019-11-041-0/+1
|\ \ \ | | | | | | | | Fix reshare with circle
| * | | Fix reshare with circleThibault Coupin2019-10-291-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Thibault Coupin <thibault.coupin@gmail.com>
* | | | Merge pull request #17509 from nextcloud/fix/application-singletonJohn Molakvoæ2019-11-042-2/+3
|\ \ \ \ | |_|_|/ |/| | | Fix Application instances created multiple times
| * | | Make sure we create an app's Application class just onceChristoph Wurst2019-10-112-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #17739 from nextcloud/enh/share/filterRoeland Jago Douma2019-10-312-0/+33
|\ \ \ \ | | | | | | | | | | Get all shares iterable
| * | | | Get all shares as iterableRoeland Jago Douma2019-10-302-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes we need all shares or rather a specific subset of shares but creating dedicated functions is a pain. This just returns an iterable object for all shares so we can loop over them without allocating all the memory on the system. It should not be used by any user called code. But in an occ command or background job it is fine IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | #17661Daniel Schneider2019-10-301-1/+1
| | | | |
* | | | | Merge pull request #17674 from nextcloud/enh/do_not_show_footer_subRoeland Jago Douma2019-10-301-1/+9
|\ \ \ \ \ | |/ / / / |/| | | | Do not show 'Get your own free account' on services under subscription
| * | | | Do not show 'Get your own free account' on services under subscriptionRoeland Jago Douma2019-10-251-1/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-292-2/+25
| |_|/ / |/| | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Fix DAV mimetype searchRoeland Jago Douma2019-10-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #15048 Catches the case where a full mimetype is sumbitted in the where like clause. Before we didn't catch this and it was just forwarded as is causing invalid queries. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #17712 from nextcloud/enh/limit_hardening/database/userRoeland Jago Douma2019-10-281-0/+10
|\ \ \ \ | | | | | | | | | | Make sure limit is never negative
| * | | | Make sure limit is never negativeRoeland Jago Douma2019-10-281-0/+10
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some cases where a negative limit could be passed in. Which would happily make the query explode. This is just a quick hack to make sure it never is negative. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #17173 from nextcloud/feature/event-broadcastingRoeland Jago Douma2019-10-282-0/+70
|\ \ \ \ | |/ / / |/| | | Make it possible to broadcast events to (web) clients