aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | feat(UserMigration)!: 32-bit supportChristopher Ng2023-05-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | | | | | | | | Merge pull request #37838 from nextcloud/event-logger-httpRobin Appelman2023-05-091-4/+17
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | log performance events for http requests
| * | | | | | | | | | | log performance events for http requestsRobin Appelman2023-04-281-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | Merge pull request #38088 from nextcloud/fix/38053/change-display-nameArthur Schiwon2023-05-091-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | fix(user): Can change display name
| * | | | | | | | | | | fix(user): Can change display nameChristopher Ng2023-05-041-1/+1
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-092-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | Merge pull request #36895 from apasov/patch-1Arthur Schiwon2023-05-081-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix json_decode expecting a string
| * | | | | | | | | | | Update Checker.phpIlya Apasov2023-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
* | | | | | | | | | | | Merge pull request #38097 from ↵Joas Schilling2023-05-081-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/38087/dont-translate-when-from-and-to-are-equal fix(translation): Don't use translation providers when from and to ar…
| * | | | | | | | | | | | fix(translation): Don't use translation providers when from and to are the sameJoas Schilling2023-05-051-0/+4
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | | | | | Merge pull request #38102 from ↵Joas Schilling2023-05-081-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/feature/noid/add-messageid-to-talk-richobject-definition Add messageId to richObject definition of Talk
| * | | | | | | | | | | | Add messageId to richObject definition of TalkMarcel Müller2023-05-051-0/+6
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* | | | | / / / / / / / Fix(l10n): Update translations from TransifexNextcloud bot2023-05-06126-376/+376
| |_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | Remove version check for ancient libxml versionjld31032023-05-051-14/+0
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | | | | | | | Merge pull request #35092 from Messj1/bugfix/type-error-cert-manager-cache-pathJohn Molakvoæ2023-05-041-5/+12
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | |
| * | | | | | | | | [BUGFIX] throw exception instead of error if unable to create file handler ↵Jan Messer2023-04-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (only exceptions are catch) Signed-off-by: Jan Messer <jan@mtec-studios.ch>
| * | | | | | | | | [BUGFIX] check return value and improve error handlingJan Messer2023-04-061-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error. This commit improves the handling in CertificateManager and log unexpected behaviors. Signed-off-by: Jan Messer <jan@mtec-studios.ch>
* | | | | | | | | | Merge pull request #37865 from nextcloud/info-file-spaceRobin Appelman2023-05-042-0/+4
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | | add command to summarize space usage
| * | | | | | | | | add option to list all files instead of limitingRobin Appelman2023-05-042-0/+4
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | Merge pull request #37148 from nextcloud/enh/noid/increase-imaginary-timeoutsSimon L2023-05-041-0/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | increase imaginary timeouts as for big files the processing could take very long
| * | | | | | | | increase imaginary timeouts as for big files the processing could take very longSimon L2023-03-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | | | | | | Merge pull request #38046 from nextcloud/bugfix/noid/abort-dav-requests-with-429Joas Schilling2023-05-041-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | fix(dav): Also throw in basic auth requests
| * | | | | | | | | fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | | | Merge pull request #38016 from nextcloud/oracle-limit-workaroundDaniel2023-05-031-0/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | fix: add workaround for oci and limit queries
| * | | | | | | | | fix: add workaround for oci and limit queriesDaniel Kesselberg2023-05-021-0/+1
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DBAL uses a helper column "doctrine_rownum" for top-n queries Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | | | Merge pull request #37937 from nextcloud/artonge/feat/remove_non_existing_jobsArthur Schiwon2023-05-031-1/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove job from oc_jobs when the file is not findable
| * | | | | | | | | Remove job from oc_jobs when the file is not findableLouis Chemineau2023-05-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an application is disabled, or when a background jobs is removed by the app developer, then the job won't be found. In those cases, it makes sense to remove those jobs from oc_job. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | | | | Merge pull request #38003 from nextcloud/bugfix/noid/improve-translations-apiJoas Schilling2023-05-035-8/+65
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | Improve translations api with detecting languages
| * | | | | | | | | feat(translation): Return the detected language so clients can show more detailsJoas Schilling2023-05-025-5/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | | | | | fix(translation): Detect the language first and then ask all providers for ↵Joas Schilling2023-05-021-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | | | Merge pull request #37943 from nextcloud/fix/fix-getcontent-return-typeArthur Schiwon2023-05-0310-13/+16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix file_get_content signatures to make it clear it can return false
| * | | | | | | | | | Fix file_get_content signatures to make it clear it can return falseCôme Chilliet2023-04-2710-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In File::getContent, which must return a string, throw an Exception instead of returning false. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | | | | Merge pull request #33106 from nextcloud/feature/update-expire-dateArthur Schiwon2023-05-031-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | Update expire_date column of table comments
| * | | | | | | | | | Update expire_date column of table commentsVitor Mattos2023-04-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | | | | | | | | Merge pull request #32866 from ↵Côme Chilliet2023-05-0210-60/+130
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/performance/searchInGroup-displayname-cache Optimize retrieving display name when searching for users in a group
| * | | | | | | | | | Fix tests, and fix Group::searchUsers to avoid duplicatesCôme Chilliet2023-05-021-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also went back to searchUsers indexing the array by uid as it was the previous behavior and the IGroup phpdoc does not say anything about the keys. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Update version number in since and deprecated annotationsCôme Chilliet2023-04-274-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Clear up return typesCôme Chilliet2023-04-275-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usersInGroup index by int for BC, searchInGroup index by uid (string). Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Let OC\Group\Group handle the fallback and remove default implementation ↵Côme Chilliet2023-04-271-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from ABackend Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Make code clearer and bump @ deprecated annotationsCôme Chilliet2023-04-272-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Split new method in a new group backend interfaceCarl Schwan2023-04-279-90/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better for backward compatibility, also move new interfaces to nc 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | | | | | | Optimize retrieving display name when searching for users in a groupCarl Schwan2023-04-277-33/+126
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is recurrent scenario that we are searching for users and then for each users we fetch the displayName. This is inefficient, so instead try to do one query to fetch everything (e.g. Database backend) or use the already existing DisplayNameCache helper. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | | | | | Merge pull request #38014 from nextcloud/norm-logicSimon L2023-05-021-13/+13
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Normalize logical operators
| * | | | | | | | | | Normalize logical operatorsGit'Fellow2023-05-021-13/+13
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* / | | | | | | | | allow storing multiple mounts for the same rootid in the mount cacheRobin Appelman2023-04-283-17/+21
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache, however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache. Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything. With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant. While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | fix(psalm): systemtagsJohn Molakvoæ2023-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | | | | | | fix: Empty fallback for template creator action labelJulius Härtl2023-04-271-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / / / / / / Create new file/folder labelsChristopher Ng2023-04-271-1/+21
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | | | | | Merge pull request #37925 from nextcloud/feat-update-maintenance-mode-hintDaniel2023-04-261-7/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | fix: change maintenance mode info wording
| * | | | | | | fix: change maintenance mode info wordingDaniel Kesselberg2023-04-261-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>