Commit Graph

54886 Commits

Author SHA1 Message Date
Morris Jobke 42bb6cd7d7
Check only the baseline.xml and exclude the psalm.xml from the file check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke c6b251ca0c
Add patches for stubs
* https://github.com/JetBrains/phpstorm-stubs/pull/893
* https://github.com/JetBrains/phpstorm-stubs/pull/894
* https://github.com/JetBrains/phpstorm-stubs/pull/895
* https://github.com/JetBrains/phpstorm-stubs/pull/896

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke b70792aa6a
Add stubs for gd, intl, IntlChar, ldap, redis_cluster and xsl
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke 80056e081a
Add a check for fixes in the psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:05 +02:00
Morris Jobke 4efca69f8d
Add psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 12:59:17 +02:00
John Molakvoæ 1f1c087112
Merge pull request #22195 from nextcloud/design/accessibility-highcontrast-class
Add highcontrast class to body just like with dark theme
2020-08-18 09:01:04 +02:00
Daniel Kesselberg 8d18f0a7d7
Suppress warning for template functions.
6e8e34fef9/lib/private/legacy/template/functions.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 90aa451447
Fix variable name for referenced variable.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg fe3a628470
Supress UndefinedGlobalVariable for register_command.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 568e1f6d3a
Remove directory/file element.
It will suppress any error of that kind in the file. That was not intended.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 238f181dbf
Suppress warning for $_ and $l
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 87d738d9fa
Exclude stubs from code style check
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg dd721fc5de
Fix: UndefinedFunction Function x does not exist in templates
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 6ba55d78dc
Add psalm as composer dependency
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg fd6cdbcb04
Add template functions
for some reason they are not loaded by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 8b3b5ae5be
Add stubs for phpseclib
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 7257793fc4
Hello psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Jan C. Borchardt aa16550670
Add highcontrast class to body just like with dark theme
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-18 08:33:46 +02:00
Roeland Jago Douma 9809b77221
Merge pull request #22244 from nextcloud/fix/16876/better_fetch_recent
Improve recent file fetching
2020-08-18 07:09:30 +02:00
Roeland Jago Douma 6ed4c8a946
Improve recent file fetching
Fixes #16876

Before we'd just fetch everything from all storages we'd have access to.
Then we'd sort. And filter in php. Now this of course is tricky if a
user shared just a file with you and then has a ton of activity.

Now we try to contruct the prefix path. So that the filtering can happen
right away in the databae.

Now this will make the DB more busy. But it should help overall as in
most cases less queries are needed then etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-18 05:56:06 +02:00
Nextcloud bot c96044085b
[tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
John Molakvoæ 930c35ada1
Merge pull request #22273 from nextcloud/bugfix/noid/status-nonexisting-icon
Do not try to load non-existing icon
2020-08-17 22:18:43 +02:00
John Molakvoæ 565ccb08cd
Merge pull request #22109 from nextcloud/feature/20931/followup-1 2020-08-17 22:13:45 +02:00
Georg Ehrke 40bf38aaee
Limit custom message input to 80 chars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
Georg Ehrke 4485cb30a1
Display user-status in sharing list
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
Roeland Jago Douma 6675528804
Merge pull request #22271 from nextcloud/phpdoc/22063/add-interface-method-and-phpdoc
Properly add new methods to interface and document in PHPDoc for getR…
2020-08-17 19:34:56 +02:00
blizzz d98bd179b0
Merge pull request #22272 from nextcloud/phpdoc/21787/fix-misplaced-variable-phpdoc
Fix "misplaced variables" warning of Psalm in PHPDoc statements
2020-08-17 19:01:06 +02:00
Julius Härtl c03e21a5dd
Do not try to load non-existing icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-17 18:25:16 +02:00
Morris Jobke 7b8adb1817
Merge pull request #21861 from nextcloud/techdebt/files-psr-container
Migrate files to the PSR container
2020-08-17 17:58:41 +02:00
Morris Jobke d7f66c36ac
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:46:57 +02:00
Morris Jobke 00cb8e6c54
Merge pull request #22253 from nextcloud/debt/noid/docblocks
Fix some MissingDocblockType or InvalidDocblock warnings.
2020-08-17 17:45:11 +02:00
Morris Jobke e47cfc9a54
Properly add new methods to interface and document in PHPDoc for getRootMounts()
Introduced in #22063 and was just forgotten.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:13:46 +02:00
Morris Jobke f406f5dc73
Fix TagService DI name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 16:55:16 +02:00
Christoph Wurst 07fcf14324
Migrate files to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-17 09:45:11 +02:00
dependabot-preview[bot] f6daf17fa7
Merge pull request #22262 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.3 2020-08-17 06:24:34 +00:00
Roeland Jago Douma ad0c44420a
Merge pull request #22261 from nextcloud/dependabot/npm_and_yarn/jsdom-16.4.0
Bump jsdom from 16.3.0 to 16.4.0
2020-08-17 06:43:10 +02:00
Roeland Jago Douma 253bd84620
Merge pull request #22260 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.20
Bump lodash from 4.17.19 to 4.17.20
2020-08-17 06:42:27 +02:00
dependabot-preview[bot] 1328fd7cf0 Bump lodash from 4.17.19 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-17 03:30:20 +00:00
Nextcloud bot bfef24b6df
[tx-robot] updated from transifex 2020-08-17 02:16:39 +00:00
Nextcloud bot 29b7e5885e
[tx-robot] updated from transifex 2020-08-16 02:16:28 +00:00
dependabot-preview[bot] 0accd6592f
Bump sinon from 9.0.2 to 9.0.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.2...v9.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-15 02:38:21 +00:00
dependabot-preview[bot] da6dbb18c0
Bump jsdom from 16.3.0 to 16.4.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.3.0...16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-15 02:37:38 +00:00
Nextcloud bot 31eccc842d
[tx-robot] updated from transifex 2020-08-15 02:17:13 +00:00
Daniel Kesselberg 3e7b815da4
Fix more MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 20:19:23 +02:00
Morris Jobke fb4e989882
Merge pull request #22257 from nextcloud/debt/noid/add-parameter-to-set
Update documentation for QueryBuilder::set
2020-08-14 20:15:16 +02:00
Daniel Kesselberg 10ac844448
Update documentation for QueryBuilder::set
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 19:55:01 +02:00
Georg Ehrke 5b26487f14
Expose status via Collaborators API
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-14 17:04:52 +02:00
blizzz 6e8e34fef9
Merge pull request #22221 from nextcloud/fix/19097/ldap-depracted-event
provide event class and typed event to LDAP loaded event; also fixing a logged deprecation message
2020-08-14 16:07:12 +02:00
Morris Jobke 7d550e3679
Merge pull request #18969 from nextcloud/enh/apps/use-sidebar
Migrate app management settings to proper sidebar standards
2020-08-14 15:44:04 +02:00
Daniel Kesselberg 6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 15:10:48 +02:00