Commit Graph

17957 Commits

Author SHA1 Message Date
Nextcloud bot e965465f6b
[tx-robot] updated from transifex 2019-02-06 11:28:01 +00:00
Daniel Calviño Sánchez 036bfa08dd Fix dropping a folder on a folder row
When the uploaded files have a relative path (that is, when a folder is
uploaded) it is first ensured that all the parent folders exist, which
is done by trying to create them. When a folder is created in the
currently opened folder the file list is updated and a row for the new
folder is added. However, this was done too when the folder already
existed, which caused the previous row to be removed and a new one added
to replace it.

For security reasons, some special headers need to be set in requests;
this is done automatically for jQuery by handling the "ajaxSend" event
in the document. In the case of DAV requests, if the headers are not set
the server rejects the request with "CSRF check not passed".

When a file or folder is dropped on a folder row the jQuery upload
events are chained from the initial drop event, which has the row as its
target. In order to upload the file jQuery performs a request, which
triggers the "ajaxSend" event in the row; this event then bubbles up to
the document, which is then handled by adding the special headers to the
request.

However, when a folder was dropped on a folder row that folder row was
removed when ensuring that the folder exists. The jQuery upload events
were still triggered on the row, but as it had been removed it had no
parent nodes, and thus the events did not bubble up. Due to this the
"ajaxSend" event never reached the document when triggered on the
removed row, the headers were not set, and the upload failed.

All this is simply fixed by not removing the folder row when trying to
create it if it existed already.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-29 14:49:26 +00:00
Nextcloud bot 9cbcf03a78
[tx-robot] updated from transifex 2019-01-26 01:12:43 +00:00
Nextcloud bot e919669982
[tx-robot] updated from transifex 2019-01-24 01:12:34 +00:00
Nextcloud bot 544d28ad60
[tx-robot] updated from transifex 2019-01-23 01:12:35 +00:00
Nextcloud bot e898c52eb0
[tx-robot] updated from transifex 2019-01-22 01:12:55 +00:00
Nextcloud bot e05e93b55f
[tx-robot] updated from transifex 2019-01-21 01:12:19 +00:00
Nextcloud bot dcb368a69e
[tx-robot] updated from transifex 2019-01-20 01:12:59 +00:00
Nextcloud bot 1a4d519593
[tx-robot] updated from transifex 2019-01-19 01:12:49 +00:00
Nextcloud bot 994f773b04
[tx-robot] updated from transifex 2019-01-18 01:15:00 +00:00
Morris Jobke 7d70ce10b7
Merge pull request #13638 from nextcloud/backport/13634/stable13
[stable13] update URL for federation
2019-01-17 09:34:53 +01:00
Nextcloud bot c610182204
[tx-robot] updated from transifex 2019-01-17 01:12:49 +00:00
Jos Poortvliet 6ce51ca98a update URL for federation 2019-01-16 21:44:15 +00:00
Nextcloud bot 6a7624067b
[tx-robot] updated from transifex 2019-01-16 01:13:05 +00:00
Nextcloud bot d9a29dc4b4
[tx-robot] updated from transifex 2019-01-15 01:12:45 +00:00
Joas Schilling 3f2d77faf2 Principals can be principal/user/<name> or principal/<name> from legacy installs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-14 13:21:35 +00:00
Nextcloud bot dcd1dbb609
[tx-robot] updated from transifex 2019-01-14 01:12:28 +00:00
Nextcloud bot d9326a93b9
[tx-robot] updated from transifex 2019-01-13 01:13:22 +00:00
Nextcloud bot 2b5786b45e
[tx-robot] updated from transifex 2019-01-12 01:12:25 +00:00
Roeland Jago Douma a719325a17 Check for no longer existing calendars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-11 10:32:23 +00:00
Nextcloud bot 6be08ad0de
[tx-robot] updated from transifex 2019-01-11 01:12:59 +00:00
Nextcloud bot 8a8cc531cb
[tx-robot] updated from transifex 2019-01-10 01:12:35 +00:00
Joas Schilling 63e24d0903
Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 18:33:17 +01:00
Joas Schilling 5ea32a1bca
Add a repair step to remove sensitive event activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 18:33:17 +01:00
Joas Schilling 194c4b717e
Correctly handle the classification of events in the activity stream
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 18:33:17 +01:00
Morris Jobke 81b02e34dd
Merge pull request #13422 from nextcloud/backport/9174/stable13
[stable13] log more information about insufficient storage in dav plugin
2019-01-09 18:01:16 +01:00
Nextcloud bot 084e9fd237
[tx-robot] updated from transifex 2019-01-09 01:13:09 +00:00
Robin Appelman 6252f07fbc log more information about insufficient storage in dav plugin
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-08 14:22:29 +00:00
Nextcloud bot 88455103fd
[tx-robot] updated from transifex 2019-01-08 01:12:30 +00:00
Nextcloud bot a150a986ce
[tx-robot] updated from transifex 2019-01-06 01:13:33 +00:00
Nextcloud bot 14c8416685
[tx-robot] updated from transifex 2019-01-05 01:12:27 +00:00
Nextcloud bot 4cd18afb29
[tx-robot] updated from transifex 2019-01-04 01:12:57 +00:00
Nextcloud bot 2e1701bfba
[tx-robot] updated from transifex 2019-01-03 01:12:16 +00:00
Nextcloud bot 93923fbe49
[tx-robot] updated from transifex 2019-01-01 01:12:04 +00:00
Nextcloud bot fcae962594
[tx-robot] updated from transifex 2018-12-31 01:12:11 +00:00
Nextcloud bot 2ad10aa7a2
[tx-robot] updated from transifex 2018-12-30 01:13:11 +00:00
Nextcloud bot 91117e4e2e
[tx-robot] updated from transifex 2018-12-29 01:12:12 +00:00
Nextcloud bot aa4a4d4415
[tx-robot] updated from transifex 2018-12-28 01:12:15 +00:00
Nextcloud bot 0e03a5c839
[tx-robot] updated from transifex 2018-12-27 01:12:12 +00:00
Nextcloud bot ae2f588305
[tx-robot] updated from transifex 2018-12-26 01:12:24 +00:00
Nextcloud bot a1e4250278
[tx-robot] updated from transifex 2018-12-25 01:12:03 +00:00
Nextcloud bot 224dbe15fd
[tx-robot] updated from transifex 2018-12-24 01:12:15 +00:00
Nextcloud bot 287bcbb548
[tx-robot] updated from transifex 2018-12-23 01:12:53 +00:00
Arthur Schiwon 827be719f9 do not forgot to store the second displayname portion
otherwise it causes a chain reaction of system addressbook updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-21 13:44:16 +00:00
Nextcloud bot 69798a20a4
[tx-robot] updated from transifex 2018-12-21 01:12:15 +00:00
Nextcloud bot b677dadf18
[tx-robot] updated from transifex 2018-12-20 01:12:13 +00:00
John Molakvoæ (skjnldsv) 5eff452b23 Prevent special characters from breaking the file drop remote url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-19 08:55:43 +00:00
Nextcloud bot daea45c424
[tx-robot] updated from transifex 2018-12-19 01:12:16 +00:00
Nextcloud bot f61d9a1869
[tx-robot] updated from transifex 2018-12-18 01:11:59 +00:00
Nextcloud bot a730ad16f1
[tx-robot] updated from transifex 2018-12-17 01:11:59 +00:00