diff options
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 | --- | ||
2 | name: Bug report | ||
3 | about: Create a report to help us improve | ||
4 | title: '' | ||
5 | labels: '' | ||
6 | assignees: '' | ||
7 | --- | ||
8 | |||
9 | **Describe the bug** | ||
10 | |||
11 | A clear and concise description of what the bug is. | ||
12 | |||
13 | |||
14 | **To reproduce** | ||
15 | |||
16 | Steps to reproduce the behaviour: | ||
17 | |||
18 | 1. Go to '...' | ||
19 | 2. Click on '....' | ||
20 | 3. Scroll down to '....' | ||
21 | 4. See error | ||
22 | |||
23 | |||
24 | **Expected behaviour** | ||
25 | |||
26 | A clear and concise description of what you expected to happen. | ||
27 | |||
28 | |||
29 | **Screenshots** | ||
30 | |||
31 | If 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 | |||
45 | Add 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 | --- | ||
2 | name: Feature request | ||
3 | about: Suggest an idea for this project | ||
4 | title: '' | ||
5 | labels: '' | ||
6 | assignees: '' | ||
7 | |||
8 | --- | ||
9 | |||
10 | **Is your feature request related to a problem? Please describe.** | ||
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
12 | |||
13 | **Describe the solution you'd like** | ||
14 | A clear and concise description of what you want to happen. | ||
15 | |||
16 | **Describe alternatives you've considered** | ||
17 | A clear and concise description of any alternative solutions or features you've considered. | ||
18 | |||
19 | **Additional context** | ||
20 | Add 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 @@ | |||
3 | This file lists notable changes that have been made to the application on each release. | 3 | This file lists notable changes that have been made to the application on each release. |
4 | Releases are tracked and referred to using git tags. | 4 | Releases 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 | __Breaking change__: directory thumbnails are now named "\_thumbnail.ext" instead of "\_directory.ext". | ||
9 | - Plain text, PDF, audio and video items are now displayed within the web application in browsers which support those formats. | ||
10 | - Items can now have a timestamp. | ||
11 | Date and time can be given through the "datetime" key in sidecar metadata files. | ||
12 | By default, this is set to the last modification date and time of the file itself. | ||
13 | - Items can now have an optional description, given through the option of the same name in sidecar metadata files. | ||
14 | Rich text formatting is possible through the use of the GitHub-Flavoured Markdown (GFM) syntax. | ||
15 | - An information panel has been added to the viewer. | ||
16 | It displays the title, date and time, as well as the description associated to the viewed item. | ||
17 | - Items can now be sorted by name and date through a newly introduced sorting menu in the viewer. | ||
18 | A default order can be configured in the viewer's configuration file with the "initialItemSort" option. | ||
19 | The default behaviour is to sort items in chronological order. | ||
20 | - Tag suggestions are now limited to the first 10 most used tags for each category. | ||
21 | The hidden suggestions now have to be expanded by the user. | ||
22 | This limit can be modified or disabled with the newly introduced "initialTagDisplayLimit" option. | ||
23 | - The viewer can now load alternative configuration files through an optional query parameter. | ||
24 | - The index file to load can now be specified in the viewer configuration file with the "galleryIndex" option. | ||
25 | - Gallery build time has been reduced through more extensive caching (now reusing item metadata from previous compilations). | ||
26 | |||
27 | |||
6 | ## v1.0 - 2020-05-02 | 28 | ## v1.0 - 2020-05-02 |
7 | - first release | 29 | - First release. |
diff --git a/compiler/app/Main.hs b/compiler/app/Main.hs index 48e5644..e71e0db 100644 --- a/compiler/app/Main.hs +++ b/compiler/app/Main.hs | |||
@@ -21,6 +21,7 @@ module Main where | |||
21 | import GHC.Generics (Generic) | 21 | import GHC.Generics (Generic) |
22 | import Paths_ldgallery_compiler (version, getDataFileName) | 22 | import Paths_ldgallery_compiler (version, getDataFileName) |
23 |