Commit Graph

72 Commits

Author SHA1 Message Date
Asaf Gartner 48dfb61997 Prevent URL construction from crashing in prod 2021-05-25 16:48:57 +03:00
Asaf Gartner e3257bb383 Redirect to homepage on bad slug 2021-05-25 16:26:12 +03:00
Asaf Gartner 9c19484333 Added theme to context and added empty-avatar support 2021-05-25 16:12:20 +03:00
Ben Visness e5beb209c0 Add coverage requirement for url Build functions 2021-05-16 14:23:03 -05:00
Asaf Gartner a6d931334a Added ORDER BY to category tree to ensure db order of children 2021-05-12 02:11:46 +03:00
Asaf Gartner 02938bbf2c URL rework! 2021-05-12 01:53:23 +03:00
Asaf Gartner 4e946cd476 Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-05-06 12:12:20 +03:00
Asaf Gartner d62f4ceeb6 Added log level to config 2021-05-06 12:12:18 +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 e8d1859d0a Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-05-05 23:37:18 +03:00
Asaf Gartner 06bbc2b9cc Part 1 of URL robustification 2021-05-05 23:34:32 +03:00
Ben Visness f2e69f68e5 Fix logging of context errors 2021-05-05 13:44:19 -05:00
Asaf Gartner dca101fd20 More static pages 2021-05-04 18:14:30 +03:00
Asaf Gartner 4723eec3b6 Added static pages 2021-05-04 17:40:40 +03:00
Asaf Gartner 0da3a1ffb9 Added a 404 path for assets that doesn't render the full template 2021-05-04 16:35:30 +03:00
Asaf Gartner 94bd05751e Added our 404 page 2021-05-04 16:23:02 +03:00
Asaf Gartner 47c25207a4 Added setpassword command 2021-05-04 16:22:15 +03:00
Asaf Gartner 2d07f57c1a Code review 2021-05-04 15:02:33 +03:00
Asaf Gartner e14116c99f Ensure properly configured BaseUrl. 2021-05-04 12:24:31 +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
Ben Visness 314ae26e18 Fix feed pagination
And tweak perf log output
2021-04-28 22:34:22 -05:00
Ben Visness ce582df610 Redo the request handling system again 2021-04-28 22:07:14 -05:00
Ben Visness 5d697e5fff Implement post links in feed / landing page 2021-04-27 22:30:02 -05:00
Asaf Gartner 4f9df3382f Added unique case-insensitive index on auth_user.username
Changed login code to look up lowercase usernames
2021-04-27 06:55:17 +03:00
Ben Visness 649f353b8c Improve post query performance 2021-04-26 20:49:46 -05:00
Ben Visness 1d9ad49db4 Comment out broken category code for now 2021-04-26 08:55:54 -05:00
Asaf Gartner 17e35bf557 Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-04-26 09:57:09 +03:00
Asaf Gartner 24c69b8157 Added performance monitoring 2021-04-26 09:56:49 +03:00
Ben Visness b13dd4bdb5 Get to a real stupid stopping point
inarray!!
2021-04-25 21:13:26 -05:00
Ben Visness e7ff342842 Get the feed largely complete 2021-04-25 14:33:48 -05:00
Asaf Gartner ed6ce26697 seedfile now drops and recreates the db. No need for `down` migrations. 2021-04-25 09:27:04 +03:00
Ben Visness 292c400dfb Fix up landing page colors 2021-04-23 23:27:45 -05:00
Ben Visness a04b00c0a7 Get post content migrated and loading 2021-04-22 23:07:44 -05:00
Ben Visness d7c512f1c8 Make progress on the landing page 2021-04-22 18:02:50 -05:00
Ben Visness 6ed2bd0c02 Remove code references to members 2021-04-16 19:01:13 -05:00
Ben Visness 97a80e7c4f Add TODO(opensource) comments for future reference 2021-04-16 18:04:01 -05:00
Ben Visness a644ec1caa Successfully remove the member and memberextended tables! 2021-04-16 00:08:47 -05:00
Ben Visness cbe4b71869 Some kind of arbitrary checkpoint
I am in the middle of:
- porting the landing page
- making some db changes to help with that
- deleting the member and memberextended tables

Mainly the last one. Doing so requires us to update all the other tables
that currently point at member and memberextended so that the foreign
keys will point directly to users. The big thing that we still have yet
to do is links, and actually copying data from the member and
memberextended tables to users.
2021-04-14 20:17:05 -05:00
Asaf Gartner e827f47834 Corrected some comments. 2021-04-12 17:12:57 +03:00
Asaf Gartner a8c9167e24 Removed irrelevant code. 2021-04-12 16:51:30 +03:00
Asaf Gartner cdfd558730 Added seed command 2021-04-12 12:56:44 +03:00
Asaf Gartner 470a0e4932 Moved min/max number of db connections to config file 2021-04-06 09:10:15 +03:00
Asaf Gartner 490c82940a Removed dashed line between single-line log outputs 2021-04-06 09:06:33 +03:00
Ben Visness 7a01ddae66 Further clean up the request handling after talking with Asaf 2021-04-06 00:06:19 -05:00