Commit Graph

  • 6d2597a980 #739 Fix command unit tests; adjust default handling (cherry picked from commit 61c119b) ljacqu 2016-06-02 23:08:13 +02:00
  • 73272b5931 Remove all but one hasPermission() method in the PermissionsManager #739 (cherry picked from commit 65f3347) Gnat008 2016-06-02 22:35:07 +02:00
  • c3d07cb9a4 #739 Cleanup on PermissionsManager (cherry picked from commit d9ad12b) EbonJaguar 2016-06-02 02:49:10 +02:00
  • 9b5009eb8c #742 Create test that plugin.yml corresponds to command definitions - Create test - Fix definitions to correspond ljacqu 2016-06-02 15:49:21 +02:00
  • e75cff5fb8 Remove static injections in ListenerService - Get other classes via Inject annotation - Remove no longer needed Utils methods (relates to #736) - Create tests for ListenerService and AuthMeBlockListener - Performance improvement: keep unrestricted names as Set instead of List for faster contains() method ljacqu 2016-06-02 12:46:54 +02:00
  • 2581b95afb Fix NPE on server stop #740 DNx 2016-06-02 11:07:37 +07:00
  • e06c5e7309 Fix NPE from ConsoleLogger DNx 2016-06-02 05:23:16 +07:00
  • 408e8dd0dd #739 Create unit tests for PermissionsManager#hasPermission ljacqu 2016-06-02 00:03:02 +02:00
  • 7fd1ac0856 Merge branch '314-permissions-manager-refactor' of https://github.com/AuthMe-Team/AuthMeReloaded ljacqu 2016-06-01 23:39:14 +02:00
  • 38db2ef0bd Minor code householding - Add removed property to migration service - Log exception with appropriate logger method ljacqu 2016-06-01 23:24:48 +02:00
  • 95343e366b #314 Evaluate default permission on enum, remove default from handler interface - Evaluate permission for DefaultPermission on the enum itself - Remove boolean default from PermissionHandler for hasPermission() - Remove some unused / intermediary hasPermission() flavors in PermissionsManager ljacqu 2016-06-01 21:56:57 +02:00
  • fdb9227ec1 Properly unhook the current system when unhook() is called EbonJaguar 2016-06-01 14:09:30 -04:00
  • e99d9414b8 Add and implement handlers for each individual permissions plugin, instead of doing everything in the PermissionsManager - see #314 EbonJaguar 2016-06-01 14:00:27 -04:00
  • 1cbd11a753 Fix the issue reference for removing the exception stacktrace logging games647 2016-06-01 18:30:46 +02:00
  • 71a9abdad9 Remove redundant isLoggable check. It's always level ALL games647 2016-06-01 18:28:22 +02:00
  • 351fe3aa5a Add thread name and stacktrace to the debug logging (Related to #419) games647 2016-06-01 18:03:54 +02:00
  • e59bbbf10e #738 Add check that shooter is of type Player in ProjectileLaunchEvent - Use reflection the opposite way: if it is an old version (getShooter() returns LivingEntity), use reflection; otherwise, call the method directly - Add missing instanceof Player check ljacqu 2016-06-01 14:06:36 +02:00
  • 58a6b6060f Log an error if the plugin is unable to create the log file. Gabriele C 2016-06-01 11:40:50 +02:00
  • e6f2eb487d Merge pull request #136 from AuthMe-Team/writelog Gabriele C 2016-06-01 11:37:37 +02:00
  • 3d1f735c1b Use FileWriter to write the messages. DNx5 2016-06-01 06:12:22 +07:00
  • 5c690d722a - do the check for old GeoLite data correctly. DNx5 2016-06-01 05:23:40 +07:00
  • 0977558924 #736 Remove use of service getters and deprecate them ljacqu 2016-05-31 11:13:42 +02:00
  • be4b3a8605 Update messages_hu.yml Gabriele C 2016-05-31 10:29:35 +02:00
  • 3b6677ce99 Merge branch '604-default-permissions-on-nodes' of https://github.com/AuthMe-Team/AuthMeReloaded ljacqu 2016-05-31 09:15:36 +02:00
  • 506f32243b Fix pom typo + update h2 test dependency Gabriele C 2016-05-31 00:09:19 +02:00
  • 30b72bec4c #604 Fix HelpProvider tests ljacqu 2016-05-30 23:49:59 +02:00
  • 3ad00a45f9 Move default permissions out of Commands and into PermissionNode - fixes #606 EbonJaguar 2016-05-30 16:47:48 -04:00
  • 4db5062935 Merge branch 'playerjoin-listener-cleanup' of https://github.com/AuthMe-Team/AuthMeReloaded ljacqu 2016-05-30 21:13:36 +02:00
  • 18ff5d5331 Remove todo comment associated to #602 ljacqu 2016-05-30 20:02:07 +02:00
  • f5b4071abf Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into playerjoin-listener-cleanup ljacqu 2016-05-30 17:53:42 +02:00
  • 8a0655e333 Merge pull request #134 from Gnat008/602-create-lowercase-string-list-propertytype Gabriele C 2016-05-30 17:53:14 +02:00
  • cc67624a46 Throwing snowball still possible when unlogged ljacqu 2016-05-30 17:09:10 +02:00
  • f94f4643cf Add a lowercase String list property - fixes #602 EbonJaguar 2016-05-30 11:08:01 -04:00
  • 9b1ee86b2f Trivial code householding - Replace if (!x) ... else ... with if(x) ... else ... - Avoid throwing RuntimeException; use children ljacqu 2016-05-30 12:18:55 +02:00
  • 4c51b33b22 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into playerjoin-listener-cleanup ljacqu 2016-05-30 07:52:40 +02:00
  • 9349993faf Merge pull request #133 from Gnat008/612-add-PermissionsSystemType-method ljacqu 2016-05-30 07:51:14 +02:00
  • 428b27943b Add isPermissionsSystem method to PermissionsSystemType enum - fixes #612 EbonJaguar 2016-05-29 18:29:19 -04:00
  • 30aace06d4 Remove unknown config entry Gabriele C 2016-05-29 21:47:54 +02:00
  • bf91e7754e Remove unused imports Gabriele C 2016-05-29 21:43:28 +02:00
  • 10e5ae08e2 remove write log for info message. In case we don't have better log writing method yet. DNx5 2016-05-29 23:15:00 +07:00
  • be6ed07802 Fix #568 Gabriele C 2016-05-29 17:36:36 +02:00
  • f5b7246d1d remove useless stuff from the player listener Gabriele C 2016-05-29 17:10:33 +02:00
  • 52c0c7dd64 playerlistener cleanup Gabriele C 2016-05-29 16:34:03 +02:00
  • 64aacb12db Unit test verifications done on joining - Write unit tests for checks done when a player joins - Move join event handler methods back to PlayerListener; move join check logic to new separate class ljacqu 2016-05-29 15:00:16 +02:00
  • 39d8a88142 Structure checks done in PlayerJoinListener as individual methods ljacqu 2016-05-29 11:45:12 +02:00
  • 2c92a8b52f Move logic for join events in its own listener ljacqu 2016-05-28 22:32:45 +02:00
  • a854d4e0e0 Register entity listener again ljacqu 2016-05-28 22:29:49 +02:00
  • 25f5fdb45c Code householding (PlayerListener / Settings) - Use field on PlayerListener for storing nickname pattern -> repeatedly parsing pattern is expensive - Remove unused legacy setting fields - ForceFlatToSqlite cannot be run from converter command -> remove Converter interface to create more natural method signatures ljacqu 2016-05-28 22:00:50 +02:00
  • b48e080324 Minor code householding - Fix Javadoc errors reported during Jenkins build - Use Guava methods in NewSetting where possible ljacqu 2016-05-28 07:56:26 +02:00
  • eee06dad50 Dependency graph - allow to summarize dependencies by super type ljacqu 2016-05-27 23:25:11 +02:00
  • 107441746e Merge remote-tracking branch 'origin/master' ljacqu 2016-05-27 23:05:40 +02:00
  • cb10854612 Minor - fix failing build (cannot use method from Java 8) ljacqu 2016-05-27 23:05:03 +02:00
  • 87331d116c Revise converter architecture + add integration test for CrazyLogin converter ljacqu 2016-05-27 23:00:44 +02:00
  • 466fb8cab9 Run explicit non-thread-safe setGameMode sync games647 2016-05-26 10:52:49 +02:00
  • 41bad6189e Update messages_tr.yml Gabriele C 2016-05-25 19:52:21 +02:00
  • 67511e3b45 Create task which draws AuthMe dependency graph ljacqu 2016-05-25 19:24:12 +02:00
  • 3643b88798 #712 Add changes to fr messages by Jeje2201 ljacqu 2016-05-25 17:37:15 +02:00
  • 6341d00df0 Code householding - remove legacy settings and TODO messages - Remove fields in legacy settings that are now unused - Remove various irrelevant todo messages - Reduce visibility on some elements ljacqu 2016-05-24 18:59:01 +02:00
  • e54cd526de Add verification remarks in message files - Result from automatic task which checks message files for missing messages or tags ljacqu 2016-05-24 18:37:58 +02:00
  • 8de1897412 Minor - Use explicit dependencies in ProcessService - Replace AuthMe in favor of PermissionsManager - Create missing tests for ProcessService ljacqu 2016-05-24 18:25:38 +02:00
  • a7d3e60abe Remove unused imports Gabriele C 2016-05-24 17:00:23 +02:00
  • 2a3ed384d5 Fix #720 invalid HU lang file Gabriele C 2016-05-24 16:51:03 +02:00
  • 55cc882002 Remove scheduler methods from the ProcessService Gabriele C 2016-05-24 16:06:59 +02:00
  • 5007ca45f0 Update HU language #720 Gabriele C 2016-05-24 15:55:09 +02:00
  • dbae4953cc Can't cancel sync player chat #722 Gabriele C 2016-05-24 15:50:28 +02:00
  • 740b44ca36 cleanup Gabriele C 2016-05-23 23:49:56 +02:00
  • da6431b4fc Suppress injection test warnings Gabriele C 2016-05-23 23:16:40 +02:00
  • 30f62547d8 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 707-process-as-service ljacqu 2016-05-23 21:41:41 +02:00
  • 7d39e22e32 Merge pull request #131 from AuthMe-Team/719-resource-leak Alexandre Vanhecke 2016-05-23 21:31:39 +02:00
  • 7865d7dc2c Remove synchronized methods from the Cache (please check) Gabriele C 2016-05-23 21:18:31 +02:00
  • 97e96ab16b Remove unused imports Gabriele C 2016-05-23 21:16:11 +02:00
  • b3f184da78 stupid conflict Gabriele C 2016-05-23 21:12:12 +02:00
  • 22f54c1f3e Fix Chat Hider #719 Gabriele C 2016-05-23 21:05:18 +02:00
  • c0e8650c6f Move to antibot class Xephi 2016-05-23 10:10:01 +02:00
  • 37b6a2f96f Enable antibot automatically and check for bot into AsyncPreLogin #719 Xephi 2016-05-23 10:03:10 +02:00
  • 11350ec43a Iterate over all chat recipients ljacqu 2016-05-22 10:52:34 +02:00
  • dd5fb49065 Whoops forgot to commit this #719 Gabriele C 2016-05-21 18:08:26 +02:00
  • e0ef0e40c7 Add denied chat message #719 Gabriele C 2016-05-21 18:01:21 +02:00
  • fb6303bf4a Cleanup Gabriele C 2016-05-21 15:37:54 +02:00
  • 410d07a64c Remove commented code Gabriele C 2016-05-21 15:08:40 +02:00
  • b2b65710b1 Also for SQLITE #719 Gabriele C 2016-05-21 15:00:48 +02:00
  • 7a21294581 Don't use synchronized methods #719 Gabriele C 2016-05-21 14:58:57 +02:00
  • 7ad39e2a5d Use default Hikari pool parameters Gabriele C 2016-05-21 14:54:03 +02:00
  • 4d06b63e64 Try to fix spambot resource leak #719 Gabriele C 2016-05-21 14:18:31 +02:00
  • 53043ddc0d Create tool task that checks Mock fields of test classes ljacqu 2016-05-21 11:54:54 +02:00
  • 6af65e6cd4 Fix wrong logic (my fault) Gabriele C 2016-05-20 22:02:26 +02:00
  • 6285a2137f Revert "Idk why, but it doesn't work!" Gabriele C 2016-05-20 22:00:52 +02:00
  • 0c2ee34db3 Idk why, but it doesn't work! Gabriele C 2016-05-20 21:27:47 +02:00
  • c1885a381b Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 707-process-as-service ljacqu 2016-05-20 19:48:26 +02:00
  • 3f039d641a #707 Convert sync processes into services ljacqu 2016-05-20 19:42:30 +02:00
  • 5adf819910 Minor - remove unused services from PurgeCommand - Found by sgdc3 in 95b65ae20a855d8d89aa42432553fc6f051b5c46 ljacqu 2016-05-20 18:03:22 +02:00
  • 244e1a2b7d Injector - don't use instantiation fallback if PostConstruct method is present - Do not instantiate classes with instantiation fallback if they have a PostConstruct method - thanks @sgdc3 for the hint - Change Injector test to check exception messages also ljacqu 2016-05-20 17:57:14 +02:00
  • a355c325c5 #513 Allow to run updateDocs task from command line ljacqu 2016-05-20 17:15:53 +02:00
  • 2edcb703c1 Wtf was that? D: Gabriele C 2016-05-20 15:53:39 +02:00
  • 8dd5420e1a Whoops Gabriele C 2016-05-20 15:46:46 +02:00
  • 4303dca469 Apply no teleport to the respawn listener, remove Settings usage from the PlayerListener Gabriele C 2016-05-20 15:45:34 +02:00
  • 6abad1970c Revert "Cleanup" Gabriele C 2016-05-20 14:58:41 +02:00
  • 92287cb5dd Delay the first "please login/register" message on join Gabriele C 2016-05-19 23:18:16 +02:00
  • 95b65ae20a Cleanup Gabriele C 2016-05-19 23:06:55 +02:00
  • 4d634086cd #701 Alternate accounts are shown to all players with their own name ljacqu 2016-05-19 22:02:15 +02:00