Louis Chemineau
ab6d1982c5
test(ExternalStorage): Send basic auth during integrations tests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
[skip ci]
2025-02-11 11:56:30 +01:00
Ferdinand Thiessen
44742d617f
fix(settings): Also sanitize fediverse and twitter handle in the frontend
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen
34bb825f21
fix(provisioning_api): Correct limit for editUser
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Robin Appelman
804a0ec567
fix: explicitly ignore nested mounts when transfering ownership
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:39:28 +01:00
Ferdinand Thiessen
b94da13f6c
fix(sharing): Ensure download restrictions are not dropped
...
When a user receives a share with share-permissions but also with
download restrictions (hide download or the modern download permission attribute),
then re-shares of that share must always also include those restrictions.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 18:20:38 +01:00
Ferdinand Thiessen
3d5085343a
test: Reset sharing app config after test
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:46:07 +01:00
Ferdinand Thiessen
ea37f03f7d
fix(files_sharing): Respect permissions passed when creating link shares
...
Given:
User creates a link or email share with permissions=4 (create only = file drop).
Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.
Solution:
Respect what the user is requesting, create a file drop share.
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>
2025-01-31 18:46:07 +01:00
Richard Steinmetz
a3664877ab
fix(dav): default calendar and address book not created on first login
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:30:06 +01:00
Robin Appelman
0dc754bb00
fix: block moving files to it's own parent with dav
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-09 09:22:29 +01:00
Benjamin Gaussorgues
db1d71e322
Merge pull request #48473 from nextcloud/backport/47846/stable29
2024-10-30 10:07:37 +01:00
Ferdinand Thiessen
eae69cb8bc
fix(dav): Public WebDAV endpoint should allow GET requests
...
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 18:17:19 +02:00
Hamza Mahjoubi
6534e52ce3
fix: provision api's status codes
...
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:21 +02:00
skjnldsv
b9ef97260d
fix(files_sharing): adjust permissions from custom edit and delete check methods
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 13:55:06 +02:00
Louis Chemineau
987840592e
fix(dav): Always respond custom error page on exceptions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:15:51 +00:00
Daniel Calviño Sánchez
5ed377e003
fix: Fix unmodified placeholder replacing the actual value when updating
...
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
f34daedd4c
test: Add integration tests for saving external userglobal storages
...
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
fenn-cs
bd9e2f13a9
test(Sharing): Integration test for no expiration set date for share
...
- Verify that explicitly sending empty `expireDate` param to server overwrite default
and sets not expiry date, if non is enforced.
- Update tests to avoid converting empty string to date.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:58:37 +01:00
Côme Chilliet
0b332ceac2
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
dependabot[bot]
bee4aab575
build(deps-dev): bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.17 to 9.6.18.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases )
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 03:16:05 +00:00
Richard Steinmetz
53ef6c5f71
feat(dav): update a principal's schedule-default-calendar-URL
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-28 14:51:10 +01:00
dependabot[bot]
0d7efc79e4
chore(deps-dev): bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.16 to 9.6.17.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 16:19:41 +00:00
Anna Larch
dce69154ba
enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and calendars)
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-15 18:01:12 +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
34ea298843
Fix "Creation of dynamic property CommandLineContext::$…BaseUrl is deprecated in CommandLineContext.php on line 41"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:32 +01:00
Joas Schilling
cc4e2f9e38
Reduce the output on github CI
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:32 +01:00
Joas Schilling
d7e249874e
Ensure the testing app is enabled
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +01:00
Joas Schilling
a1e9c6f71d
Remove library that is unmaintained since 2015 and was merged in the behat core
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +01:00
Joas Schilling
736fb4c162
Fix "Creation of dynamic property FeatureContext::$parts is deprecated in WebDav.php line 757"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:30 +01: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 +01:00
dependabot[bot]
779b53285d
chore(deps-dev): Bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.13 to 9.6.16.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.16/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.16 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 03:32:46 +00:00
John Molakvoæ
82b5a19a35
fix: public dav and files_sharing testing fixes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:14 +01:00
dependabot[bot]
d6d8b3015a
chore(deps-dev): Bump sabre/dav in /build/integration
...
Bumps [sabre/dav](https://github.com/sabre-io/dav ) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/4.5.1...4.6.0 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 03:08:28 +00:00
dependabot[bot]
42b76ad593
chore(deps-dev): Bump sabre/dav in /build/integration
...
Bumps [sabre/dav](https://github.com/sabre-io/dav ) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/4.5.1/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/4.4.0...4.5.1 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-10 10:25:32 +00:00
dependabot[bot]
410523a623
chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
...
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle ) from 7.8.0 to 7.8.1.
- [Release notes](https://github.com/guzzle/guzzle/releases )
- [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md )
- [Commits](https://github.com/guzzle/guzzle/compare/7.8.0...7.8.1 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 02:22:07 +00:00
Arthur Schiwon
d6b356c63b
enh(LDAP): implement IIsAdmin interface
...
- add configuration to specify one LDAP group acting as admin group (CLI)
- implement `isAdmin()` method, basically relying on inGroup against the
configured group
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-01 12:48:24 +01:00
Maxence Lange
d821f7487a
confirm content on dav-v2 test
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-24 11:11:48 -01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Maxence Lange
09879700aa
Merge pull request #41668 from nextcloud/enh/noid/test-dav-favorite-search
...
test boolean favorite
2023-11-23 07:53:39 -01:00
Maxence Lange
fbe92d4a90
fixing test
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-23 00:43:26 -01:00
Maxence Lange
fa17de290d
test boolean favorite
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 13:17:49 -01:00
Joas Schilling
a7018bc5e8
fix(autocomplete): Fix missing user status on autocomplete endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-28 14:02:18 +02:00
Ferdinand Thiessen
1ce7dd4be1
Merge pull request #39720 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.26
...
chore(deps-dev): Bump symfony/event-dispatcher from 5.4.22 to 5.4.26 in /build/integration
2023-09-19 13:50:48 +02:00
dependabot[bot]
4caf4ca2fd
chore(deps-dev): Bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.10 to 9.6.11.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.11/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.11 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:39:52 +00:00
dependabot[bot]
ff6cc481ec
chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
...
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher ) from 5.4.22 to 5.4.26.
- [Release notes](https://github.com/symfony/event-dispatcher/releases )
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.3/CHANGELOG.md )
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.22...v5.4.26 )
---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:30:20 +00:00
dependabot[bot]
5b651bc715
chore(deps-dev): Bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.10 to 9.6.12.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 02:49:42 +00:00
dependabot[bot]
1358a18087
chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
...
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle ) from 7.6.1 to 7.8.0.
- [Release notes](https://github.com/guzzle/guzzle/releases )
- [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md )
- [Commits](https://github.com/guzzle/guzzle/compare/7.6.1...7.8.0 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 01:25:00 +00:00
Christopher Ng
af98c702e0
fix(ci): add to enabled apps
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
dependabot[bot]
95aadc7be9
chore(deps-dev): Bump phpunit/phpunit in /build/integration
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 9.6.8 to 9.6.10.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.10/ChangeLog-9.6.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.8...9.6.10 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 19:04:46 +00:00
John Molakvoæ
f5f142d31b
fix: adjust testing
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
Daniel Kesselberg
debd03f30d
perf: skip request without write permission
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-19 13:42:13 +00:00