aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Added empty content message for empty read-only foldersVincent Petry2015-04-211-0/+7
|
* show animated gifs on public sharing pageGeorg Ehrke2015-01-191-1/+11
|
* Download the current public folder onlyOlivier Paroz2015-01-141-1/+6
| | | | | | | From within a shared/public directory, when drilling down folders, some users want to be able to download what they're currently looking at, not the whole shared folder. The whole archive is always a click away anyway since a user can click on the home button.
* Check for version before mounting a public linkMorris Jobke2015-01-051-1/+1
| | | | | | * ownCloud 7.0.0 is needed - version of merge of server <-> server sharing - https://github.com/owncloud/core/pull/8399 * adjust error message
* add empty alt text to decorative preview of public share imageJan-Christoph Borchardt2014-12-181-1/+1
|
* Simple Plugin system for JavascriptVincent Petry2014-12-011-0/+4
|
* Refactor file sharing public link handlingLukas Reschke2014-11-141-10/+5
| | | | | | | fixes download issue introduced by #10755 Conflicts: apps/files_sharing/public.php
* Improved Javascript docs for JSDocVincent Petry2014-10-311-0/+8
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* Fix SVG iconsLukas Reschke2014-10-161-1/+1
| | | | | | | | | | | | FIXME: Ugly hack to prevent SVG of being returned if the SVG provider is not enabled. This is required because the preview system is designed in a bad way and relies on opt-in with asterisks (i.e. image/*) which will lead to the fact that a SVG will also match the image provider. Conflicts: lib/private/preview.php
* Use SVG previews for public sharingLukas Reschke2014-09-301-11/+20
| | | | Fixes https://github.com/owncloud/core/pull/11367#issuecomment-57306037 and https://github.com/owncloud/core/issues/9218
* fix tiny thumbnails in public preview/share modeDan Jones2014-08-061-0/+1
|
* use icon-confirm instead of text for accepting remote share, works better ↵Jan-Christoph Borchardt2014-07-041-1/+1
| | | | with translations
* Merge pull request #9245 from owncloud/server2server-sharing-design-fixesMorris Jobke2014-07-021-1/+0
|\ | | | | drop unneeded code
| * drop unneeded codeMorris Jobke2014-06-271-1/+0
| |
* | Allow late registration of file actions in public pageVincent Petry2014-06-271-0/+4
|/
* Fixed uploading by drag and drop into folderVincent Petry2014-06-191-1/+1
|
* organize js a bit betterRobin Appelman2014-06-171-37/+41
|
* Fix prompting for passwordRobin Appelman2014-06-141-15/+16
|
* Add interface for adding a public share to a different ownCloud instanceRobin Appelman2014-06-141-0/+36
|
* Dont overwrite OCA.SharingRobin Appelman2014-06-051-1/+3
|
* Sharing overview fixes and unit testsVincent Petry2014-05-301-1/+4
| | | | | | | | | | | | - Fixed renaming and fileActionsReady event - Added unit tests for shares list - Fixed public page with defer - Fixed file actions in sharing overview - Fixed sharing counterpart list (10 entries max) - Fixed file path attribute to be used in download action - Fix sharing list headers - OC.Share icons now operate on fileList instance - Fix OC.Share.updateIcon when more than one list in DOM
* Distinguish legacy file actions from regular file actionsVincent Petry2014-05-301-5/+13
| | | | | | | | | | | | | | Legacy file actions are registered by legacy apps through window.FileActions.register(). These actions can only be used by the main file list ("all files") because legacy apps can only deal with a single list / container. New file actions of compatible apps must be registered through OCA.Files.fileActions. These will be used for other lists like the sharing overview. Fixed versions and sharing actions to use OCA.Files.fileActions, which makes them available in the sharing overview list.
* Dont scale up the preview for publicly shared imagesRobin Appelman2014-05-221-1/+2
|
* Fixed JS issues in public pageVincent Petry2014-05-201-15/+20
| | | | | - fixed subdir detection when uploading into subdir - add class detection before overriding to avoid JS errors
* Fixed many issues, clean upVincent Petry2014-05-151-2/+24
| | | | | | | | | | | | | | | - fixed upload and storage statistics - fixed infinite scroll to use the correct contain for scroll detection - fixed unit test that sometimes fail for rename case - controls are now sticky again - fixed selection overlay to be aligned with the table - fixed "select all" checkbox that had id conflicts - fixed public page - fixed global actions permissions detection - fix when URL contains an invalid view id - viewer mode now hides the sidebar (ex: text editor) - added unit tests for trashbin - clean up storage info in template (most is retrieved via ajax call now)
* Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-151-72/+119
| | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
* load image via javascript and use $(document).width() to determine the ↵Thomas Müller2014-05-021-44/+62
| | | | proper side of the image to be returned
* drop folder support on public shared foldersThomas Müller2014-04-111-1/+7
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-33/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* Do not send file list for select all on Download/deleteVincent Petry2014-02-131-5/+25
| | | | | | | | - When all files are selected, do not send the whole file list - Download will trigger download for the parent folder, also works with root - Delete will send "allfiles" to the server that will find the file list or the passed directory by itself
* merge master into mobile-styleJan-Christoph Borchardt2014-01-291-9/+7
|\
| * Fixed download URL in public pageVincent Petry2014-01-241-9/+7
| | | | | | | | | | | | | | - Refactored download URL building to make it overridable - Added download URL override in public page - Added JS unit tests for download URL - Added OC.redirect() method to facilitate unit testing
* | Instead of 'No preview available for ...' we simple display the mieme-type iconThomas Müller2014-01-231-8/+1
| |
* | focus link text only on click in the input field - closes #6817Thomas Müller2014-01-231-1/+4
| |
* | Merge branch 'master' into mobile-styleThomas Müller2014-01-231-3/+3
|\| | | | | | | | | | | | | | | Conflicts: apps/files/js/files.js apps/files_sharing/css/public.css apps/files_sharing/js/public.js apps/files_sharing/templates/public.php
| * Merge pull request #6719 from tripflex/fix_pubup_progbarMorris Jobke2014-01-221-1/+2
| |\ | | | | | | Fix public upload progress bar
| | * modify js to move upload wrapper, modify css to match core valuesMyles McNamara2014-01-101-1/+2
| | |
| * | Fixed various file name escaping issues in core appsVincent Petry2014-01-101-3/+3
| |/ | | | | | | | | | | | | - Refactored file tr lookup into FileList.findFileEl that uses filterAttr to avoid escaping issues in jQuery selectors - Fixed versions and sharing app to properly escape file names in attributes
* / remove unused js code and css rulesThomas Müller2014-01-151-11/+0
|/
* Added direct link in public share pageVincent Petry2013-10-181-0/+2
| | | | Fixes #1167
* Merge branch 'master' into fix_3728_with_file_exists_dialogJörn Friedrich Dreyer2013-09-171-12/+11
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/css/files.css apps/files/js/file-upload.js apps/files/js/filelist.js apps/files/js/files.js apps/files_sharing/js/public.js core/js/jquery.ocdialog.js core/js/oc-dialogs.js
| * refactor upload js & html to always use only js to fill form dataJörn Friedrich Dreyer2013-09-131-14/+13
| |
* | Merge branch 'master' into fix_3728_with_file_exists_dialogJörn Friedrich Dreyer2013-09-041-4/+4
|\| | | | | | | | | | | | | | | | | Conflicts: apps/files/ajax/upload.php apps/files/js/file-upload.js apps/files/js/filelist.js apps/files/js/files.js apps/files/templates/part.list.php
| * Merge branch 'master' into oc_previewGeorg Ehrke2013-08-231-3/+3
| |\
| | * Fix a syntax error & have if-conds in an own linekondou2013-08-011-1/+1
| | |
| | * Fix some JSLint warningskondou2013-07-311-4/+4
| | |
| * | fix js errorGeorg Ehrke2013-08-071-1/+1
| | |
| * | implement previews of single shared filesGeorg Ehrke2013-08-071-1/+1
| |/
* / progress fixesJörn Friedrich Dreyer2013-08-161-2/+5
|/
* adding tipsy to the upload button showing the max upload and restoring ↵Thomas Müller2013-07-051-0/+2
| | | | client side upload size validation