Daniel Calviño Sánchez
c6f870245a
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.
The clouds.jpg file was not available in stable30, so the file and its
license were copied from the commit that introduced them in newer
branches, 19ce362896 .
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-11 12:01:04 +07:00
Andy Scherzinger
041e0b4ce6
ci(actions): Sync workflow updates
...
based on #53105
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-25 15:35:51 +07:00
provokateurin
863679f499
fix(test): Fix provisioning enabled apps
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 09:43:37 +07:00
Joas Schilling
261e9a0f1d
ci: Update integration-sqlite.yml
...
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2024-08-27 21:43:58 +07:00
Joas Schilling
5a55410083
chore(branchoff): Test against stable30 branches
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 13:53:22 +07:00
dependabot[bot]
6edca57df4
build(deps): bump the github-actions group with 6 updates
...
Bumps the github-actions group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [shivammathur/setup-php](https://github.com/shivammathur/setup-php ) | `2.31.0` | `2.31.1` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `4.0.2` | `4.0.3` |
| [cypress-io/github-action](https://github.com/cypress-io/github-action ) | `6.7.1` | `6.7.2` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `4.3.3` | `4.3.4` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `4.1.1` | `4.5.0` |
| [mdecoleman/pr-branch-name](https://github.com/mdecoleman/pr-branch-name ) | `2.0.0` | `3.0.0` |
Updates `shivammathur/setup-php` from 2.31.0 to 2.31.1
- [Release notes](https://github.com/shivammathur/setup-php/releases )
- [Commits](2e947f1f69...c541c155ee )
Updates `actions/setup-node` from 4.0.2 to 4.0.3
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](60edb5dd54...1e60f620b9 )
Updates `cypress-io/github-action` from 6.7.1 to 6.7.2
- [Release notes](https://github.com/cypress-io/github-action/releases )
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md )
- [Commits](8d3918616d...df7484c5ba )
Updates `actions/upload-artifact` from 4.3.3 to 4.3.4
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](65462800fd...0b2256b8c0 )
Updates `codecov/codecov-action` from 4.1.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.1...v4.5.0 )
Updates `mdecoleman/pr-branch-name` from 2.0.0 to 3.0.0
- [Release notes](https://github.com/mdecoleman/pr-branch-name/releases )
- [Commits](bab4c71506...55795d86b4 )
---
updated-dependencies:
- dependency-name: shivammathur/setup-php
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: mdecoleman/pr-branch-name
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 22:54:25 +07:00
John Molakvoæ
47f837c962
Merge pull request #46111 from nextcloud/dependabot/github_actions/github-actions-6c0d3fe959
2024-07-02 12:34:32 +07:00
Git'Fellow
ad1720b6e2
ci: Use the same setup-php version on all tests
2024-06-30 08:11:14 +07:00
dependabot[bot]
f7b0fa20e9
chore(deps): bump the github-actions group with 3 updates
...
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout ), [cypress-io/github-action](https://github.com/cypress-io/github-action ) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ).
Updates `actions/checkout` from 4.1.5 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.5...692973e3d937129bcbf40652eb9f2f61becf3332 )
Updates `cypress-io/github-action` from 6.7.0 to 6.7.1
- [Release notes](https://github.com/cypress-io/github-action/releases )
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md )
- [Commits](f88a151c98...8d3918616d )
Updates `peter-evans/create-pull-request` from 6.0.5 to 6.1.0
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](6d6857d369...c5a7806660 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 14:20:17 +07:00
Andy Scherzinger
cc1686dba9
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-31 10:38:47 +07:00
dependabot[bot]
054eac101a
chore(deps): bump the github-actions group across 1 directory with 5 updates
...
Bumps the github-actions group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [dorny/paths-filter](https://github.com/dorny/paths-filter ) | `2.11.1` | `3.0.2` |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.2` | `4.1.6` |
| [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions ) | `2.2` | `3` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `4.3.1` | `4.3.3` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) | `6.0.2` | `6.0.5` |
Updates `dorny/paths-filter` from 2.11.1 to 3.0.2
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v2.11.1...de90cc6fb38fc0963ad72b210f1f284cd68cea36 )
Updates `actions/checkout` from 4.1.2 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...a5ac7e51b41094c92402da3b24376905380afc29 )
Updates `skjnldsv/read-package-engines-version-actions` from 2.2 to 3
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases )
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.2...06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 )
Updates `actions/upload-artifact` from 4.3.1 to 4.3.3
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...65462800fd760344b1a7b4382951275a0abb4808 )
Updates `peter-evans/create-pull-request` from 6.0.2 to 6.0.5
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.2...6d6857d36972b65feb161a90e484f2984215f83e )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: skjnldsv/read-package-engines-version-actions
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 16:32:07 +07:00
dependabot[bot]
2b39c33b67
build(deps): bump the github-actions group with 4 updates
...
Bumps the github-actions group with 4 updates: [dorny/paths-filter](https://github.com/dorny/paths-filter ), [actions/checkout](https://github.com/actions/checkout ), [codecov/codecov-action](https://github.com/codecov/codecov-action ) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ).
Updates `dorny/paths-filter` from 3.0.0 to 3.0.2
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v3...de90cc6fb38fc0963ad72b210f1f284cd68cea36 )
Updates `actions/checkout` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...9bb56186c3 )
Updates `codecov/codecov-action` from 3.1.5 to 4.1.1
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.5...v4.1.1 )
Updates `peter-evans/create-pull-request` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](a4f52f8033...70a41aba78 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 11:14:19 +07:00
dependabot[bot]
c62c89b14f
chore(deps): bump dorny/paths-filter from 3.0.0 to 3.0.1
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](0bc4621a31...ebc4d7e9eb )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 02:58:55 +07:00
Ferdinand Thiessen
dc5ef9ca7a
fix(CI): Only run integration tests if needed
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-05 14:07:06 +07:00
Joas Schilling
653c013c6e
feat(CI): Utilize low-resource pool for changes and summaries
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-05 10:08:06 +07:00
dependabot[bot]
65b8c8f9dd
Merge pull request #43159 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
2024-01-27 13:27:57 +07:00
dependabot[bot]
db6631748b
chore(deps): Bump dorny/paths-filter from 2.11.1 to 3.0.0
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 2.11.1 to 3.0.0.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](4512585405...0bc4621a31 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:55 +07:00
dependabot[bot]
94c5280af4
chore(deps): Bump actions/checkout from 3.5.2 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.2 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...b4ffde65f46336ab88eb53be808477a3936bae11 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:43 +07:00
Joas Schilling
da46be4c15
fix(CI): Use ghcr.io/nextcloud/continuous-integration-redis image
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:35 +07:00
Ferdinand Thiessen
52cc18efc0
fix(tests): Ensure ldap server can be reached in integration tests on GitHub Actions and other improvments
...
* Run integration tests for every pull request
* Also print docker logs of service containers (ldap, redis)
* Ensure consistent `datadir` for test assertions
* Test openldap features separatly
* Only the LDAP tests rely on `/dev/shm` while `federated.feature` rely on real directory access
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 13:53:34 +07:00
Joas Schilling
b64d032795
Enable LDAP tests with redis
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:33 +07:00
Joas Schilling
5ebc5be683
Skip the large download again
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:33 +07:00
Joas Schilling
e7aff760c2
Don't tail the log output, it's available separately
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +07:00
Joas Schilling
1ecdefd0e6
fix: Video verification test by cloning talk
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:30 +07:00
Joas Schilling
058b69eef0
chore: Move integration tests from drone to github
...
* Improve grouping as setting up CI took 3* the time of the test in average
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:29 +07:00