Commit Graph

10 Commits (1821ef60d4e6de13f026ddb6abda6bbe2c88dbeb)

Author SHA1 Message Date
Noah 1821ef60d4 Feature: Ask Me Anything
Implements a Tumblr-style "Ask Me Anything" feature to the blog, with a bit of
automation and niceness:

* The route is at `/ask`
* User can leave their name (Anonymous), email address (if they want to be
  notified when you answer) and ask their question.
* The blog owner is notified about the question via email.
* The owner sees recent pending questions on the `/ask` page.
* Answering a question creates a blog entry and (if the asker left their
  email) notifies the asker to check the blog at the permalink-to-be for the
  new post.

Along with this feature, some changes to the blog application in
general:

* Added support for SQL databases in addition to the JsonDB system
  previously in use for blogs, users, comments, etc.
  * Default uses a SQLite DB at $root/.private/database.sqlite
  * The "Ask Me Anything" feature uses SQLite models instead of JSON.
* Restructure the code layout:
  * Rename the /internal/ package path to /src/
  * Begin to consolidate models into /src/models
2018-12-24 11:50:29 -08:00
Noah 9b938ccff3 Move package from internal to src 2018-12-23 16:21:50 -08:00
Noah 517a2ee86b Questions system WIP 2018-12-23 16:18:04 -08:00
Noah eae499c640 Dummy out Events and Contacts for now, shelved for later 2018-12-15 17:17:36 -08:00
Noah a3ba16c9b2 Anonymous contact authentication for events 2018-05-11 21:29:18 -07:00
Noah a166c72cf3 SQLite DB, initial invite flows and UX 2018-05-11 21:28:55 -07:00
Noah 345878fabe Contact creation and invite UI 2018-04-30 17:50:39 -07:00
Noah 765e80b64d Initial events UI - Creation, editing, viewing 2018-04-29 12:56:37 -07:00
Noah aca9734b14 More config settings and age gating 2018-04-11 19:34:37 -07:00
Noah 7fa422e42f Shuffle around packages, fix rophako-import 2018-02-11 16:24:43 -08:00