Commit Graph

7728 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
c3a57f3e11 Rearranging files to place the old starter defs in a deprecated folder 2022-09-06 03:59:27 -05:00
Christian 'ketura' McCarty
174281cda7 Pack definition overhaul
- Converted all existing pack definitions (including code-defined ones) to use new hjson definitions
- Created ProductLibrary to replace PacksStorage
- Created a hundred unit tests to confirm that the PL packs are the same as the PS packs
- Replaced all references to PacksStorage with ProductLibrary
2022-09-06 03:43:34 -05:00
Christian 'ketura' McCarty
db40007d1e Fixed My Cards not showing up due to a missed resource stream 2022-09-01 02:49:06 -05:00
Christian 'ketura' McCarty
bb805da0cf Set config rework
- Absorbed CardSets into the CardBlueprintLibrary
- Adjusted library initialization to take filenames during the constructor and immediately initializing, instead of waiting for that for every single instance.
- Changed the library CountDownLatch to use a Semophore instead.
- Adjusted library to be able to hot reload the blueprint mapping and setconfig files (this is not exposed to an endpoint yet)
- Adjusted all public-facing functions of the blueprint library to block if in use
- As a result, reloading should now cause all operations that use the library to pause during the reload
- Added server-wide messages when card reload is invoked
- Fixed chat messages to make all URLs open in a new tab
2022-09-01 02:20:33 -05:00
Christian 'ketura' McCarty
1e505a6aaf Draft system refactor
- Set up the loading of draft files to use the shared functionality in AppConfig
- Enabled draft definition hot reload
- Refactored various draft system files to be static
- Fixed the hobbit draft tests needing to be invoked manually
2022-08-31 19:19:03 -05:00
Christian 'ketura' McCarty
3aa1eb3e95 Consolidated all data files to the same location
- Moved all text files that are loaded at runtime to gemp-lotr-cards/src/main/resources
- Updated ApplicationConfiguration (renamed AppConfig) to handle finding text data files based on configuration
- Updated gemp-lotr.properties to contain dev and test versions of the resource path (used for in-IDE execution and JUnit execution, respectively)
- Updated all references to text files to go through AppConfig
2022-08-31 01:29:33 -05:00
Christian 'ketura' McCarty
92205956a9 Fixing set V1 not showing up in trophies 2022-08-29 06:03:56 -05:00
Christian 'ketura' McCarty
c607a96f97 Updated changelog to cover all the recent patches 2022-08-29 05:08:22 -05:00
Christian 'ketura' McCarty
228f2d199f Adding August 2022 PC promo cards 2022-08-29 04:53:45 -05:00
Christian 'ketura' McCarty
3f5b726612 Finished the migration of the new admin stuff 2022-08-29 04:42:05 -05:00
Christian 'ketura' McCarty
fa92e7efd0 Completed admin panel conversion for user management (bans) 2022-08-29 01:41:48 -05:00
Christian 'ketura' McCarty
b03c16aa8c Finished Admin tab support for General Admin 2022-08-28 20:02:52 -05:00
Christian 'ketura' McCarty
7770f7f4f7 Admin panel improvements
- Added shutdown enter/exit and JSON card reload to the admin panel.
- Greatly expanded the MOTD functionality in the admin panel.
- Converted server cache clear command to the new admin panel.
2022-08-28 03:14:26 -05:00
Christian 'ketura' McCarty
c6e208d9a0 Fixing Galadriel errata requiring an orc 2022-08-26 18:23:39 -05:00
Christian 'ketura' McCarty
fd588e6dae undoing accidental jquery checkin 2022-08-26 17:33:13 -05:00
Christian 'ketura' McCarty
9fe731c16b missed icon 2022-08-26 17:27:09 -05:00
Christian 'ketura' McCarty
ca3bbc8d62 Adding hidden admin tab for pertinent users 2022-08-26 17:26:50 -05:00
Christian 'ketura' McCarty
888318534f Converting spaces to tabs in hall files. Fixed button text sometimes wrapping. 2022-08-26 04:42:56 -05:00
Christian 'ketura' McCarty
ff767a4181 Various fixes for new UI
- fixed slash commands not working in chat
- added a warning if an invite-only table is made for a user that doesn't exist
- fixed the CoC not rendering properly
- Combined the chopped-up help messages so that spam is avoided (as <br> can just be used now)
- fixed league games being eligible for custom descriptions (this breaks anonymity)
2022-08-26 01:59:03 -05:00
Christian 'ketura' McCarty
10b2dcec01 Hiding the Users tab for now. 2022-08-25 19:07:26 -05:00
Christian 'ketura' McCarty
30a7b2a898 Fixing front page line breaks 2022-08-25 19:00:54 -05:00
Christian 'ketura' McCarty
b2b8916a29 Fixing alphabetization of Murder of Crows 2022-08-25 18:56:19 -05:00
Christian 'ketura' McCarty
115b29633c Got all tabs working and the old material distributed 2022-08-25 18:55:09 -05:00
Christian 'ketura' McCarty
19f4ad74dd various small fixes to layout 2022-08-25 02:28:17 -05:00
Christian 'ketura' McCarty
dbf3d71b08 fixing extra scrollbars 2022-08-25 01:01:49 -05:00
Christian 'ketura' McCarty
e78ef6f363 various minor tweaks 2022-08-25 00:54:48 -05:00
Christian 'ketura' McCarty
22882ebc69 Sorted the hall css 2022-08-24 21:37:43 -05:00
Christian 'ketura' McCarty
4866cde7d5 UI work continues
- removed chat lock icon and added functionality to just automatically lock when at the bottom of the scroll bar
- removed some niggling grid stuff
- created buttons for deck builder and merchant, freeing up room for the center bar
- added dark mode support for all game hall controls in both Firefox and Chrome
- revamped colors from the table creation bar down to use solid colors
2022-08-24 21:12:58 -05:00
Christian 'ketura' McCarty
a8a95cc85f Adjusted colors for Playing status, and added an orange highlight to private tables waiting on player 2022-08-24 02:46:51 -05:00
Christian 'ketura' McCarty
c04b1a29b2 Also stole the private table setup from the SW gemp, which lets players use the description field with a player's name to set a private table 2022-08-24 02:34:31 -05:00
Christian 'ketura' McCarty
c835336e61 Added support for user-defined table descriptions 2022-08-24 01:05:25 -05:00
Christian 'ketura' McCarty
5cf8c6d6a6 Adding a bunch of icons to the hall tabs + action buttons 2022-08-23 23:36:57 -05:00
Christian 'ketura' McCarty
68816e258c improvements to the main landing page 2022-08-23 19:13:43 -05:00
Christian 'ketura' McCarty
d7a5177d41 Cleaned up new chat changes to work in the game hall and on Chrome 2022-08-23 17:33:25 -05:00
Christian 'ketura' McCarty
71fa96a367 Added markdown to chat and multiline support to the game hall 2022-08-23 15:49:00 -05:00
Christian 'ketura' McCarty
2a0ec7f6e5 Merge branch 'master' into ui-rework 2022-08-21 13:44:10 -05:00
Christian 'ketura' McCarty
5b8695acb8 Fixed formats not showing up. Fixed All Life Flees having a subtitle. 2022-08-20 19:21:14 -05:00
Christian 'ketura' McCarty
b10c445e68 Fixing filters to avoid showing unfinished errata 2022-08-20 13:54:12 -05:00
Christian 'ketura' McCarty
b6d5920bba more CSS 2022-08-19 21:13:49 -05:00
Christian 'ketura' McCarty
a798ec0bb1 CSS changes 2022-08-19 21:11:44 -05:00
Christian 'ketura' McCarty
97cc60d4e9 Updated changelog 2022-08-19 21:10:27 -05:00
Christian 'ketura' McCarty
fac49bfffc Promoting V1 to official PC formats
- Also issuing 5 new errata
2022-08-19 20:14:50 -05:00
Christian 'ketura' McCarty
e834d6a8ec Altered Orc Assassin to no longer prompt the player with its ability after it has been used to assign itself 2022-08-19 19:29:45 -05:00
Christian 'ketura' McCarty
c50b9d60c5 Added Relics of Moria unit tests for both original and errata 2022-08-19 19:28:47 -05:00
Christian 'ketura' McCarty
c5a84e0338 Mountain-troll errata
- Overhauled how Discounts work for json cards to support all the existing DiscountEffects.
- Altered InZoneData to now be preserved when the data was set in the void/void-from-hand.
- Converted the original Mountain-troll to json
- Added unit tests for errata + original
2022-08-19 19:28:26 -05:00
Christian 'ketura' McCarty
ee2839d7ec Renamed ConditionEffect -> ConditionalEffect 2022-08-19 19:24:14 -05:00
Christian 'ketura' McCarty
2f53477034 Shortened some test rig function names for clarity 2022-08-18 14:36:06 -05:00
Christian 'ketura' McCarty
5cd1e9dfba Renamed some test rig functions. Made TimeResolver more flexible ("start" is now optional). 2022-08-18 14:04:11 -05:00
Christian 'ketura' McCarty
4413fa06f4 Updated errata for Madril, Defender of Osgiliath 2022-08-18 13:24:20 -05:00
Christian 'ketura' McCarty
090564f9ac Corsair Marauder errata
- Added ReinforceTokens effect
- Added limit field to ChooseAndRemoveTokens, which permits devs to set a range besides [0-max tokens]
- Added requires field to CostToEffect, which in reality is here because two consecutive ChooseAndRemoveToken actions never resolves properly due to the separate nature of the two behaviors assuming they can remove the same tokens
- Updated verbiage for share button from Export deck list -> Share deck list
2022-08-18 00:52:30 -05:00