Commit Graph

117 Commits

Author SHA1 Message Date
Ben Visness 3a93aa93e9 Seed users (and rework a lot of user access to use new helpers) 2022-05-07 13:58:00 -05:00
Ben Visness 0e56f56372 Rename all the db tables 2022-05-07 08:11:05 -05:00
Ben Visness a147cfa325 Rework DB API
This takes advantage of generics, and generally clears up a lot of
inconsistencies and quality-of-life issues.

Start of db rework: clean up, start generics, improve tests

Write some nice aspirational package docs

Rework and document the db API

Tests still pass, at least...now for everything else

Update all callsites of db functions

Finish converting all callsites

Not too bad actually! Centralizing access into the helpers makes a big
difference.

wtf it works
2022-05-06 16:56:13 -05:00
Asaf Gartner 11dd75ad03 Twitch monitoring 2022-03-22 20:07:43 +02:00
Ben Visness 7a6f2a7d4b Remove the code of conduct, tweak the communication guidelines
The code of conduct has historically not been of much use, while the
communication guidelines are more tangible. The two are also just kind
of redundant.
2022-02-13 16:24:01 -06:00
Asaf Gartner 8e7c20fffa Removed old project logo url fields 2022-02-13 22:07:09 +02:00
Asaf Gartner f4f439489d Assets for user avatars 2021-12-29 16:38:23 +02:00
Asaf Gartner c84b6842e2 Admin actions on user profile 2021-12-15 03:17:42 +02:00
Ben Visness 415ce8db43 Rework project visibility 2021-12-11 13:08:10 -06:00
Ben Visness 79c9738b96 Fix various bugs 2021-12-08 21:50:35 -06:00
Ben Visness 37fcbb205c Move data-fetching helpers to a separate package 2021-12-08 20:04:15 -06:00
Ben Visness 73824a027b Add tag management to projects
Also rearrange that ProjectAndLogos stuff because agh it was so weird
2021-12-07 21:37:52 -06:00
Ben Visness f5ed6ec896 Add live markdown preview to the description editor 2021-12-06 23:20:12 -06:00
Asaf Gartner cf46e16df5 Edit project 2021-12-04 16:55:45 +02:00
Asaf Gartner 950e84d53a Personal project creation 2021-12-02 12:53:36 +02:00
Asaf Gartner 03c82c9d1a New project form 2021-11-25 05:59:51 +02:00
Ben Visness 0184cd1625 Add admin utilities for adding projects 2021-11-11 15:59:05 -08:00
Ben Visness c8373aae81 Fix link issue with forum redirects 2021-11-10 09:34:48 -08:00
Ben Visness a84ec79ee2 Disable forum/blog actions for projects that don't have them enabled
I implemented this for personal projects, but I think it was actually
affecting official projects too that didn't have forums or blogs
enabled.
2021-11-10 09:13:56 -08:00
Ben Visness ff2183087d Preserve path when redirecting between official/personal projects 2021-11-09 20:51:28 -08:00
Ben Visness dfbcfbeacc Use new UrlContext for project URLs
Wow that was a lot to change
2021-11-09 20:11:39 -08:00
Ben Visness 6ef391b2e8 Redirect to generated personal project slug 2021-11-09 11:23:36 -08:00
Ben Visness ff901e4fb8 Add route grouping stuff for projects (needs thorough testing) 2021-11-09 11:14:38 -08:00
Ben Visness 7486f9e57d I really have no idea where I left off 2021-11-08 13:16:54 -06:00
Ben Visness 4e47c51fa1 Add back project nav 2021-10-27 21:55:42 -05:00
Ben Visness 5eff3c38b4 Tweak routing middleware, add socials to banner
Instead of doing project nav, which I am actively avoiding
2021-10-27 21:55:42 -05:00
Ben Visness 6176744462 Add a library placeholder 2021-10-27 21:55:39 -05:00
Ben Visness ccdbad8978 Rework the nav for projects 2.0 2021-10-27 21:55:38 -05:00
Asaf Gartner f8985e6ee3 User approval admin page and RSS 2021-09-24 03:13:40 +03:00
Asaf Gartner f5708d1ea8 Disable submission to perfCollector. 2021-09-23 23:03:28 +03:00
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
Asaf Gartner dc56b1f5d0 First working version. No user limits or usage tracking. 2021-09-22 02:13:11 +03:00
Ben Visness 070ea5cc20 Redirect old blog URLs to new 2021-09-20 10:17:53 -05:00
Ben Visness d5d3341c81 Improve OpenGraph / favicons 2021-09-08 21:51:43 -05:00
Ben Visness fd7754a7b6 Add redirect for old wiki URLs 2021-09-08 19:43:24 -05:00
Ben Visness 6f7237f656 Log errors if ErrorResponse panics
We have to do this because otherwise the errors never actually end up in
the ResponseData.
2021-09-05 19:00:25 -05:00
Ben Visness a288ae8124 Remove the sitemap from the footer 2021-09-01 21:54:51 -05:00
Asaf Gartner d78a2e8e82 Breadcrumbs 2021-09-01 21:25:09 +03:00
Ben Visness bc39b4c0b7 Clean up TODOs 2021-08-28 12:07:45 -05:00
Asaf Gartner 5fa0a3a7c2 Processed some TODOs 2021-08-28 16:32:27 +03:00
Asaf Gartner cb5c3c403d Internal server error page 2021-08-28 15:21:40 +03:00
Ben Visness 73a20a9a93 Add jam page 2021-08-28 06:26:17 -05:00
Asaf Gartner 573fd8d2a2 Episode guide and trailing slashes in urls 2021-08-28 13:40:13 +03:00
Asaf Gartner b29ae69a25 Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-08-28 10:29:35 +03:00
Ben Visness 67b86720a9 Add user edit form
Add most of the user settings backend

still need to do discord lol

Add the Discord settings

Add avatar uploads
2021-08-27 17:18:02 -05:00
Asaf Gartner 8a07e8bc3b Search with DDG 2021-08-17 23:09:24 +03:00
Asaf Gartner 20c05637d9 Added whenisit and default opengraph items 2021-08-17 22:48:44 +03:00
Asaf Gartner bd178e0168 Fixed timer 2021-08-17 21:48:54 +03:00
Asaf Gartner c913b58e4c Added security timer middleware 2021-08-17 09:08:33 +03:00
Asaf Gartner a32f71f862 Password reset and Notices 2021-08-17 08:18:51 +03:00