Commit Graph

58016 Commits

Author SHA1 Message Date
blizzz c3361a2b13
Merge pull request #25915 from nextcloud/bugfix/noid/option-always-show-unique-label
Add appconfig to always show the unique label of a sharee
2021-03-04 12:11:28 +01:00
Roeland Jago Douma 7b9ca4f7c2 Add some typing to SharedStorage
Makes psalm a bit more happy.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 10:49:42 +01:00
Julius Härtl 69c2864aca
Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-04 09:25:45 +01:00
Joas Schilling 1e5fea0460
Only mark migrations as installed after execution
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-04 08:49:42 +01:00
Roeland Jago Douma 9b573c6bd5
Merge pull request #25923 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-04 07:25:57 +01:00
Nextcloud-PR-Bot efdb881372 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-04 04:32:47 +00:00
Nextcloud bot 365d31743f
[tx-robot] updated from transifex 2021-03-04 02:22:10 +00:00
Roeland Jago Douma 5325c3002c
Merge pull request #25917 from nextcloud/techdept/kill_deprecated/ocp_api
Remove deprecated \OCP\API
2021-03-03 21:57:34 +01:00
Roeland Jago Douma a58b4ceaab
Merge pull request #25889 from nextcloud/techdept/psalm/fix_group_manager_function_return_type
Fix types in the Group Manager
2021-03-03 20:55:52 +01:00
Roeland Jago Douma cc744740b7 Remove deprecated \OCP\API
Time to remove this forgood now.
Remaining constant moved over
The world is a tiny bit better

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 20:54:32 +01:00
Julius Härtl 895e6a57b9
Merge pull request #25805 from nextcloud/bugfix/23468/clear-share-after-select
Clear multiselect after selection in share panel
2021-03-03 17:25:31 +01:00
Roeland Jago Douma 0829fea5e7
Merge pull request #25896 from nextcloud/techdept/qbmapper
Move DirectMapper to QBMapper
2021-03-03 14:58:51 +01:00
Roeland Jago Douma 68ec18323d Fix types in the Group Manager
Psalm found an issue. However the issue found was because of lying
docblocks. Fixed those and did some typing to make it all better.

For #25839

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 14:52:47 +01:00
Julius Härtl 930b40bd8a
Remove trash items from other trash backends when deleting all
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-03 14:26:35 +01:00
Roeland Jago Douma b87e54bb1c
Merge pull request #25902 from nextcloud/techdept/psalm/loggerinterface/part2
LoggerInterface for provisioning API Controllers
2021-03-03 12:53:15 +01:00
Roeland Jago Douma ee7702e5f0 Move DirectMapper to QBMapper
Mapper has been deprecated for some time now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 12:35:14 +01:00
Lukas Reschke f109cf0136
Merge pull request #25890 from nextcloud/techdept/psalm/check_input_command
Check command input
2021-03-03 11:50:08 +01:00
Vincent Petry c541094be0 Clear multiselect after selection in share panel
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-03 11:38:00 +01:00
Joas Schilling a6246be34c
Merge pull request #25656 from nextcloud/enh/type/expressionbuilder
Type the experssionbuilders
2021-03-03 11:37:16 +01:00
Joas Schilling 11858a3d66
Merge pull request #25816 from nextcloud/iquerybuilder-join-conditions
allow non string join conditions in query builder
2021-03-03 11:34:56 +01:00
Roeland Jago Douma f492a6aac3 Move group activities to events
Use the fancy events.
Nicer code
Nicely isolated code

win-win

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 11:33:33 +01:00
Roeland Jago Douma 74f36173bc
Merge pull request #25882 from nextcloud/bug/25748/filter-other-tables
Filter out tables that does not belong to Nextcloud
2021-03-03 11:24:47 +01:00
Roeland Jago Douma ce430c3613
Merge pull request #25892 from nextcloud/techdept/initialstate/part1
Move some settings over to the IInitialState
2021-03-03 11:08:42 +01:00
Roeland Jago Douma 4bdf9f5849 Type the experssionbuilders
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 10:44:09 +01:00
Robin Appelman 47dd8e54b5
allow non string join conditions in query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-03 10:43:15 +01:00
Roeland Jago Douma 49c46493d1
Merge pull request #25850 from nextcloud/techdept/js/timezonedetect
Kill jstimezonedetect from bundle
2021-03-03 10:32:38 +01:00
Roeland Jago Douma a1be5f33af
Merge pull request #25895 from nextcloud/techdept/psalm/pimp_sharingcheckmiddleware
Pimp sharingcheckmiddleware
2021-03-03 10:28:32 +01:00
Roeland Jago Douma 3c83604e58 Kill jstimezonedetect from bundle
Taking up space while it is not needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 08:43:53 +01:00
Roeland Jago Douma ed772cd889
Merge pull request #25818 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-03-03 08:39:21 +01:00
Roeland Jago Douma 252d2d3958
Merge pull request #25898 from nextcloud/fix/jsunit
Fix the jsunit tests
2021-03-03 07:18:44 +01:00
Roeland Jago Douma f09eba51a9
Merge pull request #25904 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-03 07:17:52 +01:00
Nextcloud-PR-Bot 19b2d621d2 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-03 04:28:22 +00:00
Nextcloud bot e11be3b693
[tx-robot] updated from transifex 2021-03-03 02:21:24 +00:00
Roeland Jago Douma dc7eb2bd85 LoggerInterface for provisioning API Controllers
Sweep swoop swaap swuup
away with the deprecated stuff

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:46:51 +01:00
blizzz ef5389603c
Merge pull request #25860 from nextcloud/fix/noid/ldap-bind-expired
do not die after LDAP auth failed with expired acc
2021-03-02 21:34:03 +01:00
Roeland Jago Douma 5ae5aae324 Fix the jsunit tests
Followup to #25874

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:30:32 +01:00
kesselb 85fe0222ed
Merge pull request #25893 from nextcloud/techdept/psalm/fix_return-type
Fix docblock return type for IShareProvider
2021-03-02 21:21:37 +01:00
Roeland Jago Douma bc961baa40 Move some settings over to the IInitialState
The old one has been deprecated. Part one of many.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:11:56 +01:00
Daniel Kesselberg bc91eb7c64
Filter tables with other table prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-03-02 21:09:33 +01:00
dependabot-preview[bot] 7d279f8527 Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-02 20:51:19 +01:00
Valdnet 3b5c8d792d
Merge pull request #25874 from nextcloud/Valdnet-patch-4
l10n: Correct text strings
2021-03-02 20:46:55 +01:00
Roeland Jago Douma 5c952e83fc Pimp sharingcheckmiddleware
Reported by psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 20:36:04 +01:00
Roeland Jago Douma 1531414e8d Fix docblock return type for IShareProvider
All the implementations already returned an array of array of shares. So
better to make sure the docblock also doesn't lie.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 20:12:46 +01:00
Roeland Jago Douma 5b0dc6dad0 Check command input
For #25839

We should check this else it crashed hard. Better to be gracefull.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 19:41:35 +01:00
Roeland Jago Douma 04dc321ee7
Merge pull request #25884 from nextcloud/techdept/psalm/no_cast
Remove redundant casts
2021-03-02 18:52:44 +01:00
Roeland Jago Douma 15f00dfa74
Merge pull request #25885 from nextcloud/enh/autoloader_update
Update autoloader files
2021-03-02 18:47:31 +01:00
Roeland Jago Douma 19e2136963 Update autoloader files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:36:21 +01:00
Roeland Jago Douma 4f37e0ce55 Remove redundant casts
For #25839

In short with the connection adapter we now have the function is typed
to int (and casts itself). So it is not needed anymore.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:32:13 +01:00
Roeland Jago Douma c40228a65a Fix the SharesPlugin
Another attempt to fix all the typing and handling in the sharesplugin.
In short we should probably have a lot more type hinting in several
places.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:29:06 +01:00
Roeland Jago Douma 2afa1c5739
Merge pull request #25862 from nextcloud/techdept/psalm/some_loggers
Move away some ILoggers
2021-03-02 15:01:44 +01:00