Joas Schilling
594d22021a
Merge pull request #56076 from nextcloud/carl/cleanup-comment
...
refactor(comment): Port away from deprecated event comment constant
2025-12-05 11:38:08 +07:00
Carl Schwan
3c9b937e28
refactor(comment): Port away from deprecated event comment constant
...
Create new events to replace deprecated CommentsEvent constant and use
them when creating CommentsEvents.
On the listener side, we can't yet use these events as deck still send
the old events.
Also fixes some issues reported by psalm level 3 on the comment app.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-04 17:38:53 +07:00
Andy Scherzinger
1ef465f804
Merge pull request #56251 from nextcloud/carl/template-manager-cleanup
...
refactor(template-manager): Modernize template manager API
2025-12-04 17:26:53 +07:00
Louis
5bf67fd206
Merge pull request #56745 from nextcloud/artonge/feat/files_sharing/support_priority_in_template_providers
...
feat(files_sharing): Support priority in public template providers
2025-12-04 12:58:44 +07:00
Louis Chmn
10b82c8bf8
feat(files_sharing): Support priority in public template providers
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-12-04 10:59:58 +07:00
Joas Schilling
7a5c79b0f2
Merge pull request #56629 from nextcloud/carl/autoloader-bump
...
chore: Bump autoloader files for new composer version
2025-12-02 16:58:01 +07:00
Carl Schwan
d877262e07
chore: Bump autoloader files for new composer version
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-02 10:32:44 +07:00
Julien Veyssier
b4f7fe2cb6
feat(taskprocessing): add a boolean 'includeWatermark' to taskprocessing tasks and pass it to ISynchronousWatermarkingProvider::process
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-11-27 11:32:08 +07:00
Kent Delante
96672e1c4d
feat: emit an event when an S3 bucket is created
...
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-11-24 19:37:18 +07:00
Carl Schwan
38fd84aa6a
refactor(template-manager): Modernize template manager API
...
And correct openapi types for the size.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-24 10:00:47 +07:00
Julien Veyssier
8b3e59fa36
fix(sharing): fix potentially broken shares from the past, change 'null' download permission to 'true'
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-11-17 10:07:44 +07:00
Daniel Calviño Sánchez
c40fcba5a4
fix: Fix user collaborators returned when searching for mail collaborators
...
The MailPlugin collaborator returned results for both user and mail
collaborators, but it was registered only for mail collaborators. While
it might make sense to move the user results to the UserPlugin instead
that change would be more complex and riskier, so for now the MailPlugin
is now registered for both user and mail collaborators and the results
are limited only to the registered type.
As the plugins are registered only with their class and then resolved
when needed using dependency injection it is not possible (as far as I
know) to provide an explicit parameter in the constructor to
differentiate whether the MailPlugin should return user or mail
collaborators. To overcome this two subclasses are introduced,
MailByMailPlugin and UserByMailPlugin, which just hardcode in their
constructor the collaborator type that their parent MailPlugin must use,
and those subclasses are the ones registered instead of the MailPlugin
(which still contains all the logic).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 01:20:17 +07:00
Joas Schilling
34f1ae62a1
fix(jobs): Limit command jobs to known cases
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-04 11:10:40 +07:00
Benjamin Gaussorgues
83dd9d313a
feat(snowflakeids): add File Sequence Generator
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-11-03 11:45:13 +07:00
Marcel Klehr
1c33239e06
fix: autoloaderchecker
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-30 10:29:17 +07:00
Marcel Klehr
d04d575ed3
Merge branch 'master' into feat/taskprocessing/user-facing-error-message
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-30 10:13:39 +07:00
Carl Schwan
336cc3fa35
feat(Db): Use SnowflakeId for previews
...
Allow to get an id for the storing the preview on disk before inserting
the preview on the DB.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-28 17:50:03 +07:00
Benjamin Gaussorgues
c9b055a0d0
feat(database): introduce Snowflake IDs generator
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-10-28 17:50:03 +07:00
Maxence Lange
edfc339bf5
fix(lexicon): switch bool value to non-lazy
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-21 09:27:40 +07:00
Marcel Klehr
044e92bf4e
feat(TaskProcessing): Introduce ITriggerableProvider
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
# Conflicts:
# lib/private/TaskProcessing/Db/TaskMapper.php
2025-10-20 15:59:25 +07:00
Marcel Klehr
86316f7c45
fix(TaskProcessing): Update autoloaders
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-14 16:58:38 +07:00
Marcel Klehr
ea8ab8e192
Merge pull request #55646 from nextcloud/feat/taskprocessing/is-internal
...
enh(TaskProcessing): Introduce internal task types
2025-10-14 08:25:00 +07:00
Marcel Klehr
13eb2d1cbd
feat(TaskProcessing): Introduce internal task types
...
which are not shown in the assistant UI
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-13 11:07:40 +07:00
Carl Schwan
cb82a9ef04
refactor(preview): Cleanup a bit the public interface
...
* Remove old IProvider interface, it's been deprecated since 17.0.0 (8
years)
* Add type hinting to the IPreview interface and mark it as consumeable
only
* Remove unused arguments from GeneratorHelper
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-09 17:41:13 +07:00
Côme Chilliet
48c2dd6279
Merge pull request #55517 from nextcloud/carl/cron-service
...
refactor: Move cron setup to a service
2025-10-09 09:52:34 +07:00
Benjamin Gaussorgues
3aa0c23e40
Merge pull request #54543 from nextcloud/preview-db-rework
2025-10-08 16:39:23 +07:00
Carl Schwan
9d7fbb1b86
refactor: Move cron setup to a service
...
This will allow in the future the following things:
- Create unit tests for it
- Make cron.php a occ command
- Make webcron a proper controller
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 15:28:43 +07:00
Carl Schwan
324b54b863
refactor(preview): Cleanup the implementation of the new preview backend
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan
b0357663b9
perf(preview): Optimize migration and simplify DB layout
...
* Simplify migration by not moving the actual files and just updating
the DB
* Don't store the storageid in the preview table as it is not needed
* Start adding tests
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan
13c35c0f17
perf(preview): Migrate previews to the new optimized table
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan
18fbacdd8d
perf(preview): Split preview data to new table
...
The new oc_previews table is optimized for storing previews and should
decrease significantly the space taken by previews in the filecache
table.
This attend to reuse the IObjectStore abstraction over S3/Swift/Azure
but currently only support one single bucket configuration.
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-10-06 13:37:15 +07:00
Carl Schwan
aa1f5312a5
refactor: Remove legacy search provider
...
Last usage was in the comment app
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-01 13:36:25 +07:00
Côme Chilliet
eb54143c2d
fix: Delete legacy OC_Response
...
Moved the last used method in base.php where it’s called. Ideally we
would remove it but it’s not clear whether that would be possible any
time soon or even at all.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-29 09:35:32 +07:00
Carl Schwan
4ae4b0a0e7
refactor: Remove old TemplateManager
...
Not used anymore
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-28 12:48:41 +07:00
Akhil
fe30ca872b
feat(config): Add UserConfigChangedEvent whenever user config is updated
...
Signed-off-by: Akhil <akhil@e.email>
2025-09-26 14:29:58 +07:00
provokateurin
b1a398afb0
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-16 10:08:19 +07:00
Marcel Klehr
7bd0b5704d
Merge pull request #54810 from nextcloud/feat/typed-tag-events
...
feat(SystemTag): Add typed events for tag mapper events
2025-09-04 11:19:28 +07:00
Maxence Lange
c86f2e948a
feat(migration-attributes): add DataCleansing
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-03 13:32:40 +07:00
Marcel Klehr
2bb2fa50ee
feat(SystemTag): Add typed events for tag mapper events
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-03 09:36:50 +07:00
Carl Schwan
6ee28229d5
Merge pull request #54775 from nextcloud/carl/delete-lostpassword-token
...
fix(lostpassord): Delete lost password token on password change
2025-09-01 12:05:24 +07:00
Carl Schwan
1d3c3cfb80
fix(lostpassword): Delete lost password token on password change
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-01 11:36:15 +07:00
Richard Steinmetz
16ad73cd15
feat(ocp): create contacts from string
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-29 15:04:57 +07:00
Joas Schilling
3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request"
2025-08-28 17:11:31 +07:00
provokateurin
e38dfef0dc
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-28 09:32:51 +07:00
provokateurin
eba11750eb
chore: Remove unused \OC\Cache\File
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 09:28:11 +07:00
SebastianKrupinski
46e624a089
feat: Calendar Import
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-27 08:30:33 +07:00
Côme Chilliet
78d69d5581
feat(repair): Migrate oc_properties.propertyvalue to the correct type if needed
...
This is sometimes needed when migration from owncloud
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-26 15:11:26 +07:00
Julien Veyssier
8ffd30bbf9
feat(auth): dispatch new TokenInvalidatedEvent when PublicKeyTokenProvider::invalidateTokenById is called
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-21 12:42:43 +07:00
Kate
4edfef4dd5
Merge pull request #53895 from nextcloud/fix/cleanup-updater-class
2025-08-19 17:40:15 +07:00
Daniel
09607f40eb
Merge pull request #53834 from nextcloud/feat/imailaddressvalidator
...
feat(ocp): add email address validator
2025-08-19 09:38:51 +07:00