Commit graph

40 commits

Author SHA1 Message Date
7ac5463f64 Accounts now follow themselves on account creation 2018-04-03 00:35:51 +01:00
5a3fb52380 Don't post status if content is blank 2018-04-02 17:00:40 +01:00
411cf7f7b0 Fixed get followers method, now shows followers count on profile 2018-03-28 02:04:28 +01:00
81d09f60e6 Method for getting followers of an account 2018-03-28 01:58:47 +01:00
SecretlyTaco
5651a90df6 Merge branch 'messages' 2018-03-23 03:52:12 +00:00
SecretlyTaco
2a2fb86b8b Private messaging actually works now 2018-03-23 03:50:33 +00:00
a09225a523 Added most of the code for private messages, although something doesn't work at the moment 2018-03-23 02:39:57 +00:00
SecretlyTaco
fc5100c515 Created method to send private messages 2018-03-22 23:22:20 +00:00
ba9367b35d Added the ability to edit posts, with edited marker on profiles 2018-03-22 22:27:03 +00:00
de15a84c54 Added max length for usernames 2018-03-20 22:16:14 +00:00
SecretlyTaco
afe3395d48 Created messages.py with basic send_message function 2018-03-17 01:40:28 +00:00
698026b9b3 Fixed settings form to keep current profile picture when none selected 2018-03-06 03:41:05 +00:00
SecretlyTaco
13e90c22f8 Merge branch 'themes' 2018-03-05 14:03:57 +00:00
SecretlyTaco
67cb99732b Fixed typo that caused theme to be reset whenever it was checked 2018-03-05 14:00:57 +00:00
SecretlyTaco
948fe20c74 Created mentions page 2018-03-01 14:01:55 +00:00
SecretlyTaco
ea2f3f84e5 Added check for empty files 2018-02-28 22:16:51 +00:00
SecretlyTaco
34eda46c87 Added functional file upload form, as well as a /files/<oid> view to get files 2018-02-28 10:02:05 +00:00
SecretlyTaco
b0fe8621c8 Added code to read files from gridfs system 2018-02-28 01:11:08 +00:00
SecretlyTaco
02a01bdacf Merge branch 'themes' 2018-02-25 16:10:32 +00:00
SecretlyTaco
a544dac974 Set theme to default if no theme set 2018-02-25 12:09:44 +00:00
ddce8c2636 Set default theme on account creation 2018-02-24 19:05:32 +00:00
SecretlyTaco
10e195e85b Now only lets you like/unlike a post if you havent already 2018-02-24 11:01:07 +00:00
SecretlyTaco
d674bc7acf Added like/unlike buttons to posts on profiles 2018-02-23 22:14:17 +00:00
4c1b031ee5 Merge branch 'replies', showing full thread history on reply page 2018-02-22 18:58:15 +00:00
ebb086ecb2 Fixed bug with infinite looping to get parents 2018-02-22 18:55:08 +00:00
SecretlyTaco
b403b9f2bf Merge branch 'themes', allowing darkly theme option 2018-02-21 21:33:42 +00:00
SecretlyTaco
1dab258335 Implemented more generic themes options, allowing between 'default' and 'darkly' themes 2018-02-21 21:32:52 +00:00
SecretlyTaco
61f5080910 Dark theme checkbox is now checked by default, where applicable 2018-02-21 12:29:55 +00:00
SecretlyTaco
17a3cf0491 Implemented basic full threading, although currently gets stuck in infinite loop 2018-02-21 11:21:50 +00:00
SecretlyTaco
173acbb179 Merge branch 'replies' 2018-02-21 09:27:00 +00:00
SecretlyTaco
417da1a9d2 Added functions to get and set dark theme for users 2018-02-21 08:52:54 +00:00
8359fc42d4 Shows one reply further back on replies page where possible 2018-02-20 17:04:34 +00:00
6cdc40516a Fixed some line spacing 2018-02-20 16:41:17 +00:00
SecretlyTaco
22c3193f12 Created un/follow buttons 2018-02-18 15:15:25 +00:00
SecretlyTaco
a07df6d023 Fixed broken 'replyTo' params 2018-02-18 15:15:03 +00:00
16a2507503 Completed ability to reply to posts 2018-02-18 13:51:49 +00:00
934bd8dbd9 Created username_for_email(), get_profile(), update_profile()
- username_for_email() to get a username for an acccount, given an email address
- get_profile(username) to get a user profile dict, given a username
- update_profile(username, details) to update a user profile dict, given a username and updated details
2018-02-16 05:21:58 +00:00
fe108d1a35 Initial Commit
Creation of
- post_status(), to post a status
- user_posts_by_username(username) to get posts for a specific account, given username
- user_posts(account_object) to get posts for a specific account, given user ID
- timeline_for_user(username) to get 'following' timeline for a user, given username
- global_timeline() to get all posts
- post_details(post_id) to get post details, given post ID
- delete_post(post_id) to 'delete' post, sets post as hidden
2018-02-16 05:18:39 +00:00
Socks
f44e07a414 Created timeline.py to manage posts, fixdb.py to add missing db entries, layout.html for pages to extend (containing navbar), separated login.html and register.html, created profile.html page 2018-01-30 03:58:05 +00:00
Socks
16bf449dff Initial Commit
- Basic accounts system
2018-01-12 12:45:52 +00:00