Commit Graph

231 Commits

Author SHA1 Message Date
nextcloud-command 705082199c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-02 04:39:59 +00:00
nextcloud-command 844f722c43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-16 04:45:10 +00:00
nextcloud-command fc88d73583 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-13 04:42:03 +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 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
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
nextcloud-command a35013ae82 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-29 04:26:30 +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
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
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
nextcloud-command b9e47ad054 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-30 04:21:52 +00: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
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
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
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 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
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
John Molakvoæ d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +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
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
nextcloud-command d4b5b24439 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-04-06 04:11:24 +00: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