aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-1920-73/+145
| | | | | | | | | | | | | | | | | 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>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-10-194-8/+8
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-supportFerdinand Thiessen2024-10-1812-65/+246
|\ | | | | feat(AppFramework): Add full support for date / time / datetime columns
| * fix: Adjust Entity typesfeat/add-datetime-qbmapper-supportFerdinand Thiessen2024-10-173-12/+13
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Prevent breaking change in IQueryBuilderFerdinand Thiessen2024-10-177-31/+37
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Adjust parameter type usage and add SQLite supportFerdinand Thiessen2024-10-175-29/+43
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * feat(AppFramework): Add full support for date / time / datetime columnsFerdinand Thiessen2024-10-176-54/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #48760 from nextcloud/feat/noid/support-email-mentionsJoas Schilling2024-10-182-34/+31
|\ \ | | | | | | feat(comments): Support mentioning emails
| * | fix(comments): Document supported types and provide psalm typingJoas Schilling2024-10-172-33/+26
| | | | | | | | | | | | 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>
* / Fix(l10n): Update translations from TransifexNextcloud bot2024-10-182-2/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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
* Fix(l10n): Update translations from TransifexNextcloud bot2024-10-174-4/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-10-162-6/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore: Unify user related events to always provide a `getUid` methodchore/migrate-encryption-away-from-hooksFerdinand Thiessen2024-10-154-1/+22
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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-152-6/+22
|\ \
| * | feat: make systemtags public visiblefeat/systemtags-publicJohn Molakvoæ (skjnldsv)2024-10-112-6/+22
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-152-6/+6
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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-1411-11/+11
|\ \ \ \ | | | | | | | | | | chore: Use more gender neutral language
| * | | | chore: Use more gender neutral languageprovokateurin2024-10-1411-11/+11
| |/ / / | | | | | | | | | | | | 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-144-20/+38
|\ \ \ \ \ | |/ / / / |/| | | | 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-144-20/+38
| |/ / / | | | | | | | | | | | | 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>
* | | Merge pull request #48537 from nextcloud/add-command-to-cleanup-previewKate2024-10-142-0/+2
|\ \ \ | |_|/ |/| |
| * | feat(preview): add command to cleanup preview folderadd-command-to-cleanup-previewThomas Citharel2024-10-032-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When changing preview parameters (size, format, …), one can simply delete the preview folder and run files:scan-app-data in order to retrigger updated preview recreation because files are absent. However, that's not possible when using ObjectStorage as primary storage, as there's no concept of "preview folder". This command allows to simply delete and recreate the preview folder properly from Nextcloud, so that the abstraction levels handle all the subfolder & file deleting part. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-146-2/+40
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-136-8/+20
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-124-4/+24
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-constThomas Citharel2024-10-113-2/+11
| | | | | | | | | | | | | | | | | | | | 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>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-114-10/+104
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-10-102-0/+36
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | 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-0829-754/+530
|\ \ \ \
| * | | | refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-0729-754/+530
| |/ / / | | | | | | | | | | | | 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>