]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
6 years agoMerge pull request #10236 from nextcloud/version/noid/13.0.5RC2 v13.0.5RC2
Morris Jobke [Mon, 16 Jul 2018 07:48:00 +0000 (09:48 +0200)]
Merge pull request #10236 from nextcloud/version/noid/13.0.5RC2

13.0.5 RC 2

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 16 Jul 2018 00:12:20 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 15 Jul 2018 00:12:15 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 14 Jul 2018 00:12:25 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago13.0.5 RC 2 10236/head
Morris Jobke [Fri, 13 Jul 2018 13:58:49 +0000 (15:58 +0200)]
13.0.5 RC 2

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMerge pull request #10233 from nextcloud/backport/10227/ldap-bind-loop
Morris Jobke [Fri, 13 Jul 2018 15:52:49 +0000 (17:52 +0200)]
Merge pull request #10233 from nextcloud/backport/10227/ldap-bind-loop

[stable13] Only bind to ldap if configuration for the first server is set

6 years agoFix tests for backup ldap server connection 10233/head
Julius Härtl [Fri, 13 Jul 2018 07:16:57 +0000 (09:16 +0200)]
Fix tests for backup ldap server connection

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoOnly bind if configuration for the first server is available
Julius Härtl [Fri, 13 Jul 2018 06:25:02 +0000 (08:25 +0200)]
Only bind if configuration for the first server is available

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 13 Jul 2018 00:12:14 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #10172 from nextcloud/version/noid/13.0.5RC1 v13.0.5RC1
Morris Jobke [Thu, 12 Jul 2018 11:25:41 +0000 (13:25 +0200)]
Merge pull request #10172 from nextcloud/version/noid/13.0.5RC1

13.0.5 RC 1

6 years ago13.0.5 RC 1 10172/head
Morris Jobke [Tue, 10 Jul 2018 06:56:54 +0000 (08:56 +0200)]
13.0.5 RC 1

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMerge pull request #10201 from nextcloud/smb-rename-invalidargument-retry-13
Roeland Jago Douma [Thu, 12 Jul 2018 07:49:43 +0000 (09:49 +0200)]
Merge pull request #10201 from nextcloud/smb-rename-invalidargument-retry-13

[13] also retry rename operation on InvalidArgumentException

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 12 Jul 2018 00:12:52 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoUse ILogger for consts 10201/head
Roeland Jago Douma [Wed, 11 Jul 2018 20:37:34 +0000 (22:37 +0200)]
Use ILogger for consts

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10202 from nextcloud/backport/10199/improve-url-detection-in...
Roeland Jago Douma [Wed, 11 Jul 2018 17:46:17 +0000 (19:46 +0200)]
Merge pull request #10202 from nextcloud/backport/10199/improve-url-detection-in-comments

[stable13] Improve url detection in comments

6 years agoImprove url detection in comments 10202/head
Joas Schilling [Wed, 11 Jul 2018 14:23:56 +0000 (16:23 +0200)]
Improve url detection in comments

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoalso retry rename operation on InvalidArgumentException
Robin Appelman [Wed, 27 Jun 2018 13:33:51 +0000 (15:33 +0200)]
also retry rename operation on InvalidArgumentException

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoMerge pull request #10195 from nextcloud/backport/10193/sanitize-parameter-13
Morris Jobke [Wed, 11 Jul 2018 14:31:01 +0000 (16:31 +0200)]
Merge pull request #10195 from nextcloud/backport/10193/sanitize-parameter-13

[stable13] Sanitize parameters in createSessionToken() while logging

6 years agoSanitize parameters in createSessionToken() while logging 10195/head
Morris Jobke [Wed, 11 Jul 2018 12:26:57 +0000 (14:26 +0200)]
Sanitize parameters in createSessionToken() while logging

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMerge pull request #10115 from nextcloud/backport/10098/ldap-image-attribute
Morris Jobke [Wed, 11 Jul 2018 09:45:26 +0000 (11:45 +0200)]
Merge pull request #10115 from nextcloud/backport/10098/ldap-image-attribute

[stable13] allow admin to disable fetching of avatars as well as a specific attribute

6 years agoMerge pull request #10189 from nextcloud/backport/10020/email-address-misparsed-in...
Morris Jobke [Wed, 11 Jul 2018 09:41:32 +0000 (11:41 +0200)]
Merge pull request #10189 from nextcloud/backport/10020/email-address-misparsed-in-comments-and-chat

[stable13] Fix "parsing" of email-addresses in comments and chat messages

6 years agoMerge pull request #10188 from nextcloud/backport/10078/invalid-actor-and-calendar...
Morris Jobke [Wed, 11 Jul 2018 09:41:11 +0000 (11:41 +0200)]
Merge pull request #10188 from nextcloud/backport/10078/invalid-actor-and-calendar-for-link-shares

[stable13] Correctly parse the subject parameters for link (un)shares of calendars

6 years agoMerge pull request #10185 from nextcloud/backport/10161/correctly-handle-users-with...
Morris Jobke [Wed, 11 Jul 2018 08:03:27 +0000 (10:03 +0200)]
Merge pull request #10185 from nextcloud/backport/10161/correctly-handle-users-with-numeric-user-ids-13

[stable13] Correctly handle users with numeric user ids

6 years agoMerge pull request #10186 from nextcloud/backport/10156/behat-3.3
Morris Jobke [Wed, 11 Jul 2018 08:03:01 +0000 (10:03 +0200)]
Merge pull request #10186 from nextcloud/backport/10156/behat-3.3

[stable13] Fix the behat version to 3.3.*

6 years agoMerge pull request #10170 from nextcloud/backport/9823/stable13
Morris Jobke [Wed, 11 Jul 2018 08:02:30 +0000 (10:02 +0200)]
Merge pull request #10170 from nextcloud/backport/9823/stable13

[stable13] Allow updating the token on session regeneration

6 years agoFix "parsing" of email-addresses in comments and chat messages 10189/head
Joas Schilling [Wed, 27 Jun 2018 10:54:06 +0000 (12:54 +0200)]
Fix "parsing" of email-addresses in comments and chat messages

\\b matches any non-word character, including \@ and \-
In order to not detect urls in the middle of email-addresses,
we need to check for white space characters and beginning of the
message instead.

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoCorrectly parse the subject parameters for link (un)shares of calendars 10188/head
Joas Schilling [Mon, 2 Jul 2018 11:57:48 +0000 (13:57 +0200)]
Correctly parse the subject parameters for link (un)shares of calendars

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoMerge pull request #10169 from nextcloud/backport/9955/stable13
John Molakvoæ [Wed, 11 Jul 2018 07:42:20 +0000 (09:42 +0200)]
Merge pull request #10169 from nextcloud/backport/9955/stable13

[stable13] Request a valid property for DAV opendir

6 years agoFix the behat version to 3.3.* 10186/head
Joas Schilling [Mon, 9 Jul 2018 09:10:25 +0000 (11:10 +0200)]
Fix the behat version to 3.3.*

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoCorrectly handle users with numeric user ids 10185/head
Joas Schilling [Mon, 9 Jul 2018 12:22:10 +0000 (14:22 +0200)]
Correctly handle users with numeric user ids

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoMerge pull request #10180 from nextcloud/lock-negative-13
Morris Jobke [Wed, 11 Jul 2018 07:02:19 +0000 (09:02 +0200)]
Merge pull request #10180 from nextcloud/lock-negative-13

[13] prevent lock values from going negative with memcache backend

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 11 Jul 2018 00:12:24 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoprevent lock values from going negative with memcache backend 10180/head
Robin Appelman [Thu, 5 Jul 2018 12:39:10 +0000 (14:39 +0200)]
prevent lock values from going negative with memcache backend

This can be caused by the code releasing more locks then it acquires,
once the lock value becomes negative it's likely that it will never be able
to change into an exclusive lock again.

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 10 Jul 2018 08:21:28 +0000 (08:21 +0000)]
[tx-robot] updated from transifex

6 years agoAllow updating the token on session regeneration 10170/head
Roeland Jago Douma [Mon, 11 Jun 2018 08:45:19 +0000 (10:45 +0200)]
Allow updating the token on session regeneration

Sometimes when we force a session regeneration we want to update the
current token for this session.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoRequest a valid property for DAV opendir 10169/head
Roeland Jago Douma [Thu, 21 Jun 2018 17:01:27 +0000 (19:01 +0200)]
Request a valid property for DAV opendir

Apperently Sabre and Onedrive are not friends when requesting a single
404 property. I need to dig deeper on why this is. Anyways requesting a
valid property makes it work like a charm.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10166 from nextcloud/backport/10039/codecov-disabling
Morris Jobke [Mon, 9 Jul 2018 13:51:06 +0000 (15:51 +0200)]
Merge pull request #10166 from nextcloud/backport/10039/codecov-disabling

[stable13] Disable codecov status and comment

6 years agoMerge pull request #10165 from nextcloud/backport/9914/settings-wording-13
Morris Jobke [Mon, 9 Jul 2018 13:50:25 +0000 (15:50 +0200)]
Merge pull request #10165 from nextcloud/backport/9914/settings-wording-13

[stable13] Fixed English grammatical error on Settings page.

6 years agoMerge pull request #10164 from nextcloud/backport/9893/update-message-13
Morris Jobke [Mon, 9 Jul 2018 13:38:44 +0000 (15:38 +0200)]
Merge pull request #10164 from nextcloud/backport/9893/update-message-13

[stable13] Update message shown when unsharing a file

6 years agoDisable codecov status and comment 10166/head
Morris Jobke [Thu, 28 Jun 2018 14:34:16 +0000 (16:34 +0200)]
Disable codecov status and comment

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoFixed English grammatical error on Settings page. 10165/head
Jaczel [Tue, 19 Jun 2018 10:30:49 +0000 (20:30 +1000)]
Fixed English grammatical error on Settings page.

6 years agoUpdate message shown when unsharing a file 10164/head
Kevin Ndung'u [Sun, 17 Jun 2018 21:09:32 +0000 (00:09 +0300)]
Update message shown when unsharing a file

Signed-off-by: Kevin Ndung'u <kevgathuku@gmail.com>
6 years agoMerge pull request #10121 from nextcloud/stable13-allow-disable-encryption
Morris Jobke [Mon, 9 Jul 2018 12:46:06 +0000 (14:46 +0200)]
Merge pull request #10121 from nextcloud/stable13-allow-disable-encryption

[stable13] allow to disable encryption

6 years agoallow to disable encryption 10121/head
Bjoern Schiessle [Thu, 5 Jul 2018 14:57:48 +0000 (16:57 +0200)]
allow to disable encryption

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years agoadjust and add more unit tests 10115/head
Arthur Schiwon [Thu, 5 Jul 2018 09:29:19 +0000 (11:29 +0200)]
adjust and add more unit tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoallow admin to disable fetching of avatars as well as a specific attribute
Arthur Schiwon [Tue, 3 Jul 2018 22:10:43 +0000 (00:10 +0200)]
allow admin to disable fetching of avatars as well as a specific attribute

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoMerge pull request #10089 from nextcloud/backport/10083/stable13
blizzz [Wed, 4 Jul 2018 22:54:04 +0000 (00:54 +0200)]
Merge pull request #10089 from nextcloud/backport/10083/stable13

[stable13] let user set avatar in nextcloud von LDAP provides invalid image data

6 years agoMerge pull request #10093 from nextcloud/smb-log-connection-errors-13
Morris Jobke [Tue, 3 Jul 2018 21:05:58 +0000 (23:05 +0200)]
Merge pull request #10093 from nextcloud/smb-log-connection-errors-13

[13] Improved logging of smb connection errors

6 years agoImproved logging of smb connection errors 10093/head
Robin Appelman [Tue, 3 Jul 2018 12:56:37 +0000 (14:56 +0200)]
Improved logging of smb connection errors

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agolet user set avatar in nextcloud von LDAP provides invalid image data 10089/head
Arthur Schiwon [Mon, 2 Jul 2018 22:38:25 +0000 (00:38 +0200)]
let user set avatar in nextcloud von LDAP provides invalid image data

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoMerge pull request #10076 from nextcloud/backport/10034/stable13
blizzz [Mon, 2 Jul 2018 11:10:33 +0000 (13:10 +0200)]
Merge pull request #10076 from nextcloud/backport/10034/stable13

[stable13] lower log level for quota manipulation cases

6 years agoconstants belong to Util in 13 10076/head
Arthur Schiwon [Mon, 2 Jul 2018 10:51:51 +0000 (12:51 +0200)]
constants belong to Util in 13

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agolower log level for quota manipulation cases
Arthur Schiwon [Wed, 27 Jun 2018 23:11:36 +0000 (01:11 +0200)]
lower log level for quota manipulation cases

and simplify the forest of ifs a little bit

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoMerge pull request #10044 from nextcloud/stable13-10040-fix-filenames-in-sharing...
Morris Jobke [Fri, 29 Jun 2018 07:03:20 +0000 (09:03 +0200)]
Merge pull request #10044 from nextcloud/stable13-10040-fix-filenames-in-sharing-integration-tests

[stable13] Fix filenames in sharing integration tests

6 years agoCheck all paths for own files and shares 10044/head
Daniel Calviño Sánchez [Thu, 28 Jun 2018 14:45:42 +0000 (16:45 +0200)]
Check all paths for own files and shares

Add "PARENT (2)" and its subdirectories to the paths to be checked, as
before only the own "PARENT" folder was being checked, but not the
shared one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoFix filenames in sharing integration tests
Daniel Calviño Sánchez [Thu, 28 Jun 2018 14:36:19 +0000 (16:36 +0200)]
Fix filenames in sharing integration tests

When a file is shared and the receiver of the share already has a file
with the same name that file is left untouched, and "(2)" is appended to
the name of the shared file.

As "textfile0.txt" is included in the user folder skeleton all the users
in the integration test have that file, so when it is shared the
receiver sees the share as "/textfile0 (2).txt", and her own file as
"/textfile0.txt".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Jun 2018 00:12:27 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #10032 from nextcloud/backport/10031/stable13
Morris Jobke [Thu, 28 Jun 2018 06:39:58 +0000 (08:39 +0200)]
Merge pull request #10032 from nextcloud/backport/10031/stable13

[stable13] LDAP backup server should not be queried when auth fails

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 Jun 2018 00:12:40 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoLDAP backup server should not be queried when auth fails 10032/head
Arthur Schiwon [Wed, 27 Jun 2018 21:09:44 +0000 (23:09 +0200)]
LDAP backup server should not be queried when auth fails

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Jun 2018 10:06:32 +0000 (10:06 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Jun 2018 00:12:10 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9986 from nextcloud/dav-upload-no-partfile-lock-13
Roeland Jago Douma [Tue, 26 Jun 2018 07:15:12 +0000 (09:15 +0200)]
Merge pull request #9986 from nextcloud/dav-upload-no-partfile-lock-13

[13] properly lock the target file on dav upload when not using part files

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 Jun 2018 00:12:27 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoproperly lock the target file on dav upload when not using part files 9986/head
Robin Appelman [Mon, 14 May 2018 14:22:30 +0000 (16:22 +0200)]
properly lock the target file on dav upload when not using part files

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 Jun 2018 00:12:07 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 24 Jun 2018 00:12:26 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 23 Jun 2018 00:13:03 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9958 from nextcloud/backport/7818/stable13
John Molakvoæ [Fri, 22 Jun 2018 05:37:11 +0000 (07:37 +0200)]
Merge pull request #9958 from nextcloud/backport/7818/stable13

[stable13] Log full exception in cron instead of only the message

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 Jun 2018 00:12:31 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoLog full exception in cron instead of only the message 9958/head
Morris Jobke [Fri, 12 Jan 2018 14:24:28 +0000 (15:24 +0100)]
Log full exception in cron instead of only the message

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 21 Jun 2018 00:13:07 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 20 Jun 2018 00:12:46 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9843 from nextcloud/backport/9724/stable13
John Molakvoæ [Tue, 19 Jun 2018 14:02:13 +0000 (16:02 +0200)]
Merge pull request #9843 from nextcloud/backport/9724/stable13

[stable13] Add parent index to share table

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 19 Jun 2018 00:13:16 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Jun 2018 00:12:54 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Jun 2018 00:13:08 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Jun 2018 00:13:34 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Jun 2018 00:13:10 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 14 Jun 2018 00:13:26 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9837 from nextcloud/stable13-9807-fix-highlighting-of-the-upload...
Roeland Jago Douma [Wed, 13 Jun 2018 06:30:50 +0000 (08:30 +0200)]
Merge pull request #9837 from nextcloud/stable13-9807-fix-highlighting-of-the-upload-drop-zone

[stable13] Fix highlighting of the upload drop zone

6 years agoMerge pull request #9839 from nextcloud/backport/8221/stable13
John Molakvoæ [Wed, 13 Jun 2018 04:55:41 +0000 (06:55 +0200)]
Merge pull request #9839 from nextcloud/backport/8221/stable13

[stable13] Apply ldapUserFilter on members of group

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 13 Jun 2018 00:13:22 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9844 from nextcloud/backport/9276/remove-unused-config-sample
blizzz [Tue, 12 Jun 2018 21:33:53 +0000 (23:33 +0200)]
Merge pull request #9844 from nextcloud/backport/9276/remove-unused-config-sample

[stable13] Remove unused config option

6 years agoRemove unused config option 9844/head
Morris Jobke [Mon, 23 Apr 2018 13:06:38 +0000 (15:06 +0200)]
Remove unused config option

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMerge pull request #9841 from nextcloud/backport/9814/stable13
Morris Jobke [Tue, 12 Jun 2018 20:17:25 +0000 (22:17 +0200)]
Merge pull request #9841 from nextcloud/backport/9814/stable13

[stable13] Make the DELETION of groups match greedy on the groupID

6 years agoAdd parent index to share table 9843/head
Roeland Jago Douma [Sun, 3 Jun 2018 11:32:49 +0000 (13:32 +0200)]
Add parent index to share table

Fixes #9327

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMake the DELETION of groups match greedy on the groupID 9841/head
Roeland Jago Douma [Sat, 9 Jun 2018 17:55:09 +0000 (19:55 +0200)]
Make the DELETION of groups match greedy on the groupID

fixes #6032

Now since the match is greedy it will also eat the /

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agodn2ocname: also apply group filter to readAttribute() 9839/head
Roland Tapken [Wed, 7 Mar 2018 11:18:46 +0000 (12:18 +0100)]
dn2ocname: also apply group filter to readAttribute()

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
6 years agoApply ldapUserFilter on members of group
Roland Tapken [Wed, 7 Feb 2018 11:02:58 +0000 (12:02 +0100)]
Apply ldapUserFilter on members of group

Refers to issue #8220

user_ldap configured with custom filters for active directory access
(group-member-association is "member"). Then it can happen that the
members of a group contain members that don't belong to the users
available in Nextcloud (the most trivial reason is that the user filter
contains "(!(UserAccountControl:1.2.840.113556.1.4.803:=2))" to exclude
disabled users from being imported).

This can be fixed by applying the ldapUserFilter when resolving the UID
for a DN fetched from the group's member list.

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
6 years agoDo not show an error message when draging and dropping text 9837/head
Daniel Calviño Sánchez [Fri, 8 Jun 2018 18:37:43 +0000 (20:37 +0200)]
Do not show an error message when draging and dropping text

When the browser reports a drag of items other than files (for example,
text) and then triggers a drop event with no files no error message
should be shown to the user, as in that case there would be no highlight
of the drop zone and no indication that the drop would be valid (except
for the mouse cursor); the error message should be shown only when
the drop event with no files follows a file drag.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoRemove no longer needed special handling for Firefox
Daniel Calviño Sánchez [Fri, 8 Jun 2018 17:07:19 +0000 (19:07 +0200)]
Remove no longer needed special handling for Firefox

The highlighting was removed in Firefox when the cursor was no longer
moving to handle the behaviour of reporting a file drag and then
providing no files in the drop event. That behaviour (which was only
present in Firefox 48 and 49) is already handled with the "dropnofiles"
callback, so that special handling is no longer needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoUse "dropnofiles" callback to disable the drop state in the UI
Daniel Calviño Sánchez [Fri, 8 Jun 2018 11:40:48 +0000 (13:40 +0200)]
Use "dropnofiles" callback to disable the drop state in the UI

When a file is dragged from the desktop to the file list the file list
is highlighted, and when the file is finally dropped or the drag
operation is cancelled the highlighting is removed. In some cases, due
to a wrong implementation, a browser may end a file drag with a drop
with no files (for example, when a folder or text is dragged), which
would cause the highlight to not be removed. Now those cases are handled
with the "dropnofiles" callback, which restores the UI and also shows a
message to the user.

The error message is just a generic one, as in some cases it is not even
possible to know whether the problem came from a text drag or a folder
drag, and whether the problem appears or not depends on the browser,
version and even operating system.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd callback to clean up after misbehaved drag and drop events
Daniel Calviño Sánchez [Fri, 8 Jun 2018 11:16:28 +0000 (13:16 +0200)]
Add callback to clean up after misbehaved drag and drop events

The jQuery Plugin triggers the "dragover" callback when the browser
triggers the "dragover" event and the types in their DataTransfer
include a "Files" item. It also triggers the "drop" callback when the
browser triggers the "drop" event and the list of files in its
DataTransfer is not empty.

Unfortunately some browsers may trigger "dragover" events with a
DataTransfer that includes a "Files" item and then trigger a "drop"
event with an empty list of files. When that happens the actions
performed in the "dragXXX" callbacks could be left hanging if they were
expected to be finished in the "drop" callback (for example, if the drop
zone was highlighted during the drag to be then restored when the file
was finally dropped). This commit adds the "dropnofiles" callback to be
able to handle those situations.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoRemove duplicated code
Daniel Calviño Sánchez [Fri, 8 Jun 2018 09:10:46 +0000 (11:10 +0200)]
Remove duplicated code

"disableDropState" was set as the event handler in 8d4e5747f386a0, but
the duplicated code was accidentally added back in 786e858d23c4a4.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 12 Jun 2018 00:13:07 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #9821 from nextcloud/version/noid/13.0.4 v13.0.4
Morris Jobke [Mon, 11 Jun 2018 08:21:04 +0000 (10:21 +0200)]
Merge pull request #9821 from nextcloud/version/noid/13.0.4

13.0.4

6 years ago13.0.4 9821/head
Morris Jobke [Mon, 11 Jun 2018 07:45:11 +0000 (09:45 +0200)]
13.0.4

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years agoMerge pull request #9820 from nextcloud/backport/9798/stable13
Roeland Jago Douma [Mon, 11 Jun 2018 07:49:50 +0000 (09:49 +0200)]
Merge pull request #9820 from nextcloud/backport/9798/stable13

[stable13] enable caldav for webdav subtree public-calendars

6 years agoMerge pull request #9803 from nextcloud/backport/9802/stable13
John Molakvoæ [Mon, 11 Jun 2018 07:16:57 +0000 (09:16 +0200)]
Merge pull request #9803 from nextcloud/backport/9802/stable13

[stable13] Make the token expiration also work for autocasting 0