provokateurin
a3da7456a7
fix(Activity): Restrict IEvent rich object parameters type
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:37:54 +07:00
provokateurin
d0a827a684
fix(RichObjectStrings/Validator): Validate key value types of rich object parameters
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:36:33 +07:00
John Molakvoæ
0858ff7a07
Merge pull request #47834 from nextcloud/retAppsManDis
2024-09-10 16:31:17 +07:00
John Molakvoæ
4d3168fb24
fix(appstore): disabled appstore log level bump from debug to info
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-10 16:00:56 +07:00
Thomas Citharel
82ba7d763b
chore: Code cleanup in lib/private/Console/Application
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:05:59 +07:00
Thomas Citharel
c2150bd079
feat: Add mimetype into BeforePreviewFetchedEvent event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:05:06 +07:00
Richard Steinmetz
12ea0eb24a
Merge pull request #47858 from nextcloud/fix/preview/handle-no-local-file
...
fix(preview): gracefully handle file not being opened in ProviderV2
2024-09-10 13:24:44 +07:00
Julius Knorr
46a4a16eb6
fix: Only write once to template instead of create/copy
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-10 09:43:42 +07:00
Richard Steinmetz
bcf9f91893
fix(preview): gracefully handle file not being opened in ProviderV2
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-10 08:49:43 +07:00
Robin Appelman
508d8e7c01
fix: make swift connect exception message more informative
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-09 17:15:01 +07:00
Robin Appelman
da59fd4389
fix: misc code fixes around db sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-09 16:59:59 +07:00
provokateurin
d5e98cd190
fix(NavigationManager): Skip invalid default navigation entries
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
provokateurin
669641142b
fix(TemplateLayout): Use NavigationManager to get default app name
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
provokateurin
01ec6762a2
fix(URLGenerator): Use NavigationManager to generate default page URL
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
provokateurin
70ed08daf1
refactor(AppManager): Deprecated default apps handling
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
provokateurin
b0baaaed9d
feat(NavigationManager): Add default entries handling
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
Côme Chilliet
90a948506b
chore: Make parameter name more explicit
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
42c5a60c29
fix: Force 503 HTTP status code for maintenance mode on v1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
76d1b11bc9
chore: Deleted now unused classes from \OC\OCS
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
e184784f86
fix: Remove duplicated code in \OC\OCS\ApiHelper, use Response classes instead
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
4c9104ef08
fix: Move ApiHelper to \OC\OCS next to related classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
37569466de
fix: A bit of code cleanup in OC\AppFramework\OCS\ApiHelper
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
Côme Chilliet
ea32d17d88
fix: Move OC_API into \OC\ApiHelper in standard namespace
...
It’s only used by ocs/v1.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +07:00
provokateurin
70fa51f042
fix(files): Never return a null ETag in DAV
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 10:30:33 +07:00
Git'Fellow
2ac8d9a3db
fix(appstore): return if appstore is manually disabled
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: camel case
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: log a debug log
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: typing
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: typo
fix: typing
2024-09-09 09:56:22 +07:00
Fabian Dreßler
1d6cce8a25
fix: update last_login timestamp for token based-logins
...
fixes #31075 and maybe #32953
Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
2024-09-06 14:11:41 +07:00
rakekniven
b8774816f6
chore(i18n): Spelling of ID
...
Reported at Transifex
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-06 19:21:07 +07:00
Anupam Kumar
bb94b17959
fix(TaskProcessing): increase error_message column length
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 18:01:56 +07:00
Git'Fellow
a36738dbfc
chore(storage): refactor some code portions
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
chore: revert portion
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-06 12:44:48 +07:00
Ferdinand Thiessen
ba73beaac1
Merge pull request #47784 from nextcloud/fix/file-info
...
fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`
2024-09-06 12:18:30 +07:00
Ferdinand Thiessen
a96406086c
fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`
...
We are targetting PHP 8.1+, since PHP 8.0 `offsetGet` has the `mixed` types for `offset` and return value.
So this adds the types to correctly implement the interface.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:58:00 +07:00
Git'Fellow
0308001118
fix(files): Check if the target path is a descendant of the shared folder path
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: fix tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: add tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: tests
2024-09-05 23:54:01 +07:00
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +07:00
Louis Chemineau
843a47f12c
fix: Use sha256 to hash arguments of background jobs
...
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:36:51 +07:00
Marcel Müller
b2c2c93a03
fix(appstore): Cache apps.json also on dev instances
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-04 21:56:58 +07:00
Kate
09fef8f0ec
Merge pull request #47417 from nextcloud/fix/files/create-mountpoint-parents
2024-09-04 20:00:24 +07:00
John Molakvoæ
99b225f06b
Merge pull request #40164 from nextcloud/exceptionsTranslateShare
2024-09-04 09:50:49 +07:00
John Molakvoæ
8f825cbd16
Merge pull request #47155 from nextcloud/executeStatementOnDelete
2024-09-04 09:35:16 +07:00
Julius Härtl
3ca7480829
fix: Do not throw if appstore is unavailable during upgrade
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-04 09:31:13 +07:00
John Molakvoæ
7efd244956
Merge pull request #47675 from nextcloud/adapterQueryOpti
2024-09-04 09:15:52 +07:00
John Molakvoæ
f4aa2644ee
fix: adjust sharing controller exceptions case
...
Co-authored-by: F. E Noel Nfebe <fenn25.fn@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-04 09:03:45 +07:00
Git'Fellow
f250643e7a
fix(l10n): Translate all share exceptions
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Fix drone
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Fix tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 09:03:45 +07:00
Stefan Cherniakov
457eaee2b3
fix(files_sharing): Add missing check for null & use bool instead of int for reminder_sent field
...
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 17:23:31 +07:00
Stefan Cherniakov
d633b9bce6
fix(files_sharing): Make share reminders more stable & fix issues
...
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 13:37:17 +07:00
Stefan Cherniakov
5e4a166365
feat(files_sharing): reminder for link shares with expiration date
...
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 13:37:17 +07:00
John Molakvoæ
b7bd5b0012
Merge pull request #47650 from nextcloud/chore/cleanup-middleware
2024-09-03 09:21:43 +07:00
Kate
02a6f12bf9
Merge pull request #47676 from nextcloud/fix/ocp/image-interface
2024-09-02 16:11:26 +07:00
provokateurin
031166c177
fix(OCP): Fix Image interface
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-02 14:57:17 +07:00
Ferdinand Thiessen
bdce5921f6
chore(IConfig): `getUsersForUserValue` is returning a list
...
It is returning a list of strings so adjust the return typing
to reflect this (`list<string>` instead of `array`).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 12:27:06 +07:00
Julius Härtl
7f0d0cf03c
Merge pull request #47640 from nextcloud/fix/migrator-replica
...
fix: Run migration sql as statement so that the primary db node is used
2024-09-02 10:46:24 +07:00
Git'Fellow
8e6e7976d2
fix: psalm
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 10:19:25 +07:00
Git'Fellow
388f2973b9
fix: psalm
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 10:08:08 +07:00
Git'Fellow
dfcf3132dd
chore(db): Make the query more simpler to read
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 09:57:48 +07:00
Ferdinand Thiessen
deeccd12a3
chore: fix typo in `SameSiteCookieMiddleware`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 00:34:45 +07:00
Ferdinand Thiessen
92f3f7e2d2
chore: Remove unused `CsrfTokenManager` from `CSPMiddleware`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 00:34:41 +07:00
Julius Härtl
c3fa25a16e
fix: Run migration sql as statement so that the primary db node is used
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-30 15:45:50 +07:00
Marcel Klehr
95006d2b8e
Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"
...
This reverts commit d624c8da8f .
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Marcel Klehr
1e896a7307
fix(TextProcessing): Don't run taskProcessing if task type is not available
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Marcel Klehr
de117d4654
fix(SpeechToTextManager): Throw TaskProcessing Task failed
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Marcel Klehr
7be3a18f13
fix(TaskProcessing): Use OCP\Server::get instead of copying methods
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Julien Veyssier
04edeb510d
feat(speech-to-text): SpeechToTextManager::transcribeFile calls TaskProcessingManager::runTask
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Julien Veyssier
5ab0866341
feat(textprocessing): TextProcessingManager::runTask calls TaskProcessingManager::runTask
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +07:00
Andy Scherzinger
bfb5835750
Merge pull request #47546 from nextcloud/fix/files-view-error-messages
...
fix: Adjust filename validation messages
2024-08-29 23:28:50 +07:00
Arthur Schiwon
edaa4d1432
fix(DB): do not assume sharding is always enabled
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 19:55:10 +07:00
Arthur Schiwon
381e922085
fix(DB): set sharding parameters only when intended
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 19:12:44 +07:00
Côme Chilliet
1f46be7d69
fix(Image): Do not send empty Content-Type header
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +07:00
Côme Chilliet
b778f3de0a
fix(\OC\Image): Use new IAppConfig and type safe methods
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +07:00
Côme Chilliet
c67e54287a
fix(OC\Image): Fix all psalm spotted issues in the file
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +07:00
Côme Chilliet
e8c671fa8b
fix: Remove all references to OC_Image
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Louis Chemineau
2574cbfa61
chore: Apply php:cs recommendations
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 10:44:18 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman
fc05a67f19
fix: only allow pre-defined shards
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Ferdinand Thiessen
81c6c24cd5
fix: Adjust filename validation messages
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 23:12:24 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Kate
829642c9e5
Merge pull request #47508 from nextcloud/fix/router/attribute-routes-all-apps
2024-08-27 12:48:50 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman
658d2f7ea1
feat: expose escapeLikeParameter trough query builder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:12:10 +07: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 +07:00
provokateurin
ebfbe99652
fix(files): Create non-existent parents of mountpoints
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-22 12:04:31 +07: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 +07: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 +07: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 +07:00
Ferdinand Thiessen
c82b17d0a3
fix: Support Safari mobile
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 13:01:23 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Vincent FarZz
c2e1c9f8dc
fix: Prevent crash when refreshing metadata for files without an owner
...
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>
2024-08-18 20:03:32 +07: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 +07: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 +07:00
John Molakvoæ
13a72d0f0e
Merge pull request #38750 from whlsxl/postgres-install-error
2024-08-16 12:58:58 +07:00
Hailong Wang
67c52d202c
fix: use `$this->tryCreateDbUser` condition
2024-08-16 10:59:15 +07:00
Hailong Wang
f490a4e8c0
fix: postgresql GRANT user's permission after createDatabase, ensure database exist when GRANT
2024-08-16 10:57:11 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Ferdinand Thiessen
86f01a3358
fix: Make sure CSP nonce is not double base64 encoded
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 09:52:33 +07:00
Holger Hees
73397cd759
fix: Use `CSP_NONCE` env variable in ContentSecurity Header
...
We should use 'cspNonceManager' for requesting the NONCE value, because it is doing the same as before, except that it honors a CPS_NONCE environment variable if available.
Signed-off-by: Holger Hees <holger.hees@gmail.com>
2024-08-13 09:52:08 +07:00
Côme Chilliet
e23325f047
fix: Remove shares only if there are no more common groups between users
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 15:20:21 +07:00
Louis Chemineau
5559beb28c
fix(files_sharing): Delete user shares if needed when user is removed from a group
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-12 14:41:19 +07:00
Julien Veyssier
dbab2a825d
fix(taskprocessing): select preferred provider when running sync task, fix task type values according to preferred provider
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-12 13:11:41 +07:00
Git'Fellow
2156a927a3
fix: lint
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-09 22:47:32 +07:00
Git'Fellow
c6be80a75d
fix(jobs): Swicth to executeStatement() while deleting rows
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-09 22:38:33 +07:00
Ferdinand Thiessen
0563757ea4
fix(SetupCheck): Properly check public access to data directory
...
When checking for public (web) access to the data directory the status is not enough
as you might have a webserver that forwards to e.g. a login page.
So instead check that the content of the file matches.
For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content
to allow checking.
¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 22:08:42 +07:00
Andy Scherzinger
609fa7d5db
Merge pull request #47044 from nextcloud/fix/accept-several-mounts-in-encryption
...
fix(encryption): Fix mountpoint check to accept if several are found
2024-08-07 20:58:19 +07:00
Robin Appelman
495f454b6f
Merge pull request #46395 from nextcloud/apcu-default-ttl
...
fix: set default TTL for APCu cache as per docs
2024-08-07 20:16:02 +07:00
Robin Appelman
cae0a8218d
chore: remove Redis::DEFAULT_TTL constant now that it's defined in the interface
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:44 +07:00
Robin Appelman
b19652a2ad
chore: cleanup acpu inc and dec
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:43 +07:00
Robin Appelman
cd9cc01b77
fix: set default TTL for APCu cache as per docs
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:41 +07:00
Maxence Lange
3ffcfb1dab
Merge pull request #47069 from nextcloud/fix/noid/display-message-on-no-migration-attributes
...
fix(migration-preview): display a message if no attributes set
2024-08-07 11:48:20 +07:00
Christoph Wurst
2b38d6ae7e
fix(session): Log when session_* calls are slow
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-07 09:02:10 +07:00
Maxence Lange
6ad6fa6425
fix(migration-preview): display a message if no attributes set
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:23:12 +07:00
John Molakvoæ
8a5bc4778b
Merge pull request #38364 from joshtrichards/jr-preview-libgd-webp-animation-bypass
2024-08-06 17:56:14 +07:00
John Molakvoæ
2d8676fa5d
Merge pull request #47065 from nextcloud/fix/group-oc
2024-08-06 17:52:01 +07:00
John Molakvoæ
42650f6773
Merge pull request #46967 from nextcloud/fix/share-not-found
2024-08-06 17:45:44 +07:00
John Molakvoæ
e6457aa9c4
Merge pull request #46985 from nextcloud/feat/email-share-format
2024-08-06 17:40:47 +07:00
skjnldsv
db28aa8cd1
fix(files_sharing): show proper share not found error message
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 16:25:10 +07:00
Ferdinand Thiessen
4776b6600a
fix: Ensure database connection is setup when getting group details
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 13:41:04 +07:00
Jérôme Herbinet
c221090c86
fix: unify bundle naming
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 11:14:07 +07:00
Stephan Orbaugh
eecc9f328b
Merge pull request #46953 from nextcloud/cleanup-old-mount-repair
...
chore: delete repair step for 8y old oc_mounts issue
2024-08-06 09:42:20 +07:00
skjnldsv
28a34e7351
fix(emails): adjust mail button to new design
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 09:42:19 +07:00
Ferdinand Thiessen
9ef2e142c4
Merge pull request #46931 from nextcloud/connection-builder-additional-params
...
fix: fix passing additional db connection parameters in factory
2024-08-05 17:41:04 +07:00
Côme Chilliet
277c2cf5d1
fix(encryption): Fix mountpoint check to accept if several are found
...
There is no strong requirement to have only one mount for a given
storage id. Also the error in this case would be misleading.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-05 17:34:25 +07:00
Robin Appelman
eb4fb994cf
fix: ensure array returned from getMountsForFileId is continious
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-02 17:22:33 +07:00
Robin Appelman
9af6184af6
chore: delete repair step for 8y old oc_mounts issue
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-02 17:21:54 +07:00
Christopher Ng
572361f498
fix(files): Fix incorrect keys by reindexing
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 +07:00
Richard Steinmetz
abd7514c5e
Merge pull request #46864 from nextcloud/fix/dont-persist-blurhash-preview-2
...
fix: don't persist previews used during blurhash generation - take 2
2024-08-01 16:17:10 +07:00
Andy Scherzinger
014fcb0131
Merge pull request #45950 from nextcloud/chore/remove-depreacted-search
...
chore: Remove deprecated legacy search backend
2024-08-01 13:56:09 +07:00
Julius Härtl
a6d421e767
chore: Remove deprecated legacy search backend
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-01 12:33:18 +07:00
skjnldsv
80231e60aa
fix(activity): regroup Files and spltit sharing activity
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-01 11:03:24 +07:00
Marcel Klehr
c4227ef448
Merge pull request #46912 from nextcloud/fix/taskprocessing-speech-to-text-legacy
...
More fixes for task processing
2024-08-01 09:04:15 +07:00
Marcel Klehr
5d98b647d6
Merge pull request #46872 from nextcloud/fix/taskprocessing/dont-break-with-provider-errors
...
fix(TaskProcessing): Don't break if provider methods throw
2024-08-01 09:02:26 +07:00
Robin Appelman
5654799cb4
fix: fix passing additional db connection parameters in factory
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-31 18:53:42 +07:00
Marcel Klehr
5e4200853f
fix(TaskProcessing): Legacy Speech To Text support needs UserId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-31 12:43:05 +07:00
Joas Schilling
cef675358b
Merge pull request #46099 from nextcloud/fix/properly-add-accept-share-interface
...
fix: Add `acceptShare` as an interface
2024-07-30 18:35:16 +07:00
Stephan Orbaugh
18c0bcb2da
Merge pull request #46476 from nextcloud/enh/noid/migration-attributes
...
Migration Attributes
2024-07-30 15:54:56 +07:00
Ferdinand Thiessen
3d136e4466
fix: Add `acceptShare` as an interface
...
It was commented out because at that time no other share provider
supported the `acceptShare` method. Today it is the same no other provider
supports it, but we should make it discoverable by adding it to the public API
as an additional interface.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 15:25:51 +07:00
Marcel Klehr
1205379f5a
fix(TaskProcessing): Don't break if provider methods throw
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-30 13:25:39 +07:00
Joas Schilling
710a69b4b5
feat(log): Allow to combine log.conditions to only log (app&user)
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 13:18:09 +07:00
Ferdinand Thiessen
21f558b12b
Merge pull request #46379 from nextcloud/fix/folder-search-owner
...
fix: `OCP\Files\Node\Folder::search` was not setting the owner
2024-07-30 13:04:15 +07:00
Richard Steinmetz
08c785ff46
fix: don't persist previews used during blurhash generation
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-30 09:09:26 +07:00
Maxence Lange
ad490c963b
feat(migration-attributes): tests
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
Maxence Lange
7c1ee524be
fix(migration-attributes): privatizing AttributeException
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
Maxence Lange
79e6014879
feat(upgrade): release metadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
withbest
dd08f93202
chore: fix some comments
...
Signed-off-by: withbest <seekseat@outlook.com>
2024-07-29 14:43:27 +07:00
Dennis Verspuij
181aecad4c
fix: Release directory iterator and thereby its potential directory lock prior to deleting a directory, to avoid e.g. "Text file busy" error with VirtualBox shared folder storage
...
Signed-off-by: Dennis Verspuij <6680484+dennisverspuij@users.noreply.github.com>
2024-07-27 16:37:16 +07:00
John Molakvoæ
0ae83d6183
Merge pull request #46760 from nextcloud/fix/appframework/csrf-custom-header
2024-07-27 16:27:52 +07:00
Daniel
813264c15d
Merge pull request #46508 from nextcloud/ernolf/enh/imaginary-pdf-handling
...
feat(preview): introducing new class ImaginaryPDF
2024-07-25 23:17:58 +07:00
Andy Scherzinger
4f2a29adf9
Merge pull request #46672 from nextcloud/fix/preview-invalid-id
...
Avoid using partial file info as valid one
2024-07-25 19:37:30 +07:00
provokateurin
9d1705259c
fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-25 17:31:49 +07:00
ernolf
a8bdd4f99b
feat(preview): move previews for imaginary pdf to own class ImaginaryPDF
...
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-25 17:01:01 +07:00
Julius Härtl
3d7d0b6088
Merge pull request #46383 from nextcloud/feat/template-fields
...
feat: Template field workflow
2024-07-25 14:19:49 +07:00
Julien Veyssier
9a3a27f856
fix(taskprocessing): add missing translate default task type
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 12:09:47 +07:00
Elizabeth Danzberger
efe03ee690
feat: Add support for filling fields to backend components
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger
05ed5aa230
fix: Emit new `BeforeGetTemplates` event
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +07:00
Marcel Klehr
46c518f712
fix: Don't validate input again upon running a task
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:27:45 +07:00
Marcel Klehr
aaa8af4b49
fix: Make sure provider provides enum values
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:23:53 +07:00
Marcel Klehr
6363437ccb
fix(taskprocessing): Update lib/private/TaskProcessing/Manager.php
...
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:10:32 +07:00
Julien Veyssier
060fb26686
fix(taskprocessing): run cs:fix
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +07:00
Marcel Klehr
799ee8fd51
feat(TaskProcessing): Implement enums and default values
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:10:31 +07:00
Stephan Orbaugh
65941811b3
Merge pull request #44788 from nextcloud/db-error-logging
...
feat: add additional logging for database errors
2024-07-25 09:09:57 +07:00
Ferdinand Thiessen
57ed738af2
Merge pull request #46644 from nextcloud/cast-bigint
...
fix: cast to bigint on postgresql
2024-07-24 20:39:04 +07:00
Robin Appelman
7fbb981877
feat: add additional logging for database errors
...
including the stack trace of the current database transaction
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-24 15:35:07 +07:00
Stephan Orbaugh
52fe7b1a12
Merge pull request #46694 from nextcloud/fix/file-info-name
...
fix: FileInfo from `View` should have the correct name of a mountpoint
2024-07-24 15:22:11 +07:00
Louis
7266a9ef33
Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegation
...
feat(users): Add users and group management to admin delegation
2024-07-24 11:15:54 +07:00
SebastianKrupinski
fc0b694d37
feat: mail provider backend
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-23 16:20:36 +07:00
Julien Veyssier
c004f5376f
fix(taskprocessing): build autoloader files and fix psalm issue
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier
df11aa9efc
feat(taskprocessing): add appId filter to taskprocessing occ commands
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier
c120a64ba2
feat(taskprocessing): add occ commands to list tasks and compute stats
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier
df086a8c20
feat(taskprocessing): add start, stop and schedule time to tasks
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Robin Appelman
5ea972922b
fix: explicitly filter for storageid in preview cleanup job
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-23 14:41:15 +07:00
Robin Appelman
16c184e2cb
fix: cast to bigint on postgresql
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-23 14:41:13 +07:00
Richard Steinmetz
b37fb43a32
feat: let users configure their first day of week
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-22 22:35:46 +07:00
Julius Härtl
2b0bc8b310
fix: Do not return partial file info if we have a cache entry
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 22:32:34 +07:00
Ferdinand Thiessen
12796c3ae7
fix: FileInfo from `View` should have the correct name of a mountpoint
...
If a mountpoint is returned from a `View` the name must match the view scoped name
and not the global name.
For example group folders have a name like `1` or `2` (the ID),
but the name of the FileInfo returned fro mthe View should be the mount point name,
like `First groupfolder` or similar.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-22 22:01:12 +07:00
Louis Chemineau
dff8815449
feat(users): Add support for admin delegation for users and groups management
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 17:17:35 +07:00
Robin Appelman
32f5739bc6
feat: add config flag to toggle persistent redis connections
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-22 14:25:20 +07:00
Julien Veyssier
fffc784769
feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-22 11:34:29 +07:00
Stephan Orbaugh
9ed2d3e495
Merge pull request #46571 from nextcloud/chore/migrate-to-filenamevalidator
...
refactor: Migrate some legacy and core functions to `IFilenameValidator`
2024-07-22 10:40:50 +07:00
Andy Scherzinger
c2a571e435
Merge pull request #46473 from nextcloud/feat/restrict_admin_to_ips
...
feat(security): restrict admin actions to IP ranges
2024-07-22 10:10:42 +07:00
Julius Härtl
800dffec31
Merge pull request #46640 from nextcloud/fix/noid/google-scope
...
fix(Token): take over scope in token refresh with login by cookie
2024-07-22 08:49:53 +07:00
Ferdinand Thiessen
9716b0d735
refactor: Migrate some legacy and core functions to `IFilenameValidator`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-19 19:41:46 +07:00
Joas Schilling
7395211c1a
Merge pull request #46605 from nextcloud/bugfix/noid/test-more-oracle-versions
...
fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions
2024-07-19 16:40:49 +07:00
Benjamin Gaussorgues
f1d97a3188
feat(Security): add Factory for IP addresses and ranges
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +07:00
Joas Schilling
047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +07:00
Benjamin Gaussorgues
202e5b1e95
feat(security): restrict admin actions to IP ranges
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +07:00
Arthur Schiwon
99182aac37
fix(Token): take over scope in token refresh with login by cookie
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-19 15:53:46 +07:00
Joas Schilling
b656edc47c
fix(db): Fix md5 for oracle >= 20
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 14:13:56 +07:00
Marcel Klehr
18844cb1b6
Merge pull request #46608 from nextcloud/error-log-textprocessing
...
fix(TextProcessing): use error instead of info for exception logging
2024-07-19 13:59:47 +07:00
Marcel Klehr
a3c3eab09c
Merge pull request #46368 from nextcloud/fix/task-processing
...
TaskProcessing follow-up
2024-07-19 12:38:30 +07:00
Joas Schilling
e1e4ee4d67
fix(db): Manually track if `where()` is called when not empty to avoid recursion
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:16 +07:00
Joas Schilling
eeb6ddb176
fix(db): Deprecate `IExpressionBuilder::or()` and `IExpressionBuilder::and()` without parameters
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:16 +07:00
Joas Schilling
e45465781f
fix(db): Deprecate `getState()` as per upstream
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:15 +07:00
Joas Schilling
829f2b9bc7
fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:14 +07:00
Joas Schilling
bd383627a7
fix(db): Deprecate using table alias for DELETE and UPDATE
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:13 +07:00
Joas Schilling
c84580d53a
fix(db): `Doctrine\DBAL\Connection::executeUpdate()` is deprecated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:12 +07:00
Joas Schilling
11e84b8968
fix(db): Fix internal calls to doctrine's `fetch()` methods
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:12 +07:00
Joas Schilling
a4c1d7291f
fix(db): Use `createSchemaManager()` method as `getSchemaManager()` is deprecated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:11 +07:00
Joas Schilling
f92352eda4
fix(db): Deprecate `getQueryPart()` and `resetQueryPart()` methods that will be removed with Doctrine/DBAL 4
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:10 +07:00
Robin Appelman
64ca4b832d
Merge pull request #46583 from nextcloud/filecache-sharding-compat
...
Make filecache queries compatible with sharding
2024-07-19 09:49:45 +07:00
Andrey Borysenko
40f820470a
chore: use "app_api" session key, "app_api_system" is deprecated
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-07-18 17:16:57 +07:00
Anupam Kumar
d473b516ad
fix(TextProcessing): use error instead of info for exception logging
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-07-18 17:53:52 +07:00
Alexander Piskun
b7af6ec200
feat: allow for ExApps to call Admin endpoints marked with specific attr
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-18 15:11:39 +07:00
provokateurin
e5dcdfb9e0
feat(Security): Warn about using annotations instead of attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-18 11:25:32 +07:00
Robin Appelman
c5b687271b
fix: make batch propagator work with sharding restrictions
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 19:16:07 +07:00
Robin Appelman
0931492ff0
fix: make usermountcache compatible with sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 19:16:05 +07:00
Richard Steinmetz
718ef5dea5
Merge pull request #46510 from nextcloud/feat/info-xml-backends
...
feat: hide caldav server settings if no app uses the caldav backend
2024-07-17 18:57:08 +07:00
Robin Appelman
ad88fd07e3
fix: make joining on tags in search queries work with sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:39 +07:00
Robin Appelman
80f8c7949e
fix: always set storage id in Cache::get
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:31 +07:00
Robin Appelman
5ff7bde3fb
fix: add set storage id for more cache queries
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:21 +07:00
Julien Veyssier
183726a299
feat(settings/admin/ai): fix provider list not being declared
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-17 15:24:19 +07:00