No description
Find a file
Ethan Dalool 0d0431edff Centralize and unify search parameter normalization
Create searchhelpers.py which normalize incoming search parameters.

Add argument give_back_parameters so we can more effectively return the normalized parameters to the user to learn from their mistakes.

Create objects.WarningBag and stop using the warnings module with the unclear warning-catcher.

Fix handling of photos without extensions (still needs improvement).

Adopt use of pathclass.Path in more places and keep thumbnail paths relative so that the entire _etiquette dir can be moved and still work right away.

Probably some other things
2016-12-24 17:13:45 -08:00
samples Move files to top of repository 2016-11-28 20:19:31 -08:00
static Add early author search; Load Photo.mimetype on instantiation 2016-12-23 19:49:51 -08:00
templates Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
.gitignore checkpoint 2016-09-18 01:33:46 -07:00
constants.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
decorators.py very early session and registration support 2016-12-18 05:12:14 -08:00
etiquette.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
etiquette_easy.py Move files to top of repository 2016-11-28 20:19:31 -08:00
etiquette_launch.py add some tailing newlines 2016-12-16 03:27:39 -08:00
etiquette_upgrader.py Add author column to photos 2016-12-20 14:54:23 -08:00
exceptions.py general cleanup; move binding_filler helper 2016-12-20 21:33:14 -08:00
helpers.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
jsonify.py Add early author search; Load Photo.mimetype on instantiation 2016-12-23 19:49:51 -08:00
objects.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
phototagger.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
README.md Create objects.py 2016-12-16 20:02:08 -08:00
requirements.txt Greatly improve zip endpoint with python-zipstream 2016-12-20 17:44:22 -08:00
searchhelpers.py Centralize and unify search parameter normalization 2016-12-24 17:13:45 -08:00
sessions.py very early session and registration support 2016-12-18 05:12:14 -08:00
test_phototagger.py add some tailing newlines 2016-12-16 03:27:39 -08:00

Etiquette

This is the readme file.

To do list

  • User account system, permission levels, private pages.
  • Bookmark system. Maybe the ability to submit URLs as photo objects.
  • Generalize the filename expression filter so it can work with any strings.
  • Improve the "tags on this page" list. Maybe add separate buttons for must/may/forbid on each.
  • Some way for the database to re-identify a file that was moved / renamed (lost & found). Maybe file hash of the first few mb is good enough.
  • Move out more helpers
  • Debate whether the UserMixin.login method should accept usernames or I should standardize the usage of IDs only internally.

Changelog

  • [addition] A new feature was added.
  • [bugfix] Incorrect behavior was fixed.
  • [change] An existing feature was slightly modified or parameters were renamed.
  • [cleanup] Code was improved, comments were added, or other changes with minor impact on the interface.
  • [removal] An old feature was removed.

 

  • 2016 11 28

    • [addition] Added etiquette_upgrader.py. When an update causes the anatomy of the etiquette database to change, I will increment the phototagger.DATABASE_VERSION variable, and add a new function to this script that should automatically make all the necessary changes. Until the database is upgraded, phototagger will not start. Don't forget to make backups just in case.
  • 2016 11 05

    • [addition] Added the ability to download an album as a .tar file. No compression is used. I still need to do more experiments to make sure this is working perfectly.