Commit Graph

411 Commits

Author SHA1 Message Date
Asaf Gartner 870a073e22 Added proper verification for forum urls
Fixes issue #12
2022-06-14 22:52:50 +03:00
Asaf Gartner 86a7128f25 Only show blog content preview in blog index when there are few posts
Partially resolves issue #30
2022-06-14 20:15:16 +03:00
Asaf Gartner 2012328436 Use hmndata helpers for project timeline on project homepage
Resolves issue #37
2022-06-14 19:14:38 +03:00
Asaf Gartner cb71abfdb3 Added createuser and usersetadmin commands
Resolves issue #38
2022-06-14 19:07:11 +03:00
Asaf Gartner 31f7bf5350 Treat fishbowl files like public files. Skip expensive middleware.
We don't really need to validate the project subdomain here.
Fetching the common data eats up a db connection, and we don't gain
anything from it.
2022-06-14 04:06:44 +03:00
ilidemi 58c09126a4 Add Flexible Software fishbowl (#43)
#33 progress: 2/10

Co-authored-by: Ilia Demianenko <ilia.demianenko@gmail.com>
Reviewed-on: #43
Co-authored-by: ilidemi <belk94@gmail.com>
Co-committed-by: ilidemi <belk94@gmail.com>
2022-06-13 13:49:22 +00:00
Ben Visness dd3b889aaf Remove `pattern` from login input (#40)
it was just wrong! not helpful to anyone
2022-06-12 09:03:52 -05:00
Ben Visness 7dd4a1af31 Don't do clever hue-rotating trick with waterline image 2022-06-12 08:39:44 -05:00
bvisness d1e63f745b Add Fishbowl archive (#41)
Refs #33

Co-authored-by: Ben Visness <bvisness@gmail.com>
Co-authored-by: ilidemi <belk94@gmail.com>
Reviewed-on: #41
2022-06-12 12:45:56 +00:00
Ben Visness 1cfb9e4033 Fix mailto on crash page 2022-06-01 20:49:19 -05:00
Ben Visness 13f5b2ee63 Tweak landing page wording 2022-06-01 20:40:16 -05:00
Ben Visness 6e0010e957 Fix querying possibly-nil scalars
Our db code for querying scalars didn't do anything to account for
pointer destinations (which you need if querying a field that may be
nil!)
2022-06-01 20:38:24 -05:00
Asaf Gartner ac2d00aca7 Logging bad discord resources 2022-05-30 21:56:09 +03:00
Asaf Gartner 2bb14c1794 Replaced panic with error 2022-05-30 21:52:13 +03:00
Asaf Gartner fe545ff0f3 Debugging twitch 2022-05-30 21:19:54 +03:00
Asaf Gartner 8c47590b99 Debugging twitch 2022-05-30 19:08:09 +03:00
Asaf Gartner 4c296c9ddd Soft failure for failing to delete discord message. 2022-05-30 18:55:10 +03:00
Asaf Gartner 9fcc2321ca Hopefully fixed desync with twitch 2022-05-30 18:49:30 +03:00
Asaf Gartner 02d51a8bfe Merge branch 'streams_update' 2022-05-30 17:33:52 +03:00
Asaf Gartner 0d0773fd0e Reverse streamer sort and replaced green circle with red 2022-05-27 16:34:34 +03:00
Asaf Gartner 09c4561428 Slightly improved discord message formatting. 2022-05-27 11:55:57 +03:00
Asaf Gartner 8495982d3f Added persistent vars and improved stream tracking on discord. 2022-05-27 11:37:43 +03:00
Ben Visness 68a00c91db Rename the email override field for clarity 2022-05-25 17:39:57 -05:00
Ben Visness 475716322f Fix up missing avatars 2022-05-21 16:44:39 -05:00
Ben Visness 491ae57590 Tweak Postgres help message on failed seed 2022-05-14 23:06:48 -05:00
Ben Visness c1fa6cae13 Integrate Nick's local S3 server
Works like a charm!

Small tweak for clarity
2022-05-14 00:48:19 -05:00
bvisness 4187a3b6ca Merge pull request 'handmade dummy S3 local dev server' (#4) from nick12/hmn:hmns3 into localdev-2022
Reviewed-on: #4
2022-05-14 00:12:44 +00:00
Ben Visness 3aa16c6d12 Add owners to seeded projects 2022-05-11 23:39:43 -05:00
Ben Visness a2ec57cf47 Seed projects 2022-05-11 22:24:05 -05:00
Ben Visness e4bb741a15 Automatically create the HMN user if necessary
This pretty much certainly won't work in real environments. If it does,
your db config is not secure :)
2022-05-11 19:50:51 -05:00
Ben Visness f4601198c9 Seed news posts 2022-05-07 14:45:21 -05:00
Ben Visness 3c4238994a Seed example forum threads 2022-05-07 14:31:37 -05:00
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 b46f5d8637 Add bare minimum seed 2022-05-07 11:37:15 -05:00
Ben Visness 1020039ea2 Fix up tests 2022-05-07 09:43:41 -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
unknown 69a44d1734 handmade dummy S3 local dev server 2022-05-01 02:41:58 -03:00
Ben Visness 6004149417 Fix zero-items bug with getPageInfo 2022-04-30 21:18:21 -05:00
Ben Visness f51b7e23da Shout out the community in the manifesto 2022-04-30 19:19:36 -05:00
Ben Visness f7d92a63b4 Update opengraph description for the manifesto 2022-04-30 19:08:25 -05:00
Ben Visness ad1bc875cc Rewrite the manifesto 2022-04-30 15:59:05 -05:00
Asaf Gartner 38e93d5208 Added support for unknown filetypes in snippets 2022-04-07 08:19:48 +03:00
Asaf Gartner 6063a7dd71 Automatically approve users who link their discord account 2022-04-07 07:28:04 +03:00
Asaf Gartner 8951bf1aa5 Timers timers timers 2022-03-27 20:30:24 +03:00
Asaf Gartner 70cd2ec72b Added logs 2022-03-27 19:41:21 +03:00
Asaf Gartner febec72325 Only track approved users. 2022-03-27 19:13:47 +03:00
Asaf Gartner b0cf3e2f15 Probably fixed issue with twitch 2022-03-22 21:00:50 +02:00
Asaf Gartner 5ecd5a8a31 Debugging twitch in beta 2022-03-22 20:52:05 +02:00
Asaf Gartner c8096b0fb7 Loosened expected status codes from twitch 2022-03-22 20:34:42 +02:00
Asaf Gartner 11dd75ad03 Twitch monitoring 2022-03-22 20:07:43 +02:00
Asaf Gartner 5c29f3f814 Added projects to admin approval queue 2022-03-06 14:48:47 +02:00
Asaf Gartner f67429becd Fixed communication guidelines attribution. 2022-02-16 05:38:41 +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 d32cd0a849 Removed old user avatar url field from the db 2022-02-13 21:52:29 +02:00
Asaf Gartner 6445567840 Merge branch 'master' of git.handmade.network:hmn/hmn 2022-02-13 02:36:43 +02:00
Asaf Gartner 9faba4270c Fixed issue on project edit when one of the owners is unapproved 2022-02-13 02:36:12 +02:00
Ben Visness b45a28156c Add projects to profile user command 2022-02-12 01:00:45 -06:00
Asaf Gartner b2a2b49abe Added the search bar to the footer 2022-02-10 22:27:28 +02:00
Asaf Gartner 1ce6ec080b Commented out HMS banner.
Leaving it in because we'll want to reuse that banner in the future.
2022-02-10 19:29:19 +02:00
Asaf Gartner 50332c6800 Fixed "mark all as read" 2022-02-07 15:11:26 +02:00
Asaf Gartner c8f401f738 Updated cmd description 2022-02-07 14:25:21 +02:00
Asaf Gartner 43651d98e8 Code review 2022-02-07 14:21:40 +02:00
Asaf Gartner 92d6a31aa9 Fixed tag removal issue. 2022-01-31 10:22:25 +02:00
Asaf Gartner 378d6eb836 Removed old comment. 2022-01-31 08:52:56 +02:00
Asaf Gartner 60a71d5dd1 Fixed indent. 2022-01-31 08:51:34 +02:00
Asaf Gartner ad888346ef Discord message handling reorganization. 2022-01-31 08:46:43 +02:00
Asaf Gartner f4f439489d Assets for user avatars 2021-12-29 16:38:23 +02:00
Asaf Gartner eb32b04437 Added project links to project edit page 2021-12-26 12:03:25 +02:00
Asaf Gartner 80f0e3b176 MD text renderer: handle backslashes
Handles the same characters as the html renderer.
2021-12-26 11:36:12 +02:00
Asaf Gartner f8e7779b7d Fixed discord linking issue 2021-12-21 08:14:51 +02:00
Asaf Gartner 321089ea8e Fixed forum editor file upload issue 2021-12-21 07:13:02 +02:00
Asaf Gartner 88776cbb72 Fixed user profile url double-escaping 2021-12-21 06:24:05 +02:00
Asaf Gartner 12eb172f98 Log out user after setting status to 'banned' 2021-12-21 06:07:55 +02:00
Asaf Gartner 83ef51374d Added admin script to upload project logos to S3 2021-12-21 06:04:20 +02:00
Ben Visness 6307589ee4 Merge remote-tracking branch 'origin/master' into beta 2021-12-14 20:54:23 -06:00
Asaf Gartner b5eb718615 Query automatically does ToSlice. Use QueryIterator if you need an
iterator.
2021-12-15 03:36:37 +02:00
Asaf Gartner c84b6842e2 Admin actions on user profile 2021-12-15 03:17:42 +02:00
Asaf Gartner 1c48aab863 Fixed admin queue 2021-12-13 18:58:26 +02:00
Ben Visness b3df1a306b I don't like the "complete" banner 2021-12-13 02:09:03 -06:00
Ben Visness 3b8b02a856 Watch for snippet updates on all messages
This captures stuff in jam-showcase and ryan's stuff in #projects
2021-12-13 01:40:54 -06:00
Ben Visness 6d609f1fae Sort blog index correctly 2021-12-11 16:18:58 -06:00
Ben Visness 415ce8db43 Rework project visibility 2021-12-11 13:08:10 -06:00
Ben Visness 7cb6869fcb Fix conflict error when tagging from Discord 2021-12-11 10:11:44 -06:00
Ben Visness 4d63d02533 Always update snippet tags on every Discord edit 2021-12-08 23:00:44 -06:00
Ben Visness 5344e9d4bc Limit the number of owners per project 2021-12-08 22:23:20 -06:00
Ben Visness e70dcbdd53 Switch to ampersand for delimiter 2021-12-08 22:05:17 -06:00
Ben Visness b88776af0c Cap the number of personal projects per user 2021-12-08 22:02:11 -06:00
Ben Visness 79c9738b96 Fix various bugs 2021-12-08 21:50:35 -06:00
Ben Visness 40cd19c5f0 Do the Discord integration with personal projects! 2021-12-08 21:13:58 -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 0f749d8232 Switch CTA text for Handmade Seattle 2021-11-14 16:48:06 -06:00
Ben Visness 8f560de2b6 Sort personal projects by recency instead of randomly 2021-11-11 16:35:00 -08:00
Ben Visness b41fb365cf Improve appearance of projects without logos 2021-11-11 16:23:24 -08:00