aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* feat: add nfo file supportfeat/nfoJohn Molakvoæ (skjnldsv)2024-09-181-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-09-184-16/+32
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #44013 from nextcloud/fieat/profile-pronouncesJohn Molakvoæ2024-09-184-18/+38
|\ | | | | feat: add pronouns to account profile
| * fix(core): profile design and pronouns supportfieat/profile-pronouncesJohn Molakvoæ (skjnldsv)2024-09-182-2/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-173-17/+36
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #45020 from Noodlesalat/fix-lastlogin-update-token-loginJohn Molakvoæ2024-09-171-0/+1
|\ \ | |/ |/|
| * fix: update last_login timestamp for token based-loginsFabian Dreßler2024-09-061-0/+1
| | | | | | | | | | | | fixes #31075 and maybe #32953 Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
* | fix(psalm): Fix @throws annotationsfix/psalm/throws-annotationsprovokateurin2024-09-175-5/+5
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #47986 from cfiehe/fix_move_on_same_bucketStephan Orbaugh2024-09-171-0/+5
|\ \ | | | | | | perf(ObjectStoreStorage): Improve (slow) move on same object bucket
| * | perf(ObjectStoreStorage): Improve (slow) move on same object bucketChristoph Fiehe2024-09-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage. The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder. Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
* | | fix: Remove legacy settings formschore/remove-legacy-settings-forsFerdinand Thiessen2024-09-172-45/+5
| | | | | | | | | | | | | | | | | | | | | | | | `OC_App::getForms` was always returning an empty array, because there were no setter for `adminForms` or `personalForms` anymore. So removed all that legacy settings forms logic. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #48129 from nextcloud/feat/zstJohn Molakvoæ2024-09-172-31/+80
|\ \ \
| * | | chore: update RepairMimeTypes migrationfeat/zstJohn Molakvoæ (skjnldsv)2024-09-172-31/+80
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #48080 from nextcloud/fix/storage/method-docs-inheritanceKate2024-09-1710-155/+16
|\ \ \ \
| * | | | fix(Storage): Fix method docs inheritancefix/storage/method-docs-inheritanceprovokateurin2024-09-1710-155/+16
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #48094 from nextcloud/fix/storage/get-owner-falseJohn Molakvoæ2024-09-1712-56/+63
|\| | | |
| * | | | fix(Files): Handle getOwner() returning falsefix/storage/get-owner-falseprovokateurin2024-09-174-12/+52
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | | | fix(Storage): Document getOwner() can return falseprovokateurin2024-09-179-44/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #48114 from nextcloud/fix/AppStore--remove-unneeded-warningJohn Molakvoæ2024-09-172-9/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | fix(appstoreFetcher): get app list from custom app storefix/AppStore--remove-unneeded-warningGrigorii K. Shartsev2024-09-172-8/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
| * | | | fix(appstoreFetcher): remove unneeded warningGrigorii K. Shartsev2024-09-171-1/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* | | | | Merge pull request #48110 from nextcloud/chore/remove-deprecated-aliasesCôme Chilliet2024-09-172-134/+4
|\ \ \ \ \ | | | | | | | | | | | | chore: Remove deprecated aliases from dependency injection
| * | | | | chore: Replace DI alias with real classchore/remove-deprecated-aliasesFerdinand Thiessen2024-09-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | | | chore: Remove deprecated aliases from dependency injectionCôme Chilliet2024-09-161-131/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-1740-0/+122
| |/ / / / |/| | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #48009 from ↵Côme Chilliet2024-09-1615-540/+61
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/remove-references-to-deprected-storage-interface fix: Remove OCP\Files\Storage interface deprecated since version 9
| * | | | | chore: Improve typing and phpdoc commentsCôme Chilliet2024-09-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: Check storage is an instance of the correct class instead of ↵fix/remove-references-to-deprected-storage-interfaceCôme Chilliet2024-09-161-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | psalm-suppress Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: Remove deprecated Storage::search method instead of moving it to IStorageCôme Chilliet2024-09-165-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: psalm-suppress legacy code weirdnessCôme Chilliet2024-09-161-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: Fix psalm issues, put back private versions of getter in private ↵Côme Chilliet2024-09-167-15/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: fix autoloadersCôme Chilliet2024-09-162-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | fix: Fix other uses of removed Storage interfaceCôme Chilliet2024-09-163-84/+23
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-162-447/+2
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #46480 from nextcloud/fix/mailer-binaryfinder-fallbackRobin Appelman2024-09-161-1/+4
|\ \ \ \ \ | |/ / / / |/| | | | fix(Mailer): Fix sendmail binary fallback
| * | | | fix(Mailer): Fix sendmail binary fallbackfix/mailer-binaryfinder-fallbackJosh2024-09-161-1/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | feat: add debug logging to sendmail binary finder Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | | Merge pull request #46218 from nextcloud/artonge/fix/hash_return_typeJohn Molakvoæ2024-09-162-1/+2
|\ \ \ \
| * | | | chore: improve hash_file php usage in Local Storageartonge/fix/hash_return_typeJohn Molakvoæ2024-09-161-8/+1
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | | fix(files): Ensure that the hash method does not return nullLouis Chemineau2024-09-162-2/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | To match https://github.com/nextcloud/server/blob/beececf66068f57c416225efcde9b44ce5c2e835/lib/private/Files/View.php#L1050 - Fix https://github.com/nextcloud/server/issues/44110 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #46140 from nextcloud/fix-nc-env-inclusionRobin Appelman2024-09-161-5/+13
|\ \ \ \ | | | | | | | | | | fix(config): Add missing handling for `envCache` in `getKeys()`
| * | | | Merge branch 'master' into fix-nc-env-inclusionfix-nc-env-inclusionRobin Appelman2024-09-16689-6142/+17362
| |\| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix: switch from explode to substr (faster)Josh Richards2024-07-081-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
| * | | | fix(config): Add missing handling for envCache in getKeys()Josh Richards2024-07-081-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NC_ env variable overrides were not appearing in the output of `occ config:list system` nor `occ config:system:get xxx`. This was creating nearly impossible to diagnose configuration/ behavior disprepancies. - Refactored readData() so that we aren't saving the entire environment in the envCache anymore (only those prefixed "NC_") and so that we save NC_ provided config values under their real key. - Refactored getValue() to accommodate readData() refactor - Fixed getKeys() to properly return envCache keys too Environment provided config variables now appear in `occ config:list system` as expected. Environment provided config variables now appear when queried via `occ config:system:get KEY` envCache is now free of non-NC stuff. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | | | Merge pull request #47316 from Farcry69/fix/metadata-refresh-crashJohn Molakvoæ2024-09-161-1/+1
|\ \ \ \ \
| * | | | | fix: Prevent crash when refreshing metadata for files without an ownerVincent FarZz2024-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout" Signed-off-by: Vincent FarZz <farcry69@live.fr>
* | | | | | feat: Make `CheckServerResponseTrait` public and provide as ↵feat/make-setup-check-trait-publicFerdinand Thiessen2024-09-163-0/+164
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `OCP\SetupCheck\CheckServerResponseTrait` This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Merge pull request #47852 from nextcloud/sharding-code-fixesJohn Molakvoæ2024-09-167-13/+13
|\ \ \ \ \
| * | | | | fix: misc code fixes around db shardingsharding-code-fixesRobin Appelman2024-09-097-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #48063 from nextcloud/bugfix/noid/fix-otf-loadingJoas Schilling2024-09-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix(a11y): Add OTF font loading check
| * | | | | | fix(a11y): Add OTF font loading checkbugfix/noid/fix-otf-loadingJoas Schilling2024-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>