Commit Graph

17784 Commits

Author SHA1 Message Date
Morris Jobke eea151fcec
Merge pull request #10565 from nextcloud/stable13-10348-fix-transfering-ownership-of-a-share-to-user-with-same-id-as-receiver
[stable13] Fix transfering ownership of a share to user with same id as receiver
2018-08-20 14:52:15 +02:00
Daniel Kesselberg ee52136772
Fix call to OC.generateUrl for caldav birthday calendar on/off
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-08-20 14:20:52 +02:00
Nextcloud bot f2f723c7c8
[tx-robot] updated from transifex 2018-08-20 00:12:36 +00:00
Nextcloud bot ff8626f46e
[tx-robot] updated from transifex 2018-08-18 00:12:45 +00:00
Nextcloud bot 47ea2c17fd
[tx-robot] updated from transifex 2018-08-16 00:12:35 +00:00
Robin Appelman b2685eb4ee
log entries that are hidden during file listing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-16 01:16:53 +02:00
Nextcloud bot 294baf8e5d
[tx-robot] updated from transifex 2018-08-15 00:13:48 +00:00
Nextcloud bot 015c66b94f
[tx-robot] updated from transifex 2018-08-14 00:12:15 +00:00
Nextcloud bot 5327e3b4ce
[tx-robot] updated from transifex 2018-08-13 00:12:18 +00:00
Nextcloud bot 7ed7c8e37a
[tx-robot] updated from transifex 2018-08-11 00:12:39 +00:00
Roeland Jago Douma abef061686
Merge pull request #10581 from nextcloud/encryption-s3-fix-stable13
make file cache updates more robust
2018-08-10 08:10:03 +02:00
Nextcloud bot 93df97f1bf
[tx-robot] updated from transifex 2018-08-10 00:12:36 +00:00
Robin Appelman 0450406c50
retry stat on timeout
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-08 16:15:31 +02:00
Bjoern Schiessle be172cc6f2
make file cache updates more robust
only update the encrypted version after the write operation is finished and the stream is closed

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-08 10:46:14 +02:00
Nextcloud bot a5985ad0f4
[tx-robot] updated from transifex 2018-08-08 00:13:28 +00:00
Daniel Calviño Sánchez 5da4e4dc53 Fix transfering ownership of a share to user with same id as receiver
When the ownership of a user share is transfered to the receiver the
share is removed, as the receiver now owns the original file. However,
due to a missing condition, any share with a group, link or remote with
the same id as the user was removed, not only the user shares.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-07 09:09:01 +02:00
Nextcloud bot f6c8668a7e
[tx-robot] updated from transifex 2018-08-07 00:12:15 +00:00
Thomas Müller 32701e261b
Adding test for table schedulingobjects and fixing postgres LOB
(cherry picked from commit afd4ebf0404e8bcd7cba0bec2dce177e97632f8a)

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-08-06 17:20:49 +02:00
Nextcloud bot 8e0e5a6b28
[tx-robot] updated from transifex 2018-08-06 00:12:30 +00:00
Nextcloud bot 66d74f6e56
[tx-robot] updated from transifex 2018-08-05 00:12:38 +00:00
Nextcloud bot 69af30b883
[tx-robot] updated from transifex 2018-08-04 00:12:47 +00:00
Nextcloud bot b02d1c8358
[tx-robot] updated from transifex 2018-08-03 00:12:32 +00:00
Nextcloud bot ddd6c72b1f
[tx-robot] updated from transifex 2018-08-02 00:12:46 +00:00
Nextcloud bot 6e449f13cd
[tx-robot] updated from transifex 2018-08-01 00:12:09 +00:00
Nextcloud bot ab6741427b
[tx-robot] updated from transifex 2018-07-31 00:12:21 +00:00
Nextcloud bot f4b4fcf8e4
[tx-robot] updated from transifex 2018-07-30 00:12:17 +00:00
Nextcloud bot 9ba794c067
[tx-robot] updated from transifex 2018-07-28 00:12:17 +00:00
Nextcloud bot 628a0434a5
[tx-robot] updated from transifex 2018-07-27 00:12:29 +00:00
Nextcloud bot 0802675f47
[tx-robot] updated from transifex 2018-07-26 00:12:13 +00:00
Nextcloud bot ca139a4a81
[tx-robot] updated from transifex 2018-07-25 00:12:44 +00:00
Nextcloud bot ad16affc9e
[tx-robot] updated from transifex 2018-07-24 00:12:13 +00:00
Joas Schilling 9e7197cbcc
Do not parse HTML in user id and display name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-23 10:51:25 +02:00
Nextcloud bot ab7b4d2597
[tx-robot] updated from transifex 2018-07-23 00:12:14 +00:00
Nextcloud bot ebe599df4d
[tx-robot] updated from transifex 2018-07-22 00:12:51 +00:00
Nextcloud bot 98ffebe21e
[tx-robot] updated from transifex 2018-07-20 00:12:18 +00:00
Nextcloud bot bfd533b2f1
[tx-robot] updated from transifex 2018-07-19 00:12:14 +00:00
Robin Appelman 1a1b7b1d33
adjust to older library version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 16:01:56 +02:00
Robin Appelman 94a367910e
Fix lazy search backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 16:01:02 +02:00
Robin Appelman 821d658ec3
Fix search related results in OPTIONS requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 15:32:58 +02:00
Robin Appelman 01eb420a1e
Add tests for handling anonymous auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 15:20:22 +02:00
Robin Appelman 01413281db
Add sabre plugin to allow anonymous options requests to the dav root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 15:20:15 +02:00
Nextcloud bot 86279015e8
[tx-robot] updated from transifex 2018-07-18 00:12:15 +00:00
Nextcloud bot 9a92629a94
[tx-robot] updated from transifex 2018-07-17 00:12:18 +00:00
Nextcloud bot 96463faaf1
[tx-robot] updated from transifex 2018-07-16 00:12:20 +00:00
Nextcloud bot 807662f0f1
[tx-robot] updated from transifex 2018-07-14 00:12:25 +00:00
Julius Härtl 9f9f1d8cb0
Fix tests for backup ldap server connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-13 15:42:34 +02:00
Julius Härtl 7c8cec808f
Only bind if configuration for the first server is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-13 15:42:31 +02:00
Nextcloud bot 30dea9906a
[tx-robot] updated from transifex 2018-07-13 00:12:14 +00:00
Roeland Jago Douma 2639533422
Merge pull request #10201 from nextcloud/smb-rename-invalidargument-retry-13
[13] also retry rename operation on InvalidArgumentException
2018-07-12 09:49:43 +02:00
Nextcloud bot dc0fd5f2d2
[tx-robot] updated from transifex 2018-07-12 00:12:52 +00:00
Roeland Jago Douma 9c5b1852ca
Use ILogger for consts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-11 22:43:34 +02:00
Robin Appelman 4f9aac4002
also retry rename operation on InvalidArgumentException
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-11 16:38:35 +02:00
Morris Jobke 73c1fa6b64
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
2018-07-11 11:45:26 +02:00
Morris Jobke a9b4be205a
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
2018-07-11 11:41:11 +02:00
Morris Jobke 4ff6ea9a55
Merge pull request #10170 from nextcloud/backport/9823/stable13
[stable13] Allow updating the token on session regeneration
2018-07-11 10:02:30 +02:00
Joas Schilling 77f7a95699
Correctly parse the subject parameters for link (un)shares of calendars
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-11 09:45:10 +02:00
Nextcloud bot ef1a695707
[tx-robot] updated from transifex 2018-07-11 00:12:24 +00:00
Nextcloud bot 7843a9b21a
[tx-robot] updated from transifex 2018-07-10 08:21:28 +00:00
Roeland Jago Douma f84789f88b
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>
2018-07-09 16:27:12 +02:00
Kevin Ndung'u 1bd58c1718
Update message shown when unsharing a file
Signed-off-by: Kevin Ndung'u <kevgathuku@gmail.com>
2018-07-09 15:16:59 +02:00
Arthur Schiwon 7f78958056
adjust and add more unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-07-05 12:50:08 +02:00
Arthur Schiwon 37a20cede1
allow admin to disable fetching of avatars as well as a specific attribute
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-07-05 12:26:45 +02:00
blizzz 486dff0934
Merge pull request #10089 from nextcloud/backport/10083/stable13
[stable13] let user set avatar in nextcloud von LDAP provides invalid image data
2018-07-05 00:54:04 +02:00
Robin Appelman 6d68d34f2f
Improved logging of smb connection errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-03 18:12:31 +02:00
Arthur Schiwon 55a6851791
let user set avatar in nextcloud von LDAP provides invalid image data
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-07-03 13:12:00 +02:00
Arthur Schiwon ea62d7a9f5
constants belong to Util in 13
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-07-02 12:51:51 +02:00
Arthur Schiwon 56aaa40dde
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>
2018-07-02 11:53:49 +02:00
Nextcloud bot 37063bc657
[tx-robot] updated from transifex 2018-06-29 00:12:27 +00:00
Morris Jobke a5dfc3e0ee
Merge pull request #10032 from nextcloud/backport/10031/stable13
[stable13] LDAP backup server should not be queried when auth fails
2018-06-28 08:39:58 +02:00
Nextcloud bot 6292c4857d
[tx-robot] updated from transifex 2018-06-28 00:12:40 +00:00
Arthur Schiwon 993342f6a1
LDAP backup server should not be queried when auth fails
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-27 23:15:44 +02:00
Nextcloud bot fb9f4e3ebf
[tx-robot] updated from transifex 2018-06-27 10:06:32 +00:00
Nextcloud bot c4e79862c4
[tx-robot] updated from transifex 2018-06-27 00:12:10 +00:00
Roeland Jago Douma f69c7d7d6c
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
2018-06-26 09:15:12 +02:00
Nextcloud bot 257c7191b3
[tx-robot] updated from transifex 2018-06-26 00:12:27 +00:00
Robin Appelman 547177b482
properly lock the target file on dav upload when not using part files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-25 12:18:18 +02:00
Nextcloud bot ea89600ca0
[tx-robot] updated from transifex 2018-06-25 00:12:07 +00:00
Nextcloud bot 38040951f5
[tx-robot] updated from transifex 2018-06-24 00:12:26 +00:00
Nextcloud bot 891bd63310
[tx-robot] updated from transifex 2018-06-23 00:13:03 +00:00
Nextcloud bot 3ac6f4d504
[tx-robot] updated from transifex 2018-06-22 00:12:31 +00:00
Nextcloud bot 869aa64d0d
[tx-robot] updated from transifex 2018-06-21 00:13:07 +00:00
Nextcloud bot 4d8285553a
[tx-robot] updated from transifex 2018-06-20 00:12:46 +00:00
Nextcloud bot 54bc862c9d
[tx-robot] updated from transifex 2018-06-19 00:13:16 +00:00
Nextcloud bot 6bc2a993f7
[tx-robot] updated from transifex 2018-06-17 00:13:08 +00:00
Nextcloud bot 3214e69761
[tx-robot] updated from transifex 2018-06-16 00:13:34 +00:00
Nextcloud bot 64835d0acd
[tx-robot] updated from transifex 2018-06-15 00:13:10 +00:00
Nextcloud bot a5425c7029
[tx-robot] updated from transifex 2018-06-14 00:13:26 +00:00
Roeland Jago Douma 0fa82e585f
Merge pull request #9837 from nextcloud/stable13-9807-fix-highlighting-of-the-upload-drop-zone
[stable13] Fix highlighting of the upload drop zone
2018-06-13 08:30:50 +02:00
John Molakvoæ 0d9c33838b
Merge pull request #9839 from nextcloud/backport/8221/stable13
[stable13] Apply ldapUserFilter on members of group
2018-06-13 06:55:41 +02:00
Nextcloud bot cf8860e5ba
[tx-robot] updated from transifex 2018-06-13 00:13:22 +00:00
Roeland Jago Douma d269258ac9
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>
2018-06-12 20:58:13 +02:00
Roland Tapken ed78703275
dn2ocname: also apply group filter to readAttribute()
Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2018-06-12 18:21:22 +02:00
Roland Tapken 57a8fa1b22
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>
2018-06-12 18:21:11 +02:00
Daniel Calviño Sánchez 85d9264a14 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>
2018-06-12 15:25:50 +02:00
Daniel Calviño Sánchez d4143af5ed 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>
2018-06-12 15:25:50 +02:00
Daniel Calviño Sánchez d462ae8507 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>
2018-06-12 15:25:50 +02:00
Daniel Calviño Sánchez 97d6f634b4 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>
2018-06-12 15:25:50 +02:00
Daniel Calviño Sánchez 981b757099 Remove duplicated code
"disableDropState" was set as the event handler in 8d4e5747f3, but
the duplicated code was accidentally added back in 786e858d23.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-12 15:25:50 +02:00
Nextcloud bot 59a27ceb13
[tx-robot] updated from transifex 2018-06-12 00:13:07 +00:00
Georg Ehrke fa0c51d1dd
enable caldav for webdav subtree public-calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-11 09:15:26 +02:00