65 Commits

Author SHA1 Message Date
DNx5
da5de58afb Rename XF class into XFBCRYPT. 2016-01-07 06:15:39 +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
ljacqu
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
2015-12-31 00:36:08 +01:00
ljacqu
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
2015-12-30 21:36:07 +01:00
ljacqu
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
2015-12-30 18:28:06 +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
ljacqu
1c12278c4b #369 Remove XENFORO enum entry 2015-12-28 22:39:15 +01:00
DNx5
efcdca4087 Use Guava cache for caching PlayerAuth object. 2015-12-12 20:16:56 +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
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
82bf0f45ca Finalized some fields, removed redundant code, various other fixes 2015-11-23 22:14:03 +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
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
56aca7f473 this is enough. 2015-11-03 07:37:00 +07: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
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
c82aaa303d cleanup MySQL code. 2015-09-15 15:40:19 +07:00
DNx5
3620b712b7 improve DatabaseCalls, 2015-09-15 14:38:55 +07:00
Gabriele C.
c485a58036 Update MySQL.java 2015-09-12 11:53:30 +02:00
Gabriele C
d4cf739081 Fix hikari 2015-09-10 19:56:33 +02:00
Gabriele C
c1d56d5ee5 Fix hikari for mysql and sqlite 2015-09-08 17:33:52 +02:00
Gabriele C.
e2b3c51cab Update MySQL.java 2015-09-08 16:49:47 +02:00
DNx5
5a9c6278b6 Merge branch 'master' of git://github.com/AuthMe-Team/AuthMeReloaded into AuthMe-Team-master
Conflicts:
	src/main/java/fr/xephi/authme/datasource/MySQL.java
2015-09-07 20:49:10 +07:00
Gabriele C
84b5dcc625 Cleanup 2015-09-07 14:05:50 +02:00
DNx5
200ff01cd9 never return null, just throw exception. 2015-09-06 22:24:23 +07:00
Gabriele C
3926faeb35 Fix Hikari timeouts 2015-09-06 13:51:35 +02:00
Gabriele C
63889c030a fix conflict 2015-08-28 23:21:22 +02:00
Xephi59
3bcaa3f12b Change to minimum lifeTime 2015-08-28 00:16:49 +02:00
Gabriele C
568784a8e1 test new mysql (not working yet) 2015-08-26 22:52:23 +01:00
Gabriele C
fd063b17e2 fix conflict 2015-08-26 22:43:07 +01:00
Xephi59
fa6e048c21 Fix DriverClassName not properly set 2015-08-26 18:55:33 +02:00
Gabriele C.
c61568e900 Merge pull request #33 from Xephi/master
Up
2015-08-22 16:35:07 +02:00