Commit graph

69 commits

Author SHA1 Message Date
Steffen
c6209a2510
Merge branch 'develop' into main 2021-05-09 21:58:31 +02:00
nicfreeman1209
19ad2adc17 requested changes 2021-05-05 20:06:23 +01:00
nicfreeman1209
5aba663403 minor fix to previous 2021-05-05 15:08:49 +01:00
nicfreeman1209
b9b9e59b53 requested changes 2021-05-05 07:58:13 +01:00
nicfreeman1209
e762e89485 nlc: toggle within session.js 2021-05-03 17:55:11 +01:00
nicfreeman1209
230507a67f socket part of toggle recordVoteHistory
analogous to isNight
2021-04-18 17:26:24 +01:00
Steffen
a7852115fe
add support for custom fabled (closes #110) 2021-04-15 21:05:00 +02:00
Steffen
5171996b39
bugfixes and improved session joining 2021-03-30 21:34:09 +02:00
Steffen
da3a13518b
fix shifting player bug on delete (fixes #135) 2021-03-19 20:09:13 +01:00
Dave
8b4f09a2c4 correcting fromSockets property to be isFromSockets 2021-03-16 19:46:52 +00:00
Dave
6ad1df5a35 updated the send and update sockets methods for player pronouns to pass through a flag when the pronoun is updated from the sockets to stop the update being broadcast again and causing infinite loops of sockets messages being sent. This also simplifys from the previous loop prevention functionality. 2021-03-16 15:14:51 +00:00
Steffen
a90ca50f7a
a big bunch of other bugfixes 2021-03-14 20:42:39 +01:00
Dave
992841a45b cleaning up methods added for sending and receiveing changed pronouns in sockets.js 2021-03-02 19:16:46 +00:00
Dave
6ad516588c updated sockets send and recieve logic for pronouns to allow ST to update players pronouns and block infinite loops between a seated player and ST updates 2021-02-28 16:08:31 +00:00
Dave
ecb205e027 cleaning up vueX code to reuse existing player update methods, and add form flow logic to block infinite loops 2021-02-28 13:17:40 +00:00
Dave
769c891a67 correcting pronoun to pronouns in all occurances 2021-02-28 11:23:16 +00:00
Dave
0ffde84188 adding code doc comments to the sendPlayerPronoun method 2021-02-28 11:00:41 +00:00
Dave
2e930e6606 Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-02-28 10:30:44 +00:00
Steffen
fac108d12c fix missing role alert 2021-02-18 17:22:46 +01:00
Steffen
d409186ff1 re-enabled custom role support 2021-02-03 22:12:38 +01:00
Steffen
4d33e7dda9 optimized ping and gamestate messages 2021-01-29 21:54:27 +01:00
Steffen
ea0e6d2d72 ping changed to direct message 2021-01-27 22:05:32 +01:00
Dave
60fab2efe0 adding code to transmit changes to player pronoun 2021-01-27 20:33:38 +00:00
Dave
d74a9f2d76 Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-01-25 22:22:23 +00:00
Steffen
83726b1435 fix setting player roles to one that is not on the current script (fixes #95) 2021-01-22 22:05:16 +01:00
Dave
48eab1fa8c getting player pronouns to be synced over sockets layer 2021-01-18 14:02:03 +00:00
Steffen
6d8409d0f0 another fix for host session spam 2020-12-25 14:09:05 +01:00
Steffen
284f9054ba 2 session related fixes 2020-12-24 20:09:56 +01:00
Steffen
0090b33e94 server / sesison fixes 2020-12-24 15:38:28 +01:00
Steffen
984c02980c close session when missing custom roles 2020-12-23 21:07:35 +01:00
Steffen
e2d7fa64f2 added more metrics 2020-12-23 20:49:52 +01:00
Steffen
125d5a9510 clearing vote history as ST clears it for everyone
fixed role distribution bug
2020-12-22 11:32:00 +01:00
Steffen
297181ebe8 added changelog and updated socket endpoint 2020-12-21 21:26:36 +01:00
Steffen
bbb95a6373 finished custom script meta info 2020-12-20 22:01:56 +01:00
Steffen
398fe89bb7 refactored edition handling to support custom script metadata 2020-12-19 22:15:42 +01:00
Steffen
f7eef3f8ea add player role distribution through live session for ST 2020-12-15 22:31:50 +01:00
Steffen
53d608288d only empty seats can be claimed by players and ST can clear seats now 2020-12-15 15:59:43 +01:00
Steffen
7c0f31584c simplify session URLs 2020-12-14 21:49:40 +01:00
Steffen
c31d264c7f finished gamestate export & import (closes #58) 2020-12-13 21:50:44 +01:00
Steffen
200c7f9b7d custom roles are no longer synced in live games due to traffic and security concerns (closes #60) 2020-12-10 22:30:34 +01:00
Steffen
faf378dca3 only sync player data when changing player related things 2020-12-07 21:41:56 +01:00
Steffen
15ced66b42 add vote history 2020-12-06 22:27:52 +01:00
Steffen
dcff59a183 added vote countdown & alert 2020-12-05 22:24:55 +01:00
Steffen
a37add61d9 added night phase switch 2020-12-02 20:39:12 +01:00
Steffen
f915a1a7f8 added fabled to session gamestate object 2020-12-01 22:42:21 +01:00
Steffen
02d7002e34 moved fabled to player store
cleaned up some things around fabled night reminders
added fabled to night sheet
2020-11-29 22:17:02 +01:00
Steffen
b047fafda1 fix small issue with latency calculation 2020-09-22 09:10:35 +02:00
Steffen
0b5d9c5865 moved latency calculation server-side
made host per channel exclusive
added auto-reconnection
2020-09-21 11:24:36 +02:00
Steffen
1409bea1f3 fixed voting race condition
added session ping
cleaned up vote text
2020-09-16 11:39:36 +02:00
Steffen
a8a87a1e38
adjusted custom scripts with fabled support
added session handling for fabled
2020-08-09 22:02:02 +02:00