Daniel Calviño Sánchez
51ed61bb4a
fix: Fix caching routes by users with an active session
...
When a user has an active session only the apps that are enabled for the
user are initially loaded. In order to cache the routes the routes for
all apps are loaded, but routes defined in routes.php are taken into
account only if the app was already loaded. Therefore, when the routes
were cached in a request by a user with an active session only the
routes for apps enabled for that user were cached, and those routes were
used by any other user, independently of which apps they had access to.
To solve that now all the enabled apps are explicitly loaded before
caching the routes.
Note that this did not affect routes defined using annotations on the
controller files; in that case the loaded routes do not depend on the
previously loaded apps, as it explicitly checks all the enabled apps.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-12-12 16:10:20 +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
9f78ccbfd0
feat(testing): add core:text2text:chat fake provider in the testing app
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-11-25 13:42:08 +07:00
Côme Chilliet
f9abfe0473
fix(tests): Use testing application for testing ajax endpoints, not user_ldap
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-21 14:23:58 +07:00
Carl Schwan
9e77ab44fc
chore(composer): Bump autoloader
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-27 13:12:47 +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
Joas Schilling
e37dbc1487
chore: Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-09-04 09:11:05 +07:00
Robin Appelman
aa15f9d16d
chore: run rector
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-01 22:45:52 +07:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +07:00
Daniel Kesselberg
6254354f27
test(dav): add integration test for principal property search
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 11:19:24 +07:00
Andrey Borysenko
7994332338
feat: add support for sensitive Declarative settings values encryption
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-05-28 20:43:04 +07:00
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +07:00
Joas Schilling
4ad215de99
chore: Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:56:06 +07:00
skjnldsv
7cbcbdc051
fix(files): conversion api simplification and conflict check
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-16 18:35:40 +07:00
Elizabeth Danzberger
fdfeb7f265
feat(api): File conversion API
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-15 16:38:18 +07:00
Joas Schilling
5e5a53c098
test(fakeAI): Allow to specify whether the fake providers should fail
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-18 22:01:15 +07:00
Joas Schilling
58bde73b92
feat(testing): Add a fake summary task provider
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-09 05:34:53 +07:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +07:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +07:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +07:00
Joas Schilling
eb365438d6
feat(branchoff): Bump versions and requirements in apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:03:30 +07:00
Julien Veyssier
475d0089c2
feat(taskprocessing): add text2text, text2image, contextWrite, transcribe and translate providers in the testing app
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-13 00:05:26 +07:00
Maxence Lange
a9e1dc6688
fix(migration-attributes): psalm
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +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
provokateurin
1cc7a620b5
refactor(testing): Replace security annotations with respective attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:40:56 +07:00
Marcel Klehr
b9187dcb9e
fix(testing): Make Testing TextProcessing providers unicode safe
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-26 13:50:36 +07:00
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:00:00 +07:00
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +07:00
Joas Schilling
03090bb5ee
feat(branchoff): Bump versions and requirements in apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 11:26:18 +07:00
Julien Veyssier
ba94de2510
fix: when no AI setting has been set, make sure the selected text processing provider is the same as the one that will be used
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-03-15 13:17:29 +07:00
jld3103
4ac2375ca2
feat: Add declarative settings
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +07:00
Julius Härtl
0a2665a0b3
fix(testing): implement getExpectedRuntime on FakeTextProcessingProvider
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-23 18:08:28 +07:00
provokateurin
8c4a52e3ff
fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 11:22:43 +07:00
Arthur Schiwon
c5caae1bf0
Merge pull request #41678 from nextcloud/branchoff/master-is-now-29
...
Master is now 29
2023-11-23 12:02:20 +07:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
Joas Schilling
64e0829fc8
feat(branchoff): Bump versions and requirements in apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:40 +07:00
Marcel Klehr
4e625f6635
fix(TextToImage): Update testing provider to new interface
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:31:17 +07:00
Marcel Klehr
6b6ac72fe6
fix(Text2Image): Fix FakeText2ImageProvider in testing app
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:48 +07:00
Marcel Klehr
8ab47b64b5
enh(testing app): Add fake text2image provider
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:48 +07:00
Julius Härtl
f894754372
feat(testing): Add fake providers for translations and text processing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 10:53:20 +07:00
Joas Schilling
05aa39d777
Fix event names of 2FA related typed events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-03 14:25:01 +07:00
Joas Schilling
7e45fdf867
chore(release): Bump requirements and versions in apps/
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:44:23 +07:00
Joas Schilling
f2afccfd56
fix(assets): Optimize SVGs with scour 0.38.2
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +07:00
Joas Schilling
cca3b9495c
chore(autoloader): Update autoloaders with composer 2.5.5
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:53:55 +07:00
Joas Schilling
d21db216f7
chore(release): Bump requirements and versions in apps/
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:44:27 +07:00
Christoph Wurst
aee9941fed
chore(autoloaders): Update autoloader files for Composer 2.5.1
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 10:42:34 +07:00
Julien Veyssier
73f2876d64
rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-15 17:37:34 +07:00
Carl Schwan
f244406ebd
Update composer autoloader
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 13:35:17 +07:00
Joas Schilling
05845e11a8
Master is now 26
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-22 11:56:15 +07:00