Commit Graph

8216 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
60abc1af79 Replay summary deck extraction, and deck output overhaul
- Adding /replay/summarydecks endpoint, which takes a replay ID (win or loss) and produces a readout of both decks involved as extracted directly from the json replay summary
- Created new DeckRenderer class, which centralizes the HTML rendering in one place instead of being spread out and duplicated in various places
- Added forum rendering, which alters links and formatting to use the phpbb markup style for pasting into TLHH
- Converted the existing deck sharing + tournament deck display functions to use the DeckRenderer
2023-10-29 06:05:24 -05:00
Christian 'ketura' McCarty
26231745cc Adding ability for admins to manually create tournament tables 2023-10-21 05:19:55 -05:00
Christian 'ketura' McCarty
a63072fd5d updating changelog 2023-10-19 23:44:49 -05:00
Christian 'ketura' McCarty
86b46802f9 Fixing Mind and Body not being triggered by non-skirmish effects such as Shotgun Enquea killing a companion. 2023-10-19 23:36:02 -05:00
Christian 'ketura' McCarty
e0ad248e34 Fixing NRE 2023-10-19 19:50:26 -05:00
Christian 'ketura' McCarty
62eb63ca93 Adding the ability for users to perform a one-way migration of Trophies to My Cards so aaron will stop bugging me 2023-10-19 02:44:17 -05:00
Christian 'ketura' McCarty
8e8d875f8b Adding Championship Swiss pairing mode
- Champ Swiss runs for a fixed number of rounds (8) as opposed to basing it on the number of players
- Adjusted automatic swiss between-round delay to 1 minute instead of 2
- Added Paused stage to be used by kickoff-enabled tournaments
2023-10-14 02:05:54 -05:00
Christian 'ketura' McCarty
771648dfdc Commentator player role
- Added "Commentator" player role (flag: "c").  This permits for users to be granted just the rights to see all currently active tables, with no restrictions on visibility.
- Squashed a couple of hidden references to hard-coded player roles
- Updated the competitive label for the upcoming WC matches
2023-10-13 23:39:28 -05:00
Christian 'ketura' McCarty
305d92f394 Adding Expanded championship timer 2023-09-22 23:45:46 -05:00
Christian 'ketura' McCarty
21e3b09dba some set 3 PC errata unit tests 2023-09-13 02:40:17 -05:00
Christian 'ketura' McCarty
bc94625a6a Cleaning up some missed set 2 errata 2023-09-12 22:02:26 -05:00
Christian 'ketura' McCarty
4204bd7b36 Updating WC format name hack. Missed check-in item for art cards 2023-09-09 12:13:13 -05:00
Christian 'ketura' McCarty
1c753fbb89 Adding August and September gala rewards 2023-09-04 19:56:59 -05:00
Christian 'ketura' McCarty
350bd805d1 fixing league sorting 2023-08-28 20:13:54 -05:00
Christian 'ketura' McCarty
ace5c345b4 Fixing tournament sorting (the visual bug not the standings bug) 2023-08-28 20:08:52 -05:00
Christian 'ketura' McCarty
38223106f4 FIle which inexplicably didn't get refactored 2023-08-28 08:32:28 -05:00
Christian 'ketura' McCarty
267883007c Fixing NRE 2023-08-28 00:47:06 -05:00
Christian 'ketura' McCarty
e712b30181 Adding tournament report functionality. Overhauled tournament matches to use sql2o. 2023-08-28 00:38:32 -05:00
Christian 'ketura' McCarty
3fd75156ec Updating changelog 2023-08-26 00:21:07 -05:00
Christian 'ketura' McCarty
90babc2e68 Added "Preparing" stage for admins to set the db to when kickoff is ready. Reduced the pre-start signup for WC queues to 30 minutes to avoid issues with long timeouts. 2023-08-26 00:08:39 -05:00
Christian 'ketura' McCarty
8e60f682fc Tournament Service Overhaul
- Altered the relationship between the TournamentService and the HallServer so that cache clears permit changes to the database to immediately propogate for tournaments
- Removed the 6 second pause during card reload, and caused it to push the chat messages before loading instead
-
2023-08-25 23:16:56 -05:00
Christian 'ketura' McCarty
baf0076d9c Tournament DB overhaul
- Converted most of the TournamentDAO to use sql2o
- Converted tick counts in the db to DateTime columns
- Added pending_tournament_queue, not yet used
- Added columns for tracking manual kickoff and tiebreaker method to the scheduled tournament table
- Centralized a lot of date and shared tournament object definitions
- Fixed 200 responses causing the XML parsing on the client to barf
- Added the ability for players to see who is currently queued or competing in a tournament
- Added a "pending kickoff" state step to the tournament handling (pending addition of actual kickoff)
- Fixed tournament abandoning not working
- Added ability for PC V1 cards to be foiled in the merchant
- Added preliminary groundwork for tournaments configuring tiebreaker methods
- Removed a few tests from the tournament unit tests.  I just straight up can't grok what Mockito wants for the refactor to work.
2023-08-25 03:57:28 -05:00
Christian 'ketura' McCarty
7bc963a6a4 Fixing Dark Lord Advances PC errata crash 2023-08-22 19:01:45 -05:00
Christian 'ketura' McCarty
49fc0b73bc More WC table fixes 2023-08-13 13:02:07 -05:00
Christian 'ketura' McCarty
72fa6ee4e7 Fixing missing table header on WC event table 2023-08-13 12:45:46 -05:00
Christian 'ketura' McCarty
02b15a4200 Fixing missing checkin, hack for the casual - wc bug 2023-08-12 23:22:08 -05:00
Christian 'ketura' McCarty
e331429930 Fixing WC queues having the wrong count on them. Fixing WC queues being garrishly neon. 2023-08-12 21:57:31 -05:00
Christian 'ketura' McCarty
2e17df3ebf Fixed the "are you sure you wnat to leave" prompt showing repeatedly when the button wasn't clicked 2023-08-12 21:38:03 -05:00
Christian 'ketura' McCarty
665bdfa7d4 Added decision timer code courtesy of Phallen 2023-08-12 03:11:52 -05:00
Christian 'ketura' McCarty
8121574ef9 Fixing the flickering WC queue 2023-08-12 02:55:55 -05:00
Christian 'ketura' McCarty
3fec8deb94 Checking in back end change for the timer thing 2023-08-12 02:43:26 -05:00
Christian 'ketura' McCarty
893ef932af WC Tournament Queues
- Added new WC-specific queues to the front page.  Any scheduled tournament with 'wc' in the name will use this UI section instead of the main one.
- Added pop-up information on joining, leaving, and abandoning a tournament.
- Fixed some xml parsing bugs in the comm object for tournament queues
- Added new Championship Timer which grants both players 20 minutes and a 10 minute timeout
- Altered the scheduled tournament table creation to use the Championship Timer
2023-08-12 00:40:13 -05:00
Christian 'ketura' McCarty
548f36be87 Added a popup when deck validations and other red-text errors occur 2023-08-06 15:37:16 -05:00
Christian 'ketura' McCarty
eb0cbf0672 changelog update 2023-08-05 13:00:16 -05:00
Christian 'ketura' McCarty
e182a87615 Fixing foil versions of aliased cards not being usable in limited formats. Fixed sealed collection double-counting. 2023-08-05 12:54:37 -05:00
Christian 'ketura' McCarty
b49aab9b61 default icon 2023-08-03 23:21:06 -05:00
Christian 'ketura' McCarty
07da9cd4ae Upgrading widgetbot to emerald 2023-08-03 22:58:25 -05:00
Christian 'ketura' McCarty
3455cb47f6 Trying the default discord integration with a small delay now upon creation 2023-08-02 20:22:21 -05:00
Christian 'ketura' McCarty
b951a7555e Updating changelog 2023-08-02 00:09:08 -05:00
Christian 'ketura' McCarty
a91bec052c Name comparison overhaul and Goblin Swarms UI rework
- Overhauled title comparisons so that capitalization, accents, and spaces do not affect title comparisons.
- Added a ChooseCardsFromStacked JSON binding and associated effects to permit choosing stacked cards from a window instead of tiny slices of the screen.
- Updated Goblin Swarms and Gandalf's Cart to use the new ChooseCardsFromStacked window
- Fixed Foul Creation prompting you to remove an [Isengard] minion even if none were revealed
2023-08-02 00:00:37 -05:00
Christian 'ketura' McCarty
8c808ae94f Fixing PC Enquea not using the proper accents in the title 2023-07-31 18:46:02 -05:00
Christian 'ketura' McCarty
5cf64c624e Disabling discord default integration for now 2023-07-31 01:47:52 -05:00
Christian 'ketura' McCarty
ba8ac60478 Fixed the timing of the discord integration load 2023-07-31 01:44:54 -05:00
Christian 'ketura' McCarty
3badd70be5 Reverting the default discord function, since it seems to have some issues upon startup 2023-07-31 01:37:48 -05:00
Christian 'ketura' McCarty
b3382cddd2 Switching the discord chat view to being the default now that forum channels are supported 2023-07-31 01:30:47 -05:00
Christian 'ketura' McCarty
6731bff10d Merge branch 'master' of https://github.com/PlayersCouncil/gemp-lotr 2023-07-30 18:04:33 -05:00
Christian 'ketura' McCarty
0e0fc6cc1a Adding july gala cards 2023-07-30 18:04:20 -05:00
Christian 'ketura' McCarty
5e55abb7d0 fixing underscore handling for names in the league deck extraction db script 2023-07-30 18:03:54 -05:00
PhallenCassidy
596d148116 Adding The Hobbit to Anything Goes (#31)
It's been brought up a few times by the people who are playing Anything Goes that this would be neat. I still think it could be trouble, but honestly the LotR cards alone are already trouble. The potential is already there, we'll see what happens with this.
2023-07-30 17:47:51 -05:00
Christian 'ketura' McCarty
4c94391f66 Updating league help tab 2023-07-12 22:47:11 -05:00