Commit Graph

77 Commits

Author SHA1 Message Date
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
Ben Visness 98da461d92 Rework request handling
It's a lot simpler now, control flow is easier to work with in handlers,
and HMNHandler now natively implements http.Handler, simplifying our 404
setup by completely removing the need for MakeStdHandler.
2021-04-05 22:30:11 -05:00
Ben Visness a6cdbac4c7 Get a 404 route working 2021-03-30 23:20:50 -05:00
Ben Visness 8929a5d749 Start porting landing page; rework db layer a bit 2021-03-30 22:55:19 -05:00
Ben Visness f7ac023c44 Re-hash user's passwords if necessary when they log in 2021-03-28 10:32:30 -05:00
Ben Visness 8f2958594a Add a cron to delete expired sessions 2021-03-27 23:22:29 -05:00
Ben Visness 608d1af195 Add logout 2021-03-27 16:27:40 -05:00
Ben Visness cdfe02726c Get login working 2021-03-27 16:12:22 -05:00
Ben Visness 56cd737203 Add initial auth token / login stuff 2021-03-25 22:33:00 -05:00
Ben Visness acca4fe232 Initial implementation of password-checking 2021-03-21 22:07:18 -05:00
Ben Visness 4fb161b3c6 Rework DB query stuff, use for projects 2021-03-21 15:38:37 -05:00
Ben Visness c2aeaedea9 Move some stuff around 2021-03-17 21:29:31 -05:00
Ben Visness 465c877241 Add custom request context thing 2021-03-17 21:14:06 -05:00
Ben Visness cc521e0245 Add a lot of base template stuff 2021-03-17 20:25:06 -05:00
Ben Visness a4e2d625a3 Start migrating templates 2021-03-14 15:49:58 -05:00
Ben Visness b92adff355 Add first attempt at a middleware 2021-03-10 23:02:43 -06:00
Ben Visness a7763831b5 Add SCSS build 2021-03-10 22:19:37 -06:00
Ben Visness 45763de9e6 Put Go stuff in the /src folder 2021-03-10 21:39:24 -06:00
Ben Visness 2280bc4cf6 Add signal handling 2021-03-10 21:29:32 -06:00
Ben Visness 828d38639c Add structured logging 2021-03-10 21:19:39 -06:00
Ben Visness b353b4d9e3 Add initial version of error package 2021-03-10 18:49:14 -06:00
Ben Visness c69bf04785 Add migration system and initial migration 2021-03-09 23:43:34 -06:00
Ben Visness 35291d609f Initial commit 2021-03-09 02:05:07 -06:00