aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix: Remove some call and references to deprecated OC_Util classCôme Chilliet2025-04-071-10/+10
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52014 from nextcloud/fix/fix-movie-preview-constructKate2025-04-081-7/+10
|\ \ \ | | | | | | | | fix(preview): Fix constructor parameter name and default value
| * | | fix(previews): Cleanup Movie provider code and remove deprecated static varsfix/fix-movie-preview-constructCôme Chilliet2025-04-081-7/+10
| |/ / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | refactor(RichObjectStrings): Only log error if key or value is not string in ↵fix/richobjectstrings/validator-string-key-value-errorprovokateurin2025-04-081-5/+0
| | | | | | | | | | | | | | | | | | validator Signed-off-by: provokateurin <kate@provokateurin.de>
* | | feat(ip): use larger IPv6 range by defaultfeat/larger_ipv6_rangeBenjamin Gaussorgues2025-04-081-5/+5
|/ / | | | | | | | | | | | | Some providers assign `/48` IPv6 blocks instead of `/64` so it sounds safer to use this mask by default. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #51836 from nextcloud/feat/cleanup-oc-utilCôme Chilliet2025-04-031-57/+39
|\ \ | | | | | | chore(legacy): Remove deprecated OC_Util::addScript and functions depending on it
| * | chore(legacy): Remove deprecated OC_Util::addScript and functions depending ↵feat/cleanup-oc-utilCôme Chilliet2025-04-011-57/+39
| |/ | | | | | | | | | | | | | | | | | | on it Deprecated since 24, currently unused. Sadly not all related functions were officially marked as deprecated, but all of them were unused. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(session): Only mark sessions of permanent tokens as app passwordsfix/session/permanent-token-app-passwordChristoph Wurst2025-04-031-0/+40
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(oauth2): retain support for legacy ownCloud clientsfix/oauth2/retain-legacy-oc-client-supportRichard Steinmetz2025-04-011-2/+8
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Merge pull request #50768 from nextcloud/perf/cron/delay-timedjob-checkingChristoph Wurst2025-03-313-17/+52
|\ | | | | perf(cron): Delay (re)checking timed jobs
| * perf(cron): Delay (re)checking timed jobsperf/cron/delay-timedjob-checkingChristoph Wurst2025-03-313-17/+52
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #51768 from nextcloud/techdebt/noid/prepare-phpunit10Joas Schilling2025-03-3110-244/+187
|\ \ | |/ |/| fix(phpunit10): Migrate away from PHPUnit at() calls
| * fix(phpunit): Remove some more withConsecutive callstechdebt/noid/prepare-phpunit10Joas Schilling2025-03-318-240/+183
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix: Adjust data provider nameFerdinand Thiessen2025-03-272-4/+4
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #51676 from nextcloud/fix/add-getappversions-replacementCôme Chilliet2025-03-311-0/+4
|\ \ | | | | | | Add OC_App::getAppVersions replacement in IAppManager
| * | chore(tests): Adapt TemplateLayoutTest to constructor changeCôme Chilliet2025-03-251-0/+4
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: add event status and participant statusfix/noid-add-status-and-set-attendee-statusSebastianKrupinski2025-03-283-0/+7
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | test: Adapt tests to properly use valid email addressesfix/filter-empty-emailJulius Knorr2025-03-261-25/+25
|/ | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* Merge pull request #51490 from nextcloud/castUsersCountToIntJohn Molakvoæ2025-03-251-0/+13
|\ | | | | fix(database): Cast users count to integer
| * fix(database): Cast users count to integercastUsersCountToIntGit'Fellow2025-03-201-0/+13
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix(IFilenameValidator): correctly handle case insensitivityfix/file-name-validator-case-sensitivityFerdinand Thiessen2025-03-211-1/+91
| | | | | | | | | | | | | | | | - forbidden names and forbidden base names are case **insensitive** so we need to check all lowercase here. - add test that config value is also read case insensitive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore: Move template functions out of legacy folderCôme Chilliet2025-03-201-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Remove multiple require_once calls for template functionsCôme Chilliet2025-03-201-2/+0
|/ | | | | | Only require them when include the template file instead Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(cardav): only show useres from enabled addressBooks in contacts menufix/noid/contactsmenu-ab-enabledHamza Mahjoubi2025-03-171-18/+64
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* test: fix CI when running Karma testsfix/reset-phone-numberFerdinand Thiessen2025-03-161-3/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(RichObjectStrings): Make exception messages for invalid parameters more ↵fix/rich-object-strings/better-exception-messagesprovokateurin2025-03-121-2/+2
| | | | | | useful for debugging Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(mime-types): adjust compiled mime types and signfix/code-sign-testFerdinand Thiessen2025-03-122-3/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-14/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51029 from nextcloud/fix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-102-20/+39
|\ | | | | fix: Deprecate OC_Template, add proper template manager instead
| * fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-061-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Adapt TemplateLayout testsCôme Chilliet2025-03-061-17/+36
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #51130 from nextcloud/fix/credential-passwordless-authJulius Knorr2025-03-071-0/+40
|\ \ | |/ |/| fix: Do not build encrypted password if there is none
| * fix: Do not build encrypted password if there is nonefix/credential-passwordless-authJulius Knorr2025-03-061-0/+40
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | Merge pull request #47686 from nextcloud/fix/move-email-logic-local-user-backendCôme Chilliet2025-03-041-148/+0
|\ \ | | | | | | fix: Move login via email logic to local backend
| * | fix: Move login via email logic to local backendfix/move-email-logic-local-user-backendFerdinand Thiessen2025-03-031-148/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backends can decide which names they accept for login, e.g. with user_ldap you can configure arbitrary login fields. This was a hacky approach to allow login via email, so instead this is now only handled by the local user backend. This also fixes some other related problems: Other logic relys on `backend::get()` which was not handling email, so e.g. password policy could not block users logged in via email if they use out-dated passwords. Similar for other integrations, as the user backend was not consistent with what is a login name and what not. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #51116 from nextcloud/enh/noid/nullable-rangeArthur Schiwon2025-03-041-1/+11
|\ \ \ | |/ / |/| | feat(AppFramework): extend range check to optional parameters
| * | feat(AppFramework): extend range check to optional parametersenh/noid/nullable-rangeArthur Schiwon2025-02-271-1/+11
| | | | | | | | | | | | | | | | | | | | | Now it also applies when a paramater is documtend with a pending |null, but no further unionation is considered. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | refactor(TempManager): Simplify and unify implementations and remove legacy ↵refactor/tempmanagerprovokateurin2025-03-031-18/+7
|/ / | | | | | | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #50999 from nextcloud/fix/move-away-from-oc-appCôme Chilliet2025-02-272-12/+10
|\ \ | | | | | | fix: Replace OC_App calls by IAppManager
| * | fix: Remove incorrect `@throws` annotations and move away from OC_Appfix/move-away-from-oc-appCôme Chilliet2025-02-241-12/+7
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(tests): Adapt tests to appManager usageCôme Chilliet2025-02-241-0/+3
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / feat: support migrating an instance to shardingsharding-existingRobin Appelman2025-02-251-1/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor: convert sanitize account properties repair step to background jobfix/account-property-validationFerdinand Thiessen2025-02-242-10/+55
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Optimize repair step performanceFerdinand Thiessen2025-02-241-1/+26
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: validate account properties as a repair stepFerdinand Thiessen2025-02-241-0/+89
| | | | | | | | Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step, `ValidateAccountProperties` which validates and sanitizes all account properties. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Change UserAgent to *cloudfix/noid/thudnerbird-addon-useragentJohannes Endres2025-02-191-1/+1
| | | | | Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Johannes Endres <je@johannes-endres.de>
* Merge pull request #49648 from nextcloud/fix/clarify-app-manager-methodsCôme Chilliet2025-02-133-8/+10
|\ | | | | Clarify app manager method names
| * fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methodsCôme Chilliet2025-02-132-4/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-132-4/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>