Commit graph

60713 commits

Author SHA1 Message Date
Carl Schwan
510031067a
Merge pull request #30065 from nextcloud/automated/noid/psalm-baseline-update-1638504715
[Automated] Update psalm-baseline.xml
2021-12-03 10:48:39 +01:00
Julius Härtl
5116bf146f
Allow to pass note when creating a share and send it with directly in the share mail when set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-03 10:17:02 +01:00
nextcloud-command
2a3bb7f3b0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-03 04:11:55 +00:00
Nextcloud bot
8c3ab46545
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-03 02:29:15 +00:00
Joas Schilling
e139ccc66c
Merge pull request #30024 from nextcloud/techdebt/noid/list-php-are-only-invokable-via-controllers
list.php files are only invoked via ViewController and APIController
2021-12-02 22:29:12 +01:00
John Molakvoæ
41b6052cb7
Merge pull request #30015 from nextcloud/feat/addScript-dependency 2021-12-02 21:20:35 +01:00
John Molakvoæ (skjnldsv)
791d57051a
Adapt tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-02 21:13:07 +01:00
John Molakvoæ (skjnldsv)
71a3528510
Allow scripts prioritization based on other apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-02 20:00:46 +01:00
Robin Appelman
6b3c703794
Merge pull request #29735 from nextcloud/background-scan-one-by-one
find users for background scan one by one
2021-12-02 17:09:43 +00:00
Robin Appelman
e95745c074
fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:43:16 +01:00
Robin Appelman
db2dcbfe13
code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:10 +01:00
Robin Appelman
89bc9f1b77
stop background scan early if a users still has unscanned files after background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:07 +01:00
Robin Appelman
38921ab498
find users for background scan one by one
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:02 +01:00
Robin Appelman
f5fe887b4b
background scan the source storage when a background scan on a storage jail is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:34:58 +01:00
Robin Appelman
f93061e344
teach psalm about Storage::instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:34:53 +01:00
Joas Schilling
7acb438e42
Merge pull request #30016 from nextcloud/techdebt/noid/remove-default-token-provider
Remove default token which is deprecated since Nextcloud 13
2021-12-02 16:48:03 +01:00
Christoph Wurst
7b2fb9295e
Clean up the DAV resource background job
* Replace deprecated execute with executeQuery and executeStatement
* Close open cursors
* Drop phpdoc that only mirrors php type hints

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 16:38:48 +01:00
Christoph Wurst
9cb90b3d1d
Merge pull request #30046 from nextcloud/fix/dav-back-end-missing-close-cursor
Close open cursor in the caldav back-end
2021-12-02 16:01:10 +01:00
Carl Schwan
dfb569f097
Follow upstream security recommandation
See https://scssphp.github.io/scssphp/docs/#security-considerations

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-02 15:57:53 +01:00
John Molakvoæ
e0d2f015ad
Merge pull request #30033 from nextcloud/ie-polifils 2021-12-02 15:31:02 +01:00
Joas Schilling
6d33d75be1
Remove unused imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 14:51:44 +01:00
Christoph Wurst
98d4aefe43
Close open cursor in the caldav back-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 14:23:59 +01:00
Carl Schwan
324e0dc36c
Add rgb to hsl converter
This ports away from using now internal functions from scssphp.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-02 11:53:34 +01:00
acsfer
9ec2c36c05 Remove IE polyffils
Pursuing the "IE removal" quest ☮️

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-02 10:29:20 +00:00
Joas Schilling
3ce6a73b54
Merge pull request #30032 from nextcloud/techdebt/noid/add-missing-indices
Add an index for selecting the next job
2021-12-02 11:22:17 +01:00
Joas Schilling
617528312a
Fix last tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 10:39:49 +01:00
Joas Schilling
91db6040c8
Merge pull request #30028 from nextcloud/bugfix/noid/fix-log_query
Fix log_query config flag
2021-12-02 10:32:04 +01:00
Joas Schilling
d5e4197875
Merge pull request #30011 from nextcloud/techdebt/noid/allow-to-log-queries-to-db-ldap-and-redis
Allow to log queries to db, ldap and redis
2021-12-02 10:27:42 +01:00
Côme Chilliet
f334d51b17
Bump scssphp/scssphp to 1.8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 10:02:49 +01:00
Côme Chilliet
061abe7afd
Merge pull request #29976 from nextcloud/fix/bump-sabre/dav-to-4.2.0
Bump sabre/dav to 4.2.1
2021-12-02 09:53:56 +01:00
Côme Chilliet
059f6591e6
Bump to 4.2.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 09:52:36 +01:00
Côme Chilliet
172f250b6b
Bump sabre/dav to 4.2.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 09:52:36 +01:00
Nextcloud bot
43deb706a8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-02 02:29:14 +00:00
Joas Schilling
536a812de4
Add an index for selecting the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 23:57:40 +01:00
Joas Schilling
68d53988f6
Fix log_query config flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 23:00:51 +01:00
Joas Schilling
3e20cffc86
More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:38:57 +01:00
Joas Schilling
168c673755
Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:33:41 +01:00
Joas Schilling
c6ae53096c
More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:17:19 +01:00
Joas Schilling
9f00179037
More unit test adjustments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 21:40:14 +01:00
Joas Schilling
bf7c9aa58c
list.php files are only invoked via ViewController and APIController
Both of them actually check that the user is logged in before
and also the list.php files themselves would break with
getUserSession()->getUser()->getUID() which they contain.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 21:09:11 +01:00
Pytal
44ecd0d1d5
Merge pull request #30018 from nextcloud/fix/30017/tags-styles 2021-12-01 11:48:22 -08:00
Carl Schwan
a8866b0253
Fix tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-01 19:53:24 +01:00
Christopher Ng
0b38fe1f4b Fix collaborative tags styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-01 18:04:16 +00:00
Joas Schilling
c0ba89ecc9
Remove default token which is deprecated since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 18:41:31 +01:00
John Molakvoæ
4c503db75d
Merge pull request #30013 from nextcloud/bugfix/noid/dont-count-attempts-when-we-just-deleted 2021-12-01 18:40:41 +01:00
John Molakvoæ
c21173ff27
Merge pull request #30012 from nextcloud/bugfix/noid/only-check-2fa-state-once 2021-12-01 18:38:24 +01:00
Louis
977cea1ee2
Merge pull request #29995 from nextcloud/fix/profile-actions-menu
Fix profile actions menu with 6 or more actions
2021-12-01 18:04:00 +01:00
Joas Schilling
1d550ab95e
Don't query the bruteforce attempts when we just deleted them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 18:01:22 +01:00
Joas Schilling
660e550260
Only check the twofactor state once per request
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 17:56:30 +01:00
Christoph Wurst
3a1ef2b012
Merge pull request #30001 from nextcloud/fix/subscription-id-int
Cast orphan subscription id to int
2021-12-01 14:43:47 +01:00