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
Ben Visness
0184cd1625
Add admin utilities for adding projects
2021-11-11 15:59:05 -08:00
Ben Visness
2c5df4b7c4
Show project snippets on project pages
...
we need better filter UI, but do we really, though
2021-11-11 12:11:57 -08:00
Ben Visness
601adf2d16
Add tags to showcase / snippet UIs
2021-11-11 12:11:57 -08:00
Ben Visness
4ea1338c32
Add tags to snippets on timelines
2021-11-11 12:11:57 -08:00
Ben Visness
ffed86b33a
Add new tags data model
2021-11-11 12:11:57 -08:00
Ben Visness
d10f0a2881
Implement the down migration for personal projects
2021-11-11 12:11:57 -08:00
Ben Visness
4d3a4c20ca
Fix link issue with forum redirects
2021-11-11 12:11:57 -08:00
Ben Visness
c6387e2885
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-11 12:11:57 -08:00
Ben Visness
702036eac3
Improve appearance of the project index
2021-11-11 12:11:57 -08:00
Ben Visness
f7f544a05c
Preserve path when redirecting between official/personal projects
2021-11-11 12:11:57 -08:00
Ben Visness
cc9c3b3b60
Use new UrlContext for project URLs
...
Wow that was a lot to change
2021-11-11 12:11:57 -08:00
Ben Visness
73836c5e25
Redirect to generated personal project slug
2021-11-11 12:11:57 -08:00
Ben Visness
cb967b92fd
Add route grouping stuff for projects (needs thorough testing)
2021-11-11 12:11:57 -08:00
Ben Visness
61683966a2
I really have no idea where I left off
2021-11-11 12:11:57 -08:00
Ben Visness
3800d3e715
Update data model for personal projects
...
Also:
- Added a helper for fetching posts with appropriate visibility
- Added personal projects to the project index
2021-11-11 12:11:57 -08:00
Asaf Gartner
b53643764a
Fixed typo in showcase RSS
2021-11-11 12:11:57 -08:00
Ben Visness
8accd87be3
Tweak spacing in welcome banner
2021-10-27 22:55:03 -05:00
Ben Visness
693e00d494
Merge remote-tracking branch 'origin/live' into beta
2021-10-27 22:51:22 -05:00
Ben Visness
1d8e12a4f6
Tweak welcome banner wording
2021-10-27 22:46:01 -05:00
Ben Visness
60aef6d032
Fix mobile nav issues and add circuit logo
2021-10-27 22:44:08 -05:00
Ben Visness
949e93791e
Fix nav issues on mobile
2021-10-27 22:05:31 -05:00
Ben Visness
2882c49b2b
Improve project styles or something
2021-10-27 21:55:42 -05: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
a9d3387295
Darken the welcome colors on the home page
2021-10-27 21:55:41 -05:00
Ben Visness
d39e6beb0f
First pass at welcome banner
2021-10-27 21:55:41 -05:00
Ben Visness
de587abc94
Add HMS banner to the home page
2021-10-27 21:55:41 -05:00
Ben Visness
3324428f8b
Tweak news appearance
2021-10-27 21:55:40 -05:00
Ben Visness
f8d5f9fce5
Rework the home page
2021-10-27 21:55:40 -05:00
Ben Visness
7d422cb533
Timeline template logic updates
2021-10-27 21:55:40 -05:00
Ben Visness
09e6a15085
Rejigger timelines to avoid explicit types
2021-10-27 21:55:39 -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
307699af4c
Added content type to S3 upload call
2021-10-25 02:31:25 +03:00
Asaf Gartner
aab2205e62
Fix form in admin page
2021-10-25 02:31:25 +03:00
Ben Visness
623aaec9d8
Ensure that that one goroutine exits when the iterator is closed
...
This resolves that completely nonsensical memory leak situation. As far
as we can understand, the cause was a hodgepodge of the following:
- There is some buffer sharing going on deep in pgx
- Queries made with a cancellable but long-running context (like that
used for background jobs) would leave iterator-related goroutines
hanging
- These goroutines had a pgx `rows` object in their closures, preventing
the row stuff from being garbage collected
- If you look at a profile, it all appears to be caused by whatever
functions were doing the most database queries / reading the most from
Postgres. In fact those things were _allocating_ the most but not
retaining any of that data - it was being retained by these other
goroutines because of magic buffer sharing huzzah I love it
We could have solved this in approximately 30 minutes if Go could
actually tell us what is keeping things alive in the heap, instead of
just tracking allocations.
2021-10-21 01:42:34 -05:00
Ben Visness
34a318c902
The jam is not right now any more
2021-10-20 21:33:21 -05:00
Ben Visness
60237fc4dd
Add a blurb to the jam page
2021-10-03 09:41:40 -05:00
Ben Visness
00864842b3
Add file upload support for Discord
2021-09-27 09:23:57 -05:00
Ben Visness
89e8371787
Update the copy on the jam page
2021-09-26 23:38:58 -05:00
Ben Visness
4b4c205566
Make profile messages ephemeral
2021-09-26 23:04:53 -05:00
Ben Visness
88da574446
Tweak /profile messages, add and fix tests
2021-09-26 22:35:42 -05:00