nmhive.py: Add GET /tags
authorW. Trevor King <wking@tremily.us>
Sun, 21 Sep 2014 12:22:56 +0000 (05:22 -0700)
committerW. Trevor King <wking@tremily.us>
Sun, 21 Sep 2014 13:04:47 +0000 (06:04 -0700)
commit3eba9b8c2c3a1736549cbe6f5dfcb8fd05da62ab
treeabb25a405ff05a877015a8d7636b458efe13e929
parentf4a57b51fafbfa2093cced3dedfdc73b62b441ed
nmhive.py: Add GET /tags

We don't want bookmarklet users adding random tags.  Instead, restrict
them to tags that are already in the database, which allows us to keep
a consistent tag-set and present a simpler UI.  The hard-coded
_AVAILABLE_TAGS will be replaced by a notmuch query once I finish with
the UI.
nmhive.py