Commit Graph

57 Commits

Author SHA1 Message Date
e35247ea70 video files now have a icon to indicate its a video as well 2021-01-12 14:44:11 +11:00
4c662b3a0e removed debug print of video thumbnail, and made file importer look to see if file is newer than last import, if so, process it and store it in the database. If its older skip it. Then at the end of the function return the database as the list we process 2021-01-12 13:49:05 +11:00
6e67bcd803 stupid me, the video thumbnail did not have thumb class, so it was not being resized by buttons, now works, ratios still seem odd, but its ok 2021-01-12 01:49:51 +11:00
83c7e5379c Merge branch 'master' of 192.168.0.2:photoassistant
BUT, the thumbnails for the videos are fixed ratios, so the resizing doesnt work for them.. Odd
2021-01-12 01:48:11 +11:00
3a16379aca basic improvement for sizing buttons, but also sizing is smarter, this way I do not need to know the image or thumbnail ratios :) 2021-01-12 01:45:26 +11:00
Cam
225b919ad2 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-11 12:51:19 +11:00
Cam
eeb24611c8 got video thumbnails working, added another pip packages to the README, and edited the templates/files.html accordingly. 2021-01-11 12:50:31 +11:00
38f8a3228d token version of resizing thumbs done 2021-01-11 12:34:53 +11:00
Cam
e730d56018 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-11 12:05:00 +11:00
Cam
050ce69617 added generation of video thumbnails 2021-01-11 12:04:57 +11:00
cd34be0316 files view now has icon for videos, better text/image alignment 2021-01-11 12:01:38 +11:00
7db4b38805 added view files menu option 2021-01-11 11:48:49 +11:00
f60b52ec0e Merge branch 'master' of 192.168.0.2:photoassistant 2021-01-11 11:48:33 +11:00
80b199bc26 files now shows thumb view - first pass 2021-01-11 11:48:01 +11:00
Cam
980db74a78 added a bug, and also stuck all of our utility functions for files into a class 2021-01-11 11:47:37 +11:00
Cam
6906f02246 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-11 11:31:21 +11:00
Cam
cf629ffc10 removed newline...? git weirdness 2021-01-11 11:31:10 +11:00
5741470ce0 moved over to the beginnings of a class for file data, functional again 2021-01-11 11:28:49 +11:00
ccc8085aaf changed Photo class and DB table to be Files, also reflected through templates/files* - files.html is not used yet 2021-01-11 11:00:31 +11:00
e0400ff321 fixed up so DB will work for photos, need to do that in batch mode once per photo though -- for another day 2021-01-10 21:00:26 +11:00
c3debb3425 first pass of click through to see real image 2021-01-10 20:50:47 +11:00
608bfb81e8 deleted static/images_to_process, it is now gitignored 2021-01-10 20:45:34 +11:00
dbd47c4a0d Try this version of symlink creation 2021-01-10 20:44:44 +11:00
Cam
716610ddbc trying symlinks halfway through testing 2021-01-10 20:37:14 +11:00
57fe12c65d keep static, but not its contents 2021-01-10 20:19:43 +11:00
6c8d065dd7 Merge branch 'master' of 192.168.0.2:photoassistant 2021-01-10 20:16:52 +11:00
aa537c5ae7 moved funcs around so routes are at the bottom of photos.py, created a static route will have to use symlinks to get it to work, but trying this first on windows to see 2021-01-10 20:16:12 +11:00
Cam
7c84441600 quick fixes to get rid of thumbnails in photos 2021-01-10 20:14:56 +11:00
Cam
b280b21544 fixed thumbnails by getting rid of the b"" on each thumbnail base64 encoded string 2021-01-10 19:41:06 +11:00
Cam
2d88a65ead WARNING: CURRENTLY BROKEN... updated photos.py to use exif data for thumbnails, and templates/photos.html to reflect changes 2021-01-10 18:07:56 +11:00
Cam
c01c586bcd Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-10 17:50:54 +11:00
Cam
1eac80a951 added thumbnail line to db class for photos, and also updated readme 2021-01-10 17:49:58 +11:00
2e4aec7772 removed debugs, added medainfo library to README for installation, added first-pass of thumbnauil, but no code for the actual thumbnail data yet 2021-01-10 17:49:12 +11:00
6807e44228 it now at least does a basic view page successfully, with name, size, hash 2021-01-10 17:31:09 +11:00
ae14ed92c0 Merge branch 'master' of 192.168.0.2:photoassistant 2021-01-10 17:13:33 +11:00
955b9f7701 updated file_list var 2021-01-10 17:13:23 +11:00
05e31e73a1 updated file_list var 2021-01-10 17:13:15 +11:00
Cam
0fe9a595b3 tryin first-pass of file metdata into Photos class 2021-01-10 17:12:22 +11:00
Cam
89eb73dab6 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-10 16:59:24 +11:00
Cam
3fdd43467a updated readme and gitignore, and also update the photos.py file to check what file types everything are, then return back a python dict with the absolute path to a file and the type. also updated the sqlalchemy model class to better fit all of our changes (added some fields that correspond to our file types and such). 2021-01-10 16:56:39 +11:00
f02203057d added my images photo to ignore 2021-01-10 16:54:56 +11:00
cc5983e629 harness for showing file details in view photos 2021-01-10 16:52:30 +11:00
4ed204b9a0 put thead-light class in for table headings 2021-01-10 16:30:27 +11:00
1afb794bb8 first pass at seeing if path exists 2021-01-10 16:11:24 +11:00
0d7fe03e5a made settings work lamely, but functional for now, also removed test route 2021-01-10 15:48:21 +11:00
bfaaf8b7e2 made settings work lamely, but functional for now, also removed test route 2021-01-10 15:47:59 +11:00
cf1adb3e6e made settings work lamely, but functional for now, also removed test route 2021-01-10 15:46:41 +11:00
64d3e3e4cd Settings class now uses sequence, the DB sequence and table have been created and commented out a simple settings addition for now -- Beware it runs twice with Flask in DEV mode 2021-01-10 13:41:36 +11:00
53897a1351 added BUGS, TODO and README, and first class settings 2021-01-10 13:14:49 +11:00
0bbed0ced5 renamed ClearMessage to better name of ClearStatus, and exposed it to jinja2 so status messages now work in base.html 2021-01-10 12:17:14 +11:00