aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #38065 from nextcloud/fix-result-mimetype-loaderSimon L2023-05-161-16/+10
|\ \ \ \ | | | | | | | | | | fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
| * | | | fix(mimetype): Fix returning value when finding existing mimetype in ↵Thomas Citharel2023-05-041-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MimeType Loader Also, only return the ID from the transaction as the mimetype string is already used from the function argument value Fixes https://github.com/nextcloud/server/pull/35744/files#r1184644610 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | Merge pull request #38274 from ↵Joas Schilling2023-05-161-22/+30
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | nextcloud/bugfix/noid/reach-max-delay-in-afterController fix(middleware): Also abort the request when reaching max delay in af…
| * | | | fix(middleware): Also abort the request when reaching max delay in ↵Joas Schilling2023-05-151-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afterController Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-162-0/+48
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #38196 from nextcloud/fix/fix-32bits-freespace-and-sizesCôme Chilliet2023-05-157-14/+17
|\ \ \ \ | |/ / / |/| | | Get rid of more int casts in file size manipulations
| * | | Fix return types in phpdocCôme Chilliet2023-05-155-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Get rid of more int casts in file size manipulationsCôme Chilliet2023-05-113-9/+12
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #32961 from nextcloud/more-debug-lazyuserfolderCôme Chilliet2023-05-152-6/+18
|\ \ \ \ | | | | | | | | | | Make it easier to debug issue #32304
| * | | | Add back missing slash in LazyUserFolder pathCôme Chilliet2023-05-091-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | | Make it easier to debug issue #32304Carl Schwan2023-05-042-7/+19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | fix: Do not attempt to use l10n files as sources for combined js filesJulius Härtl2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-152-2/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-142-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #37709 from nextcloud/bugfix/deadlockJulius Härtl2023-05-132-2/+11
|\ \ \ \ \
| * | | | | fix: Check for wrapped retriable exceptionsJulius Härtl2023-05-022-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #37621 from nextcloud/enh/lock-readable-pathJulius Härtl2023-05-131-0/+3
|\ \ \ \ \ \
| * | | | | | fix: Wrap filesystem LockedExceptions for holding the readable pathJulius Härtl2023-05-021-0/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-132-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #36592 from nextcloud/groupmanager-search-typingRobin Appelman2023-05-124-11/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix default values and type hints for GroupManager::search
| * | | | | | fix: getGroups limit check syntaxJohn Molakvoæ2023-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | | | | revert public interface back to the original types, just cast them before ↵Robin Appelman2023-05-112-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passing the nulls to the backends Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | also update groupinterface and database backendRobin Appelman2023-05-112-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | fix default values and type hints for GroupManager::searchRobin Appelman2023-05-112-3/+3
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | ints really are ints Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | feat(users): Store and load a user's managerChristoph Wurst2023-05-123-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #38207 from nextcloud/fix/jsresourcelocator-l10n-handlingJohn Molakvoæ2023-05-121-9/+16
|\ \ \ \ \ \
| * | | | | | fix(JSResourceLocator): Handle missing translations silentlyFerdinand Thiessen2023-05-111-9/+16
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / / / / / Fix(l10n): Update translations from TransifexNextcloud bot2023-05-1222-246/+32
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #33381 from luzpaz/fix/lib-public-typosJohn Molakvoæ2023-05-1119-22/+22
|\ \ \ \ \
| * | | | | Fix typos in lib/public subdirectorySimon L2023-05-1019-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | | | | | Merge pull request #37961 from nextcloud/poc/noid/systemtags-perfArthur Schiwon2023-05-116-54/+176
|\ \ \ \ \ \ | | | | | | | | | | | | | | SystemTags endpoint to return tags used by a user with meta data
| * | | | | | refactor: remove where specification from SELECT getterArthur Schiwon2023-05-103-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - search constraints are now fully in control of SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids duplication of a WHERE statement Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | | | refactor: remove SystemTag logic from Folder into QuerySearchHelperArthur Schiwon2023-05-095-52/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is moved to Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | | | feat: specify media type via url path: systemtags-current/$mediaTypeArthur Schiwon2023-05-092-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - only the media part of the mime type can be search, but not the full mime type. It can be added, should it become necessary. - thus fixes previously hardcoded selector for image/ types - also fixes a return type hint - adds a return type hint Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | | | PoC: SystemTags endpoint to return tags used by a user with meta dataArthur Schiwon2023-05-093-46/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target case is photos app: when visiting the tags category, all systemtags of the whole cloud are retrieved. In subequent steps the next tag is requested until the browser view is filled with tag tiles (i.e. previews are requested just as well). With this approach, we incorpoate the dav search and look for user related tags that are used by them, and already returns the statistics (number of files tagged with the respective tag) as well as a file id for the purpose to load the preview. This defaults to the file with the highest id. Call: curl -s -u 'user:password' \ 'https://my.nc.srv/remote.php/dav/systemtags-current' \ -X PROPFIND -H 'Accept: text/plain' \ -H 'Accept-Language: en-US,en;q=0.5' -H 'Depth: 1' \ -H 'Content-Type: text/plain;charset=UTF-8' \ --data @/home/doe/request-systemtag-props.xml With request-systemtag-props.xml: <?xml version="1.0" encoding="UTF-8"?> <d:propfind xmlns:d="DAV:"> <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"> <oc:id/> <oc:display-name/> <oc:user-visible/> <oc:user-assignable/> <oc:can-assign/> <nc:files-assigned/> <nc:reference-fileid/> </d:prop> </d:propfind> Example output: … <d:response> <d:href>/master/remote.php/dav/systemtags/84</d:href> <d:propstat> <d:prop> <oc:id>84</oc:id> <oc:display-name>Computer</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>42</nc:files-assigned> <nc:reference-fileid>924022</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> <d:response> <d:href>/remote.php/dav/systemtags/97</d:href> <d:propstat> <d:prop> <oc:id>97</oc:id> <oc:display-name>Bear</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>1</nc:files-assigned> <nc:reference-fileid>923422</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> … Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | | Merge pull request #37691 from nextcloud/object-store-background-scanJohn Molakvoæ2023-05-116-92/+112
|\ \ \ \ \ \ \
| * | | | | | | repair -1 folder sizes for object store background scanRobin Appelman2023-05-106-92/+112
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #36118 from ↵Anna2023-05-102-0/+28
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | nextcloud/fix/caldav/invitation-outlook-compatibilty Fix calendar emails to be outlook compatible
| * | | | | | Fix calendar emails to be outlook compatibleAnna Larch2023-02-212-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-1074-74/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | Merge pull request #36893 from nextcloud/fix/avoid-file-events-on-null-pathCôme Chilliet2023-05-091-1/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Make sure to never trigger files hooks on a null path
| * | | | | | | Make sure to never trigger files hooks on a null pathCôme Chilliet2023-05-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | Merge pull request #38140 from nextcloud/enh/noid/adjust-wording-update-hintLouis2023-05-091-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | adjust wording for update hint when files of a specific app are not there
| * | | | | | | | adjust wordingSimon L2023-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * | | | | | | | adjust wording for update hint when files of a specific app are not thereSimon L2023-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | | | | | | Merge pull request #38095 from nextcloud/artonge/fix/file_metadata_scanJohn Molakvoæ2023-05-092-4/+34
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Restrict EXIF extracting to a subset of formatsLouis Chemineau2023-05-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | | | | | | | Prevent error on files scan if metadata existsLouis Chemineau2023-05-091-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | | | | Merge pull request #38104 from nextcloud/feat/um-32-bitPytal2023-05-091-1/+2
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | feat(UserMigration)!: 32-bit supportChristopher Ng2023-05-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>