Commit graph

1431 commits

Author SHA1 Message Date
xenohedron
b55f8f6c46 Merge fix 2023-06-07 19:36:55 -04:00
Artemis Kearney
d199640fb5
respect testMode=false in development builds (#10376) 2023-05-16 22:53:12 +04:00
xenohedron
4cc9329b15
New feature: "Chaos Remixed" booster draft (#10328)
* Fix error in draft pick logger that was failing on chaos drafts with fewer than 3 sets

* Implement Remixed Booster Draft

* Add debug test

* minor cleanup

* Cleanup unnecessary checks

* Fix elimination tournament type

* Add note for future improvement
2023-05-12 18:12:23 +04:00
Oleg Agafonov
550d719498 Fixed NPE error in drafting and timeout 2023-05-09 16:54:22 +04:00
Oleg Agafonov
1f4dfd08ce docs: added some comments about tokens, verify, test mode, etc 2023-05-09 12:27:18 +04:00
Oleg Agafonov
013f14c699 dev: enabled server's test mode by default in developer builds (example: fast games, deck valid skip, cheats, etc) 2023-05-09 00:53:53 +04:00
Oleg Agafonov
bc79b5f5d1 dev: enabled debug main menu by default in developer builds (example: test render dialog) 2023-05-09 00:49:46 +04:00
Oleg Agafonov
5c705a92a3 Cheats: added error dialog on wrong cheat command, added chat message about cheat try; 2023-05-09 00:22:00 +04:00
Oleg Agafonov
1dea98cf1f Game: fixed that search by card name was able to return a wrong card (example: cheat command) 2023-05-08 22:58:30 +04:00
Oleg Agafonov
5f55c7c667 Tokens and command objects reworked (part 1 of 2):
- fixed that copy effect doesn't restore original image after effect's end;
 - removed outdated availableImageSetCodes (all images auto-selected from tokens database now, related to #10139);
 - refactor command objects to use CommandObjectImpl;
 - refactor planes/emblems/etc objects to use MageObjectImpl, added copyable support;
 - refactor another game objects to remove some duplicated fields;
2023-05-08 02:15:07 +04:00
xenohedron
761663c63c
Feature improvement: automatic deck submissions now add lands sensibly (#10159)
* Make automatic deck submissions use sensible land suggestions

* Cover edge case of no colored mana symbols among cards in deck

* Add comments

* Get minimum deck size from deck validator
2023-04-28 18:59:24 +04:00
Oleg Agafonov
517ee16a60 Fixed possible NPE, improved server timeout 2023-04-14 19:07:08 +04:00
Oleg Agafonov
a6337fd28a Cheats: improved cheat and test commands to use same set_code-card_name notation, added additional tests (related to #10139, cheat command example: battlefield:Human:XLN-Island:1) 2023-04-04 22:05:22 +04:00
Oleg Agafonov
a15a0daa04 Fixed potential NPE errors in getPhase usage (fixed Berserker's Frenzy, etc) 2023-03-25 16:01:27 +04:00
Oleg Agafonov
0bcf0320d0 Server: fixed warn message about miss messages file in dev environment 2023-03-17 23:02:01 +04:00
Oleg Agafonov
e2271d79fb Refactor: added auto-generated readable readme file to releases 2023-03-12 13:56:29 +04:00
Oleg Agafonov
7880d6cc43 Refactor: removed outdated files, added actual license and readme to releases 2023-03-11 21:20:16 +04:00
spjspj
0f5d58724b
Prevent very long and very short usernames (#9815)
* Prevent very long usernames

Currently a troll is killing the server with very long usernames.  This should validate each person's username up to being a maximum of 500 characters long (similar to the truncated message length).
2022-12-19 00:03:33 +04:00
sprangg
0627dc4640
More draft stability (#9718) 2022-11-25 11:44:14 -05:00
sprangg
b9530e307d
Draft stability improvements (#9435) 2022-09-25 17:33:16 -04:00
Alex Vasile
8b71e0a444 [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
DeepCrimson
de9fcfc7ee
Refactor: Fix Spelling of userRequestingRollback (#9307) 2022-07-22 23:06:22 -04:00
Alex Vasile
b473300680
More robust searching and importing of MDFCs, Split, Adventure cards, etc. (#8948) 2022-07-08 22:19:54 -04:00
DeepCrimson
f99da274cd
Refactor: Remove Unused ComputerPlayer3 (#9220) 2022-07-04 23:13:23 -04:00
DeepCrimson
4546623fb6
Refactor: Fix spelling of DENY_PERMISSION_TO_ROLLBACK_TURN (#9114) 2022-06-16 22:16:03 -04:00
TheBear
1021ff5ab0
Added Khans Expanded Cube to draft cube list (#8961) 2022-05-15 09:00:45 -06:00
Oleg Agafonov
47726ebbea Fixed miss config for MTGO Khans Expanded Cube 2022-04-09 20:36:27 +04:00
The Bear
9e60e98fb5
Added the Khans Expanded Cube for booster draft (#8780)
* Added the MTGO Khans Expanded Cube for boosterdraft.

* Fixed Obscuring Aether character
2022-03-19 10:33:38 -04:00
Oleg Agafonov
7aceffcc6c Fixed miss config settings from #8731 2022-03-12 09:21:47 +04:00
Jackie Ng
2e44b3246c
Add Feb 2022 vintage cube (#8731)
* Add Feb 2022 vintage cube (source: https://magic.wizards.com/en/articles/archive/magic-online/vintage-cube-february-update-2022-02-15)

* Fix 3 card typos
2022-03-02 20:18:15 -05:00
Oleg Agafonov
6177896a07
Merge pull request #8577 from magefree/dependabot/maven/com.google.oauth-client-google-oauth-client-jetty-1.33.0
Bump google-oauth-client-jetty from 1.31.2 to 1.33.0
2022-01-21 23:45:55 +04:00
dependabot[bot]
c4e09f33a9
Bump google-oauth-client-jetty from 1.31.2 to 1.33.0
Bumps [google-oauth-client-jetty](https://github.com/googleapis/google-oauth-java-client) from 1.31.2 to 1.33.0.
- [Release notes](https://github.com/googleapis/google-oauth-java-client/releases)
- [Changelog](https://github.com/googleapis/google-oauth-java-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-oauth-java-client/compare/v1.31.2...v1.33.0)

---
updated-dependencies:
- dependency-name: com.google.oauth-client:google-oauth-client-jetty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 19:44:09 +00:00
dependabot[bot]
4aa2a8d310
Bump google-oauth-client-java6 from 1.31.0 to 1.33.0
Bumps [google-oauth-client-java6](https://github.com/googleapis/google-oauth-java-client) from 1.31.0 to 1.33.0.
- [Release notes](https://github.com/googleapis/google-oauth-java-client/releases)
- [Changelog](https://github.com/googleapis/google-oauth-java-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-oauth-java-client/compare/v1.31.0...v1.33.0)

---
updated-dependencies:
- dependency-name: com.google.oauth-client:google-oauth-client-java6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 19:43:16 +00:00
Oleg Agafonov
83d44b3e66 Dev: updated to latest ormlite lib, removed workaround for dirty logs from #8373; 2021-11-14 01:47:24 +04:00
Oleg Agafonov
71d5887106 Fixed unnecessary logs on app startup (#8373); 2021-10-06 12:01:50 +04:00
Oleg Agafonov
58ab020065 Dev: pom clean up, improved parent/child structure; 2021-10-03 18:11:56 +04:00
Oleg Agafonov
08407eef25 Dev: migrated to single logger lib (replaced slf4j usage by log4j), clean up and documented pom files, updated some libs; 2021-10-02 11:09:09 +04:00
Oleg Agafonov
074f26d199
Merge pull request #8351 from magefree/dependabot/maven/com.sun.xml.bind-jaxb-impl-3.0.2
Bump jaxb-impl from 2.3.3 to 3.0.2
2021-10-01 22:22:45 +04:00
Oleg Agafonov
af4b8e6eb6 Merge fix 2021-10-01 21:55:25 +04:00
Oleg Agafonov
301539d75b Server improves:
* Server: improved messages on register/reset dialogs;
* Tests: added database compatible tests on new code or libs (auth db);
2021-10-01 21:52:09 +04:00
Oleg Agafonov
fa70af6131 Dev: removed test data from resources to data folder; 2021-10-01 14:10:39 +04:00
dependabot[bot]
4e6de42e71
Bump jaxb-impl from 2.3.3 to 3.0.2
Bumps jaxb-impl from 2.3.3 to 3.0.2.

---
updated-dependencies:
- dependency-name: com.sun.xml.bind:jaxb-impl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 09:43:33 +00:00
Oleg Agafonov
f9beed6a89 Dev: clear pom files, fixed wrong test packages and scope, added zip tests; 2021-09-29 16:01:36 +04:00
Oleg Agafonov
46081d9185 GUI related improves:
* GUI: fixed that choose triggers/piles dialog doesn't close correctly before cast mode choose (#8225);
* GUI: fixed that some choose dialogs doesn't update battlefield state (example: choose amount, choose mana);
* Game: fixed duplicated json logs at the game's end;
2021-09-20 02:17:22 +04:00
Phred
2b2f30a88a
corrected typo: prefered -> preferred
ag -l prefered | xargs sed -i 's/refered/referred/g'
2021-09-11 10:03:10 -05:00
Oleg Agafonov
5f70b92278
Merge pull request #8115 from magefree/dependabot/maven/org.glassfish.jaxb-jaxb-runtime-3.0.2
Bump jaxb-runtime from 2.3.3 to 3.0.2
2021-09-05 01:41:57 +04:00
Oleg Agafonov
8a5b0dca5b
Merge pull request #7974 from magefree/dependabot/maven/com.google.apis-google-api-services-gmail-v1-rev20210614-1.32.1
Bump google-api-services-gmail from v1-rev20200919-1.30.10 to v1-rev20210614-1.32.1
2021-09-05 01:39:35 +04:00
Oleg Agafonov
b57a9dd6df
Merge pull request #8163 from magefree/dependabot/maven/org.apache.shiro-shiro-core-1.8.0
Bump shiro-core from 1.6.0 to 1.8.0
2021-09-05 01:38:04 +04:00
Oleg Agafonov
5ded8468f7 * Game: fixed that server can close non started tables with one player by random (#8209); 2021-09-04 17:19:55 +04:00
Oleg Agafonov
2158d682cc Prepare new release 2021-08-30 14:44:03 +04:00