Commit Graph

23289 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Joas Schilling ecb111cec7
fix(federation): Allow cloud federation providers to handle unsuccessful return codes
Otherwise they are put to retry and will immediately trigger bruteforce protection infinitely

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-28 10:20:55 +07:00
Joas Schilling 6f95febe17
Merge pull request #43646 from nextcloud/feat/noid/occ-keys-test-command
Add user:keys:verify command
2024-02-28 09:20:04 +07:00
Greta b2751b57f9
Merge pull request #43209 from nextcloud/enh/edit-indices
feat(occ): add possibility to edit indices
2024-02-28 09:05:23 +07:00
hopleus 2c79492f68
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-28 07:47:43 +07:00
Nextcloud bot 7560415105
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 00:28:25 +07:00
Marcel Müller e23e89f384 feat(occ): Add user:keys:test command
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-02-27 22:43:08 +07:00
MichaIng 7b137ddd75 feat(updater): hide overwrites from disabled apps list on upgrade
If an incompatible app is enabled manually, it is added to the "app_install_overwrite" array in config.php. Nextcloud upgrades won't disable any app in this array, but they were still shown on the upgrade page and logs as being disabled.

This commit assures that only apps which are really disabled, i.e. which are not in the "app_install_overwrite" array, are shown and logged as disabled during upgrades.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-02-27 20:19:56 +07:00
Claus-Justus Heine 493333036b fix(collaboration): collaboration MailPlugin: Protect access to a potentially missing array component by ??.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2024-02-27 17:50:51 +07:00
Joas Schilling e5b0c06b24
feat(comments): Allow mentions of federated users, groups and teams in the future
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-27 17:11:23 +07:00
Unpublished 4af1c5cb33 Add .aac mime type mapping
Signed-off-by: Unpublished <Unpublished@users.noreply.github.com>
2024-02-27 14:44:23 +07:00
Robin Appelman 96942e436b
fix: update "move into share" check to share manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-27 14:15:23 +07:00
Johannes Merkel 06d076410a
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-27 11:03:08 +07:00
hopleus bc4f5c19f2
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-27 10:38:18 +07:00
Nextcloud bot 6ee590b71d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 00:19:42 +07:00
Robin Appelman d0ebe36906
fix: remove old test-only methods
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-26 18:46:35 +07:00
hopleus 6fd56a955c
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-26 16:49:21 +07:00
Benjamin Gaussorgues 3f269782aa
Merge pull request #43428 from nextcloud/feat/share-expiration-with-time 2024-02-26 10:07:41 +07:00
Julius Härtl 7e0899aaaf
fix: Avoid unitialized access of fts manager properties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:57:13 +07:00
hopleus f2f2a64ad7
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-26 09:37:24 +07:00
Nextcloud bot 34c9bfc767
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 00:20:35 +07:00
John Molakvoæ b080113fdd
Merge branch 'master' into fix/42480/user-admin-not-admin
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-24 19:31:22 +07:00
Richard Steinmetz f2e6abadbf
feat: theme error page
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-24 18:28:28 +07:00
John Molakvoæ 1d8d43f159
Merge pull request #43787 from nextcloud/fix/opendir-temporary-failure 2024-02-24 17:38:55 +07:00
John Molakvoæ d6df5b5a70
Merge pull request #41910 from nextcloud/debug-force-full-fs-setup 2024-02-24 17:25:29 +07:00
Robin Appelman ac7f3ee985 add a debug option to force a full filesystem setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-24 11:55:20 +07:00
Robin Kluth 414f8f1f2d Include `hostName:$port` for Host access violation message as well
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
2024-02-24 11:34:34 +07:00
Robin Kluth 25c0021137 Log Host/IP in `LocalServerException` for `Host violates local access rules`
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
2024-02-24 11:34:34 +07:00
Robin Kluth d70cd5add2 Log Host/IP in `LocalServerException` for `Host violates local access rules`
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
2024-02-24 11:34:34 +07:00
Nextcloud bot ba866cd4a8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-24 00:19:43 +07:00
John Molakvoæ 5207274148
Merge pull request #43529 from nextcloud/enh/noid/leave-log-early-if-no-crash-reporter 2024-02-23 21:56:13 +07:00
John Molakvoæ b1720970b0
Merge pull request #43187 from hschletz/patch-1 2024-02-23 21:53:05 +07:00
John Molakvoæ 09b1f049bd
Merge pull request #40135 from summersab/refactor/OC-Server-getEventLogger 2024-02-23 21:38:07 +07:00
John Molakvoæ 1629b4103d
Merge pull request #38996 from fsamapoor/refactor_lib_private_fulltextsearch 2024-02-23 19:38:36 +07:00
John Molakvoæ edc35f74c7
Merge pull request #42893 from nextcloud/file-info-key-location 2024-02-23 19:36:25 +07:00
John Molakvoæ 04cb02b968
Merge pull request #32429 from nextcloud/fix/profiler-data-loca 2024-02-23 19:26:38 +07:00
John Molakvoæ bc3061d61e
Merge pull request #39173 from shdehnavi/refactor_lib_private_ocs 2024-02-23 19:24:51 +07:00
John Molakvoæ c4975b363e
Merge pull request #39299 from shdehnavi/refactor_lib_private_app 2024-02-23 19:24:32 +07:00
John Molakvoæ d0f7156c96
Merge pull request #42045 from nextcloud/enh/early-exception-print
feat: Print early exceptions in debug mode instead of plain error pages
2024-02-23 19:24:13 +07:00
John Molakvoæ f303e95fb4
Merge pull request #40126 from summersab/refactor/OC-Server-getTrustedDomainHelper 2024-02-23 19:00:05 +07:00
John Molakvoæ 0348ad5e0d
Merge pull request #40111 from summersab/refactor/OC-Server-getAppFetcher 2024-02-23 18:59:43 +07:00
John Molakvoæ 18434d1ef3
Merge pull request #38562 from nextcloud/redis-default-ttl 2024-02-23 18:37:15 +07:00
John Molakvoæ b0b4c7e042
Merge pull request #30417 from nextcloud/sualko-patch-1 2024-02-23 16:16:55 +07:00
Julius Härtl 22eab7ba36
fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-23 16:08:09 +07:00
John Molakvoæ 6c837fd51e
Merge pull request #39607 from FedericoHeichou/fix-double-dots-with-pipe-sendmail 2024-02-23 15:59:26 +07:00
hschletz b277841cb4 Fix data type in FilesMetadata::setIntList()
FilesMetadata::setIntList() throws an exception because it uses the incorrect type IMetadataValueWrapper::TYPE_STRING_LIST instead of IMetadataValueWrapper::TYPE_INT_LIST.

Signed-off-by: hschletz <holger.schletz@web.de>
2024-02-23 15:58:51 +07:00
Julius Härtl efc3d76e43 feat: Print early exceptions in debug mode instead of plain error pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-23 15:57:20 +07:00
Hamid Dehnavi 09b3702c3b Refactor lib/private/ocs
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Refactor lib/private/ocs

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Refactor lib/private/ocs

Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Add adjustments based on the review

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

replace qualifier with an import

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

refactor lib/private/OCS

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:54:03 +07:00
Hamid Dehnavi cf17db2fe6 Fix psalm errors
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:53:41 +07:00
Hamid Dehnavi b6ef67edfc Make adjustments based on the psalm review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:53:41 +07:00
Hamid Dehnavi 7a8d79b85c Fix code style
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:53:41 +07:00
Hamid Dehnavi 84749d53a9 Refactor lib/private/App
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:53:41 +07:00
Andrew Summers e69ca0632a Refactor `OC\Server::getEventLogger`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-02-23 15:49:01 +07:00
Andrew Summers 55eb6048fa Refactor `OC\Server::getTrustedDomainHelper`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-02-23 15:45:40 +07:00
Andrew Summers f461c79c58 Refactor `OC\Server::getAppFetcher`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-02-23 15:43:46 +07:00
Robin Appelman cc3c7c24a1 set a default and max ttl for redis keys
having infinite TTL can lead to leaked keys as the prefix changes with version upgrades

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-23 15:41:51 +07:00
Carl Schwan 6ad335e229 Fix location of the profiler data
This prevents collision with an user who could be named 'profiler'

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2024-02-23 15:30:18 +07:00
Klaus 747aeded9d fix xml ocs response for serializable objects
Signed-off-by: sualko <klaus@jsxc.org>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-23 14:49:22 +07:00
Benjamin Gaussorgues 01983d50d4
feat(share): save date and time for expiration
Because of timezones, not saving time can lead to unexpected behaviour
when sharing an item sooner than timezone offset
Example: sharing a file before 9am when in UTC+9

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-22 11:26:01 +07:00
provokateurin df6175ccb1
feat(AppFramework): Add Route attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-02-21 12:07:50 +07:00
provokateurin 66e7056c5e
fix(Routing): Only use lowercase names for registering and matching routes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-02-21 12:07:50 +07:00
hopleus b7527af8be
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-21 11:18:00 +07:00
Joas Schilling fd679e2018
fix(notifications): Help finding missing notifications by logging it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-20 16:03:42 +07:00
Arthur Schiwon c98b0462e3 fix(admin role): fix old and wrong way to determine whether user is admin
- fixes Settings knowing who is an admin of non-local group backend groups
- obsoletes and removes a little old, deprecated code
- double checks proper parameter type on Group\Manager::isAdmin
- also fixes legacy OC_User code to check whether user is an admin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-02-19 18:57:22 +07:00
hopleus b104306367
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-19 20:29:30 +07:00
Johannes 1bc8129623
Merge pull request #43339 from nextcloud/fix/42588/remove-redundant-indices
fix(db): remove redundant indices in properties
2024-02-19 15:20:07 +07:00
Git'Fellow 827cda8599
Merge pull request #43637 from nextcloud/mb-convert-fix
Move away from deprecated utf8_encode() on PHP 8.2+
2024-02-19 15:11:11 +07:00
hopleus 1c085a96eb
Fixes for getting the file name in the cases when the file name key is received, but it is empty
Signed-off-by: hopleus <hopleus@gmail.com>
2024-02-19 16:25:43 +07:00
Christoph Wurst d52ebaa7cd
Merge pull request #43297 from nextcloud/fix/db/dirty-read-cool-off
fix(db): Let dirty writes cool off
2024-02-19 10:53:05 +07:00
Christoph Wurst 1f46e4b854
fix(db): Let dirty writes cool off
We can assume that after a few seconds a read will be clean again.
This is helpful for false warnings in long running processes.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-19 10:13:24 +07:00
Nextcloud bot 82af5cc592
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 00:19:00 +07:00
Johannes Merkel 21e8aadc1f
fix(db): remove redundant indices in properties
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-18 21:02:42 +07:00
Nextcloud bot 85f28856cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 00:19:47 +07:00
Git'Fellow d753d04760
Move away from deprecated utf_encode() on PHP 8.2+
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-17 21:37:34 +07:00
Nextcloud bot 0ed6d3032d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-17 00:19:03 +07:00
Robin Appelman bb87232882
Merge pull request #40555 from nextcloud/query-optimize-distribute
optimize query pattern used by storage filter
2024-02-16 11:24:35 +07:00
Robin Appelman 3890aa54be
add some comments for the distributive operation and add another test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-16 10:59:33 +07:00
Nextcloud bot fcfd530d2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-16 00:19:11 +07:00
Robin Appelman 1c87cee5ad
add extra flatten step to improve "or eq" -> "in" optimization
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-15 17:55:44 +07:00
Robin Appelman 63ffaab95e
fix types + autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-15 17:55:43 +07:00
Robin Appelman 7ca516773f
add a search query step to split IN statements that are to large for oci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-15 17:55:43 +07:00
Robin Appelman 2dcd0a8759
hopefully improve propagation of 'path eq hash' hint into 'in' statements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-15 17:55:42 +07:00
Robin Appelman 2e14a7a4a6
optimize query pattern used by storage filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-15 17:55:40 +07:00
Joas Schilling 9f38aabc06
Merge pull request #43552 from nextcloud/bugfix/noid/rfc7239-compatible-proxy-handling
fix(request): Handle reverse proxy setting a port in Forwarded-For
2024-02-15 15:29:47 +07:00
Christoph Wurst cf17a20835 fix(db): Give dirty read exception a message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-15 09:14:47 +07:00
Joas Schilling 3b0a9e6639
fix(OCP): Add since tag to all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-15 08:06:43 +07:00
Anupam Kumar c83a657652
Merge pull request #43355 from nextcloud/feat/ocp-link-reference-provider
feat: Migrate LinkReferenceProvider to OCP
2024-02-15 11:26:10 +07:00
Nextcloud bot 8cebd2b7c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-15 00:20:01 +07:00
Joas Schilling 42be7a5d74
fix(OCP): Add since tag for all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-14 20:50:08 +07:00
Joas Schilling f14949218c
fix(settings): Deprecate old things for real
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-14 20:50:07 +07:00
Maxence Lange 2232753b99 add hasListeners()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-14 14:02:28 +07:00
Joas Schilling 696ed4a125
fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-14 15:38:15 +07:00
Anupam Kumar 7329b83f92
feat: Migrate LinkReferenceProvider to OCP
This would be useful to eleminate the need for using this OC class
when an app dev wants to implement a custom reference provider
for the web client but wants to fall back on opengraph for mobile
clients.

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-02-14 18:22:19 +07:00
Julien Veyssier 6580bef319
Use the STT provider's exception message in the RuntimeException that will be caught by upper contexts
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-02-14 13:23:37 +07:00
Maxence Lange 9a299ed60b exit log() early if no crashreporter registered
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-14 09:40:21 +07:00
F. E Noel Nfebe 3fb1674251
Merge pull request #43461 from nextcloud/fix/get-rid-of-getlogger
chore: Migrate away from OC::$server->getLogger
2024-02-14 10:47:22 +07:00
Nextcloud bot fea2277b63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-14 00:19:31 +07:00
John Molakvoæ 524ed97d62
fix: replace `Account name` by `Login`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +07:00
John Molakvoæ 4a509dfe8e
fix: phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:06:31 +07:00
John Molakvoæ 9593f4d6f9
fix: openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:06:31 +07:00
Vincent Petry 839ddaa354
feat: rename users to account or person
Replace translated text in most locations

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +07:00
Côme Chilliet c0ce272e9c chore: Migrate away from OC::$server->getLogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-13 17:32:30 +07:00
Joas Schilling c4684089a8
fix(request): Fix regex handling and coding-style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-13 16:51:13 +07:00
Mikael Peigney ffcadf25d4
fix(request): Handle reverse proxy setting a port in Forwarded-For
Signed-off-by: Mikael Peigney <Mika56@users.noreply.github.com>
2024-02-13 16:51:13 +07:00
Anna Larch 6434ce96c9 Add timezone getter to ITimeFactory
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-13 13:29:06 +07:00
Arthur Schiwon fd04f058c8
Merge pull request #43542 from nextcloud/fix/db/long-transaction-exception-message
fix(db): Unify long transaction log/exception message
2024-02-13 10:13:14 +07:00
John Molakvoæ 56640c7fdd
Merge pull request #39889 from nextcloud/cache-di 2024-02-13 09:40:02 +07:00
Christoph Wurst aef28e191a
fix(db): Unify long transaction log/exception message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-13 08:17:49 +07:00
Alexander Piskun be260d2171
Merge branch 'master' into enh/speech-to-text-provider-with-userid 2024-02-13 09:56:30 +07:00
Andrey Borysenko 162537916b fix missing return statement, inline return
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-02-12 20:47:33 +07:00
Maxence Lange c1fc1b29bc
Merge pull request #43424 from nextcloud/enh/noid/debug-on-lazy-appconfig-loading
enh(appconfig): debug logs on lazy loadConfig
2024-02-12 18:12:54 +07:00
Maxence Lange 592012034e
Merge pull request #43370 from nextcloud/test-iappconfig
[IAppConfig] new tests
2024-02-12 18:09:13 +07:00
Robin Appelman e9d97a568f
use OCP\Server
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-12 16:39:00 +07:00
Maxence Lange 809e0fe923 fix phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-12 13:23:36 +07:00
Maxence Lange 3e58a2501f use exception for cleaner Trace
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-12 12:53:46 +07:00
Nextcloud bot 61f58e8043
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 00:19:03 +07:00
Nextcloud bot 2b1057721a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-11 00:19:34 +07:00
Git'Fellow b03199e1cb
Merge pull request #42991 from nextcloud/lowToInfo
Lower failed movie preview generation logs to level info
2024-02-10 13:46:27 +07:00
Git'Fellow 786894f15c Fix typo in var
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-09 14:41:26 +07:00
Robin Appelman e50c176428 also improe cache ci for shared cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-09 14:00:26 +07:00
Robin Appelman 7a91abb439 improve di performance for cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-09 13:28:30 +07:00
Robin Appelman 963721330f only get the path for the users cached mount info when we use it
most of the time we shouldn't need it so we can save joining on the filecache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-09 09:50:43 +07:00
Ferdinand Thiessen a37b6c7e5f
fix!: Remove deprecated `RegisterWidgetEvent`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:34:03 +07:00
Côme Chilliet 303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +07:00
Simon L 8fd2289058
Merge pull request #43357 from nextcloud/enh/41253/fix-occ-upgrade
fix(migration): Make naming constraint fail softer on updates
2024-02-08 18:27:39 +07:00
Ferdinand Thiessen cdf7840d00
Merge pull request #43454 from nextcloud/fix/cleanup-cron-php
Cleanup cron.php method calls
2024-02-08 16:21:02 +07:00
Louis Chemineau 898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
This reverts commit d9d60238c7, reversing
changes made to ba3fdb0cdc.
2024-02-08 15:31:19 +07:00
Côme Chilliet cf6a0e0833
chore: Deprecate OC_App::loadApps and add missing return type in Server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 14:34:01 +07:00
Côme Chilliet e78e27187a chore: Delete deprecated internal Job classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Côme Chilliet 65981f99bf chore: Migrate away from internal Job classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Côme Chilliet 166773879b fix!: Migrate jobs away from deprecated interfaces
BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Joas Schilling 487c33f479
fix(migration): Make naming constraint fail softer on updates
Only on installation we want to break hard, so that all developers notice
the bugs when installing the app on any database or CI, and can work on
fixing their migrations before releasing a version incompatible with Postgres.

In case of updates we might be running on production instances and the
administrators being faced with the error would not know how to resolve it
anyway. This can also happen with instances, that had the issue before the
current update, so we don't want to make their life more complicated
than needed.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-07 20:45:51 +07:00
Maxence Lange 70a229da50 redundant condition
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-07 12:24:57 +07:00
Maxence Lange 2122a81419 fix getAllValues() to filter values based on prefix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-07 12:24:57 +07:00
Maxence Lange ae8d6b6b69 debug lazy loadConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-07 08:35:00 +07:00
John Molakvoæ bea8bf9032
Merge pull request #43317 from nextcloud/fix/contacts-name 2024-02-07 10:23:22 +07:00
Robin Appelman 5ea69768b0
Merge pull request #41015 from nextcloud/background-scan-catch-storage-error
continue background scanning different storages if one fails
2024-02-07 10:06:32 +07:00
Ferdinand Thiessen 414a4caa65
Merge pull request #43361 from nextcloud/fix/add-missing-phpdoc-template-parameters
chore: Add missing ArrayAccess template parameters
2024-02-06 15:11:50 +07:00
Christoph Wurst 67a3ab48b5
Merge pull request #43131 from nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting
fix(files): Don't attempt to format a partial cache entry
2024-02-06 13:51:51 +07:00
Côme Chilliet f73f966c98 chore: Add missing ArrayAccess template parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-06 10:24:41 +07:00
Maxence Lange 8ba2cd4a07 returns non lazy value while searching for lazy
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-06 00:00:58 +07:00
Maxence Lange f910baf9f7
Merge pull request #43275 from nextcloud/enh/noid/no-exception-on-missing-key-updatelazy-updatesensitie
return false on AppConfigUnknownKeyException
2024-02-05 16:21:02 +07:00
Côme Chilliet d97567a7fd chore: Add references to phpdoc deprecation notice for IL10N
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet b2e9e0fa0d chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet 961ccee5f6 Make it clear in the deprecation comment that DI is preferred
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet 1332078be1 Use OCP\Util::getL10N instead of OC::$server->getL10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Git'Fellow 6f4d0fe79c Lower failed movie preview to info
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-03 18:52:05 +07:00
Ferdinand Thiessen 2c8aee8f99
fix(ContactsStore): Sanitize user ID given to guest avatar route
It is not allowed to use slashes within path parameters, so they would need to be encoded.
But URL encoded slashes are not suported by Apache, so instead replace slash with space.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:32:51 +07:00
Arthur Schiwon 8a4bd3b932
Merge pull request #40981 from nextcloud/fix/object-storage-user
fix(objectstorage): cleanup HomeObjectStoreStorage
2024-02-02 20:57:01 +07:00
Thomas Citharel 30798eb6c2
refactor(objectstorage): cleanup types
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 14:59:21 +07:00
Thomas Citharel 3be3dbdb3b
refactor(objectstorage): move $user property from ObjectStoreStorage class to HomeObjectStoreStorage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 14:59:21 +07:00