Commit Graph

14 Commits

Author SHA1 Message Date
Xevion
765e786231 Add like counter to user profile
- Also fixed some issue with get_post_count() method? Weird.
2022-03-30 01:41:32 -05:00
Xevion
1a323a8349 Add PostLike and CommentLike models
- Also adjusted some User methods and added ones I believe may be wanted
or needed in time.
- Adjusted online time delta back to 3 minutes.
- Started looking into how to sum 'likes' efficiently on a user's posts.
2022-03-29 22:45:59 -05:00
Xevion
4d986d2c52 Remove unnecessary braces on pluralization filter
I should amend this, but nobody will notice if I make the commit subject line sound complex enough.
2022-03-29 18:14:55 -05:00
Xevion
fd35443a9a Revamp all model relationships to use backref attributes properly
- Fix new post form not including a CSRF token
- Removed some old leftover comment profanity validation, changed to validate_on_submit() for first time
- Include rest of pluralize macro work with this commit + used pluralizing logic where there once was none
2022-03-29 18:12:07 -05:00
Xevion
839ef370be Create proper edit profile form w/ CSRF & refactor User.about_me null/empty string handling 2022-03-29 16:37:12 -05:00
Xevion
678dab307f Add quick-edit font-awesome button on user profile
- Available to admins and the user themselves
2022-03-27 13:20:36 -05:00
Xevion
cd590596bc Add post count data to profile, add more precise timestamp titles, remove likes placeholder 2022-03-27 11:21:20 -05:00
Xevion
5134723841 Refactor .content-inner div to wrap all content blocks 2022-03-27 06:55:39 -05:00
Xevion
0609a2a86a Add basic user browsing page
- Needs pagination
- Needs some style fixing
- Somewhat empty, fixes up next
2022-03-27 03:36:43 -05:00
Xevion
677abe3d65 Add humanized "last seen X ago" and "registered X ago" text on profile 2022-03-27 03:13:48 -05:00
Xevion
3df856aa60 Update .gitignore for SQLite database, Add User About Me to Profile 2022-03-27 02:47:33 -05:00
Xevion
2fa03a496b Finishing touches on user template page 2022-03-27 02:02:58 -05:00
Xevion
3f7403ef80 Develop essential user profile template 2022-03-27 01:29:18 -05:00
Xevion
e3d4a75ec7 Add essential Runnerspace styling & front page routes [empty] 2022-03-26 19:05:26 -05:00