Commit Graph

  • 45f02f6a31 Check java version on initialize Gabriele C 2017-03-15 18:01:00 +01:00
  • 42f46b51d3 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into limbo ljacqu 2017-03-15 08:27:51 +01:00
  • 457c07b53f Consistency test: check that all values are mentioned for enum properties ljacqu 2017-03-15 08:24:40 +01:00
  • cfbb3f9a7f Remove unnecessary stubbing in SetPasswordCommandTest Gnat008 2017-03-14 18:46:39 -04:00
  • 2214fa5839 Implement /email setpassword Gnat008 2017-03-14 18:26:32 -04:00
  • 1da74cb987 #1005 Improve restricted user feature (performance, error handling) - Move check for restricted user into validation service - Keep restrictions in a map by name for fast lookup, avoid splitting Strings on every call - Gracefully handle case when entry does not have the expected ';' and log exception ljacqu 2017-03-14 22:26:19 +01:00
  • 84acc4557a #1125 Limbo persistence: convert old segments, add tests - On startup / reload the playerdata folder is scanned for old segment files, whose data is migrated before they are deleted - Add tests for segment files persistence holder ljacqu 2017-03-14 20:46:28 +01:00
  • 62368b1cda Fix inverse tags in messages_pt; update translations doc page ljacqu 2017-03-13 20:34:55 +01:00
  • 9c3baa7f14 #1125 Create persistence of LimboPlayers in segment files (work in progress) - Instead of one huge file or a file for each player, allow the user to define how many files he wants to distribute the LimboPlayers over. This is based on a function that creates a String (segment ID) based on the player's UUID. ljacqu 2017-03-13 20:29:08 +01:00
  • 710198833c #1125 Create SingleFilePersistenceHandler + extract (de)serializer for LimboPlayer ljacqu 2017-03-13 18:30:52 +01:00
  • b5451df9d7 Fix translations messages_pt.yml (#232) rafael59r2 2017-03-13 06:31:30 +00:00
  • fd18930286 Translate messages_pt.yml (#230) rafael59r2 2017-03-12 17:44:29 +00:00
  • 8557621c02 #1125 Create infrastructure for Limbo persistence + restore 5.2 JSON storage - Introduce configurable storage mechanism - LimboPersistence wraps a LimboPersistenceHandler, of which there are multiple implementations - Outside of the limbo.persistence package, classes only talk to LimboPersistence - Restore the way of persisting to JSON from 5.2 (SeparateFilePersistenceHandler) ljacqu 2017-03-12 18:43:37 +01:00
  • 1678901e02 #1113 Attempt to merge new LimboPlayer with an existing one - Extract some logic into LimboServiceHelper to keep LimboService slim - Create LimboServiceHelper#merge to merge two LimboPlayers associated with a Player. E.g. if an admin unregisters an online player that has not logged in, the creation of a LimboPlayer is triggered while there already is one in LimboService ljacqu 2017-03-12 15:56:08 +01:00
  • 689e5eeccc Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into limbo ljacqu 2017-03-12 14:54:25 +01:00
  • 10d8f00c92 Various minor changes - AsynchronousLogin: call common permission methods through CommonService instead of PermissionsManager - CommandManager: remove superfluous replacement of %p (handled by lazy tag replacer) - Remove unused method in CommonService - Create DebugSectionConsistencyTest - SendMailSSL: Enable debug output if AuthMe log level is set to debug - Add Utils#logAndSendMessage and replace existing, separate implementations ljacqu 2017-03-12 14:04:39 +01:00
  • c766b5c259 #1036 Add restoration options for Limbo allowFlight / fly speed / walk speed - Introduce options to define how allow flight, fly & walk speed should be restored from LimboPlayer - Create consistency tests for line length in SectionComments methods and to ensure that all SettingsHolder classes are part of the returned ConfigurationData ljacqu 2017-03-12 13:51:03 +01:00
  • 72acf28233 Creating help_pt.yml (#231) rafael59r2 2017-03-12 06:14:02 +00:00
  • c79ba49ca8 #1113 Don't restore OP to unregistered player; add tests for LimboService ljacqu 2017-03-11 08:47:58 +01:00
  • e788da87d4 #1034 #1131 Create debug section for country info / restrictions ljacqu 2017-03-09 22:25:52 +01:00
  • f7de74c134 Translate messages_es.yml (#229) RatchetCinemaESP 2017-03-09 13:33:16 +01:00
  • ed55c77706 #1131 Correct quote type in debug statement - Java util Logger does not escape placeholders if they are in normal single quotes ljacqu 2017-03-09 08:04:47 +01:00
  • 3b70492bb9 #1131 Add debug statement for country protection ljacqu 2017-03-09 08:02:37 +01:00
  • e43f6364ed Remove forgotten TODO in messages_bg.yml ljacqu 2017-03-09 07:56:36 +01:00
  • bdd62e70c2 Update BG language (#226) Martin 2017-03-09 00:09:37 +02:00
  • 1a445272be Merge pull request #228 from Krokit/master ljacqu 2017-03-08 19:38:37 +01:00
  • 5ca1c17771 Xenforo support Martin 2017-03-08 01:21:29 +02:00
  • 7eadb7f7f9 #1034 Add debug sections for viewing DB data and Limbo data ljacqu 2017-03-07 22:08:04 +01:00
  • 4bb10c5d6d #1113 Handle LimboPlayer tasks via LimboService - Add methods to LimboService for handling messages to make it the only relevant Limbo class for outside classes - Move LimboPlayerTaskManager to limbo package and make it package-private - Create MessageTask and TimeoutTask immediately when LimboPlayer is created - #1112 MessageTask: improve efficiency by keeping reference to Player ljacqu 2017-03-07 20:35:48 +01:00
  • 62c053d5cb Register the new /email code command EbonJaguar 2017-03-06 15:21:49 -05:00
  • fa65b1af5e make TimedCounter#decrement(K) easier to read EbonJaguar 2017-03-06 14:15:07 -05:00
  • 7d4bfcd99d - Introduce /email code - Add max tries for /email code - Introduce a PasswordRecoveryService EbonJaguar 2017-03-06 13:54:46 -05:00
  • 6d67b82860 Xenforo Martin 2017-03-06 06:31:51 +02:00
  • 7f8b31f9d4 Merge remote-tracking branch 'refs/remotes/AuthMe/master' Martin 2017-03-06 06:16:34 +02:00
  • 648e71cf0f IPB4 Improve Martin 2017-03-06 06:11:59 +02:00
  • 021497b9e6 #1113 Handle LimboPlayers within LimboService (remove LimboCache) (work in progress) - Delete LimboCache and LimboPlayerStorage: LimboService now handles all LimboPlayer actions - Revoke player rights when creating a LimboPlayer, within the LimboService - Various fixes and improvements ljacqu 2017-03-05 21:47:46 +01:00
  • 22ccf582b8 #1113 Create LimboService (work in progress) - Introduce new LimboService with a higher level abstraction for outside classes to trigger LimboPlayer actions - Add methods to LimboPlayerTaskManager for muting the MessagesTask safely ljacqu 2017-03-05 19:25:35 +01:00
  • 6db778387d Don't make CommandDescription final as to allow mocks - Construction of a CommandDescription requires a lot of fields to be set. In most tests we only care about one or two fields -> having to set a lot of fields to dummy values is not very nice. ljacqu 2017-03-05 11:08:43 +01:00
  • 8aa573b9ed Minor fixes as found by Checkstyle ljacqu 2017-03-05 10:58:29 +01:00
  • ed9c5ef8a7 Readme: replace metrics with bstats, add code climate badge ljacqu 2017-03-05 10:19:11 +01:00
  • a64f758ee9 Add config files for Code Climate - https://codeclimate.com - Includes customized Checkstyle configuration for AuthMe ljacqu 2017-03-04 20:49:11 +01:00
  • 009d82c0a9 #1120 Use empty "realname" when converting from flatfile - FlatFile doesn't store the "realname" - all names are always in all-lowercase. Converting from flatfile to other data source should therefore not take over an auth's realname - Adjust sample flatfile file to only have all-lowercase usernames ljacqu 2017-03-04 17:52:08 +01:00
  • c079f5f3d5 Update messages_ru.yml (#227) Den 2017-03-04 03:09:43 +03:00
  • 283b5aebb7 [Messages_IT] Email recovery delay (#225) Maxetto 2017-03-02 11:04:56 +01:00
  • 1e9ba53471 Update messages_tr.yml (#224) Twonox 2017-03-02 08:26:29 +01:00
  • f9ebf63dcf Update help_fr.yml (#223) Twonox 2017-03-02 08:25:46 +01:00
  • ebfada1557 Update messages_fr.yml (#222) Twonox 2017-03-02 08:21:06 +01:00
  • d450d7d828 #1114 Update Turkish texts by @smt287 ljacqu 2017-02-28 19:27:14 +01:00
  • 7185206718 Minor - use replace instead of replaceAll for non-regex replacements ljacqu 2017-02-27 22:45:46 +01:00
  • 41b6c34b6b Transform values into constants Maxetto 2017-02-27 19:50:30 +01:00
  • bf3d6b0e7c Update messages_pl.yml (#221) Jacek Maciejak 2017-02-27 19:04:54 +01:00
  • 57903f1c08 Merge pull request #220 from AuthMe/1073-email-cooldown ljacqu 2017-02-26 22:44:39 +01:00
  • 8a7c8c36f2 List all subcommands if debug section is unknown ljacqu 2017-02-26 14:18:18 +01:00
  • a847deac16 #1075 Mail sender - allow to turn off TLS for port 25 ljacqu 2017-02-26 14:12:51 +01:00
  • a2b8ca683d Add tests for lazy tag replacement ljacqu 2017-02-25 23:37:15 +01:00
  • 33c4a4690f #1073 Email recovery delay: update project files following new messages & config ljacqu 2017-02-25 22:42:23 +01:00
  • c197a330f3 #1073 Add delay to email recovery command - Add configurable cooldown period after sending an email for /email recovery - Change ExpiringMap to remove expired entries (like ExpiringSet) - Create method to translate durations via the messages file ljacqu 2017-02-25 22:41:49 +01:00
  • a4b440bcca Separate email preparation and email sending into separate classes - SendMailSSL keeps on handling the technical details for sending mails, while EmailService offers methods to other classes and worries about generating the correct email content ljacqu 2017-02-25 20:14:58 +01:00
  • 72c5cfac68 Create Duration class and ExpiringSet#getExpiration (prep for #1073) - Move expiring collections to util.expiring package - Change ExpiringSet to remove expired entries during normal calls ljacqu 2017-02-25 17:25:25 +01:00
  • 4edb4e68c2 #1104 Whitelist sensitive commands also when used with "authme:" prefix ljacqu 2017-02-21 22:51:45 +01:00
  • ee51bb3971 Minor cleanups - Remove forgotten test assertion - Make utils class final - Change RandomString to use char array ljacqu 2017-02-20 22:20:48 +01:00
  • 922101d755 #1104 Filter all sensitive command aliases in console filters ljacqu 2017-02-20 22:09:36 +01:00
  • 18d8186804 #1026 List all available tags for commands.yml in comment ljacqu 2017-02-20 21:18:13 +01:00
  • 57ca81f2ba #1102 commands.yml file should not have any commands by default ljacqu 2017-02-20 21:11:57 +01:00
  • 39395836b4 #949 Add configurable timeout for captcha count ljacqu 2017-02-19 11:50:06 +01:00
  • 510826d268 Add manifest file to gitignore ljacqu 2017-02-19 11:34:56 +01:00
  • ca708e23cd #949 Create ExpiringSet, integrate into SessionManager ljacqu 2017-02-19 09:06:15 +01:00
  • 7b3bd3f4ea Make the Travis build great again ljacqu 2017-02-18 23:00:19 +01:00
  • 152d1dc216 #949 Created TimedCounter + implement it in TempbanManager ljacqu 2017-02-18 22:50:30 +01:00
  • ef1d006cdf #949 Create expiring map type + integrate it into recovery code service ljacqu 2017-02-18 21:31:37 +01:00
  • 6937dd37fb #1034 Create subcommand to send test email - Add test email feature - Change debug command to lazily instantiate its subcommands ljacqu 2017-02-18 17:53:34 +01:00
  • c9b66183de Fix command mapping for /authme:unregister etc. ljacqu 2017-02-18 15:56:08 +01:00
  • e3426cd731 Display hint when legacy jar should be used (cf. #1099) ljacqu 2017-02-18 15:13:26 +01:00
  • 2d3078daa4 Use the bStats maven artifact Gabriele C 2017-02-17 19:25:04 +01:00
  • f0f2398e47 Incrase the auto poolSize value Gabriele C 2017-02-15 23:27:25 +01:00
  • 8ac4ea05f6 Update libs Gabriele C 2017-02-15 23:15:50 +01:00
  • 7c1a9062ba #761 Simplify auth group handling ljacqu 2017-02-15 20:05:14 +01:00
  • d2fccdeb80 Update Injector and create injectable object factory - Using e.g. Factory<Converter> instead of the injector directly makes its purpose more specific and disallows any future abuse of the injector's functions ljacqu 2017-02-05 16:52:35 +01:00
  • 8ae06ed480 Minor improvements to config layout - Change placement and comment of settings.restrictions.banUnsafedIP to make it clear that it only bans unknown IPs using a restricted username - Move "MySQL use SSL" option outside of the column options ljacqu 2017-02-05 13:48:24 +01:00
  • 3eab42ae68 Remove obsolete "session expires on IP change" config - Session always expire on IP change; the config only controlled whether an error message was shown or not ljacqu 2017-02-05 13:40:11 +01:00
  • 2b1a97e959 #761 Fix removal and restoration of primary permission group - Improve how a player is being switched between permission groups (add new group before removing old one) - Remove group handling logic from LimboCache: AuthGroupHandler is now solely responsible for changing the player's permission group ljacqu 2017-02-05 13:12:04 +01:00
  • 49f7e47645 Add more debug log flavors to ConsoleLogger ljacqu 2017-02-05 13:09:38 +01:00
  • f6c560cbbe Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 761-permission-groups ljacqu 2017-02-04 23:05:31 +01:00
  • 20cd9e9588 #1085 Improve of help translation files - Avoid logging an error if a help_{lang}.yml file does not exist in the JAR - No longer suggest /authme messages for updating the help translation - Create consistency test to ensure that all help_{lang}.yml files in the JAR have entries for all help sections / messages / default permissions ljacqu 2017-02-04 22:00:53 +01:00
  • 9425cc7fc3 1085 - added help_ru.yml Dmitry Rendov 2017-02-04 12:59:01 +01:00
  • 5ad528d5d9 Fix Javadoc errors (as seen in Jenkins build) ljacqu 2017-02-04 11:35:22 +01:00
  • 12c2556277 Update messages_zhcn.yml (#217) Playhi 2017-02-02 12:34:08 -06:00
  • f6b08ece68 Trivial code householding - Convert field to local variable - Remove unused constructor parameter - Move limbo class into limbo package ljacqu 2017-01-30 21:50:44 +01:00
  • 5305ff4f42 Update help_de.yml (#216) Platinteufel 2017-01-30 16:05:24 +01:00
  • 24162ad94b #1034 Create debug command structure + utility to see permission groups - Relevant to current work... :) ljacqu 2017-01-29 19:47:14 +01:00
  • 350ef9b5e6 PermissionHandlers: add default methods for trivial duplications - Add easy default methods on PermissionHandler interface (override whenever there's a better way!) - Change getGroups() signature to return a Collection instead of a List ljacqu 2017-01-29 18:16:17 +01:00
  • 95945ffd22 #761 Improve permissions group support - Drop one auth group type in favor of three: logged in, registered but not logged in, and unregistered - Move properties to same parent path ljacqu 2017-01-29 17:44:06 +01:00
  • 6569c275eb Replace mcstats with bStats (#215) Gabriele C 2017-01-29 15:48:07 +01:00
  • bba35944b9 Merge branch '5.3-DEV' of https://github.com/AuthMe-Team/AuthMeReloaded ljacqu 2017-01-29 14:44:35 +01:00
  • 18dbcfde89 5.2 release Gabriele C 2017-01-29 14:00:48 +01:00
  • 89c70ff447 #1026 Add more tags for forced commands (lazily replaced) (#214) ljacqu 2017-01-29 13:54:37 +01:00
  • f46dd9445c Fix #1079 Gabriele C 2017-01-29 13:46:52 +01:00
  • 12566f03ef Fix country code link in config comment ljacqu 2017-01-29 12:40:20 +01:00
  • 7578247085 Write tests for BukkitService ljacqu 2017-01-24 21:39:01 +01:00
  • 56017c81d0 Minor - don't perform registration settings migration if old path doesn't exist - Migration was otherwise performed if config.yml was blank, which produces confusing output ljacqu 2017-01-22 13:14:26 +01:00