summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
Commit message (Collapse)AuthorAgeFilesLines
* Better styling of the empty content messages in the sidebarJoas Schilling2017-03-281-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge JS for files_versionsLukas Reschke2017-03-241-0/+6
| | | | | | Shaves off 3 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* added quit option in commentstabview.jsnoveens2017-03-231-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add icon if no versions are availableBjoern Schiessle2016-12-021-2/+6
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix js testsRoeland Jago Douma2016-11-291-3/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show mimeicon when versions don't have a previewRoeland Jago Douma2016-11-292-3/+47
| | | | | | Fixes #2413 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Display changes in file versions tab view and detailsView (#26511)Michael Jobst2016-11-141-0/+17
| | | | | | | | | | | * Display changes in file versions tab view and detailsView * versions tab enhancements enhanced js test file removed css superscript attribute for version size * Replaced spaces with tabs
* Use live timestamps in the versions tab of the sidebarJoas Schilling2016-09-011-1/+2
|
* hint global handlebarsRobin Appelman2016-07-081-0/+2
|
* Hide revert button when no permission to revertVincent Petry2016-06-281-0/+6
|
* Fix tooltip for versions mtimeVincent Petry2016-03-021-1/+3
| | | | It was missing a call to jquery.tooltip
* Use full path of known file when handling versionsVincent Petry2016-02-101-1/+2
| | | | | Instead of relying on the versions API response, use the known file path when populating version models.
* Reload versions list after revertVincent Petry2015-10-012-2/+13
|
* Hide sidebar tab headers conditionallyVincent Petry2015-09-281-0/+12
| | | | | Added canDisplay() in DetailsTabView that should return false if the tab header of this tab must be hidden
* Fix tabs order in files sidebarVincent Petry2015-09-282-1/+2
|
* fix sidebar Versions layoutJan-Christoph Borchardt2015-09-171-2/+1
|
* Add versions tab to files sidebarVincent Petry2015-09-035-193/+400
| | | | | | | - move versions to a tab in the files sidebar - added mechanism to auto-update the row in the FileList whenever values are set to the FileInfoModel given to the sidebar - updated tags/favorite action to make use of that new mechanism
* adjust animations of Share, Versions and others to OC.menuSpeedJan-Christoph Borchardt2015-03-261-3/+4
|
* Improved Javascript docs for JSDocVincent Petry2014-10-311-0/+2
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* Update the modified date in UI on file reversiongeez0x12014-06-171-1/+1
|
* Distinguish legacy file actions from regular file actionsVincent Petry2014-05-301-3/+3
| | | | | | | | | | | | | | 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.
* Added "dir" in file actions handler context and fixed versionsVincent Petry2014-05-301-12/+21
| | | | | | | | | Added "dir" in file actions handler context so that handlers can know what the path of the file was without having to look it up from the file list. Fixed versions app to use the context.dir instead of the old $('#dir') element. This makes the versions popup work in the sharing overview.
* additional class is added to the file actions called e.g. 'action-share', ↵Thomas Müller2014-03-171-1/+2
| | | | | | 'action-rename' in order to allow proper translations of the action's display name an additional parameter has been added to the register function
* Fixed various file name escaping issues in core appsVincent Petry2014-01-101-8/+8
| | | | | | | - 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
* Revert "[fix] Center Share Dropdown & Versions Dropdown"zombiehugs2013-12-031-1/+1
| | | | This reverts commit 1dbbfcf3dcd4de7f31344244b9f22217e4bfba72.
* [fix] Center Share Dropdown & Versions Dropdownzombiehugs2013-12-031-1/+1
| | | | Center Share Dropdown & Versions Dropdown
* Merge pull request #5214 from owncloud/no_extra_slashesFrank Karlitschek2013-11-141-1/+1
|\ | | | | Don't double-slash filenames at the root.
| * Don't double-slash filenames at the root.ringmaster2013-10-081-1/+1
| | | | | | | | | | Replace either the end of the dir string that isn't preceded by a slash or the slash at the end of the dir string with a slash and the filename. This prevents the root directory from ending up as two slashes, which breaks files_versions on Windows servers. See #4079 for an explanation.
* | Disable versions app JS in public modeVincent Petry2013-10-171-0/+7
|/ | | | | | | Since the version JS code isn't used in public link mode, disable it to prevent Chrome freezing bugs due to the t() call being synchronous. Fixes #4545
* add previews to versions dialogBjoern Schiessle2013-10-021-1/+3
|
* Merge branch 'master' into fix_jslint_kondoukondou2013-08-181-6/+2
|\ | | | | | | | | Conflicts: apps/files/js/file-upload.js
| * remove unused code; use jqueryBjörn Schießle2013-07-251-6/+2
| |
* | Fix some JSLint warningskondou2013-07-311-5/+5
|/
* new version drop downBjörn Schießle2013-07-251-66/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 0dc404a557fa8253e3a87c7babefba6de8e6dab5 Author: Björn Schießle <schiessle@owncloud.com> Date: Thu Jul 25 10:26:48 2013 +0200 fix 'more versions' button for IE8 commit 5836e652857204d68dfdfa8b3318de8e2fe02493 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 16:56:46 2013 +0200 clean-up some unused code commit ac83e53fa24073783a165796fc3016dc7beca293 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 16:49:03 2013 +0200 fix order of the versions, newest version should come first commit f150a88843af316ff505728941287406f25a0751 Merge: bc713c7 b8e399b Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 16:19:36 2013 +0200 Merge branch 'new_versions_dropdown' of github.com:owncloud/core into new_versions_dropdown commit bc713c7b0c3207d00d2f19b10a905a82724c0709 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 16:11:07 2013 +0200 fix position of more versions button commit b8e399b1754ae7656c3cb8cef2c53f6976a83d61 Merge: 24825b0 7b6e39d Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 16:04:08 2013 +0200 Merge branch 'new_versions_dropdown' of github.com:owncloud/core into new_versions_dropdown commit 24825b02004efa953197e72b470b9b033030aeee Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 16:02:53 2013 +0200 umark previous row if a new row gets selected commit 7b6e39d2939f1b3bba4fff37ca9087dbc7795f03 Merge: 5bfb0ac 7b54644 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 15:37:19 2013 +0200 Merge branch 'new_versions_dropdown' of github.com:owncloud/core into new_versions_dropdown commit 5bfb0ac5c102bdfd3b27a37cea8c792f69b3b803 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 15:37:09 2013 +0200 more style adjustments for version dropdown commit 7b54644d3036ffba448f0525ca09f6e8898b9950 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 15:12:53 2013 +0200 remove debug output commit a75662bcfdce34d4f14020a539172c7ef1b894d3 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 15:12:26 2013 +0200 reword Revert to Restore commit e784644daeac12bc6fa6844f24214a039266ae86 Merge: d07abfd 9978c96 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 15:00:11 2013 +0200 Merge branch 'new_versions_dropdown' of github.com:owncloud/core into new_versions_dropdown commit d07abfdbb49778a8be30b2a6adbe326e1b1f238f Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 14:59:17 2013 +0200 if another drop-down is already open, always close it first commit 9978c967a6ecbd2d0e5003df3cf4cdba09dab468 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 14:49:47 2013 +0200 more style improvements for versions commit a13355f16e6172c02069930a60a49aba4ebfa227 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 14:44:13 2013 +0200 position fixes for versioning commit 02c1d6b5eabc4075749c2a7a852c9ed7bbb3644d Merge: c5a9462 203f544 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 14:31:16 2013 +0200 merge versions style changes commit c5a946231a3d011748248db13b6b95ce51eb3e4c Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 14:29:56 2013 +0200 bigger clickable area for versions commit 203f544825bd49b168f2316cf2a04caca75438c8 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 14:15:38 2013 +0200 changes visual changes, as suggested by Jan commit 90b1e93676d235a61f318768661b25e5815a9784 Author: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed Jul 24 14:12:23 2013 +0200 remove superfluous selector from ID commit 9768254fe3b2469293fca23151e54cde69bd4661 Merge: c961278 b91c682 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 12:28:06 2013 +0200 Merge branch 'master' into new_versions_dropdown commit c9612781e10a4de9e9405244f87c4e29428a0d3f Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 11:05:25 2013 +0200 replace modal dialog with a OC.Notification commit 3dc7508a4c271818247afbaed0ce0b03706a8db6 Author: Björn Schießle <schiessle@owncloud.com> Date: Wed Jul 24 10:33:05 2013 +0200 use image path without extension for proper svg to png fallback commit 23ea7ad46c73fa4b86021070eb58a3b92bc8362e Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 17:53:58 2013 +0200 some css fixes commit 8d01499ae17e43a7d7960841a7c2127fa6de5a56 Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 17:40:16 2013 +0200 small fixes and improvements according to @Kondou-ger comments commit 985b6461e81035967959659fab8ea59c733e00eb Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 15:58:19 2013 +0200 replace == with === commit bc8fc3b4a664db2d819e0a7091f31207ffcfe44a Merge: c1da183 a94c55b Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 13:55:45 2013 +0200 Merge branch 'master' into new_versions_dropdown commit c1da183d13b8098eb33e708d4fdd04111bdc33a5 Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 13:53:37 2013 +0200 translate timestamps into strings like "X minutes ago" for the versions drop-down commit c78d2b4bfb0a6800ab8516ac115ba42268be019a Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 12:52:44 2013 +0200 download versions directly from the versions drop-down commit 14aaf9907625fc76bc153cd846704b7efd15db46 Author: Björn Schießle <schiessle@owncloud.com> Date: Tue Jul 23 11:01:21 2013 +0200 only show 'more versions' button of necessary commit a0d8cb46b2255be3d9b3f9bd5f835a173c9665b8 Author: Björn Schießle <schiessle@owncloud.com> Date: Mon Jul 22 17:49:17 2013 +0200 remove unneeded code commit 47eec0679ce16ece0b7890e9b41bf28d7613b131 Author: Björn Schießle <schiessle@owncloud.com> Date: Mon Jul 22 17:44:58 2013 +0200 add title for revert and download action commit df87ccb24327b5c2770f7c23c97e41b143d65ec3 Author: Björn Schießle <schiessle@owncloud.com> Date: Mon Jul 22 17:36:40 2013 +0200 add download button to versions drop-down commit 622c87ec37c14b7b3237bc9ca980b7f35689a933 Author: Björn Schießle <schiessle@owncloud.com> Date: Mon Jul 22 17:36:08 2013 +0200 adapt css file for the new versions drop-down commit 300699024fe74a9f0f998c1cce4024484311f50c Author: Björn Schießle <schiessle@owncloud.com> Date: Fri Jun 7 17:28:34 2013 +0200 revert on click commit 6673ae6ed45bbda1e0d962e9b32e943afc7123c0 Author: Björn Schießle <schiessle@owncloud.com> Date: Fri Jun 7 16:50:08 2013 +0200 new versions list, show the latest 5 with a button to retrieve more versions if needed
* Fix window.location mistakes in previous codemaelzx2013-02-281-1/+1
| | | | | Sorry guys, I commit the incomplete code. It should be window.location.assign(url); However this is just tested in google chrome.
* rename History to VersionsBjörn Schießle2013-02-271-2/+2
|
* remove admin settings for versionsBjörn Schießle2013-02-271-10/+0
|
* Whitespace fixesBart Visscher2013-02-221-2/+2
|
* Update apps/files_versions/js/versions.jsmaelzx2013-02-201-1/+9
| | | | | Fix "All version..." button not clickable. Reason is Google Chrome blocking inline javascript execution.
* personal settings removed, there is no need to expire versions manuallyBjörn Schießle2012-12-171-39/+0
|
* don't call $('#found_versions').chosen(); after opening the history ↵Björn Schießle2012-10-271-1/+0
| | | | drop-down since no version is selected at the beginning
* Whitespace cleanupBart Visscher2012-10-141-3/+3
|
* Sanitize user inputLukas Reschke2012-10-121-1/+1
|
* only check if #dropdown hasClass drop-versions if a drop down is open. ↵Björn Schießle2012-10-101-2/+2
| | | | Otherwise it will never open the history drop-down
* Prevent Versions click handler from closing sharing dropdownVicDeo2012-10-091-4/+3
|
* translate rename and history actionsscambra2012-09-211-3/+3
|
* Fixed bug oc-1659 - history dialogue cannot be closed once openedSam Tuke2012-09-121-22/+43
|
* Add missing ; to js codeBart Visscher2012-09-051-2/+2
|
* unify permissions (2/3): change apps to use OC::PERMISSION_XJörn Friedrich Dreyer2012-08-311-1/+1
|
* Whitespace fixes in appsBart Visscher2012-08-292-29/+29
|