hmn/src/models
Ben Visness 986a42c1ac Switch to centralized helpers for fetching threads/posts
This includes the ability to "shadowban" new users who have not yet been
approved. We do not have UI for approving these users.

Migrate deserving users to new Approved status

Add post fetching helpers as well

The logic in the thread/post stuff is definitely getting redundant, but
I'm not sure I'm yet ready to try to abstract any of it away.

The next thing to do is probably to update blogs and other places that
fetch threads/posts, and delete the old helpers.

Move forums and blogs fully to new helpers

Use the helpers on the landing page too

that was easy!

Fix up some spots I missed

Check user status and use helpers on the profile page
2021-09-22 23:48:31 -05:00
..
asset.go Profile page and timeline items 2021-06-22 12:50:40 +03:00
discord.go Process Discord markdown for snippets 2021-08-23 22:26:27 -05:00
imagefile.go Put timestamp in avatar filenames to avoid cache problems 2021-09-07 19:55:52 -05:00
library_resource.go Rework the category/thread data model 2021-07-29 22:49:24 -05:00
link.go Add user edit form 2021-08-27 17:18:02 -05:00
onetimetoken.go Registration flow and email 2021-08-08 23:05:52 +03:00
podcast.go Podcasts 2021-07-23 06:09:46 +03:00
post.go Switch to centralized helpers for fetching threads/posts 2021-09-22 23:48:31 -05:00
project.go Update project last updated fields on new forum/blog posts 2021-09-08 22:44:46 -05:00
session.go Start forum editing experience, including bbcode parser 2021-07-04 15:31:37 -05:00
snippet.go Create snippets! 2021-08-23 19:49:39 -05:00
subforum.go Rework the category/thread data model 2021-07-29 22:49:24 -05:00
thread.go Add all the rest of the blog post operations 2021-07-30 18:08:42 -05:00
user.go Switch to centralized helpers for fetching threads/posts 2021-09-22 23:48:31 -05:00