Commit graph

110 commits

Author SHA1 Message Date
Zed A. Shaw
685e227f96 Fix the makefile for deploy on linux. 2025-08-18 19:45:46 -04:00
Zed A. Shaw
592e1c4fd8 Finally embedded my twitch stream into the site, now just need to get links posting to work. 2025-08-18 13:56:08 -04:00
Zed A. Shaw
26f61eb68b Figured out that SVG is hot garbage and got an icon to work for the home icon. 2025-08-18 11:46:19 -04:00
Zed A. Shaw
9707e0e5f6 Move to port 600* so that I don't conflict with my other projects. 2025-08-18 11:46:00 -04:00
Zed A. Shaw
2477603190 Fixed up dark mode vs. not and added a linkedin mobil copy. 2025-08-14 00:37:02 -04:00
Zed A. Shaw
bf1426261d You have to change the ssgod.toml to see these, but here's the copies I did this morning. 2025-08-12 12:55:27 -04:00
Zed A. Shaw
25c96a8c3a Bringing in icons to use and the theme turned into gray only. 2025-08-12 12:52:02 -04:00
Zed A. Shaw
0b40ef0125 Removed blockstart and replicated it in tailwind's thing. 2025-08-11 15:00:52 -04:00
Zed A. Shaw
5da8697759 Fully converted to tailwind now. 2025-08-11 13:56:06 -04:00
Zed A. Shaw
8906322b6d A bit of tweaking of the design to learn more about tailwind. 2025-08-10 21:38:34 -04:00
Zed A. Shaw
9729ebc7ac Started the tailwind conversion process. 2025-08-10 01:19:30 -04:00
Zed A. Shaw
ca8f4e194f Need to find out why GODEBUG is ignored. Trying on linux. 2025-08-05 12:31:12 -04:00
Zed A. Shaw
fd059ad3cf Start bringing in Helix for a twitch bot and have notes on how to use the twitch-cli tool. 2025-08-05 00:34:03 -04:00
Zed A. Shaw
55de5155f2 Updated to the new ssgod and have static sync on. 2025-08-04 23:34:45 -04:00
Zed A. Shaw
d98325564f Updated the layout to have a blockstart for every page so that markdown works. 2025-08-04 23:34:24 -04:00
Zed A. Shaw
d856784823 Merge branch 'main' of git.learnjsthehardway.com:learn-code-the-hard-way/zedshaw-games 2025-08-04 10:24:23 -04:00
Zed A. Shaw
c388664c57 Update to use the new ssgod project instead of super-saiyan-god. 2025-08-04 10:24:11 -04:00
Zed A. Shaw
b47d679d69 Actually that didn't do anything. 2025-08-02 13:57:15 -04:00
Zed A. Shaw
7125bc2d2a All the pages are working again, but Alpine is insanely frustrating. 2025-08-02 13:56:39 -04:00
Zed A. Shaw
81cf5e0d93 Fix the admin tests but need to use Linux to dev it further. 2025-08-02 11:18:59 -04:00
Zed A. Shaw
a13d914a88 Getting rid of the jank robocopy so I can write something better with ssg. 2025-08-02 11:18:47 -04:00
Zed A. Shaw
19a2a85c10 Started using my super-saiyan-god tool but I need to rework the repo so it supports the tool style for go get. 2025-08-02 10:52:04 -04:00
Zed A. Shaw
1da2af82f4 Restrict to only admin users. 2025-07-29 10:39:34 -04:00
Zed A. Shaw
c29077aa4c Mostly done now, search works. 2025-07-28 03:30:34 -04:00
Zed A. Shaw
51b18823ae This gets almost everything done, including Paging, but not search. 2025-07-28 02:16:59 -04:00
Zed A. Shaw
da183c453c Redirect to table admin on bad table name. 2025-07-27 23:33:28 -04:00
Zed A. Shaw
52e92a3814 Almost have pagination working. On the backend it works but I can't figure out how to make alpine do the request and update. 2025-07-27 12:43:15 -04:00
Zed A. Shaw
c8ece708c3 Remove rsync, not neede. 2025-07-27 12:42:50 -04:00
Zed A. Shaw
e178ca6733 Now can do all CRUD and just need search and pagination. 2025-07-27 11:22:33 -04:00
Zed A. Shaw
b0ba0c7e16 Started the insert page but need to take a break to do the final part. 2025-07-27 03:00:21 -04:00
Zed A. Shaw
ea3b59129f We have delete now. Last thing is insert. 2025-07-27 02:38:08 -04:00
Zed A. Shaw
504433502a Now we have a working version without any JS. Way easier to do because javascript form submit blows hot wads. 2025-07-27 01:44:45 -04:00
Zed A. Shaw
3fd8169d83 First stab at a form submit off an alpine.js form. Honestly not great. It's a lot of code already for even less functionality. 2025-07-27 00:29:27 -04:00
Zed A. Shaw
e4153fd74a Created a common.Page function that returns a function to render a page from a view. 2025-07-26 22:44:09 -04:00
Zed A. Shaw
1bd733c328 Created a common.Page function that returns a function to render a page from a view. 2025-07-26 22:43:59 -04:00
Zed A. Shaw
ec7298cce0 Refactor everything that's used all over into a common/ package and sync files from static/ into public/ so that public's not in the git. 2025-07-25 11:35:04 -04:00
Zed A. Shaw
d12817f4cc I can now list the contents of a table and display a form for one row to update/delete, but haven't implemented update and delete. 2025-07-17 01:20:25 -04:00
Zed A. Shaw
2b40d6fdc3 Have a few of the basic admin pages working after switching to the API+View pattern. 2025-07-16 01:06:14 -04:00
Zed A. Shaw
fa7f886a59 Now have a simple table list index and a table view, but the templates aren't good enough to easily use the Go reflect data. Will find one tomorrow that's better. 2025-07-15 01:36:24 -04:00
Zed A. Shaw
d481c260c5 Forgot that squirrel needs the =? on Where so switched to using sq.Eq all the time. 2025-07-15 00:10:58 -04:00
Zed A. Shaw
d59e29fdc1 Now can select by pages and added Insert which I forgot. 2025-07-14 23:31:09 -04:00
Zed A. Shaw
aa3afa0d21 Have the full CURD operations going, but need pagination. 2025-07-14 14:29:14 -04:00
Zed A. Shaw
59a71534ae Finally figured out how to get sqlx to query an object based on a reflect.Type. 2025-07-14 00:52:10 -04:00
Zed A. Shaw
859e3ad0e3 Initial setup of an admin page that dynamically reflects the DB to create the CRUD stuff. 2025-07-13 12:28:03 -04:00
Zed A. Shaw
02910b8b93 Start the admin panels. 2025-07-13 10:42:15 -04:00
Zed A. Shaw
736095a5aa Nicer testing setup with my own interface and methods that abstract away the weird browser API. 2025-07-11 14:34:47 -04:00
Zed A. Shaw
77e4c3fa5b I can use the isdefault validator to make sure that a form field doesn't set a data field, but that may not be the best way. 2025-07-11 12:10:45 -04:00
Zed A. Shaw
de24d64f44 Use http_url in Validator instead of url or else people can inject JavaScript. 2025-07-11 11:11:44 -04:00
Zed A. Shaw
a3d4a3dc70 Make a little not to use a fake email. 2025-07-10 22:37:32 -04:00
Zed A. Shaw
ecc264db8c Now easier to write tests for the app, and most pages are at least touched. 2025-07-10 13:06:19 -04:00