Commit Graph

16 Commits (a73a4c611a23cd33afabe8e767b78f1dd37dc358)

Author SHA1 Message Date
voussoir f7c51f394d
Add proxyfix to the dev server as well.
Obviously the dev server shouldn't be used in prod, but when testing
it's helpful for them to behave a little more similarly.
2022-03-26 13:22:03 -07:00
voussoir 93e03656ca
Small tidy ups. 2022-03-26 13:22:01 -07:00
voussoir 85055cdea2
Use new betterhelp. 2022-02-12 19:56:00 -08:00
voussoir 9f7a7ca3f7
Remove unnecessary cwd. It is the default anyway. 2021-10-02 12:45:51 -07:00
voussoir e5c16c4ba1
Improve etiquette_flask_dev helptext. 2021-09-08 19:40:05 -07:00
voussoir 23f9a5427f
Make better use of vlogging. 2021-09-08 19:36:29 -07:00
voussoir 26d5ff5730
Update closest_photodb to take starting path argument. 2021-05-16 21:08:51 -07:00
voussoir 4bf5b6d824
Replace dev_ino with mtime, sha256.
This change was prompted by my discovery that under DrivePool, two
files can have the same dev, ino pair. It's understandable but the fact
of the matter is I don't want to rely on inodes any more.
Hashing has the downside of speed, but considering the time investment
of tagging files in the first place I think it should be worthwhile.
2021-02-03 12:12:47 -08:00
voussoir fb5f2f2470
Move site.debug to _dev, _prod launchers. 2021-01-20 18:26:42 -08:00
voussoir c3ec4f06a3 Improve "Try etiquette_cli init" message. 2021-01-15 00:02:24 -08:00
voussoir e5be26f8b0 Add PhotoDB.closest_photodb for frontend instantiation. 2021-01-09 15:42:16 -08:00
voussoir ae436a7079 Display process id on server launch. 2021-01-08 13:38:54 -08:00
voussoir 010c92cb73 Set photodb log_level from argv. 2020-11-08 20:20:04 -08:00
voussoir 70dfe8aca8 Enforce keyword-only args, alphabetize args. 2020-09-30 15:17:20 -07:00
voussoir 5e6a666ca2 Add option --localhost_only. 2020-09-30 15:15:49 -07:00
voussoir 59cc76f8d9 Rename flask launchers -> _dev, _prod.
I want to reduce some complexity around here, part of which is that
launch imported entrypoint imported backend, all to do some proxy
wrapping which isn't necessary for the dev case anyway. Less
layers of wrapping and importing is good. Plus I think this naming
is more clear.
2020-09-30 15:05:44 -07:00