Commit Graph

  • 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. main 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
  • 8c04bffa5d A bit more cleanup into an api to use before testing out authentication. Zed A. Shaw 2025-06-09 00:37:56 -0400
  • 55f59d88b6 Sorted out how to do views with Go html/template, how to put code in subdirectories for a namespace, and documented why Go's modules are so weird. Zed A. Shaw 2025-06-06 13:12:38 -0400
  • 144a76a67a Going to try quicktemplate for some of the site templates. Zed A. Shaw 2025-06-04 00:59:54 -0400
  • c5f39b3fa3 Can now do basic validations of form submits. Zed A. Shaw 2025-06-04 00:24:59 -0400
  • 4045799ab9 I can now submit a form and store it in the database. Zed A. Shaw 2025-06-03 23:25:29 -0400
  • eaaab2ac0b Add air's proxy auto page reload features. Zed A. Shaw 2025-06-03 15:19:25 -0400
  • d015a8ce93 Added Air to the project to get automatic restarts. Zed A. Shaw 2025-06-03 15:08:19 -0400
  • 5a1c71677f Install godoc for great docs goodness. Zed A. Shaw 2025-06-03 14:50:59 -0400
  • 6098995318 Add a little Makefile for vim. Zed A. Shaw 2025-06-03 14:50:51 -0400
  • c576a61fbe Have a mostly working API server in go that's talking to streams/index.html and related pages. Zed A. Shaw 2025-05-31 14:12:08 -0400
  • d49e1fbdc0 More testing of the sqlx and squirrel database system, then added in goose for migrations. Pretty close to making a first version api. Zed A. Shaw 2025-05-31 00:10:22 -0400
  • 07fa59c8e7 Basic API kind of worked out and solved a bunch of things with alpine.js Zed A. Shaw 2025-05-28 16:40:54 -0400
  • f49608d74c Now have a basic alpine.js page going and it's talking to the server to get json in a fake API. Zed A. Shaw 2025-05-28 00:26:43 -0400
  • 9ed5c05cdf This is the readme. Zed A. Shaw 2025-05-27 22:59:19 -0400
  • f0dd939acd First commit of most of the pages laid out for the next phase. Zed A. Shaw 2025-05-27 22:57:54 -0400
  • b9f811f1b5 Initial commit Zed A. Shaw 2025-05-27 16:07:16 +0200