aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* perf(autoloader): Drop legacy class autoloaderChristoph Wurst2023-03-161-2/+0
| | | | | | | | The documentation says apps should use PSR-4 to get their classes loaded. The legacy PSR-0 is still in place and has a negative impact on performance. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-166-6/+10
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Reduce listJoas Schilling2023-03-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extend listJoas Schilling2023-03-151-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #35561 from nextcloud/create-user-transactionJulius Härtl2023-03-151-11/+18
|\
| * Create the database user in a transactionThomas Citharel2023-03-151-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In OC\User\Manager::createUserFromBackend the newly created user is read using getUserObject($uid, $backend) but that can cause causal read issues (wrote in DB primary, not yet in secondary). In OC\User\Database user backend the user cache is unset after the insert, so it can't be used by getRealUID() (which is called by getUserObject()). To avoid that we make sure the user cache is repopulated in a transaction. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #37227 from nextcloud/h1-dav-brute-force-protectionArthur Schiwon2023-03-151-10/+16
|\ \ | |/ |/| chore: use local variable for remote address
| * chore: use local variable for remote addressDaniel Kesselberg2023-03-101-10/+16
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #36033 from ↵Côme Chilliet2023-03-155-1/+56
|\ \ | | | | | | | | | | | | nextcloud/invalidateTokensWhenDeletingOAuthClientMaster [master] invalidate existing tokens when deleting an oauth client
| * | autoloadercheckerArtur Neumann2023-03-142-0/+2
| | | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
| * | added @since tagArtur Neumann2023-03-141-0/+4
| | | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
| * | public interface to invalidate tokens of userArtur Neumann2023-03-143-1/+50
| | | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-152-4/+6
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #33061 from ibpl/master-IB#1121253Côme Chilliet2023-03-141-7/+8
|\ \ \ | | | | | | | | Paths added to messages and message cleanup
| * \ \ Merge masterPawel Boguslawski2022-11-04264-1709/+4556
| |\ \ \
| * | | | Update Folder.phpPaweł Bogusławski2022-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
| * | | | Update Folder.phpPaweł Bogusławski2022-07-291-1/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
| * | | | Update lib/private/Files/Node/Folder.phpPaweł Bogusławski2022-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
| * | | | Paths added to messages and message cleanupPawel Boguslawski2022-07-291-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mod adds path to error messages. Without it it's difficult for example to find what path causes permission problems. Related: https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818 Related: https://help.nextcloud.com/t/could-not-create-folder-false-error/65962/ Author-Change-Id: IB#1121253 Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
* | | | | Merge pull request #37192 from n0emis/empty-passwordSimon L2023-03-141-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | Don't try to hash a nonexisting password
| * | | | Don't try to hash a nonexisting passwordEmber 'n0emis' Keske2023-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows to log-in via a passwordless authentication provider, eg SSO Signed-off-by: Ember 'n0emis' Keske <git@n0emis.eu>
* | | | | Merge pull request #37029 from ↵Côme Chilliet2023-03-131-7/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/chunk-objectids-in-systemtagobjectmapper Add chunking in SystemTagObjectMapper::getTagIdsForObjects
| * | | | | Add chunking in SystemTagObjectMapper::getTagIdsForObjectsCôme Chilliet2023-03-131-7/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This avoids crashing on Oracle with more than 1000 objects Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / / / / Introduced app enable/disable/update typed eventsThomas Citharel2023-03-138-10/+196
|/ / / / | | | | | | | | | | | | | | | | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-102-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-apiArthur Schiwon2023-03-096-3/+266
|\ \ \ \ | | | | | | | | | | Use MultipartUpload for uploading chunks to s3
| * | | | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-086-3/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #37140 from nextcloud/enh/35643/fix-heic-previewsSimon L2023-03-091-33/+32
|\ \ \ \ \ | | | | | | | | | | | | imaginary - fix autorotate for heic and improve the logic
| * | | | | imaginary - fix autorotate and improve the logicSimon L2023-03-091-33/+32
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | | Merge pull request #37070 from nextcloud/enh/noid/add-free-disk-space-checkSimon L2023-03-091-4/+6
|\ \ \ \ \ | | | | | | | | | | | | add a check for disk_free_space in Config.php
| * | | | | add a check for disk_free_space in Config.phpSimon L2023-03-071-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | | | Merge pull request #37116 from nextcloud/enh/37114/add-quotesSimon L2023-03-091-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | postgresql installation - add quotes around user names
| * | | | | | postgresql - add quotes around user namesSimon L2023-03-081-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix https://github.com/nextcloud/server/issues/37114 Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | | | Merge pull request #36609 from nextcloud/lazyuserfolder-mountpointArthur Schiwon2023-03-092-3/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | optimize LazyUserFolder::getMountPoint
| * | | | | | optimize LazyUserFolder::getMountPointRobin Appelman2023-02-132-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no need to do a full setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-094-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-084-0/+10
| |_|/ / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* | | | | | Merge pull request #32038 from ↵Joas Schilling2023-03-081-12/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/only-update-indexes-after-changing-all-mounts Add transaction around mass mounts operations
| * | | | | | Add transaction around mass mounts operationsJoas Schilling2023-03-071-12/+19
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-082-0/+8
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #37026 from nextcloud/fix/route-logsJoas Schilling2023-03-071-1/+4
|\ \ \ \ \ | | | | | | | | | | | | fix: Avoid log spam on 404 routes not using GET
| * | | | | fix: Avoid log spam on 404 routes not using GETJulius Härtl2023-03-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #36883 from nextcloud/fix/noid/gs-saml-pre-login-eventMaxence Lange2023-03-072-9/+29
|\ \ \ \ \ \ | | | | | | | | | | | | | | dispatch BeforeUserLoggedInEvent
| * | | | | | dispatch BeforeUserLoggedInEventMaxence Lange2023-03-012-9/+29
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | | fix: Use proper path for quota fetchingJulius Härtl2023-03-062-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-062-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #35872 from nextcloud/feature/noid/psr-clock-interfaceJoas Schilling2023-03-063-4/+45
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | feat(appframework): ⌚ Make ITimeFactory extend \PSR\Clock\ClockInterface
| * | | | | | | feat(appframework): ⌚ Make ITimeFactory extend \PSR\Clock\ClockInterfaceJoas Schilling2023-03-033-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-066-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | Merge pull request #37040 from nextcloud/techdebt/noid/remove-deprecated-classesJoas Schilling2023-03-056-108/+11
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | techdebt(workflowengine): Remove transition event classes