From c65e459340118814134ace54f45bf8251b4155bb Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Sun, 2 Apr 2017 23:54:50 -0500 Subject: [PATCH] ditch the old plan file --- plan.org | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 plan.org diff --git a/plan.org b/plan.org deleted file mode 100644 index 4bb52f1..0000000 --- a/plan.org +++ /dev/null @@ -1,40 +0,0 @@ -* running info -** port 7066 -** http via flask -** endpoint specified by http point instead of a method param -* required endpoints -** old scheme -{ - "check_auth": ["user", "auth_hash"], - "is_registered": ["target_user"], - "is_admin": ["target_user"], - "thread_index": [], - "thread_load": ["thread_id"], - "thread_create": ["title", "body"], - "thread_reply": ["thread_id", "body"], - "edit_post": ["thread_id", "post_id", "body"], - "edit_query": ["thread_id", "post_id"], - "can_edit": ["thread_id", "post_id"], - "user_register": ["user", "auth_hash", "quip", "bio"], - "user_get": ["target_user"], - "user_name_to_id": ["target_user"] -} -** checking auth for user/hash pair (bool) -** checking if a user is registered (bool) -** checking is a user is an admin (bool) -** index of all threads sans replies -** load a thread by id -** create a thread -** reply to a thread -** edit a post within 24hrs (unless admin) -** query a postid with the current auth info to see if elegible (bool) -** register a new user into the system -** retrieve a full user object by name or ID -** retrieve a username for ID and vice versa -* authorization -** SHA256 passhash and username in headers -* what to do differently -** concurrency, sql oriented from the beginning -** dont tell anyone about it until its done -** http instead of socket ports -** start with formatting in mind, store it in plain and render accordingly on the fly