Ferdinand Thiessen
d6d6747a73
refactor: apply rector rules for PHPUnit 10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
4 months ago
Luka Trovic
f5629b0221
fix: translation on /unsupported screen
Signed-off-by: Luka Trovic <luka@nextcloud.com>
4 months ago
Marcel Klehr
a5ce35ac84
fix(TextToImage): Set better attribute for routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Marcel Klehr
81bf9f342c
fix: regenerate openapi descriptions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Marcel Klehr
7373f11af6
feat(TaskProcessing): user-facing error messages
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Marcel Klehr
be8e168f38
fix: Address psalm issues and review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Marcel Klehr
5e0c7a5813
fix(TextProcessingApiController): Set better attribute on routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
5 months ago
Marcel Klehr
16da8bbc8a
fix(TaskProcessingApiController): Implement getNextScheduledTasks for next_batch endpoint
in order to avoid hitting the DB with multiple 1 row requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Marcel Klehr
80eb3dd0d0
feat(TaskProcessingApiController): Add new next_batch endpoint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 months ago
Maxence Lange
9ba3ce27cb
fix(team-api): get all teams details in a single request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
6 months ago
provokateurin
2552950299
fix(core): Fix TeamsApiController typing
Signed-off-by: provokateurin <kate@provokateurin.de>
4 months ago
nfebe
2053112887
fix(unified-search): Remove hard-coded search result limit
A change added in https://github.com/nextcloud/server/pull/45317 introduced
a hard stop (25) that prevents full search results from showing up.
If there are more than 25 search results for a query only 25 can be seen.
So two main issues:
- Only 25 results can be seen in total no matter what.
- Breaks web client pagination, which typically adds 5 results per request.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
5 months ago
provokateurin
28adf33e69
fix(core): Make OCSController class final to avoid accidentally extending it
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
provokateurin
13e98dce15
fix: Use the correct OCSController
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
provokateurin
504eae65bd
refactor: Apply rector Nextcloud 27 set
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
Ferdinand Thiessen
660f3f6fd1
refactor: use logical `&&` `||` instead of weak `and` `or` operators
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months ago
provokateurin
bfb4fe8f86
fix(core): Stop abusing the cache for avatar upload
Signed-off-by: provokateurin <kate@provokateurin.de>
8 months ago
Louis Chemineau
fccb13e8ac
feat(unified-search): Use existing min search length config
This setting existed already for the legacy unified search.
This commit expose that setting to the new front-end, and
also ignore non valid requests in the backend.
We also take the opportunity to register the config in the lexicon.
Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months ago
Christoph Wurst
1c8be525f0
fix(auth): allow access to dynamic js files during 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 months ago
Joas Schilling
3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request"
6 months ago
Marcel Klehr
310cd23a6a
fix(TaskProcessingApiController): Don't allow anonymous access anymore
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
6 months ago
provokateurin
5057d5fcc5
fix(core): Stop abusing the cache for avatar upload
Signed-off-by: provokateurin <kate@provokateurin.de>
8 months ago
Maxence Lange
fa60488ee7
feat(ocm): split ocm discovery and capacities
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 months ago
Ferdinand Thiessen
4b2fcac882
fix: also add `version` to `OC.config` during setup
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
6 months ago
Maxence Lange
cb84ccc57d
feat(preset): share password protection
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
7 months ago
Julien Veyssier
e6adbd921e
feat(taskprocessing): generate OpenAPI specs, fix lint issue, fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
7 months ago
Julien Veyssier
8c52b6c0fe
feat(taskprocessing): add cleanup flag to tasks to decide if they should be cleaned up automatically
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
7 months ago
Marcel Klehr
e2449bca6f
fix(TaskProcessingApiController): Improve error handling
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
John Molakvoæ
2b50d9b2c5
Revert "perf(base): Stop setting up the FS for every basic auth request"
7 months ago
provokateurin
24f7a2e680
fix(core): Stop abusing the cache for avatar upload
Signed-off-by: provokateurin <kate@provokateurin.de>
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
skjnldsv
9806a9830c
feat(files_sharing): allow viewing files with download disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
8 months ago
Richard Steinmetz
c690c6fbd2
fix: update request token on two-factor pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
8 months ago
Richard Steinmetz
fa15cb8b87
fix: generate csrf tokens if two factor challenge is ongoing
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
8 months ago
Ferdinand Thiessen
495c364268
chore: use consistent casing for header names (required by openAPI)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
9 months ago
Ferdinand Thiessen
fa7310add9
fix: handle IDLE timeout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
9 months ago
Oleksander Piskun
90e8fa25a6
fix(TaskProcessingApiController): use StreamResponse to return the task file content
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
9 months ago
Anna Larch
08f869dda9
fix: broken password reset form
Signed-off-by: Anna Larch <anna@nextcloud.com>
9 months ago
provokateurin
82fb8f8508
refactor: Extend rector to core/
Signed-off-by: provokateurin <kate@provokateurin.de>
9 months ago
Marcel Müller
1addd35b78
fix: Remove unneccesary etag check
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
10 months ago
Joas Schilling
9ed33cf6aa
feat(profile): Add an API to get the profile field data
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 months ago
Misha M.-Kupriyanov
d1a94f3c9c
feat(login-flow-v2): Restrict allowed apps by user agent check
Enable via:
./occ config:system:set core.login_flow_v2.allowed_user_agents 0 --value '/Custom Foo Client/i'
./occ config:system:set core.login_flow_v2.allowed_user_agents 1 --value '/Custom Bar Client/i'
if user agent string is unknown
the template with "Access forbidden"-"Please use original client" will be displayed
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
1 year ago
Richard Steinmetz
246da73a36
fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
1 year ago
skjnldsv
0179cb4d8d
feat(core): add setup cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
11 months ago
skjnldsv
cc12719df5
feat(core): migrate setup to vue
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
11 months ago
Côme Chilliet
71dc34c03c
fix: Deprecate OC_Template, add proper template manager instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Louis Chemineau
c6293204a2
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.
This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 year ago
Côme Chilliet
e757b649b7
fix: Fix psalm taint false-positives by small refactorings
Mostly make it clear that we trust admin input or that we correctly
escape strings.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
skjnldsv
2c13259093
feat(files): add mime icon endpoint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 year ago
SebastianKrupinski
332fa63850
feat: Two Factor API
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
1 year ago