Commit Graph

167 Commits

Author SHA1 Message Date
Markus Pawlata
a45ecc76b0 Added requirements.txt for a possible virtualenv 2018-11-30 00:26:38 +01:00
Markus Pawlata
23900670ca Restored local js/css processing, removed superfluous .gitignore files, removed htacces-files, moved sample config to sample files 2018-11-30 00:12:11 +01:00
Joachim Tingvold
3b9f64b057 Fixed logical error after introducing timestamp of videos from
EXIF data. Previous logic dictated that all timestamps should
live within attribute name starting with "dateTime", which caused
issues when re-scanning an album (complaining about corrupt cache).
Renamed variable and all is good.
2018-11-15 01:40:22 +01:00
Joachim Tingvold
6029f92aad Scale videos properly. Previously there was an issue with vertical
or squared videos bigger than 720 pixels high. Also sets timestamp
for videoCreateDate even if nothing is found. Done to avoid cache
corruption when walking the albums.
2018-11-11 05:54:57 +01:00
Joachim Tingvold
5cbc3f31e3 Use other timestamp for videos.
Easier to manipulate timestamp via exiftool this way.
2018-11-11 04:22:15 +01:00
Jason A. Donenfeld
1cc1ec02aa AJAX Crawl Specification is depreciated
See [1] for more information.

[1] http://googlewebmastercentral.blogspot.fr/2015/10/deprecating-our-ajax-crawling-scheme.html
2015-11-10 21:16:09 +01:00
Jason A. Donenfeld
1a2b14bb47 More python insanity 2015-11-10 21:15:25 +01:00
Joachim Tingvold
e4244d086d Fix issue with duplicate video frames.
Whenever you had more than one video in a row, it would not
clear the old video before showing the next, resulting in multiple
video frames being shown, only getting cleared whenever a photo
appeared. Big irritation, small fix (-:
2015-10-20 03:20:47 +02:00
Joachim Tingvold
05475b6ed0 Fix issue with transcoding old MJPEG-movies. 2015-07-07 14:33:16 +02:00
Joachim Tingvold
0e258a46dc Don't crash when unable to unlink 2015-06-17 20:41:38 +02:00
Joachim Tingvold
49b4667703 Added comment. 2015-06-17 20:35:14 +02:00
Joachim Tingvold
9a15b2c2c0 Be totally quiet. Overwrite thumbs. 2015-06-17 20:10:50 +02:00
Joachim Tingvold
52e025b07d Use H264 (rather than webm)
Primarily done to support IE and Safari.
2015-06-17 17:30:35 +02:00
Joachim Tingvold
fa5f0c1fcd Re-create thumbs/transcodes if deleted.
Previously thumbs/transcodes were only created if mtime() of
the file didn't match what was stored in the json-file. If you
deleted a thumb/transcode from the cache_path, it would not be
re-created unless you modify the mtime() of the original files
(in album_path).
2015-06-17 14:49:55 +02:00
Joachim Tingvold
ec0828e610 Merge updates from 'master' 2015-06-06 06:55:18 +02:00
Joachim Tingvold
37b63f2a4a Kill pool if interrupted/error. 2015-06-06 06:45:22 +02:00
Joachim Tingvold
a169bafdd8 Fix args passed to videotool. Fixed video.
Encodes at 4Mbps with multiple cores.
2015-06-02 23:13:26 +02:00
Joachim Tingvold
3bdcd1cc66 Handle TypeError. exif{}-date is already datetime. 2015-06-02 20:28:28 +02:00
Jason A. Donenfeld
f5696cb075 Allow masking directories by twiddling permissions. 2015-05-26 14:55:09 +02:00
Joachim Tingvold
3aa0e4afb0 Updated jQuery Mousewheel so it actually works :-D 2015-05-06 00:21:54 +02:00
Joachim Tingvold
b97981aee8 Cleanup unused files. Minor tweaks. 2015-05-05 12:48:19 +02:00
Joachim Tingvold
37db1402c5 Minor changes. 2015-05-05 10:08:51 +02:00
Joachim Tingvold
ce45ae55ef Minify-scripts. Updated jQuery. 2015-05-05 09:57:16 +02:00
Joachim Tingvold
1b2cde7661 Correct order of arguments. 2015-05-05 00:39:26 +02:00
Joachim Tingvold
50ab2143ec Heh :-D 2015-05-05 00:12:40 +02:00
Joachim Tingvold
ff7e540eb8 Thumbnail-method for both photo and video. 2015-05-05 00:08:37 +02:00
Joachim Tingvold
80bb5258d6 If tool fails, it would not continue. 2015-05-04 23:57:27 +02:00
Joachim Tingvold
ac52f76025 First attempt at merging video-patch. 2015-05-04 19:46:58 +02:00
Joachim Tingvold
6e4fe49d50 Updated master, merging into patches. 2015-05-04 17:45:03 +02:00
Jason A. Donenfeld
54c68be7fd Don't crash when unable to unlink 2015-01-27 15:18:27 +01:00
Jason A. Donenfeld
148b88951d Don't deal with invalid unicode 2015-01-27 14:39:44 +01:00
Jason A. Donenfeld
8956a6c9a5 Don't prefix root for images 2015-01-27 14:25:06 +01:00
Jason A. Donenfeld
61aabc7ee2 Copy and paste error 2015-01-25 14:21:04 +01:00
Jason A. Donenfeld
7d2528280b Python unicode is awful 2015-01-19 13:08:45 +01:00
Jason A. Donenfeld
2b8918dd7c Return proper date type. 2014-08-25 22:37:46 +02:00
Jerome Charaoui
5d8aa9b212 Add wishlist item : download link for original video 2014-08-16 11:41:45 -04:00
Jerome Charaoui
d5c9f54b34 Convert Exif dateTime[Original] attributes to datetime type to fix comparison with dateTimeFile 2014-08-15 20:46:23 -04:00
Joachim Tingvold
a7192297df Indents (-: 2014-03-16 15:19:52 +01:00
Joachim Tingvold
dee0ab294f Use threading to make thumbs in parallel.
Known bug: interrupt makes it go crazy.
2014-03-16 15:17:13 +01:00
Joachim Tingvold
c9ce27eb87 Add 1600px size. Remove unused 800px size. 2014-03-16 15:03:54 +01:00
Joachim Tingvold
20fe79eb4e Show image before album. Loads image faster when using direct image URL. 2014-03-16 15:02:03 +01:00
Jason A. Donenfeld
ba69da0fde Send admin password, not admin username. 2014-03-14 11:32:19 +01:00
Jason A. Donenfeld
50dbff09ea Readme updates. 2014-03-12 23:31:35 -06:00
Jason A. Donenfeld
c117aa0f9e Add readme 2014-03-12 18:23:41 -06:00
Jason A. Donenfeld
d33715066a Restructuring
Import flask app as well as new makefile and entirely new directory
structure.
2014-03-12 17:28:59 -06:00
Jerome Charaoui
52667388e9 Fix caching of top-level items 2014-02-13 23:28:59 -05:00
Antoine Beaupré
ecbd6d5552 fix check for webm support, which had logic reversed 2014-02-13 21:32:45 -05:00
Jerome Charaoui
5e53d3ac3b Close bug ea1/31e (Libav support) 2014-01-30 14:37:39 -05:00
Jerome Charaoui
213fd2ffc7 Support libav for video processing 2014-01-29 18:11:25 -05:00
Jerome Charaoui
471e0eb820 Use Modernizr to check for <video> support and show an error messag if absent. 2014-01-28 01:18:30 -05:00