Commit Graph

  • 01fcb964be Created a basic set of tools for making my sites. main Zed A. Shaw 2025-08-24 00:53:20 -0400
  • 3ab3103e84 Just add a main tag and suddenly it's approved? Zed A. Shaw 2025-08-18 21:30:04 -0400
  • eba11c52ca Created a little landing page for the copies. Zed A. Shaw 2025-08-18 21:15:04 -0400
  • 79f38995d3 Upgraded to a new ssgod to fix a few things and removed old css. Zed A. Shaw 2025-08-18 20:57:29 -0400
  • 98b8ee8d49 Wrong directory target. Zed A. Shaw 2025-08-18 19:55:17 -0400
  • e59ad9f795 Quick way to get the copy project up and working without constantly moving the normal site layout around. Zed A. Shaw 2025-08-18 19:53:03 -0400
  • 685e227f96 Fix the makefile for deploy on linux. Zed A. Shaw 2025-08-18 19:45:46 -0400
  • 592e1c4fd8 Finally embedded my twitch stream into the site, now just need to get links posting to work. Zed A. Shaw 2025-08-18 13:56:08 -0400
  • 26f61eb68b Figured out that SVG is hot garbage and got an icon to work for the home icon. Zed A. Shaw 2025-08-18 11:46:19 -0400
  • 9707e0e5f6 Move to port 600* so that I don't conflict with my other projects. Zed A. Shaw 2025-08-18 11:46:00 -0400
  • 2477603190 Fixed up dark mode vs. not and added a linkedin mobil copy. Zed A. Shaw 2025-08-14 00:37:02 -0400
  • bf1426261d You have to change the ssgod.toml to see these, but here's the copies I did this morning. Zed A. Shaw 2025-08-12 12:55:27 -0400
  • 25c96a8c3a Bringing in icons to use and the theme turned into gray only. Zed A. Shaw 2025-08-12 12:52:02 -0400
  • 0b40ef0125 Removed blockstart and replicated it in tailwind's thing. Zed A. Shaw 2025-08-11 15:00:52 -0400
  • 5da8697759 Fully converted to tailwind now. Zed A. Shaw 2025-08-11 13:56:06 -0400
  • 8906322b6d A bit of tweaking of the design to learn more about tailwind. Zed A. Shaw 2025-08-10 21:38:34 -0400
  • 9729ebc7ac Started the tailwind conversion process. Zed A. Shaw 2025-08-10 01:19:30 -0400
  • ca8f4e194f Need to find out why GODEBUG is ignored. Trying on linux. Zed A. Shaw 2025-08-05 12:31:12 -0400
  • fd059ad3cf Start bringing in Helix for a twitch bot and have notes on how to use the twitch-cli tool. Zed A. Shaw 2025-08-05 00:34:03 -0400
  • 55de5155f2 Updated to the new ssgod and have static sync on. Zed A. Shaw 2025-08-04 23:34:45 -0400
  • d98325564f Updated the layout to have a blockstart for every page so that markdown works. Zed A. Shaw 2025-08-04 23:34:24 -0400
  • d856784823 Merge branch 'main' of git.learnjsthehardway.com:learn-code-the-hard-way/zedshaw-games Zed A. Shaw 2025-08-04 10:24:23 -0400
  • c388664c57 Update to use the new ssgod project instead of super-saiyan-god. Zed A. Shaw 2025-08-04 10:24:11 -0400
  • b47d679d69 Actually that didn't do anything. Zed A. Shaw 2025-08-02 13:57:15 -0400
  • 7125bc2d2a All the pages are working again, but Alpine is insanely frustrating. Zed A. Shaw 2025-08-02 13:56:39 -0400
  • 81cf5e0d93 Fix the admin tests but need to use Linux to dev it further. Zed A. Shaw 2025-08-02 11:18:59 -0400
  • a13d914a88 Getting rid of the jank robocopy so I can write something better with ssg. Zed A. Shaw 2025-08-02 11:18:47 -0400
  • 19a2a85c10 Started using my super-saiyan-god tool but I need to rework the repo so it supports the tool style for go get. Zed A. Shaw 2025-08-02 10:52:04 -0400
  • 1da2af82f4 Restrict to only admin users. Zed A. Shaw 2025-07-29 10:39:34 -0400
  • c29077aa4c Mostly done now, search works. Zed A. Shaw 2025-07-28 03:30:34 -0400
  • 51b18823ae This gets almost everything done, including Paging, but not search. Zed A. Shaw 2025-07-28 02:16:59 -0400
  • da183c453c Redirect to table admin on bad table name. Zed A. Shaw 2025-07-27 23:33:28 -0400
  • 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. Zed A. Shaw 2025-07-27 12:43:15 -0400
  • c8ece708c3 Remove rsync, not neede. Zed A. Shaw 2025-07-27 12:42:50 -0400
  • e178ca6733 Now can do all CRUD and just need search and pagination. Zed A. Shaw 2025-07-27 11:22:33 -0400
  • b0ba0c7e16 Started the insert page but need to take a break to do the final part. Zed A. Shaw 2025-07-27 03:00:21 -0400
  • ea3b59129f We have delete now. Last thing is insert. Zed A. Shaw 2025-07-27 02:38:08 -0400
  • 504433502a Now we have a working version without any JS. Way easier to do because javascript form submit blows hot wads. Zed A. Shaw 2025-07-27 01:44:45 -0400
  • 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. Zed A. Shaw 2025-07-27 00:29:27 -0400
  • e4153fd74a Created a common.Page function that returns a function to render a page from a view. Zed A. Shaw 2025-07-26 22:44:09 -0400
  • 1bd733c328 Created a common.Page function that returns a function to render a page from a view. Zed A. Shaw 2025-07-26 22:43:59 -0400
  • 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. Zed A. Shaw 2025-07-25 11:35:04 -0400
  • 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. Zed A. Shaw 2025-07-17 01:20:25 -0400
  • 2b40d6fdc3 Have a few of the basic admin pages working after switching to the API+View pattern. Zed A. Shaw 2025-07-16 01:06:14 -0400
  • 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. Zed A. Shaw 2025-07-15 01:36:24 -0400
  • d481c260c5 Forgot that squirrel needs the =? on Where so switched to using sq.Eq all the time. Zed A. Shaw 2025-07-15 00:10:58 -0400
  • d59e29fdc1 Now can select by pages and added Insert which I forgot. Zed A. Shaw 2025-07-14 23:31:09 -0400
  • aa3afa0d21 Have the full CURD operations going, but need pagination. Zed A. Shaw 2025-07-14 14:29:14 -0400
  • 59a71534ae Finally figured out how to get sqlx to query an object based on a reflect.Type. Zed A. Shaw 2025-07-14 00:52:10 -0400
  • 859e3ad0e3 Initial setup of an admin page that dynamically reflects the DB to create the CRUD stuff. Zed A. Shaw 2025-07-13 12:28:03 -0400
  • 02910b8b93 Start the admin panels. Zed A. Shaw 2025-07-13 10:42:15 -0400
  • 736095a5aa Nicer testing setup with my own interface and methods that abstract away the weird browser API. Zed A. Shaw 2025-07-11 14:34:47 -0400
  • 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. Zed A. Shaw 2025-07-11 12:10:45 -0400
  • de24d64f44 Use http_url in Validator instead of url or else people can inject JavaScript. Zed A. Shaw 2025-07-11 11:11:44 -0400
  • a3d4a3dc70 Make a little not to use a fake email. Zed A. Shaw 2025-07-10 22:37:32 -0400
  • ecc264db8c Now easier to write tests for the app, and most pages are at least touched. Zed A. Shaw 2025-07-10 13:06:19 -0400
  • d095bc9ff4 Now can alternatively generate a static page for a URL from pages, or dynamically return it with c.Render from views. Did this for games and streams. Zed A. Shaw 2025-07-10 11:46:56 -0400
  • cb537328ff Small config and my own little lib. Zed A. Shaw 2025-07-10 10:18:43 -0400
  • a2adf8ad67 Need to get rid of public. Zed A. Shaw 2025-07-06 01:00:15 -0400
  • d9a4c226de No need to auth getting a list of streams, that's public. Zed A. Shaw 2025-07-06 01:00:01 -0400
  • 3c9a624d66 Tracking a possible corruption but that is _overwriting my damn templates with garbage._ Zed A. Shaw 2025-07-06 00:59:33 -0400
  • 7e1a7eb7b4 Ignore the config but have an example. Zed A. Shaw 2025-07-06 00:39:12 -0400
  • 929f755661 Example config file. Zed A. Shaw 2025-07-06 00:38:35 -0400
  • 3bd8d38847 Managed to get a simple and NOT SECURE login system going. Zed A. Shaw 2025-07-06 00:38:01 -0400
  • 75b1eb1edb Public update, these need to be ignored. Zed A. Shaw 2025-07-06 00:37:28 -0400
  • 23bda88b29 Had to make the tests pass for the new page gen. Zed A. Shaw 2025-07-05 22:19:44 -0400
  • c64874cb51 Can now generate a lot of the static content from templates in pages/ WARNING: I kept seeing page _templates_ getting corrupted on rendering, which is no bueno. Zed A. Shaw 2025-07-04 23:59:25 -0400
  • 7e48768e36 Just confirming that pages are not getting mangles. Zed A. Shaw 2025-07-04 23:22:01 -0400
  • 9961915c8c Used the new sitebuild tool to generate stuff. Zed A. Shaw 2025-07-04 14:36:24 -0400
  • 49dc8cf330 Needs to be in a dir. Zed A. Shaw 2025-07-04 13:03:44 -0400
  • 3939a54513 Testing out the tools/cmd pattern with go get tool Zed A. Shaw 2025-07-04 13:01:12 -0400
  • f476605ecf Came up with the pages/ directory that's templates which are rendered into public for the static pages. Zed A. Shaw 2025-07-04 11:31:15 -0400
  • facc691343 Hot garbage but that's the idea. It will render only one page. Zed A. Shaw 2025-07-04 00:43:19 -0400
  • b9d5dbb2e9 Tinkering with how to do a 'check view, then static' style of templates, but maybe I need to do a generator? Zed A. Shaw 2025-06-29 22:47:03 -0400
  • abc9fbda2e Add a registration page. Zed A. Shaw 2025-06-29 13:51:02 -0400
  • 014611a901 Make the register/login pages link to eachother. Zed A. Shaw 2025-06-29 13:42:09 -0400
  • 07ff0e6a97 Tell air to not watch public, then tell Fiber to not cache public so I can reload it. Zed A. Shaw 2025-06-29 13:41:48 -0400
  • 63fdc06438 Use TestMain to setup the database and shut it down after. Zed A. Shaw 2025-06-29 13:33:53 -0400
  • 35d1b06a79 Test can now register a user and log in. Zed A. Shaw 2025-06-29 13:30:40 -0400
  • a22682878c Rename Insert to Exec since it mostly just does that. Zed A. Shaw 2025-06-29 13:30:24 -0400
  • 45c541ee7c User registration now works. Zed A. Shaw 2025-06-27 12:37:07 -0400
  • eaaf309260 Now have a basic auth library for doing bcrypt auth. Zed A. Shaw 2025-06-27 12:02:05 -0400
  • b0c4144987 Can now set an auth cookie to check for auth, but I should see what it takes to make a middleware. Zed A. Shaw 2025-06-26 16:50:22 -0400
  • 05788e5fbb Very simple dumb login that has no password hashing. Zed A. Shaw 2025-06-25 01:25:00 -0400
  • 57d892e35c Panic handler didn't actually work. Zed A. Shaw 2025-06-25 00:00:37 -0400
  • 0c47f02201 Abit of refactoring into a more classic layout for an MVC style app. Zed A. Shaw 2025-06-24 23:55:38 -0400
  • db58b38917 Simple test of having a render handler that simply renders files by URL name. Zed A. Shaw 2025-06-24 14:46:05 -0400
  • 0bccddc62c Forgot the tools file Zed A. Shaw 2025-06-24 14:45:39 -0400
  • db9697130e .\tests\tools.go Zed A. Shaw 2025-06-24 14:24:29 -0400
  • 74edb069d2 Cleanup how clicking on a link works for the tests. Zed A. Shaw 2025-06-24 14:14:39 -0400
  • fecfc8ee84 chromedp completely fails to reliably click on links when running in non-headless mode on Windows. About 50% of the time it just hangs thinking it clicked when it didn't. So, on Windows need headless only, and then design tests on Linux where it (maybe) works. Zed A. Shaw 2025-06-23 13:08:25 -0400
  • bac4472c3a Apparently for 2 weeks (yes 2 whole fucking weeks) I was using NamedExec wrong instead of MustExec so inserts haven't worked since then. Other than that, this is a more cleaned up MVC style setup than before. Zed A. Shaw 2025-06-22 02:48:02 -0400
  • 1785a8e4f5 Got the port wrong on the second test. Zed A. Shaw 2025-06-21 23:36:41 -0400
  • 985d0edda3 Now just have a base file I can use to start making tests right away. Zed A. Shaw 2025-06-21 22:51:21 -0400
  • 23c6092aa6 More coverage report setup. Zed A. Shaw 2025-06-21 22:46:37 -0400
  • 831b5ea762 Test can now attempt a login and the browser is shown rather than headless. Zed A. Shaw 2025-06-18 06:54:59 -0400
  • e29c36fb5c Change the test make to build the runtests but not run it so that I can set a constant security under windows, but messed it up. Zed A. Shaw 2025-06-18 04:53:33 -0400
  • 849943a01e Changed to pkgsite for docs browsing and then refined the chromedp test some to be nicer to write. Zed A. Shaw 2025-06-17 02:23:23 -0400
  • b28e507e5e Can now run ChromeDP to automate the browser based testing. Zed A. Shaw 2025-06-15 01:21:42 -0400
  • 81aaffec56 Add in a few middlewares I need. Zed A. Shaw 2025-06-09 00:57:19 -0400