Xevion
fdec448e74
Show up to 2 usernames, calculate number unshown on likes status text
...
- Switched to username for likes display text instead of name
- Reminder: Strict usernames, no spaces, a-Z + 0-9
2022-03-30 01:20:01 -05:00
Xevion
bfb69621e1
Add like querying/checking/rendering to Feed posts
...
- Change runnerspace.live to Runnerspace
- Change post viewing URL to say /post/🆔 instead of /feed/🆔
2022-03-30 00:21:55 -05:00
Xevion
cf8a754caf
Implement inefficient like summation methods
2022-03-29 23:23:48 -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
987e4f3256
Remove unused Post.likes
...
- As well as related methods
- In preparation for PostLikes and CommentLikes model implementations
2022-03-29 20:49:12 -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
2d014628e4
Fix circular imports issue by separating SQLAlchemy db instance into database.py
2022-03-28 17:57:52 -05:00
Xevion
6c4b952004
Change all relative imports to standard imports
2022-03-28 17:30:31 -05:00
Xevion
6dfed98ba3
Rename create_app.py to app.py for Gunicorn command
2022-03-28 17:19:11 -05:00
Xevion
87f6c53987
Reduce online timer span, reduce letter spacing in image banner
2022-03-27 13:49:07 -05:00
Xevion
39f7425cc9
Add administrative bypass to user properties
2022-03-27 11:51:17 -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
5b472ab529
Remove backref arguments from model columns
2022-03-27 10:21:22 -05:00
Xevion
ced2f975ae
Develop shell command for instantiating all DB tables fast, import all models
2022-03-27 09:44:54 -05:00
Xevion
5ebbbd1b03
Add Comment model & add relevant relationships between all models
2022-03-27 09:40:23 -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
4c0b3bdbe5
Extend User model and create Post model
2022-03-27 02:45:41 -05:00
Seligmann
128fd23bfc
Added has_bio and bio to db to enable more functionality on profile pages
2022-03-27 01:07:06 -05:00
Xevion
997b1992ce
Add Pipfile for improved versioning system
2022-03-26 22:38:19 -05:00
Xevion
ffa36be7c9
Remove email from model for username only, use .flaskenv
2022-03-26 22:15:29 -05:00
Xevion
fcac137046
Refactor and merge Zach's work into main
2022-03-26 21:50:07 -05:00