Commit Graph

856 Commits

Author SHA1 Message Date
Simon Conseil
6c5c4edd13 Update galleria v1.5.7 2018-02-12 00:26:33 +01:00
Simon Conseil
f8fc369112 Merge pull request #281 from saimn/update-themes
Update colorbox and photoswipe themes
2018-02-11 01:06:44 +01:00
Simon Conseil
d6ee2972c2 Add colorbox js source (v1.6.4) 2018-02-11 00:54:55 +01:00
Simon Conseil
5bc9bba7d3 Avoid issue with long album names (photoswipe) 2018-02-11 00:54:55 +01:00
Simon Conseil
b144491603 Remove minification step for photoswipe 2018-02-11 00:54:55 +01:00
Simon Conseil
763894b06a Update photoswipe to 4.1.2 and include js source files 2018-02-11 00:54:55 +01:00
Simon Conseil
abac1b2914 Cleanup nomedia plugin 2018-02-11 00:47:00 +01:00
Simon Conseil
ccca92cfbc Filter .nomedia files with the source filename (fix #295) 2018-02-11 00:41:05 +01:00
Simon Conseil
a4367f674f Small enhancements for plugins doc 2018-02-10 01:06:29 +01:00
Simon Conseil
50072e2e2f Clear signals after testing plugins 2018-02-10 00:07:28 +01:00
Simon Conseil
244bc70845 Add faq entry about autoreload [skip ci] 2018-01-13 01:20:06 +01:00
Simon Conseil
bdf74d66a9 Update installation instruction and include more packages [skip ci] 2018-01-13 01:02:50 +01:00
Simon Conseil
568fd27dca Update AUTHORS 2018-01-12 19:21:14 +01:00
Simon Conseil
5dfe0fff6a Merge pull request #280 from anarcat/more-stats
include camera model and shorten exif stats
2018-01-08 23:00:21 +01:00
Simon Conseil
22a1b619e7 Merge pull request #285 from anarcat/faq
introduce FAQ section
2018-01-08 22:37:48 +01:00
Simon Conseil
f5e0f45b92 Log reason why reading EXIF data fail (ref #286) 2018-01-08 22:31:27 +01:00
Antoine Beaupré
0156e77379 introduce FAQ section
This is primarly made of documentation about password protection, but
will likely be expanded in the future.

See #220
2018-01-06 22:33:28 -05:00
Antoine Beaupré
2d5cd23da3 move layout and metadata suffixes to CSS
This way this can be override by client-side CSS or more easily controled through the theme
2018-01-06 22:03:58 -05:00
Antoine Beaupré
8ea0336520 remove dotted line completely, too noisy 2018-01-06 21:44:44 -05:00
Antoine Beaupré
24564d5f2a move CSS change to theme-specific file
This way our changes will survive eventual normalize.css updates.
2018-01-06 21:43:58 -05:00
Simon Conseil
e35d95557a Test files_to_copy 2018-01-07 00:59:41 +01:00
Simon Conseil
219a730190 Test the feeds plugin 2018-01-07 00:38:35 +01:00
Simon Conseil
bbc6976937 Merge pull request #283 from saimn/test-cli
Add tests for cli (build) and plugins
2018-01-05 00:50:05 +01:00
Simon Conseil
5a8046caa1 Fix py2 compat 2018-01-05 00:32:13 +01:00
Simon Conseil
cbfd9514f2 pep8 2018-01-04 00:46:34 +01:00
Simon Conseil
3fe48b05f3 more tests for plugins 2018-01-04 00:33:17 +01:00
Simon Conseil
72e58f0eef Add test for the build command 2018-01-03 23:09:35 +01:00
Antoine Beaupré
48c064d9f1 use abbr to explain what the metadata fields are
Keep the normal font for browsers that switch to smallcaps, as
suggested by MDN:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr

We remove the dotted line normalization currently configured in the
`normalize.css` file because it actually creates a *second* dotted
line in Firefox 57. The directive there is `text-decoration` which is
what we disable here instead. It looks better without any dotted line.

We leave the trailing commas and strings like `ISO`, `f/` or `mm` but
those could also be managed through CSS. `<br>` tags may similarly be
managed better through CSS as well.
2018-01-03 13:35:04 -05:00
Simon Conseil
489936d291 pep8 2018-01-03 19:16:16 +01:00
Simon Conseil
2a9b8a0a4a Fix rst markup [skip ci] 2018-01-03 19:12:11 +01:00
Simon Conseil
731fde29f5 Clarify debugging instructions (closes #252) 2018-01-03 19:10:30 +01:00
Simon Conseil
f4d07aad80 Merge pull request #273 from leplatrem/configurable-ffmpeg
Allow to configure the ffmpeg binary
2018-01-03 19:01:29 +01:00
Simon Conseil
ae6abc3600 Add to AUTHORS [skip ci] 2018-01-03 19:00:43 +01:00
Simon Conseil
498d94c2b3 Add video_converter to the settings dict
Also split arguments for image and video's generate_thumbnail functions.
2018-01-03 18:52:15 +01:00
Mathieu Leplatre
c5fb2645ff Allow to configure the ffmpeg binary
Can be 'avconv' in certain distributions.
2018-01-03 18:52:05 +01:00
Simon Conseil
2c3fb55bdc Fix missing argument in generate_thumbnail 2018-01-03 18:33:15 +01:00
Simon Conseil
f39ada4f05 Merge pull request #282 from saimn/codecov
Switch to codecov
2018-01-03 18:25:57 +01:00
Simon Conseil
816924f8ee Switch to codecov 2018-01-03 18:15:27 +01:00
Simon Conseil
d5f4fcaa09 Merge branch 'tests' 2018-01-03 18:07:25 +01:00
Simon Conseil
3b9d5c82bd Remove use of fr language 2018-01-03 18:02:17 +01:00
Simon Conseil
02b46efadb Use up-to-date pip and setuptools 2018-01-03 18:01:51 +01:00
Simon Conseil
1c222843e6 Switch to travis' container-based infrastructure.
https://docs.travis-ci.com/user/migrating-from-legacy/
2018-01-03 18:01:38 +01:00
Simon Conseil
dc50936eed Update changelog [ci skip] 2018-01-03 17:24:33 +01:00
Simon Conseil
1e96a7c939 Add setting to customize the EXIF datetime format (fix #271)
- The default format is now `%c`
- Fix documentation confusion between ``datetime`` and ``dateobj``
2018-01-03 17:11:58 +01:00
Simon Conseil
f4ef6ce5fa Merge branch 'pr/234' 2018-01-03 12:41:15 +01:00
Simon Conseil
bc59af6673 Align labels 2018-01-03 12:40:00 +01:00
Tilman Adler
ca20b28229 add a progress bar for writing index files 2018-01-03 12:33:03 +01:00
Antoine Beaupré
2e324123b6 include camera model and shorten exif stats
This adds a line to show the camera model and make, if available, and
reorders and cleans up the EXIF parameters extracted so they are more
readable for photographers (who are the ones who care about this
anyways).

Note that, as a photographer, I know what "Fstop" mean, but I would
expect "exposure" or the common f/X.Y notation. The "Focal" label
means nothing to me: "Focal length" would mean something, but it's
long - and what are the units? Just using "mm" here clarifies any
possible misunderstanding.

I have found this format to be way more readable. The following:

    ISO: 3200, Focal: 50, Exposure: 1/40, Fstop: 4.0
    Date: dimanche, 31. décembre 2017

Becomes:

    ISO 3200, 1/40s f/4.0, 50mm
    FUJIFILM X-T2
    dimanche, 31. décembre 2017

Now: dropping the explicit labels may be controversial, but I would
argue this is what markup is for. We could wrap those elements in
named <span> or <acronym> elements to provide more information through
mouse-over or CSS.
2017-12-31 17:57:15 -05:00
Simon Conseil
7e35d1fa40 Merge pull request #270 from matelakat/make-extensions-configurable
Refactor: configurable file extensions
2017-11-08 21:21:14 +01:00
Mate Lakat
4f22c02ed6 Refactor: configurable file extensions
This change enables people to configure what file extensions should be
recognised as images and videos by setting:

`img_extensions` and `video_extensions`
2017-11-08 21:04:59 +01:00