all repos — felt @ 4435d1e1302ef9eb758daf0087cef705f62c8601

virtual tabletop for dungeons and dragons (and similar) using Go, MongoDB, and websockets

4435d1e1
change label for aspect lock on token create form, adjust dice scroll logic
Iris Lightshard nilix@nilfm.cc
76c21751
use #no3d hash fragment to disable 3d instead of making it mandatory; v0.2.4
Iris Lightshard nilix@nilfm.cc
6dbd2a81
disable leaflet 3D and bump to 0.2.3
Iris Lightshard nilix@nilfm.cc
9cf0de40
more messageboxes on caught exceptions, update readme, bump to 0.2.2
Iris Lightshard nilix@nilfm.cc
7a294373
clean up dom access and IDs
Iris Lightshard nilix@nilfm.cc
331150a0
fix token preview, copy; bump to v0.2.1
Iris Lightshard nilix@nilfm.cc
f1c56f63
fix table reconnect on lag; keep scroll on token select and master list when refreshing; add token copy; v0.2.0
Iris Lightshard nilix@nilfm.cc
196294b5
remove stray bracket
Iris Lightshard nilix@nilfm.cc
d2c43176
remove retry on resizeMarkers, as it caused move events to become mangled
Iris Lightshard nilix@nilfm.cc
e34ab471
popup anchor and resize fix
Iris Lightshard nilix@nilfm.cc
fdc675dd
add popup with token name on click, add retry to token resize if img is not bound yet
Iris Lightshard nilix@nilfm.cc
fa74c72a
status area, add white-space: pre-wrap for long lines
Iris Lightshard nilix@nilfm.cc
f590395b
remove old notes
Iris Lightshard nilix@nilfm.cc
0e72eb09
streamline token messages by making most fields optional
Iris Lightshard nilix@nilfm.cc
ba3b6a78
player token list return false on token name click (keeps page from scrolling to top)
Iris Lightshard nilix@nilfm.cc
9d2f442c
sort lists in frontend, remove some print statements
Iris Lightshard nilix@nilfm.cc
018dbc52
bump quartzgun, roll dice on server, and fix socket reconnect (re dice)
Iris Lightshard nilix@nilfm.cc
3ea31658
fix readme and index footer
Iris Lightshard nilix@nilfm.cc
e29512f8
fix some bugs; add readme, manifest; bump quartzgun dep
Iris Lightshard nilix@nilfm.cc
28ac847f
adjust websocket code
Iris Lightshard nilix@nilfm.cc
eba97927
add leaflet license to repo and links to liceness in footer
Iris Lightshard nilix@nilfm.cc
d82b22f6
autogenerate registration secret/IV, add error color to theme, upgrade leaflet, and add left-hand token preview
Iris Lightshard nilix@nilfm.cc
7cdcdf55
implement themes
Iris Lightshard nilix@nilfm.cc
faccff3f
config, register: gofmt and make sure secret is 32 bytes
Iris Lightshard nilix@nilfm.cc
e7caa27a
finish implementing registration invites
Iris Lightshard nilix@nilfm.cc
b7888158
encode registration key on command line
Iris Lightshard nilix@nilfm.cc
952f80db
delete assets when destroying table, clear dice message on roll, clear map on socket disconnect; start registration controller
Iris Lightshard nilix@nilfm.cc
e7081a53
implemented tokens; alpha testing go
Iris Lightshard nilix@nilfm.cc
4ba6c931
can write tokens to the db and get them back
Iris Lightshard nilix@nilfm.cc
01fccb55
backend token logic
Iris Lightshard nilix@nilfm.cc
f4513a28
fix dice decoding, token editor can create clientside tokens!
Iris Lightshard nilix@nilfm.cc
8dfa99c8
sprite upload/delete is working, token form skeleton is there
Iris Lightshard nilix@nilfm.cc
43d85c2a
enforce subprotocol/tableKey to alphanumeric and underscore, refine UI
Iris Lightshard nilix@nilfm.cc
0d3b4fb5
gofmt lol
Iris Lightshard nilix@nilfm.cc
825f2ac7
testing clientside token stuff
Iris Lightshard nilix@nilfm.cc
f7973370
image deletion works
Iris Lightshard nilix@nilfm.cc
b125b3c3
fix up map image switching, security fixes, skeleton for image deletion
Iris Lightshard nilix@nilfm.cc
17310f21
merge stream into main
Iris Lightshard nilix@nilfm.cc
3d16e7eb
windowed UI take 2
Iris Lightshard nilix@nilfm.cc
8836d10d
put admin controls in its own accordion with position: fixed
Iris Lightshard nilix@nilfm.cc
7ad9d76f
auxMsg is working
Iris Lightshard nilix@nilfm.cc
42bb254d
add auxmsg publish
Iris Lightshard nilix@nilfm.cc
1fd828f6
GameTableServer: implement 2-level priveleges for publishing messages, publish map image changes
Iris Lightshard nilix@nilfm.cc
8f4eb7e9
more map stuff - list images and start real setup for setting map image adminside
Iris Lightshard nilix@nilfm.cc
16d58eb2
upload map image and displaying on connect works (still need to send broadcast on the socket when upload happens)
Iris Lightshard nilix@nilfm.cc
51f50d67
admin: add upload handlers
Iris Lightshard nilix@nilfm.cc
c6c68aa4
add configand command line parsing
Iris Lightshard nilix@nilfm.cc
4ea3e656
implement table deletion, get ready for map upload
Iris Lightshard nilix@nilfm.cc
4f9ca53e
auto-scroll dicelog and connect to table viewing as admin
Iris Lightshard nilix@nilfm.cc
81876f9f
add style, implement dicelog
Iris Lightshard nilix@nilfm.cc
b8994d80
UI stuff; save and load username in cookie
Iris Lightshard nilix@nilfm.cc
849c27b7
socket: table should have decoded dicerolls on first connect
Iris Lightshard nilix@nilfm.cc
88049089
save dice rolls to db; mongo int arrays are weird
Iris Lightshard nilix@nilfm.cc
2bf3c1af
roll dice and publish to socket
Iris Lightshard nilix@nilfm.cc
65c30712
connect to websocket using table key as subproto
Iris Lightshard nilix@nilfm.cc
6fc78c33
make it compile
Iris Lightshard nilix@nilfm.cc
cd14def1
add notes and scaffolding for publish/subscribe logic
Iris Lightshard nilix@nilfm.cc
4e3ef2d2
fetch table data and go back to table list
Iris Lightshard nilix@nilfm.cc
92a30dd9
update module URLs to use hacklab.nilfm.cc; use struct tags for json
Iris Lightshard nilix@nilfm.cc
d64fb026
create and list tables in admin frontend
Iris Lightshard nilix@nilfm.cc
b89711bb
get tables on admin login
Iris Lightshard nilix@nilfm.cc
50ea1c2b
doing a bit of work on this, we can do admin login now ayyy
Iris Lightshard nilix@nilfm.cc
7f18668f
admin: implement apiDestroyTable
Iris Lightshard nilix@nilfm.cc
75eb4762
admin: flesh out apiGetTableData and add table creation
Iris Lightshard nilix@nilfm.cc
882e7b14
add admin router to gametable
Iris Lightshard nilix@nilfm.cc
464a1593
starting admin middleware
Iris Lightshard nilix@nilfm.cc
6911337f
cleanup- we can compile again
Iris Lightshard nilix@nilfm.cc
8c5eeeaa
server, adapter: starting to put things together
Iris Lightshard nilix@nilfm.cc
e6faf947
models: add Table model; mongodb/adapter: finish implementing adapter
Iris Lightshard nilix@nilfm.cc
298022e4
mongodb/adapter: implement Insert/Get for DiceRolls
Iris Lightshard nilix@nilfm.cc
07d797e1
mongodb/adapter: implement DestroyTable
Iris Lightshard nilix@nilfm.cc
11d6463f
more db infrastructure
Iris Lightshard nilix@nilfm.cc
e59f3e16
gofmt, rid code of typescript confusion, little bit of db code
Iris Lightshard nilix@nilfm.cc
25e51fb2
initial commit - basic websocket server and db init
Iris Lightshard nilix@nilfm.cc