Commit graph

26 commits

Author SHA1 Message Date
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
e178ca6733 Now can do all CRUD and just need search and pagination. 2025-07-27 11:22:33 -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
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
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
ecc264db8c Now easier to write tests for the app, and most pages are at least touched. 2025-07-10 13:06:19 -04:00
Zed A. Shaw
23bda88b29 Had to make the tests pass for the new page gen. 2025-07-05 22:19:44 -04:00
Zed A. Shaw
014611a901 Make the register/login pages link to eachother. 2025-06-29 13:42:09 -04:00
Zed A. Shaw
63fdc06438 Use TestMain to setup the database and shut it down after. 2025-06-29 13:33:53 -04:00
Zed A. Shaw
35d1b06a79 Test can now register a user and log in. 2025-06-29 13:30:40 -04:00
Zed A. Shaw
db58b38917 Simple test of having a render handler that simply renders files by URL name. 2025-06-24 14:46:05 -04:00
Zed A. Shaw
0bccddc62c Forgot the tools file 2025-06-24 14:45:39 -04:00
Zed A. Shaw
db9697130e .\tests\tools.go 2025-06-24 14:24:29 -04:00
Zed A. Shaw
74edb069d2 Cleanup how clicking on a link works for the tests. 2025-06-24 14:14:39 -04:00
Zed A. Shaw
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. 2025-06-23 13:08:25 -04:00
Zed A. Shaw
1785a8e4f5 Got the port wrong on the second test. 2025-06-21 23:36:41 -04:00
Zed A. Shaw
985d0edda3 Now just have a base file I can use to start making tests right away. 2025-06-21 22:51:21 -04:00
Zed A. Shaw
23c6092aa6 More coverage report setup. 2025-06-21 22:46:37 -04:00
Zed A. Shaw
831b5ea762 Test can now attempt a login and the browser is shown rather than headless. 2025-06-18 06:54:59 -04:00
Zed A. Shaw
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. 2025-06-18 04:53:33 -04:00
Zed A. Shaw
849943a01e Changed to pkgsite for docs browsing and then refined the chromedp test some to be nicer to write. 2025-06-17 02:23:23 -04:00