aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md45
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md20
-rw-r--r--.travis.yml2
-rw-r--r--changelog.md24
-rw-r--r--compiler/app/Main.hs17
-rw-r--r--compiler/ldgallery.1.md48
-rw-r--r--compiler/package.yaml2
-rw-r--r--compiler/src/Caching.hs76
-rw-r--r--compiler/src/Compiler.hs74
-rw-r--r--compiler/src/Config.hs6
-rw-r--r--compiler/src/FileProcessors.hs128
-rw-r--r--compiler/src/Files.hs36
-rw-r--r--compiler/src/Input.hs65
-rw-r--r--compiler/src/ItemProcessors.hs115
-rw-r--r--compiler/src/Processors.hs203
-rw-r--r--compiler/src/Resource.hs90
-rw-r--r--example/config.json5
-rw-r--r--example/src/Misc Media/A Trip to the Moon.mp4bin0 -> 916818 bytes
-rw-r--r--example/src/Misc Media/Beethoven - Fifth Symphony intro.oggbin0 -> 131121 bytes
-rw-r--r--example/src/Misc Media/Beethoven - Fifth Symphony intro.ogg_thumbnail.jpgbin0 -> 29688 bytes
-rw-r--r--example/src/Misc Media/European Social Charter (Revised).pdfbin0 -> 183134 bytes
-rw-r--r--example/src/Misc Media/Universal Declaration of Human Rights.txt157
-rw-r--r--example/src/Ormont-Dessus/_thumbnail.jpg (renamed from example/src/Ormont-Dessus/_directory.jpg)bin457873 -> 457873 bytes
-rw-r--r--example/src/gallery.yaml4
-rw-r--r--ldgallery-quickstart.7.md79
-rw-r--r--readme.md4
-rw-r--r--viewer/.eslintrc.js9
-rw-r--r--viewer/.vscode/tasks.json86
-rw-r--r--viewer/babel.config.js3
-rw-r--r--viewer/ldgallery-viewer.7.md51
-rw-r--r--viewer/package-lock.json3316
-rw-r--r--viewer/package.json82
-rw-r--r--viewer/src/@types/ItemType.ts11
-rw-r--r--viewer/src/@types/Operation.ts2
-rw-r--r--viewer/src/@types/gallery.d.ts92
-rw-r--r--viewer/src/@types/scrollposition.d.ts2
-rw-r--r--viewer/src/@types/tag.d.ts4
-rw-r--r--viewer/src/assets/scss/global.scss40
-rw-r--r--viewer/src/assets/scss/scrollbar.scss39
-rw-r--r--viewer/src/assets/scss/theme.scss6
-rw-r--r--viewer/src/assets/scss/transition.scss32
-rw-r--r--viewer/src/components/LdBreadcrumb.vue4
-rw-r--r--viewer/src/components/LdCommand.vue17
-rw-r--r--viewer/src/components/LdCommandSearch.vue4
-rw-r--r--viewer/src/components/LdCommandSort.vue55
-rw-r--r--viewer/src/components/LdError.vue58
-rw-r--r--viewer/src/components/LdGallery.vue16
-rw-r--r--viewer/src/components/LdInformation.vue84
-rw-r--r--viewer/src/components/LdProposition.vue52
-rw-r--r--viewer/src/components/LdTagInput.vue4
-rw-r--r--viewer/src/components/LdThumbnail.vue18
-rw-r--r--viewer/src/components/index.ts17
-rw-r--r--viewer/src/components/item_handlers/LdAudioViewer.vue55
-rw-r--r--viewer/src/components/item_handlers/LdDirectory.vue (renamed from viewer/src/views/GalleryDirectory.vue)13
-rw-r--r--viewer/src/components/item_handlers/LdDownload.vue57
-rw-r--r--viewer/src/components/item_handlers/LdPdfViewer.vue45
-rw-r--r--viewer/src/components/item_handlers/LdPicture.vue (renamed from viewer/src/components/LdPicture.vue)20
-rw-r--r--viewer/src/components/item_handlers/LdPlainTextViewer.vue55
-rw-r--r--viewer/src/components/item_handlers/LdVideoViewer.vue47
-rw-r--r--viewer/src/locales/en.json31
-rw-r--r--viewer/src/main.ts14
-rw-r--r--viewer/src/plugins/buefy.ts6
-rw-r--r--viewer/src/plugins/fontawesome-icons.ts45
-rw-r--r--viewer/src/plugins/fontawesome.ts30
-rw-r--r--viewer/src/plugins/router.ts2
-rw-r--r--viewer/src/services/dragscrollclickfix.ts3
-rw-r--r--viewer/src/services/indexfactory.ts26
-rw-r--r--viewer/src/services/indexsearch.ts7
-rw-r--r--viewer/src/services/itemComparators.ts73
-rw-r--r--viewer/src/services/ldzoom.ts6
-rw-r--r--viewer/src/services/navigation.ts41
-rw-r--r--viewer/src/shims-tsx.d.ts4
-rw-r--r--viewer/src/store/galleryStore.ts36
-rw-r--r--viewer/src/store/index.ts16
-rw-r--r--viewer/src/store/uiStore.ts19
-rw-r--r--viewer/src/views/GalleryNavigation.vue38
-rw-r--r--viewer/src/views/GallerySearch.vue15
-rw-r--r--viewer/src/views/MainLayout.vue30
-rw-r--r--viewer/src/views/PanelLeft.vue34
-rw-r--r--viewer/src/views/PanelTop.vue8
-rw-r--r--viewer/visualstudio.code-workspace22
-rw-r--r--viewer/vue.config.js46
82 files changed, 4144 insertions, 2004 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..8653388
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,45 @@
1---
2name: Bug report
3about: Create a report to help us improve
4title: ''
5labels: ''
6assignees: ''
7---
8
9**Describe the bug**
10
11A clear and concise description of what the bug is.
12
13
14**To reproduce**
15
16Steps to reproduce the behaviour:
17
181. Go to '...'
192. Click on '....'
203. Scroll down to '....'
214. See error
22
23
24**Expected behaviour**
25
26A clear and concise description of what you expected to happen.
27
28
29**Screenshots**
30
31If applicable, add screenshots to help explain your problem.
32
33
34**Environment (please complete the folloming information):**
35
36 - LdGallery version: [e.g. 1.0]
37 - Platform: [e.g. desktop/smartphone/tablet/...]
38 - OS: [e.g. iOS/MacOS/Android/Windows/Debian/...]
39 - Browser: [e.g. Firefox/Chrome/Safari/...]
40 - Browser version: [e.g. 81]
41
42
43**Additional context**
44
45Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..bbcbbe7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
1---
2name: Feature request
3about: Suggest an idea for this project
4title: ''
5labels: ''
6assignees: ''
7
8---
9
10**Is your feature request related to a problem? Please describe.**
11A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
13**Describe the solution you'd like**
14A clear and concise description of what you want to happen.
15
16**Describe alternatives you've considered**
17A clear and concise description of any alternative solutions or features you've considered.
18
19**Additional context**
20Add any other context or screenshots about the feature request here.
diff --git a/.travis.yml b/.travis.yml
index 826dd65..23be533 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -116,7 +116,7 @@ jobs:
116 - cp viewer/ldgallery-viewer.7.md dist/ldgallery-viewer.7.md 116 - cp viewer/ldgallery-viewer.7.md dist/ldgallery-viewer.7.md
117 - cp compiler/ldgallery.1.md dist/ldgallery.1.md 117 - cp compiler/ldgallery.1.md dist/ldgallery.1.md
118 - cp changelog.md license.md dist/ 118 - cp changelog.md license.md dist/
119 - curl --output magick.zip -L https://imagemagick.org/download/binaries/ImageMagick-7.0.10-10-portable-Q16-x64.zip 119 - curl --fail --output magick.zip -L https://imagemagick.org/download/binaries/ImageMagick-7.0.10-30-portable-Q16-x64.zip
120 - 7z e magick.zip -odist/ magick.exe 120 - 7z e magick.zip -odist/ magick.exe
121 - 7z e magick.zip -so LICENSE.txt > dist/magick.license.txt 121 - 7z e magick.zip -so LICENSE.txt > dist/magick.license.txt
122 - 7z e magick.zip -so NOTICE.txt > dist/magick.notice.txt 122 - 7z e magick.zip -so NOTICE.txt > dist/magick.notice.txt
diff --git a/changelog.md b/changelog.md
index d1d81c1..cf4b230 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,5 +3,27 @@
3This file lists notable changes that have been made to the application on each release. 3This file lists notable changes that have been made to the application on each release.
4Releases are tracked and referred to using git tags. 4Releases are tracked and referred to using git tags.
5 5
6## v2.0 - 2020-09-25
7- Thumbnails are now allowed for all files in addition to directories.
8