Morris Jobke
62d5daa94f
Merge pull request #1590 from nextcloud/issue-1432-special-chars-on-name-conflict
...
Fix special characters when renaming to a conflict
2016-10-03 16:47:20 +02:00
Christoph Wurst
407232b772
Merge pull request #1547 from nextcloud/files-translate-filesummary
...
Translate file summary connector (#26221 )
2016-10-03 10:41:20 +02:00
Joas Schilling
0ecaf8e602
Fix special characters when renaming to a conflict
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-30 12:44:49 +02:00
John Molakvoæ
f623d020f7
Use css loading animation and not gif
...
Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
2016-09-27 21:06:25 +02:00
Vincent Petry
7de4c809ef
Translate file summary connector ( #26221 )
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:38:56 +02:00
Morris Jobke
6b2920a6bc
Merge pull request #1520 from nextcloud/upload-allow-zero
...
Allow uploading empty files (#26113 )
2016-09-26 17:40:53 +02:00
Vincent Petry
e8836bfd30
Allow uploading empty files ( #26113 )
...
Downstreaming of https://github.com/owncloud/core/pull/26113
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:28:05 +02:00
Morris Jobke
8d4e5747f3
Fix folder drag glitch in Firefox
...
issue:
* drag'n'drop a folder into the files app in Firefox
* the highlight stays there because Firefox doesn't trigger the drop event for folders
solution:
* behave like the drop event if the dragover event isn't fired for 100ms (only applied in Firefox)
2016-09-14 13:44:34 +02:00
Jan-Christoph Borchardt
a45cfbc2d2
search design details
2016-09-09 18:01:00 +02:00
Roeland Jago Douma
ca7b60ba81
Merge pull request #1215 from nextcloud/issue-1083-update-live-relative-timestamps
...
Update relative timestamps for a better "live" feeling
2016-09-01 14:13:23 +02:00
Joas Schilling
6c81c65eea
Also prevent null byte character
2016-09-01 12:24:14 +02:00
Joas Schilling
7cd86cfe59
Filter out %0A from paths
2016-09-01 10:06:06 +02:00
Joas Schilling
ee838a224e
Use live timestamp in the sidebar details
2016-09-01 09:02:36 +02:00
Joas Schilling
ee1c1b39b2
Update live timestamps to give a more live feeling
2016-09-01 09:02:36 +02:00
Roeland Jago Douma
e1ea45f32b
Merge pull request #1147 from nextcloud/files-hidden-files-summary
...
Display number of hidden files in files summary (#25870 )
2016-08-29 20:36:07 +02:00
Vincent Petry
7fa66409ae
Display number of hidden files in files summary ( #25870 )
...
When dot files are hidden, the table summary and selection summary will
not show how many hidden files were included.
2016-08-29 14:47:41 +02:00
Vincent Petry
29b45c5c42
Make sure file list files config always exists
...
Initialize files config with defaults in case none was passed
2016-08-29 14:44:25 +02:00
Roeland Jago Douma
f744131b18
Do not error on maxUploadChange
...
The new admin page broke the updating of the max upload size. This is
due to very old code there.
* Now update is done in the background using js
* Added proper route+controller to update
Fixes #994
2016-08-22 20:25:58 +02:00
Vincent Petry
f7deb2c2eb
Fix hidden files handling
...
Hidden files (dot files) are now always rendered in the DOM to make
sure that all file operations and selection still work as expected.
Their visibility is now toggled on CSS level.
2016-08-19 10:26:19 +02:00
Robin Appelman
6368506e57
only load sidebar previews when we know it's available
2016-07-27 12:59:43 +02:00
Robin Appelman
03c17ff614
dont load filelist previews if we know we dont have one
2016-07-27 12:59:43 +02:00
Robin Appelman
2139a031e7
block user sorting in recent files
2016-07-22 15:20:55 +02:00
Robin Appelman
2e3114cc28
Add recent file listing
2016-07-22 15:20:51 +02:00
Joas Schilling
45c99c226b
Fix the HTML encoding when uploading a folder in FF when using french l10n
2016-07-20 13:03:27 +02:00
Lukas Reschke
2a1a3957b6
Merge pull request #333 from nextcloud/sync-master
...
Sync master
2016-07-07 19:29:43 +02:00
Morris Jobke
ba16fd0d33
Merge branch 'master' into sync-master
2016-07-07 11:29:46 +02:00
Vincent Petry
cf6fe95cbf
Merge pull request #25325 from owncloud/filelist-prependslash
...
Filelist change dir auto-prepend slash
2016-07-06 12:44:03 +02:00
Vincent Petry
1f9d728538
Ignore invalid paths in the JS file list ( #25368 )
2016-07-06 11:55:02 +02:00
Robin Appelman
d623763aac
Add "goto" links for files in non-default file lists
2016-07-05 22:22:55 +02:00
Morris Jobke
dd337597b3
for text use max-height to trim whitespace
2016-07-04 17:38:26 +02:00
Robin Appelman
a4d75a60a9
Add large sidebar previews for text files
2016-07-04 12:54:12 +02:00
Robin Appelman
860b7c36ec
Factor out handling sidebar previews
2016-07-04 12:04:32 +02:00
Björn Schießle
5b4cea4b36
Merge pull request #275 from nextcloud/master-sync-upstream
...
[Master] Sync upstream
2016-07-01 18:31:51 +02:00
Lukas Reschke
76c73d5ec3
Match on 405
2016-07-01 15:19:21 +02:00
Lukas Reschke
4ac9eaab03
Match for /../
2016-07-01 15:01:48 +02:00
Lukas Reschke
5b65591d84
Do not allow directory traversal using "../"
...
We should not allow directory traversals using "../" here.
To test access the following URL once with and then without this patch:
http://localhost/server/index.php/apps/files/?dir=../../This+Should+Not+Be+Here
2016-07-01 13:36:05 +02:00
Lukas Reschke
179a355b2c
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-07-01 11:36:35 +02:00
Vincent Petry
4acb06923d
Filelist change dir auto-prepend slash
...
Prepend a slash to directories in case it was missing since many places
assume that it's there.
2016-07-01 11:10:37 +02:00
Vincent Petry
5cfbb9624f
Prevent infinite loop in search auto-nextpage
...
When loading the next page of search results, make sure that the loop
can end if there are no more elements in case the total doesn't match.
Also added a check to avoid recomputing the search results whenever the
setFilter() is called with the same value. This happens when navigating
away to another folder, the search field gets cleared automatically and
it calls FileList.setFilter('').
2016-06-30 11:10:48 +02:00
Lukas Reschke
6670d37658
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-06-27 18:23:00 +02:00
Vincent Petry
1d4c61af47
Merge pull request #25237 from owncloud/search-filelistnextpageresults
...
Prerender file list pages to include search results
2016-06-27 13:46:25 +02:00
Lukas Reschke
7a9d60d87e
Merge remote-tracking branch 'upstream/master' into master-upstream-sync
2016-06-26 12:55:05 +02:00
Vincent Petry
b4cf297758
Prerender file list pages to include search results
...
When filtering the file list, if a result is on an unrendered page,
make sure to call _nextPage() to prerender the pages in order to
display all matching results.
2016-06-24 13:55:14 +02:00
Vincent Petry
39b533d0d8
Hide search results after switching directory
...
When clicking on a folder result in the search result list, the result
box for "results in another folder" must disappear.
2016-06-24 11:32:14 +02:00
Vincent Petry
bf3ee69d86
Fix search result link for file results outside default list
...
When outside the "All files" list, the search result link must properly
redirect to the "All files" list.
2016-06-24 11:31:29 +02:00
Vincent Chan
0552933770
changes emptycontent icon to drag-accept on file-drag
2016-06-23 11:25:03 +02:00
Vincent Chan
10f8d643dc
store icons in class
2016-06-15 14:42:39 +02:00
Vincent Chan
aecdcf737f
dragging over folder will highlight folder only
2016-06-15 11:28:53 +02:00
Vincent Chan
6214420974
restrict dropZone to app-content div
2016-06-15 09:45:36 +02:00
Vincent Chan
203a07e7f3
change folder icon when dragging over a directory
2016-06-15 01:03:59 +02:00
Vincent Chan
937d21ed29
properly fix folder upload to use delegatedEvent
2016-06-14 11:51:03 +02:00
Vincent Chan
864c3a8fbb
fixes direct upload to folder
2016-06-14 09:58:03 +02:00
Vincent Chan
433cea30c3
adds visual indication for file drag and drop
2016-06-13 23:00:56 +02:00
Vincent Chan
2abd663419
update jQuery File Upload Plugin (9.12.5) to support dragleave
2016-06-13 22:26:49 +02:00
Joas Schilling
77db6d3dbd
Improve the UX for "not found" perma links
2016-06-07 13:53:16 +02:00
Vincent Petry
9a9c1b9439
Merge pull request #24822 from owncloud/fix-download-spinner
...
fixes size of the download spinner
2016-05-31 10:42:13 +02:00
Vincent Petry
76c0bc29fe
Merge pull request #20150 from pellaeon/pr-droppable-hover-visual-cue
...
Add visual cue when moving draggable item over droppable item,
2016-05-30 16:03:36 +02:00
Vincent Chan
3538e90ba1
fixes size of the download spinner
2016-05-30 11:23:54 +02:00
Dmitry Popov
83aa28ed1d
My fix for #24272 , #23613 , File not found when single file in a folder ( #24800 )
...
* Fixed group share searching for members of
multiple group. Issue #11808 .
* Fixed group share searching, continued.
Avoid searching for empty group list in getItemSharedWithUser().
Broke tests in previous commit, #12030 .
* Simler check for group count.
* Fix for https://github.com/owncloud/core/issues/24783 , described there
* Now it's #24272 , 24783 was a duplicate. Previous change was also not very good. Now we don't create ZIP with a single file inside.
2016-05-24 14:09:05 +02:00
Vincent Petry
f8bbbba306
Merge pull request #24682 from f4bsch/master
...
dont update search onResize
2016-05-24 11:47:47 +02:00
Pellaeon Lin
72ac5dd8a1
Make entire file tr droppable,
...
so that .canDrop will highlight the entire row when drag hover
2016-05-21 12:54:29 +08:00
Pellaeon Lin
d3ff3c589b
Add visual cue when moving draggable item over droppable item,
...
ie. breadcrumb and filenameTd
2016-05-21 12:54:29 +08:00
Fabian
2a7d3dd831
dont update search onResize
...
this.updateSearch() sets the current file list instance and clears the box. This is unnecessary and makes the search box unsuable on some mobile devices where a keyboard fade-in causes a onResize trigger, which would then clear and blur the box.
2016-05-17 22:57:07 +02:00
Erik Pellikka
5dbb549bbe
added back the jquery animations
2016-05-13 21:01:13 +02:00
Erik Pellikka
4e5f37a05d
code style fix
2016-05-13 21:01:13 +02:00
Erik Pellikka
b94252e479
code style fix
2016-05-13 21:01:13 +02:00
Erik Pellikka
74dfc63b9a
code style fix
2016-05-13 21:01:13 +02:00
Erik Pellikka
d3467edb70
added elseif
2016-05-13 21:01:13 +02:00
Erik Pellikka
45ff21e8d5
fixed to work with share links as well
2016-05-13 21:01:13 +02:00
Erik Pellikka
e7366213f5
typo fix
2016-05-13 21:01:13 +02:00
Erik Pellikka
18b7b61f06
Tweaking
2016-05-13 21:01:13 +02:00
Morris Jobke
5711e88093
Avoids jumping if window is smaller than 300 pixels in height
...
* divides the area where the scroll should be triggered by 2
* uses the minimum value of the above and 300
2016-05-13 21:01:13 +02:00
Erik Pellikka
e03a09d189
Add scrolling when dragging files
2016-05-13 21:01:13 +02:00
Vincent Petry
88da2966b4
Merge pull request #22341 from owncloud/pellaeon-pr-breadcrumb-filelist-overlap-drop
...
Handle case when breadcrumb and filelist item overlap and both receive a drop
2016-05-13 17:12:36 +02:00
Vincent Petry
5f6fb45704
Merge branch 'Superduper-Progressbar-branch-thingie' of https://github.com/luckydonald/core into luckydonald-Superduper-Progressbar-branch-thingie
2016-05-12 18:15:54 +02:00
Vincent Petry
254576e1f7
Do not encode slashes in "dir" URL param in files JS
2016-05-06 17:00:22 +02:00
Vincent Petry
112b703df0
Add anchor icon in sidebar to copy permalink
2016-05-06 16:46:59 +02:00
Vincent Petry
fdeafef6a0
Auto-add fileid in URL for currently displayed folder
2016-05-06 16:46:59 +02:00
Christoph Wurst
df2a9d1733
OCA.Files.App is not available on public page
2016-04-21 14:23:18 +02:00
Thomas Müller
1ab27ddd4a
Merge pull request #24081 from owncloud/migrate-deprecated-jquery-v1-functions
...
migrate deprecated jQuery 1.x functions
2016-04-20 20:38:38 +02:00
Christoph Wurst
6c5696d3a8
filter hidden files on the web interface
...
add checkbox to toggle show/hide hidden files
persist show hidden setting
fix settings menu layout
test ApiController::showHiddenFiles
don't show hidden files by default
Store config in Backbone model and inject it into FileList
Filter files only temporarily when rending the file list
Fix file rename validation
2016-04-19 16:08:56 +02:00
Christoph Wurst
05d203a989
replace $.parseJSON() by JSON.parse()
2016-04-19 15:06:42 +02:00
Christoph Wurst
37530f27f0
migrate jQuery.fn.unload()
2016-04-19 12:05:09 +02:00
Thomas Müller
63a385d2b8
Merge pull request #23933 from owncloud/remember-file-sorting
...
remember file sort order
2016-04-15 14:06:21 +02:00
Christoph Wurst
576f7244e6
fix default value, update js/php tests
2016-04-13 14:25:23 +02:00
Christoph Wurst
a4683bcfa9
persist file sorting changes
2016-04-13 11:28:42 +02:00
Christoph Wurst
3f492dd826
load file sorting mode from the db
2016-04-13 11:28:42 +02:00
Christoph Wurst
4d02233faa
restore selection after re-rendering file rows
2016-04-13 11:20:26 +02:00
Joas Schilling
bba28590b7
Remove xxx from ownCloud we dont want to see that 🙈
2016-04-07 12:18:44 +02:00
Jan-Christoph Borchardt
a8a98d42cb
improve emptycontent styles
2016-03-31 15:31:04 +02:00
Erik Pellikka
50655cbf7f
sidebar click modification
2016-03-24 11:57:40 +01:00
Lukas Reschke
f8ae1bb36e
Disable pastezone for jquery.fileupload
...
jquery.fileupload offers the [`pastezone`](https://github.com/blueimp/jQuery-File-Upload/wiki/Options#pastezone ) functionality. This functionality is enabled by default and if somebody copy-pastes something into Chrome it will automatically trigger an upload of the content to any configured jquery.fileupload element embedded in the JS.
This implementation triggers some problems:
1. The pastezone is defined globally by default (🙈 ). So if there are multiple fileupload's on a page (such as in the personal settings) then stuff is going to be uploaded to all embedded uploads.
2. Our server code is not able to parse the data. For example for uploads in the files app we expect a file name which is not specified => Just an error is thrown. You can reproduce this by taking a file into your clipboard and in Chrome then pressing <kbd>CTRL + V</kbd>.
3. When copy-pasting some string from MS Office on the personal page a temporary avatar with said content is created.
Considering that this is anyways was never working at all and causes bugs I've set the `pastezone` to `null`. This mens that upload via copy and paste will be disabled.
Lesson learned: Third-party JS libraries can have some weird details.
2016-03-22 20:28:57 +01:00
Pellaeon Lin
48430d4481
Handle case when breadcrumb and filelist item overlap
...
and both receive a drop.
Build breadcrumb over and out callback in filelist.js and
pass them as options to utilize local selectors of filelist
Re-enable td elements after drop to bread crumb
Fix# drop handler still being called after enable,
it seems that waiting for a short time before re-enabling solves the
problem
* Add explanations for setTimeout re-enable td.filename drop handler
2016-03-17 10:20:57 +01:00
Thomas Müller
fe3ffcbfc3
Merge pull request #23026 from stweil/master
...
apps/files: Fix typos in comments (found and fixed by codespell)
2016-03-09 16:43:05 +01:00
Stefan Weil
692f312513
apps/files: Fix typos in comments (found and fixed by codespell)
...
This contribution is AGPL and MIT licensed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-09 15:14:05 +01:00
Morris Jobke
52f02fe93e
Remove disabled autocorrect for new file names
...
* ref #22784
2016-03-09 08:38:05 +01:00
Thomas Müller
46af7db3e3
Merge pull request #22785 from owncloud/trash-returnfalseon401
...
Return false on 401 in file list + trash file list
2016-03-07 14:41:31 +01:00
Vincent Petry
3a36163e91
Fix download spinner to work with CSS styles
...
A recent change replaced img elements with CSS icons for file actions.
This fix adjusts the logic to work properly with CSS icons instead of
images.
2016-03-04 10:48:08 +01:00
Vincent Petry
dbdf2173ac
Return false on 401 in file list + trash file list
...
This gives a chance to the global ajax error handler to do its work if
the session expired.
2016-03-03 09:09:30 +01:00
Vincent Petry
5676216e56
Remove browser autocomplete in new file menu
2016-03-02 17:10:29 +01:00