51 Commits

Author SHA1 Message Date
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
Xephi
4f76398ce8 #495 - Done 2016-02-05 13:24:38 +01: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
ljacqu
5ec1b67e03 Fix #408 Player quit location is not updated
- Ensure that the cache data source updates the quit location on the actual source
2016-01-04 21:52:39 +01:00
DNx5
6d7d856ebe Wait executor to complete the submitted task before shutting down
* Fix #403
2016-01-04 05:04:52 +07:00
DNx5
0c305a6287 Added new updatePassword method in DataSource class 2015-12-31 12:55:34 +07:00
DNx5
bd5d341e67 Xenforo support.
- Added getPassword method in DataSource and all implementations.
2015-12-31 11:05:18 +07:00
Xephi59
e1a84448a2 Fix the whole Javadoc syntax 2015-12-31 01:06:09 +01:00
ljacqu
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
2015-12-30 17:56:22 +01:00
DNx5
21c136fbdf Lost my changes. 2015-12-12 21:04:57 +07:00
DNx5
973bfd2590 Added cache removal listener.
* Re-add auth object if player is still authenticated
2015-12-12 20:16:59 +07:00
DNx5
efcdca4087 Use Guava cache for caching PlayerAuth object. 2015-12-12 20:16:56 +07:00
DNx5
cd1c861b47 Bungee message update, whatever. 2015-12-11 12:16:29 +07:00
Tim Visée
47b1d00ccf Fixed various spelling and grammar issues 2015-11-23 22:07:32 +01:00
Tim Visée
36c50c4507 Reformatted code with new code style 2015-11-23 21:46:34 +01:00
AuthMe-Team
9ec2d6d059 Stuff from the common floobits workspace
Author:    AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
Gabriele C
bd1f868c6d standard javadoc 2015-11-21 01:31:18 +01:00
Gabriele C
118c79401a Prepare the project for javadocs 2015-11-21 01:27:06 +01:00
Gabriele C
ddda62aa14 cleaup 2015-11-07 00:13:29 +01:00
DNx5
375162ab67 update email commands to use new async process 2015-11-03 14:41:05 +07:00
DNx5
ce432aa25a add exception to datasource method signature. 2015-11-03 12:38:24 +07:00
Gabriele C
5e7c5560cf Cleanup2: The Revenge 2015-11-02 00:09:40 +01:00
Tim Visée
3643afdea3 Moved Utils class to util package 2015-11-01 23:29:47 +01:00
vanhec_a
f722fa161a Add a join blocker in case Cache Loading 2015-10-31 17:34:16 +01:00
Gabriele C
3567fc909d Organize imports 2015-10-09 19:18:24 +02:00
Gabriele C
646eaad2ce cleanup 2015-09-28 21:35:06 +02:00
DNx5
72604bfdea improve cached datasource performance. 2015-09-25 07:20:46 +07:00
DNx5
f975fefd4a run saveAuth async in CacheDataSource 2015-09-15 15:39:45 +07:00
DNx5
3996c8cfca this should not cause lag anymore if database cache is enabled. 2015-09-15 15:03:00 +07:00
DNx5
3620b712b7 improve DatabaseCalls, 2015-09-15 14:38:55 +07:00
DNx5
0b23074770 changed settings load method. 2015-09-14 20:46:56 +07:00
DNx5
7c56dec476 change all usage of getOnlinePlayers 2015-09-14 19:50:32 +07:00
Xephi59
c1ffe47468 update realName 2015-08-03 18:37:42 +02:00
Xephi59
4c2fad3643 Fix LowerCase issue 2015-07-23 16:23:25 +02:00
Xephi59
0fbf57cf1a Don't Wait ! 2015-07-15 18:05:17 +02:00
Xephi59
030e9b599e Dramastically increase performance
Maybe fix low tps :O
2015-06-27 04:19:59 +02:00
Alexandre Vanhecke
b75adf6a98 Update CacheDataSource.java 2015-05-28 22:28:52 +02:00
Xephi
dc3a8c1f06 Change from HashMap to ConcurrentHashMap, need to be available from
other threads !
2015-05-28 18:56:57 +02:00
Xephi
c12643a138 Do not put a null world at respawn 2015-05-04 16:41:50 +02:00
Xephi
db27341832 Thread the cache 2015-05-04 16:07:05 +02:00
Xephi
0e93d502ef Optimize the cache, it will slow the server starting, but will be much
easier to get auths
2015-04-21 16:43:49 +02:00
Xephi
84cf1a6627 Re-ignore case for name, Security issues T.T 2015-04-21 16:22:12 +02:00
Xephi
907d70d60d Fix AuthMe not compiling 2014-08-30 03:28:33 +02:00
Xephi
6cfd3f0a0b Remove Case dependance, auto-update name on join into database (care
forums users!)
2014-08-27 07:03:11 +02:00
Xephi
d7cb60c1fe Replace all '/' in path to File.separator - Code Refactor 2014-08-25 03:12:28 +02:00
Xephi
6a0dc0300f Add a message to prevent lower performance with File 2014-08-19 06:24:53 +02:00
Xephi
afc1ea9111 Code Refactor - Whitespace Refactor 2014-08-08 23:14:56 +02:00
Xephi
b659d8968e Update 3.3.4
//Changes 3.3.4://
* Add an isLogged column in mySQL
* Add a maxLoginPerIp
* Add a maxJoinPerIp
* Add a way to force kick after register
* Add a way to force login after register
* Update session correctly
* Fix Change Email command
* Fix some perm problems
* Fix some problems with email sending
* Remove some dead code
* Add a way to control spawn priority, by default , in order, it is :
authme,essentials,multiverse,default
2014-03-08 00:16:14 +01:00
Xephi
4e7e9e6cb4 Update 3.3.3 2014-02-20 12:54:10 +01:00