32 Commits
Author SHA1 Message Date
Gwyneth Llewelyn 541235bb0c Preparing 0.9.2… 2025-10-29 01:35:32 +00:00
Gwyneth Llewelyn 1abdc2a78a Refact: logging now happens separately 2025-10-25 07:38:29 +01:00
Gwyneth Llewelyn 838cbc5d79 Bug: fix empty http in url.Scheme 2025-08-29 16:56:09 +01:00
Gwyneth Llewelyn 4fda9b6a28 Chore: format with go fmt
This is to get a better Go report card!
2023-05-16 09:32:08 +01:00
Gwyneth Llewelyn c84c34223f Forgot to change c.HTML to include environment…
… which placed wrong links on the sidebar
2021-11-11 17:03:16 +00:00
Gwyneth Llewelyn f9b7b58409 Whoops forgot to save these...
Just idiomatic Go, no changes
2021-10-31 19:35:43 +00:00
Gwyneth Llewelyn 9435e0653c Manually tweaked the SVGs so that they looked better… 2020-08-17 17:51:46 +00:00
Gwyneth Llewelyn f85ca2650b Adding cached stats array 2020-08-17 12:26:11 +00:00
Gwyneth Llewelyn 86f6aa0562 Finishing up the stats page. It works, but now we need to cache it, to save precious database accesses. 2020-08-17 11:32:08 +00:00
Gwyneth Llewelyn b4121a5c5b More changes on the stats page, at least now it shows… 2020-08-17 00:38:51 +00:00
Gwyneth Llewelyn d5e3fe73fa First attempt at providing some stats for the HyperGrid Business e-zine 2020-08-16 23:36:52 +00:00
Gwyneth Llewelyn 2cfb44651b A few clever changes to make sure that each row on the Regions Table has a link that will automatically login the user. This is _not_ trivial and had to be copied from the JavaScript in https://discoverygrid.net/viewersplash.php … 2020-08-15 23:32:25 +00:00
Gwyneth Llewelyn 1785a1cd7e First attempt to correctly extract slides from the .ini and push them to the template… 2020-07-11 19:09:49 +00:00
Gwyneth Llewelyn d99de88fac Adding a few more things: logo on sidebar, compact tables, toggled accordion sidebar. Still some bugs to fix, though. 2020-07-09 15:44:10 +00:00
Gwyneth Llewelyn 31033f0240 A few changes to move away from cookies and use sessions instead; using gin-contrib/sessions, which is a Gin wrapper to Gorilla sessions. It’s still a bit broken, though 2020-06-28 21:07:10 +01:00
Gwyneth Llewelyn 4759705ee2 More tweaks to get a Libravatar (or at least an Unicorn!) from the email address; apparently, there is a bug somewhere, since the Context seems to ‘forget’ the Libravatar… 2020-06-28 01:57:02 +01:00
Gwyneth Llewelyn aa08179efb Basically working authentication, with a few caveats 2020-06-27 23:18:19 +01:00
Gwyneth Llewelyn c3193be993 First successful pseudo-login test, user is validated on the database, but the password bit is not done yet; also, no cookies (and no sessions). 2020-06-23 00:33:10 +01:00
Gwyneth Llewelyn 46968661bc Intermediary commit (so that I don’t lose anything!) for changes being made towards getting authentication working. This commit includes a change to the way configuration strings are stored (it all goes now into a map), because it was getting harder for me to understand which variables actually belong to the configuration… it’s cleaner this way! 2020-06-22 11:15:37 +01:00
Gwyneth Llewelyn f3edc97d0b First work attempting to get authentication working, the Gin way. 2020-06-21 23:18:15 +01:00
Gwyneth Llewelyn 750defa544 Massive change to get the Grid Map working. And it does work! :-) 2020-06-17 00:18:31 +01:00
Gwyneth Llewelyn c6a7b7a95f Apparently, Gin binds even if there is nothing to bind to; so we check this first before appending to the table; it means the table will be nil, and commented out on the template. 2020-06-16 00:15:20 +01:00
Gwyneth Llewelyn 97782b1e3e Traced down the problem to something completely unrelated: https://stackoverflow.com/a/49822492/1035977 2020-06-15 19:23:43 +01:00
Gwyneth Llewelyn 7ade148234 Strangely enough, I got the viewer data being displayed, but not the rest. What gives? 2020-06-14 02:00:07 +01:00
Gwyneth Llewelyn 89615cbd07 More and more successive attempts to get these stupid parsers to push something right into the templates… 2020-06-14 00:37:26 +01:00
Gwyneth Llewelyn 09905b326e Even crazier attempts. None work. 2020-06-13 01:35:57 +01:00
Gwyneth Llewelyn 99cf439dc6 Multiple attempts to get JSON parsing working. RawMessage works, but only for a single line, and that’s without jsoniter 2020-06-13 01:07:32 +01:00
Gwyneth Llewelyn 9293e788e3 Attempt to circumvent the restrictions of passing JS to the template… it’s not working 2020-06-12 01:54:26 +01:00
Gwyneth Llewelyn 995e51acfa First usage of database access. It even works! 2020-06-11 21:02:26 +01:00
Gwyneth Llewelyn 29acbebdd2 Making sure we define the template path somewhere; maybe in the future we’ll try to determine this automatically, or make the templates part of the assets 2020-06-10 11:14:43 +01:00
Gwyneth Llewelyn f09dd48656 This should break compilation altogether… 2020-06-10 00:42:37 +01:00
Gwyneth Llewelyn 2d87431fba Big refactoring to allow for config.ini — important for setting secret things like database password…
Also, first attempts at playing around with database opening etc.
2020-06-09 23:24:30 +01:00