Xevion
710924c419
fix thumbnail dir not being created for new installs, add traceback printing for failed thumbnail printing, fix naive datetime object loading
...
on new installs, the thumbnail directory in /viewer/static is not created automatically
when thumbnail generation fails for any reason, tracebacks are not printed
i fixed the numerous warnings generated by not setting the DateTimeField to a datetime object with a timezone (fixed with dateutil package)
2020-11-05 18:27:01 -06:00
Xevion
174c9090e6
fix references to image resolution field not being properly added/saved
2020-11-03 19:27:24 -06:00
Xevion
c5b8f35dde
big migrate, add refreshing to create class method, make size, resolution and file modification fields nullable, fix ServedDirectory lastRefreshed's lack of default, remove last of easy_thumbnails
...
also adds some small documentation/typing fixes
2020-11-03 19:11:59 -06:00
Xevion
6046783174
add filesize field with human readable property, rename all size fields to resolution, private __thumbs_path var for ease of use
2020-11-03 18:37:17 -06:00
Xevion
f00dadf4ca
fix thumbnail deletion not occurring due to nonexistent file
2020-11-03 18:26:42 -06:00
Xevion
09e82944d7
add/improve refreshing logic & metadata management, improve thumbnail logic & regenerate kwarg, overall more documentation/commands
2020-11-03 18:26:12 -06:00
Xevion
ed3e656ee8
begin adding more meta attributes to ServedDirectory and File models, small improves to documentation and accompanying metadata logic
2020-11-03 18:01:49 -06:00
Xevion
041e2a6e42
specific thumbnail generation view + manual refresh thumbnail generation, progress bar with error handling and thumbnail deletion
2020-10-31 23:01:59 -05:00
Xevion
d565e82c50
added manual refresh functionality, fixed mistake with meaning of File directory field (foreign key not path)
2020-10-31 20:59:00 -05:00
Xevion
fbd623c0f2
add subdirectories field with django-jsonfield, separate actual files and subdirectories, note some TODOs
2020-10-31 20:45:40 -05:00
Xevion
02c58830f7
create new File model for better Directory and file thumbnail state management
2020-10-31 20:37:31 -05:00
Xevion
f7cde0b4dc
fix timezone setting, fix invalid default for CharField
2020-10-31 12:26:55 -05:00
Xevion
ec785d5360
create ServedDirectory model, setup project settings, add Viewer app to project, uuid migration
2020-10-31 05:28:25 -05:00
Xevion
67b717d10c
git init
2020-10-31 04:32:03 -05:00