Robin Appelman
951ff0897c
hint global handlebars
2016-07-08 12:35:33 +02:00
Morris Jobke
beae00a5e5
Simplify test code and don't show anything if no date is set
2016-07-07 15:10:04 +02:00
Morris Jobke
059cc1f22e
Update header during update callback
2016-07-07 15:10:03 +02:00
Morris Jobke
c809db86f5
Not set expiration date is represented as 0
2016-07-07 15:10:03 +02:00
Morris Jobke
ab3c8d4de9
add "Never" if expiration date is not set
2016-07-07 15:10:03 +02:00
Morris Jobke
b5dea82e45
Add expiration date to share by link view
2016-07-07 15:10:03 +02:00
Arthur Schiwon
ca43c49709
smaller files drop fixes
...
* fix infinite spinner on blacklisted files
* move HTML to template
* indentation
2016-06-11 15:15:37 +02:00
Lukas Reschke
54e2ac5713
Add text about uploaded files
2016-06-10 14:47:40 +02:00
Lukas Reschke
c49402d266
Add some error handling
2016-06-09 21:44:54 +02:00
Lukas Reschke
e878e786e0
Fix public upload for normal shares
2016-06-09 18:12:58 +02:00
Lukas Reschke
6e99b0f59d
Make uploading possible via select and cleanup CSS
2016-06-09 17:55:26 +02:00
Lukas Reschke
5fdde426eb
Add fancy layout
2016-06-09 17:55:26 +02:00
Bjoern Schiessle
bb54ab0db8
add hide file list option
2016-06-09 15:15:17 +02:00
Piotr Filiciak
df59c5d1ee
bug fix
2016-05-24 12:43:43 +02:00
Piotr Filiciak
11b2e98a30
video poster
2016-05-24 12:34:37 +02:00
Piotr Filiciak
53437ecced
Fix: Bugs in shared link with video #24331
2016-05-15 15:41:02 +02:00
Björn Schießle
e10105474f
move federated sharing settings to the federatedfilesharing app
2016-04-22 14:55:40 +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
Stefan Weil
16df1c5188
apps: Fix typos (found by codespell) ( #23862 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-12 12:52:51 +02:00
Erik Pellikka
73d5889c5d
add loading spinner to add to owncloud input field
...
Update public.js
Update public.js
2016-04-07 04:33:46 -04:00
Vincent Petry
a9aa39efbf
Fix displaying owner before share icon in file list
...
Initial display of owner was missing
2016-03-30 18:09:02 +02:00
Vincent Petry
9ee1f506f2
Return remote shares in oc:share-types Webdav property
...
Fixes web UI to properly display the share status icon when an outgoing
remote share exists
2016-03-24 12:16:57 +01:00
Vincent Petry
f778e48ee5
Add webdav property for share info in PROPFIND response
2016-03-17 15:35:21 +01:00
prastut
7e52aac771
Public link share disabled if password length is equal to 0
2016-03-08 04:25:35 +05:30
Vincent Petry
dbea268332
Remove "files" arg from download URL in public link page
...
When no files were specified for download, it means folder download.
In this case, no need to pass an empty "files" argument.
2016-03-07 11:55:55 +01:00
Roeland Jago Douma
92cff0984d
Make file actions use icon CSS classes
...
This makes theming of file actions possible
2016-02-25 22:49:52 +01:00
Roeland Jago Douma
a823485638
Reload list of shares on directory change
2016-02-11 11:06:26 +01:00
Vincent Petry
f79fafcf06
Revert back to non-webdav download link for public URLs
...
Fixes issues with browsers not happy with the token.
Fixes activities which were not sent.
2016-02-10 19:09:52 +01:00
Joas Schilling
75d552b29e
Listen to the notification event to reload the file list
2016-02-10 08:40:45 +01:00
Roeland Jago Douma
4bb96a5553
Construct valid URL
2016-02-03 11:29:36 +01:00
Vincent Petry
9742e9b113
Add token in webdav download link of public page
2016-01-07 13:37:18 +01:00
Thomas Müller
1ecda59c24
Merge pull request #21189 from owncloud/fix_21187
...
File shares can't have create permissions
2015-12-15 13:18:22 +01:00
Björn Schießle
c4b65170f2
show display name but internally use the user name
2015-12-14 17:25:10 +01:00
Roeland Jago Douma
843cf906b1
File shares can't have create permissions
...
fixes #21187
2015-12-14 14:03:14 +01:00
Thomas Müller
00b592f2a6
Merge pull request #20581 from owncloud/public-page-preview-hidpi-scale
...
Fix hidpi previews on public page
2015-12-07 10:23:58 +01:00
Thomas Müller
fd79511d68
Merge pull request #20688 from owncloud/publiclink-getdownloadurl-webdav
...
Fix public link getDownloadUrl to return Webdav public link
2015-11-30 15:07:36 +01:00
Vincent Petry
42091cecf9
Fix public link getDownloadUrl to return Webdav public link
...
This is for apps that use getDownloadUrl() to access the Webdav endpoint
for example for streaming.
Also happens when clicking on the download action of a file.
Note that the regular visible download URL is still the same.
2015-11-25 17:39:49 +01:00
Thomas Müller
6ce6e27560
Merge pull request #20595 from owncloud/fix-double-slashes
...
Avoid double slashes in URL when trying to add an remote share
2015-11-24 16:04:03 +01:00
Vincent Petry
ec3166742b
Properly join path sections
...
This prevents double slashes that can mess up path comparisons in some
cases.
2015-11-22 16:05:51 +01:00
Vincent Petry
21da6271a8
Parse share owner from Webdav to display in UI
2015-11-22 16:05:50 +01:00
Vincent Petry
f20232d4bd
Make public link share page work with Webdav and add operations
...
The public page now uses the public.php/webdav endpoint.
Also enabled more file operations like rename, move, delete and create
folder from the public page, which are now all possible thanks to the
public.php/webdav endpoint.
2015-11-22 16:05:50 +01:00
Vincent Petry
fa2be0750c
Make files app use Webdav for most operations
2015-11-22 16:05:50 +01:00
blizzz
5d2e1268cd
Avoid double slashes in URL when trying to add an remote share
...
When being on a link share and clicking "Add to your ownCloud" a double slash might be inserted in the URL if the entered ownCloud host ended with a slash. Results in a server error.
2015-11-18 22:48:35 +01:00
Robin Appelman
ee87f12c09
Fix hidpi previews on public page
2015-11-18 16:45:19 +01:00
Vincent Petry
dcfaf3afdc
Bring back delete permission in share overview
2015-10-29 17:56:54 +01:00
Thomas Müller
774d069ff0
Merge pull request #20122 from owncloud/files-consolidateiconupdate
...
Fix icon update to be more consistent
2015-10-29 15:40:15 +01:00
Vincent Petry
9c9158e6b7
Fix icon update to be more consistent
...
Makes the details bar show the same icon as in the list.
2015-10-29 12:59:51 +01:00
Vincent Petry
f24386c491
Fix file list reload callback result
...
All reloadCallback must return either true for success or false in case
of failure / non-existing folder.
Some file lists only have a root folder (favorite, shares), so restrict
the path to that to avoid having a wrong path in the breadcrumbs.
2015-10-27 11:51:54 +01:00
Hendrik Leppelsack
480a005b47
fix pagination on public file list
2015-10-20 16:11:10 +02:00
Roeland Jago Douma
4adc78b78b
Fix and extend unit tests
2015-10-02 12:45:52 +02:00
Roeland Jago Douma
40dd2d9dbe
More fileinfo
2015-10-02 12:45:52 +02:00
Roeland Jago Douma
eeafccb3a6
Start to show remote shares in shared with you section
2015-10-02 12:45:47 +02:00
Thomas Müller
d6e3195b38
Merge pull request #19421 from owncloud/fix_19382
...
Do noy allow empty urls to be submitted in "add to your owncloud"
2015-09-30 22:17:18 +02:00
Morris Jobke
2d1214d21d
adjust style of disabled button
2015-09-30 15:28:28 +02:00
Roeland Jago Douma
08fd4b38f8
Do noy allow empty urls to be submitted in "add to your owncloud"
...
Fixes #19382
2015-09-30 13:55:13 +02:00
Morris Jobke
1051a3c6f5
Change small thumbnails to 32 px
...
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
2015-09-30 10:49:48 +02:00
Vincent Petry
d47d240a35
Still show share link when recipient but no share permission
...
This makes it possible for the recipient to still trigger the sidebar
and share tab to see information about the share.
In the case where the file is not shared and no permissions exists, no
action icon will be displayed.
2015-09-28 16:23:33 +02:00
Vincent Petry
5e4a52d3c2
Fix tabs order in files sidebar
2015-09-28 12:30:12 +02:00
Olivier Paroz
46475b8114
Switch from Math.floor() to Math.ceil() when sending the dimension to Preview
...
Fixes #18203
2015-09-27 12:46:25 +02:00
Olivier Paroz
04b14df35c
Fix preview of old file on public upload conflicts
2015-09-20 12:38:21 +02:00
Vincent Petry
996639f4fb
More unit tests for share dialog
2015-09-16 07:23:29 +02:00
Vincent Petry
886f1ed660
Update JS unit tests for share dialog (WIP)
2015-09-16 07:23:29 +02:00
Vincent Petry
e90065881d
Bring back the share icon and update its status
...
Display share icon in file list row.
Update share icon status when the sharing state changed.
2015-09-16 07:23:28 +02:00
Arthur Schiwon
6d832359b6
fix allow upload checkbox appeareance
2015-09-16 07:23:28 +02:00
Arthur Schiwon
5fad379bf1
remove obsolete file action
2015-09-16 07:23:27 +02:00
Arthur Schiwon
ce1b0c650e
show link share
2015-09-16 07:23:27 +02:00
Vincent Petry
f709022559
Fix share permissions for share tab
2015-09-16 07:23:26 +02:00
Vincent Petry
018d07b3e5
Add share dialog into share tab
2015-09-16 07:23:26 +02:00
Lukas Reschke
ac7d2efbe3
Collapse HTML code for federated code
2015-09-03 11:57:48 +02:00
Vincent Petry
e2549fa660
Improve right sidebar tabs behavior
...
Tab heads are not rendered if only one tab.
The tab contents is updated on-demand. This means that if a tab is not
visible it is not rendered at first. If the tab was already rendered
through switching, its model will not get updated until the next time it
becomes visible. This will prevent needless rerendering of invisible tab
contents, especially considering that some tabs might need extra ajax
requests.
2015-08-14 16:51:04 +02:00
Vincent Petry
c964eff17b
Make file actions work from sidebar
...
The favorite icon in the sidebar now triggers the file action and also
updates itself according to the model's state when triggered from the
file row.
The thumbnail triggers the default action.
Currently only one FileInfoModel is used for the selection and state
synchronization between views.
FileList reload now auto-closes the sidebar.
2015-08-12 17:30:20 +02:00
Vincent Petry
9acbb3e902
Remove share action display name
2015-08-10 14:13:43 +02:00
Vincent Petry
ca34921cdf
Implement file actions dropdown
...
File actions now have two types "inline" and "dropdown". The default is
"dropdown".
The file actions will now be shown in a dropdown menu.
2015-08-10 14:12:34 +02:00
Vincent Petry
b6192db610
Disable right sidebar in public file list page
2015-08-07 01:22:43 +02:00
Vincent Petry
ad90ba27cd
Styling fixes + hightlight in files sidebar
...
Sidebar scrolls with contents
Highlight currently show file
2015-08-07 01:22:43 +02:00
Vincent Petry
ff614a7dbd
More fixes to the right sidebar
...
Sidebar now works in all file list views.
Moved owner to share tab.
2015-08-07 01:22:43 +02:00
Vincent Petry
12e5f310dd
Improved right sidebar
...
Added owner info.
Added animation, but causes scrollbal.
Default file action now when clicking on name directly.
Fixed icon.
Added empty share tab.
2015-08-07 01:22:42 +02:00
Roeland Jago Douma
868bc421cb
Share app no longer use the OCS API icon
...
Switch to new javascript mimetype resolver
2015-07-06 16:32:15 +02:00
Morris Jobke
9da10788bc
Merge pull request #17349 from owncloud/share-onlyshowstaticownerifavailable
...
Do not show static share owner if not available
2015-07-03 09:31:40 +02:00
Vincent Petry
71ae96bb56
Do not show static share owner if not available
...
In some corner cases, an outgoing share exists but sharing is not
allowed for the current user. This would cause the file list to break
because the static text could not be rendered as the owner was
undefined.
2015-07-02 16:38:20 +02:00
Vincent Petry
e65034e4bc
Do not register JS share plugin if core sharing API is disabled
2015-07-02 14:56:33 +02:00
Björn Schießle
7a0917e5b2
Merge pull request #16692 from owncloud/add_social_media_buttons
...
Add social media buttons
2015-06-18 14:41:58 +02:00
Bjoern Schiessle
ac9733a8b8
make the click actions work
2015-06-17 13:53:59 +02:00
Bjoern Schiessle
06d0a41915
add social media button for diaspora, twitter, facebook and google+
2015-06-17 13:53:59 +02:00
Olivier Paroz
7b84343cfc
floats are not welcome when setting the size of a preview
2015-06-12 18:56:18 +02:00
Olivier Paroz
8ff4a66f01
Determine the size we need before asking for a thumbnail
...
We need to set the size of the preview using the devicePixelRatio and use that as arguments when using the preview endpoint or that endpoint will use the default 36x36 and thumbnails will be blurry on high DPI devices
2015-06-12 18:50:21 +02:00
Espen Fjellvær Olsen
308b97db4c
Fix regression in preview height calculation
...
Fix regressions introduced in a672e9d
regarding the image height calculation
2015-06-08 20:57:19 +02:00
Vincent Petry
2daef7c7dc
Fallback to picture preview for IE <= 9
...
IE 9 and below do not provide window.btoa and there is currently no way
to generate base64 strings without introducting further dependencies.
So for now the solution is to fall back to the ugly picture mode for
text files whenever IE <= 9 is used.
2015-05-28 15:36:28 +02:00
Vincent Petry
f7a2b5e7a9
Added unit tests for download URL in public sharing page
2015-05-19 17:41:06 +02:00
Lukas Reschke
07483033c1
Fix URL generation
...
`params` in the `OC.generateUrl` function call only replaces all specified occurences of a key just like the l10n PHP functionality does.
This means that to build a query string we have to use `OC.buildQueryString` instead of the params parameters.
Fixes https://github.com/owncloud/core/issues/16336 which is a regression introduced with 58a87d0bab
of https://github.com/owncloud/core/pull/15652 .
Without this fix downloading single files from a public shared folder is not possible.
2015-05-19 15:12:08 +02:00
Morris Jobke
b1713b2f75
Enable file icons & previews in "Shared ..." categories
...
* sharing API returns now the mimetype icon path
* file previews are now lazyloaded by default (as the doc says)
* fixes #16086
2015-05-06 18:32:52 +02:00
Olivier Paroz
0729fc2fbc
Remove overflow+watermark
2015-04-23 18:19:34 +02:00
Olivier Paroz
58a87d0bab
Use authorization headers for better compatibility
...
+ add ellipsis
+ fix OC.generateUrl calls
2015-04-23 18:19:29 +02:00
Olivier Paroz
a968877a8b
An idea to suggest that this is just a sample of the full text
2015-04-23 18:19:21 +02:00
Olivier Paroz
530c290555
Use webDAV to have access to HTTP byte ranges
2015-04-23 18:19:17 +02:00
Olivier Paroz
e113d67430
Cache the token value
2015-04-23 18:19:12 +02:00
Olivier Paroz
8d3f88cf16
Show a text preview instead of a bitmap preview of text
...
+ fix the preview height
2015-04-23 18:19:07 +02:00
Vincent Petry
53a23364ef
Added empty content message for empty read-only folders
2015-04-21 14:31:13 +02:00
Jan-Christoph Borchardt
65dc958418
add admin documentation hints to Federated Cloud Sharing and cron
2015-04-09 12:07:05 +02:00
Morris Jobke
87b39e8f03
Merge pull request #13525 from owncloud/s2s-fixscanfileforbrokenstorage
...
Catch storage exception in scanner for remote shares
2015-01-28 00:31:37 +01:00