John Molakvoæ (skjnldsv)
b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 4 ans
Roeland Jago Douma
9e2bb5ef36
Move oauth admin settings to initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
il y a 4 ans
John Molakvoæ (skjnldsv)
f737dc9a86
Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
il y a 4 ans
dependabot-preview[bot]
0a24da76eb
Bump handlebars from 4.2.0 to 4.2.1
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>
il y a 4 ans
dependabot-preview[bot]
e2393ef3d9
Bump webpack from 4.39.3 to 4.40.1
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>
il y a 4 ans
dependabot-preview[bot]
a41f7a4a50
Bump handlebars from 4.1.2 to 4.2.0
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>
il y a 4 ans
dependabot-preview[bot]
6e6fbc6783
Bump webpack from 4.39.2 to 4.39.3
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>
il y a 4 ans
dependabot-preview[bot]
20a83bed16
Bump webpack from 4.39.1 to 4.39.2
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>
il y a 4 ans
dependabot-preview[bot]
723815f081
Bump style-loader from 0.23.1 to 1.0.0
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>
il y a 4 ans
dependabot-preview[bot]
b84b78d203
Bump webpack from 4.38.0 to 4.39.1
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>
il y a 4 ans
dependabot-preview[bot]
4a401865f2
Bump css-loader from 2.1.1 to 3.0.0
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>
il y a 5 ans
Robin Appelman
9b8f2f4192
fix previews and rollback of versions with non numeric version ids
Signed-off-by: Robin Appelman <robin@icewind.nl>
il y a 5 ans
dependabot[bot]
ce4c736314
Bump handlebars from 4.1.0 to 4.1.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>
il y a 5 ans
Robin Appelman
3cce485fc8
use webpack to compile handlebars for files_versions
This removes the need to manually compile the templates every time they are changed
Signed-off-by: Robin Appelman <robin@icewind.nl>
il y a 5 ans
Roeland Jago Douma
7f88654147
Move of files_versions to webpack
* 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>
il y a 5 ans
Julius Härtl
c2f4297e49
Show mimetype icon if version preview is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
il y a 5 ans
Julius Härtl
15a04ecaeb
Fix relative timestamp in versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
il y a 5 ans
Jan-Christoph Borchardt
bb1d503f3e
Add icon to Versions sidebar tab
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
il y a 5 ans
Robin Appelman
ee84d83519
move versions webui over to the dav api
Signed-off-by: Robin Appelman <robin@icewind.nl>
il y a 5 ans
Roeland Jago Douma
b574d1c814
Move files_versions to compiled handlebars templates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
il y a 5 ans
Joas Schilling
b91bacf141
Better styling of the empty content messages in the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
il y a 7 ans
Lukas Reschke
0ed56589cc
Merge JS for files_versions
Shaves off 3 requests.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
il y a 7 ans
noveens
40228c0c2b
added quit option in commentstabview.js
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>
il y a 7 ans
Bjoern Schiessle
edb116ae93
add icon if no versions are available
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
il y a 7 ans
Roeland Jago Douma
66a77a8857
Fix js tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
il y a 7 ans
Roeland Jago Douma
4dcd0474d5
Show mimeicon when versions don't have a preview
Fixes #2413
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
il y a 7 ans
Michael Jobst
96debafd08
Display changes in file versions tab view and detailsView (#26511)
* 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
il y a 7 ans
Joas Schilling
0c73797131
Use live timestamps in the versions tab of the sidebar
il y a 7 ans
Robin Appelman
951ff0897c
hint global handlebars
il y a 8 ans
Vincent Petry
f22af90c09
Hide revert button when no permission to revert
il y a 8 ans
Vincent Petry
03b90cec35
Fix tooltip for versions mtime
It was missing a call to jquery.tooltip
il y a 8 ans
Vincent Petry
1b9e291913
Use full path of known file when handling versions
Instead of relying on the versions API response, use the known file path
when populating version models.
il y a 8 ans
Vincent Petry
b6114ba2b6
Reload versions list after revert
il y a 8 ans
Vincent Petry
a8fb0038e9
Hide sidebar tab headers conditionally
Added canDisplay() in DetailsTabView that should return false if the tab
header of this tab must be hidden
il y a 8 ans
Vincent Petry
5e4a52d3c2
Fix tabs order in files sidebar
il y a 8 ans
Jan-Christoph Borchardt
de1bc0b653
fix sidebar Versions layout
il y a 8 ans
Vincent Petry
310d797284
Add versions tab to files sidebar
- 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
il y a 8 ans
Jan-Christoph Borchardt
f0b0287333
adjust animations of Share, Versions and others to OC.menuSpeed
il y a 9 ans
Vincent Petry
0f3e6cb50a
Improved Javascript docs for JSDoc
Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
il y a 10 ans
geez0x1
7576dde0a3
Update the modified date in UI on file reversion
il y a 10 ans
Vincent Petry
ef59c69dc8
Distinguish legacy file actions from regular file actions
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.
il y a 10 ans
Vincent Petry
06e53b359a
Added "dir" in file actions handler context and fixed versions
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.
il y a 10 ans
Thomas Müller
ea8705bac8
additional class is added to the file actions called e.g. 'action-share', 'action-rename'
in order to allow proper translations of the action's display name an additional parameter has been added to the register function
il y a 10 ans
Vincent Petry
1042733634
Fixed various file name escaping issues in core apps
- 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
il y a 10 ans
zombiehugs
519f63ee97
Revert "[fix] Center Share Dropdown & Versions Dropdown"
This reverts commit 1dbbfcf3dc
.
il y a 10 ans
zombiehugs
1dbbfcf3dc
[fix] Center Share Dropdown & Versions Dropdown
Center Share Dropdown & Versions Dropdown
il y a 10 ans
Vincent Petry
41c6c44221
Disable versions app JS in public mode
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
il y a 10 ans
ringmaster
c737b521ab
Don't double-slash filenames at the root.
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.
il y a 10 ans
Bjoern Schiessle
eb1216f949
add previews to versions dialog
il y a 10 ans
kondou
aaf0fec9f5
Fix some JSLint warnings
il y a 11 ans