aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/sidebarpreviewtext.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-291-8/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Explicitly close div elementLouis Chemineau2022-04-041-1/+1
| | | | | | Fix: #30002 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Do not fetch the whole text file for the sidebar previewRoeland Jago Douma2017-08-031-1/+6
| | | | | | | | Just fetch the first 10kb. This should be more than enough in 99% of the cases. And avoid downloading a 10mb text file just to display a tiny portion. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove js debug statements in sidebar text preview generatorRobin Appelman2016-11-301-5/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* for text use max-height to trim whitespaceMorris Jobke2016-07-041-1/+1
|
* Add large sidebar previews for text filesRobin Appelman2016-07-041-0/+47