Commit Graph

1508 Commits

Author SHA1 Message Date
Julius Härtl eb5faa85a2
Compile handlebars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-11 13:26:22 +01:00
dependabot-preview[bot] 3d63f3fbdf Bump @babel/preset-env from 7.6.3 to 7.7.1
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-10 12:12:07 +00:00
Julius Härtl dbd9622bc3
Also set X-OC-Mtime header for files that are smaller than 10MB
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-07 20:16:00 +01:00
npmbuildbot[bot] 85730de7fa Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-29 13:20:37 +01:00
John Molakvoæ (skjnldsv) d88b93c919 Add LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) fd90af50d9 Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
Julius Härtl 975c1982a0
Allow registering header sections in the file lists
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-23 08:48:15 +02:00
Julius Härtl 5e4eda1ae0
Remove deprecated legacy file actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-14 19:19:16 +02:00
Gary Kim 11d01319c6
Show Delete Icon in Breadcrumb in Trashbin
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-07 19:35:23 +08:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Roeland Jago Douma 9e2bb5ef36 Move oauth admin settings to initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 13:30:34 +00:00
John Molakvoæ (skjnldsv) f737dc9a86 Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 08:15:03 +00:00
Thomas Ebert e47a7f0a95 Allow options to be passed to `FileList.createFile`, so that `scrollTo` can be overridden.
Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>
2019-09-16 15:17:05 +02:00
Julius Härtl 260d93e5f2
Fallback to directory icon based on the mount type
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 19:29:57 +02:00
Roeland Jago Douma 6093acd4f0
Merge pull request #16969 from nextcloud/bugfix/14350/thumbnail_should_open_thefile_not_sidebar
When you click on thumbnail of a file, it should open the file not the sidebar
2019-09-03 07:52:34 +02:00
Greta Doci ac2c1ddd4e Change filelist _onClickFile function so thumbnail to open the file instead of the sidebar
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-09-02 15:11:52 +02:00
Jonathan Matthews 1ae45bdaa1
Fix grid view
Signed-off-by: Jonathan Matthews <jgit@pixelnet.work>
2019-08-19 15:18:05 -04:00
John Molakvoæ (skjnldsv) 3e1fd602eb
Rename delete label to Delete folder/file
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-08-14 18:28:46 +02:00
Max Fichtelmann 1d29636008 fix XSS when adding a file with a malicious name to favorites
Signed-off-by: Max Fichtelmann <max.fichtelmann@procilon.de>
2019-07-29 18:16:37 +02:00
Morris Jobke 003e23520d
Trigger fallback code to get max contrast value and use integer there
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-25 09:45:09 +02:00
Morris Jobke 5e02d71588
Fix max contrast retrieval to limit minimum color for relative time
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-24 21:48:52 +02:00
Morris Jobke cd3f5e48de
Merge pull request #16151 from jameslao/master
Update operationprogressbar.js
2019-07-15 22:09:25 +02:00
Julius Härtl 51683fa9d1
Properly load permissions in showActions
When setViewerMode(false) is called, the permissions should be fetched from the available dirInfo

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-05 12:21:21 +02:00
Robin Appelman 258902b337
fix permissions for drag-n-drop uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-07-01 11:58:13 +02:00
James Lao 6afd368b75 Update operationprogressbar.js
To fix issue #16137

Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
2019-06-28 10:13:04 -07: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
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
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
Valdnet 07c36654b1
Update file-upload.js
Change the location of the translation file.
2019-05-09 14:30:43 +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 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æ (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
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
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
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
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) 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
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
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
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
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