Commit Graph

1421 Commits (master)

Author SHA1 Message Date
nextcloud-command ec33647947 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
dependabot[bot] 0065830e1b
chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.9 to 5.4.19.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.9...v5.4.19)

---
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>
1 year ago
dependabot[bot] da061aa0e1
chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 9.6.4.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.4)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Côme Chilliet fc9f1c2b92
Revert "[master] Update psalm-baseline.xml" 1 year ago
Daniel fdd5ea1d1f
Merge pull request #36786 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
1 year ago
Joas Schilling 98ed72b3ed
Revert "fix(performance): Do not set up filesystem on every call" 1 year ago
nextcloud-command 0c17c528d1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Julius Härtl ec356504ea
tests: Remove legacy chunking tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 year ago
Julius Härtl 3493099617
tests: Remove legacy checksum test
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 year ago
MichaIng 5f90b8eb11
Change X-Robots-Tag header from "none" to "noindex, nofollow"
While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names
https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list
https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240

Signed-off-by: MichaIng <micha@dietpi.com>
1 year ago
nextcloud-command 59b0abdcd6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
nextcloud-command 259094897f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
nextcloud-command 287f47da9d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
nextcloud-command 69211472f4 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Maxence Lange 1a655e88d9 use php8.0 images
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 year ago
Julius Härtl 81c2122ff8
style: Fix php-cs and psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 year ago
Daniel Kesselberg 258c919b3c
ci: migrate ocp since checker to psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 year ago
MichaIng ba97587b85
Merge pull request #36279 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.5.28
chore(deps-dev): Bump phpunit/phpunit from 9.5.27 to 9.5.28 in /build/integration
1 year ago
nextcloud-command fb901b0d93 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
dependabot[bot] 210de391d9
chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.5.28/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Côme Chilliet f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 7b93a143c8
Fix check in integration tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 0c466b7ff5
Attempt at reducing psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
nextcloud-command 0d48e3c98c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Joas Schilling c1e500b0e0
feat(CI): Enforce colored output for behat on drone CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Daniel 8af0c99ce4
Merge pull request #36006 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
1 year ago
nextcloud-command d4a98ecc43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
nextcloud-command 3d8e0a18b4 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Joas Schilling e035c659a5
fix(CI): Check for the binaries we want to use
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
John Molakvoæ 0a3ef8b74b
Fixing tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
John Molakvoæ 5b9a8f0407
Add component testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
John Molakvoæ eab9ed6e09
fix(actions): Update psalm github action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
Daniel Kesselberg b22e3078cb
Add DESIGN.md to expected files
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 year ago
nextcloud-command 7fe40d5e71 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Côme Chilliet 585cf0022c Put back baseline for the enableAppForGroups type mismatch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 7996a12aef Silence false-positive from psalm in lib/public/Log/functions.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
dependabot[bot] 3c63bd1cfa
Bump phpunit/phpunit from 9.5.26 to 9.5.27 in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.26 to 9.5.27.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.26...9.5.27)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
nextcloud-command c0f821ae30 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
MichaIng c685c22aca
Merge pull request #35571 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2 years ago
nextcloud-command 251946bf04 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 0009f7118f Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2 years ago
dependabot[bot] 628ec69292
Bump behat/behat from 3.11.0 to 3.12.0 in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
J0WI f71b95eaee Cleanup test exclusions
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2 years ago
John Molakvoæ a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
nextcloud-command 7715d7162c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan f244406ebd Update composer autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command b3bf64b88b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command ca695385ca Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Vincent Petry 486d8bc986
Add test for received share in share_folder
Add integration test for receiving a share in a configured
"share_folder".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
nextcloud-command 26c2144bd1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
dependabot[bot] bce5144454
Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Vincent Petry b9bbb25771
Merge pull request #33884 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.5.0
Bump guzzlehttp/guzzle from 7.4.5 to 7.5.0 in /build/integration
2 years ago
nextcloud-command 79874b8b94 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Ferdinand Thiessen 7ea564b5ca Use the official phpDocumentor release
The previous cached version download URL was broken and only a
non-functional version was downloaded leading and so the API reference
was not updated since NC24.

This is fixed by simply using the latest stable phpDocumentor release.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2 years ago
Daniel 2142cc1f4c
Merge pull request #34884 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2 years ago
nextcloud-command bf880d3d24 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
dependabot[bot] 2c746fec1b
Bump phpunit/phpunit from 9.5.23 to 9.5.26 in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.23 to 9.5.26.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.23...9.5.26)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
John Molakvoæ a8e8a89ade
Only check unsupported browsers on user rendering
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Arthur Schiwon 2ef9826c3b
silence psalm
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
nextcloud-command 3004d92b0b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 0f0f132959
Merge pull request #34624 from nextcloud/fix/files_external_psalm
Multiple fix for files external
2 years ago
Carl Schwan 99a752922f Fix psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan a5ea677370 Rename file1 and file2 to source and target in Storage abstraction
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 0270068fed
Merge pull request #34628 from nextcloud/fix/files_sharing_psalm
Various psalm fixes in files_sharing
2 years ago
Carl Schwan 00c2c620ac
Merge pull request #34554 from nextcloud/fix/psalm-twofactor-registry
Fix wrong types in phpdoc for twofactor registry
2 years ago
Carl Schwan 419828c791 Fix the type of the return array in a few more places
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 732badf552 Additional type hinting found by psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Christoph Wurst 44d2eb8b4e
Merge pull request #34563 from nextcloud/debt/noid/carddav-too-many-arguments
Fix TooManyArguments warning for carddav.php
2 years ago
Christoph Wurst e12df7941e
Merge pull request #34565 from nextcloud/debt/noid/fakelocker-too-many-arguments
Fix TooManyArguments for FakeLockerPlugin
2 years ago
Carl Schwan 54031e370a Fix various other small psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 3790ff86f1 Update psalm baseline following previous fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Daniel Kesselberg 1818be71ae
Fix TooManyArguments warning for carddav.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
nextcloud-command 95c5ab4f03 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Daniel Kesselberg 934e75384c
Fix TooManyArguments for FakeLockerPlugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
Julius Härtl cea2f79bbd
Improve container return type annotations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Carl Schwan bfd2b74c68 Fix wrong types in phpdoc for twofactor registry
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command 90cba2cda6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 912de42f61 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 58705e36ce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 705082199c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Côme Chilliet 371ad1364c
add .pre-commit-config.yaml to expected files in checker
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet 826e234ecf
Correctly handle Redis::keys returning false
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Vincent Petry 2f15e83d7b
Merge pull request #34160 from nextcloud/fix/detect-weird-local-ips
Detect weird local ips
2 years ago
Côme Chilliet 75328593ad
Fix idn_to_utf8 stub signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
nextcloud-command b7027bac52 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Joas Schilling 061d621a1f
Merge pull request #34107 from nextcloud/automate-cacert-update
Automate CA certificate bundle update
2 years ago
Joas Schilling 8612a9b232
Remove legacy ca-cert checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling 9eade34385
Automate CA certificate bundle update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
nextcloud-command 844f722c43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 02d55eb90f
Merge pull request #33941 from nextcloud/fix/public-sharing
Only normalize data in public shares and not crud
2 years ago
nextcloud-command fc88d73583 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 7ded5a769b
Only normalize data in public shares and not crud
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
dependabot[bot] 9989de7c7d
Bump guzzlehttp/guzzle from 7.4.5 to 7.5.0 in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.5 to 7.5.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.5...7.5.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>
2 years ago
Christopher Ng f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Julius Härtl 80f6a5834a
Refactor cache handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
nextcloud-command 814a17132d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Côme Chilliet f56ecf9242
Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typing
Port Repair and Migrator events to IEventDispatcher
2 years ago
Vincent Petry c1df72fc8b
Fix copy in view-only mode
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Vincent Petry e9a344a644
Add int test for view-only download
Asserts that downloading a view-only document returns 403.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Vincent Petry 351514aa9f
Add composer.lock for integration tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Côme Chilliet 4f260dce6e
Moving to string key for arguments of GenericEvent in Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
nextcloud-command fc309e5963 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 87177e6282 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command deeab89c1b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Vincent Petry b513ac51fb Int test for share owner change on move
Added tests to verify share owner change when moving the parent of a
subshare in and out of a received share.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
nextcloud-command 5ad017447b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 50b494a143 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago
Carl Schwan 16b5e6bc7f
Merge pull request #32973 from nextcloud/cleanup/avatar-code
Cleanup avatar related code
2 years ago
Carl Schwan ec5cbdeb7f Make Color class public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
dependabot[bot] 9781139fed
Update sabre/dav requirement from 4.3.1 to 4.4.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [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.3.1...4.4.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
nextcloud-command a35013ae82 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 41e6e0c646
Merge pull request #33007 from nextcloud/cleanup/federation-app
Summer cleanup of the federation app
2 years ago
Louis 0fe7064fc4
Merge pull request #32998 from nextcloud/fix/setting_name
Rename setting name to reduce its length
2 years ago
Louis Chemineau 347ca20f4e Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
dependabot[bot] a00d185502
Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.4...7.4.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Carl Schwan a9cfa72d1c Summer cleanup of the federation app
- Use IEventDispatcher instead of deprecated symfony dispatcher
- Use LoggerInterface where possible
- Use php 7.4 properties
- Add type hinting where possible
- Move federation hooks to a seperate listener

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
blizzz e34dc2f3cf
Merge pull request #32820 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.4
Update guzzlehttp/guzzle requirement from 7.4.2 to 7.4.4 in /build/integration
2 years ago
Carl Schwan f8153a6afc
Merge pull request #32701 from nextcloud/fix/type-error-objectree
Fix type error in Sabre/Connector/Directory
2 years ago
Carl Schwan 09c6cd77ec Add test
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 812016d626 Cleanup avatar related code
- Move event listener to new event handling
- Add typing almost everywhere
- Fix inconsistent interface parameter

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Daniel b282fe1e6f
Merge pull request #32971 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2 years ago
Carl Schwan 3598ec4028 Add typing to Sharing Backend
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command 6c08e02a9c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 92ef84b635 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Joas Schilling 584424c651
Fix second integration test as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
dependabot[bot] cf4157a073
Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.2...7.4.4)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Joas Schilling 148498bba5
Merge pull request #32741 from nextcloud/Valdnet-patch-2
l10n: Delete apostrophe
2 years ago
Joas Schilling 550258200b
Fix integration test which now actually matches the system-addresssbook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling a33310f1b1
Add debug flag to the translation checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Daniel Kesselberg 8415a06091
Update psalm-baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
nextcloud-command a1c5176e4c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Vincent Petry 0886437f2c
Merge pull request #32591 from nextcloud/fix/node-test
Fix node tests ci
2 years ago
Carl Schwan 623293c2dd Fix node tests ci
- Update jest snapshot
- Fix importing 3rdparty vue components
- Disable temporarely tests using nextcloud-vue/Button

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command b9e47ad054 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan eb5e0a4e51
Merge pull request #31761 from nextcloud/fix/upgarde-phpunit-in-ci-to-recent-version
Require a recent phpunit version in integration and acceptance
2 years ago
Carl Schwan d6158c8aea
Merge pull request #32548 from nextcloud/fix/return-type
Fix return type and make type stricter
2 years ago
Côme Chilliet 8951f069fe Require a recent phpunit version in integration and acceptance
Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Carl Schwan 3ada267a02 Fix return type and make type stricter
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 8d599c3410
Merge pull request #32378 from nextcloud/fix/psalm-userbackend
Fix psalm issues related to the user backend
2 years ago
nextcloud-command 14907ee098 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 9ec0cb0a90 Fix psalm issues related to the user backend
- Reflect the actual return value returned by the implementation in the
  the interface. E.g. IUser|bool -> IUser|false
- Remove $hasLoggedIn parameter from private countUser implementation.
  Replace the two call with the equivalent countSeenUser
- getBackend is nuallable, add this to the interface
- Use backend interface to make psalm happy about call to undefined
  methods. Also helps with getting rid at some point of the old
  implementActions

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command 96e9ed3d48 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 07c9bf1adf
Merge pull request #31943 from nextcloud/dav-cleanup
Cleanup dav
2 years ago
Carl Schwan f7be76125f Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 53169890d6 Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command fafc098d8e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
John Molakvoæ 85758a4f70
Merge pull request #31662 from nextcloud/modernize-contactmenu 2 years ago
John Molakvoæ 20a648ed95
Merge pull request #32384 from nextcloud/improve-psalm-server-get 2 years ago
Carl Schwan 7f899b3bc8 Improve psalm annotation to make it stricter
Now using class-string<T> as input will only return T, and any other
string will return mixed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
John Molakvoæ 73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Carl Schwan 52bb29bde1
Merge pull request #32369 from nextcloud/automated/noid/psalm-baseline-update-1652416168
[Automated] Update psalm-baseline.xml
2 years ago
John Molakvoæ fe33e9c08c
Merge pull request #32250 from nextcloud/cleanup/cappedmemorycache 2 years ago
nextcloud-command 44bf17999b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Thomas Citharel 232322fe06
Modernize contacts menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Carl Schwan ec6b83cc18 Add stricter psalm type for CappedMemoryCache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command e712ea139d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan da64a3a7e8
Merge pull request #31900 from nextcloud/feat/server-container-public
Add a public replacement for OC::$server->get
2 years ago
Carl Schwan f945c0cbc6 Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 829490ab7a Cleanup dav
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Louis Chemineau 80fa3c7319 Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
blizzz 033d527deb
Merge pull request #31758 from nextcloud/fix/utf8-detection-fix
Use sabre function directly rather than duplicating it
2 years ago
Vincent Petry 9cfc70d189
Update psalm baseline for Sabre decodePath
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Joas Schilling 744adb76a3
Enable Talk with --force to have less issues during transition period after a branch-off
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling e66ebb01bb
Merge pull request #32054 from nextcloud/verify-that-talk-could-be-enabled-before-executing-the-tests
Verify that Talk could be enabled before executing the tests
2 years ago
John Molakvoæ d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
John Molakvoæ 1dee36c761
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Daniel Calviño Sánchez eda6611c8f Verify that Talk could be enabled before executing the tests
This should make the problem clearer if Talk could not be enabled (for
example, due to a version mismatch), as otherwise the tests would fail
in more cryptic ways.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years ago
Carl Schwan 7817845538 Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Vincent Petry cd95fce105
Merge pull request #31932 from nextcloud/feat/ignore_second_dn
Add settings to ignore second display name in search
2 years ago
Louis Chemineau 37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Côme Chilliet 95e0723d0c
Fix ZipArchive::addEmptyDir stub
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet 139da41bd4
Add stubs for ZipArchive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Vincent Petry cde260577e
Merge pull request #31857 from nextcloud/feat/dont_match_userid
Add settings to not match userID during full match
2 years ago
nextcloud-command 26d6ed83d1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 90dcf1e122 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Louis Chemineau 0e06ee68c0 Add settings to not match userID during full match
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
nextcloud-command d4b5b24439 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 135bdb3d58
Merge pull request #30823 from nextcloud/work/profiler
Built-in profiler

This adds the required API for collecting information about requests. This information
can then be displayed with the new 'profiler' app.
2 years ago
Carl Schwan 7d272c54d0 Add a built-in profiler inside Nextcloud
The webui is provided by a seperate application named profiler

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
dependabot[bot] ac77d43f65
Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Pytal 5747b9b01a
Merge pull request #31629 from nextcloud/feat/remove-ie-headers 2 years ago
nextcloud-command 533d1905e1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
MichaIng ea0e45d81e Remove legacy Internet Explorer headers
X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks.

Signed-off-by: MichaIng <micha@dietpi.com>
2 years ago
nextcloud-command cb4ccf98af Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Carl Schwan 371fa1c49a
Merge pull request #31542 from nextcloud/psalm-userCounts
Fix psalm issue about userCounts
2 years ago
Carl Schwan 8d7380a15d Fix psalm issue about userCounts
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
nextcloud-command ac2c2ee8e5 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command feb9c20b23 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command eb6ca991eb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
John Molakvoæ a78f473252
Merge pull request #31435 from nextcloud/update-images-in-scripts-to-run-local-tests-in-Docker 2 years ago
nextcloud-command 1b80d8264d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
Daniel Calviño Sánchez a3f3ffe6a6 Update images in scripts to run local tests in Docker
PHP 7.3 support was dropped for Nextcloud 24. The Docker images are
updated to the same images used for integration and acceptance tests in
CI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years ago
nextcloud-command 996e5de2e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
nextcloud-command 4f6e7017e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago
MichaIng e4588a37d0 Update GuzzleHttp function call for v7
https://github.com/guzzle/guzzle/issues/2824

Signed-off-by: MichaIng <micha@dietpi.com>
2 years ago
dependabot[bot] a45f88106c Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...7.4.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Côme Chilliet cb621f371f
Merge pull request #31309 from nextcloud/fix/fix-checkers-php-error
Avoid PHP errors in the checkers drone step
2 years ago
Côme Chilliet 6f37eac470
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
nextcloud-command b26934176d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2 years ago