Commit Graph

24 Commits

Author SHA1 Message Date
Asaf Gartner aa6428f3a4 Removed remaining pgxv4 stuff and fixed twitch tags 2023-01-29 08:53:57 +02:00
Asaf Gartner 2af28d9f3f Update pgx v4 to pgx v5 2023-01-29 08:53:57 +02:00
bvisness d2b34cb87d Initial version of education content (#90)
Co-authored-by: Ben Visness <bvisness@gmail.com>
Reviewed-on: #90
2022-09-10 16:29:57 +00:00
Ben Visness 491ae57590 Tweak Postgres help message on failed seed 2022-05-14 23:06:48 -05:00
Ben Visness e4bb741a15 Automatically create the HMN user if necessary
This pretty much certainly won't work in real environments. If it does,
your db config is not secure :)
2022-05-11 19:50:51 -05:00
Ben Visness 3a93aa93e9 Seed users (and rework a lot of user access to use new helpers) 2022-05-07 13:58:00 -05:00
Ben Visness b46f5d8637 Add bare minimum seed 2022-05-07 11:37:15 -05:00
Ben Visness 0e56f56372 Rename all the db tables 2022-05-07 08:11:05 -05:00
Ben Visness b53770932d No longer require a migration in seedfile
We don't need to do this any more, since our database backups now
include the migration table. The seedfile command also no longer
requires the user to type a password.

This also prevents the Discord history bot from running when it has no
credentials.
2021-09-05 19:43:49 -05:00
Ben Visness a42973c3cb More server setup stuff I dunno I'm sorry 2021-09-04 16:09:01 -05:00
Asaf Gartner 307a122518 Another attempt at crash mailing 2021-09-04 21:59:03 +03:00
Asaf Gartner 660f65ba95 Registration flow and email 2021-08-08 23:05:52 +03:00
Ben Visness bde7c576e3 Don't crash while listing migrations 2021-07-30 21:36:37 -05:00
Ben Visness 649f353b8c Improve post query performance 2021-04-26 20:49:46 -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 a04b00c0a7 Get post content migrated and loading 2021-04-22 23:07:44 -05:00
Ben Visness 97a80e7c4f Add TODO(opensource) comments for future reference 2021-04-16 18:04:01 -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
Ben Visness f7ac023c44 Re-hash user's passwords if necessary when they log in 2021-03-28 10:32:30 -05:00
Ben Visness cdfe02726c Get login working 2021-03-27 16:12:22 -05:00
Ben Visness 45763de9e6 Put Go stuff in the /src folder 2021-03-10 21:39:24 -06:00