nextcloud/.github/workflows
Ferdinand Thiessen 691aedd13e
fix(db): set session timezone to UTC
Some (well all except sqlite) database platforms support timezone
configuration. The problem is that we expect everything in UTC,
but some servers might have set some different default (e.g. in database
configuration or even just because of `TZ` environment variable).

This causes incorrect values when expecting `NOW()` to return the
current time in UTC.

For PHP we already enforce UTC as timezone, this PR adds a middleware
that enforces UTC also as the database connection / session timezone.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-01 13:47:03 +02:00
..
autocheckers.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
block-merge-eol.yml ci: update workflows from organization 2025-11-25 12:18:55 +01:00
block-merge-freeze.yml ci: update workflows from organization 2025-11-25 12:18:55 +01:00
block-outdated-3rdparty.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
block-unconventional-commits.yml build(deps): bump the github-actions group with 5 updates 2026-01-31 23:15:54 +00:00
bug-report-labeler.yml feat: add workflow that aut-labels bug reports based on entered content 2026-03-02 12:13:37 +01:00
codeql.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
command-compile.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
command-pull-3rdparty.yml chore(workflows): remove cypress cloud 2026-03-12 20:26:51 +01:00
cypress.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
dependabot-approve-merge.yml ci: update workflows from organization 2025-11-25 12:18:55 +01:00
files-external-ftp.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external-s3.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external-sftp.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external-smb-kerberos.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external-smb.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external-webdav.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
files-external.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
fixup.yml chore: Add SPDX header 2024-05-27 14:53:40 +02:00
generate-release-changelog.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
integration-dav.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
integration-litmus.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
integration-s3-primary.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
integration-sqlite.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
lint-eslint.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
lint-php-cs.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
lint-php.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
lint-stylelint.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
node-test-handlebars.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
node-test.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
node.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
npm-audit-fix.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
object-storage-azure.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
object-storage-s3.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
object-storage-swift.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
openapi.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
performance.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-32bits.yml fix(phpunit): migrate from deprecated syntax for PHPUnit 11.1 2026-03-19 10:53:56 +01:00
phpunit-mariadb.yml fix(db): set session timezone to UTC 2026-04-01 13:47:03 +02:00
phpunit-memcached.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-mysql-sharding.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-mysql.yml fix(db): set session timezone to UTC 2026-04-01 13:47:03 +02:00
phpunit-nodb.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-object-store-primary.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-oci.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-pgsql.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
phpunit-sqlite.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
pr-feedback.yml ci: update workflows from organization 2025-11-25 12:18:55 +01:00
rector-apply.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
rector.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
reuse.yml build(deps): bump the github-actions group with 5 updates 2026-01-31 23:15:54 +00:00
stale.yml chore(deps): Bump the github-actions group with 5 updates 2026-02-28 23:14:04 +00:00
static-code-analysis.yml chore(deps): Bump the github-actions group with 7 updates 2026-03-31 22:18:07 +00:00
update-cacert-bundle.yml build(deps): bump the github-actions group with 5 updates 2026-01-31 23:15:54 +00:00
update-code-signing-crl.yml build(deps): bump the github-actions group with 5 updates 2026-01-31 23:15:54 +00:00
update-min-supported-desktop.yml chore(workflows): remove cypress cloud 2026-03-12 20:26:51 +01:00
update-stable-titles.yml ci: update workflows from organization 2025-11-25 12:18:55 +01:00