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
Glandos
a4cfce4371
prepend instead of appending, to be the first
2018-02-20 22:25:00 +01:00
Glandos
f8f67db0d9
Return a loader, to be sure to interrupt the finder algorithm
2018-02-20 22:24:41 +01:00
Glandos
dda9fbc592
delete existing import harder
2018-02-20 22:24:09 +01:00
Simon Conseil
55399b2b4d
Prepare next version
2018-02-20 00:41:34 +01:00
Simon Conseil
432532c891
Merge pull request #301 from saimn/release-1.4
...
Release 1.4
2018-02-20 00:28:15 +01:00
Simon Conseil
f6b3e4a843
Version 1.4.0
2018-02-20 00:18:59 +01:00
Simon Conseil
10dc09999d
Add source for jquery 2.2.1
2018-02-20 00:18:59 +01:00
Simon Conseil
3cdeca235a
Add message about Python 2 support
2018-02-20 00:14:50 +01:00
Simon Conseil
0c70fda6c2
Add source file for echo
2018-02-19 23:33:47 +01:00
Simon Conseil
9d439a8677
Remove cssmin mentions as it is no more used
2018-02-19 23:32:47 +01:00
Glandos
2b3fcbaac3
make a function for duplicated code
2018-02-19 22:30:00 +01:00
Glandos
0e698e58b9
test no compression cases
2018-02-19 22:26:56 +01:00
Glandos
2d8f32cab4
Add a module masker fixture.
...
This is handy to make some module disappear to test an import failure.
2018-02-19 22:25:20 +01:00