Commit Graph

498 Commits

Author SHA1 Message Date
nicfreeman1209 61be9aa8d0 more requested changes 2021-02-12 18:00:59 +00:00
Steffen 819534dab6 moved image opt-in to grimoire tab 2021-02-11 13:48:06 +01:00
nicfreeman1209 6d649a963a minor requested changes 2021-02-10 22:49:10 +00:00
nicfreeman1209 97ac46c1fb reference modal defaults to maximized
others don't
2021-02-10 19:55:45 +00:00
nicfreeman1209 a7cdbf34e3 whitespace: run lint -- --fix 2021-02-10 07:41:57 +00:00
nicfreeman1209 9a6d257679 remove debug print 2021-02-10 02:07:03 +00:00
nicfreeman1209 1abbea3cff add maximize button to modals
status is remembered, per modal
2021-02-10 02:04:02 +00:00
Steffen 8bd3c9b450 Merge branch 'main' into custom-images
# Conflicts:
#	CHANGELOG.md
2021-02-08 13:58:27 +01:00
Steffen 5c4811ba91 wrap up and changelog 2021-02-07 22:14:27 +01:00
Steffen 1c31de430a allow selecting multiple characters (closes #77) 2021-02-06 22:24:46 +01:00
Steffen 429bcb8cfc added firstNightReminder for demon/minion info on night order modal 2021-02-06 21:11:43 +01:00
Steffen b4311db090 added night order tooltips (closes #104) 2021-02-05 22:12:59 +01:00
Steffen ad7fddd6a5 added video background support (mp4/webm) 2021-02-05 22:12:59 +01:00
Steffen 126dda1733 added a slight shadow 2021-02-05 22:12:59 +01:00
eddgabriel 440ea569ff Legion! 2021-02-05 22:12:59 +01:00
Steffen 65c959e07f fixed fabled roles breaking night order modal (fixes #112) 2021-02-05 22:12:59 +01:00
Dave 6026a6e8e8 changed code to grab session id from pasted domain in join dialog to be a pop, to avoid errors if the hash string is not present 2021-02-05 22:12:59 +01:00
Dave aee12a23be simplified the regex on joining a session to only look for anything starting with http(s):// and parseing out the code. 2021-02-05 22:12:59 +01:00
Dave f60069caa9 adding a regex in to the join session method in Menu.vue, to check if a townsquare domain has been entered in to join dialog, if it finds one it will get the session id from the # query string instead of just taking the value directly from the dialog. 2021-02-05 22:12:59 +01:00
Steffen c3c753f5b3 added night order tooltips (closes #104) 2021-02-05 22:07:25 +01:00
Steffen 2eb228ec81 added video background support (mp4/webm) 2021-02-05 20:50:12 +01:00
Steffen 83e86874f0 added a slight shadow 2021-02-05 13:49:53 +01:00
eddgabriel 18a594ea5b Legion! 2021-02-04 22:10:32 +00:00
Steffen 317c5a1ff8 reduce custom role transport by replacing object keys with numerical indices 2021-02-04 21:55:04 +01:00
Steffen a5d6d593c8 show generic icons for custom roles and opt out players 2021-02-04 21:40:59 +01:00
Steffen 484f9f0e63 fixed fabled roles breaking night order modal (fixes #112) 2021-02-04 12:11:40 +01:00
nicfreeman1209 3020b2248c z-index: modals in front of menu
+fix padding
2021-02-03 23:50:19 +00:00
Steffen d409186ff1 re-enabled custom role support 2021-02-03 22:12:38 +01:00
Steffen 142968bf8a
Merge pull request #109 from bra1n/network-refactoring
Network refactoring
2021-02-02 10:32:43 +01:00
Steffen ec64584da5 added custom image opt in 2021-02-01 22:33:59 +01:00
Dave 7f0d60c272 changed code to grab session id from pasted domain in join dialog to be a pop, to avoid errors if the hash string is not present 2021-01-30 12:50:09 +00:00
nicfreeman1209 f60ed34ee3 Merge branch 'main' of https://github.com/nicfreeman1209/townsquare into main 2021-01-29 22:33:53 +00:00
nicfreeman1209 3126de390d maximize reference modal
& darken background, slightly compactify

-> fits into half of a 1920x1080 screen
2021-01-29 22:33:38 +00:00
Steffen 4d33e7dda9 optimized ping and gamestate messages 2021-01-29 21:54:27 +01:00
Dave 724a218b6f simplified the regex on joining a session to only look for anything starting with http(s):// and parseing out the code. 2021-01-29 14:55:19 +00:00
Dave fafbb3c23f adding a regex in to the join session method in Menu.vue, to check if a townsquare domain has been entered in to join dialog, if it finds one it will get the session id from the # query string instead of just taking the value directly from the dialog. 2021-01-27 23:22:56 +00:00
Dave ec05b07329 adding additional validation to changePronoun method in player.vue 2021-01-27 22:36:42 +00:00
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