Commit graph

63165 commits

Author SHA1 Message Date
Jonas
7d07e06bfe Check whether entry is of type ICacheEntry in Cache->remove()
In some scenarios (file not in cache, but partial data of it in the
object), Cache->get() might return an array, which leads to errors like
"Call to a member function getId() on array".

So check whether the returned entry is of type ICacheEntry before doing
operations on it in Cache->remove().

Fixes: #33023

Signed-off-by: Jonas <jonas@freesources.org>
2022-06-29 10:47:07 +00:00
Carl Schwan
46a49dee8a
Merge pull request #32994 from nextcloud/fix/extended-query-search
Search without join on filecache_extended
2022-06-29 11:58:20 +02:00
blizzz
f74b3eea37
Merge pull request #33057 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-06-29 10:42:23 +02:00
nextcloud-command
a35013ae82 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-29 04:26:30 +00:00
Nextcloud bot
15dced6eed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-29 02:27:30 +00:00
Pytal
6efcb377de
Merge pull request #33053 from nextcloud/fix/undefined-logger 2022-06-28 16:30:18 -07:00
blizzz
cb7853c61f
Merge pull request #33034 from nextcloud/td/noid/ldap_group_updater
cleanup LDAP's UpdateGroups
2022-06-28 23:48:01 +02:00
Arthur Schiwon
8185a3d701
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 22:46:51 +02:00
Joas Schilling
ac66483ad5
Merge pull request #33042 from nextcloud/bugfix/noid/extend-email-logging
Extend email logging
2022-06-28 20:21:39 +02:00
Christopher Ng
05d53c6340 Fix undefined logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:19:15 +00:00
blizzz
52c957e751
simplify
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-06-28 16:07:11 +02:00
Carl Schwan
a1bc770043
Merge pull request #32982 from nextcloud/fix/metadata-extraction
Fix metadata extraction
2022-06-28 15:34:38 +02: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
Arthur Schiwon
d97f32dd8e
delete groups in chunks instead of one by one
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 14:35:18 +02:00
Arthur Schiwon
632f2d7760
cleanup LDAP's UpdateGroups
- TimedJob from API
- DI of config
- property types
- throws hints in phpdoc
- argument and return types
- replace depracet execute() with executeStatement or -Query
- a missing return statement

Co-authored-by: Carl Schwan <carl@carlschwan.eu>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 14:34:56 +02:00
Côme Chilliet
64bff27c99
Merge pull request #32960 from nextcloud/fix/avoid-using-undeclared-properties
Fix PHP 8.2 warnings about undeclared properties
2022-06-28 12:05:16 +02:00
Carl Schwan
f38e060090 Fix many issues with the tests
- Return type were not correct
- willReturn and with confusion

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-28 11:26:30 +02:00
Joas Schilling
f7eb14a9fa
Extend email logging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-28 08:57:03 +02:00
Nextcloud bot
2956da4178
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-28 02:28:28 +00:00
Pytal
529d6537b2
Merge pull request #32561 from nextcloud/port/vue-personal-federation 2022-06-27 10:55:51 -07: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
Nextcloud bot
069346b7d3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-27 02:27:18 +00:00
dependabot[bot]
ba88c2e1a2
Merge pull request #33016 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.5 2022-06-25 03:21:58 +00:00
Nextcloud bot
448973f3b4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-25 02:27:31 +00: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
6114176b71 Cleanup CardDav SyncService
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24 20:25:38 +02:00
Carl Schwan
095658e004
Merge pull request #33006 from nextcloud/dependabot/composer/guzzlehttp/guzzle-7.4.5
Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5
2022-06-24 15:43:55 +02:00
Carl Schwan
6ea512aca9 Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5
See https://github.com/nextcloud/3rdparty/pull/1088

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24 15:42:13 +02: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
blizzz
4722baf970
Merge pull request #32863 from nextcloud/feature/add-comments-expire-date
Add comments expire date
2022-06-24 10:28:13 +02:00
Nextcloud bot
e0c6c1582d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-24 02:27:15 +00:00
blizzz
3ebde2f6c2
Merge pull request #32980 from nextcloud/fix/32887/dashboard-load-only-enabled-apps
load dashboard widgets of enabled apps only
2022-06-23 17:45:05 +02:00
Carl Schwan
253ae64faf
Merge pull request #32957 from nextcloud/fix/import-float
Fix importing float value
2022-06-23 17:39:45 +02:00
Carl Schwan
55bad5a1bb
Merge pull request #32962 from nextcloud/getstoragestat-change-url
Remove .php from url
2022-06-23 17:39:30 +02:00
Carl Schwan
f326b54e53 Search without join on filecache_extended
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 16:23:52 +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
John Molakvoæ
859d7fc4b0
Merge pull request #32988 from nextcloud/fix/improve-local-domain-detection 2022-06-23 12:50:16 +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
fbae6ffa98 Fix importing float value
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 12:08:42 +02:00
Côme Chilliet
d23c7d245c
Improve local domain detection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-23 11:45:16 +02:00
Nextcloud bot
eb677bf048
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-23 02:27:35 +00:00
Arthur Schiwon
6e531b5ab5
avoid early DI of IAppManager
- might break install

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +02:00
Arthur Schiwon
523572fcea
load widgets only of enabled apps
- per design, all enabled apps have their registration run
- limitations, e.g. enabled by group, are not considered in that state,
  because we do not have a session (and might need apps?)
- before instantiation of widget it has to be checked whether the providing
  app is actually enabled for the logged in user.
- a public interface is being changed, but it is not meant to be
  implemented or used outside of the core handling. Therefore save to
  backport.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +02:00
Carl Schwan
940b5e8f0a Fix metadata extraction
The metadata extraction only happens when the size is not equal to 0,
but due to a regression in FileInfo the size is always zero.

This fix the regression.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 17:27:09 +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
14a16320ec
Merge pull request #32884 from nextcloud/typing/dav-sharing
Add typing to Sharing Backend
2022-06-22 11:09:06 +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