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>
2 months ago
Carl Schwan
d877262e07
chore: Bump autoloader files for new composer version
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
3 months ago
Julien Veyssier
9f78ccbfd0
feat(testing): add core:text2text:chat fake provider in the testing app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
3 months ago
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>
4 months ago
Carl Schwan
9e77ab44fc
chore(composer): Bump autoloader
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
4 months ago
Carl Schwan
9e848551be
refactor: Port away from more IQueryBuilder::execute
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
4 months ago
Joas Schilling
e37dbc1487
chore: Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 months ago
Robin Appelman
aa15f9d16d
chore: run rector
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 months ago
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
8 months ago
Daniel Kesselberg
6254354f27
test(dav): add integration test for principal property search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
8 months ago
Andrey Borysenko
7994332338
feat: add support for sensitive Declarative settings values encryption
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
9 months ago
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Joas Schilling
4ad215de99
chore: Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
skjnldsv
7cbcbdc051
fix(files): conversion api simplification and conflict check
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 year ago
Elizabeth Danzberger
fdfeb7f265
feat(api): File conversion API
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
1 year ago
Joas Schilling
5e5a53c098
test(fakeAI): Allow to specify whether the fake providers should fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Joas Schilling
58bde73b92
feat(testing): Add a fake summary task provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
Signed-off-by: provokateurin <kate@provokateurin.de>
1 year ago
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
1 year ago
Joas Schilling
eb365438d6
feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
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>
2 years ago
Maxence Lange
a9e1dc6688
fix(migration-attributes): psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 years ago
Maxence Lange
ad490c963b
feat(migration-attributes): tests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 years ago
provokateurin
1cc7a620b5
refactor(testing): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2 years ago
Marcel Klehr
b9187dcb9e
fix(testing): Make Testing TextProcessing providers unicode safe
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2 years ago
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Joas Schilling
03090bb5ee
feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
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>
2 years ago
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>
2 years ago
Julius Härtl
0a2665a0b3
fix(testing): implement getExpectedRuntime on FakeTextProcessingProvider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
provokateurin
8c4a52e3ff
fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
Signed-off-by: provokateurin <kate@provokateurin.de>
2 years ago
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>
2 years ago
Joas Schilling
64e0829fc8
feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Marcel Klehr
4e625f6635
fix(TextToImage): Update testing provider to new interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Marcel Klehr
6b6ac72fe6
fix(Text2Image): Fix FakeText2ImageProvider in testing app
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Marcel Klehr
8ab47b64b5
enh(testing app): Add fake text2image provider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Julius Härtl
f894754372
feat(testing): Add fake providers for translations and text processing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Joas Schilling
05aa39d777
Fix event names of 2FA related typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
7e45fdf867
chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
f2afccfd56
fix(assets): Optimize SVGs with scour 0.38.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
cca3b9495c
chore(autoloader): Update autoloaders with composer 2.5.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
d21db216f7
chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
aee9941fed
chore(autoloaders): Update autoloader files for Composer 2.5.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Bennet Becker
04c3c87946
Revert "ran build/autoloaderchecker.sh after adding AutoSubmittedValue class"
This reverts commit 77569bae45 .
Signed-off-by: Bennet Becker <dev@bennet.cc>
3 years ago
Bennet Becker
77569bae45
ran build/autoloaderchecker.sh after adding AutoSubmittedValue class
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
3 years ago
Julien Veyssier
73f2876d64
rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
3 years ago
Carl Schwan
f244406ebd
Update composer autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3 years ago
Joas Schilling
05845e11a8
Master is now 26
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago