ljacqu
2ac89f5938
Apply minor changes to PurgeService
...
- Remove various imports / unused fields
- Make CacheDataSource call source for purging on DB
- Minor: SQLite - place creation of PreparedStatement outside of loop
- Make specific purge actions called from task package-private (clearer from the outside which methods can be called from the outside)
2016-06-16 21:04:12 +02:00
Gnat008
fb8baeafd2
remove database auto purge methods
2016-06-16 12:52:42 -04:00
Gnat008
af1520802d
major refactor of the purging process
2016-06-16 12:28:42 -04:00
Gabriele C
7865d7dc2c
Remove synchronized methods from the Cache (please check)
...
@Xephi @ljacqu @games647
2016-05-23 21:18:31 +02:00
Gabriele C
df2329fd9a
Fix conflict
2016-05-16 16:27:59 +02:00
Xephi59
9db330646e
Try to fix #419
2016-05-15 17:52:54 +02:00
games647
4bad04b160
Add debug statements for finding the source of #419
2016-05-11 16:57:41 +02:00
games647
0bd6ac5cc8
Make the purge progress run more balanced ( Fixes #696 )
2016-05-09 13:09:40 +02:00
ljacqu
b6ccb3e632
#567 Add/change email should be aware of account threshold
2016-04-03 14:24:12 +02:00
ljacqu
dfc713fde6
Reload only specific entities (work in progress)
...
- Remove attempt of reinitializing all components -> will lead to inconsistent states. Call reload on reloadable components instead
2016-03-09 18:39:04 +01:00
ljacqu
98df21d75a
#575 Hotfix for reload support
...
- Create temporary method for reloading any stateful entities -> a lot of duplicated code, to be fixed soon within #432
- Remove unused methods
2016-03-05 22:30:35 +01:00
ljacqu
27b1fa770f
#392 Add datasource integration tests
2016-02-26 22:12:16 +01:00
DNx5
b4aebb685c
Remove player from cache on quit.
2016-02-26 13:10:49 +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
775e2f7039
Async refresh.
2016-02-26 11:37:47 +07:00
DNx5
bebf1cf7d4
Clean cache on close.
2016-02-22 10:13:48 +07:00
ljacqu
e8f518711c
#442 Fix email presence check being case-insensitive
...
- Add integration tests
- Change DataSource interface to return the number of accounts only, since that's all we require
2016-02-21 21:38:29 +01:00
DNx5
cc29d8b628
Fix duplicate entry error, #528
2016-02-20 06:47:59 +07:00
ljacqu
90e0dc1875
Various code householding
...
- Remove unused API on DataSource
- Add some sensible javadoc to DataSource
- Minor code simplification
2016-02-19 23:19:38 +01:00
DNx5
7c1dd888cc
Fix real name update.
2016-02-16 07:14:40 +07:00
ljacqu
db4d4a7cce
#477 Change lastlogin column from bigint to timestamp (work in progress)
...
- Alter column type
- Create migration for MySQL
- Unrelated: move DataSource enum to its own file
2016-02-07 14:27:03 +01:00
ljacqu
b4b679d3b9
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 437-add-email
...
Conflicts:
src/main/java/fr/xephi/authme/datasource/MySQL.java
src/main/java/fr/xephi/authme/datasource/SQLite.java
src/main/java/fr/xephi/authme/process/Management.java
src/main/java/fr/xephi/authme/process/email/AsyncChangeEmail.java
2016-02-06 18:01:23 +01: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
Xephi
4f76398ce8
#495 - Done
2016-02-05 13:24:38 +01:00
ljacqu
b0ba893827
#437 Add/change email should check if email is already used
...
- Untested/incomplete implementation
2016-01-17 20:41:19 +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