Daniel Kesselberg
f310b964d4
Hide quota bar if unlimited
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-06-23 21:21:13 +02:00
John Molakvoæ
552657223a
Fix window scroll container ( #16009 )
...
Fix window scroll container
2019-06-19 19:42:38 +02:00
Julius Härtl
bf56f2843c
Fix window scroll container
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-19 11:14:57 +02:00
John Molakvoæ
abb1fd9fc9
Avoid scrolling to the hidden input when toggling grid/list view ( #16005 )
...
Avoid scrolling to the hidden input when toggling grid/list view
2019-06-19 10:49:15 +02:00
Julius Härtl
25a646e1ee
Avoid scrolling to the hidden input when toggling grid/list view
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-19 09:35:52 +02:00
Julius Härtl
2d06ea5cfc
Properly redirect if accessing invalid file though /f/ entrypoint
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-18 13:09:38 +02:00
John Molakvoæ
f6ad353c7c
Merge pull request #15961 from nextcloud/design/sharing-accessibility
...
Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661
2019-06-17 09:59:55 +02:00
Jan-Christoph Borchardt
42a84ea454
Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-14 14:16:25 +02:00
Nextcloud bot
85767660ba
[tx-robot] updated from transifex
2019-06-14 02:14:26 +00:00
nacho
3c30d293fa
CSS: adjust media query breakpoint to improve tablet readability
...
see https://github.com/nextcloud/news/pull/467
2019-05-30 08:28:30 +02:00
Morris Jobke
64fb083dd9
Merge pull request #15767 from nextcloud/bugfix/0b-quota-create
...
Hide newFile menu if quota is set to 0B
2019-05-28 14:27:01 +02:00
Julius Härtl
1cf16fa7aa
Hide newFile menu if quota is set to 0B
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-28 10:27:01 +02:00
Julius Härtl
d48787e661
Also allow dragging below the file list
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-27 13:00:45 +02:00
Max Kovalenko
a83b79c5f8
misc phpdoc fixes
...
Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
2019-05-27 09:04:05 +03:00
Max Kovalenko
a8ddf3471e
fixed phpdoc parameter types
...
Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
2019-05-27 09:04:05 +03:00
Nextcloud bot
cdfd2d8dd1
[tx-robot] updated from transifex
2019-05-27 02:13:41 +00:00
Nextcloud bot
7f689af6f4
[tx-robot] updated from transifex
2019-05-26 02:14:16 +00:00
Nextcloud bot
d59416eaea
[tx-robot] updated from transifex
2019-05-25 02:13:50 +00:00
Nextcloud bot
f2885c171f
[tx-robot] updated from transifex
2019-05-22 02:13:52 +00:00
John Molakvoæ (skjnldsv)
7ec3845494
Remove quota feedback if no link set
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-21 11:11:30 +02:00
Nextcloud bot
af680f285e
[tx-robot] updated from transifex
2019-05-21 02:13:28 +00:00
Nextcloud bot
db6c89ded0
[tx-robot] updated from transifex
2019-05-18 02:13:05 +00:00
Christoph Wurst
0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 11:14:29 +02:00
Christoph Wurst
2f5df9387d
Deprecate OC.fileIsBlacklisted and move it to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 10:07:56 +02:00
Nextcloud bot
ee5095c6f6
[tx-robot] updated from transifex
2019-05-14 02:13:22 +00:00
Nextcloud bot
9d66e91f0b
[tx-robot] updated from transifex
2019-05-11 00:13:12 +00:00
Nextcloud bot
4cd7900d4f
[tx-robot] updated from transifex
2019-05-10 00:13:05 +00:00
Morris Jobke
3007c7a19c
Merge pull request #15477 from nextcloud/fix/files/floating-header
...
Fix floating header over breadcrumbs
2019-05-09 15:53:17 +02:00
Valdnet
07c36654b1
Update file-upload.js
...
Change the location of the translation file.
2019-05-09 14:30:43 +02:00
John Molakvoæ (skjnldsv)
b23af5c99c
Fix floating header over breadcrumbs
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-09 14:23:09 +02:00
Morris Jobke
10d5af18b3
Merge pull request #15427 from nextcloud/refactor/oc-current-user-deprecate-bundle
...
Deprecate oc_current_user, fix usage and move currentUser to the bundle
2019-05-08 15:57:09 +02:00
Morris Jobke
ddff722aa4
Merge pull request #15432 from nextcloud/fix/14986/fix-public-upload
...
Fix public upload by also load the semaphore method
2019-05-08 10:18:50 +02:00
Christoph Wurst
278c281cc9
Deprecate oc_current_user, fix usage and move currentUser to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 09:44:51 +02:00
Morris Jobke
aa47358812
Merge pull request #15302 from nextcloud/enhancement/files/table-head-sticky
...
Floating files header
2019-05-07 23:59:51 +02:00
Morris Jobke
21d2d86b2f
Add support for Safari
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-07 23:58:19 +02:00
Morris Jobke
2565e16770
Fix public upload by also load the semaphore method
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-07 23:48:06 +02:00
John Molakvoæ (skjnldsv)
faff807ba6
Floating files header
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-07 19:06:58 +02:00
John Molakvoæ
829adcb0b5
Merge pull request #15309 from nextcloud/fix/files-selection-bug
...
Do NOT assume all files are selected if the first checkbox is
2019-05-02 13:47:06 +02:00
Nextcloud bot
579588a4cd
[tx-robot] updated from transifex
2019-05-02 00:12:57 +00:00
John Molakvoæ (skjnldsv)
54afe0bca2
Do NOT assume all files are selected if the first checkbox is
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-04-30 16:53:50 +02:00
Nextcloud bot
01410491b9
[tx-robot] updated from transifex
2019-04-29 00:12:39 +00:00
Nextcloud bot
201fc9fbcf
[tx-robot] updated from transifex
2019-04-24 00:12:32 +00:00
John Molakvoæ
ca92a7c6e6
Merge pull request #15164 from nextcloud/recommendations-multiselect-overlap
...
Fix multiselect bar overlapping recommendations
2019-04-23 16:06:41 +02:00
Nextcloud bot
e4ce1f9fc1
[tx-robot] updated from transifex
2019-04-22 00:12:49 +00:00
Nextcloud bot
49829482c8
[tx-robot] updated from transifex
2019-04-21 00:13:10 +00:00
Nextcloud bot
1f288533f5
[tx-robot] updated from transifex
2019-04-20 00:12:52 +00:00
Jan-Christoph Borchardt
83210d72b9
Use sticky position include for Safari support
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-04-18 21:16:20 +02:00
Morris Jobke
9b0c6d9efb
Add webkit/safari fix
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-18 18:36:44 +02:00
Jan-Christoph Borchardt
04591c37ea
Fix multiselect bar overlapping recommendations
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-04-18 17:37:44 +02:00
Morris Jobke
ef72609940
Merge pull request #15057 from nextcloud/bugfix/noid/silent-view-change
...
Use slient option to switch for regular file actions as well
2019-04-15 11:46:35 +02:00
Nextcloud bot
d3332f516f
[tx-robot] updated from transifex
2019-04-14 00:13:26 +00:00
Nextcloud bot
b58438b39d
[tx-robot] updated from transifex
2019-04-13 00:15:32 +00:00
Nextcloud bot
090aa51234
[tx-robot] updated from transifex
2019-04-12 00:12:50 +00:00
Julius Härtl
f4a9ee3db4
Use slient option to switch for regular file actions as well
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-11 14:38:58 +02:00
Joas Schilling
4c19b3b2c6
Bump versions of server and the requirements of apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-11 14:02:23 +02:00
Nextcloud bot
3a04650380
[tx-robot] updated from transifex
2019-04-10 00:12:51 +00:00
Nextcloud bot
ec4b1584fe
[tx-robot] updated from transifex
2019-04-09 00:12:59 +00:00
Julius Härtl
07f8aee6fe
Check if OCA.Files.App is available before calling
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-08 11:13:08 +02:00
Nextcloud bot
3117be298c
[tx-robot] updated from transifex
2019-04-07 00:13:21 +00:00
Nextcloud bot
2339e94680
[tx-robot] updated from transifex
2019-04-05 00:13:16 +00:00
John Molakvoæ (skjnldsv)
b38445b17a
Show comments and restore in popover menu
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-04-02 12:24:48 +02:00
Morris Jobke
6ba5488338
Merge pull request #14914 from nextcloud/bugfix/noid/hidden-files-grid
...
Fix hidden file display in grid view
2019-04-01 10:57:37 +02:00
Nextcloud bot
c55ac95e1b
[tx-robot] updated from transifex
2019-04-01 00:13:54 +00:00
Julius Härtl
f2914cab6f
Fix hidden file display in grid view
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-30 12:57:18 +01:00
Nextcloud bot
f7267468c0
[tx-robot] updated from transifex
2019-03-29 01:12:48 +00:00
Julius Härtl
6b2a212c69
Fix opening folders from different file lists
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 17:44:54 +01:00
Julius Härtl
b11d6c94fe
Always show full previews
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 13:29:58 +01:00
Nextcloud bot
86594e8c18
[tx-robot] updated from transifex
2019-03-27 11:47:47 +00:00
Nextcloud bot
a541443be7
[tx-robot] updated from transifex
2019-03-26 10:41:31 +00:00
Morris Jobke
651495e3ae
Merge pull request #14776 from nextcloud/fix/files/size-color
...
Use max contrast variable to cap the generated colours
2019-03-21 09:59:07 +01:00
John Molakvoæ (skjnldsv)
ec09f121af
Use max contrast variable to cap the generated colours
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:45:01 +01:00
John Molakvoæ (skjnldsv)
ff164db935
Add link icon for public link too
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:16:00 +01:00
John Molakvoæ (skjnldsv)
4ad922d4f6
Show sharing in menu in grid view
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:14:16 +01:00
Nextcloud bot
6ea5beccd7
[tx-robot] updated from transifex
2019-03-21 01:13:49 +00:00
Morris Jobke
69f18712ea
Merge pull request #14674 from CamilionEU/master
...
[app:files] Use current directory for hashing.
2019-03-20 11:20:41 +01:00
Joas Schilling
3022ef687a
Use rich objects instead of name, link and icon
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-19 13:06:55 +01:00
Joas Schilling
403b673b93
Replace the icon-class with an absolute link to an image
...
Otherwise the icon can not be displayed in mobile apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-19 13:06:55 +01:00
Nextcloud bot
f8988c257c
[tx-robot] updated from transifex
2019-03-16 01:12:34 +00:00
Morris Jobke
3e3d41ae4c
Merge pull request #14637 from nextcloud/design/grid-border
...
Add border around previews
2019-03-14 23:31:18 +01:00
Morris Jobke
5d2edc4a22
Merge pull request #14686 from nextcloud/bugfix/noid/fix-hardcoded-f-url-handling
...
Add correct method for hardcoded `/f/{fileid}`
2019-03-14 23:30:50 +01:00
Nextcloud bot
6fcf729545
[tx-robot] updated from transifex
2019-03-14 16:08:31 +00:00
Jan-Christoph Borchardt
e1e65021b1
Only show border for files with generated previews
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-03-14 16:37:05 +01:00
Morris Jobke
37b1a9c4ea
Import needed class
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14 16:28:01 +01:00
Joas Schilling
5e5c5a16dc
Add correct method for hardcoded `/f/{fileid}`
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-14 15:13:56 +01:00
Evilham
de648f6a3e
[app:files] Use current directory for hashing.
...
This fixes collisions that were causing uploads to break in a very
terrible way.
Kudos to @kesselb for finding the problematic place and to
@hottwister for the proposed solution.
Fixes #10527 .
2019-03-13 22:21:32 +01:00
Jan-Christoph Borchardt
9306caec3e
Add border around previews in grid view
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-03-12 10:44:51 +01:00
Joas Schilling
c6a69ba925
Remove the upload and memory setting
...
* Remove unneeded private method phpFileSize()
* Bump autoloader
* Remove setUploadLimit tests
* Remove integrity check hacks for upload limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04 12:14:22 +01:00
Julius Härtl
f0e50bcb74
Fetch node and filename also if access cache was used
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:57:01 +01:00
Joas Schilling
55cd9eab03
Update autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:57:00 +01:00
Joas Schilling
fdfe984adb
Register providers via class names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:57:00 +01:00
Joas Schilling
01b4db62fb
Add dispatcher events to User and Group objects
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:59 +01:00
Joas Schilling
55ae7fa2a4
Invalidate the cache when a share is updated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:59 +01:00
Joas Schilling
1a73cab3db
Fix doc block
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:59 +01:00
Joas Schilling
59c92a7513
Further work on the access cache
...
Searching for all is still a problem
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:19 +01:00
Julius Härtl
31340b8be9
Add icon for resource type and icons for folder/file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl
3777df64ae
Add link to resource provider
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl
506eb885bc
Only call resource provider if type matches
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl
d85e3e3a6d
Allow apps to register resource providers
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl
88aa3de784
Add iconClass to resources
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Joas Schilling
702dcfb728
Make names mandatory
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:16 +01:00
Nextcloud bot
374f89aba1
[tx-robot] updated from transifex
2019-03-01 01:12:36 +00:00
Nextcloud bot
057e81a1e2
[tx-robot] updated from transifex
2019-02-28 01:12:39 +00:00
Morris Jobke
0051bb7e4c
Merge pull request #14342 from nextcloud/bugfix/13911-occ-files-scan-elapsedtime-not-good-after-1day
...
Fix occ files:scan elapsed time
2019-02-26 15:46:22 +01:00
Roeland Jago Douma
0b7b32e808
Merge pull request #14251 from tomasz-grobelny/upload_reliability_improvements
...
Limit number of simultaneous MKCOL requests to server to increase upload reliability
2019-02-26 11:33:44 +01:00
Joel S
27aafa77db
Fix occ files:scan-app-data elapsed time
...
Signed-off-by: Joel S <joel.devbox@protonmail.com>
2019-02-22 20:55:24 +05:30
Joel S
f29b092a76
Fix-13911-occ-files-scan-elapsed-time
...
Signed-off-by: Joel S <joel.devbox@protonmail.com>
2019-02-22 19:59:03 +05:30
Jan-Christoph Borchardt
de53a08632
Fix alignment of filelist header
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-02-21 13:55:46 +01:00
Nextcloud bot
10388eab34
[tx-robot] updated from transifex
2019-02-21 01:12:02 +00:00
Tomasz Grobelny
701f7902d2
Fix unit tests
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-02-20 23:07:38 +01:00
Julius Härtl
c8ce7ebae2
Use proper scroll container when dragging files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-20 10:22:07 +01:00
Nextcloud bot
ad0b67cbce
[tx-robot] updated from transifex
2019-02-19 01:12:10 +00:00
Tomasz Grobelny
7c4c5fe6ae
Limit number of simultaneous MKCOL requests to server to increase upload reliability
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-02-16 23:27:50 +01:00
Nextcloud bot
1edfffd091
[tx-robot] updated from transifex
2019-02-16 01:12:24 +00:00
Nextcloud bot
49a0ea01e5
[tx-robot] updated from transifex
2019-02-15 01:12:49 +00:00
John Molakvoæ
6a3f4e4957
Merge pull request #12652 from tomasz-grobelny/operation_progress_improvements3
...
Operation progress improvements
2019-02-14 14:24:20 +01:00
Nextcloud bot
4d8c42a4fb
[tx-robot] updated from transifex
2019-02-14 01:12:26 +00:00
Nextcloud bot
6c6642e8ee
[tx-robot] updated from transifex
2019-02-13 01:12:15 +00:00
Nextcloud bot
44f6303dc3
[tx-robot] updated from transifex
2019-02-12 01:12:25 +00:00
Nextcloud bot
de52f4d633
[tx-robot] updated from transifex
2019-02-11 01:12:23 +00:00
Nextcloud bot
d4cf0bdb6a
[tx-robot] updated from transifex
2019-02-10 01:13:28 +00:00
Morris Jobke
fda3f4fc41
Merge pull request #14060 from nextcloud/bugfix/noid/use-new-method
...
Use the new method instead of the deprecated wrapper
2019-02-08 10:57:16 +01:00
Nextcloud bot
45777abce0
[tx-robot] updated from transifex
2019-02-08 01:12:39 +00:00
Nextcloud bot
8db2f3ec3a
[tx-robot] updated from transifex
2019-02-06 22:18:24 +00:00
Joas Schilling
3580a1a240
Use the new method instead of the deprecated wrapper
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-06 13:34:12 +01:00
Nextcloud bot
0df5110127
[tx-robot] updated from transifex
2019-02-06 11:27:29 +00:00
Christian Aigner
ce37930910
HBOX-297 trim in webfrontend for new files to stay compatible with windows
2019-02-01 09:47:07 +00:00
fnuesse
f13b3ab4ae
Add drop zone for favorites quick access in navigation
...
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2019-02-01 01:45:03 +01:00
fnuesse
4b32e1c6ab
Extract variable for yellow color in icons
...
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2019-02-01 00:59:05 +01:00
fnuesse
ad407f64bd
Fix drop zone shadow
...
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2019-02-01 00:59:05 +01:00
Daniel Calviño Sánchez
8680ced1ae
Unify handling of dropping one file or several files on the trash bin
...
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>
2019-02-01 00:56:50 +01:00
Daniel Calviño Sánchez
e46a67ef4c
Use full names instead of abbreviations in variable names
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 19:55:51 +01:00
Daniel Calviño Sánchez
3baa078f70
Make code format more consistent with the rest of the file
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 19:55:51 +01:00
Daniel Calviño Sánchez
75edcad549
Replace double quotes with single quotes
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 19:55:51 +01:00
Daniel Calviño Sánchez
96bc1397b1
Add missing trailing ";"
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 19:55:33 +01:00
Daniel Calviño Sánchez
72a424d4c8
Remove unneeded triggering of event
...
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>
2019-01-31 19:14:58 +01:00
Daniel Calviño Sánchez
dd91c4e500
Remove duplicated variable declaration
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 17:59:50 +01:00
Daniel Calviño Sánchez
47937a5062
Remove leftover from a WIP
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-31 17:49:25 +01:00
Daniel Calviño Sánchez
2aee19a4ba
Remove hack to prefetch the starred trash icon
...
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>
2019-01-31 17:40:14 +01:00
John Molakvoæ
53fd4997cc
Merge pull request #12364 from tomasz-grobelny/file_range_select
...
Ability to select file ranges with mouse or touchscreen
2019-01-30 10:21:23 +01:00
Tomasz Grobelny
08919eb193
Merge branch 'master' into operation_progress_improvements3
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-01-29 21:26:44 +01:00
Daniel Calviño Sánchez
038e665db9
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 13:04:19 +01:00
Christoph Wurst
8fcb9fcfdc
Merge pull request #13855 from tomasz-grobelny/faster_file_upload
...
Throttle getstoragestats.php calls and allow simultaneous uploads
2019-01-29 08:51:38 +01:00
Tomasz Grobelny
f99ce0d546
Throttle getstoragestats.php calls and allow simultaneous uploads
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-01-27 22:59:14 +01:00
imsolost
5742ec79ab
changed case on variable to match initial case
...
Signed-off-by: imsolost <imsolost@gmail.com>
2019-01-25 11:16:37 -08:00
imsolost
3e37620cc2
fixed replacement functions to catch all instances of parenthesis
...
Signed-off-by: imsolost <imsolost@gmail.com>
2019-01-25 11:16:37 -08:00
Tomasz Grobelny
907deab278
Add more accessible method of selecting file ranges
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-01-24 22:04:52 +01:00
Joas Schilling
0ba9e3b8bd
Make the yellow favorite icon non-monochrome
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-22 16:13:29 +01:00
Joas Schilling
55cd351324
Add icon to restore activity
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-22 15:37:07 +01:00
Roeland Jago Douma
03290df8d4
Merge pull request #13723 from kofemann/patch-1
...
apps: file-upload: fix typo in comments
2019-01-22 09:26:40 +01:00
Nextcloud bot
af36746d7c
[tx-robot] updated from transifex
2019-01-22 01:12:25 +00:00