Commit Graph

1364 Commits

Author SHA1 Message Date
Simon Conseil
7839e90c05 Update RTD config 2023-11-08 22:36:48 +01:00
Simon Conseil
6abcf10e2c Merge pull request #503 from dvzrv/dvzrv/theme_files
Add data files for themes and plugins using setuptools package-data
2023-11-08 22:28:32 +01:00
David Runge
ebedd9f0cc Add data files for themes and plugins using setuptools package-data
Use setuptools' `package-data` [1] to unconditionally add all files
below sigal's `themes/` dir and all data files below the
`plugins/encrypt/static/` dir to a wheel.
This works without any SCM integration and without `MANIFEST.in`.

Fixes https://github.com/saimn/sigal/issues/500

[1] https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data

Signed-off-by: David Runge <dave@sleepmap.de>
2023-10-27 10:24:21 +02:00
Simon Conseil
6bd9cd348a Back to dev 2023-09-29 09:06:18 +02:00
Simon Conseil
6fe5b97202 Update AUTHORS 2023-09-29 08:59:01 +02:00
Simon Conseil
6ac2ec9e56 Update changelog 2023-09-29 08:49:07 +02:00
Simon Conseil
b49f697271 Merge pull request #499 from saimn/pillow
Remove pin for Pillow 10
2023-09-29 08:28:42 +02:00
Simon Conseil
cb5ce6e8e8 Update pre-commit 2023-09-29 08:24:57 +02:00
Simon Conseil
4c48498b98 Remove pin for Pillow 10 2023-09-29 08:23:41 +02:00
Simon Conseil
69bd554f83 Merge pull request #498 from jraby/IndexError-on-empty-source-dir
Avoid IndexError with empty source dir
2023-09-07 08:38:29 +02:00
Jean Raby
b8815bd8cf Avoid IndexError with empty source dir 2023-09-06 21:13:05 -04:00
Simon Conseil
c15d543fd0 Update Python requirement in README 2023-08-30 21:55:50 +02:00
Simon Conseil
8481f20d0f Fix logger initialization 2023-07-30 22:58:10 +02:00
Simon Conseil
33ab4f53ea Better handling of verbosity/progress 2023-07-30 22:54:23 +02:00
Simon Conseil
6997fe3290 Optimize slow tests 2023-07-15 17:07:07 +02:00
Simon Conseil
848fcaa853 Optimize plugins testing without building the full test gallery 2023-07-15 16:35:37 +02:00
Simon Conseil
3cf4f0979a Use pillow's context manager 2023-07-15 15:30:28 +02:00
Simon Conseil
de597c576c Remove compat code for old versions of Pillow 2023-07-15 13:25:34 +02:00
Simon Conseil
df525a1743 Move cli handling to __main__ 2023-07-15 13:05:55 +02:00
Simon Conseil
1ce2206601 Update copyright 2023-07-15 12:24:54 +02:00
Simon Conseil
6ead91b4b7 Use wheels within tox 2023-07-07 12:41:36 +02:00
Simon Conseil
2dc1e556b0 Merge pull request #491 from KaibutsuX/supportAlbumForce
Added support for -a, --force-album argument
2023-07-05 21:54:59 +02:00
Sean Grider
81c0d81e80 Fixed my tests and changes 2023-07-05 14:11:23 -04:00
Sean Grider
f0f224f8c0 Added tests, better naming, address comments 2023-07-05 14:11:23 -04:00
Sean Grider
384affd891 Fix typo 2023-07-05 14:11:23 -04:00
Sean Grider
46ca38d5a4 Added support for -a, --force-album argument
Like --force, but can specify multiple specific album names or wildcard
patterns to apply to entire album paths like:
-a Pics/*
-a *Wedding*
-a 'Landscape Photos'
2023-07-05 14:11:23 -04:00
Simon Conseil
b45d018cea Remove uses of pkg_resources 2023-07-05 19:13:58 +02:00
Simon Conseil
8e364692ee Set maximum version for Pillow
pilkit is not compatible with Pillow 10.0.0
2023-07-05 19:00:31 +02:00
Simon Conseil
ec36725cdc Simplify coverage.source 2023-07-05 18:44:00 +02:00
Simon Conseil
4cc7f5f4d2 Update changelog 2023-06-03 17:57:09 +02:00
Simon Conseil
401f40beb2 Replace isort and pyupgrade with ruff 2023-06-03 17:40:32 +02:00
Simon Conseil
5f61164f94 Merge pull request #492 from saimn/tox
Try to fix issue with tox-gh-actions
2023-06-03 16:53:38 +02:00
Simon Conseil
6dc3dd0796 Try to fix issue with tox-gh-actions
py310-pillow-latest: tox-gh-actions couldn't understand the parallel
option. ignoring the given option: 0
2023-06-03 16:46:44 +02:00
Simon Conseil
0923a56a56 Replace example ogv file to avoid issues with ffmpeg 2023-04-20 20:07:12 +02:00
Simon Conseil
eec4c3fd02 Remove MANIFEST.in, not needed with setuptools_scm 2023-02-14 23:05:43 +01:00
Simon Conseil
7fe68fc729 Remmove unneeded file 2023-02-14 22:37:46 +01:00
Simon Conseil
33b6bafbde Use ruff 2023-02-14 22:17:13 +01:00
Simon Conseil
8e72326510 Move setuptools config to pyproject 2023-02-14 22:17:13 +01:00
Simon Conseil
66bd01106b Normalize strings 2023-02-14 22:17:13 +01:00
Simon Conseil
7b0fee1eec pre-commit - update and run 2023-02-14 22:17:13 +01:00
Simon Conseil
f5e53dd8db Merge pull request #487 from tired-engineer/tired-engineer-patch-1
Update link to Galleria
2023-02-14 21:32:25 +01:00
tired-engineer
f752101d55 Update link to Galleria
The domain galleria.io was squatted.
2023-02-14 11:01:37 +01:00
Simon Conseil
3afe76ea85 Merge pull request #485 from KaibutsuX/supportBlackDetection
Added support for black detection in video thumbnail generation
2023-01-04 21:56:23 +01:00
Sean Grider
e41b0695de Fixed typo 2023-01-02 12:56:33 -05:00
Sean Grider
1552ac14cd Added myself to AUTHORS 2023-01-02 12:56:33 -05:00
Sean Grider
2ca3e174a3 Added support for black detection in video thumbnail generation
Added 3 new conf options:
* thumb_video_black_retries = 0
* thumb_video_black_retry_offset = 1
* thumb_video_black_max_colors = 4

They control how many retries a thumbnail generation should run before
failure. Each retry seeks the video another N seconds determined by
retry_offset in addition to the original thumb_video_delay setting.

A 'black' thumbnail is detected when the resulting image has max_colors
or less distinct color values in it. This is not exclusive to black, but
attempts to avoid any solid color images.
2023-01-02 12:56:33 -05:00
Simon Conseil
03418f5a90 Fix issue with Sphinx 6 and extlinks 2023-01-02 17:24:08 +01:00
Simon Conseil
0d70f3a1d0 Update pre-commit 2022-12-11 18:05:41 +01:00
Simon Conseil
9cd25ea1ee Don't show the galleria container if there are no medias (fix #484) 2022-12-11 17:55:04 +01:00
Simon Conseil
4fd9fb2391 Force encrypt's password form to be on top (fix #483) 2022-12-11 17:42:10 +01:00