66 Commits

Author SHA1 Message Date
b42f4fc983 make error/success notices global, add framework for confirmation modals 2025-08-14 18:12:24 -05:00
9a5ed65f04 implement teleporting to towns via maps 2025-08-14 17:37:21 -05:00
53567c9603 move components to top level internal 2025-08-14 17:19:23 -05:00
b778469365 fix session management and storage 2025-08-14 17:15:55 -05:00
2bbff01c0d clean up go mod, fix session persistence 2025-08-14 16:32:47 -05:00
bfe6c12a7a move middleware/auth to its own package, more work on session management 2025-08-14 16:00:07 -05:00
c5218c6061 housekeeping 2025-08-14 15:20:47 -05:00
4a5f0debf6 completely rework session and auth for simplification, replace query counter with memory tracker 2025-08-14 15:09:02 -05:00
41ab6dff13 update user defaults 2025-08-14 14:09:45 -05:00
82ef4b31d4 fix panic when not-logged-in user hits root route 2025-08-14 13:43:42 -05:00
9629bd9d74 re-add /tmp for air 2025-08-14 13:11:12 -05:00
40b09278af finish explore page, fix coord display issue 2025-08-14 12:44:56 -05:00
adcaa609a6 preserve ID order when persisting to JSON to prevent git churn 2025-08-14 12:17:05 -05:00
7b99ffc02c refactor sessions, auth, cookies, etc. 2025-08-14 12:13:23 -05:00
c083c55212 move models to /internal/models 2025-08-14 11:44:10 -05:00
869464944a finish migration to in-memory structs 2025-08-14 11:22:42 -05:00
21acb38157 enhance basestore with common operations, simplify monsters 2025-08-13 22:29:13 -05:00
c2eeaa2f42 migrate all models to in-memory 2025-08-13 22:24:40 -05:00
958a7098a2 work on converting to in-memory 2025-08-13 19:15:01 -05:00
71245b1655 first pass on move/explore logic 2025-08-13 18:19:54 -05:00
cb532efc39 finish map buying 2025-08-13 16:39:29 -05:00
53f778c323 work template engine, implement item purchase and equip 2025-08-13 10:17:52 -05:00
90923cbfe7 style updates, finish shop table, add shop modal 2025-08-13 09:26:35 -05:00
7a90f296b2 add rest of icons to shop 2025-08-13 06:44:30 -05:00
2b86e9fa79 rework all models to new paradigm, fix ordered map to work with any interface correctly 2025-08-12 20:00:49 -05:00
e3a125f6cf fix model saving, add resting 2025-08-12 17:19:44 -05:00
56aa3afd4f add air config, some style fixes, finish first inn page 2025-08-12 14:16:18 -05:00
ae7b4a3066 massive layout fixes and improvements, rework asides, add template functionality 2025-08-12 13:50:48 -05:00
6968e8822c clean up aside components - add magiclist and townlist 2025-08-12 09:13:41 -05:00
f0756c79b6 improve database usage with models and change trackers, work on statbars 2025-08-12 08:18:09 -05:00
85af81a818 add news component, style fixes, markdown to html parser 2025-08-11 20:32:29 -05:00
7a9f5b732f migrate all models to struct pattern, get rid of doc files and builders 2025-08-11 14:07:34 -05:00
c473e41b45 rename utils to helpers 2025-08-11 13:22:20 -05:00
4a73b7cc0d separate session into its own package, clean up some docs 2025-08-11 13:21:07 -05:00
b8b77351d0 add flash messages, preserve usernames/emails in forms 2025-08-11 12:24:16 -05:00
1af8333801 update form layouts, add button styles, clean up auth routes 2025-08-11 12:07:06 -05:00
5ac348a2d2 automatic page title handling 2025-08-11 10:59:13 -05:00
8eb869a971 implement town middleware, first town route, clean up uservalue access 2025-08-11 10:47:13 -05:00
574bde5f28 style updates, split aside components, add get town by coords 2025-08-09 21:29:12 -05:00
58fe999675 test new scanner on user obj 2025-08-09 20:29:16 -05:00
820bc87418 fully migrate db ops to singleton pattern 2025-08-09 19:04:08 -05:00
b1f436585e Simplify auth package 2025-08-09 18:12:23 -05:00
80700149f8 ToMap method for users 2025-08-09 17:58:20 -05:00
69e0ab5645 add leftside/rightside template and database singleton 2025-08-09 17:30:04 -05:00
0534da09a1 fix csrf and simplify global utilities 2025-08-09 13:58:48 -05:00
56dca44815 round out authentication 2025-08-09 11:27:26 -05:00
cec2b12c35 add CSRF middleware, and to session data 2025-08-09 09:49:50 -05:00
a49346160b auth system first pass 2025-08-09 09:44:44 -05:00
a1e8d49c0e big work on templating, added middleware 2025-08-09 09:29:10 -05:00
0c9a701cef enhance template engine with inheritence, composition 2025-08-09 08:48:24 -05:00