659 Commits

Author SHA1 Message Date
7689c919c3 ci(integration-dav): migrate LizardByte/setup-python-action
LizardByte/setup-python-action is deprecated and has moved to LizardByte/actions.

Signed-off-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2025-07-14 23:15:41 -04:00
01766b18f8 fix: Fix theming for disabled accounts
The Theming app injects the stylesheets for the different themes in the
"<header>" element of the page, and those stylesheets are then loaded by
the browser from a "Controller" (a plain "Controller", not an
"OCSController"). The stylesheets, in turn, may also get some images
(like the background) also from the "Controller".

When handling a request to "index.php" it is checked whether the user is
logged in and, if not, a login is tried. A disabled user is explicitly
seen as not logged in, so a login is always tried in that case, but
disabled users are also explicitly prevented to log in, so the login
also fails. Due to that trying to get any of the themed stylesheets or
images with a disabled account (to be able to show the "Account
disabled" error page) fails with an HTTP status 401.

To solve that, and to avoid touching this basic logic as much as
possible, the login exception is now ignored (if the user is disabled)
for some specific requests to the Theming app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-10 15:19:01 +02:00
c7087fa9e5 build(deps): bump the github-actions group with 4 updates
Bumps the github-actions group with 4 updates: [shivammathur/setup-php](https://github.com/shivammathur/setup-php), [cypress-io/github-action](https://github.com/cypress-io/github-action), [LizardByte/setup-python-action](https://github.com/lizardbyte/setup-python-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `shivammathur/setup-php` from 2.33.0 to 2.34.1
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](cf4cade272...0f7f1d08e3)

Updates `cypress-io/github-action` from 6.9.2 to 6.10.1
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](be1bab96b3...6c143abc29)

Updates `LizardByte/setup-python-action` from 6fe61189717d4cb073a3219e234749125f53b5c2 to 5a025cb74cf0b07fd881ff40560db2bbc516f81a
- [Release notes](https://github.com/lizardbyte/setup-python-action/releases)
- [Commits](6fe6118971...5a025cb74c)

Updates `github/codeql-action` from 3.28.18 to 3.29.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff0a06e83c...181d5eefc2)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-version: 2.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: cypress-io/github-action
  dependency-version: 6.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: LizardByte/setup-python-action
  dependency-version: 5a025cb74cf0b07fd881ff40560db2bbc516f81a
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 3.29.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 21:04:56 +02:00
12524d93f4 Merge pull request #53417 from nextcloud/fix/fix-32bits-phpunit
fix(tests): Fix 32bits PHPUnit tests
2025-06-19 10:38:32 +02:00
5f200c7765 test: reenable localstack tests (bug fixed) but disable MinIO versioned copy test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 14:23:07 +02:00
22b9d912b1 test: only skip tests failing on localstack for localstack
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 14:23:07 +02:00
de338d9d9f test: fix s3 external storage tests to run all storages on ci
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 14:23:07 +02:00
aa906391f6 fix(tests): Simplify error handling in tests/enable_all.php
Simply let the Exception bubble up instead of caching it and using grep
 to then detect it.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-10 12:05:12 +02:00
143bcf95ef fix(tests): Enable more PHP modules in phpunit-32bits
Also add output when enabling applications, and watch phpunit
 configuration file for changes.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-10 11:49:07 +02:00
bed6737b90 fix(tests): Fix 32bits PHPUnit tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-10 11:02:54 +02:00
377eebaece chore(workflows): add auto stable PR title update
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-07 09:05:03 +02:00
f6931d79bb ci: Skip second S3 test temporarily
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 15:02:58 +02:00
20e1ff78ad ci: Remove no longer supported --verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:28 +02:00
04118afdab Merge pull request #53287 from nextcloud/feat/test-app-routes
feat(tests): Test application enabling/disabling and routes
2025-06-06 13:00:02 +02:00
c6f2eff7f7 fix: Fix log display for integration tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
a15c473ae2 feat(tests): Test application enabling/disabling and routes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 15:12:28 +02:00
9fd6090194 fix(workflows): releases changelog generator tags handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 12:39:14 +02:00
d72110cd35 ci: Add storage name to run name for easier identification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-02 19:07:18 +02:00
893c0b4db5 ci(github): No longer fail-fast
On average this is costing us more CI time due to flaky tests,
then we save by actually skipping them.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-02 14:09:07 +02:00
f530a6c7d5 Merge pull request #53236 from nextcloud/dependabot/github_actions/github-actions-1204f2af31 2025-06-01 08:24:20 +00:00
6b20851438 build(deps): bump LizardByte/setup-python-action
Bumps the github-actions group with 1 update: [LizardByte/setup-python-action](https://github.com/lizardbyte/setup-python-action).


Updates `LizardByte/setup-python-action` from 2025.426.160528 to 2025.530.174035
- [Release notes](https://github.com/lizardbyte/setup-python-action/releases)
- [Commits](f4367d0377...6fe6118971)

---
updated-dependencies:
- dependency-name: LizardByte/setup-python-action
  dependency-version: 2025.530.174035
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-01 09:38:26 +02:00
cd99745a07 chore: adjust codeowners for stylesheets
1. Fix code owners to assign frontend to CSS / SCSS changes instead of
   backend.
2. Fix mixed usage of tabs and spaces in the file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 16:08:25 +02:00
7e101aa638 ci(feedback): Use default action template
...since modifications have been up-streamed

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-30 09:25:51 +02:00
028ed380ce ci(crl): Add srtable31 branch
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-30 08:56:42 +02:00
db637f3a8c build(deps): bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: [cypress-io/github-action](https://github.com/cypress-io/github-action) and [codecov/test-results-action](https://github.com/codecov/test-results-action).


Updates `cypress-io/github-action` from 6.7.16 to 6.9.2
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](108b8684ae...be1bab96b3)

Updates `codecov/test-results-action` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](f2dba722c6...47f89e9acb)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-version: 6.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: codecov/test-results-action
  dependency-version: 1.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 17:57:27 +02:00
a4bbdefcdf ci: Update comments and correctly skip the "pull 3rdparty" command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 09:37:18 +02:00
2d649357a1 ci: Ignore template-injection on nextcloud-releases workflow
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 09:30:04 +02:00
923b4477cc Merge pull request #53076 from nextcloud/gw-codeowners-public-api
chore(codeowners): add codeowners for calendar and contacts api
2025-05-25 16:40:09 +02:00
7c45c147dc Merge pull request #53069 from nextcloud/ci/noid/syncActions
ci(gh): Sync actions
2025-05-23 23:00:29 +02:00
94e071e30f ci: Harden some and ignore others that are blocked from forks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-23 21:13:44 +02:00
519d77db33 ci: Pin more actions, images and permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-23 21:03:04 +02:00
d22a4cab90 ci: Try to pin images
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-23 20:29:53 +02:00
505d63363c ci(gh): Pin action to a hash
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-23 19:53:18 +02:00
8b92f695b7 ci(gh): Sync actions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-23 19:51:49 +02:00
4da8edc941 chore(codeowners): add codeowners for calendar and contacts api
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 18:07:15 +02:00
a4a3d15d82 feat: auto-generate changelog on release
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-05-22 16:58:06 +02:00
fd8df1003d chore: remove reviewers from dependendabot - its deprecated
Instead make sure all PRs get a reviewer assigned.
Also fixed an issue with the `dist/` folder as there is no automated PR
adding dist files - it needs to be manually updated, so that a PR
containing changes has to be reviewed properly!

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-14 22:27:25 +02:00
2919685603 ci: Add vendor-bin/rector to dependabot
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-14 15:28:14 +02:00
3dbc479239 chore(cypress): add setup tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-05-09 21:59:23 +02:00
ecacdd2e77 ci: pin codecov/test-results-action@v1.1.0 with hash
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-05-01 11:39:23 -04:00
dbfbb8da7f ci: pin codecov/codecov-action@v5.4.2 with hash
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-05-01 11:39:22 -04:00
3cf7b8ddbe chore: Add logs for dc and apache container
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-05-01 11:15:24 +02:00
0395eaacbb ci: change if always() to if not cancelled on test results uploads
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-04-28 16:01:50 -04:00
9c3bdf2647 ci: always upload test results, even if tests fail
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-04-28 16:01:49 -04:00
c795fb1937 ci: fix whitespace
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-04-28 16:01:49 -04:00
41764b9c09 ci: always collect and upload test results, not just on coverage runs
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-04-28 16:01:47 -04:00
191d07d588 ci: add Codecov's test analytics and bundle analysis features
Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
2025-04-28 16:01:43 -04:00
ce26d5450a build(deps): bump the github-actions group with 4 updates
Bumps the github-actions group with 4 updates: [shivammathur/setup-php](https://github.com/shivammathur/setup-php), [actions/setup-node](https://github.com/actions/setup-node), [codecov/codecov-action](https://github.com/codecov/codecov-action) and [nextcloud-libraries/npm-audit-action](https://github.com/nextcloud-libraries/npm-audit-action).


Updates `shivammathur/setup-php` from 2.32.0 to 2.33.0
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](9e72090525...cf4cade272)

Updates `actions/setup-node` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](cdca7365b2...49933ea528)

Updates `codecov/codecov-action` from 5.4.0 to 5.4.2
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.2)

Updates `nextcloud-libraries/npm-audit-action` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/nextcloud-libraries/npm-audit-action/releases)
- [Commits](2a60bd2e79...1b1728b2b4)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-version: 2.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: nextcloud-libraries/npm-audit-action
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:04:58 +00:00
fd22b9cb18 ci(dependabot): remove stable29 and group composer directories
- stable29 is EOL
- make configuration better readable by grouping composer configurations
  with `directories` instead of individual configurations.
- do not allow major updates on stable branches, but still do patch
  updates.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:06:27 +02:00
fa8b389b6e ci: add check to ensure composer-bin is not accidentally committed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-04-15 13:20:37 +02:00