Commit Graph

475 Commits

Author SHA1 Message Date
eddgabriel 1e9363826d Mephit! 2021-03-04 21:32:30 +00:00
nicfreeman1209 60dcd956e2 requested changes 2021-03-04 10:15:18 +00:00
Dave a4a44f9ba8 fixing bug stopping pronouns from being removed by checking for null specifically instead of just a falsey value. 2021-03-03 22:34:02 +00:00
Dave 4d2225c994 tweaking styles and adding pronouns icon to name bar if the player has pronouns set, made the name bar slighlty wider to allow for the same number of charachtersfor this and moved the player menu slightly to account for it. 2021-03-03 22:23:22 +00: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 77e89f290b changed out transgender symbol for the hopefully more suitable venus-mars icon 2021-03-02 19:03:36 +00:00
Dave f6ca08d6d5 reworked CSS for pronoun tooltip and a little bit of player name to fix text overflow. Also moved the text content in to span tags for styling. 2021-03-02 18:50:18 +00:00
Dave 2590f00ea9 removing preferred, to mkae it just Player Pronouns 2021-03-01 14:55:05 +00:00
Dave 2a028bb7cd stop pronouns being set to null when cacelling prompt 2021-03-01 14:53:32 +00:00
eddgabriel 9594f96b7b Correct LM reminder and travellers night order 2021-03-01 09:51:59 +00:00
Steffen 577ab676a9
updated catfishing 2021-02-28 20:07:01 +01: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 81af122458 making change pronoun option appear for story teller as well as seated player and updating flow control logic to allow story teller to change the pronouns for any player 2021-02-28 14:51:15 +00:00
Dave f670193fba added a max width and overflow hidden to the pronouns tooltip to stop it getting too long 2021-02-28 13:26:58 +00:00
Dave b9bd77789a correcting spelling of preferred on pronoun prompt 2021-02-28 13:19:34 +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 58263e2f6d Fixing ordering of fontawesome import array to maintain alphabetical ordering 2021-02-28 11:46:54 +00:00
Dave 3f33e10564 cleaning up formatting and syntax style in player.vue CSS 2021-02-28 11:31:18 +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
eddgabriel 79ede0a73e Snitch! 2021-02-18 22:25:42 +00:00
Steffen fac108d12c fix missing role alert 2021-02-18 17:22:46 +01:00
nicfreeman1209 081bfbc695 align h/v center when maximized 2021-02-14 16:14:59 +00:00
nicfreeman1209 2db244b14b fix votehistory alignment
when maximized
2021-02-12 22:53:49 +00:00
nicfreeman1209 f463d5195b minor add. 2021-02-12 18:19:34 +00:00
nicfreeman1209 00680533a5 fit to screen nicely 2021-02-12 18:07:00 +00:00
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