133 Commits

Author SHA1 Message Date
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
a14e3260dc Merge branch 'db-improve'
Conflicts:
	src/main/java/fr/xephi/authme/settings/Settings.java
2015-12-11 21:47:19 +07:00
DNx5
cd1c861b47 Bungee message update, whatever. 2015-12-11 12:16:29 +07:00
DNx5
c196f45854 Change getAccountsRegistered method to use normal Statement.
- Log the stacktrace if something weird happens.
2015-12-06 06:12:45 +07:00
DNx5
45c6bf0a78 Removed DatabaseCalls class.
* this class only contains wrapper of selected datasource type which every method included a code to run the task inside a new Thread. But this class doesn't help improving performance, because it's still running the task synchronously.
2015-12-06 06:08:52 +07:00
Gabriele C
a1f963adf8 update hikari 2015-12-04 13:23:17 +01:00
DNx5
ee3fe45d7f Fix unclosed Statement object. 2015-12-02 06:36:41 +07:00
DNx5
35d73b2d4a Mysql Improvements.
* Contains lot of changes
2015-12-02 06:29:43 +07:00
Tim Visée
09067ddbd1 Removed redundant code, fixed some warnings, other minor fixes 2015-11-23 22:18:04 +01:00
Tim Visée
82bf0f45ca Finalized some fields, removed redundant code, various other fixes 2015-11-23 22:14:03 +01:00
Tim Visée
83e5d726af Improved various code bits 2015-11-23 22:12:01 +01: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
Tim Visée
2e868c7492 Reformatted all code files, cleaned up the project 2015-11-23 21:33:08 +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
d4498521c3 Remove useless hikari sqlite mode 2015-11-08 01:35:13 +01:00
Gabriele C
ddda62aa14 cleaup 2015-11-07 00:13:29 +01:00
Xephi
21ea54d604 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git 2015-11-03 15:23:14 +01:00
Xephi
76fa631184 Disable Hikari Cache definitively 2015-11-03 15:23:02 +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
DNx5
d73ac92ba3 sqlite max connection update. 2015-11-03 07:59:42 +07:00
DNx5
56aca7f473 this is enough. 2015-11-03 07:37:00 +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
92777cd383 cleanup 2015-10-12 18:16:56 +02:00
Gabriele C
9c19f568fd fix conflict 2015-10-12 17:51:05 +02:00
vanhec_a
39ab41f542 Add an option to disable all caching (useful if you use website
registration system)
2015-10-12 15:49:19 +02:00
vanhec_a
3c0e6e06c7 Fix some case when connection is not available 2015-10-12 14:57:56 +02:00
Gabriele C
3567fc909d Organize imports 2015-10-09 19:18:24 +02:00
games647
e9f299fca8 Fix PlayerAuth constructor calls 2015-10-03 18:22:13 +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
Gabriele C
dc35d768aa add max connections setting 2015-09-19 20:20:46 +02:00
DNx5
51067498ea cleanup MySQL throws 2015-09-16 11:36:08 +07:00
Gabriele C
026d84427b General npc support, fixes and enhancements 2015-09-15 16:33:32 +02:00
DNx5
c473e81eb9 same fix for normal sqlite 2015-09-15 16:31:07 +07:00
DNx5
6f22aa779b sqlite fix, load AuthMe faster. 2015-09-15 16:23:56 +07:00
DNx5
c82aaa303d cleanup MySQL code. 2015-09-15 15:40:19 +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
DNx5
981da0a0f3 extract language if available. 2015-09-14 09:26:52 +07:00
Gabriele C
d8c2a25116 Working sqlitehikari! ;D 2015-09-13 12:25:12 +02:00