]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
6 years agoMerge pull request #9378 from nextcloud/backport/9364/swift-v3 stable-swift-v3
Roeland Jago Douma [Thu, 3 May 2018 10:32:13 +0000 (12:32 +0200)]
Merge pull request #9378 from nextcloud/backport/9364/swift-v3

[swiftv3] Log mount and storage issues in getFileInfo

6 years agoLog mount and storage issues in getFileInfo 9378/head
Robin Appelman [Wed, 2 May 2018 13:11:59 +0000 (15:11 +0200)]
Log mount and storage issues in getFileInfo

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoMerge pull request #9323 from nextcloud/backport/9322/swift-v3
Morris Jobke [Thu, 26 Apr 2018 20:55:58 +0000 (22:55 +0200)]
Merge pull request #9323 from nextcloud/backport/9322/swift-v3

[swift]  Better swift V3 token handling

6 years agogenerateTokenFromCache is only valid for V3 9323/head
Roeland Jago Douma [Thu, 26 Apr 2018 18:51:05 +0000 (20:51 +0200)]
generateTokenFromCache is only valid for V3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agojson_decode an associative array for the swift cached token
Roeland Jago Douma [Thu, 26 Apr 2018 18:47:47 +0000 (20:47 +0200)]
json_decode an associative array for the swift cached token

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #9287 from nextcloud/backport/9280/stable-swift-v3
Roeland Jago Douma [Tue, 24 Apr 2018 09:05:18 +0000 (11:05 +0200)]
Merge pull request #9287 from nextcloud/backport/9280/stable-swift-v3

[swift] Swift v3 requires setting a scope

6 years agoSwift v3 requires setting a scope 9287/head
Roeland Jago Douma [Mon, 23 Apr 2018 17:32:41 +0000 (19:32 +0200)]
Swift v3 requires setting a scope

Unscoped auth is not guaranteed to return a catalog. So require the
scope to be set properly.

See https://developer.openstack.org/api-ref/identity/v3/index.html#password-authentication-with-unscoped-authorization

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #9149 from nextcloud/swift-updates
Morris Jobke [Wed, 11 Apr 2018 13:54:22 +0000 (15:54 +0200)]
Merge pull request #9149 from nextcloud/swift-updates

[swift] Fix searchdav

6 years agoUpdate 3rdparty 9149/head
Roeland Jago Douma [Wed, 11 Apr 2018 12:49:57 +0000 (14:49 +0200)]
Update 3rdparty

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMake displayname selectable
Roeland Jago Douma [Thu, 22 Mar 2018 15:46:21 +0000 (16:46 +0100)]
Make displayname selectable

It is dav. so if it is not properly set we just return a 404 anyway.

6 years agoBump openstack to 3.0.5
Roeland Jago Douma [Thu, 22 Mar 2018 09:15:20 +0000 (10:15 +0100)]
Bump openstack to 3.0.5

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoverify cached swift token
Robin Appelman [Fri, 16 Mar 2018 14:20:16 +0000 (15:20 +0100)]
verify cached swift token

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoFix bucket and container usage
Roeland Jago Douma [Mon, 12 Mar 2018 18:59:33 +0000 (19:59 +0100)]
Fix bucket and container usage

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoProperly cache swift v3 token
Roeland Jago Douma [Mon, 12 Mar 2018 19:53:38 +0000 (20:53 +0100)]
Properly cache swift v3 token

The V3 token has an export function. Without this the token is
effectively never cached.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agodisable part files for object stores
Robin Appelman [Wed, 7 Mar 2018 12:33:35 +0000 (13:33 +0100)]
disable part files for object stores

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agodon't read existing file when overwriting using object store
Robin Appelman [Wed, 7 Mar 2018 11:05:57 +0000 (12:05 +0100)]
don't read existing file when overwriting using object store

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoMerge pull request #8359 from nextcloud/swift-v3
Morris Jobke [Mon, 26 Feb 2018 17:30:00 +0000 (18:30 +0100)]
Merge pull request #8359 from nextcloud/swift-v3

Support swift v3 authentication

6 years agoMerge pull request #8463 from kyrofa/bugfix/8462/theming_app_outside_root
Morris Jobke [Mon, 26 Feb 2018 17:27:54 +0000 (18:27 +0100)]
Merge pull request #8463 from kyrofa/bugfix/8462/theming_app_outside_root

theming: handle not being in the serverroot

6 years agoMerge pull request #8541 from nextcloud/translate-permission-error-page
Morris Jobke [Mon, 26 Feb 2018 16:50:21 +0000 (17:50 +0100)]
Merge pull request #8541 from nextcloud/translate-permission-error-page

Provide translated error message for permission error

6 years agoMerge pull request #6481 from nextcloud/occ-app-install-enable
Morris Jobke [Mon, 26 Feb 2018 16:49:37 +0000 (17:49 +0100)]
Merge pull request #6481 from nextcloud/occ-app-install-enable

add enable flag to occ app:install

6 years agoMerge pull request #8455 from nextcloud/proper_mount_type_external
Morris Jobke [Mon, 26 Feb 2018 16:19:54 +0000 (17:19 +0100)]
Merge pull request #8455 from nextcloud/proper_mount_type_external

Properly set the mount type for external storages

6 years agoMerge pull request #8355 from nextcloud/fix-comments-num-index
Morris Jobke [Mon, 26 Feb 2018 16:12:57 +0000 (17:12 +0100)]
Merge pull request #8355 from nextcloud/fix-comments-num-index

Fix comments (and systemtags) when involving users with numerical ids

6 years agoProvide translated error message for permission error 8541/head
Morris Jobke [Mon, 26 Feb 2018 14:32:17 +0000 (15:32 +0100)]
Provide translated error message for permission error

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoenable app by default after occ app:install 6481/head
sualko [Tue, 20 Feb 2018 09:54:41 +0000 (10:54 +0100)]
enable app by default after occ app:install

Signed-off-by: Klaus Herberth <klaus@jsxc.org>
6 years agoadd enable flag to occ app:install (fix #5834)
sualko [Wed, 13 Sep 2017 10:30:03 +0000 (12:30 +0200)]
add enable flag to occ app:install (fix #5834)

Signed-off-by: Klaus Herberth <klaus@jsxc.org>
6 years agoMerge pull request #8412 from agates/master
Morris Jobke [Mon, 26 Feb 2018 15:33:58 +0000 (16:33 +0100)]
Merge pull request #8412 from agates/master

Add mtime and storage_mtime to db:convert-filecache-bigint

6 years agoMerge pull request #8390 from dasisdormax/master
Morris Jobke [Mon, 26 Feb 2018 15:17:35 +0000 (16:17 +0100)]
Merge pull request #8390 from dasisdormax/master

Add indeterminate state to share permission checkbox

6 years agoMerge pull request #8203 from Cybso/split-move-copy
Morris Jobke [Mon, 26 Feb 2018 15:06:20 +0000 (16:06 +0100)]
Merge pull request #8203 from Cybso/split-move-copy

Split move and copy operations

6 years agoMerge pull request #8511 from nextcloud/ext-storage-error-warning-fix
Morris Jobke [Mon, 26 Feb 2018 14:36:46 +0000 (15:36 +0100)]
Merge pull request #8511 from nextcloud/ext-storage-error-warning-fix

Ext storage error warning fix

6 years agoadjust external storage config format to the one used in primary storage 8359/head
Robin Appelman [Mon, 26 Feb 2018 11:58:19 +0000 (12:58 +0100)]
adjust external storage config format to the one used in primary storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoKill objectstore CI if we can't create a file
Roeland Jago Douma [Thu, 22 Feb 2018 21:01:29 +0000 (22:01 +0100)]
Kill objectstore CI if we can't create a file

This is more of a hack. But one of the nodes won't properly run this. No
sense in waiting 60 minutes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoSome swift v3 example config
Roeland Jago Douma [Thu, 22 Feb 2018 15:00:40 +0000 (16:00 +0100)]
Some swift v3 example config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoUse username + pass in config
Roeland Jago Douma [Wed, 21 Feb 2018 15:27:11 +0000 (16:27 +0100)]
Use username + pass in config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoUser proper username + pass
Roeland Jago Douma [Wed, 21 Feb 2018 15:26:58 +0000 (16:26 +0100)]
User proper username + pass

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoOther config
Roeland Jago Douma [Wed, 21 Feb 2018 14:09:41 +0000 (15:09 +0100)]
Other config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoAdd v3.0 auth run
Roeland Jago Douma [Wed, 21 Feb 2018 13:48:10 +0000 (14:48 +0100)]
Add v3.0 auth run

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoadd support for v3 swift auth
Robin Appelman [Wed, 14 Feb 2018 14:08:52 +0000 (15:08 +0100)]
add support for v3 swift auth

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoMerge pull request #8539 from nextcloud/openstack-304
Robin Appelman [Mon, 26 Feb 2018 13:52:12 +0000 (14:52 +0100)]
Merge pull request #8539 from nextcloud/openstack-304

update php-opencloud/openstack to 3.0.4

6 years agoupdate php-opencloud/openstack to 3.0.4 8539/head
Robin Appelman [Mon, 26 Feb 2018 12:53:43 +0000 (13:53 +0100)]
update php-opencloud/openstack to 3.0.4

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoMerge pull request #8504 from nextcloud/bugfix/noid/well-its-not-an-array
Roeland Jago Douma [Mon, 26 Feb 2018 12:44:57 +0000 (13:44 +0100)]
Merge pull request #8504 from nextcloud/bugfix/noid/well-its-not-an-array

Dont use $info as array when its not an array

6 years agoMerge pull request #8026 from nextcloud/feature/noid/allow-custom-html-in-html-emails
Joas Schilling [Mon, 26 Feb 2018 12:38:39 +0000 (13:38 +0100)]
Merge pull request #8026 from nextcloud/feature/noid/allow-custom-html-in-html-emails

Allow custom HTML in HTML Emails

6 years agoMerge pull request #8491 from nextcloud/strict_request
Joas Schilling [Mon, 26 Feb 2018 10:02:30 +0000 (11:02 +0100)]
Merge pull request #8491 from nextcloud/strict_request

Make Request strict

6 years agoMerge pull request #8522 from nextcloud/fix-groupmembers-numids
Morris Jobke [Mon, 26 Feb 2018 08:01:38 +0000 (09:01 +0100)]
Merge pull request #8522 from nextcloud/fix-groupmembers-numids

Fix retrieval of group members with numerical uids from LDAP

6 years agoRemove null check 8463/head
Kyle Fazzari [Sun, 25 Feb 2018 15:08:59 +0000 (07:08 -0800)]
Remove null check

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
6 years agoAdd mock to setup
Kyle Fazzari [Sat, 24 Feb 2018 16:16:42 +0000 (08:16 -0800)]
Add mock to setup

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
6 years agoMerge pull request #8497 from nextcloud/relax_l10n
Roeland Jago Douma [Sat, 24 Feb 2018 15:26:36 +0000 (16:26 +0100)]
Merge pull request #8497 from nextcloud/relax_l10n

Relax what t accepts so we don't break it all

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 24 Feb 2018 01:12:16 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #8519 from nextcloud/fix-l10n-exception
Morris Jobke [Fri, 23 Feb 2018 12:08:26 +0000 (13:08 +0100)]
Merge pull request #8519 from nextcloud/fix-l10n-exception

Use array in t() calls in exception template

6 years agoUpdated error message 8511/head
John Molakvoæ (skjnldsv) [Fri, 23 Feb 2018 11:13:10 +0000 (12:13 +0100)]
Updated error message

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agofix retrieving group members with numerical uids from LDAP 8522/head
Arthur Schiwon [Fri, 23 Feb 2018 11:05:50 +0000 (12:05 +0100)]
fix retrieving group members with numerical uids from LDAP

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agotests for retrieving group members with numerical uids
Arthur Schiwon [Fri, 23 Feb 2018 11:04:48 +0000 (12:04 +0100)]
tests for retrieving group members with numerical uids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoUse array in t() calls in exception template 8519/head
Julius Härtl [Fri, 23 Feb 2018 10:18:29 +0000 (11:18 +0100)]
Use array in t() calls in exception template

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoMerge pull request #8507 from nextcloud/fix-change-icon
Morris Jobke [Fri, 23 Feb 2018 09:36:32 +0000 (10:36 +0100)]
Merge pull request #8507 from nextcloud/fix-change-icon

Add some whitespace around change.svg icon

6 years agoMerge pull request #8502 from nextcloud/properly-show-hints-in-ocs
Morris Jobke [Fri, 23 Feb 2018 09:02:31 +0000 (10:02 +0100)]
Merge pull request #8502 from nextcloud/properly-show-hints-in-ocs

Show hint in OCS API for user creation

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 23 Feb 2018 01:12:16 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #8499 from nextcloud/avoid-fruitless-login-attempts
Morris Jobke [Thu, 22 Feb 2018 18:19:40 +0000 (19:19 +0100)]
Merge pull request #8499 from nextcloud/avoid-fruitless-login-attempts

Avoid fruitless login attempts

6 years agoFixed default urls
John Molakvoæ (skjnldsv) [Thu, 22 Feb 2018 17:17:42 +0000 (18:17 +0100)]
Fixed default urls

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoShow error if no external storage configured
John Molakvoæ (skjnldsv) [Thu, 22 Feb 2018 17:14:19 +0000 (18:14 +0100)]
Show error if no external storage configured

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoUpdate the change.svg icon in the Settings app 8507/head
Marin Treselj [Thu, 22 Feb 2018 15:02:50 +0000 (16:02 +0100)]
Update the change.svg icon in the Settings app

Signed-off-by: Marin Treselj <marin@pixelipo.com>
6 years agoMerge pull request #8416 from nextcloud/bugfix/8401/usermanagement-popover
blizzz [Thu, 22 Feb 2018 14:57:43 +0000 (15:57 +0100)]
Merge pull request #8416 from nextcloud/bugfix/8401/usermanagement-popover

Fix hiding and event propagation issues with the user management popover

6 years agoFix comments 8491/head
Roeland Jago Douma [Thu, 22 Feb 2018 14:51:09 +0000 (15:51 +0100)]
Fix comments

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix dav server test
Roeland Jago Douma [Thu, 22 Feb 2018 10:29:13 +0000 (11:29 +0100)]
Fix dav server test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix proper types
Roeland Jago Douma [Thu, 22 Feb 2018 09:22:11 +0000 (10:22 +0100)]
Fix proper types

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMake Request strict
Roeland Jago Douma [Wed, 21 Feb 2018 21:35:31 +0000 (22:35 +0100)]
Make Request strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoAdd some whitespace around change.svg icon
Marin Treselj [Thu, 22 Feb 2018 14:46:21 +0000 (15:46 +0100)]
Add some whitespace around change.svg icon

Signed-off-by: Marin Treselj <marin@pixelipo.com>
6 years agoMerge pull request #8495 from nextcloud/fix-ldap-settings-l10nt
Morris Jobke [Thu, 22 Feb 2018 14:02:25 +0000 (15:02 +0100)]
Merge pull request #8495 from nextcloud/fix-ldap-settings-l10nt

2nd parameter to t() must be array

6 years agoDont use $info as array when its not an array 8504/head
Joas Schilling [Thu, 22 Feb 2018 13:43:56 +0000 (14:43 +0100)]
Dont use $info as array when its not an array

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoShow hint in OCS API for user creation 8502/head
Morris Jobke [Thu, 22 Feb 2018 13:16:49 +0000 (14:16 +0100)]
Show hint in OCS API for user creation

* adds a 107 error code together with the hint of the exception
* logs the exception as warning
* fixes #7946

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agodon't try login with the same name that just failed 8499/head
Arthur Schiwon [Thu, 22 Feb 2018 11:46:06 +0000 (12:46 +0100)]
don't try login with the same name that just failed

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agotrack the state of the bind result
Arthur Schiwon [Thu, 22 Feb 2018 11:45:28 +0000 (12:45 +0100)]
track the state of the bind result

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoRelax what t accepts so we don't break it all 8497/head
Roeland Jago Douma [Thu, 22 Feb 2018 11:37:29 +0000 (12:37 +0100)]
Relax what t accepts so we don't break it all

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago2nd parameter to t() must be array 8495/head
Arthur Schiwon [Thu, 22 Feb 2018 11:10:30 +0000 (12:10 +0100)]
2nd parameter to t() must be array

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoMerge pull request #8476 from nextcloud/strict_l10n
Roeland Jago Douma [Thu, 22 Feb 2018 09:03:18 +0000 (10:03 +0100)]
Merge pull request #8476 from nextcloud/strict_l10n

Make OCP\IL10N strict

6 years agoMerge pull request #8472 from nextcloud/strict_integritycheck
Roeland Jago Douma [Thu, 22 Feb 2018 09:01:50 +0000 (10:01 +0100)]
Merge pull request #8472 from nextcloud/strict_integritycheck

Make OC\IntegrityCheck strict

6 years agoMerge pull request #8490 from nextcloud/strict_systemtags
Roeland Jago Douma [Thu, 22 Feb 2018 09:01:20 +0000 (10:01 +0100)]
Merge pull request #8490 from nextcloud/strict_systemtags

Make SystemTag strict

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 22 Feb 2018 01:12:26 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #8473 from nextcloud/strict_cmr
Roeland Jago Douma [Wed, 21 Feb 2018 21:56:40 +0000 (22:56 +0100)]
Merge pull request #8473 from nextcloud/strict_cmr

Strict OCP\AppFramework\Utility\IControllerMethodReflector

6 years agoProperly cast 8490/head
Roeland Jago Douma [Wed, 21 Feb 2018 21:45:28 +0000 (22:45 +0100)]
Properly cast

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMake SystemTag strict
Roeland Jago Douma [Wed, 21 Feb 2018 20:56:00 +0000 (21:56 +0100)]
Make SystemTag strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoHandle strict typing in Checker and fix tests 8472/head
Roeland Jago Douma [Wed, 21 Feb 2018 20:09:08 +0000 (21:09 +0100)]
Handle strict typing in Checker and fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoDon't try to match on false 8473/head
Roeland Jago Douma [Wed, 21 Feb 2018 19:38:14 +0000 (20:38 +0100)]
Don't try to match on false

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix more templates 8476/head
Roeland Jago Douma [Wed, 21 Feb 2018 19:30:44 +0000 (20:30 +0100)]
Fix more templates

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoStrict OCP\AppFramework\Utility\IControllerMethodReflector
Roeland Jago Douma [Wed, 21 Feb 2018 13:06:51 +0000 (14:06 +0100)]
Strict OCP\AppFramework\Utility\IControllerMethodReflector

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix other tests
Roeland Jago Douma [Wed, 21 Feb 2018 18:53:44 +0000 (19:53 +0100)]
Fix other tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoProper closure for function
Roeland Jago Douma [Wed, 21 Feb 2018 18:46:29 +0000 (19:46 +0100)]
Proper closure for function

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #8474 from nextcloud/bugfix/ciu-12/log-exceptions-that-happen...
Morris Jobke [Wed, 21 Feb 2018 14:21:31 +0000 (15:21 +0100)]
Merge pull request #8474 from nextcloud/bugfix/ciu-12/log-exceptions-that-happen-when-writing-to-storage

Log exceptions that happen when writing the app store reply to storage

6 years agoMerge pull request #8456 from nextcloud/bugfix/noid/phpunit-can-now-handle-directorie...
Morris Jobke [Wed, 21 Feb 2018 14:14:49 +0000 (15:14 +0100)]
Merge pull request #8456 from nextcloud/bugfix/noid/phpunit-can-now-handle-directories-too

Use phpunit's directory feature

6 years agoMake OCP\IL10N strict
Roeland Jago Douma [Wed, 21 Feb 2018 13:32:04 +0000 (14:32 +0100)]
Make OCP\IL10N strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoLog exceptions that happen when writing the app store reply to storage 8474/head
Joas Schilling [Wed, 21 Feb 2018 13:14:33 +0000 (14:14 +0100)]
Log exceptions that happen when writing the app store reply to storage

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoMerge pull request #8466 from nextcloud/strict_middlewaredipatcher
Roeland Jago Douma [Wed, 21 Feb 2018 12:57:04 +0000 (13:57 +0100)]
Merge pull request #8466 from nextcloud/strict_middlewaredipatcher

Make the middlewareDispatcher strict

6 years agoMake sure that render always returns a string 8466/head
Roeland Jago Douma [Wed, 21 Feb 2018 12:28:40 +0000 (13:28 +0100)]
Make sure that render always returns a string

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #8471 from nextcloud/fix_upgrade
Roeland Jago Douma [Wed, 21 Feb 2018 12:28:10 +0000 (13:28 +0100)]
Merge pull request #8471 from nextcloud/fix_upgrade

getIncompatibleApps needs a string not an array

6 years agoMake OC\IntegrityCheck strict
Roeland Jago Douma [Wed, 21 Feb 2018 12:27:29 +0000 (13:27 +0100)]
Make OC\IntegrityCheck strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agogetIncompatibleApps needs a string not an array 8471/head
Roeland Jago Douma [Wed, 21 Feb 2018 12:00:41 +0000 (13:00 +0100)]
getIncompatibleApps needs a string not an array

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #8468 from nextcloud/fix-unicode-avatars
Roeland Jago Douma [Wed, 21 Feb 2018 10:08:33 +0000 (11:08 +0100)]
Merge pull request #8468 from nextcloud/fix-unicode-avatars

Use mb_* string methods to extract first character for generated avatars

6 years agoFix tests
Roeland Jago Douma [Wed, 21 Feb 2018 09:54:17 +0000 (10:54 +0100)]
Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMake the middlewareDispatcher strict
Roeland Jago Douma [Wed, 21 Feb 2018 07:54:39 +0000 (08:54 +0100)]
Make the middlewareDispatcher strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #8465 from nextcloud/strict_dispatcher
Morris Jobke [Wed, 21 Feb 2018 09:48:06 +0000 (10:48 +0100)]
Merge pull request #8465 from nextcloud/strict_dispatcher

Make AppFramework/Http/Dispatcher strict

6 years agoUse mb_* string methods to extract first character for generated avatars 8468/head
Morris Jobke [Wed, 21 Feb 2018 09:32:46 +0000 (10:32 +0100)]
Use mb_* string methods to extract first character for generated avatars

This fixes #8451 where the first character is a non-ASCII character. The `$string[0]` notation only extracted one byte and thus resulting in an invalid code. The `mb_strtoupper` method also allows to convert characters independently from the current locale on the server.

See also http://php.net/manual/en/function.mb-strtoupper.php

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMake AppFramework/Http/Dispatcher strict 8465/head
Roeland Jago Douma [Wed, 21 Feb 2018 07:51:46 +0000 (08:51 +0100)]
Make AppFramework/Http/Dispatcher strict

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>