aboutsummaryrefslogtreecommitdiff
path: root/compiler/src
Commit message (Collapse)AuthorAge
* compiler: handle dimension flip internallypacien2022-12-27
| | | | | | | | ImageMagick's `-auto-rotate` flag prevents the use of `-ping`, forcing the whole files to be loaded just to read the adjusted width and height. This makes the compiler handle the dimension flipping internally while using `-ping`, which should be way faster.
* compiler: fix build for ghc 9.2pacien2022-12-01
|
* compiler,viewer: register EPUB item typepacien2022-11-19
|
* compiler: add log messages for early stepspacien2022-10-30
| | | | | | | | | This adds some messages signaling that the compiler is doing something when it is enumerating the input tree and reading metadata files, which may take a while on systems with slow IO such as when using a network share. GitHub: closes #344
* compiler: fix exif-rotated image dimension retrievalpacien2022-10-25
| | | | GitHub: fixes #336
* compiler: reword log action for image processingpacien2022-09-04
| | | | Images aren't generated out of nowhere, they're processed.
* compiler: register distinct markdown item typepacien2022-04-12
|
* compiler/Input: remove duplicate assertion on input file treepacien2021-06-25
|
* compiler/Caching: fix cache thumbnail masking in indexpacien2020-10-26
| | | | GitHub: closes #280
* compiler/ItemProcessors: register .webp as picture file extensionpacien2020-10-25
| | | | GitHub: closes #278
* compiler: allow setting thumbnails for all itemspacien2020-06-16
| | | | | | Not only for directories. GitHub: closes #224
* compiler: reuse derived item properties from last compilationpacien2020-06-16
| | | | | | | | | | | | | | | | A benchmark on an already bulit gallery with ~600 pictures shows a ~90% speedup: Before: Time (mean ± σ): 2.879 s ± 0.125 s [User: 14.686 s, System: 5.511 s] Range (min … max): 2.774 s … 3.203 s 10 runs After: Time (mean ± σ): 289.5 ms ± 15.1 ms [User: 596.1 ms, System: 359.3 ms] Range (min … max): 272.8 ms … 323.0 ms 10 runs GitHub: closes #97
* compiler: split ItemProcessors, FileProcessors and Cachingpacien2020-06-16
|
* compiler: make GalleryIndex loadable from JSONpacien2020-06-16
|
* compiler/Files: simplify subPaths computationpacien2020-06-16
| | | | Ignoring subsequences that aren't rooted
* compiler: trivial code simplificationspacien2020-06-13
| | | | Following HLint's advice.
* compiler: add audio and video extensionspacien2020-05-22
|
* compiler: add pdf resource typepacien2020-05-22
|
* compiler: add plain text file format support through simple copypacien2020-05-22
|
* compiler: add picture size to indexpacien2020-04-28
| | | | This is needed for the picture viewer fancy loading phase.
* compiler: bump stackage lts to 15.9pacien2020-04-25
|
* compiler: add tagCategories setting to gallery.yamlpacien2020-02-29
|
* compiler: add tag inclusion and exclusion globspacien2020-02-27
| | | | GitHub: closes #30
* compiler: re-introduce gallery titlepacien2020-02-27
|
* compiler: add cli arg for output gallery indexpacien2020-02-27
| | | | GitHub: closes #143
* transverse: combine item tree and gallery-wide propertiespacien2020-02-25
| | | | GitHub: closes #142
* compiler: flatten gallery configpacien2020-02-23
| | | | GitHub: closes #129
* compiler: add gallery config file CLI argumentpacien2020-02-23
| | | | GitHub: closes #136
* compiler: add a prefix setting for tags generated from parent dirspacien2020-02-23
| | | | GitHub: closes #59
* compiler: unify directory special filespacien2020-02-17
|
* compiler: metadata sidecar for whole directoriespacien2020-02-17
| | | | GitHub: closes #3
* compiler: fix doc commentpacien2020-02-16
| | | | (cherry picked from commit 4a6138c89b838c85ede2b3c341c59676580e1043)
* compiler: stabilise item order in indexpacien2020-02-13
| | | | | | By sorting directory items alphabetically. GitHub: closes #119
* compiler: simplify checkspacien2020-02-03
|
* compiler: handle image resolution parsing errorpacien2020-02-03
| | | | GitHub: closes #86
* compiler: fix viewer output directory exclusionpacien2020-02-03
| | | | GitHub: closes #87
* compiler: fix resolution extraction for multilayer imagespacien2020-02-02
| | | | GitHub: closes #84
* compiler: tweak default thumbnail sizepacien2020-02-02
| | | | For better packing.
* Merge branch 'develop' into feature-thumbnail-resolution-indexOzoneGrif2020-02-02
|\
| * Merge branch 'develop' into fix-implicit-output-exclusionOzoneGrif2020-02-02
| |\
| | * Merge branch 'develop' into feature-image-rotationOzoneGrif2020-02-02
| | |\
| | | * compiler: optimise dir diff for output cleanuppacien2020-02-01
| | | | | | | | | | | | | | | | | | | | | | | | n log n by sorting instead of silly n^2 GitHub: closes #70
| | * | compiler: auto orient processed imagespacien2020-01-31
| | |/ | | | | | | | | | | | | | | | | | | Let ImageMagick re-orient images based on EXIF metadata. Some web browsers still don't support that correctly. GitHub: closes #67
| * / compiler: properly exclude out directorypacien2020-01-31
| |/ | | | | | | | | | | | | Use canonical paths to exclude the output directory if it is located inside the input directory instead of guessing based on special files. GitHub: closes #54
* / compiler: add thumbnail size to indexpacien2020-01-31
|/
* compiler: output viewer config.jsonZero~Informatique2020-01-31
| | | | | Write a file at the root of the viewer directory with some info about the gallery root path and generation date time.
* compiler: add flag for output dir cleanuppacien2020-01-30
| | | | | | Making it explicit. GitHub: closes #62
* compiler: fix picture item type without resizepacien2020-01-29
| | | | GitHub: closes #52
* compiler: switch to imagemagickpacien2020-01-29
| | | | | | | | | | Use ImageMagick to resize images instead of JuicyPixels, using the superior Lanczos resampling and cutting memory usage. This requires ImageMagick to be installed on the host system and the `magick` executable to be present in the PATH. GitHub: closes #49
* compiler: add resource timestamp in generated indexpacien2020-01-26
| | | | | | | | | Add a timestamp to resource paths in the gallery index to invalidate elements in the browser's cache when necessary. Timestamps are added to resource URLs as a dummy numeric parameter. GitHub: closes #40