summaryrefslogtreecommitdiffstats
path: root/apps/files
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2019-02-212-0/+6
|
* Use proper scroll container when dragging filesJulius Härtl2019-02-201-6/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [tx-robot] updated from transifexNextcloud bot2019-02-192-0/+6
|
* [tx-robot] updated from transifexNextcloud bot2019-02-162-0/+254
|
* [tx-robot] updated from transifexNextcloud bot2019-02-15114-228/+228
|
* [tx-robot] updated from transifexNextcloud bot2019-02-142-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-02-138-18/+30
|
* [tx-robot] updated from transifexNextcloud bot2019-02-124-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2019-02-116-2/+28
|
* [tx-robot] updated from transifexNextcloud bot2019-02-1018-2/+22
|
* Merge pull request #13982 from ↵Morris Jobke2019-02-083-34/+33
|\ | | | | | | | | nextcloud/stable15-12917-clean-code-and-fix-drop-zone-shadow [stable15] Clean code and fix drop zone shadow
| * Extract variable for yellow color in iconsfnuesse2019-02-011-1/+1
| | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
| * Fix drop zone shadowfnuesse2019-02-012-1/+9
| | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
| * Unify handling of dropping one file or several files on the trash binDaniel Calviño Sánchez2019-02-011-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a single file was dropped on the trash bin the file information was gotten from the original element in the file list. When several files were dropped on the trash bin the file information was gotten from the helper elements being dragged around. The helper element also contain the needed file information when a single file is being dragged, so the handling was unified to always get the file information from the helper elements. As the handling of several files is the same as before there is still the issue of only deleting those files shown in the drag helper instead of all the selected files. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Use full names instead of abbreviations in variable namesDaniel Calviño Sánchez2019-02-011-8/+8
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Make code format more consistent with the rest of the fileDaniel Calviño Sánchez2019-02-011-12/+11
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Replace double quotes with single quotesDaniel Calviño Sánchez2019-02-012-8/+8
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add missing trailing ";"Daniel Calviño Sánchez2019-02-012-4/+4
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Remove unneeded triggering of eventDaniel Calviño Sánchez2019-02-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "droppedOnTrash" event was being triggered when the file list was initialized, but it should be triggered only when the user actually drops a file on the trash bin. Besides that, the event had no effect; only the file list handles it, but as it was not triggered on any element it ended being triggered on the document, and thus not handled. Moreover, even if it had been triggered on the file list it would have been done before the handler was set, so it would not have been handled anyway. And even if it had been handled no data was provided, so the handler would have failed. In conclusion, triggering the event there was not needed, and thus it was removed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Remove duplicated variable declarationDaniel Calviño Sánchez2019-02-011-1/+0
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Remove leftover from a WIPDaniel Calviño Sánchez2019-02-011-1/+0
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Remove hack to prefetch the starred trash iconDaniel Calviño Sánchez2019-02-011-3/+0
| | | | | | | | | | | | | | | | | | Since 6ad7f32938 SVG icons are directly embedded in "icons-vars.css", so the starred trash icon is now loaded along with the regular trash icon all at once. Therefore it is not needed to explicitly prefetch it using a hidden div. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2019-02-084-20/+30
| |
* | Merge pull request #13978 from nextcloud/backport/13972/stable15Morris Jobke2019-02-072-2/+2
|\ \ | | | | | | [stable15] trim filename in webfrontend for windows compatibility
| * | HBOX-297 trim in webfrontend for new files to stay compatible with windowsChristian Aigner2019-02-012-2/+2
| |/
* | [tx-robot] updated from transifexNextcloud bot2019-02-066-4/+32
| |
* | [tx-robot] updated from transifexNextcloud bot2019-02-0630-6/+60
|/
* Revert "trim filename in webfrontend for windows compatibility"Morris Jobke2019-02-012-2/+2
|
* HBOX-297 trim in webfrontend for new files to stay compatible with windowsChristian Aigner2019-01-312-2/+2
|
* Fix dropping a folder on a folder rowDaniel Calviño Sánchez2019-01-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Make the yellow favorite icon non-monochromeJoas Schilling2019-01-241-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add icon to restore activityJoas Schilling2019-01-241-3/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2019-01-224-18/+18
|
* [tx-robot] updated from transifexNextcloud bot2019-01-192-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-01-174-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2019-01-162-0/+8
|
* [tx-robot] updated from transifexNextcloud bot2019-01-156-34/+36
|
* [tx-robot] updated from transifexNextcloud bot2019-01-144-34/+34
|
* [tx-robot] updated from transifexNextcloud bot2019-01-132-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-01-122-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-01-116-2/+8
|
* [tx-robot] updated from transifexNextcloud bot2019-01-082-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2019-01-062-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-01-0520-18/+50
|
* [tx-robot] updated from transifexNextcloud bot2019-01-04114-236/+242
|
* [tx-robot] updated from transifexNextcloud bot2019-01-012-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2018-12-312-2/+6
|
* [tx-robot] updated from transifexNextcloud bot2018-12-304-2/+8
|
* [tx-robot] updated from transifexNextcloud bot2018-12-282-4/+4
|
* [tx-robot] updated from transifexNextcloud bot2018-12-272-2/+2
|