Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Ask Me Anything #7

Merged
merged 1 commit into from Dec 24, 2018

Conversation

Projects
None yet
1 participant
@kirsle
Copy link
Owner

kirsle commented Dec 24, 2018

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
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

@kirsle kirsle merged commit 0943ff3 into master Dec 24, 2018

@kirsle kirsle deleted the questions branch Dec 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.