Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-23Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal
Fix usage of DateTime constants
2021-06-23Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-22allow setting offset for queries not limited to the users home storageRobin Appelman
multi-storage offset is cheap (enough) now Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-02-18Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format code according to PSR2Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Add visibility to all methods and position of static keywordChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2020-04-09Unify function spacing to PSR2 recommendationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-27Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-21use core templates for displaying dav errors in the browserArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-03-20fix dav browser error page not styledArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-11Add offset for home limited searchesRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-03Allow filtering the search results to the users home storageRobin Appelman
This is done by adding a ```xml <d:eq> <d:prop> <oc:owner-id/> </d:prop> <d:literal>$userId</d:literal> </d:eq> ``` clause to the search query. Searching by `owner-id` can only be done with the current user id and the comparison can not be inside a `<d:not>` or `<d:or>` statement Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-27cast timestamps older than unix epoch to 0Christian
This change solves issues #10870, which is caused by method castValue of class FileSearchBackend: It casts the timestamps older than the unix epoch to false., see my comment https://github.com/nextcloud/server/pull/10835#discussion_r212806153.
2018-08-24disallow negative mtime in dav searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-02Fix lazy search backendRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-28Fix search related results in OPTIONS requestsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-24use getUserFolder instead of getFileInfo when constructing FilesHomeRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-22Make displayname selectableRoeland Jago Douma
It is dav. so if it is not properly set we just return a 404 anyway.
2018-02-14Remove unused import statementsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-02-07CacheJail should apply limit and offset after searchingRoeland Jago Douma
Else the results might not be correct. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-07Adjust to updated searchdav libraryRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-07Respect limit and order in webdav searchRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-26cache nodes from search resultsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-08-01[DAV] Fix URLUtil::splitPath usageRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-05-09Stop if user folder is not availableMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-05Allow searching file by fileidRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-27OCA\DAV\Files\CustomPropertiesBackend -> OCA\DAV\DAV\CustomPropertiesBackendGeorg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-03-27allow sharees to edit certain calendar properties for themselvesGeorg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-03-14safer casting of datetimeRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-13fix searching and ordering on getlastmodifiedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-08Allow searching for favoritesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-01add tests for filesearchbackendRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-01Implement webdav SEARCHRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-02-28add icewind/searchdavRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-19Fix "Call to a member function getUID() on null"Thomas Müller
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-02Harden files dropRoeland Jago Douma
* Fail on MKCOL * Only take filename ignore directories * No need to parse query parameters Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-10Fixes files_drop for sabre 3.2Roeland Jago Douma
In the new sabre (3.2) the order of beforeMethod is switched. it used to be that beforeMethod:METHOD was called after beforeMethod. But now it is called before. Since we need the view this was broken. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04Update sabre dav to 3.2 (#26115)Thomas Müller
* Update sabre/dav to 3.2.0 * Adjust code to work with sabre/dav 3.2.0 and it's dependencies * Adding own CalDAV plugin to fix calendar home property * Test if there is a user logged in when listing files home * Update sabre version used by integration tests * Disable unauthenticated DAV access This is needed to make Sabre 3.2 behave like we did before. Eventually we should integrate better with the ACL plugin which itself should implement an auth failure when appropriate. ===== * Fixed so cherry-pick was succesfull Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-25Remove any detailed information about the exception in the browser error pluginThomas Müller
2016-10-24Only enable files_drop plugin when we actuall do files_dropRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-24Make files_drop workRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>