summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #33964 from nextcloud/search-limit-operatorsVincent Petry2022-09-151-0/+27
|\ | | | | add a limit to the amount of operators a client can add to a search query
| * add a limit to the amount of operators a client can add to a search queryRobin Appelman2022-09-081-0/+27
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Do not output a warning when a file is not foundCôme Chilliet2022-09-121-6/+1
|/ | | | | | | This would spam log with warnings from Desktop client doing HEAD on non-existing path to test them. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-052-2/+2
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #33697 from nextcloud/fix/improve-bulk-uploadCôme Chilliet2022-08-304-45/+31
|\ | | | | Improve bulk upload and add a config switch for it
| * Move dav utils functions to OCP\Files\DavUtilCôme Chilliet2022-08-302-5/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Flip bulkupload.enabled default value to trueCôme Chilliet2022-08-291-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Move Dav fileid and permissions logic into OCP\Util to be able to use it for ↵Côme Chilliet2022-08-293-43/+15
| | | | | | | | | | | | BulkUpload Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Call the correct functions to get BulkUpload metadata to returnCôme Chilliet2022-08-291-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Add bulkupload.enabled configuration switchCôme Chilliet2022-08-251-3/+13
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Add fileid and permissions to response of bulk uploadCôme Chilliet2022-08-251-0/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #33713 from nextcloud/bugfix/noid/viewonlyfixJohn Molakvoæ2022-08-261-0/+1
|\ \
| * | Fix copy in view-only modeVincent Petry2022-08-261-0/+1
| |/ | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Check address book URI length before creationJoas Schilling2022-08-261-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Check calendar URI length before creationAnna Larch2022-08-261-0/+7
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix ETAG returned by bulk uploadCôme Chilliet2022-08-231-0/+1
| | | | | | Refresh Node object to get fresh fileinfo data after touch Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Support iMIP invitations from MailAnna Larch2022-08-224-8/+69
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #33615 from ↵Joas Schilling2022-08-192-43/+3
|\ | | | | | | | | nextcloud/perf/noid/user-displayname-cache-for-activity-providers Use user name cache in activity providers
| * Use user name cache in activity providersJoas Schilling2022-08-192-43/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix carddav activitiesJoas Schilling2022-08-193-5/+5
|/ | | | | | | | The settings where combined last minute but at the same time the activities where not adjusted to map an existing setting so the filter was not possible to even limit it to the types that the activities had. Signed-off-by: Joas Schilling <coding@schilljs.com>
* performance optimisation for carddav backend blob data readAnna Larch2022-08-151-1/+6
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan2022-08-081-1/+1
|\ | | | | Remove OCP\App and OCP\BackgroundJob
| * Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix dynamic property creations in test filesCôme Chilliet2022-08-011-1/+1
| | | | | | | | | | | | This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Multiple fixesCarl Schwan2022-07-313-27/+28
| | | | | | | | | | | | | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Block download when needed on direct download endpointVincent Petry2022-07-281-1/+15
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix view-only code after code review commentsVincent Petry2022-07-283-6/+6
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Add nc:share-attributes Webdav propertyVincent Petry2022-07-282-0/+26
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix share attribute related tests + code styleVincent Petry2022-07-281-0/+1
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Add share attributes + prevent download permissionVincent Petry2022-07-283-0/+125
|/ | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #32956 from nextcloud/fix/upload-folder-wrong-contentVincent Petry2022-07-271-5/+16
|\ | | | | Handle file contained inside the uploads folder
| * Handle file contained inside the uploads folderCarl Schwan2022-06-211-5/+16
| | | | | | | | | | | | Fix #32450 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix typos in apps/dav subdirectoryluz paz2022-07-2612-13/+13
| | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./apps/dav` Signed-off-by: luz paz <luzpaz@github.com>
* | Merge pull request #33251 from ↵Anna2022-07-261-13/+58
|\ \ | | | | | | | | | | | | cneukom/feature/birthday-calendar-reminder-settings Birthday Calendar Reminder Setting
| * | fix possibly null variablesCédric Neukom2022-07-171-1/+8
| | | | | | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
| * | Respect user settings when generating alerts for birthday calendarCédric Neukom2022-07-171-13/+51
| | | | | | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
* | | Don't try to purge objects from the birthday calendar when it doesn't existThomas Citharel2022-07-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists). Closes #29617 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #32869 from nextcloud/dav-no-deleted-user-activitiesblizzz2022-07-232-2/+23
|\ \ \ | |/ / |/| | Avoid calendar & addressbook activities being created on user being deleted
| * | Avoid calendar & addressbook activities being created on user being deletedThomas Citharel2022-06-142-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire. This can probably lead to old activities being visible for a new user created with the same uid. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #33118 from nextcloud/fix/address-book-exportblizzz2022-07-081-0/+4
|\ \ \ | | | | | | | | Fix empty address books being exported
| * | | Fix empty address books being exportedChristopher Ng2022-07-051-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | catch any exception for transaction controlArthur Schiwon2022-07-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #33090 from ↵Carl Schwan2022-07-041-54/+76
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/noid/proppatch-properties-transaction-rollback DAV custom props: catch Exception and rollback transaction in case
| * | | DAV custom props: catch Exception and rollback transaction in caseArthur Schiwon2022-07-011-54/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - before exceptions were not caught, a started transaction might not have been finished - also resolve depractions and use IQueryBuilder Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Inject userId directlyJoas Schilling2022-07-011-7/+6
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Remove unused importJoas Schilling2022-07-011-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add UI to opt-in on the status automationJoas Schilling2022-07-011-0/+25
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add status automationJoas Schilling2022-07-011-2/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Fix determination of cron job runJoas Schilling2022-07-011-8/+91
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | User status automation background jobJoas Schilling2022-07-013-0/+161
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>