Commit Graph

397 Commits

Author SHA1 Message Date
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 908fa4368f Merge branch 'personal-projects' 2021-11-11 12:09:08 -08:00
Ben Visness df2942e84b Show project snippets on project pages
we need better filter UI, but do we really, though
2021-11-11 12:00:36 -08:00
Ben Visness 39d11b549a Add tags to showcase / snippet UIs 2021-11-11 11:31:23 -08:00
Ben Visness 0cc879df21 Add tags to snippets on timelines 2021-11-11 11:00:46 -08:00
Ben Visness 5256e5c37c Add new tags data model 2021-11-10 10:19:22 -08:00
Ben Visness 5f7dedce93 Implement the down migration for personal projects 2021-11-10 09:53:24 -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 ab84332b23 Improve appearance of the project index 2021-11-09 21:21:19 -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 a4ad2c5f04 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-06 15:25:31 -05:00
Asaf Gartner 50034032ee Fixed typo in showcase RSS 2021-11-04 17:02:14 +02: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