Commit Graph

461 Commits

Author SHA1 Message Date
Dave e058f065df Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-01-27 22:15:56 +00:00
Steffen ea0e6d2d72 ping changed to direct message 2021-01-27 22:05:32 +01:00
Steffen 8aa6f6b7f8 highlight dead players on night order sheet (closes #106) 2021-01-27 21:40:36 +01:00
Dave 60fab2efe0 adding code to transmit changes to player pronoun 2021-01-27 20:33:38 +00:00
Dave e60def4226 creating an action to store player pronoun in state and persist the data in local storage 2021-01-27 19:41:28 +00:00
Steffen a03fd30bf5
Merge pull request #105 from davotronic5000/#90_hotkey_night_mode
#90 hotkey night mode
2021-01-27 20:34:11 +01:00
Dave 1670011a95 removing sun from font awesome import as it is no longer being used anywhere, 2021-01-27 17:27:36 +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
Dave 18e5b86518 makeing option to change pronouns only show for currently seated player 2021-01-25 21:15:45 +00:00
Dave 2515dcc328 changing menu item for toggle night mode to list the new hotkey for user reference 2021-01-25 20:30:17 +00:00
Dave c573908a50 adding case to hotkeys switch statement for "s" to switch between day and night mode 2021-01-25 20:29:20 +00:00
Steffen c33e5ddf6d night order shows player names near roles now (closes #102) 2021-01-25 21:01:33 +01:00
Steffen 679927bc27
Merge pull request #91 from davotronic5000/#52_other_edition_travelers
#52 other edition travelers
2021-01-25 20:11:29 +01:00
Dave c034647e9d removing other travelers button group for spectators/live session players as they cannot assign travelers anyway 2021-01-25 17:20:18 +00:00
Dave bddd1f94bd fixing bug where a script that includes all travellers leaves the other travellers tab empty, the tabs now check if there is any other travelers before displaying the tabs. 2021-01-25 16:09:53 +00:00
Dave db8f23a572 fixing comment for clarity 2021-01-25 15:53:35 +00:00
Dave df12930762 moving the isBluffs() logic to be inline in the template, as it is simple enough and has not needed repeating. 2021-01-25 15:51:24 +00:00
Dave bee0eba732 moving otherTravelers in the role modal from a computed function to spreading in mapstate for clarity and code style matching 2021-01-25 15:48:46 +00:00
Dave a95b3065bd renaming extraTravelers to otherTravelers for consistancy accross the app 2021-01-25 14:49:37 +00:00
Dave 64f5621d7c renaming travellers to travelers for consistancy with existing code. 2021-01-25 14:46:37 +00:00
Dave 0ef34ca3a1 moving button group to the bototm of the modal, as it is not priority information, swapped out the active CSS for the existing .townsfolt class took the button group out of the UL and surounded in a div. 2021-01-25 14:42:27 +00:00
Dave 8006ecb55c removine unneeded parens for clarity 2021-01-25 14:36:37 +00:00
Dave 468e45475a removing code to display global reminders for out of script travelers as the travelers should not have global reminders anyway. 2021-01-25 14:35:03 +00:00
Steffen 64d48167c7 amnesiac post-processing 2021-01-24 22:34:38 +01:00
Jul Gvoz fd84e6ef07 Merge remote-tracking branch 'upstream/main' into main 2021-01-23 11:03:06 +02:00
Jul Gvoz dd21825412 Update Amnesiac icon 2021-01-23 10:59:26 +02: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
Steffen 0e7730b2e9 updated pixie icon 2021-01-22 22:04:56 +01:00
eddgabriel dff1ba4f6c Pixie! 2021-01-21 22:58:59 +00:00
Dave b645c1312d fixing correct distance between tooltip and name when displaying on the left 2021-01-18 19:42:28 +00:00
Dave 30ca53dde3 make pronouns tooltip appear on the left on the right hand side of the circle. 2021-01-18 19:40:14 +00:00
Dave 48eab1fa8c getting player pronouns to be synced over sockets layer 2021-01-18 14:02:03 +00:00
Dave 03731bc887 tweaking position of tooltip 2021-01-17 23:41:44 +00:00
Dave d8df724907 created css for pronoun tooltips 2021-01-17 23:20:59 +00:00
Dave 3fc1c3c1a5 fixing bug where reminder tokens were not being displayed correctly for out of script travellers. 2021-01-17 21:01:32 +00:00
Dave 59105beb78 Fixing bug stopping player with index 0 from being assigned an out of script traveller. 2021-01-17 20:17:19 +00:00
Dave 37194a390f adding fonat awesome idon to menu option for change pronouns 2021-01-17 00:50:07 +00:00
Dave 5bafa94a1a make change pronoun menu option appear for both story tellers and the seated player 2021-01-17 00:36:49 +00:00
Dave ccd40ccc99 adding method and dialog to player vue to update player pronoun in state. 2021-01-17 00:18:26 +00:00
Dave cb45da4de4 add pronoun property to player in state 2021-01-16 23:56:10 +00:00
Dave 04993633fd updating custom edition loading to update the list of travelers not in the current edition 2021-01-15 16:33:33 +00:00
Dave 151ea616da Merge branch 'main' of https://github.com/davotronic5000/townsquare into #52_other_edition_travelers 2021-01-15 14:08:35 +00:00
AWConant b7262fbae3 updated lycanthrope icon 2021-01-10 11:12:00 +01:00
Dave ce6b66a33e making roles modal reset selected tab on close, stops traveller tab from showing on bluff selection and a better user experience 2021-01-09 21:23:24 +00:00
Dave 5a72390ac9 Merge branch 'main' of https://github.com/bra1n/townsquare into #52_other_edition_travelers 2021-01-09 20:45:15 +00:00
Dave 5700184fff fixing filter logic in index state to correctly get travelers not in the currently selected edition. 2021-01-09 20:40:59 +00:00
Steffen 292300523d linting and details on hosting your own fork 2021-01-09 21:33:09 +01:00
Steffen f6a7cbaf28 adjusted player menu styling for smaller screens (fixes #88) 2021-01-09 21:32:52 +01:00
JulGvoz 3942303f05
Merge branch 'main' into JulGvoz/main 2021-01-09 16:22:18 +02:00
Jul Gvoz 80cbe7af18 Merge remote-tracking branch 'upstream/main' into main 2021-01-09 16:01:54 +02:00
Dave af0d944d45 linting fix 2021-01-09 13:42:25 +00:00
Dave 7ab4bcbc4d Hiding additional traveller roles when selecting bluffs as travellers will not be used as bluffs anyway. 2021-01-09 13:34:01 +00:00
Dave 016d7feb39 adding tabs to role modal and moving non edition travellers in to second tab 2021-01-09 13:23:59 +00:00
Dave ea574fcc58 cleaning up code pulling non edition travellers in to the role modal and fixing spelling of travellers 2021-01-09 00:21:45 +00:00
Jul Gvoz 7396a4574e Clearer majority representation 2021-01-09 00:46:34 +02:00
Dave 0df7d8386d making non edition travelers appear in roleModal 2021-01-08 18:35:22 +00:00
Dave c1db6aa447 adding propertie to state for travelers not in the selected edition 2021-01-08 17:55:46 +00:00
Steffen 704a569d17
Merge pull request #86 from eddgabriel/spoiler
Add stream reveal spoilers!
2021-01-07 23:02:12 +01:00
eddgabriel 7b7ff15cf6 Add lycanthrope 2021-01-07 21:59:18 +00:00
Steffen e3b195d3e2 fix race condition causing audible countdown 2021-01-07 21:42:28 +01:00
Steffen 84f73ceb01 fix copy to clipboard not working in firefox 2021-01-07 20:50:59 +01:00
Steffen 5d932780cf bugfix 2021-01-07 20:37:50 +01:00
Steffen 072cd4cb77 added vote time (closes #81) 2021-01-07 20:33:45 +01:00
Steffen be89d51ae6 added vote time 2021-01-07 20:25:12 +01:00
Steffen 873083b8d1 clarity 2021-01-07 20:12:38 +01:00
eddgabriel c3fda872b5 Update roles.json 2021-01-07 14:20:09 +00:00
Steffen 1f4a37ab5c clear Fabled when clearing players or roles 2021-01-06 21:58:08 +01:00
Steffen 9c3632e2ae fix list of locked votes showing unlocked votes sometimes 2021-01-06 21:44:56 +01:00
Steffen 1a75db214c updates roles.json night order 2021-01-06 20:28:57 +01:00
lilserf d52d704e97
Apply suggestions from code review
Co-authored-by: Steffen <steffen@baumgart.biz>
2021-01-04 15:33:51 -05:00
Jul Gvoz 2717b69ea2 voting, majority & passed clarified (closes #82) 2021-01-04 19:00:24 +02:00
lilserf 0b78848d03
Add V hotkey for vote history 2021-01-04 10:51:52 -05:00
lilserf d88b02d199
Add V hotkey for the vote history modal 2021-01-04 10:50:15 -05:00
Steffen 5bccde5943 updated roles according to wiki 2020-12-31 20:43:20 +01:00
Steffen ac70021767 show vote results at the end of a vote 2020-12-30 20:39:19 +01:00
Steffen 85a7e259ea fixed global reminders not showing up 2020-12-29 10:33:47 +01:00
Steffen 983f7f41f6 added touch styling
adjusted countdown volume
2020-12-27 21:22:17 +01:00
Steffen 9b94c2f51d add global audio mute entry to grimoire menu 2020-12-27 20:49:29 +01:00
Steffen cd6cf1ed4a pressing J when in a live session now leaves the session (closes #76) 2020-12-27 20:13:44 +01:00
Steffen 2741950837 remove screenshot feature as it is no longer needed 2020-12-27 20:11:57 +01:00
Steffen 3545b3a69d fix sessionId handling for URLs 2020-12-25 20:30:31 +01: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 efa4a0fa4b load roles from gamestate that belong to different editions (like travelers) 2020-12-23 21:18:35 +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 1f58f344eb fix nomination history type 2020-12-22 13:25:09 +01:00
Steffen e300a34f8c menu wording
changelog
2020-12-22 11:38:46 +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 7bf5f69fbc fix voting issues 2020-12-22 11:21:14 +01:00
Steffen acb2178fe9 style fix 2020-12-21 22:02:39 +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 75a90f8f7c preload countdown sound 2020-12-18 21:17:24 +01:00
Steffen 3c0704db59 added deus ex fiasco and fixed stormcatcher icon 2020-12-18 20:40:30 +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 41af82cc5c updated Balloonist reminders (fixes #69) 2020-12-13 21:52:40 +01:00
Steffen c31d264c7f finished gamestate export & import (closes #58) 2020-12-13 21:50:44 +01:00
Steffen e0958ac129 first draft of gamestate modal
improved general modal performance
2020-12-12 22:03:36 +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 c09d1c7101 fix regex issue 2020-12-10 21:37:18 +01:00
Steffen dcabc505fe show reminders from roles selected as bluff/other 2020-12-07 21:53:20 +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 7caa0e7a4b added disclaimer 2020-12-05 22:46:05 +01:00
Steffen dcff59a183 added vote countdown & alert 2020-12-05 22:24:55 +01:00
Steffen 40087a3478 added vote pausing
added half-second voting speeds
2020-12-03 21:09:06 +01:00
Steffen f69c7a79c2 voting terminology adjusted (closes #66)
highlight currently selected vote option
2020-12-02 22:01:16 +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 ede5d353f4 better (custom) reminder text rendering 2020-12-01 21:49:06 +01:00
Steffen f10ff968a6 finished adding night reminders to fabled 2020-11-30 22:04: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 139b4fd202 add firstNight/otherNight leaves to fabled 2020-11-22 21:39:46 +01:00
Suzi a418fc46b9
Update expired discord links
I assumed these used to point to the "Blood on the Clocktower (Unofficial)" server, since I see you're active in there. Please do correct if that's not the case!
These new invite links are set to never expire.
2020-10-31 14:50:55 -04: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 eab7c659e3
bugfixes 2020-09-19 16:19:05 +02:00
Steffen 081ead0fd5
update general icon 2020-09-17 15:11:24 +02:00
Steffen 919abaa0eb fix tooltip 2020-09-17 10:47:13 +02:00
Steffen 6e437e5dbd added general and stormcatcher
fixed night order
2020-09-17 10:30:12 +02:00
Steffen 896208d1e6 add minion / demon info to night order sheet (closes #53) 2020-09-17 09:42:19 +02:00
Steffen 8149feb7e3 better text 2020-09-16 11:52:26 +02:00
Steffen 87b484ba57 more lint 2020-09-16 11:43:55 +02:00
Steffen a370db8dd4 lint 2020-09-16 11:43:18 +02:00
Steffen 1409bea1f3 fixed voting race condition
added session ping
cleaned up vote text
2020-09-16 11:39:36 +02:00
Steffen dda8192e2e
updated catfishing to 9.0 2020-08-21 14:40:22 +02:00
Steffen 974089e033
code cleanup 2020-08-09 22:09:39 +02:00
Steffen d1dc6f98e1
show possible bluffs even for less than 6 players 2020-08-09 22:07:26 +02:00
Steffen a8a87a1e38
adjusted custom scripts with fabled support
added session handling for fabled
2020-08-09 22:02:02 +02:00
Steffen f7c8e022a3
fabled UI finished 2020-08-09 21:28:38 +02:00
Steffen 0622aae25c
added fabled icons 2020-07-23 15:11:28 +02:00
Steffen d0292a9430
started working on fabled 2020-07-23 13:52:53 +02:00
Steffen af1717134c
added support for custom roles in live sessions 2020-07-23 12:25:51 +02:00
Steffen 615ab168e2
center align custom reminder icons 2020-07-23 10:47:57 +02:00
Steffen fd75b1771f
fixed jumpy clock hands when someone joins in the middle of a vote (fixes #49) 2020-07-23 10:40:26 +02:00
Steffen 1ce9c08dc3
keep night order for dead players (closes #47) 2020-07-19 21:16:45 +02:00
Steffen e19aa7a6fe
fix swapping and moving players in live sessions (fixes #46) 2020-07-19 21:11:23 +02:00
Steffen 6ab0780803
added global reminders and new custom script (closes #37) 2020-07-09 13:05:50 +02:00
Steffen 80b5bff1a4
new icons 2020-07-06 11:15:42 +02:00
Steffen 55278c913c
higher resolution icons for DPD 2020-07-06 09:39:12 +02:00
Steffen e9f6d85632
new Barber wording 2020-07-04 21:35:53 +02:00
Steffen d51d450358
fixed lil' monsta 2020-07-04 21:30:20 +02:00
Steffen 4c328b1155
added Dead Penance Day roles and Acrobat 2020-07-04 20:44:59 +02:00
Steffen 15e42848c7
new character icons 2020-07-04 20:19:34 +02:00
Steffen b47b45ceb2
unbreak custom role script 2020-07-03 21:28:42 +02:00
Steffen 2776f58366
open player menu always inside the circle (closes #28) 2020-07-03 10:57:08 +02:00
Steffen ac29310eb4
rewrote vote text to be less confusing (closes #24) 2020-07-03 10:22:42 +02:00
Steffen bc07255366
fix broken reminders for custom roles (closes #44) 2020-07-03 10:21:12 +02:00
Steffen 036f61fed0
separated night order reference sheet into its own modal and hotkey (fixes #36) 2020-07-01 10:44:12 +02:00
Steffen 300066a551
add error message when provided JSON is invalid 2020-07-01 10:31:02 +02:00
Steffen b158230fce
handle empty image urls correctly (fixes #42) 2020-07-01 10:20:56 +02:00
Steffen d3d4b0d338
Update roles.json 2020-07-01 08:18:59 +02:00
Steffen a2e7eb3d35
Update EditionModal.vue 2020-07-01 08:18:07 +02:00
Steffen c8e2f30739
acrobat icon added 2020-06-30 14:16:33 +02:00
Steffen 75d08e2e7e
added support for (local) custom characters (closes #4) 2020-06-30 13:50:35 +02:00
Steffen 71dc48284a
bluffs overlay other elements (closes #32) 2020-06-30 11:09:54 +02:00
Steffen 5b65a65b0d
slowed down player glow 2020-06-30 10:42:27 +02:00
Steffen b986715ee5
sync votes along with gamestate (fixes #35) 2020-06-30 10:16:56 +02:00
Steffen 85909778ee
dont filter uppercase letters in session channel names (fixes #39) 2020-06-30 09:58:27 +02:00
Ben Finney ac475e39ce Store characters in the order specified in the script.
This corrects issue #38 by following the script sequence (not the
catalogue of characters) for storing the characters.
2020-06-24 22:47:55 +10:00
Ben Finney 8aebece218 Rename a parameter to more accurately reflect its usage. 2020-06-24 22:47:55 +10:00
Ben Finney 396990cd1d Define Map of all known characters. 2020-06-24 22:47:55 +10:00
Steffen acd99bc2fb
fix for unclickable night sheet button (closes #33) 2020-06-18 20:00:48 +02:00
Steffen 8b55ae1416
added night order to reference sheet (closes #30) 2020-06-18 12:46:41 +02:00
Steffen f8eb473ab3
make demon bluffs toggleable (closes #29) 2020-06-18 11:19:02 +02:00
Steffen 5b6b36b645
load custom script roles in live sessions 2020-06-18 10:52:07 +02:00
Steffen 395619afb4
load traveler data in live sessions 2020-06-18 10:15:37 +02:00
Steffen 2218b10331
made voting clock speed customizable (closes #27) 2020-06-18 10:00:32 +02:00
JamesParrish d29a9295ba
Fixed typo in Klutz role 2020-06-17 23:55:48 +01:00
Steffen cca49fc577
hide screenshot buttons for mozilla browsers (closes #9) 2020-06-16 11:37:32 +02:00
Steffen 24d6c4c1f2
allow the ST to set a vote 2020-06-16 10:58:36 +02:00
Steffen d29f280ab9
Merge branch 'master' into responsive 2020-06-16 10:02:32 +02:00
Steffen 3d9d0d453e
styling 2020-06-16 10:02:06 +02:00
Steffen c27fdf0bb9
added catfishing to custom scripts 2020-06-15 21:03:14 +02:00
Steffen a197fa5e8c
Merge remote-tracking branch 'origin/master' into responsive 2020-06-11 00:37:30 +02:00
Steffen 6b0de4971c
tons of responsive changes 2020-06-11 00:37:17 +02:00
Steffen fdfd24f935
Add files via upload 2020-06-08 20:48:01 +02:00
Steffen d8b7a91402
fixed zooming with new responsive design (closes #5) 2020-06-08 12:35:13 +02:00
Steffen 03a6e71dc3
increased default size 2020-06-07 23:55:35 +02:00
Steffen ef4a7ad3d2
overlay fixes 2020-06-07 23:53:00 +02:00
Steffen 20b95e4a61
made everything more responsive 2020-06-07 23:43:26 +02:00
Steffen 539f3c0b76
add list of players that voted YES 2020-06-07 22:22:50 +02:00
Steffen ff61770150
persist zoom level 2020-06-07 21:51:19 +02:00
Steffen 080b1314ad
fix vote timer (closes #22) 2020-06-07 21:42:07 +02:00
Steffen a88cb45fb1
Update Vote.vue 2020-06-05 23:59:32 +02:00
Steffen d916da41aa fix another voting bug 2020-06-05 22:46:54 +02:00
Steffen d41eafda07 fix votes 2020-06-05 22:12:51 +02:00
Steffen bc6eb9a11a
syncing and styling 2020-06-05 20:19:49 +02:00
Steffen 556d61ec58
merge 2020-06-04 21:59:01 +02:00
Steffen 863c2137a6
Merge branch 'master' into voting
# Conflicts:
#	src/components/Menu.vue
2020-06-04 21:57:18 +02:00
Steffen 4a69cd50f9
menu stuff 2020-06-04 21:56:07 +02:00
Steffen e9745a6b51
grouped menu items
added some external links
2020-06-04 21:44:47 +02:00
Steffen 649cb30fec
fix voting animation 2020-06-04 19:52:56 +02:00
Steffen 3b36c47f8e
added vote locking and styling 2020-06-04 18:23:33 +02:00
Steffen 6a37d17aec
vote timer 2020-06-03 23:04:50 +02:00