Commit Graph

  • 752ebe5022 Fix cast exception in integration test - Although the class only has fields of Property type it would appear that CircleCI et al. may use libraries that add fields to classes later on, so we need to check for the field type ljacqu 2016-01-08 23:40:54 +01:00
  • 642a40724b Used Bukkit API to format color codes. DNx5 2016-01-09 05:40:03 +07:00
  • d0b7d0ff06 #347 Create consistency and integration tests for NewSetting - Ensure that the project's config.yml contains all settings that NewSetting is aware of - Add extensive, more generic integration tests ljacqu 2016-01-08 23:20:42 +01:00
  • 69c225c850 #347 Create tests and add check for missing settings in NewSetting ljacqu 2016-01-08 21:22:26 +01:00
  • c8fa9a146e reduce check Xephi 2016-01-08 19:26:26 +01:00
  • b8ae8d995b Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git Xephi 2016-01-08 19:16:06 +01:00
  • 05ccd77d09 Merge pull request #86 from AuthMe-Team/137-xenforo-support DNx 2016-01-08 06:51:47 +07:00
  • 30db03837a #347 Add 'contains' method to PropertyType ljacqu 2016-01-07 21:58:28 +01:00
  • 7d749801f9 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 347-config-rewrite ljacqu 2016-01-07 21:51:20 +01:00
  • acda03bb40 #347 Create enum property + consistency tests ljacqu 2016-01-07 21:38:03 +01:00
  • 120e69ac67 Fix null pointer in tests ljacqu 2016-01-07 20:49:41 +01:00
  • 7ec46e2940 Add strict mode Xephi 2016-01-07 09:31:32 +01:00
  • fa31fd92b8 Fix #417 DNx5 2016-01-07 14:14:08 +07:00
  • fab13c586f Remove skip test for Xenforo hash. DNx5 2016-01-07 07:41:09 +07:00
  • d6ab7d5da8 Ask player to change email if email already added. DNx5 2016-01-07 07:24:26 +07:00
  • 2c13783c6c Created test for XFBCRYPT. DNx5 2016-01-07 07:12:30 +07:00
  • 6855fb93fc Fix #416 DNx5 2016-01-07 06:47:45 +07:00
  • da5de58afb Rename XF class into XFBCRYPT. DNx5 2016-01-07 06:15:39 +07:00
  • 781a005c25 Merge remote-tracking branch 'origin/137-xenforo-support' into 137-xenforo-support DNx5 2016-01-07 05:43:49 +07:00
  • e0c3affa33 Merge branch 'master' into 137-xenforo-support DNx5 2016-01-06 12:15:27 +07:00
  • 2081fd7e34 Removed AuthMeServerStop shutdown hook. - Players now will be kicked if AuthMe was disabled. - Fix #413 DNx5 2016-01-06 10:24:46 +07:00
  • 44d35154aa Register permissions properly in "plugin.yml". so permissions manager plugin can read what available permissions for AuthMe DNx5 2016-01-06 10:02:32 +07:00
  • 204a564a9a Move new configuration packages and add test for PropertyMap ljacqu 2016-01-05 21:59:08 +01:00
  • fd73ce1562 Attempt to Fix permissions wildcard problem. DNx5 2016-01-05 07:21:24 +07:00
  • 627db6b9cf Attempt to Fix #407 DNx5 2016-01-05 06:33:43 +07:00
  • 5ec1b67e03 Fix #408 Player quit location is not updated - Ensure that the cache data source updates the quit location on the actual source ljacqu 2016-01-04 21:51:28 +01:00
  • cb07b3df3d Create enum property type, trivial code simplification ljacqu 2016-01-04 20:33:31 +01:00
  • 6d7d856ebe Wait executor to complete the submitted task before shutting down * Fix #403 DNx5 2016-01-04 05:04:52 +07:00
  • 7d41ccbc9c Settings: use class constants for properties, create custom writer - Create Property class for defining config properties - Create logic for typed retrival of properties from YAML file - Add custom save method - Retain comments from Comment annotations in the classes - Write in a sorted order: first discovered properties are first written to config.yml - Adjust properties to reflect the current config.yml - Add sample tests for the retrieval and writing of properties with the new setup ljacqu 2016-01-03 15:22:32 +01:00
  • c2deb9d0b5 Start rework of Settings Please move to another branch :3 (cherry picked from commit 0c5d835) Xephi 2015-12-31 16:35:38 +01:00
  • fe31b5cabb I forgot to remove the old check. DNx5 2016-01-03 09:38:30 +07:00
  • 774b7513c9 Attempt to update player's IP on login if they have default IP in database. DNx5 2016-01-03 09:33:47 +07:00
  • 4161dcaa94 Fix SingleSession check order. DNx5 2016-01-03 09:07:48 +07:00
  • 052e414ff3 Moved VeryGames IP check into AsyncJoin process. - Updated VeryGames IP check method. - Remove player's IP from realIp map on quit. DNx5 2016-01-03 09:00:25 +07:00
  • 4ea6cc9d69 Fix player name case check. DNx5 2016-01-03 08:34:27 +07:00
  • 9533965095 Minor - update JavaDoc for HashAlgorithm - Replace incorrect description ljacqu 2016-01-02 01:09:25 +01:00
  • 561e21f5e2 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 137-xenforo-support ljacqu 2016-01-02 00:52:08 +01:00
  • 6cae520604 Use Guava's Files.toString API to read the email file. DNx5 2016-01-02 06:23:38 +07:00
  • 266c979319 Use Bukkit API to extract "email.html" from plugin file. DNx5 2016-01-02 06:16:35 +07:00
  • 071800481a Minor - fix failing build ljacqu 2016-01-01 10:34:38 +01:00
  • 94c836376e Revert "Start rework of Settings" from master - Revert 1f55e85 because it's simpler to have ljacqu revert a commit on master, create a new branch and cherry-pick the reverted commit than to enter one command to change branch ljacqu 2015-12-31 17:02:15 +01:00
  • 0c5d835f47 Start rework of Settings Please move to another branch :3 Xephi 2015-12-31 16:35:38 +01:00
  • 1f55e85172 Start rework of Settings Xephi 2015-12-31 16:35:08 +01:00
  • d46a2f0755 Fix test in PasswordSecurity for new savePassword() ljacqu 2015-12-31 13:52:16 +01:00
  • 209cc23c4b Fix markdown table in hash algorithms overview - GitHub requires at least 3 dashes between two column separators |. Most markdown previewers don't have this restriction. ljacqu 2015-12-31 13:42:41 +01:00
  • 6475cecd79 Add tools task to generate an encryption algorithm overview ljacqu 2015-12-31 13:33:00 +01:00
  • a0da423a7b Minor - Javadoc changes - Add/replace/improve javadoc in the commands and encryption section - Note: A simple <p> is the javadoc way to make a new paragraph http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#format - Note: Do not escape '<' and '>' inside of {@code } - Note: '>' does not need to be escaped ljacqu 2015-12-31 13:32:41 +01:00
  • 0c305a6287 Added new updatePassword method in DataSource class DNx5 2015-12-31 12:55:34 +07:00
  • 9eeb510b08 Messing up the test. DNx5 2015-12-31 12:20:48 +07:00
  • bd5d341e67 Xenforo support. - Added getPassword method in DataSource and all implementations. DNx5 2015-12-31 11:05:18 +07:00
  • 5573e7449d Force UTF-8 Xephi59 2015-12-31 01:27:40 +01:00
  • e1a84448a2 Fix the whole Javadoc syntax Xephi59 2015-12-31 01:06:09 +01:00
  • aed23cb1ef Revert removal of XENFORO enum, hash class and custom SQL - Undo commits 121d323 and 1c12278 - Add TODO's with issue number - Add slight, necessary adjustments for code changes since the reverted commits ljacqu 2015-12-31 00:36:08 +01:00
  • 7f1ce66fd0 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git Xephi59 2015-12-30 23:57:44 +01:00
  • ebb4f2bd3e Fix Javadoc generation Xephi59 2015-12-30 23:57:30 +01:00
  • 52222d98e0 Fix #321 Message verifier should understand line breaks - Make messages verifier understand that indented lines belong to the same message - Revert newline to &n replacements done in f5583f4 ljacqu 2015-12-30 23:55:49 +01:00
  • 5354a6913f Use theses packages Xephi59 2015-12-30 23:51:53 +01:00
  • 1246bf4b4c Add Javadoc Goal Xephi59 2015-12-30 23:46:38 +01:00
  • eea3697fa4 #364 Add test for bogus hashes - Verify that a "hash" in the wrong format doesn't throw exception (this is relevant when the supportOldPasswordHash setting is enabled) ljacqu 2015-12-30 23:24:36 +01:00
  • c0a393b8b3 Minor - rename EncryptedPassword to HashedPassword - We hash passwords; we don't encrypt them ljacqu 2015-12-30 22:51:59 +01:00
  • e85dbe81e5 #358 Ensure lowercase player name, issue cleanup - Ensure within PasswordSecurity that the player name is lowercase - Remove check for MD5VB separate salt (we only generate hashes with the salt embedded, so either we need to change that or we don't need this check) - Remove obsolete TODO ljacqu 2015-12-30 22:45:18 +01:00
  • 300a621e1c cleanup Gabriele C 2015-12-30 22:28:45 +01:00
  • 4395d2ad87 never edit pom file from notepad++ Gabriele C 2015-12-30 22:21:09 +01:00
  • 3bc64917fa javadoc exclusions Gabriele C 2015-12-30 22:20:02 +01:00
  • 9343cfe9da Merge pull request #85 from AuthMe-Team/358-encryptn-mthd-refactor ljacqu 2015-12-30 21:50:30 +01:00
  • 71f8a01179 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 358-encryptn-mthd-refactor ljacqu 2015-12-30 21:37:52 +01:00
  • 3328656134 #358 Create test for PasswordSecurity, create salt column if not exists - Add test class for PasswordSecurity - Check and create the salt column in MySQL and SQLite when necessary - Add javadoc to some classes ljacqu 2015-12-30 21:36:07 +01:00
  • 8b60c66cc8 Minor - adjust PlayerAuth builder methods - Rename hash() to password() - Add location(Location) builder method - Replace usages of password(new EncryptedPassword(hash, salt)) to the more terse password(String, String) builder method ljacqu 2015-12-30 18:28:06 +01:00
  • a3402d573f #358 Handle hash + salt as one "unit" - Rename HashResult to EncryptedPassword to reflect its broader use - Use EncryptedPassword in methods that require the hash and the salt, instead of passing them as strings separately - Store EncryptedPassword as field in PlayerAuth; updatePassword() thus processes the entire data in the EncryptedPassword object ljacqu 2015-12-30 17:56:22 +01:00
  • 9c4a578bec #358 Remove old methods on PasswordSecurity, unify hash + salt - For encryption methods with a separate salt, the hash is useless without the salt, so hash and salt should always be persisted and retrieved together ljacqu 2015-12-30 15:43:25 +01:00
  • 81a9811c9b Revert "Add a way to handle a player logout in playerquit into bungeecord" Xephi 2015-12-30 15:11:17 +01:00
  • a3a3907586 Add a way to handle a player logout in playerquit into bungeecord Xephi 2015-12-30 14:40:19 +01:00
  • bf6ef0f4a0 don't take care about message :D Xephi 2015-12-30 13:54:54 +01:00
  • ce6951bcfe Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 358-encryptn-mthd-refactor ljacqu 2015-12-30 13:53:53 +01:00
  • 712f09cf80 Update team.txt Alexandre Vanhecke 2015-12-30 13:50:18 +01:00
  • edffae3a36 Add TabComplete support through ProtocolLib Xephi 2015-12-30 13:20:24 +01:00
  • ac0225c621 Revert "Start a rework of some SQL Queries, add a Query builder" Xephi 2015-12-30 13:14:53 +01:00
  • bfbddd466a Revert "Change to QueryType" Xephi 2015-12-30 13:14:48 +01:00
  • 668535d93f Revert "Pass args through PreparedStatement" Xephi 2015-12-30 13:14:41 +01:00
  • 0a2941ed4e Revert "Remove source from constructor" Xephi 2015-12-30 13:14:32 +01:00
  • dbacf7754d Remove source from constructor Xephi 2015-12-30 12:05:24 +01:00
  • 14e130eaee Pass args through PreparedStatement Xephi 2015-12-30 12:03:48 +01:00
  • f7010f1d3b Change to QueryType Xephi 2015-12-30 09:59:28 +01:00
  • da1adb632e Start a rework of some SQL Queries, add a Query builder Xephi 2015-12-29 17:07:33 +01:00
  • 922082f312 #364 Add HashAlgorithm integration test, fix failing tests - Create integration test for the HashAlgorithm enum - Create AsciiRestricted annotation and make test aware of it - Add option to skip "same hash for same salt" test (for wordpress) - Change some EncryptionMethods to extend from a common superclass ljacqu 2015-12-29 13:29:26 +01:00
  • 531327dd9b Minor - make AuthMe.database private - In favor of AuthMe.getDataSource() ljacqu 2015-12-29 11:55:57 +01:00
  • 571cb6d36b Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 358-encryptn-mthd-refactor ljacqu 2015-12-29 10:54:09 +01:00
  • f3a5e2edd8 Add xenforo.sql dump to help us dev the hook Xephi 2015-12-29 10:07:04 +01:00
  • b3b751920a #358 Replace usage of static PasswordSecurity methods - Replace static methods to instance methods - Use PlayerAuth builder instead of constructor ljacqu 2015-12-29 00:13:20 +01:00
  • 1c12278c4b #369 Remove XENFORO enum entry ljacqu 2015-12-28 22:39:15 +01:00
  • 121d323221 #369 Delete Xenforo (XF) encryption algorithm Rationale: - Seems not to have been working since it was added to the codebase - Seems not to correspond to the actual Xenforo password hashing (class does some sort of JSON extraction?) - It would be easier to rewrite it from scratch if someone requests it later ljacqu 2015-12-28 22:32:24 +01:00
  • 47f4275225 #358 Update EncryptionMethod to new interface - Add new methods to the EncryptionMethod interface - Delete temporary interface (NewEncrMethod) - Remove temporary checks and casts to NewEncrMethod ljacqu 2015-12-28 22:00:43 +01:00
  • 9b73475b9a Minor - clean up bcrypt 2y implementation - Update Recommendation annotation - Add proper length check to hash - Remove check that is always true ljacqu 2015-12-28 21:27:47 +01:00
  • 73bc6e286a #369 Fix bcrypt 2y implementation - Change salt length to 22: it was once changed on accident during some other commit ljacqu 2015-12-28 21:03:33 +01:00
  • 48d0a65724 #358 Create encryption method supertypes, add new methods ljacqu 2015-12-28 20:10:45 +01:00
  • 31730699ac #358 Start refactoring PasswordSecurity - Add new methods temporarily to NewEncrMethod interface - No data source access within EncryptionMethod implementations - Generate the salt within the EncryptionMethod implementation - Deprecate static methods on PasswordSecurity - Adjust AbstractEncryptionMethodTest to test the classes with the new interface - Add getter for data source instead of accessing field directly ljacqu 2015-12-28 16:23:08 +01:00
  • 2de077e71b Fix for #386 Xephi 2015-12-28 14:35:37 +01:00
  • 8fec53eda3 Remove todo for #368 Xephi 2015-12-28 14:26:37 +01:00
  • 37604e6a51 Always check for "testable" methods in listener consistency test - Add check to overlooked test ljacqu 2015-12-28 14:05:00 +01:00
  • 598ee8e5c6 Add circle gitter notifier Gabriele C 2015-12-28 14:00:39 +01:00