aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen22 hours1-60/+42
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen23 hours1-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(TempManager): Simplify and unify implementations and remove legacy ↵backport/51194/stable26provokateurin9 days1-18/+7
| | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(sharing): Move permission validation to share managerFerdinand Thiessen2025-01-311-5/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: fix mimetype not being updated when changing file extention on object storebackport/40394/stable26Robin Appelman2024-12-111-0/+35
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(migration): Decrypt ownCloud secrets v2Christoph Wurst2024-11-281-0/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: Remove call to non-existing method in 28 and add missing use in testCôme Chilliet2024-08-271-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Fix PHP 8.0 compatibilityCôme Chilliet2024-08-271-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Adapt tests to change of DefaultShareProvider constructorCôme Chilliet2024-08-271-8/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #45812 from nextcloud/backport/43942/stable26Arthur Schiwon2024-06-182-6/+126
|\ | | | | [stable26] fix(Session): avoid password confirmation on SSO
| * test(unit): adjust testSSO scenario and test classArthur Schiwon2024-06-132-5/+67
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix(Token): make new scope future compatibleArthur Schiwon2024-06-121-1/+1
| | | | | | | | | | | | | | - "password-unconfirmable" is the effective name for 30, but a draft name was backported. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix(Session): avoid password confirmation on SSOArthur Schiwon2024-06-121-1/+59
| | | | | | | | | | | | | | | | | | | | | | SSO backends like SAML and OIDC tried a trick to suppress password confirmations as they are not possible by design. At least for SAML it was not reliable when existing user backends where used as user repositories. Now we are setting a special scope with the token, and also make sure that the scope is taken over when tokens are regenerated. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | test: add tests for ProfilePageControllerDaniel Kesselberg2024-06-141-0/+74
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: Extend SVG reference checkJoas Schilling2024-05-221-0/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Update testsChristopher Ng2024-04-081-0/+16
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(config): Make sure user keys are stringsChristoph Wurst2024-03-191-0/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(share): save date and time for expirationBenjamin Gaussorgues2024-02-261-22/+76
| | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(session): Avoid two useless authtoken DB queries for every anonymous requestGit'Fellow2024-01-171-0/+50
| | | | | | Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-161-4/+101
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* perf: Use more performant way to obtain and check the email as a login name ↵Julius Härtl2024-01-091-1/+1
| | | | | | with token login Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #42548 from nextcloud/lock-restore-ttl-26John Molakvoæ2024-01-022-1/+24
|\
| * adjust redis compareSetTTL to use a lua scriptRobin Appelman2024-01-021-0/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * restore shared lock ttl when releasingRobin Appelman2024-01-021-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(security): Handle idn_to_utf8 returning falseJoas Schilling2023-12-072-3/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #41627 from nextcloud/backport/41616/stable26Arthur Schiwon2023-12-041-7/+15
|\ \ | | | | | | [stable26] fix: Fix linkToOCSRouteAbsolute() without index.php and with subfolder
| * | fix: Fix linkToOCSRouteAbsolute() without index.php and subfolderJoas Schilling2023-11-201-7/+15
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | ci(acceptance): fix dev branchArthur Schiwon2023-11-231-1/+1
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / Reverse X-Forwarded-For list to read the correct proxy remote addressJoas Schilling2023-11-161-6/+32
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix tests, add test for the new featureCôme Chilliet2023-09-181-13/+77
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #40167 from nextcloud/backport/40108/stable26Arthur Schiwon2023-09-061-1/+42
|\ | | | | [stable26] feat: add switch to disable dns pinning
| * feat: add switch to disable dns pinningDaniel Kesselberg2023-08-301-1/+42
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | cleanup di for share permissions wrapperRobin Appelman2023-09-042-12/+28
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* tests: Add test for CacheEntry gettersFerdinand Thiessen2023-08-171-0/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Add instance category while checking new updatesBenjamin Gaussorgues2023-07-211-7/+20
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: also run phpunit on `apps/theming/css` modified filesJohn Molakvoæ2023-07-131-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #39031 from nextcloud/backport/38917/stable26Arthur Schiwon2023-07-101-0/+9
|\ | | | | [stable26] fix(l10n): Fix plural issue with different locale and language
| * fix(l10n): Fix plural issue with different locale and languageJoas Schilling2023-06-271-0/+9
| | | | | | | | | | | | | | | | | | | | We need to use the language code here instead of the locale, because Symfony does not distinguish between the two and would otherwise e.g. with locale "Czech" and language "German" try to pick a non-existing plural rule, because Czech has 4 plural forms and German only 2. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-07-101-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38977 from nextcloud/backport/38625/stable26Arthur Schiwon2023-07-041-3/+5
|\ \ | |/ |/| [stable26] fix: expect interface, not a specific implementation
| * chore: ugly type jugglingArthur Schiwon2023-06-231-3/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | try to fix testsSimon L2023-06-261-10/+27
|/ | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Merge pull request #37230 from nextcloud/backport/36033/stable26Arthur Schiwon2023-06-151-0/+44
|\ | | | | [stable26] invalidate existing tokens when deleting an oauth client
| * unit tests for Manager::invalidateTokensOfUserArtur Neumann2023-05-191-0/+44
| | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | redis: move lua scripts to class and add type hintsVarun Patil2023-05-311-3/+1
| | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | add test to verify redis lua script hashesRobin Appelman2023-05-311-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Clear generated avatar cachesjld31032023-05-161-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #38275 from nextcloud/backport/38274/stable26Joas Schilling2023-05-161-3/+3
|\ | | | | [stable26] fix(middleware): Also abort the request when reaching max delay in af…
| * fix(middleware): Also abort the request when reaching max delay in ↵Joas Schilling2023-05-151-3/+3
| | | | | | | | | | | | afterController Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(tests): Adjust unit testsJoas Schilling2023-05-151-8/+8
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>