Commit Graph
100 Commits
Author SHA1 Message Date
DNx5 78708354e1 - Set group to empty if permissions manager has no group support.
- edited comment for config node "permission.EnablePermissionCheck"
2016-08-19 18:40:47 +07:00
DNx5 140275f366 - Add restore method in LimboCache
* Apply it to process that have use of it
- Fix fly & walk speed not get restored
2016-07-04 13:21:57 +07:00
DNx5 deffcb3e2b - Renamed JsonCache to PlayerDataStorage
* the methods inside it renamed to fit with class name
  * cache folder changed into playerdata
- Renamed LimboPlayer to PlayerData
- Added fly speed to PlayerData
- Removed player's name from PlayerData object
- Added getPlayerLocationOrSpawn method in spawn loader.
2016-07-03 21:52:46 +07:00
DNx5 7ea0763966 Merge remote-tracking branch 'origin/master' into jsoncache-fix
Conflicts:
	src/main/java/fr/xephi/authme/settings/Settings.java
2016-07-03 19:53:55 +07:00
DNx5 abf6645620 Fix test 2016-06-29 22:31:10 +07:00
DNx5 5726b0d326 Fix player always teleport to spawn on join. 2016-06-29 22:02:45 +07:00
DNx5 22a4ef93bf - Remove unnecessary @Inject on field.
- Teleport player to spawn immediately on PlayerLoginEvent.
- Only save authenticated player's location on quit.
- Fix player's last location get reset if fail to login.
2016-06-29 20:25:01 +07:00
DNx5 609b148157 Touch the file, it works fine now. 2016-06-29 06:19:49 +07:00
DNx5 b455e20811 - Fix NPE in JsonCache. 2016-06-29 06:06:54 +07:00
DNx5 392b8ac19e Sync with master. 2016-06-29 05:17:56 +07:00
DNx5 98c8e00f5a Merge remote-tracking branch 'origin/master' into jsoncache-fix
Conflicts:
	src/main/java/fr/xephi/authme/AuthMe.java
	src/main/java/fr/xephi/authme/process/quit/AsynchronousQuit.java
2016-06-29 05:00:16 +07:00
DNx5 ad068ffba0 - Make JsonCache injectable
- Only inject needed field
2016-06-29 04:49:10 +07:00
DNx5 45d8e24350 - Fix fly speed not get restored after login.
- Attempt to fix #592
2016-06-29 00:34:31 +07:00
DNx5 145747505f Use JsonCache correctly, couldn't list all changes. 2016-06-28 21:36:58 +07:00
DNx5 99704e7c29 - Quick fix. Safely update player's inventory.
* because it bugs me when i have items with custom NBT Tag
2016-06-27 16:50:45 +07:00
DNx5 680427950f derp 2016-06-18 15:41:05 +07:00
DNx5 3d1f735c1b Use FileWriter to write the messages. 2016-06-01 06:12:22 +07:00
DNx5 5c690d722a - do the check for old GeoLite data correctly. 2016-06-01 05:23:40 +07:00
DNx5 10e5ae08e2 remove write log for info message.
In case we don't have better log writing method yet.
2016-05-29 23:15:00 +07:00
DNx5 46a10da40f Fix test 2016-04-01 13:47:35 +07:00
DNx5 c63b9786f8 IpAddressManager should work with BungeeCord too. 2016-04-01 13:28:00 +07:00
DNx5 ff17e4ca6b Minor improvement. 2016-04-01 13:05:26 +07:00
DNx5 f7408c3e14 Improve AutoPurge feature, #627 2016-04-01 11:32:13 +07:00
DNx5 cb995a99a6 Fix Sqlite backend didn't remove old accounts. 2016-04-01 08:45:31 +07:00
DNx5 79eb0248f8 Run auto purge task asynchronously.
* prevent blocking server startup.
2016-04-01 08:33:11 +07:00
DNx5 0fc15b8105 Fix removePassword option not working on KCauldron. 2016-03-31 19:16:05 +07:00
DNx5 6132743913 Update pom.xml 2016-03-31 15:33:50 +07:00
DNx5 8819f26c29 Fix #632
- Fix permissions manager is not initialized when constructing antibot instance.
2016-03-31 15:30:38 +07:00
DNx5 b43e706572 Update Bukkit API to 1.9-R0.1-SNAPSHOT 2016-03-31 14:36:01 +07:00
DNx5 b4aebb685c Remove player from cache on quit. 2016-02-26 13:10:49 +07:00
DNx5 8bf6817a5f Removed unused private methods in AuthMe class. 2016-02-26 12:47:08 +07:00
DNx5 8324decfa1 Merge branch 'master' into db-improve
Conflicts:
	src/main/java/fr/xephi/authme/AuthMe.java
2016-02-26 12:42:32 +07:00
DNx5 1b65b285ac improve spawn location check. 2016-02-26 12:00:53 +07:00
DNx5 775e2f7039 Async refresh. 2016-02-26 11:37:47 +07:00
DNx5 8536f85361 Fix #558 2016-02-25 16:46:16 +07:00
DNx5 1d1605314a Reload correctly. Fix #554 2016-02-24 22:41:09 +07:00
DNx5 5943537c26 cleanup
It's good now
2016-02-22 22:48:02 +07:00
DNx5 ed0ed2faf7 Bring back @games647 solution. 2016-02-22 22:26:10 +07:00
DNx5 3d90d478c2 remove uuid, only use player's name. 2016-02-22 22:16:14 +07:00
DNx5 4e011f437a Change message & timeout task to run synchronously. 2016-02-22 22:11:03 +07:00
DNx5 bebf1cf7d4 Clean cache on close. 2016-02-22 10:13:48 +07:00
DNx5 5e330398d3 Spawn Location 2016-02-22 01:01:05 +07:00
DNx5 b66c4983ec Merge branch 'master' into reload-supp 2016-02-20 17:52:37 +07:00
DNx5 757f231ceb more ProtocolLib reload support. 2016-02-20 10:24:45 +07:00
DNx5 fd12efa2c0 Merge branch 'master' into cache 2016-02-20 09:48:27 +07:00
DNx5 de3fb61e60 Clear timeout & message task on remove. 2016-02-20 09:35:40 +07:00
DNx5 27642dd82c Rename DataFileCache to PlayerData 2016-02-20 09:32:08 +07:00
DNx5 2f75e03275 cache player's flying enabled state. 2016-02-20 08:56:08 +07:00
DNx5 cc29d8b628 Fix duplicate entry error, #528 2016-02-20 06:47:59 +07:00
DNx5 05e79e6356 Fix email not getting updated in database #527 2016-02-19 23:26:11 +07:00
DNx5 6dfdcf103b I forget this one, Fix #507 2016-02-19 23:26:09 +07:00
DNx5 760d2a9fe6 I forget this one, Fix #507 2016-02-19 22:40:37 +07:00
DNx5 edc20debea Going back to GeoIP legacy. :) 2016-02-19 21:55:53 +07:00
DNx5 c3e3bdf3a4 Added getter for newSettings field. 2016-02-18 11:25:31 +07:00
DNx5 8c08bdb7f9 oops.. 2016-02-18 10:29:40 +07:00
DNx5 cc266a7bd6 Update javadoc. 2016-02-18 09:42:45 +07:00
DNx5 481cbaec2f Don't check the country if nothing defined on configuration.
- no need to enable protection to use country blacklist. #507
2016-02-18 09:34:04 +07:00
DNx5 fbdd56d9de Ignore country check for localhost.
- don't log exception to console
2016-02-18 09:15:43 +07:00
DNx5 64688c7ae6 Remove data file if older than 30 days 2016-02-16 09:30:22 +07:00
DNx5 7b8e5f8e4f GeoIP2 update 2016-02-16 08:31:47 +07:00
DNx5 7c1dd888cc Fix real name update. 2016-02-16 07:14:40 +07:00
DNx5 814bc8df4e Improve email recall task. Fix #529 2016-02-16 06:16:49 +07:00
DNx5 8e38384a0d Implement the encryption method and test unit. 2016-02-09 05:58:59 +07:00
DNx5 9959c0f7d5 Cleanup BCryptService class 2016-02-09 05:04:29 +07:00
DNx5 600c70ad9f Create new class for IPB4 encryption method. 2016-02-09 04:48:12 +07:00
DNx5 190b4c2c2e - Removed executor service and all uses from CachedDataSource. 2016-02-06 00:53:43 +07:00
DNx5 ef89ab02b4 Cleanup imports. 2016-02-05 23:27:34 +07:00
DNx5 c9b884624d - Make cache RemovalListener sync (no longer use executor).
- Fix #433
2016-02-05 23:26:46 +07:00
DNx5 05aec0f4fe - Removed code for waiting Bukkit tasks to complete. 2016-02-05 23:18:35 +07:00
DNx5 726861a2a1 Set PlayerJoinEvent listener priority to lowest. 2016-01-23 19:31:02 +07:00
DNx5 7eeabd68e7 Fix saveAuth method didn't save email. 2016-01-09 06:26:36 +07:00
DNx5 5187ce152a Enabled cachePrepStmts properties. 2016-01-09 06:19:09 +07:00
DNx5 b380893847 Serialize Xenforo hash before put it into table.
- Fix #417
2016-01-09 06:13:47 +07:00
DNx5 642a40724b Used Bukkit API to format color codes. 2016-01-09 05:40:03 +07:00
DNx5 fa31fd92b8 Fix #417 2016-01-07 14:14:08 +07:00
DNx5 fab13c586f Remove skip test for Xenforo hash. 2016-01-07 07:41:09 +07:00
DNx5 d6ab7d5da8 Ask player to change email if email already added. 2016-01-07 07:24:26 +07:00
DNx5 2c13783c6c Created test for XFBCRYPT. 2016-01-07 07:12:30 +07:00
DNx5 6855fb93fc Fix #416 2016-01-07 06:47:45 +07:00
DNx5 da5de58afb Rename XF class into XFBCRYPT. 2016-01-07 06:15:39 +07:00
DNx5 781a005c25 Merge remote-tracking branch 'origin/137-xenforo-support' into 137-xenforo-support
Conflicts:
	src/main/java/fr/xephi/authme/security/crypts/BCRYPT.java
2016-01-07 05:43:49 +07:00
DNx5 e0c3affa33 Merge branch 'master' into 137-xenforo-support
Conflicts:
	src/main/java/fr/xephi/authme/datasource/CacheDataSource.java
	src/main/java/fr/xephi/authme/datasource/DataSource.java
	src/main/java/fr/xephi/authme/datasource/SQLite.java
	src/main/java/fr/xephi/authme/security/crypts/BCRYPT.java
2016-01-06 12:15:27 +07:00
DNx5 2081fd7e34 Removed AuthMeServerStop shutdown hook.
- Players now will be kicked if AuthMe was disabled.
 - Fix #413
2016-01-06 10:24:46 +07:00
DNx5 44d35154aa Register permissions properly in "plugin.yml".
so permissions manager plugin can read what available permissions for AuthMe
2016-01-06 10:02:32 +07:00
DNx5 fd73ce1562 Attempt to Fix permissions wildcard problem. 2016-01-05 07:21:24 +07:00
DNx5 627db6b9cf Attempt to Fix #407 2016-01-05 06:33:43 +07:00
DNx5 6d7d856ebe Wait executor to complete the submitted task before shutting down
* Fix #403
2016-01-04 05:04:52 +07:00
DNx5 fe31b5cabb I forgot to remove the old check. 2016-01-03 09:38:30 +07:00
DNx5 774b7513c9 Attempt to update player's IP on login if they have default IP in database. 2016-01-03 09:34:46 +07:00
DNx5 4161dcaa94 Fix SingleSession check order. 2016-01-03 09:34:44 +07:00
DNx5 052e414ff3 Moved VeryGames IP check into AsyncJoin process.
- Updated VeryGames IP check method.
- Remove player's IP from realIp map on quit.
2016-01-03 09:34:41 +07:00
DNx5 4ea6cc9d69 Fix player name case check. 2016-01-03 09:34:38 +07:00
DNx5 6cae520604 Use Guava's Files.toString API to read the email file. 2016-01-02 06:24:44 +07:00
DNx5 266c979319 Use Bukkit API to extract "email.html" from plugin file. 2016-01-02 06:24:42 +07:00
DNx5 0c305a6287 Added new updatePassword method in DataSource class 2015-12-31 12:55:34 +07:00
DNx5 9eeb510b08 Messing up the test. 2015-12-31 12:20:48 +07:00
DNx5 bd5d341e67 Xenforo support.
- Added getPassword method in DataSource and all implementations.
2015-12-31 11:05:18 +07:00
DNx5 7383242599 Attempt to fix #339 2015-12-13 23:07:58 +07:00
DNx5 21c136fbdf Lost my changes. 2015-12-12 21:04:57 +07:00
DNx5 f90efe4ec0 Merge branch 'db-improve'
Conflicts:
	src/main/java/fr/xephi/authme/datasource/CacheDataSource.java
2015-12-12 20:58:06 +07:00