Commit Graph

1357 Commits

Author SHA1 Message Date
Carl Schwan
0270068fed
Merge pull request #34628 from nextcloud/fix/files_sharing_psalm
Various psalm fixes in files_sharing
2022-10-18 14:44:28 +02:00
Carl Schwan
00c2c620ac
Merge pull request #34554 from nextcloud/fix/psalm-twofactor-registry
Fix wrong types in phpdoc for twofactor registry
2022-10-18 14:42:43 +02:00
Carl Schwan
419828c791 Fix the type of the return array in a few more places
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 13:22:50 +02:00
Carl Schwan
732badf552 Additional type hinting found by psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 12:28:34 +02:00
Christoph Wurst
44d2eb8b4e
Merge pull request #34563 from nextcloud/debt/noid/carddav-too-many-arguments
Fix TooManyArguments warning for carddav.php
2022-10-17 13:26:57 +02:00
Christoph Wurst
e12df7941e
Merge pull request #34565 from nextcloud/debt/noid/fakelocker-too-many-arguments
Fix TooManyArguments for FakeLockerPlugin
2022-10-17 13:26:32 +02:00
Carl Schwan
54031e370a Fix various other small psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:40:35 +02:00
Carl Schwan
3790ff86f1 Update psalm baseline following previous fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 11:53:09 +02:00
Daniel Kesselberg
1818be71ae
Fix TooManyArguments warning for carddav.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-16 18:37:22 +02:00
nextcloud-command
95c5ab4f03 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-16 04:41:24 +00:00
Daniel Kesselberg
934e75384c
Fix TooManyArguments for FakeLockerPlugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-14 15:06:38 +02:00
Julius Härtl
cea2f79bbd
Improve container return type annotations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-14 10:45:16 +02:00
Carl Schwan
bfd2b74c68 Fix wrong types in phpdoc for twofactor registry
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-12 11:40:41 +02:00
nextcloud-command
90cba2cda6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-12 04:38:17 +00:00
nextcloud-command
912de42f61 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-10-11 04:40:19 +00:00
nextcloud-command
58705e36ce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-07 05:39:28 +00:00
nextcloud-command
705082199c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-02 04:39:59 +00:00
Côme Chilliet
371ad1364c
add .pre-commit-config.yaml to expected files in checker
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-30 14:27:36 +02:00
Côme Chilliet
826e234ecf
Correctly handle Redis::keys returning false
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29 14:41:53 +02:00
Vincent Petry
2f15e83d7b
Merge pull request #34160 from nextcloud/fix/detect-weird-local-ips
Detect weird local ips
2022-09-22 11:38:12 +02:00
Côme Chilliet
75328593ad
Fix idn_to_utf8 stub signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-22 10:16:35 +02:00
nextcloud-command
b7027bac52 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-09-20 04:48:58 +00:00
Joas Schilling
061d621a1f
Merge pull request #34107 from nextcloud/automate-cacert-update
Automate CA certificate bundle update
2022-09-18 10:24:58 +02:00
Joas Schilling
8612a9b232
Remove legacy ca-cert checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 11:13:46 +02:00
Joas Schilling
9eade34385
Automate CA certificate bundle update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 09:13:45 +02:00
nextcloud-command
844f722c43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-16 04:45:10 +00:00
Carl Schwan
02d55eb90f
Merge pull request #33941 from nextcloud/fix/public-sharing
Only normalize data in public shares and not crud
2022-09-15 16:43:01 +02:00
nextcloud-command
fc88d73583 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-13 04:42:03 +00:00
Carl Schwan
7ded5a769b
Only normalize data in public shares and not crud
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:51:28 +02:00
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>
2022-09-03 01:04:06 +00:00
Christopher Ng
f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +00:00
Julius Härtl
80f6a5834a
Refactor cache handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:35 +02:00
nextcloud-command
814a17132d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-31 04:49:51 +00:00
Côme Chilliet
f56ecf9242
Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typing
Port Repair and Migrator events to IEventDispatcher
2022-08-30 14:47:05 +02:00
Vincent Petry
c1df72fc8b
Fix copy in view-only mode
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 14:18:47 +02:00
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>
2022-08-26 14:18:47 +02:00
Vincent Petry
351514aa9f
Add composer.lock for integration tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 10:34:48 +02:00
Côme Chilliet
4f260dce6e
Moving to string key for arguments of GenericEvent in Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:46 +02:00
nextcloud-command
fc309e5963 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-24 04:38:40 +00:00
nextcloud-command
87177e6282 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-23 04:41:14 +00:00
nextcloud-command
deeab89c1b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-09 04:26:53 +00:00
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>
2022-07-26 12:17:46 +00:00
nextcloud-command
5ad017447b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-07-13 04:22:56 +00:00
nextcloud-command
50b494a143 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-12 08:21:32 +00:00
Carl Schwan
16b5e6bc7f
Merge pull request #32973 from nextcloud/cleanup/avatar-code
Cleanup avatar related code
2022-07-11 11:56:39 +02:00
Carl Schwan
ec5cbdeb7f Make Color class public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 14:44:44 +02:00
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>
2022-07-02 02:18:35 +00:00
nextcloud-command
a35013ae82 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-29 04:26:30 +00:00
Carl Schwan
41e6e0c646
Merge pull request #33007 from nextcloud/cleanup/federation-app
Summer cleanup of the federation app
2022-06-28 15:33:18 +02:00
Louis
0fe7064fc4
Merge pull request #32998 from nextcloud/fix/setting_name
Rename setting name to reduce its length
2022-06-27 11:58:54 +02:00
Louis Chemineau
347ca20f4e Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-27 11:04:17 +02:00
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>
2022-06-25 01:05:27 +00:00
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>
2022-06-24 15:39:52 +02:00
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
2022-06-24 11:01:55 +02:00
Carl Schwan
f8153a6afc
Merge pull request #32701 from nextcloud/fix/type-error-objectree
Fix type error in Sabre/Connector/Directory
2022-06-23 13:01:35 +02:00
Carl Schwan
09c6cd77ec Add test
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 12:47:58 +02:00
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>
2022-06-22 16:11:42 +02:00
Daniel
b282fe1e6f
Merge pull request #32971 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-06-22 11:56:17 +02:00
Carl Schwan
3598ec4028 Add typing to Sharing Backend
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 10:25:17 +02:00
nextcloud-command
6c08e02a9c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-22 04:21:01 +00:00
nextcloud-command
92ef84b635 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-21 04:20:18 +00:00
Joas Schilling
584424c651
Fix second integration test as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-13 09:52:03 +02:00
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>
2022-06-11 01:03:49 +00:00
Joas Schilling
148498bba5
Merge pull request #32741 from nextcloud/Valdnet-patch-2
l10n: Delete apostrophe
2022-06-10 15:54:14 +02:00
Joas Schilling
550258200b
Fix integration test which now actually matches the system-addresssbook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 15:38:30 +02:00
Joas Schilling
a33310f1b1
Add debug flag to the translation checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 17:09:46 +02:00
Daniel Kesselberg
8415a06091
Update psalm-baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-31 14:53:07 +02:00
nextcloud-command
a1c5176e4c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-31 04:19:13 +00:00
Vincent Petry
0886437f2c
Merge pull request #32591 from nextcloud/fix/node-test
Fix node tests ci
2022-05-30 17:00:27 +02:00
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>
2022-05-30 10:54:45 +02:00
nextcloud-command
b9e47ad054 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-30 04:21:52 +00:00
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
2022-05-24 22:18:20 +02:00
Carl Schwan
d6158c8aea
Merge pull request #32548 from nextcloud/fix/return-type
Fix return type and make type stricter
2022-05-24 20:46:23 +02:00
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>
2022-05-24 18:54:29 +02:00
Carl Schwan
3ada267a02 Fix return type and make type stricter
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 12:05:17 +02:00
Carl Schwan
8d599c3410
Merge pull request #32378 from nextcloud/fix/psalm-userbackend
Fix psalm issues related to the user backend
2022-05-23 11:41:21 +02:00
nextcloud-command
14907ee098 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-22 04:11:38 +00:00
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>
2022-05-20 17:14:58 +02:00
nextcloud-command
96e9ed3d48 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-18 04:15:59 +00:00
Carl Schwan
07c9bf1adf
Merge pull request #31943 from nextcloud/dav-cleanup
Cleanup dav
2022-05-17 14:59:59 +02:00
Carl Schwan
f7be76125f Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 11:05:54 +02:00
Carl Schwan
53169890d6 Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 10:58:26 +02:00
nextcloud-command
fafc098d8e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-15 04:12:02 +00:00
John Molakvoæ
85758a4f70
Merge pull request #31662 from nextcloud/modernize-contactmenu 2022-05-13 20:14:31 +02:00
John Molakvoæ
20a648ed95
Merge pull request #32384 from nextcloud/improve-psalm-server-get 2022-05-13 20:13:58 +02:00
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>
2022-05-13 16:14:01 +02:00
John Molakvoæ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +02:00
Carl Schwan
52bb29bde1
Merge pull request #32369 from nextcloud/automated/noid/psalm-baseline-update-1652416168
[Automated] Update psalm-baseline.xml
2022-05-13 13:06:29 +02:00
John Molakvoæ
fe33e9c08c
Merge pull request #32250 from nextcloud/cleanup/cappedmemorycache 2022-05-13 08:27:28 +02:00
nextcloud-command
44bf17999b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-13 04:29:28 +00:00
Thomas Citharel
232322fe06
Modernize contacts menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 18:31:59 +02:00
Carl Schwan
ec6b83cc18 Add stricter psalm type for CappedMemoryCache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:06:18 +02:00
nextcloud-command
e712ea139d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-11 04:20:27 +00:00
Carl Schwan
da64a3a7e8
Merge pull request #31900 from nextcloud/feat/server-container-public
Add a public replacement for OC::$server->get
2022-05-10 23:23:06 +02:00
Carl Schwan
f945c0cbc6 Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-10 18:51:12 +02:00
Carl Schwan
829490ab7a Cleanup dav
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 22:03:59 +02:00
Louis Chemineau
80fa3c7319 Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:50:29 +02:00
blizzz
033d527deb
Merge pull request #31758 from nextcloud/fix/utf8-detection-fix
Use sabre function directly rather than duplicating it
2022-04-29 13:05:57 +02:00
Vincent Petry
9cfc70d189
Update psalm baseline for Sabre decodePath
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-26 11:11:47 +02:00
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>
2022-04-25 22:04:41 +02:00
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
2022-04-23 15:38:46 +02:00
John Molakvoæ
d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ
1dee36c761
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
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>
2022-04-21 17:44:47 +02:00
Carl Schwan
7817845538 Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +02:00
Vincent Petry
cd95fce105
Merge pull request #31932 from nextcloud/feat/ignore_second_dn
Add settings to ignore second display name in search
2022-04-13 09:52:38 +02:00
Louis Chemineau
37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +02:00
Côme Chilliet
95e0723d0c
Fix ZipArchive::addEmptyDir stub
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-12 11:18:04 +02:00
Côme Chilliet
139da41bd4
Add stubs for ZipArchive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-12 11:10:04 +02:00
Vincent Petry
cde260577e
Merge pull request #31857 from nextcloud/feat/dont_match_userid
Add settings to not match userID during full match
2022-04-11 10:27:59 +02:00
nextcloud-command
26d6ed83d1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-04-09 04:11:58 +00:00
nextcloud-command
90dcf1e122 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-04-07 04:11:50 +00:00
Louis Chemineau
0e06ee68c0 Add settings to not match userID during full match
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-06 15:41:41 +02:00
nextcloud-command
d4b5b24439 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-04-06 04:11:24 +00:00
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.
2022-04-04 12:56:37 +02:00
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>
2022-04-04 10:28:26 +02:00
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>
2022-03-30 21:40:41 +00:00
Pytal
5747b9b01a
Merge pull request #31629 from nextcloud/feat/remove-ie-headers 2022-03-21 18:09:50 -07:00
nextcloud-command
533d1905e1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-20 04:11:32 +00:00
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>
2022-03-19 18:17:46 +01:00
nextcloud-command
cb4ccf98af Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-18 04:12:24 +00:00
Carl Schwan
371fa1c49a
Merge pull request #31542 from nextcloud/psalm-userCounts
Fix psalm issue about userCounts
2022-03-14 11:27:43 +01:00
Carl Schwan
8d7380a15d Fix psalm issue about userCounts
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-11 14:17:29 +01:00
nextcloud-command
ac2c2ee8e5 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-11 04:11:43 +00:00
nextcloud-command
feb9c20b23 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-10 04:11:56 +00:00
nextcloud-command
eb6ca991eb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-05 06:15:00 +00:00
John Molakvoæ
a78f473252
Merge pull request #31435 from nextcloud/update-images-in-scripts-to-run-local-tests-in-Docker 2022-03-04 09:23:17 +01:00
nextcloud-command
1b80d8264d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-04 04:11:33 +00:00
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>
2022-03-03 19:53:26 +01:00
nextcloud-command
996e5de2e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-03 04:15:47 +00:00
nextcloud-command
4f6e7017e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-01 04:15:28 +00:00
MichaIng
e4588a37d0 Update GuzzleHttp function call for v7
https://github.com/guzzle/guzzle/issues/2824

Signed-off-by: MichaIng <micha@dietpi.com>
2022-02-22 23:07:16 +01:00
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>
2022-02-22 21:53:17 +01:00
Côme Chilliet
cb621f371f
Merge pull request #31309 from nextcloud/fix/fix-checkers-php-error
Avoid PHP errors in the checkers drone step
2022-02-22 09:04:56 +01:00
Côme Chilliet
6f37eac470
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 18:21:38 +01:00
nextcloud-command
b26934176d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-02-21 04:11:48 +00:00
Vincent Petry
acba237ec5
Merge pull request #31178 from nextcloud/fix-dav-namespace-typo
Fix typo in DAV namespace registration
2022-02-15 09:50:43 +01:00
Thomas Citharel
46e9f6d0c5
Fix typo in DAV namespace registration
See b0afba6d65/sabre/dav/lib/DAV/Xml/Service.php (L43)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-14 20:58:29 +01:00
Thomas Citharel
f695b3af9a
Remove setting defaultUsernamePath dynamically
Since Sabre 3.0.6 this is no longer possible.

@see https://github.com/sabre-io/dav/pull/582

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-14 19:40:31 +01:00
dependabot[bot]
76a67c7334
Update sabre/dav requirement from 4.3.0 to 4.3.1 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.0...4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 01:19:44 +00:00
nextcloud-command
9530554b91 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-02-11 04:11:10 +00:00
Joas Schilling
6dd60b6d30
Only allow avatars in 64 and 512 pixel size
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 16:47:51 +01:00
Côme Chilliet
d635d58d19
Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3
Drop PHP7.3
2022-02-01 10:50:28 +01:00
nextcloud-command
647a81fccb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-28 04:11:57 +00:00
Carl Schwan
f778cbe7b9
Fix registerEventListener issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 11:12:45 +01:00
Carl Schwan
e3a12b3482
Fix psalm issues in theming app
After this change, we are down to only one psalm warning for this app
and related to the Application.php. This also make composer
psam:update-baseline not silently ignore new errors.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-26 14:26:58 +01:00
Côme Chilliet
540832e15e
Fix PHP Notices in build/integration/features/bootstrap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +01:00
Joas Schilling
fccb98c8b6
Merge pull request #30379 from nextcloud/feature/add-comments-reactions
Add comments reactions
2022-01-21 15:08:12 +01:00
Vitor Mattos
afe5b6dd8a
Prevent query error when use subquery
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:06 -03:00
nextcloud-command
0d47336c64 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-21 04:11:19 +00:00
Louis Chemineau
bca3ef60a3 Move jsunit dependencies to main package.json
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:29:51 +01:00
Louis Chemineau
c76eb85f0a Update dependencies
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:01 +01:00
Louis Chemineau
16ba294065 Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:00 +01:00
John Molakvoæ
b1dbb0708a
Remove .php_cs.dist 2022-01-16 10:22:09 +01:00
John Molakvoæ
fbb17f2288
Allow .php-cs-fixer.dist.php
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 09:05:41 +01:00
nextcloud-command
64cdce14ec Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-14 04:11:34 +00:00
Carl Schwan
89d109a4d9
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
2022-01-13 09:51:04 +01:00
Carl Schwan
6312c0df69
Check style update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 00:19:07 +01:00
Carl Schwan
aeecb72e96
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:03:06 +01:00
Louis Chemineau
69b8044b8f Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:10:14 +01:00
Vincent Petry
82ded36358
Update node deps for JS tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 14:17:09 +01:00
Louis Chemineau
8a56713c38
Revert build/package-lock.json change
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau
19ed04dda1
Don't import $ in every file that needs it
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
John Molakvoæ (skjnldsv)
87d0904b6f
Split common vendor chunk
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:50 +01:00
Carl Schwan
47c9c34cca
Fix psalm not running
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.

This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-06 14:42:37 +01:00
Carl Schwan
33051667ce
Improve api documentation for file sharing external storage
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-03 10:41:40 +01:00
dependabot[bot]
cf3db1a54b
Bump puppeteer from 13.0.0 to 13.0.1 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.0.0...v13.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 01:46:23 +00:00
dependabot[bot]
a76c86582f Bump node-sass from 7.0.0 to 7.0.1 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v7.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 02:09:47 +01:00
Julius Härtl
d73fe0ccd9
Merge pull request #29879 from nextcloud/bugfix/noid/sharing-enumeration-addressbooks 2021-12-21 08:11:04 +01:00
dependabot[bot]
bd643b169c Bump puppeteer from 12.0.1 to 13.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 12.0.1 to 13.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v12.0.1...v13.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-19 14:15:52 +01:00
MichaIng
705494a821
Merge pull request #30304 from nextcloud/automated/noid/psalm-baseline-update-1639714304
[Automated] Update psalm-baseline.xml
2021-12-19 04:56:10 +01:00
dependabot[bot]
b1912ae7d2
Update sabre/dav requirement from 4.2.3 to 4.3.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.2.3...4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 04:08:53 +00:00
nextcloud-command
be219153dd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-17 04:11:44 +00:00
Côme Chilliet
e8ce7a3e5f
Merge pull request #30184 from nextcloud/automated/noid/psalm-baseline-update-1639109464
[Automated] Update psalm-baseline.xml
2021-12-13 10:25:01 +01:00
dependabot[bot]
8aa63fb84c Bump node-sass from 6.0.1 to 7.0.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 01:13:52 +01:00
dependabot[bot]
5cdac1f15e
Update sabre/dav requirement from 4.2.1 to 4.2.3 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.2.1...4.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 03:30:02 +00:00
nextcloud-command
c31c99c1e1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-10 04:11:04 +00:00
Julius Härtl
2fe8042fff
Add integration tests for email completion
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-08 09:08:54 +01:00
nextcloud-command
7bcb2e3aef Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-07 04:11:59 +00:00
dependabot[bot]
c122355e62 Bump puppeteer from 11.0.0 to 12.0.1 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 11.0.0 to 12.0.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v11.0.0...v12.0.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-05 21:03:47 +01:00
dependabot[bot]
69d4cc3aa9
Update sabre/dav requirement from 4.2.0 to 4.2.1 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.2.0...4.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-05 19:23:54 +00:00
nextcloud-command
2a3bb7f3b0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-03 04:11:55 +00:00
nextcloud-command
978b50478c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-11-26 04:11:12 +00:00
Joas Schilling
599870980b
Correctly set the response after a ClientException as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:46 +01:00
Joas Schilling
d1203e9b5d
Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:34 +01:00
dependabot[bot]
b544069d02 Update sabre/dav requirement from 3.2.3 to 4.2.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/3.2.3...4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 15:58:45 +01:00
MichaIng
ab293aaba9
Merge pull request #29570 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-11.0.0
Bump puppeteer from 10.4.0 to 11.0.0 in /build
2021-11-17 03:05:22 +01:00
dependabot[bot]
f11d0fe00c
Bump puppeteer from 10.4.0 to 11.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.4.0 to 11.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.4.0...v11.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 01:18:54 +00:00
dependabot[bot]
c1cf89e430
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.9.0...v3.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 01:17:11 +00:00
Vincent Petry
c687592266
Update psalm baseline
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez
51317a8b92
Add integration tests for federated shares from unavailable servers
The federated server needs to be stopped during the tests, so it is now
stopped in the FederationContext for each scenario instead of just once
in the run.sh script.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez
9497a7c4ff
Add integration tests for listing federated shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez
66b5a2d56a
Add integration tests for deleting federated shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:49 +01:00
Anna Larch
bc68108f2a Fix missing calendar path for public write on Calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-04 12:52:55 +01:00
nextcloud-command
b1a4b239b8 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-11-04 09:17:46 +00:00
Robin Appelman
118c647f61
properly handle cases where cache wrappers block access
`CacheWrapper::formatCacheEntry` can return false for files that should be filtered out

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-01 11:48:01 +01:00
J0WI
047cab8dd2 Use findBinaryPath for previews
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-10-23 23:15:42 +02:00
John Molakvoæ
a06001e085
Merge pull request #29363 from nextcloud/fair-use-push 2021-10-23 10:53:22 +02:00
dependabot[bot]
400f1a7938
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.8.0...v3.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 01:04:34 +00:00
Joas Schilling
b578a1e8b5
Fair use of push notifications
We want to keep offering our push notification service for free, but large
users overload our infrastructure. For this reason we have to rate-limit the
use of push notifications. If you need this feature, consider setting up your
own push server or using Nextcloud Enterprise.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-23 00:54:50 +02:00