Simon Conseil
03d5b0dd67
Use sphinx's builtin extension for issue links
2018-08-27 00:39:03 +02:00
Simon Conseil
062f959000
Ignore .pytest_cache directory
2018-08-27 00:23:32 +02:00
Simon Conseil
23cc8a994b
Remove encoding specification
2018-08-27 00:15:17 +02:00
Simon Conseil
915030a2f3
Remove the u prefix for unicode strings
2018-08-27 00:11:07 +02:00
Simon Conseil
c02f6ff263
Merge pull request #329 from Glandos/performance
...
Initialize markdown only once
2018-07-09 00:04:40 +02:00
Simon Conseil
e33c4e3b06
Update classifiers and README about Python 3
2018-07-02 00:05:05 +02:00
Glandos
f95393b114
empty content means empty meta dict, not absent
2018-06-19 22:43:43 +02:00
Glandos
c3fc14c4f1
Call reset() if already initialized.
...
This also include a workaround for a
waiting-to-be-merged bug in python-markdown.
2018-06-19 22:43:07 +02:00
Glandos
cb2a0898e5
Initialize markdown only once
2018-06-16 23:01:03 +02:00
Simon Conseil
99bafaf14c
Merge pull request #328 from nebulans/nebulans-js-link
...
Remove erroneous double slash from galleria template
2018-06-12 23:00:33 +02:00
Tim Davies
03f52aa67c
Merge branch 'master' into nebulans-js-link
2018-06-12 20:34:49 +01:00
Simon Conseil
8c75374906
Merge pull request #324 from anarcat/auto-impr
...
add another auto-refresh example: entr
2018-05-01 23:06:19 -04:00
Antoine Beaupré
87c396de04
add another auto-refresh example: entr
...
Peat is great, but it's not already installed in Debian, so I am using
`entr` for the same purpose. Improve the FAQ by pointing directly at a
commandline that does the equivalent to the peat example.
2018-04-30 14:10:04 -04:00
Tim Davies
2b3f73b6c4
Remove erroneous double slash in link to js
...
Double slash here does not work with certain hosting environments, eg S3
2018-04-08 16:20:16 +01:00
Simon Conseil
d6843ce03d
Fix a few pep8 issues
2018-04-05 00:28:38 +02:00
Simon Conseil
705d23c2cd
Force loading of truncated files ( closes #320 )
2018-04-04 23:51:33 +02:00
Simon Conseil
94e8ae9ffb
Merge pull request #322 from saimn/galleria-video
...
Workaround for galleria and videos
2018-04-04 23:41:50 +02:00
Simon Conseil
c5366eba4d
Workaround for galleria and videos
...
It looks like galleria's video tag in json support only external
provider (youtube etc.). So instead this shows an empty image and on top
a layer with the html video tag.
2018-04-04 00:50:00 +02:00
Simon Conseil
fbdd95295c
Merge pull request #316 from IrvinDitz/master
...
Fix for crash when IPTC reading fails
2018-03-19 09:11:17 +01:00
Andriy Dzedolik
802ebb7526
Updated IPTC fix with try-else block
2018-03-19 07:41:42 +00:00
Simon Conseil
4cdfb67103
Do not load tiles by default and reorganize a bit galleria's js
...
- Map tiles do not need to be loaded until the map is displayed
- It seems that Galleria.run must be called after Galleria.ready, though
both seems to work
- Mention shortcuts for map and fullscreen
2018-03-19 00:24:13 +01:00
Simon Conseil
9bc924e67c
Update Pillow link for ImageOps
2018-03-18 23:20:27 +01:00
Simon Conseil
18411e7bd6
Update AUTHORS
2018-03-18 23:20:27 +01:00
Simon Conseil
f178a50b5e
Remove duplicated assert
2018-03-18 23:20:27 +01:00
Simon Conseil
bd9e547e78
Merge pull request #307 from edwinsteele/feature/faster-first-image-load
...
Galleria: Load first image earlier
2018-03-18 23:19:44 +01:00
Simon Conseil
108bba7999
Merge pull request #312 from edwinsteele/galleria-json-config
...
Galleria theme now reads image data from json
2018-03-18 23:18:04 +01:00
Simon Conseil
f2753ba52d
Merge pull request #302 from Glandos/more_compress_tests
...
[compress_assets] Mission: 100% coverage
2018-03-18 22:01:38 +01:00
Andriy Dzedolik
08cc6475af
Fixed crash when IPTC reading fails
2018-03-16 10:48:54 +00:00
Glandos
99c7af208b
Remove custom code to mask modules, use builtin features.
...
Note that it uses unittest.mock that is available from Python 3.3
2018-03-11 21:08:55 +01:00
Edwin Steele
2f66532718
Use galleria thumbnails for videos too
...
Also offer a big link for videos, if configured, not just for images
json loading means that static/img/empty.png is unnecessary.
2018-03-11 14:40:55 +11:00
Edwin Steele
472a58bb5f
Remove duplicate simulation of map toggle click
...
Increase thumbnail lazy load chunk size, as only the first chunk
of thumbnails are loaded before the map layers are loaded in the
background. 50 thumbnails should fill the thumbnail row on most
screens, so gives the impression of a complete gallery load.
2018-03-11 14:30:04 +11:00
Simon Conseil
a7841c5da5
strings should always be unicode now
2018-03-11 01:38:19 +01:00
Simon Conseil
619b3d67cb
Merge pull request #314 from saimn/subprocess
...
Use subprocess.run instead of custom wrapper
2018-03-11 01:37:01 +01:00
Simon Conseil
42793b50ad
encoding was added in py36
2018-03-11 01:31:19 +01:00
Simon Conseil
599115a20f
Use subprocess.run instead of custom wrapper
2018-03-11 01:22:11 +01:00
Simon Conseil
06744c83be
Add some transparency for galleria's info box ( fix #308 )
2018-03-11 00:51:21 +01:00
Simon Conseil
dc88bba27a
Merge pull request #309 from saimn/py3
...
Drop Python 2 support
2018-03-10 23:47:21 +01:00
Simon Conseil
ad0cec92b3
Merge pull request #310 from saimn/leaflet
...
Update Leaflet.js
2018-03-08 00:47:11 +01:00
Edwin Steele
5f6d62eaa6
Galleria theme now reads image data from json
2018-03-07 20:42:19 +11:00
Simon Conseil
9a60703ceb
Update leaflet-providers
2018-03-07 01:05:33 +01:00
Simon Conseil
9e337be991
Update leaflet to 1.3.1
2018-03-07 01:03:58 +01:00
Simon Conseil
15c6166d27
Update changelog
2018-03-07 00:49:57 +01:00
Simon Conseil
cf3bd4bf6d
Use python_requires and raise an error if an older Python is used
2018-03-07 00:48:52 +01:00
Simon Conseil
e9ae4b739c
Add brotli/zopfli to requirements.txt
2018-03-07 00:48:18 +01:00
Simon Conseil
5ba8097a2d
Remove py2/py3 compat file
2018-03-07 00:47:38 +01:00
Simon Conseil
39da00d5f8
Update tox
2018-03-05 01:07:55 +01:00
Simon Conseil
2d9a2e735e
Remove old compatibility code for Pillow 3.0
2018-03-05 00:57:49 +01:00
Simon Conseil
4bab96fdde
Remove py2 code
2018-03-05 00:53:39 +01:00
Simon Conseil
5fd55b27b1
Update travis conf
2018-03-05 00:45:11 +01:00
Edwin Steele
d81476ffc9
Galleria: Load first image earlier
...
Galleria triggers loading of the main gallery iamge via javascript
which has two problems. It only triggers the load when javascript
has been processed and loads it at the same time as the second and
third image which means it's competing with background images for
bandwidth. We know that the first image will always be seen, so
trigger a load in the document rather than waiting for js to do it.
2018-03-04 14:17:32 +11:00