Commit graph

72217 commits

Author SHA1 Message Date
Ferdinand Thiessen
7620d230df
fix(Request): Catch exceptions in isTrustedProxy
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:59:51 +01:00
dependabot[bot]
65b8c8f9dd
Merge pull request #43159 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1 2024-01-27 13:27:57 +00:00
dependabot[bot]
85485ba0b6
Merge pull request #43161 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-4.0.0 2024-01-27 13:27:25 +00:00
dependabot[bot]
5044ed712f
Merge pull request #43163 from nextcloud/dependabot/npm_and_yarn/core-js-3.35.1 2024-01-27 13:09:16 +00:00
Ferdinand Thiessen
73f748c4ad
Merge pull request #43162 from nextcloud/dependabot/github_actions/dorny/paths-filter-3.0.0
chore(deps): Bump dorny/paths-filter from 2.11.1 to 3.0.0
2024-01-27 13:44:25 +01:00
nextcloud-command
2845cbaf76 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-27 12:41:23 +00:00
John Molakvoæ
b6f64cb41f
Merge pull request #43152 from nextcloud/fix/unshare 2024-01-27 13:23:10 +01:00
dependabot[bot]
9544f25e56 chore(deps): Bump core-js from 3.33.2 to 3.35.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.33.2 to 3.35.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.35.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 13:12:54 +01:00
John Molakvoæ
1ffb13cf5d
chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:54:12 +01:00
John Molakvoæ
d06ed4d7cb
fix(files): disable Unshare until proper fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:49:53 +01:00
dependabot[bot]
cfef434019
Merge pull request #43160 from nextcloud/dependabot/github_actions/actions/upload-artifact-4.3.0 2024-01-27 06:25:12 +00: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 +00:00
dependabot[bot]
9a52aab202
chore(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](23ff15729e...71345be026)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:50 +00: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 +00:00
dependabot[bot]
3cd3ad667b
chore(deps): Bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](694cdabd8b...26f96dfa69)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:43 +00:00
Ferdinand Thiessen
fe4dde3610
Merge pull request #43094 from nextcloud/fix/a11y/43088/select-has-no-connected-label
fix: added a label element to the NcSelect in update settings
2024-01-27 02:39:15 +01:00
Eduardo Morales
35518bcfd6 fix: added a label element to the NcSelect in update settings
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-27 01:14:02 +00:00
Ferdinand Thiessen
d1e726d363
Merge pull request #43148 from nextcloud/chore/update-dialogs
Update `@nextcloud/dialogs` to 5.1.1
2024-01-27 02:00:03 +01:00
Ferdinand Thiessen
ae5af1e213
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 01:22:41 +01:00
Ferdinand Thiessen
c089214a2a
chore: Update @nextcloud/dialogs to 5.1.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 01:21:00 +01:00
Nextcloud bot
764f34c4f6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:19:36 +00:00
Joas Schilling
f7dea13c92
Merge pull request #41003 from nextcloud/chore/migrate-behat-to-github
chore(tests): Run all unit tests on GitHub instead of Drone
2024-01-26 21:11:05 +01:00
Pytal
01520d565c
Merge pull request #43137 from nextcloud/fix/a11y/sharing-details-focus
fix(files_sharing): Return focus to trigger element on sharing details close
2024-01-26 11:53:02 -08:00
Joas Schilling
5850695284
fix(tests): Add messages to assertions to explain what failed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 20:46:14 +01:00
Christopher Ng
e6802d2b3f chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-26 11:24:39 -08:00
Christopher Ng
22ab251cfa fix(files_sharing): Return focus to trigger element on sharing details close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-26 11:21:04 -08:00
Louis
beec3028fb
Merge pull request #43084 from nextcloud/artonge/feat/version_list
Move modal outside of the Version component.
2024-01-26 19:07:50 +01:00
Louis Chemineau
ea732fa699
Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-26 16:37:44 +01:00
Joas Schilling
d086b6c81d
fix(tests): Make PHP 8.1.2 with Datetime Diff Bug pass the notifier test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 16:16:37 +01:00
Joas Schilling
6dffc9bc17
fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 16:05:09 +01:00
Louis Chemineau
3f63375a06
Move modal outside of the Version component.
This is for accessibility, to have the NcListItem (<li>) as a direct child of the <ul>

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-26 15:41:50 +01:00
Joas Schilling
590b4fdff7
fix(CI): Sign .drone.yml
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 14:56:16 +01:00
Ferdinand Thiessen
4465caafa2
chore: Migrate PHPUnit files_external S3 test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:16 +01:00
Ferdinand Thiessen
4a1ff0b6da
fix: Run tests only on pull requests and scheduled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:16 +01:00
Ferdinand Thiessen
fd378c1b12
chore(tests): Migrate memcached unit test from drone to GitHub Action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:13 +01:00
Ferdinand Thiessen
8e02014b55
chore(tests): Migrate object storage unit tests from drone to GitHub Actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:54:23 +01:00
Ferdinand Thiessen
fceb781058
fix(tests): Fix deprecation errors in S3 tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:33 +01:00
Ferdinand Thiessen
c3d63c57ce
fix(encryption): Fix deprecated syntax in encryption tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:33 +01:00
Ferdinand Thiessen
b8fbd7721d
fix(user_ldap): Ensure host is a string when checking if ldapi
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:32 +01:00
Ferdinand Thiessen
a630ee8dce
chore(tests): Align oracle database tests with the other databases
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:32 +01:00
Ferdinand Thiessen
8a68232804
chore(tests): Migrate code coverage generation from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:29 +01:00
Ferdinand Thiessen
32a4849757
chore(tests): Migrate sqlite tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:52:28 +01:00
Ferdinand Thiessen
bb4f108488
chore(tests): Migrate postgres tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:50:20 +01:00
Ferdinand Thiessen
4e7ff6d7f7
chore(tests): Migrate mariadb tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:48:05 +01:00
Ferdinand Thiessen
6a933b2848
chore(tests): Migrate MySQL database tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:48:04 +01:00
Joas Schilling
8d114c9e74
Merge pull request #41139 from nextcloud/techdebt/noid/move-integration-testing-to-actions
Move integration tests to github actions
2024-01-26 14:37:53 +01: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 +01:00
Ferdinand Thiessen
a3d3517843
fix(integration-s3): Adjust integration test for changed test layout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 13:53:34 +01: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 +01:00
Joas Schilling
b64d032795
Enable LDAP tests with redis
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:33 +01:00