aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix(appinfo): Make sure screenshot, author and category are always arraysbugfix/exception-appscreenshot-notstringJoas Schilling2024-10-281-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(bruteforce): Allow forcing the database throttlerbugfix/noid/allow-to-force-db-throttlerJoas Schilling2024-10-241-1/+2
| | | | | | | | Using the database is most likely worse for performance, but makes investigating issues a lot easier as it's possible to look directly at the table to see all logged remote addresses and actions. Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(textprocessing): factorize taskProcessingCompatibleTaskTypesJulien Veyssier2024-10-241-22/+11
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(textprocessing): also list types that are available in task processingJulien Veyssier2024-10-241-0/+29
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix: $uid type in Encryption streamartonge/fix/uid_typeLouis2024-10-231-1/+1
| | | | | | | As explained by the comment. Signed-off-by: Louis <louis@chmn.me> Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-1915-60/+60
| | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-supportFerdinand Thiessen2024-10-187-30/+48
|\ | | | | feat(AppFramework): Add full support for date / time / datetime columns
| * fix: Adjust Entity typesfeat/add-datetime-qbmapper-supportFerdinand Thiessen2024-10-172-8/+10
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Prevent breaking change in IQueryBuilderFerdinand Thiessen2024-10-175-22/+22
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Adjust parameter type usage and add SQLite supportFerdinand Thiessen2024-10-174-12/+28
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * feat(AppFramework): Add full support for date / time / datetime columnsFerdinand Thiessen2024-10-171-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added. But especially those types are the important ones, as our **Entity** class works by detecting changes through setters. Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here. Similar the parameter types needed to be added. `Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity. Also added more tests, especially to make sure the mapper really serializes the values correctly. 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 #48765 from nextcloud/dbQueriesExecStmt2Kate2024-10-1814-156/+116
|\ \
| * | chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-1714-156/+116
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* | fix(comments): Document supported types and provide psalm typingJoas Schilling2024-10-171-19/+21
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(comments): Support mentioning emailsJoas Schilling2024-10-171-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(db): Correctly apply query typesGit'Fellow2024-10-1713-154/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* refactor(encryption): Migrate away from Hooks to typed eventsFerdinand Thiessen2024-10-151-9/+12
| | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48682 from ↵Kate2024-10-151-0/+1
|\ | | | | | | nextcloud/fix/appconfig/sensitive-keys-external-jwt-private-key
| * fix(AppConfig): Add external JWT private key to sensitive keysfix/appconfig/sensitive-keys-external-jwt-private-keyprovokateurin2024-10-141-0/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48206 from nextcloud/feat/systemtags-publicJohn Molakvoæ2024-10-151-2/+16
|\ \
| * | feat: make systemtags public visiblefeat/systemtags-publicJohn Molakvoæ (skjnldsv)2024-10-111-2/+16
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #48673 from nextcloud/fix/null-labelFerdinand Thiessen2024-10-141-2/+2
|\ \ | | | | | | fix(share): Return empty string if no label is set
| * | fix(share): Return empty string if no label is setFerdinand Thiessen2024-10-141-2/+2
| |/ | | | | | | | | | | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/48629 While the database supports NULL, the typing has always said it only returns *string*. So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #48687 from nextcloud/chore/gender-neutral-languageFerdinand Thiessen2024-10-146-6/+6
|\ \ | | | | | | chore: Use more gender neutral language
| * | chore: Use more gender neutral languageprovokateurin2024-10-146-6/+6
| |/ | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48650 from nextcloud/fix/shipped-app-versionFerdinand Thiessen2024-10-141-47/+57
|\ \ | | | | | | fix: Shipped apps should include the Nextcloud version in the cache buster
| * | fix: Shipped apps should include the Nextcloud version in the cache busterfix/shipped-app-versionFerdinand Thiessen2024-10-141-47/+57
| | | | | | | | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #48604 from nextcloud/bugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-143-19/+29
|\ \ \ | |/ / |/| | fix(appmanager): Fix tainted file path when loading appinfos
| * | fix(appmanager): Fix tainted file path when loading appinfosbugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-143-19/+29
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / fix(locking): Accept mixed as value on setTTLmixedSetTTLGit'Fellow2024-10-141-1/+1
|/ | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-constThomas Citharel2024-10-112-2/+3
| | | | | | | | | | instead of magic number 30 Will be used to set default where we are able to override the default timeout. See https://github.com/nextcloud/server/pull/48418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-checkKate2024-10-091-1/+1
|\
| * fix: Allow overriding shouldApplyQuota check from child classesfix/allow-quota-wrapper-checkJulius Knorr2024-10-091-1/+1
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | fix: Subadmin can access selfChristopher Ng2024-10-081-0/+3
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #48613 from nextcloud/feat/add-query-param-to-force-languageCôme Chilliet2024-10-081-4/+8
|\ \ | | | | | | feat(l10n): Allow to force language with a query parameter
| * | feat(l10n): Respect forceLanguage query parameter in more placesfeat/add-query-param-to-force-languageCôme Chilliet2024-10-081-3/+7
| | | | | | | | | | | | | | | | | | | | | Attempt to make L10N Factory consistent with itself when forceLanguage query parameter is used. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat(l10n): Allow to force language with a query parameterCôme Chilliet2024-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used by support application to always generate the support report in english. It may also be used to debug a language, or to temporarily show a page in an other language to take a screenshot or to share your screen with someone speaking another language. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #48494 from nextcloud/refactor/storage/strong-param-typesKate2024-10-0822-635/+482
|\ \ \
| * | | refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-0722-635/+482
| |/ / | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48603 from nextcloud/bugfix/noid/censor-more-valuesJoas Schilling2024-10-081-2/+19
|\ \ \ | | | | | | | | fix(logger): Remove more parameters of other methods
| * | | fix(logger): Remove more parameters of other methodsbugfix/noid/censor-more-valuesJoas Schilling2024-10-071-2/+19
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-086-11/+12
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(Wrapper\Encryption): Migrate to strong typesrefactor/stream-encryption/typingsprovokateurin2024-10-071-59/+15
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(Stream\Encryption): Migrate to strong typesprovokateurin2024-10-071-74/+42
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48584 from nextcloud/bugfix/noid/increase-exclude-listFerdinand Thiessen2024-10-071-0/+9
|\ \ | | | | | | fix(config): Mark more app configs sensitive
| * | fix(config): Mark more app configs sensitivebugfix/noid/increase-exclude-listJoas Schilling2024-10-071-0/+9
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(command): Make method compatible with upstream class (requires 3rdparty ↵Joas Schilling2024-10-071-4/+4
| | | | | | | | | | | | | | | | | | bump) Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(command): Make method compatible with upstream class (backportable)Joas Schilling2024-10-071-3/+3
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #47896 from nextcloud/fix/resiliant-user-removalFerdinand Thiessen2024-10-078-71/+255
|\ \ | |/ |/| fix: Make user removal more resilient
| * fix: Skip users that still exist in backendfix/resiliant-user-removalFerdinand Thiessen2024-09-263-9/+28
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>