Commit Graph

819 Commits (jtr/fix-public-exceptions-http-codes)

Author SHA1 Message Date
Maxence Lange 1538692987 feat(lexicon): add FLAG_INTERNAL
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-11-03 11:39:25 +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
Joas Schilling 8e1f19c37e
Merge pull request #55395 from nextcloud/fix/noid/return-actually-installed-apps
fix(Apps): fix install command check on existing apps
2025-10-17 16:21:58 +07:00
Carl Schwan 7a43bf26ca refactor(dbal): Migrate away from Type::getName
Instead use Type::lookupName

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-10 16:13:09 +07:00
Carl Schwan b0c6ef5821 refactor(dbal): Port away from deprecated hasPrimaryKey
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-10 15:44:43 +07:00
Benjamin Gaussorgues 3aa0c23e40
Merge pull request #54543 from nextcloud/preview-db-rework 2025-10-08 16:39:23 +07:00
Carl Schwan bef3996c3e fix(preview): Make version column a string
And move it to a different table so that we don't have to pay the
storage cost when not using it (most of the times).

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-08 14:07:06 +07:00
Kate fcbb8be904
Merge pull request #55514 from nextcloud/carl/more-old-execute 2025-10-08 10:30:46 +07:00
Daniel db3e845d19
Merge pull request #55557 from nextcloud/refactor/use-iemailaddressvalidator
refactor: use IEmailValidator.isValid instead of IMailer.validateEmailAddress
2025-10-07 19:15:32 +07:00
Côme Chilliet b984e329fc
Merge pull request #55574 from nextcloud/carl/view-deprecated
chore: Explicitely mark \OC\Files\View as internal
2025-10-07 16:07:36 +07:00
Marcel Klehr ef6e9744a9
Merge pull request #55573 from nextcloud/fix/taskprocessing/list-command
fix(TaskProcessing): Make sure list command int filter parameters are parsed as ints
2025-10-07 11:38:49 +07:00
Carl Schwan 104aef324d refactor(core/Command): Port away from View
Use IRootFolder instead.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-07 10:11:01 +07:00
Ferdinand Thiessen 7f6e76ac6e
Merge pull request #55585 from nextcloud/occ-auth-token-name
feat: allow setting custom name for occ generated app password
2025-10-07 01:53:08 +07:00
Robin Appelman de69824a59
feat: allow setting custom name for occ generated app password
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-10-06 18:37:03 +07:00
Marcel Klehr f28344e13e fix(TaskProcessing): Make sure list command int filter parameters are parsed as ints
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-06 15:29:36 +07:00
Carl Schwan 66f50bd585 refactor(preview): Use same mimetype ids as filecache
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan bd001c9524 refactor: Use Override annotation in new preview code
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 58023782b6 feat(preview): Store original file mimetype in preview table
Allow to quickly query all the files from a specific mimetype like in
the ResetRenderedTexts command.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +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
Daniel Kesselberg 83a691709c
refactor: use IEmailValidator.isValid instead of IMailer.validateEmailAddress
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-04 21:54:22 +07:00
Carl Schwan 9e848551be refactor: Port away from more IQueryBuilder::execute
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-02 14:40:28 +07:00
Carl Schwan ce02a5b27c refactor: Port away from search
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-01 16:32:22 +07:00
Arthur Schiwon e9a1d7fa0d
fix(Apps): fix install command check on existing apps
- AppManager::isInstalled() is misleading, as it checks only whether it is
  enabled. But an app might not be present in some edge cases.
- AppManager::getAppPath() does however only check whether an app dir is
  present, independent of the enabled-state.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-09-29 09:39:14 +07:00
provokateurin 6a12fbc4f3
refactor: Run rector
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-27 18:52:58 +07:00
Kate da73cc8950
Merge pull request #54919 from nextcloud/info-file-size-warning-false 2025-09-10 07:50:43 +07:00
Ferdinand Thiessen 016f2ffe6c
Merge pull request #48197 from nextcloud/chore/remove-ijob-execute
chore: Remove deprecated `IJob::execute` method
2025-09-09 16:37:35 +07:00
Robin Appelman 29cb19da80
feat: show object store instance in info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:39:38 +07:00
Robin Appelman 7e01665f93
fix: don't show object size warning if we can't determine the object size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:01:43 +07:00
Ferdinand Thiessen 89896b1d89
chore: Remove deprecated `IJob::execute` method
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-04 17:48:26 +07:00
Josh 2fa55ce134
fix: review input
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-02 16:33:30 +07:00
Josh b4027c557d
fix: add retrieval of customized base doc URL
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-08-30 09:22:15 +07:00
Josh 5fcc8115d2 feat(occ): add default help text with docs link to all commands
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-08-28 22:31:57 +07:00
Kate 45f5daa45a
Merge pull request #54666 from nextcloud/carl/apply-rector 2025-08-27 16:29:58 +07:00
Carl Schwan 5835599fa1 chore(rector): Apply current rector config
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-26 16:27:26 +07:00
Maxence Lange a81d58970c feat(lexicon): set/get current preset from controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

feat(lexicon): set/get current preset from controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-26 09:00:04 +07:00
Maxence Lange b7cdfddeda feat(preset): compare userconfig lexicon entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-25 11:05:56 +07:00
Kate 4edfef4dd5
Merge pull request #53895 from nextcloud/fix/cleanup-updater-class 2025-08-19 17:40:15 +07:00
Maxence Lange 6eda5583db feat(preset): compare default for all preset
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-19 10:50:24 +07:00
Kate c9c3acdbe0
Merge pull request #54327 from nextcloud/db-schema-export-table 2025-08-19 11:36:47 +07:00
Côme Chilliet b7c15949ce
chore: Get rid of AppLocator helper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +07:00
Ferdinand Thiessen d5e2432bcd
fix: resolve invalid usage of `AppConfig::getValue`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 13:24:18 +07:00
Daniel 64c52006dd
Merge pull request #54272 from nextcloud/enh/noid/taskprocessing-task-add-cleanup-flag
feat(taskprocessing): add cleanup flag to tasks
2025-08-15 09:48:47 +07:00
Maxence Lange 33c4fe504d feat(preset): new PresetManager
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-08 10:58:58 +07:00
Robin Appelman 4da6081786
feat: add table filter to schema:export and schema:expected
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 19:09:07 +07:00
Julien Veyssier aa2ca86fb3
feat(taskprocessing): avoid generator cascade
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:22 +07:00
Julien Veyssier 2b9af820bd
feat(taskprocessing): add strict types to all taskprocessing command classes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:22 +07:00
Julien Veyssier 10921c05b7
feat(taskprocessing): fix some CI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:21 +07:00
Julien Veyssier cc295f2452
feat(taskprocessing): use Generator::getReturn to get the list of deleted tasks in the cleanup command
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:21 +07:00
Julien Veyssier 19801f7ec4
feat(taskprocessing): move cleanup method to private taskprocessing manager, use it in the cleanup bg job and implement a cleanup command
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:21 +07:00
Julien Veyssier 2e3fa51132
feat(taskprocessing): load and store some config keys lazily
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 10:11:24 +07:00