]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years agoMerge pull request #18113 from nextcloud/bugfix/15967/webcal_cache_headers
Roeland Jago Douma [Fri, 29 Nov 2019 08:06:28 +0000 (09:06 +0100)]
Merge pull request #18113 from nextcloud/bugfix/15967/webcal_cache_headers

Add refresh-interval to exported calendars

4 years agoMerge pull request #18142 from nextcloud/fix/provisioning_api/users-typing
Roeland Jago Douma [Fri, 29 Nov 2019 08:04:49 +0000 (09:04 +0100)]
Merge pull request #18142 from nextcloud/fix/provisioning_api/users-typing

Fix provisioning_api getUsers types

4 years agoMerge pull request #18062 from nextcloud/drop/php71
Roeland Jago Douma [Fri, 29 Nov 2019 07:55:22 +0000 (08:55 +0100)]
Merge pull request #18062 from nextcloud/drop/php71

Drop php 7.1 support

4 years agoMerge pull request #18133 from nextcloud/bugfix/13896/missing_from_information
Roeland Jago Douma [Fri, 29 Nov 2019 07:48:16 +0000 (08:48 +0100)]
Merge pull request #18133 from nextcloud/bugfix/13896/missing_from_information

Set common-name to user's displayname if none is set

4 years agoMerge pull request #18135 from nextcloud/fix/trim-login-name
Roeland Jago Douma [Fri, 29 Nov 2019 07:47:46 +0000 (08:47 +0100)]
Merge pull request #18135 from nextcloud/fix/trim-login-name

Trim the login name

4 years agoSet common-name to user's displayname if none is set 18133/head
Georg Ehrke [Wed, 27 Nov 2019 10:54:42 +0000 (11:54 +0100)]
Set common-name to user's displayname if none is set

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Nov 2019 02:16:53 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoTrim the login name 18135/head
Christoph Wurst [Wed, 27 Nov 2019 13:54:45 +0000 (14:54 +0100)]
Trim the login name

Otherwise we keep on using it with leading or trailing whitespaces for
app tokens and other logic. The reason this doesn't throw an error
immediately with local users is that (My)SQL compares strings regardless
of their padding by default. So we look up 'uid ' and get the row for
the user 'uid'.
Other back-ends will lead to a hard error, though, and the user is
unable to log out as all request fail.

Ref https://stackoverflow.com/a/10495807/2239067

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #18134 from nextcloud/enh/noid/flow-extend-scope
Roeland Jago Douma [Thu, 28 Nov 2019 19:49:42 +0000 (20:49 +0100)]
Merge pull request #18134 from nextcloud/enh/noid/flow-extend-scope

allow user flows when the acting user is legitimate, but not its owner

4 years agoFix provisioning_api getUsers types 18142/head
John Molakvoæ (skjnldsv) [Thu, 28 Nov 2019 08:33:26 +0000 (09:33 +0100)]
Fix provisioning_api getUsers types

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoMerge pull request #18154 from nextcloud/tests/fix-tags-acceptance
Roeland Jago Douma [Thu, 28 Nov 2019 19:27:26 +0000 (20:27 +0100)]
Merge pull request #18154 from nextcloud/tests/fix-tags-acceptance

Adjust tags acceptance tests to moved admin section

4 years agoMerge pull request #18150 from nextcloud/docs/noid/files-api-exceptions
Roeland Jago Douma [Thu, 28 Nov 2019 19:26:15 +0000 (20:26 +0100)]
Merge pull request #18150 from nextcloud/docs/noid/files-api-exceptions

Properly annotate LockedException in files node api

4 years agoMerge pull request #18153 from nextcloud/bugfix/revert-mimetypelist
Roeland Jago Douma [Thu, 28 Nov 2019 19:25:51 +0000 (20:25 +0100)]
Merge pull request #18153 from nextcloud/bugfix/revert-mimetypelist

Revert removed mimetypelist

4 years agoAdjust tags acceptance tests to moved admin section 18154/head
Julius Härtl [Thu, 28 Nov 2019 17:26:15 +0000 (18:26 +0100)]
Adjust tags acceptance tests to moved admin section

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoRevert removed mimetypelist 18153/head
Julius Härtl [Thu, 28 Nov 2019 16:57:20 +0000 (17:57 +0100)]
Revert removed mimetypelist

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #18152 from nextcloud/bugfix/noid/direct-editing-postgres
blizzz [Thu, 28 Nov 2019 16:23:11 +0000 (17:23 +0100)]
Merge pull request #18152 from nextcloud/bugfix/noid/direct-editing-postgres

Fix direct editing access check on Postgres

4 years agoCheck for boolean value 18152/head
Julius Härtl [Thu, 28 Nov 2019 14:50:23 +0000 (15:50 +0100)]
Check for boolean value

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoadjust unit test 18134/head
Arthur Schiwon [Thu, 28 Nov 2019 13:25:50 +0000 (14:25 +0100)]
adjust unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoProperly anotate LockedException in files node api 18150/head
Julius Härtl [Thu, 28 Nov 2019 13:17:15 +0000 (14:17 +0100)]
Properly anotate LockedException in files node api

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoSet fileInfo in the rule matcher
Julius Härtl [Thu, 28 Nov 2019 12:14:32 +0000 (13:14 +0100)]
Set fileInfo in the rule matcher

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoadd convenience interfaces so entities can provide presentable details
Arthur Schiwon [Wed, 27 Nov 2019 16:22:26 +0000 (17:22 +0100)]
add convenience interfaces so entities can provide presentable details

the File entity starts with a display text (used by talk)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoexpose user of running flows
Arthur Schiwon [Wed, 27 Nov 2019 15:03:31 +0000 (16:03 +0100)]
expose user of running flows

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoallow user flows when the acting user is legitimate, but not its owner
Arthur Schiwon [Wed, 27 Nov 2019 12:59:34 +0000 (13:59 +0100)]
allow user flows when the acting user is legitimate, but not its owner

for instance, when a sharee changes a file, the owner can act upon

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoMerge pull request #18147 from nextcloud/fix/integration/7.3/redis
Roeland Jago Douma [Thu, 28 Nov 2019 12:16:37 +0000 (13:16 +0100)]
Merge pull request #18147 from nextcloud/fix/integration/7.3/redis

Bump integration to php7.3 with redis

4 years agoBump integration to php7.3 with redis 18147/head
Roeland Jago Douma [Thu, 28 Nov 2019 11:34:24 +0000 (12:34 +0100)]
Bump integration to php7.3 with redis

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #18143 from nextcloud/tests/direct-editing-phpunit8
Roeland Jago Douma [Thu, 28 Nov 2019 11:33:02 +0000 (12:33 +0100)]
Merge pull request #18143 from nextcloud/tests/direct-editing-phpunit8

Adjust DirectEditing test to PHPUnit8

4 years agoAdjust DirectEditing test to PHPUnit8 18143/head
Julius Härtl [Thu, 28 Nov 2019 09:59:22 +0000 (10:59 +0100)]
Adjust DirectEditing test to PHPUnit8

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoFix integration 18062/head
Roeland Jago Douma [Thu, 28 Nov 2019 09:22:05 +0000 (10:22 +0100)]
Fix integration

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoDrop php 7.1 support
Roeland Jago Douma [Thu, 21 Nov 2019 14:55:19 +0000 (15:55 +0100)]
Drop php 7.1 support

18 will be relased when php7.1 is EOL already. So lets kill it!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #17625 from nextcloud/enh/noid/direct-editing
Roeland Jago Douma [Thu, 28 Nov 2019 07:49:57 +0000 (08:49 +0100)]
Merge pull request #17625 from nextcloud/enh/noid/direct-editing

Direct editing API to allow file editing using a one-time token

4 years agoMerge pull request #17725 from nextcloud/enh/share_exp_internal
Roeland Jago Douma [Thu, 28 Nov 2019 07:37:19 +0000 (08:37 +0100)]
Merge pull request #17725 from nextcloud/enh/share_exp_internal

Allow internal shares to have a default expiration date

4 years agoMerge pull request #18064 from nextcloud/feature/php74
Roeland Jago Douma [Thu, 28 Nov 2019 07:36:10 +0000 (08:36 +0100)]
Merge pull request #18064 from nextcloud/feature/php74

Add php7.4 support

4 years agoMerge pull request #18141 from nextcloud/design/noid/personal-info-icon
Roeland Jago Douma [Thu, 28 Nov 2019 07:35:33 +0000 (08:35 +0100)]
Merge pull request #18141 from nextcloud/design/noid/personal-info-icon

Use person icon for personal settings

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 Nov 2019 02:16:54 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoUse person icon for personal settings 18141/head
Julius Härtl [Mon, 25 Nov 2019 12:46:45 +0000 (13:46 +0100)]
Use person icon for personal settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoOnly expose link to info endpoint in capabilties 17625/head
Julius Härtl [Wed, 27 Nov 2019 13:36:07 +0000 (14:36 +0100)]
Only expose link to info endpoint in capabilties

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoExpose editor id for creators
Julius Härtl [Tue, 26 Nov 2019 12:56:38 +0000 (13:56 +0100)]
Expose editor id for creators

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoAdd mimetype to creators
Julius Härtl [Tue, 26 Nov 2019 12:07:15 +0000 (13:07 +0100)]
Add mimetype to creators

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoCode style fixes and cleanup
Julius Härtl [Mon, 25 Nov 2019 13:09:38 +0000 (14:09 +0100)]
Code style fixes and cleanup

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoFix external storagestests 18064/head
Roeland Jago Douma [Wed, 27 Nov 2019 12:47:39 +0000 (13:47 +0100)]
Fix external storagestests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoBump memcached image
Roeland Jago Douma [Wed, 27 Nov 2019 12:32:13 +0000 (13:32 +0100)]
Bump memcached image

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoREVERT LATER: disable phan for now
Roeland Jago Douma [Wed, 27 Nov 2019 12:25:21 +0000 (13:25 +0100)]
REVERT LATER: disable phan for now

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoremove test case
Roeland Jago Douma [Wed, 27 Nov 2019 12:19:32 +0000 (13:19 +0100)]
remove test case

Because we test very naively we matched also on def in default...

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTO REVERT LATER: disable decimaltest from LegacyDBTest
Roeland Jago Douma [Mon, 25 Nov 2019 20:15:18 +0000 (21:15 +0100)]
TO REVERT LATER: disable decimaltest from LegacyDBTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTO REVERT LATER: disable some DbHandlerTest
Roeland Jago Douma [Mon, 25 Nov 2019 20:12:06 +0000 (21:12 +0100)]
TO REVERT LATER: disable some DbHandlerTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTO REVERT LATER: disable some tests in UserTest
Roeland Jago Douma [Mon, 25 Nov 2019 20:09:05 +0000 (21:09 +0100)]
TO REVERT LATER: disable some tests in UserTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTO REVERT LATER: disable tests in LargeFileHelperGetFileSizeTest
Roeland Jago Douma [Mon, 25 Nov 2019 20:06:52 +0000 (21:06 +0100)]
TO REVERT LATER: disable tests in LargeFileHelperGetFileSizeTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTO REVERT LATER: fix UserHooksTest
Roeland Jago Douma [Mon, 25 Nov 2019 20:05:03 +0000 (21:05 +0100)]
TO REVERT LATER: fix UserHooksTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMode to modern phpunit
Roeland Jago Douma [Wed, 27 Nov 2019 14:27:18 +0000 (15:27 +0100)]
Mode to modern phpunit

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAdd refresh-interval to exported calendars 18113/head
Georg Ehrke [Tue, 26 Nov 2019 09:56:42 +0000 (10:56 +0100)]
Add refresh-interval to exported calendars

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years agoFix tests 17725/head
Roeland Jago Douma [Wed, 27 Nov 2019 13:51:14 +0000 (14:51 +0100)]
Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoCompile assets
npmbuildbot[bot] [Wed, 13 Nov 2019 14:47:28 +0000 (14:47 +0000)]
Compile assets

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agoMove editor list to capabilities
Julius Härtl [Mon, 25 Nov 2019 12:56:22 +0000 (13:56 +0100)]
Move editor list to capabilities

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoDirect editing token tests
Julius Härtl [Thu, 14 Nov 2019 15:19:58 +0000 (16:19 +0100)]
Direct editing token tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAdd background job for token cleanup
Julius Härtl [Wed, 6 Nov 2019 09:41:08 +0000 (10:41 +0100)]
Add background job for token cleanup

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoencapsulate templates
tobiasKaminsky [Thu, 31 Oct 2019 08:18:05 +0000 (09:18 +0100)]
encapsulate templates

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
5 years agoDirect editing API to allow file editing using a one-time token for
Julius Härtl [Mon, 14 Oct 2019 14:55:39 +0000 (16:55 +0200)]
Direct editing API to allow file editing using a one-time token for
mobile apps

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAdd capabilities
Roeland Jago Douma [Wed, 13 Nov 2019 14:22:27 +0000 (15:22 +0100)]
Add capabilities

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAdd settings front and split sharing entry config
John Molakvoæ (skjnldsv) [Wed, 13 Nov 2019 14:43:11 +0000 (15:43 +0100)]
Add settings front and split sharing entry config

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoExpose internal expiration dates to JS
Roeland Jago Douma [Wed, 13 Nov 2019 09:08:20 +0000 (10:08 +0100)]
Expose internal expiration dates to JS

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoActualy return data
Roeland Jago Douma [Tue, 29 Oct 2019 20:10:50 +0000 (21:10 +0100)]
Actualy return data

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMy first stupid attempt at expanding the admin interface
Roeland Jago Douma [Tue, 29 Oct 2019 19:11:14 +0000 (20:11 +0100)]
My first stupid attempt at expanding the admin interface

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAllow internal shares to have a default expiration date
Roeland Jago Douma [Mon, 28 Oct 2019 18:22:05 +0000 (19:22 +0100)]
Allow internal shares to have a default expiration date

* Needs admin UI
* Needs more checks
* Basics seem to work

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoImprove etag handling
Roeland Jago Douma [Sat, 23 Nov 2019 13:14:41 +0000 (14:14 +0100)]
Improve etag handling

Check if values exist before using them

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix lockprivider test
Roeland Jago Douma [Sat, 23 Nov 2019 12:13:54 +0000 (13:13 +0100)]
Fix lockprivider test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix more tests
Roeland Jago Douma [Fri, 22 Nov 2019 12:23:56 +0000 (13:23 +0100)]
Fix more tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix logger test
Roeland Jago Douma [Fri, 22 Nov 2019 11:37:32 +0000 (12:37 +0100)]
Fix logger test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix SynserviceTest
Roeland Jago Douma [Fri, 22 Nov 2019 11:32:35 +0000 (12:32 +0100)]
Fix SynserviceTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix fileplugintest
Roeland Jago Douma [Fri, 22 Nov 2019 09:20:07 +0000 (10:20 +0100)]
Fix fileplugintest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix signCoretests
Roeland Jago Douma [Fri, 22 Nov 2019 09:06:07 +0000 (10:06 +0100)]
Fix signCoretests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoSignApp fixes
Roeland Jago Douma [Fri, 22 Nov 2019 09:04:28 +0000 (10:04 +0100)]
SignApp fixes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMore fixes
Roeland Jago Douma [Fri, 22 Nov 2019 08:52:58 +0000 (09:52 +0100)]
More fixes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMore fixes
Roeland Jago Douma [Fri, 22 Nov 2019 07:37:58 +0000 (08:37 +0100)]
More fixes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix more tests
Roeland Jago Douma [Fri, 22 Nov 2019 07:22:10 +0000 (08:22 +0100)]
Fix more tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoSensitive values handling
Roeland Jago Douma [Thu, 21 Nov 2019 21:25:08 +0000 (22:25 +0100)]
Sensitive values handling

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoSkip redis if not configured
Roeland Jago Douma [Fri, 22 Nov 2019 07:50:47 +0000 (08:50 +0100)]
Skip redis if not configured

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoUpdate drone
Roeland Jago Douma [Thu, 21 Nov 2019 21:28:17 +0000 (22:28 +0100)]
Update drone

* Run 7.4 tests (nodb + sqlite)
* Update older images to newer phpunit

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMake phpunit8 compatible
Roeland Jago Douma [Thu, 21 Nov 2019 15:40:38 +0000 (16:40 +0100)]
Make phpunit8 compatible

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAllow php7.4
Christoph Wurst [Thu, 21 Nov 2019 08:16:42 +0000 (09:16 +0100)]
Allow php7.4

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years agoMerge pull request #18019 from nextcloud/enhancement/password-policy-events
Roeland Jago Douma [Wed, 27 Nov 2019 10:11:17 +0000 (11:11 +0100)]
Merge pull request #18019 from nextcloud/enhancement/password-policy-events

Add typed events for password_policy

5 years agoMerge pull request #17834 from nextcloud/enh/noid/generic-event-replacement-tk2
blizzz [Wed, 27 Nov 2019 09:50:07 +0000 (10:50 +0100)]
Merge pull request #17834 from nextcloud/enh/noid/generic-event-replacement-tk2

Public API's GenericEvent replacement (take 2)

5 years agoAdd typed events for password_policy 18019/head
Christoph Wurst [Tue, 19 Nov 2019 18:18:00 +0000 (19:18 +0100)]
Add typed events for password_policy

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years agoMerge pull request #17997 from nextcloud/enh/workflow-frontend
Roeland Jago Douma [Wed, 27 Nov 2019 07:36:25 +0000 (08:36 +0100)]
Merge pull request #17997 from nextcloud/enh/workflow-frontend

More workflow frontend polishing

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Nov 2019 02:16:25 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

5 years agoBump bundles 17997/head
Julius Härtl [Tue, 26 Nov 2019 14:24:24 +0000 (15:24 +0100)]
Bump bundles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoFix wording
Julius Härtl [Tue, 26 Nov 2019 14:24:04 +0000 (15:24 +0100)]
Fix wording

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoRename to flow
Julius Härtl [Tue, 19 Nov 2019 08:59:35 +0000 (09:59 +0100)]
Rename to flow

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAdd cancel button to restore previously saved rule
Julius Härtl [Tue, 19 Nov 2019 08:53:56 +0000 (09:53 +0100)]
Add cancel button to restore previously saved rule

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAdd hint about developer docs
Julius Härtl [Tue, 19 Nov 2019 08:31:46 +0000 (09:31 +0100)]
Add hint about developer docs

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoMove systemtags to general settings
Julius Härtl [Tue, 19 Nov 2019 07:52:02 +0000 (08:52 +0100)]
Move systemtags to general settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoSmall fixes for workflow frontend
Julius Härtl [Thu, 14 Nov 2019 21:50:33 +0000 (22:50 +0100)]
Small fixes for workflow frontend

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoMerge pull request #18058 from nextcloud/enh/shareinfo/permissionmask
Roeland Jago Douma [Tue, 26 Nov 2019 18:49:01 +0000 (19:49 +0100)]
Merge pull request #18058 from nextcloud/enh/shareinfo/permissionmask

Apply share permission mask to all files obtained via shareinfo

5 years agoMerge pull request #17939 from nextcloud/fix/token-insert-conflict-handling
Roeland Jago Douma [Tue, 26 Nov 2019 18:47:59 +0000 (19:47 +0100)]
Merge pull request #17939 from nextcloud/fix/token-insert-conflict-handling

Handle token insert conflicts

5 years agoMerge pull request #18123 from nextcloud/fixbug/18053/summary_not_aligned
Roeland Jago Douma [Tue, 26 Nov 2019 18:39:57 +0000 (19:39 +0100)]
Merge pull request #18123 from nextcloud/fixbug/18053/summary_not_aligned

fix summary elements alignment

5 years agofix summary elements alignment 18123/head
Greta Doci [Tue, 26 Nov 2019 17:52:56 +0000 (18:52 +0100)]
fix summary elements alignment

Signed-off-by: Greta Doci <gretadoci@gmail.com>
5 years agoMerge pull request #17995 from nextcloud/fix/sharing/federation-order
Roeland Jago Douma [Tue, 26 Nov 2019 14:24:36 +0000 (15:24 +0100)]
Merge pull request #17995 from nextcloud/fix/sharing/federation-order

Sort users and groups first in sharing input

5 years agoFiles first to use own GenericEvent 17834/head
Arthur Schiwon [Wed, 6 Nov 2019 11:06:44 +0000 (12:06 +0100)]
Files first to use own GenericEvent

* those are added to 18 only anyway :)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agoMerge pull request #17948 from nextcloud/enh/check-if-property-is-bool
Roeland Jago Douma [Tue, 26 Nov 2019 11:25:36 +0000 (12:25 +0100)]
Merge pull request #17948 from nextcloud/enh/check-if-property-is-bool

Make isXXX available for bool properties only

5 years agoSort users and groups first in sharing input 17995/head
John Molakvoæ (skjnldsv) [Tue, 19 Nov 2019 07:40:12 +0000 (08:40 +0100)]
Sort users and groups first in sharing input

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agoHandle token insert conflicts 17939/head
Christoph Wurst [Thu, 14 Nov 2019 11:14:26 +0000 (12:14 +0100)]
Handle token insert conflicts

Env-based SAML uses the "Apache auth" mechanism to log users in. In this
code path, we first delete all existin auth tokens from the database,
before a new one is inserted. This is problematic for concurrent
requests as they might reach the same code at the same time, hence both
trying to insert a new row wit the same token (the session ID). This
also bubbles up and disables user_saml.

As the token might still be OK (both request will insert the same data),
we can actually just check if the UIDs of the conflict row is the same
as the one we want to insert right now. In that case let's just use the
existing entry and carry on.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>