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
Asaf Gartner
950e84d53a
Personal project creation
2021-12-02 12:53:36 +02: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
4b13f99df8
Add thread title editing
2021-09-23 01:09:18 -05: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
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
f1e2e99663
Don't treat replies to the OP as replies
2021-09-06 16:40:00 -05:00
Asaf Gartner
d78a2e8e82
Breadcrumbs
2021-09-01 21:25:09 +03:00
Ben Visness
1f39b166cb
Make many improvements and fixes to the markdown experience
2021-09-01 01:15:13 -05: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
c3e067fa44
Add blog indexes
2021-08-02 20:52:46 -05:00
Ben Visness
1f4dd335c5
Add all the rest of the blog post operations
...
Still need to add UI for the blog index, and fix some aesthetic issues:
- Wide posts can break the editor UI
- Blog comments don't show the fancy reply UI
- The post hash stuff on blog threads doesn't jump you to the correct
post
Probably other stuff, I dunno.
2021-07-30 18:08:42 -05:00
Ben Visness
9945ab061d
Add blog post editing
2021-07-30 17:32:19 -05:00
Ben Visness
93318c378a
FirstID and LastID are not nullable
2021-07-30 15:01:40 -05:00
Ben Visness
b0f75675c8
Implement blog posts
2021-07-30 14:59:48 -05:00
Ben Visness
958aeb45e4
Add back the ability to mark everything on the site as unread
2021-07-29 23:48:30 -05:00
Ben Visness
8ecb4a7173
Rework the category/thread data model
...
Threads can stand alone now. Threads can be attached to resources
directly without requiring a category. In addition, a lot of wiki stuff
and library discussion stuff was deleted because we're not gonna port
it.
2021-07-29 22:49:24 -05:00
Ben Visness
15ff1de6fc
Clean up forums.go
...
All the really highly redundant stuff was pulled into a helper type.
2021-07-23 15:35:18 -05:00
Ben Visness
9b9d467ce4
Add CLRI/TLRI handling
2021-07-23 14:00:37 -05:00
Ben Visness
7f3c818a8f
Add forum post deletion
2021-07-21 23:42:34 -05:00
Ben Visness
e9ba9b3dde
Add permission check on post editing
2021-07-21 21:16:10 -05:00
Ben Visness
b27c673c15
Add forum post editing
2021-07-21 20:41:23 -05:00
Ben Visness
1ccf715c2d
Add an explicit post reply feature
2021-07-19 22:07:15 -05:00
Ben Visness
17f652191d
Add forum replies
2021-07-19 21:35:22 -05:00
Ben Visness
17e9e0b735
Add MustWriteTemplate func for the common case of panicking
2021-07-17 10:19:17 -05:00
Asaf Gartner
6c53688e06
Project page
2021-07-08 10:40:30 +03:00
Ben Visness
6b21291798
Add plain-text post previews
...
I opted to do this by making a new markdown renderer that only outputs
plain text, no HTML. This feels a lot more sane to me than trying to
strip HTML out of already-parsed stuff. The tradeoff right now is that
some content just doesn't show up at all, notably bbcode content. I
doubt anyone will care.
2021-07-05 13:34:51 -05:00
Ben Visness
c1785d79a4
Get forum post creation working
2021-07-04 17:48:08 -05:00
Ben Visness
de0b7a08fb
Clean up lots of old post fields
2021-07-04 16:24:48 -05:00
Ben Visness
86e228d845
WIP broken schema changes for forum editing
2021-07-04 15:32:07 -05:00
Ben Visness
d11094481f
Add CSRF verification
2021-07-04 15:32:07 -05:00
Ben Visness
085bd46440
Add mathjax
2021-07-04 15:31:51 -05:00
Ben Visness
00b0383030
Start forum editing experience, including bbcode parser
2021-07-04 15:31:37 -05:00
Asaf Gartner
c848108127
Redirect from /t/123/p/456 to the actual thread+page url
2021-06-25 16:52:43 +03:00
Asaf Gartner
9c19484333
Added theme to context and added empty-avatar support
2021-05-25 16:12:20 +03:00
Asaf Gartner
02938bbf2c
URL rework!
2021-05-12 01:53:23 +03:00
Ben Visness
d6481ab421
Get forum threads mostly done
...
Still need to do breadcrumbs, but that applies to forum categories too
actually.
2021-05-06 00:57:14 -05:00
Ben Visness
c8231750aa
Make some project fields not null
2021-05-05 23:04:58 -05:00
Asaf Gartner
2d07f57c1a
Code review
2021-05-04 15:02:33 +03:00
Ben Visness
71a46ba5a1
Get forum threads mostly implemented
...
Still several TODOs in the handler and templates
2021-05-03 20:59:45 -05:00
Ben Visness
b217cd5592
Render subcategories of forum categories
2021-05-03 18:59:43 -05:00
Ben Visness
a0155bfc5e
Get read/unread working on forum index
2021-05-03 17:53:28 -05:00
Ben Visness
15e716c097
Get the main content of forum category index working
2021-05-03 17:45:17 -05:00
Ben Visness
5f763d334c
Start forum category index; fix reflection bugs
2021-05-03 09:51:07 -05:00
Ben Visness
285fd3eaf0
Start work on forum category indexes
2021-04-28 23:52:27 -05:00