Commit Graph

129 Commits

Author SHA1 Message Date
Steffen 3d696c85de
fix negative nightOrder numbers causing a mess (fixes #193) 2021-07-14 14:00:10 +02:00
Steffen 300395de08
v2.13.0 (#168)
* add support for custom fabled (closes #110)

* 2.13.0

* show custom fabled first

* add recordVoteHistory & clearVoteHistory to session menu

* Update CHANGELOG.md

* socket part of toggle recordVoteHistory

analogous to isNight

* remove accidental

* Add files via upload

* add custom fabled

* Add option to reduce night animations to save power.

* add fallback icon for fabled

* changelog

* disable all animations now

* linter

* add 'on the block' indicator

- after vote, ST chooses to put onto block / empty block / no change to block
- player menu has add / remove from block
- players are automatically removed from the block when (i) they die (ii) another player is put onto block
- fixed crash on add/remove/etc player mid vote

* hide rounded corners on maximized modals

(barely visible anyway)

* ST always sees vote history

i.e. toggle affects only players

* empty block at night

* avoid clashing with seat icon

* nlc: toggle within session.js

* lint

* minor

* Use proper "Exile" terminology for exile

* Add info about "Banishment"->"Exile" to CHANGELOG

* requested changes

* remove direct ST control of block

* player menu order

* move block/night logic from socket to menu

* minor fix to previous

* on block -> marked

* requested changes

* requested change

Co-authored-by: Steffen <steffen@baumgart.biz>

* fix players being moved or removed during a nomination (closes #164)
add vue linter

* let's try adding a lint error

* linter adjusted

* it's working!

* requested change

record marked player id in session

* feedback implemented
npm audit

* prepare develop branch

* adjust linter config

* revert version bump

* fixes & visuals

* Update CHANGELOG.md

* restore old lint command (fixes #170)

* minor fix default

* show jinxed interactions on character reference modal

* 2.13.0

* changelog

Co-authored-by: nicfreeman1209 <nicfreeman1209@gmail.com>
Co-authored-by: nicfreeman1209 <14160941+nicfreeman1209@users.noreply.github.com>
Co-authored-by: Adrian Irving-Beer <wisq@wisq.net>
Co-authored-by: Andrew Conant <emptierset@gmail.com>
2021-05-15 20:07:54 +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 dedf0be0b9 adding documentation comment to explain new isFromSockets property 2021-03-16 19:47:42 +00: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 8ea11c8f9e Changing the clearRoles mutator to preserve the player pronouns when clearing all roles as a storyteller. 2021-03-13 09:59:44 +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 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 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 d409186ff1 re-enabled custom role support 2021-02-03 22:12:38 +01:00
Steffen ec64584da5 added custom image opt in 2021-02-01 22:33:59 +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 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
Dave d74a9f2d76 Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-01-25 22:22:23 +00: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 db8f23a572 fixing comment for clarity 2021-01-25 15:53:35 +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
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
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 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
JulGvoz 3942303f05
Merge branch 'main' into JulGvoz/main 2021-01-09 16:22:18 +02: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
Dave c1db6aa447 adding propertie to state for travelers not in the selected edition 2021-01-08 17:55:46 +00:00
Steffen be89d51ae6 added vote time 2021-01-07 20:25:12 +01:00
Steffen 1f4a37ab5c clear Fabled when clearing players or roles 2021-01-06 21:58:08 +01:00
Steffen 9b94c2f51d add global audio mute entry to grimoire menu 2020-12-27 20:49:29 +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