0228fbebfd
Move the random hex generator to helpers.
2018-02-24 18:54:59 -08:00
606a66cbf9
Remove Photo.filepath and real_filepath in favor of real_path.
2018-02-17 15:19:36 -08:00
f7bd49b2dd
Add call to remove_control_chars in remove_bad_pathchars.
2018-02-17 15:07:12 -08:00
ac9d7ede22
Rename Album.photos -> get_photos.
2018-02-16 23:03:54 -08:00
fdcf07940a
Rename Groupable.children -> get_children.
2018-02-16 23:00:43 -08:00
1c1e7f158f
Minor fixes & pylint appeasements.
2018-02-16 21:28:36 -08:00
dec28b321a
Rename recursive_dict_update's parameters for clarity.
2018-02-03 01:10:54 -08:00
b5902ba4f1
Integrate voussoirkit sqlhelpers.
...
https://github.com/voussoir/else/tree/master/SQLHelpers
2018-01-09 21:15:50 -08:00
0b5f736574
Few minor text fixes.
2017-12-16 03:45:07 -08:00
13803dc7f7
Oops, put remove_path_badchars where it belongs alphabetically.
2017-12-07 21:37:55 -08:00
f39717c216
Minor improvements to other helpers and their docstrings.
2017-12-07 21:32:37 -08:00
0d0354f4da
Rename normalize_filepath to remove_path_badchars.
...
Because the function does not do any resolving or converting
to an absolute path, I feel the name 'normalize' is inaccurate
and could be misleading when read. This is more clear.
2017-12-07 21:15:10 -08:00
6cf355d7ce
Rename comma_split to comma_space_split to better describe behavior.
2017-12-07 20:58:06 -08:00
a4b875b9ff
Fix config file not being updated when the default updates.
...
The len check was incorrect ever since I started nesting keys.
Now we measure all of the keys recursively.
2017-10-05 18:39:34 -07:00
4f03815a30
Floating point h Ⓜ️ s, and update to-do.
2017-06-11 21:09:17 -07:00
a5924b4642
I don't know how I forgot about dict(zip())
2017-05-11 22:32:55 -07:00
5b7c05c39d
Improve MMF search speed by pre-filtering photo IDs
...
Not perfected yet but it's an improvement.
Waste less time checking all photos, presearch for matching photos via photo_tag_rel table.
2017-05-01 21:27:54 -07:00
b69ef8ea00
Cleanup some pylint
2017-03-23 15:11:28 -07:00
8793d9ff41
Fix docstrings over 80 characters
2017-03-19 17:34:19 -07:00
db628d158e
Shorten lines longer than 100 characters
2017-03-14 21:18:42 -07:00
d7cd1e9748
Add more docstrings; Remove unused code
2017-03-10 15:01:12 -08:00
888c3b48cd
Completely revise exception message formatting technique
2017-03-04 21:56:23 -08:00
edc2ae2768
Give thumbnails a checkerboard bg for transparent images
2017-03-04 19:27:03 -08:00
415d858e20
Fix toplevel albums not getting digest children; prefix album zips with 'album '
2017-03-03 23:44:43 -08:00
73835e2a7a
Separate concerns: updating given parameters vs rendering dict to param string
2017-03-03 22:11:29 -08:00
9ba1a88174
Fix bug in which only the last photo of a digest was added; Improve mimetype usage by not deleting the subtype
2017-02-27 23:39:06 -08:00
c84acca6c9
Move modules into an actual package
2017-02-04 19:55:13 -08:00
2b34854910
Move files to top of repository
2016-11-28 20:19:31 -08:00
58eb50dfb2
list view
2016-11-06 18:00:30 -08:00
5de1736347
checkpoint
2016-11-05 21:24:43 -07:00