summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
Commit message (Collapse)AuthorAgeFilesLines
* Bump handlebars from 4.5.2 to 4.5.3dependabot-preview[bot]2019-11-252-2/+2
| | | | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.2 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...v4.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump handlebars from 4.5.1 to 4.5.2dependabot-preview[bot]2019-11-172-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.1 to 4.5.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.1...v4.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump bundlesJulius Härtl2019-11-112-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump handlebars from 4.4.3 to 4.4.5dependabot-preview[bot]2019-10-272-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.4.5. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.3...v4.4.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump handlebars from 4.4.2 to 4.4.3dependabot-preview[bot]2019-10-132-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.4.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.2...v4.4.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Switch to @nextcloud/axios for the CSRF update fixChristoph Wurst2019-10-052-2/+2
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-012-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move oauth admin settings to initialstateRoeland Jago Douma2019-09-282-2/+2
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Remove input id on login formJohn Molakvoæ (skjnldsv)2019-09-282-2/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump handlebars from 4.2.0 to 4.2.1dependabot-preview[bot]2019-09-222-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.2.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.3 to 4.40.1dependabot-preview[bot]2019-09-132-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump handlebars from 4.1.2 to 4.2.0dependabot-preview[bot]2019-09-082-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.2.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.2 to 4.39.3dependabot-preview[bot]2019-09-022-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.2 to 4.39.3. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.1 to 4.39.2dependabot-preview[bot]2019-08-181-1/+1
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump style-loader from 0.23.1 to 1.0.0dependabot-preview[bot]2019-08-112-2/+2
| | | | | | | | | | Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.38.0 to 4.39.1dependabot-preview[bot]2019-08-042-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 2.1.1 to 3.0.0dependabot-preview[bot]2019-06-252-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix previews and rollback of versions with non numeric version idsRobin Appelman2019-06-192-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump handlebars from 4.1.0 to 4.1.2dependabot[bot]2019-04-232-2/+2
| | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2) Signed-off-by: dependabot[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* use webpack to compile handlebars for files_versionsRobin Appelman2019-04-082-2/+2
| | | | | | This removes the need to manually compile the templates every time they are changed Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move of files_versions to webpackRoeland Jago Douma2019-02-1310-491/+3
| | | | | | | | * Move CSS into bundle * Old merged.json no longer needed! * No need to load the style still Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show mimetype icon if version preview is not availableJulius Härtl2018-11-261-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix relative timestamp in versionsJulius Härtl2018-11-261-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add icon to Versions sidebar tabJan-Christoph Borchardt2018-11-011-0/+4
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* move versions webui over to the dav apiRobin Appelman2018-10-115-149/+80
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move files_versions to compiled handlebars templatesRoeland Jago Douma2018-10-045-46/+89
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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