aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | fix: Handle null checks with the ?? operatorrefactor/elvisChristoph Wurst2024-09-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | | | refactor: Use the elvis operatorChristoph Wurst2024-09-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-164-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | Merge pull request #48046 from nextcloud/refactor/self-class-referenceAnna2024-09-154-4/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | refactor: Replace __CLASS__ with ::class references
| * | | | | | | | refactor: Replace __CLASS__ with ::class referencesrefactor/self-class-referenceChristoph Wurst2024-09-154-4/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | | Merge pull request #48010 from nextcloud/feat/switch-from-settype-to-castsAnna2024-09-152-54/+75
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | feat(db): switch from settype to casts
| * | | | | | | | feat(db): switch from settype to castsfeat/switch-from-settype-to-castsAnna Larch2024-09-152-54/+75
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / / / / / / / refactor: migrate dirname to __DIR__ constantsrefactor/dirname-to-dirChristoph Wurst2024-09-151-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | Merge pull request #48016 from nextcloud/fix/s3configtrait/proxy-falseKate2024-09-151-1/+1
|\ \ \ \ \ \ \
| * | | | | | | fix(S3ConfigTrait): Allow proxy field to take falsefix/s3configtrait/proxy-falseprovokateurin2024-09-151-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | | Merge pull request #48013 from ↵Kate2024-09-151-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/baseresponse/xml-element-value-string-cast
| * | | | | | | fix(BaseResponse): Cast XML element values to stringfix/baseresponse/xml-element-value-string-castprovokateurin2024-09-151-1/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | | Merge pull request #48014 from nextcloud/fix/tags/boolean-user-has-tagsKate2024-09-151-2/+1
|\ \ \ \ \ \ \
| * | | | | | | fix(Tags): Return boolean for userHasTags()fix/tags/boolean-user-has-tagsprovokateurin2024-09-151-2/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | | Merge pull request #48017 from nextcloud/fix/comment/children-count-integerKate2024-09-151-1/+1
|\ \ \ \ \ \ \
| * | | | | | | fix(Comment): Initialize childrenCount as integerfix/comment/children-count-integerprovokateurin2024-09-151-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* / / / / / / fix(Storage\Local): Do not call getSourcePath() on SplFileInfofix/storage-local/get-source-path-spl-file-infoprovokateurin2024-09-151-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | Merge pull request #47971 from ↵Côme Chilliet2024-09-141-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/do-not-try-to-change-response-code-too-late fix: Do not try to set HTTP response code on already closed connection
| * | | | | | fix: Do not try to set HTTP response code on already closed connectionCôme Chilliet2024-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a PHP warning in the logs about trying to set the response code while the output already started. It’s useless to try to print an error page anyway in this situation because the connection was closed already. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | feat(PsrLoggerAdapter): Allow to use `Psr\Log\LogLevel` for `log` methodFerdinand Thiessen2024-09-141-89/+30
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is the `Psr\Log\LogLevel` class defining loglevel constants, to be fully compatible we should at least support those logging levels. Moreover this is the last part that was still required from `ILogger` interface, as we did not have alternatives for the loglevel constants. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-144-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | fix(files): Adjust Cache::searchQuery() parameter name to match interfaceprovokateurin2024-09-132-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_appCôme Chilliet2024-09-139-73/+95
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Migrate away from OC_App to IAppManager
| * | | | | fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-136-36/+46
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-136-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | Merge pull request #47865 from ↵Côme Chilliet2024-09-138-14/+137
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/admin_audit/enh/move-to-event-listeners-v2 Move admin_audit to proper event listeners v2
| * | | | | | fix: Fix phpdoc wordingCôme Chilliet2024-09-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Anna <anna@nextcloud.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | | | | chore: Add descriptions for new events and fix copyright yearCôme Chilliet2024-09-103-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | feat(user_ldap): Introduce user id assigned typed events for LDAP usageCarl Schwan2024-09-105-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on work from https://github.com/nextcloud/server/pull/32019 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | | | chore: Code cleanup in lib/private/Console/ApplicationThomas Citharel2024-09-101-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | | | feat: Add mimetype into BeforePreviewFetchedEvent eventThomas Citharel2024-09-102-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | | Merge pull request #47883 from nextcloud/fix/setup-checksFerdinand Thiessen2024-09-132-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | fix(setup-checks): Ensure URL with webroot works
| * | | | | | | fix(setup-checks): Ensure URL with webroot worksFerdinand Thiessen2024-09-132-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We basically mock the way `URLGenerator::getAbsoluteURL` works, so we must make sure that the URL might already contain the webroot. Because `baseURL` and `cliURL` also contain the webroot we need to remove the webroot from the URL first. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | | | Merge pull request #47933 from ↵Joas Schilling2024-09-131-3/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/throw-precondition-failure-when-not-matching fix(config): Throw PreconditionException always when it didn't match
| * | | | | | | fix(config): Throw PreconditionException always when it didn't matchJoas Schilling2024-09-131-3/+3
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously even when the precondition did not match, the call "passed" when the after value was the expected one. This however can lead to race conditions, duplicate code excutions and other things. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | Merge pull request #47854 from nextcloud/validAppsFromAppStoreGit'Fellow2024-09-131-1/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | fix(appstore): Ensure returned apps from AppStore are valid
| * | | | | | fix: check if key is setGit'Fellow2024-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | | | | fix(appstore): Ensure returned apps from AppStore are validGit'Fellow2024-09-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: lint chore: remove space Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: check if response array is null Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: Add log
* | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-134-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | Merge pull request #47685 from nextcloud/fix/move-apihelper-to-oc-namespaceCôme Chilliet2024-09-126-324/+82
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | fix: Move OC_API into \OC\ApiHelper in standard namespace
| * | | | | | | chore: Make parameter name more explicitCôme Chilliet2024-09-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | fix: Force 503 HTTP status code for maintenance mode on v1Côme Chilliet2024-09-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | chore: Deleted now unused classes from \OC\OCSCôme Chilliet2024-09-094-160/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | fix: Remove duplicated code in \OC\OCS\ApiHelper, use Response classes insteadCôme Chilliet2024-09-091-90/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | fix: Move ApiHelper to \OC\OCS next to related classesCôme Chilliet2024-09-093-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | fix: A bit of code cleanup in OC\AppFramework\OCS\ApiHelperCôme Chilliet2024-09-091-30/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | fix: Move OC_API into \OC\ApiHelper in standard namespaceCôme Chilliet2024-09-093-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It’s only used by ocs/v1.php Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | fix: Add whiteboard to education and public sector bundleJulius Knorr2024-09-122-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | | | | | | Merge pull request #47586 from nextcloud/fix/colorFerdinand Thiessen2024-09-114-4/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | fix(theming): Add migration to restore primary color after separating primary and background
| * | | | | | | | fix: Adjust types of IQueryBuilder to properly allow joining with sub-queryFerdinand Thiessen2024-09-103-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>