]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoMerge pull request #23928 from nextcloud/bugfix/oci/dont-leave-stray-cursors-on-mimet...
Morris Jobke [Fri, 6 Nov 2020 21:09:44 +0000 (22:09 +0100)]
Merge pull request #23928 from nextcloud/bugfix/oci/dont-leave-stray-cursors-on-mimetype-update

Fix repair mimetype step to not leave stray cursors

3 years agoMerge pull request #23940 from nextcloud/enh/skip_already_loaded_apps
Morris Jobke [Fri, 6 Nov 2020 20:58:44 +0000 (21:58 +0100)]
Merge pull request #23940 from nextcloud/enh/skip_already_loaded_apps

Skip already loaded apps in loadApps

3 years agoMerge pull request #23919 from nextcloud/dependabot/npm_and_yarn/css-loader-5.0.1
dependabot-preview[bot] [Fri, 6 Nov 2020 20:55:42 +0000 (20:55 +0000)]
Merge pull request #23919 from nextcloud/dependabot/npm_and_yarn/css-loader-5.0.1

3 years agoMerge pull request #23929 from nextcloud/techdebt/noid/deprecate-prepare-and-execute...
Morris Jobke [Fri, 6 Nov 2020 15:24:29 +0000 (16:24 +0100)]
Merge pull request #23929 from nextcloud/techdebt/noid/deprecate-prepare-and-execute-audited-as-they-leak-cursors

Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors

3 years agoMerge pull request #23932 from nextcloud/enh/s3/do_not_check_bucket_exists_on_every_r...
Morris Jobke [Fri, 6 Nov 2020 15:13:20 +0000 (16:13 +0100)]
Merge pull request #23932 from nextcloud/enh/s3/do_not_check_bucket_exists_on_every_request

Allow config to specify the bucket exists

3 years agoSkip already loaded apps in loadApps 23940/head
Roeland Jago Douma [Fri, 6 Nov 2020 13:26:42 +0000 (14:26 +0100)]
Skip already loaded apps in loadApps

Otherwise you might end up calling a lot of functions unneeded.
And while the individual calls are cheap if you multiply them by 20k
they still get somewhat expensive.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23921 from nextcloud/techdebt/oci/fix-casting-to-integer
Julius Härtl [Fri, 6 Nov 2020 10:39:48 +0000 (11:39 +0100)]
Merge pull request #23921 from nextcloud/techdebt/oci/fix-casting-to-integer

Fix casting to integer on Oracle

3 years agoAllow config to specify the bucket exists 23932/head
Roeland Jago Douma [Fri, 6 Nov 2020 10:06:40 +0000 (11:06 +0100)]
Allow config to specify the bucket exists

In the 99% case the bucket is just always there. And if it is not the
read/write will fail hard anyways. Esp on big instances the Objectstore
is not always fast and this can save a few hundered ms of each request
that acess the objectstore.

In short it is adding

'verify_bucket_exists' => false

To the S3 config part

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoDeprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors 23929/head
Joas Schilling [Fri, 6 Nov 2020 09:37:37 +0000 (10:37 +0100)]
Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix repair mimetype step to not leave stray cursors 23928/head
Joas Schilling [Fri, 6 Nov 2020 09:26:41 +0000 (10:26 +0100)]
Fix repair mimetype step to not leave stray cursors

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #23920 from nextcloud/fix/match_bearer_front
Morris Jobke [Fri, 6 Nov 2020 08:19:05 +0000 (09:19 +0100)]
Merge pull request #23920 from nextcloud/fix/match_bearer_front

Bearer must be in the start of the auth header

3 years agoMerge pull request #23918 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Morris Jobke [Fri, 6 Nov 2020 08:11:33 +0000 (09:11 +0100)]
Merge pull request #23918 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoBump css-loader from 3.6.0 to 5.0.1 23919/head
dependabot-preview[bot] [Fri, 6 Nov 2020 07:06:21 +0000 (07:06 +0000)]
Bump css-loader from 3.6.0 to 5.0.1

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 5.0.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoFix casting to integer on Oracle 23921/head
Joas Schilling [Thu, 5 Nov 2020 09:50:21 +0000 (10:50 +0100)]
Fix casting to integer on Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoBearer must be in the start of the auth header 23920/head
Roeland Jago Douma [Fri, 6 Nov 2020 07:32:50 +0000 (08:32 +0100)]
Bearer must be in the start of the auth header

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm...
John Molakvoæ [Fri, 6 Nov 2020 07:04:07 +0000 (08:04 +0100)]
Merge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm-button

3 years agoMerge pull request #23916 from nextcloud/dependabot/npm_and_yarn/mocha-8.2.1
dependabot-preview[bot] [Fri, 6 Nov 2020 06:54:29 +0000 (06:54 +0000)]
Merge pull request #23916 from nextcloud/dependabot/npm_and_yarn/mocha-8.2.1

3 years agoUpdate psalm baseline 23918/head
Nextcloud-PR-Bot [Fri, 6 Nov 2020 04:25:56 +0000 (04:25 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 6 Nov 2020 02:19:11 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23857 from nextcloud/dependabot/composer/vimeo/psalm-4.1.1
Morris Jobke [Thu, 5 Nov 2020 22:56:56 +0000 (23:56 +0100)]
Merge pull request #23857 from nextcloud/dependabot/composer/vimeo/psalm-4.1.1

Bump vimeo/psalm from 4.0.1 to 4.1.1

3 years agoBump vimeo/psalm from 4.0.1 to 4.1.1 23857/head
dependabot-preview[bot] [Thu, 5 Nov 2020 22:41:22 +0000 (22:41 +0000)]
Bump vimeo/psalm from 4.0.1 to 4.1.1

Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.0.1 to 4.1.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.0.1...4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23906 from nextcloud/techdebt/noid/simplify-can-change-user-pasword
Morris Jobke [Thu, 5 Nov 2020 22:39:13 +0000 (23:39 +0100)]
Merge pull request #23906 from nextcloud/techdebt/noid/simplify-can-change-user-pasword

Simplify the check if admin can change password based on encryption status

3 years agoMerge pull request #23887 from ecsecta/fix_23797
Morris Jobke [Thu, 5 Nov 2020 21:58:30 +0000 (22:58 +0100)]
Merge pull request #23887 from ecsecta/fix_23797

Do not emit UserCreatedEvent twice

3 years agoSimplify the check if admin can change password based on encryption status 23906/head
Morris Jobke [Thu, 5 Nov 2020 12:21:19 +0000 (13:21 +0100)]
Simplify the check if admin can change password based on encryption status

Found by Psalm:
```
/home/runner/work/server/server/apps/settings/lib/Controller/UsersController.php:324:8:error - RedundantCondition: Type true for $isEncryptionModuleLoaded is never falsy
```

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23004 from nextcloud/files-scan-background
Julius Härtl [Thu, 5 Nov 2020 21:15:01 +0000 (22:15 +0100)]
Merge pull request #23004 from nextcloud/files-scan-background

only run the background scanner for users that have unscanned files

3 years agoBump mocha from 7.2.0 to 8.2.1 23916/head
dependabot-preview[bot] [Thu, 5 Nov 2020 21:06:45 +0000 (21:06 +0000)]
Bump mocha from 7.2.0 to 8.2.1

Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.2.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23910 from nextcloud/bugfix/23908/fix-share-link-avatar
Julius Härtl [Thu, 5 Nov 2020 21:00:11 +0000 (22:00 +0100)]
Merge pull request #23910 from nextcloud/bugfix/23908/fix-share-link-avatar

Fix link share avatar icon

3 years agoMake link share avatar icon blue again 23910/head
Vincent Petry [Thu, 5 Nov 2020 15:39:07 +0000 (16:39 +0100)]
Make link share avatar icon blue again

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix link share avatar icon
Vincent Petry [Thu, 5 Nov 2020 14:42:35 +0000 (15:42 +0100)]
Fix link share avatar icon

Use "icon-class" instead of "class" as this is how to tell the component
that we don't want initials displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #23907 from nextcloud/fix/noid/update-baseline-due-to-phpdoc
kesselb [Thu, 5 Nov 2020 15:34:01 +0000 (16:34 +0100)]
Merge pull request #23907 from nextcloud/fix/noid/update-baseline-due-to-phpdoc

Check in InvalidArgument psalm error into baseline

3 years agoAdd confirm button in new link share pending expire/password menu 23347/head
Richard Steinmetz [Sun, 11 Oct 2020 11:08:59 +0000 (13:08 +0200)]
Add confirm button in new link share pending expire/password menu

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
3 years agoCheck InvalidArgument psalm error into baseline - PHPDoc needs to be improved 23907/head
Morris Jobke [Thu, 5 Nov 2020 12:49:25 +0000 (13:49 +0100)]
Check InvalidArgument psalm error into baseline - PHPDoc needs to be improved

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23904 from nextcloud/fix/php-lint
John Molakvoæ [Thu, 5 Nov 2020 09:51:13 +0000 (10:51 +0100)]
Merge pull request #23904 from nextcloud/fix/php-lint

Fix php lint action

3 years agoMerge pull request #23868 from nextcloud/techdebt/webpack-hide-modules
John Molakvoæ [Thu, 5 Nov 2020 09:20:16 +0000 (10:20 +0100)]
Merge pull request #23868 from nextcloud/techdebt/webpack-hide-modules

Remove old hide modules option for webpack

3 years agoRemove old hide modules option for webpack 23868/head
Christoph Wurst [Tue, 3 Nov 2020 14:33:46 +0000 (15:33 +0100)]
Remove old hide modules option for webpack

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #23901 from nextcloud/techdebt/noid/deprecate-old-usermanager...
Roeland Jago Douma [Thu, 5 Nov 2020 08:37:07 +0000 (09:37 +0100)]
Merge pull request #23901 from nextcloud/techdebt/noid/deprecate-old-usermanager-events

Deprecate old user manager events for user creation

3 years agoFix php lint action 23904/head
John Molakvoæ [Thu, 5 Nov 2020 08:34:04 +0000 (09:34 +0100)]
Fix php lint action

3 years agofix: also remove use statement of UserCreatedEvent 23887/head
Tobias Assmann [Thu, 5 Nov 2020 07:51:14 +0000 (08:51 +0100)]
fix: also remove use statement of UserCreatedEvent

Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 5 Nov 2020 02:18:49 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23819 from nextcloud/td/routing/move_things_around
Morris Jobke [Wed, 4 Nov 2020 21:16:13 +0000 (22:16 +0100)]
Merge pull request #23819 from nextcloud/td/routing/move_things_around

Cleanup routing

3 years agoMerge pull request #23820 from nextcloud/td/remove/OCPAPI_check
Morris Jobke [Wed, 4 Nov 2020 20:56:28 +0000 (21:56 +0100)]
Merge pull request #23820 from nextcloud/td/remove/OCPAPI_check

Remove the matching on ancient /ocs routes

3 years agoMerge pull request #23792 from nextcloud/techdebt/noid/group-unread-comment-count...
Morris Jobke [Wed, 4 Nov 2020 20:45:44 +0000 (21:45 +0100)]
Merge pull request #23792 from nextcloud/techdebt/noid/group-unread-comment-count-query

Add a function to get the unread count for multiple objects in one go

3 years agoDeprecate old user manager events for user creation 23901/head
Morris Jobke [Wed, 4 Nov 2020 20:19:16 +0000 (21:19 +0100)]
Deprecate old user manager events for user creation

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23888 from nextcloud/fix/noid/only-fetch-jsconfig-when-used
Morris Jobke [Wed, 4 Nov 2020 18:33:24 +0000 (19:33 +0100)]
Merge pull request #23888 from nextcloud/fix/noid/only-fetch-jsconfig-when-used

Only build JSConfig in TemplateLayout when it is actually used

3 years agoHave the CommentsPropertiesPlugin use the new fancy method 23792/head
Roeland Jago Douma [Mon, 2 Nov 2020 20:11:47 +0000 (21:11 +0100)]
Have the CommentsPropertiesPlugin use the new fancy method

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23897 from nextcloud/bugfix/23236
Christoph Wurst [Wed, 4 Nov 2020 14:32:21 +0000 (15:32 +0100)]
Merge pull request #23897 from nextcloud/bugfix/23236

Move help to separate stylesheet

3 years agoMerge pull request #23898 from nextcloud/bugfix/noid/list-style-scope
John Molakvoæ [Wed, 4 Nov 2020 14:14:30 +0000 (15:14 +0100)]
Merge pull request #23898 from nextcloud/bugfix/noid/list-style-scope

Make user status styles scoped

3 years agoMake user status styles scoped 23898/head
Julius Härtl [Wed, 4 Nov 2020 12:33:32 +0000 (13:33 +0100)]
Make user status styles scoped

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMove help to separate stylesheet 23897/head
Julius Härtl [Wed, 4 Nov 2020 12:17:16 +0000 (13:17 +0100)]
Move help to separate stylesheet

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #23890 from nextcloud/techdebt/noid/refactor-theming-getImage
kesselb [Wed, 4 Nov 2020 11:30:24 +0000 (12:30 +0100)]
Merge pull request #23890 from nextcloud/techdebt/noid/refactor-theming-getImage

Cleanup ImageManager::getImage()

3 years agoMerge pull request #23869 from nextcloud/rakekniven-patch-1
John Molakvoæ [Wed, 4 Nov 2020 11:12:53 +0000 (12:12 +0100)]
Merge pull request #23869 from nextcloud/rakekniven-patch-1

3 years agoAdd a function to get the unread count for multiple objects in one go
Joas Schilling [Fri, 30 Oct 2020 11:10:59 +0000 (12:10 +0100)]
Add a function to get the unread count for multiple objects in one go

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDocument the behaviour inline 23888/head
Morris Jobke [Wed, 4 Nov 2020 09:12:56 +0000 (10:12 +0100)]
Document the behaviour inline

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoCleanup ImageManager::getImage() 23890/head
Morris Jobke [Wed, 4 Nov 2020 09:08:36 +0000 (10:08 +0100)]
Cleanup ImageManager::getImage()

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agofix: no more translation from postCreateUser hook to UserCreatedEvent anymore, as...
Tobias Assmann [Wed, 4 Nov 2020 08:11:20 +0000 (09:11 +0100)]
fix: no more translation from postCreateUser hook to UserCreatedEvent anymore, as event is already emitted in user manager

Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
3 years agoMerge pull request #23881 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Wed, 4 Nov 2020 07:39:35 +0000 (08:39 +0100)]
Merge pull request #23881 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 23881/head
Nextcloud-PR-Bot [Wed, 4 Nov 2020 04:24:19 +0000 (04:24 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 4 Nov 2020 02:19:00 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #21693 from nextcloud/fix/noid/import-certificates-only-by-system
Morris Jobke [Tue, 3 Nov 2020 20:48:37 +0000 (21:48 +0100)]
Merge pull request #21693 from nextcloud/fix/noid/import-certificates-only-by-system

Improve CertificateManager to not be user context dependent

3 years agoUpdate core/js/setupchecks.js 23869/head
rakekniven [Tue, 3 Nov 2020 20:27:52 +0000 (21:27 +0100)]
Update core/js/setupchecks.js

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
3 years agoMerge pull request #23866 from nextcloud/fix/noid/fix-grid-view-in-systemtags-view
Roeland Jago Douma [Tue, 3 Nov 2020 18:43:13 +0000 (19:43 +0100)]
Merge pull request #23866 from nextcloud/fix/noid/fix-grid-view-in-systemtags-view

Fix grid view toggle in tags view

3 years agoMerge pull request #23798 from nextcloud/add/default_font_size
marco [Tue, 3 Nov 2020 17:25:27 +0000 (18:25 +0100)]
Merge pull request #23798 from nextcloud/add/default_font_size

Add default font size

3 years agoMerge pull request #23785 from nextcloud/bugfix/21459/workaround-snap-js
Julius Härtl [Tue, 3 Nov 2020 15:01:59 +0000 (16:01 +0100)]
Merge pull request #23785 from nextcloud/bugfix/21459/workaround-snap-js

Work around snap.js state mess

3 years agoUpdate setupchecks.js
rakekniven [Tue, 3 Nov 2020 14:55:18 +0000 (15:55 +0100)]
Update setupchecks.js

Changed wording of setup check.
Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
3 years agoMerge pull request #23863 from nextcloud/bugfix/noid/db-update
Roeland Jago Douma [Tue, 3 Nov 2020 14:00:40 +0000 (15:00 +0100)]
Merge pull request #23863 from nextcloud/bugfix/noid/db-update

Replace prefix in executeUpdate

3 years agoFix grid view in tags view 23866/head
Morris Jobke [Tue, 3 Nov 2020 13:35:10 +0000 (14:35 +0100)]
Fix grid view in tags view

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23859 from nextcloud/techdebt/23827/remove-ocsresponse-type-hint
kesselb [Tue, 3 Nov 2020 13:28:16 +0000 (14:28 +0100)]
Merge pull request #23859 from nextcloud/techdebt/23827/remove-ocsresponse-type-hint

Remove OCSResponse type hint

3 years agoAdd default font size 23798/head
GretaD [Fri, 30 Oct 2020 14:26:07 +0000 (15:26 +0100)]
Add default font size

Signed-off-by: GretaD <gretadoci@gmail.com>
3 years agoReplace prefix in executeUpdate 23863/head
Julius Härtl [Tue, 3 Nov 2020 10:03:02 +0000 (11:03 +0100)]
Replace prefix in executeUpdate

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoRemove OCSResponse type hint - see #23827 23859/head
Morris Jobke [Tue, 3 Nov 2020 09:43:32 +0000 (10:43 +0100)]
Remove OCSResponse type hint - see #23827

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23737 from nextcloud/fix-gif-login-image
Julius Härtl [Tue, 3 Nov 2020 09:31:42 +0000 (10:31 +0100)]
Merge pull request #23737 from nextcloud/fix-gif-login-image

Fix GIF being converted when used as a login image

3 years agoMerge pull request #23842 from nextcloud/bugfix/noid/emptystatusmessage
Morris Jobke [Tue, 3 Nov 2020 09:28:33 +0000 (10:28 +0100)]
Merge pull request #23842 from nextcloud/bugfix/noid/emptystatusmessage

UserStatus: clear status message if message is null

3 years agoRemove unneeded service - found by Psalm 21693/head
Morris Jobke [Mon, 2 Nov 2020 23:11:27 +0000 (00:11 +0100)]
Remove unneeded service - found by Psalm

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoAdd a background job that checks for potential user imported SSL certificates and...
Morris Jobke [Mon, 2 Nov 2020 23:00:05 +0000 (00:00 +0100)]
Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoCleanup route registration logic 23819/head
Roeland Jago Douma [Sat, 31 Oct 2020 10:03:01 +0000 (11:03 +0100)]
Cleanup route registration logic

This was a bunch of cylic things being called.
This is an attempt to clean this all up. If an app provides an array of
routes. We just parse them and hand them back.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23854 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Tue, 3 Nov 2020 07:58:17 +0000 (08:58 +0100)]
Merge pull request #23854 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 23854/head
Nextcloud-PR-Bot [Tue, 3 Nov 2020 04:23:30 +0000 (04:23 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 3 Nov 2020 02:19:16 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoAlways return the default path if we can
Roeland Jago Douma [Sun, 1 Nov 2020 20:05:36 +0000 (21:05 +0100)]
Always return the default path if we can

Just check in the certifcate manager. So every part of the system that
request the certificatebundle gets the defaullt one (the 99% case) if we
can.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoImprove CertificateManager to not be user context dependent
Morris Jobke [Sun, 5 Jul 2020 12:31:19 +0000 (14:31 +0200)]
Improve CertificateManager to not be user context dependent

* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoAdd gif to if-statement to not convert 23737/head
Jacob Neplokh [Tue, 27 Oct 2020 20:26:54 +0000 (13:26 -0700)]
Add gif to if-statement to not convert

- SVGs are already there, so I just added it alongside it (as recommended by https://github.com/nextcloud/server/issues/16232#issuecomment-679920284)

Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
3 years agoMerge pull request #23841 from nextcloud/filepicker-empty-list
Roeland Jago Douma [Mon, 2 Nov 2020 19:23:28 +0000 (20:23 +0100)]
Merge pull request #23841 from nextcloud/filepicker-empty-list

ensure filepicker list is empty before populating

3 years agoMerge pull request #23839 from nextcloud/fix/noid/avatar-status
Morris Jobke [Mon, 2 Nov 2020 18:07:57 +0000 (19:07 +0100)]
Merge pull request #23839 from nextcloud/fix/noid/avatar-status

No need to check if there is an avatar available, because it is gener…

3 years agoMerge pull request #23799 from nextcloud/fix/noid/ldap-update-groups-null
blizzz [Mon, 2 Nov 2020 17:14:01 +0000 (18:14 +0100)]
Merge pull request #23799 from nextcloud/fix/noid/ldap-update-groups-null

LDAP: fix null where IUser is expected in update groups background job

3 years agoUserStatus: no message means clear status message. This fixes #23332 23842/head
Simon Spannagel [Mon, 2 Nov 2020 16:58:23 +0000 (17:58 +0100)]
UserStatus: no message means clear status message. This fixes #23332

Signed-off-by: Simon Spannagel <simonspa@kth.se>
3 years agoWork around snap.js state mess 23785/head
Vincent Petry [Thu, 29 Oct 2020 23:03:24 +0000 (00:03 +0100)]
Work around snap.js state mess

Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #23838 from nextcloud/enh/localecache/toarray
Roeland Jago Douma [Mon, 2 Nov 2020 15:43:12 +0000 (16:43 +0100)]
Merge pull request #23838 from nextcloud/enh/localecache/toarray

Move localecache to array

3 years agoensure filepicker list is empty before populating 23841/head
Robin Appelman [Mon, 2 Nov 2020 15:07:50 +0000 (16:07 +0100)]
ensure filepicker list is empty before populating

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoNo need to check if there is an avatar available, because it is generated on the... 23839/head
Morris Jobke [Mon, 2 Nov 2020 14:39:45 +0000 (15:39 +0100)]
No need to check if there is an avatar available, because it is generated on the fly nowadays

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMove localecache to array 23838/head
Roeland Jago Douma [Mon, 2 Nov 2020 14:02:04 +0000 (15:02 +0100)]
Move localecache to array

It seems the DS Set in the polyfill implementation is a lot less
efficient than normal arrays. (A LOT!).
So for now use a stupid normal array.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23822 from nextcloud/enh/parse_localse_only_once
Roeland Jago Douma [Mon, 2 Nov 2020 11:24:38 +0000 (12:24 +0100)]
Merge pull request #23822 from nextcloud/enh/parse_localse_only_once

Only parse the locales ones

3 years agoMerge pull request #23834 from nextcloud/fix-psalm
Roeland Jago Douma [Mon, 2 Nov 2020 11:24:02 +0000 (12:24 +0100)]
Merge pull request #23834 from nextcloud/fix-psalm

Update psalm-baseline.xml (was removed from DBAL update PR)

3 years agoMerge pull request #23677 from nhirokinet/feature/imagemagick-svg-warning
John Molakvoæ [Mon, 2 Nov 2020 10:54:04 +0000 (11:54 +0100)]
Merge pull request #23677 from nhirokinet/feature/imagemagick-svg-warning

3 years agoAdd SVG support check to setup check 23677/head
nhirokinet [Sun, 25 Oct 2020 11:47:43 +0000 (11:47 +0000)]
Add SVG support check to setup check

Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
3 years agoUpdate psalm-baseline.xml 23834/head
Morris Jobke [Thu, 29 Oct 2020 19:48:02 +0000 (20:48 +0100)]
Update psalm-baseline.xml

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23827 from nextcloud/td/cleanup/ocsresponse
John Molakvoæ [Mon, 2 Nov 2020 09:00:19 +0000 (10:00 +0100)]
Merge pull request #23827 from nextcloud/td/cleanup/ocsresponse

Remove deprecated OCSResponse

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 2 Nov 2020 02:19:04 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23267 from nextcloud/fix-bold-and-font-size
John Molakvoæ [Sun, 1 Nov 2020 15:09:38 +0000 (16:09 +0100)]
Merge pull request #23267 from nextcloud/fix-bold-and-font-size

3 years agoRemove deprecated OCSResponse 23827/head
Roeland Jago Douma [Sun, 1 Nov 2020 13:11:33 +0000 (14:11 +0100)]
Remove deprecated OCSResponse

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 1 Nov 2020 02:18:23 +0000 (02:18 +0000)]
[tx-robot] updated from transifex