Commit graph

675 commits

Author SHA1 Message Date
Quercitron
608cab21a9 Fix that incorrect UserStats endTime can be set when rating is updated. 2016-05-21 01:55:29 +03:00
Quercitron
c781728b97 Add rating to the client (#1498) 2016-05-17 17:27:43 +03:00
Quercitron
972d59aa37 Add user rating using Glicko rating system (#1498) 2016-05-17 17:22:14 +03:00
Nathaniel Brandes
43205b6f46 Fix Angel of Jubilation.
The Angel now properly only restricts the sacrifice of creatures.
2016-05-09 00:26:02 -07:00
Kenny Wottrich
f3c83d54f5 Remove Unused Imports
Delete unused java imports that cause compiler warnings
2016-04-24 19:50:29 -05:00
emerald000
b9ab16d945 Remove use of maven-shade-plugin causing some Netbeans bug.
It shouldn't be necessary anyway.
2016-04-17 19:23:38 -04:00
LevelX2
5770dd6014 Added some lost and reconnect statistics to footer data. 2016-04-14 23:43:08 +02:00
Fenhl
430ae503c7 Change all line endings to LF 2016-04-14 16:18:01 +00:00
LevelX2
41ba4c9540 Some changes to logged data and a NPE prevention. 2016-04-14 08:28:28 +02:00
LevelX2
74c310de3e Fixed some more possible exception bugs. 2016-04-06 20:45:33 +02:00
spjspj
e5ca1bd6d2 spjspj - Implement a 'Use the first available mana ability for a land mode'.
This allows people to float mana more easily and to not have to get the popup forcing them to select which mana ability they would like to activate.
There's a new option in the menu system under the Mana Payment section which is set via pressing 'Alt' and the number '1' key (aka Alt+1) (and is unset by releasing Alt+1).
Or they can set it from the right click menu as well.
2016-04-04 20:30:28 +10:00
LevelX2
fa5dd387b4 Added check to limit the number of waiting tables a player can create at the same time. 2016-03-26 10:42:02 +01:00
spjspj
81e5c2b50e spjspj - Fix with error message. 2016-03-07 00:13:31 +11:00
spjspj
2aceb3fcef And again. 2016-03-06 23:59:00 +11:00
spjspj
6116320591 spjspj - Make mistakes in using user-chat commands less visible to the whole chat 2016-03-06 22:46:13 +11:00
rkfg
b9dc5036ef Assembly fix. 2016-02-26 21:05:21 +03:00
LevelX2
1835671f3d Some more changes to GUI to better support high screen resolutions. 2016-02-14 13:41:43 +01:00
LevelX2
687ab7ec6b Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format. 2016-02-06 21:22:51 +01:00
LevelX2
d2eb6151f1 Fixed some possible exceptions. 2016-02-06 02:12:51 +01:00
LevelX2
81af372bc1 Fixed some problems with possible ConcurrentModificationExceptions and some minor changes. 2016-01-31 23:23:09 +01:00
Me Car
284c36b756 Add allowed quit ratio option to match option and tourney option. 2016-02-01 02:25:44 +09:00
Me Car
a33aa5d2df Re-add the getHistory method. 2016-01-31 23:59:45 +09:00
LevelX2
1945e8eaa6 Fix for UserManager build error. 2016-01-31 15:46:55 +01:00
LevelX2
75f5a17135 Merge pull request #1505 from menocar/user-pane
Split History column into Matches and Tourneys columns.
2016-01-31 12:49:00 +01:00
LevelX2
78ac6688ea Some tests and minor changes. 2016-01-31 09:51:23 +01:00
Me Car
574e3cfd36 Split History column into Matches and Tourneys column. 2016-01-30 16:01:04 +09:00
LevelX2
0a5a571141 Fixed a problem with the history chat command for user without matches. 2016-01-26 17:09:13 +01:00
Me Car
240d548c90 Suggest user registration on login failures. 2016-01-25 21:27:57 +09:00
Me Car
665601b355 Fix HISTORY command. 2016-01-24 17:59:09 +09:00
Me Car
5029806baa Update user stats DB on every table completion. 2016-01-24 14:55:19 +09:00
LevelX2
e82d6481df changed command to show history from /info to /history (or /h). 2016-01-23 17:37:25 +01:00
LevelX2
e31b12325e Added "info [username]" command to get history for offline players. Remove user info column. 2016-01-23 16:59:15 +01:00
LevelX2
151e678e84 Changed history handling for user a bit. Added history to table waiting dialog and user avatar tooltip. 2016-01-23 13:37:34 +01:00
LevelX2
24dddd3e06 Changed that player history string of all players were recreated every time the player list is updated (every 2 seconds). 2016-01-23 12:33:12 +01:00
LevelX2
75edce2295 Changed that mailgun or smtp server can be used to send mails from server. 2016-01-22 17:47:05 +01:00
LevelX2
dcbe2da0e6 Changed that mailgun or smtp server can be used to send mails from server. 2016-01-22 17:46:57 +01:00
Me Car
9ca8342e34 Add MailClient that uses Java Mail API to send emails. Use it instead of Mailgun client. 2016-01-22 21:40:08 +09:00
LevelX2
c38b4b9b86 Some minor syntax formatting. 2016-01-21 16:40:46 +01:00
Me Car
8a5461d73b Cache UserStats to User. 2016-01-21 00:44:50 +09:00
Me Car
46e560bd94 Removed unuseful proto fields. Added a better pom.xml documentation. Removed an unuseful logging. 2016-01-20 14:39:11 +09:00
Me Car
550648ccbe Record game histories. Compute user stats and show them in the user panel. 2016-01-20 12:47:58 +09:00
LevelX2
90322d2846 Merge origin/master 2016-01-13 23:45:08 +01:00
LevelX2
45b8a254e6 Updated server start log info. 2016-01-13 23:44:16 +01:00
Me Car
4b25e32caf Do not proceed to password reset flow when authentication is not enabled. 2016-01-14 07:12:03 +09:00
Me Car
99929b9679 Do not do IP address based user identity check when authentication is activated. 2016-01-13 22:11:23 +09:00
Me Car
7d3a9d076d Use mailgun for sending emails. 2016-01-13 00:40:44 +09:00
LevelX2
300ac022cb Fixed problem with static Pattern object. 2016-01-12 00:57:59 +01:00
Me Car
746d034461 Implement a password reset flow. 2016-01-11 21:49:02 +09:00
Me Car
f99660a451 Add some password validation. 2016-01-11 11:15:01 +09:00
Me Car
8dd1e21dba Exit early for less indentation. 2016-01-11 10:20:38 +09:00
Me Car
3bc8f4bec2 Do not register users and connect users without passwords when authentication is not activated. 2016-01-11 10:17:30 +09:00
LevelX2
a5b10b7efd Some default settings for config.xml 2016-01-10 20:58:58 +01:00
LevelX2
bc822c9677 Some minor changes for user registration. 2016-01-10 20:56:09 +01:00
Me Car
a0ddd4fff0 Send an email on successful user registration. Use Gmail API for that. Add password confirmation and email to RegisterUserDialog. 2016-01-10 18:18:38 +09:00
Me Car
835f08c18f Add a user registration dialog. 2016-01-09 06:43:10 +09:00
Me Car
787f4f010a Keep registerClient for older clients. Rename the new version to registerClientWithPassword. Add an error message on NoSuchMethodException so that this kind of version incompatibility can be handled and informed to user. 2016-01-07 23:43:28 +09:00
Me Car
32b4675f13 Integrate Shiro. 2016-01-05 03:48:43 +09:00
Me Car
d0ea7d9c37 Transfer password. 2016-01-05 02:40:05 +09:00
LevelX2
aecb2c8829 [OGW] Added surge and Crush of Tentacles. 2015-12-24 10:02:11 +01:00
Neil Gentleman
02a6780766 add Momir Basic game type
- re-using Emblems as Vanguard cards; should probably give them their own
  CommandObject class
- setting the timing on the Momir ability to TimingRule.SORCERY causes the
  ability not to activate (?), so I've left it at INSTANT for now
- need to add a new card image source for vanguard cards
2015-11-11 12:31:30 -08:00
LevelX2
a5d7ca83d7 Checked objects possible to cause null pointer exceptions. Added some logging. 2015-10-31 11:55:20 +01:00
LevelX2
e88c60eb85 * Scroll Rack - Fixed that the cards were shown face down if setting the order they go to library. 2015-10-31 10:33:37 +01:00
LevelX2
e2453abbb5 * Fixed a bug that some options in preferences were handled with the wrong state as long as never set manually. 2015-09-29 17:26:29 +02:00
LevelX2
b95d7ca705 * Fixed some problems with new avatar handling. 2015-09-27 14:50:44 +02:00
LevelX2
9d3619b68c * Some rework of preferences avatar panel. 2015-09-26 01:10:05 +02:00
LevelX2
2023686ee8 * Some minor changes. 2015-09-25 23:22:54 +02:00
LevelX2
758f56792e * Added button popup menu to be able to automatically answer ability related "Yes" / "No" requests (related to #328). 2015-08-28 11:44:14 +02:00
LevelX2
78071ce0a3 * Fixed a bug that order of triggered abilities of tokens were not shown to human player and the UI was locked (fixes #910). 2015-08-25 23:34:15 +02:00
LevelX2
532d4e0af0 * Added automatic handling for order of triggered abilities going to stack (fixes #701 / related to #328). 2015-08-22 19:29:57 +02:00
LevelX2
662ee7ca10 * Fixed handling of face down card selection (e.g. for Scroll Rack). 2015-08-05 17:45:45 +02:00
LevelX2
efb5e06e57 * Rollback - Fixed that UI is locked after a accepted rollback request (fixes #1158). 2015-08-02 12:39:02 +02:00
LevelX2
635c33fa87 Merge pull request #1117 from brodee/master
random draft bug fix and random draft ui improvements
2015-07-15 08:30:22 +02:00
brodee
c7a349f65f random draft bug fix:
packs are forced to be 15 cards; weirdness occurs if the packs are uneven sizes including the draft ending early.
Random draft ui improvements: 
only the sets that will be used are displayed in the lobby, and the number of characters is large but still greatly reduced.
the pack selector ui will prevent you from chosing fewer than 2 packs.
2015-07-14 22:34:58 -07:00
LevelX2
b80e27f3b3 * Fixed handling of Phyrexian mana. 2015-07-09 01:43:26 +02:00
LevelX2
d847fb7109 Some minor changes. 2015-07-08 22:51:31 +02:00
Wehk
6e5acee2dc Avatar test
Testing access to a "normal" avatar that is not added to "available_avatars". Can't test name cases in local build.
2015-07-06 21:53:22 +02:00
LevelX2
946af6913d Fixed NPE handling. 2015-07-03 21:05:05 +02:00
LevelX2
0cbe590cac * Fixed that mana auto-payment settings were not correctly set from previous settings on game start. 2015-07-02 13:18:12 +02:00
LevelX2
87f3978589 Some changes to userData handling. Added country flag to some dialogs. Saved and restored some more table columns width and order information. 2015-06-28 00:10:38 +02:00
LevelX2
c774e95335 * Fixed some possible java exception causes. 2015-06-27 09:32:50 +02:00
LevelX2
87f919ecac * Reworked handling of revealed and look at windows. Windows can stay open now and moved to a position and stay there. 2015-06-21 23:49:16 +02:00
LevelX2
6420666668 Some fixes to player handling. 2015-06-14 02:42:56 +02:00
LevelX2
ce26bc8ed0 Added option to deactivate to ask th eplayer in which order cards go to gaveyard. 2015-06-13 12:27:50 +02:00
LevelX2
8ae9293c98 * Added user country flag. View of image in user list is still missing. 2015-06-10 17:52:18 +02:00
LevelX2
9da44a547d Added an option that player has to confirm if he passes priority with empty stack and has mana in his pool. Implements #707. 2015-06-07 22:37:12 +02:00
LevelX2
907ec7abb0 Added new option for mana payment handling of mana already in the mana pool. Reworked the battlefield context menu a bit. 2015-06-07 17:14:43 +02:00
LevelX2
8acf28eed1 * Added optional rollback current turn and up to 3 previous turns to the battlefield menu. All other players have to agree to the rollback to let it happen. 2015-06-07 00:53:08 +02:00
LevelX2
bafd27f5b3 Identifier are shown for Looked at and revealed cards view 2015-06-03 17:05:59 +02:00
LevelX2
64ea893ea0 Some changes to logging. 2015-05-22 22:33:01 +02:00
LevelX2
ed501cad21 * Some minor adjustements/changes. 2015-05-12 23:00:34 +02:00
LevelX2
9c97953b6b Added some font color to object and player names output to game logging and feedback area. 2015-05-09 21:18:00 +02:00
North
c323c5b0b8 replaced jboss Logger usage with log4j 2015-05-06 00:38:29 +02:00
LevelX2
c2fb2de67a Fixed a bunch of NPE and other possible exceptions. 2015-04-20 23:37:28 +02:00
LevelX2
ed9d0a5fc1 Fixed a bug that user data was not set for players of tournaments (fixes #903). 2015-04-12 08:34:23 +02:00
LevelX2
c65adebc57 Fixed that to allow watchers of a game to see the hand cards of players did not work correctly. 2015-04-10 12:36:22 +02:00
LevelX2
78df43fd30 Fixed a sideboarding bug of Tiny Leaders Format (fixes #807). 2015-03-19 00:54:04 +01:00
LevelX2
6f6b35d40f Some minor changes. 2015-02-27 01:07:49 +01:00
LevelX2
38f9bb90b2 * Set the game thread name to the game id. 2015-02-12 13:51:27 +01:00
LevelX2
5727791526 * Fixed table health checking of tournament tables (waiting tournament tables were accidently removed). 2015-02-08 14:01:20 +01:00
LevelX2
adbd1bca94 * Imporoved release of draft object during draft tournament. 2015-02-06 00:23:01 +01:00