Côme Chilliet
47d2cb7479
fix: Move \OC_Image to \OC\Image with the other internal classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Julius Härtl
6d04ad829b
Merge pull request #47581 from nextcloud/fix/audit-new-node
...
fix: Do not fail to get internal path on NonExistingFile
2024-08-29 15:43:21 +02:00
Josh
fef4295ef7
Merge pull request #47567 from nextcloud/jtr/fix-opcache-restricted-env
...
fix(config): Avoid error messages for restricted opcache API
2024-08-29 08:46:41 -04:00
Julius Härtl
61108882b9
fix: Do not fail to get internal path on NonExistingFile/NonExistingFolder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-29 12:43:44 +02:00
Nextcloud bot
d48c6aaaaa
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 00:21:09 +00:00
Andy Scherzinger
d404998157
Merge pull request #47515 from nextcloud/bugfix/noid/fix-migration-sorting
...
fix(migration): Correctly sort migrations by version number
2024-08-28 20:46:24 +02:00
Ferdinand Thiessen
17f011f7c5
fix: Also validate parent path in verifyPath
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen
08836696e2
fix: Allow read-only filename validation to allow reading files
...
Needed to read files with the "Windows compatibility" feature.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen
030c209d22
fix: Renaming does not need update but delete permissions
...
Renaming is basically copy + delete (a move), so no need to update permissions.
Especially if the node is in a invalid directory the node should be moveable but not editable.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Josh
3e434bcebf
fix(config): Avoid error messages for restricted opcache API
...
Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments.
Fixes #47562
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-28 08:20:25 -04:00
Stephan Orbaugh
b4d7498cfb
Merge pull request #46639 from nextcloud/autosharding
...
Transparent* database sharding
2024-08-28 11:22:44 +02:00
Louis Chemineau
2574cbfa61
chore: Apply php:cs recommendations
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 10:44:18 +02:00
Louis
c30c9d4158
Merge pull request #47511 from nextcloud/artonge/chore/is_encrypted_description
...
chore: Improve `FileInfo::isEncrypted` description
2024-08-28 10:35:09 +02:00
Robin Appelman
9d0248545d
fix: mark systemconfig value as not being tainted because they are implicitly trusted
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Robin Appelman
b21a399d1a
fix: implement sharding compatible cleanup for various bits
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Robin Appelman
cc091b150e
fix: fix share cleanup for deleted groups with sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:20 +02:00
Robin Appelman
2eaeeeeafe
fix: run mimetype repair query across all shards
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman
390f6a78b4
fix: hint storage id in more places
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman
fc05a67f19
fix: only allow pre-defined shards
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman
62f8b6517f
feat: implement distributing partitioned queries over multiple shards
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman
f5b3486744
feat: add option to automatically partition queries by specific tables
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:53 +02:00
Robin Appelman
c58bdbf378
fix: delay calculating global cache prefix untill a cache is created
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Robin Appelman
114db0558c
fix: don't make ICacheFactory depend on database
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Robin Appelman
c09ec95255
feat: track expected output columns in query builder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Ferdinand Thiessen
81c6c24cd5
fix: Adjust filename validation messages
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 23:12:24 +02:00
Elizabeth Danzberger
a740e60afc
Merge pull request #47290 from nextcloud/feat/checkbox-template-field-type
...
feat(templates): checkbox field type
2024-08-27 16:15:30 -04:00
Maxence Lange
e68f77ea6c
Merge pull request #47521 from nextcloud/fix/noid/loosing-systemconfig-on-setup
...
fix(logger): ignore session logging during setup
2024-08-27 18:10:16 -01:00
Elizabeth Danzberger
79d005e11f
feat(templates): add support for checkboxes in template filler
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 14:41:58 -04:00
Julien Veyssier
558877c842
Merge pull request #47522 from nextcloud/enh/noid/taskprocessing-runtask
...
[TaskProcessing] Add manager::runTask method
2024-08-27 17:53:20 +02:00
Joas Schilling
46c853146b
fix(migration): Correctly sort migrations by version number
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 16:25:10 +02:00
Daniel
11822def85
Merge pull request #47509 from nextcloud/fix/exif-orientation-type
...
fix: gracefully handle unexpected exif orientation types
2024-08-27 15:59:14 +02:00
Maxence Lange
9100b8757e
fix(setup): ignore long session login during installation
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-27 12:29:42 -01:00
Julien Veyssier
396b8f52f1
fix(taskprocessing): fix condition to reschedule SynchronousBackgroundJob
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 14:59:20 +02:00
Julien Veyssier
c1ed256d50
feat(taskprocessing): add IManager::runTask method to run task synchronously
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 13:11:51 +02:00
Kate
829642c9e5
Merge pull request #47508 from nextcloud/fix/router/attribute-routes-all-apps
2024-08-27 12:48:50 +02:00
Louis Chemineau
675c7fab78
chore: Improve isEncrypted description
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-27 10:52:35 +02:00
provokateurin
12b44844e1
fix(Router): Load attribute routes of all apps when not app is specified
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-27 10:42:47 +02:00
Christoph Wurst
bdcfe5b8a9
fix(db): Increase log level for very slow transactions
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-27 10:12:14 +02:00
Richard Steinmetz
cd928ed4ed
fix: gracefully handle unexpected exif orientation types
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-27 09:32:04 +02:00
Julius Härtl
6d2253e692
Merge pull request #46013 from nextcloud/obj-store-move-from-storage-preserve-fileid
...
fix: write object to the correct urn when moving from another storage to object store
2024-08-26 13:47:27 +02:00
Joas Schilling
36f272d03b
Merge pull request #47435 from phreaker0/fix-mail-template-class-call
...
fix(mailer): Call to custom mail_template_class
2024-08-26 08:58:00 +02:00
Nextcloud bot
23bbb31445
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 00:20:22 +00:00
Daniel Kesselberg
e88693a473
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 20:43:43 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00
Nextcloud bot
e97421f12a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 00:20:27 +00:00
Sebastian Krupinski
e5e795c935
Merge pull request #47452 from nextcloud/fix/issue-47447-mail-provider-documentation
...
fix: correct documentation for mail provider
2024-08-23 12:34:19 -04:00
SebastianKrupinski
b260dd0a9d
fix: correct documentation for mail provider
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 12:09:44 -04:00
Robin Appelman
4a3ade5d43
Merge pull request #46021 from nextcloud/middleware-delay-admin
...
perf: delay getting (sub)admin status for user in the security middleware untill we need it
2024-08-23 17:38:01 +02:00
Robin Appelman
3e7695235c
Merge pull request #45457 from nextcloud/qb-escape-like
...
expose escapeLikeParameter trough query builder
2024-08-23 17:08:58 +02:00
SebastianKrupinski
7363c4a403
fix: correct documentation for mail provider
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 10:26:40 -04:00
Robin Appelman
8b60df1600
perf: delay getting (sub)admin status for user in the security middleware untill we need it
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:26:40 +02:00
Robin Appelman
bd740ac0b0
fix: write object to the correct urn when moving from another storage to object store
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:22:16 +02:00
Robin Appelman
2f9f9e83e8
feat: add command to send raw commands to redis
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:14:15 +02:00
Robin Appelman
658d2f7ea1
feat: expose escapeLikeParameter trough query builder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:12:10 +02:00
Nextcloud bot
0cab17bfe7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 00:20:06 +00:00
Christoph Klaffl
ae787c5ef2
fix call to custom mail_template_class
...
Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
2024-08-22 19:39:23 +02:00
Ferdinand Thiessen
127cacdd19
feat(Security): Allow setting password context for validation and generation
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 19:16:50 +02:00
provokateurin
ebfbe99652
fix(files): Create non-existent parents of mountpoints
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-22 12:04:31 +02:00
Nextcloud bot
b33260a22c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 00:20:22 +00:00
Robin Appelman
c3ad469750
Merge pull request #47259 from nextcloud/memcache-ncad
...
feat: add negative compare-and-delete to imemcache
2024-08-21 17:19:04 +02:00
Ferdinand Thiessen
1992a6d72b
Merge pull request #47371 from nextcloud/fix/disable-auto-zoom-ios
...
fix: Disable auto-zoom on iOS
2024-08-21 14:32:16 +02:00
Andy Scherzinger
7290d9d7ca
Merge pull request #47352 from nextcloud/fix/context-write-wording
...
fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
2024-08-21 13:25:09 +02:00
Ferdinand Thiessen
d5140fe034
Merge pull request #47372 from nextcloud/fix/filename-validator
...
fix: `FilenameValidator::isForbidden` should only check forbidden files
2024-08-21 13:07:33 +02:00
Ferdinand Thiessen
c82b17d0a3
fix: Support Safari mobile
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 13:01:23 +02:00
Ferdinand Thiessen
ec00367f30
fix: Disable auto-zoom on iOS
...
When using iOS and focussing an input element the view should not be zoomed.
So if we set a maximum scale iOS will not auto-zoom but still allow users to zoom.
But we can not do this by default as this will disable user zoom on Chrome.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 13:01:18 +02:00
Joas Schilling
c07cf51beb
Merge pull request #47380 from nextcloud/bugfix/noid/make-logo-dimension-more-save
...
fix(theming): Make getImage() call save against missing non-SVG version
2024-08-21 12:01:44 +02:00
Joas Schilling
7fe62b9364
Merge pull request #47331 from nextcloud/skalidindi53/12351/Add-blurhash-to-richobjectstrings
...
fix: adding blurhash to definitions
2024-08-21 11:59:16 +02:00
Joas Schilling
dbbe2bbcb7
fix(theming): Make getImage() call save against missing non-SVG version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 10:30:25 +02:00
Marcel Klehr
c9ef3f72bc
fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-08-21 08:59:46 +02:00
Ferdinand Thiessen
b9cc7bcec7
fix: FilenameValidator::isForbidden should only check forbidden files
...
And not forbidden basenames as this is used for different purposes.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 04:16:14 +02:00
Robin Appelman
20dbb6c7e8
feat: add negative compare-and-delete to imemcache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 19:34:28 +02:00
Robin Appelman
3756152cb1
fix: use mountpoint from storage to find the encryption keys
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 13:32:03 +02:00
Robin Appelman
1071201052
feat: store the mountpoint of storages in the mount options
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 13:31:35 +02:00
Joas Schilling
3a6716895a
fix: adding blurhash to definitions
...
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 08:25:24 +02:00
Côme Chilliet
ba9638eae5
Merge pull request #47291 from nextcloud/refactor/log-php-8-1
...
refactor(Log): Use new in initializer instead of constructor body
2024-08-19 14:12:11 +02:00
Nextcloud bot
551ff4955e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:19 +00:00
Nextcloud bot
e06931854a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:22:56 +00:00
Ferdinand Thiessen
2ec68b1eb9
refactor(Log): Use new in initializer instead of constructor body
...
PHP 8.1 allows us to now move the `new` into the initializer,
this makes the code a bit nicer (and 3 lines shorter).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 18:38:28 +02:00
Nextcloud bot
dcdb4bbf8a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:22 +00:00
Robin Appelman
c8e09d158b
Merge pull request #47038 from nextcloud/reshare-fed-share
...
fix: check for correct storage class when checking for link parent
2024-08-16 17:15:28 +02:00
John Molakvoæ
62f9c26111
Merge pull request #39611 from FedericoHeichou/add-command-user-welcome
2024-08-16 15:47:51 +02:00
Robin Appelman
a92171260f
fix: check for correct storage class when checking for link parent
...
fixes #39123
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-16 13:13:31 +02:00
John Molakvoæ
13a72d0f0e
Merge pull request #38750 from whlsxl/postgres-install-error
2024-08-16 12:58:58 +02:00
John Molakvoæ
d94073de92
Merge pull request #38630 from joshtrichards/jr-readdir-false-false
2024-08-16 12:43:53 +02:00
Josh Richards
8032b6ac63
(base) Give a hint in web interface if SimpleXML (php-xml) is missing
...
Fixes #2180
And prevents #31473 , #23970 , #18610 , #15708
Avoids a 500 error and also gives a useful error message on the web interface if this module isn't installed, gets overlooked during a PHP upgrade, etc.
While we check for it later, it's too late for session.
Inspired by #17163
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-08-16 11:06:21 +02:00
Hailong Wang
67c52d202c
fix: use $this->tryCreateDbUser condition
2024-08-16 10:59:15 +02:00
Hailong Wang
f490a4e8c0
fix: postgresql GRANT user's permission after createDatabase, ensure database exist when GRANT
2024-08-16 10:57:11 +02:00
John Molakvoæ
d35c4eb911
Merge branch 'master' into jr-readdir-false-false
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-08-16 10:53:50 +02:00
FedericoHeichou
a41e2f01b7
feat: Add user:welcome command
...
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-08-16 10:11:29 +02:00
Nextcloud bot
f4f7c757d4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:07 +00:00
S1m
9189bc290b
feat(webauthn): Add user verification to webauthn challenges
...
Require user verification if all tokens are registered
with UV flag, else discourage it
Signed-off-by: S1m <git@sgougeon.fr>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-15 11:03:10 +02:00
Nextcloud bot
e218d1f98e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:25:46 +00:00
Ferdinand Thiessen
b582630715
fix(webauthn): Increase database column for public key id
...
* Resolves https://github.com/nextcloud/server/issues/34476
There is no maximum length defined in the standard,
most common the length is between 128 and 200 characters,
but as we store it not in plain data but base64 encoded the length can grow about 1/3.
We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64.
So to be save we increase the size to 512 bytes.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 22:12:54 +02:00
Christoph Wurst
7641e768b3
Merge pull request #45435 from nextcloud/feat/dav/upcoming-events-api
...
feat(dav): Add an API for upcoming events
2024-08-14 06:54:43 +02:00
Nextcloud bot
832a1420e2
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 00:20:23 +00:00
Christoph Wurst
370a9d77ea
feat(dav): Add an API for upcoming events
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-13 20:03:31 +02:00
Ferdinand Thiessen
3e409fd342
Merge pull request #43573 from nextcloud/HolgerHees-fix-csp-nonce-handling
...
Fix for ignored `CSP_NONCE` in ContentSecurity Header
2024-08-13 17:53:30 +02:00
Christoph Wurst
5100e3152d
feat(auth): Clean-up unused auth tokens and wipe tokens
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-13 12:39:11 +02:00
Côme Chilliet
142b6e313f
Merge pull request #47180 from nextcloud/fix/apply-group-limit-on-remove-from-group
...
Apply group limit on remove from group
2024-08-13 12:20:48 +02:00
Ferdinand Thiessen
2916e5df7e
feat: Provide CSP nonce as <meta> element
...
This way we use the CSP nonce for dynamically loaded scripts.
Important to notice: The CSP nonce must NOT be injected in `content` as
this can lead to value exfiltration using e.g. side-channel attacts (CSS selectors).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 10:32:44 +02:00