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
Gabriele C
6b13f9d370
Fix plugin version in plugin.yml
2016-06-28 22:14:30 +02:00
Gabriele C
cca668a2dd
Merge pull request #142 from AuthMe-Team/random-logout
...
Fix random logout
2016-06-28 22:01:31 +02:00
games647
348e796752
Switch to the new properties settings
2016-06-28 20:47:22 +02:00
DNx5
45d8e24350
- Fix fly speed not get restored after login.
...
- Attempt to fix #592
2016-06-29 00:34:31 +07:00
Gabriele C
ffa92def12
Create ISSUE_TEMPLATE.MD
...
#801
2016-06-28 16:47:58 +02:00
DNx5
145747505f
Use JsonCache correctly, couldn't list all changes.
2016-06-28 21:36:58 +07:00
Gabriele C
451a570c73
Cleanup
2016-06-28 16:17:01 +02:00
Gabriele C
1c5d4d697a
Merge branch 'master' into random-logout
2016-06-28 16:14:19 +02:00
Gabriele C
c383c072ff
Remove my stupid code
2016-06-28 16:12:20 +02:00
games647
837bbd69ac
Remove the debug code as the source for random-logouts is found
2016-06-28 16:09:32 +02:00
games647
469e8d3a48
Refactor sessions a bit to fix #419
2016-06-28 16:03:04 +02:00
Gabriele C
70b57b389e
Cleanup
2016-06-28 14:28:37 +02:00
games647
874869cef8
Fix NPC showing when authenticated ( Fixes #791 )
2016-06-28 12:26:03 +02:00
games647
2f341029a6
Use bukkit's updateInventory method for restoring NBT data
2016-06-28 11:25:24 +02:00
Gnat008
23836cda6a
#604 - Move ProtocolLib adapters to new package and add ProtocolLibService
2016-06-27 15:38:43 -04:00
ljacqu
1361174892
Encapsulate GeoLiteAPI class
2016-06-27 21:32:52 +02:00
Gnat008
1326606f37
#762 - Move all sessions stuff to new SessionManager class
2016-06-27 13:50:16 -04:00
Gnat008
0c96a3113b
Encapsulate fields in main class; see #762 #655 #604
2016-06-27 11:25:12 -04: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
Gabriele C
75f64624bb
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded
2016-06-26 18:18:31 +02:00
Gabriele C
a998354fa2
Project cleanup
2016-06-26 16:19:55 +02:00
ljacqu
d72d6ddf5a
AntiBot - make public field private
2016-06-26 09:25:52 +02:00
ljacqu
df060ff29c
Remove legacy setting + remove obsolete todo comment (wontfix #492 )
...
- Remove migrated legacy setting
- Remove months old todo comment
- Remove large chunk of commented out code and merge two explanations
2016-06-25 01:14:01 +02:00
ljacqu
6812cfa4db
Add utility for safe pattern compiling
2016-06-24 23:50:11 +02:00
ljacqu
54ababdd28
#788 remove duplicate FR message + #772 update missing message comments
2016-06-24 18:59:25 +02:00
Gnat008
74095fec71
Update docs
2016-06-22 17:40:25 -04:00
Gabriele C
44702c4832
Update fr #781
...
Thanks to @Twonox
2016-06-21 21:40:55 +02:00
ljacqu
e7ba579960
#778 Delayed runner: add support for annotations, add validation
...
- Add support for dependencies identified by annotations
- Add some more usage validation
- Change a few test classes to use the DelayedInjectionRunner
2016-06-19 22:54:12 +02:00
ljacqu
4b3ab4b116
#769 Create integration test for service initialization in onEnable()
...
- Test that services can be instantiated (e.g. no circular dependencies)
- Instantiate Messages via injection instead of manually
2016-06-19 21:16:46 +02:00
games647
2bdd2504df
Do not hide the info data from NPCs
2016-06-19 20:47:35 +02:00
ljacqu
1377b10c24
Simplify instantiation of permission handlers
...
- Change permission handler to retrieve the services it needs, instead of getting them from the PermissionsManager
- Reduce visibility of some methods
- Add Reloadable interface
2016-06-19 18:20:12 +02:00
ljacqu
ff2f8a63bb
Fix bugs in purge classes, cleanup
...
- OfflinePlayer objects were never mapped to names
- Essentials purge was run even if setting was disabled
- Console user saw messages twice
- Misc: trivial field reorderings, change DefaultPermission to be null safe
- Permissions: do not expose PermissionHandler just to get its type
2016-06-19 17:56:50 +02:00
ljacqu
a0abe3d19d
Minor householding
...
- Remove getter for NewSetting
- Reduce visibility of classes used by DelayedRunner
2016-06-19 16:13:00 +02:00
ljacqu
d35005167e
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 674-purge-process-refactor
2016-06-19 16:02:08 +02:00
ljacqu
e38c1ea447
Merge branch '777-Fast-Join-Handler' of https://github.com/AuthMe-Team/AuthMeReloaded
2016-06-19 15:51:40 +02:00
Gabriele C
d848a2ad16
Fix #645 #783
2016-06-19 15:14:12 +02:00
games647
03fa0e1fec
Fix disabling tablist adapter on old versions ( Fixes #775 )
2016-06-19 12:40:15 +02:00
Gabriele C
e1d697d386
Fix #780
2016-06-19 11:07:17 +02:00
Gabriele C
12533a90f6
Join/PreLogin event listener changes
2016-06-19 10:40:20 +02:00
ljacqu
fb5e7d40c6
Change delayed injection to only change behavior of its own elements
...
- Introduce new BeforeInjecting annotation to not modify the (expected) order of annotations that do not belong to us
- Avoids using hacky way of first initializing field to an Answer that will delegate on demand to the proper class...
- Remove PostConstruct support for Mockito's InjectMocks: we should not change the established behavior of external elements
2016-06-18 15:31:11 +02:00
ljacqu
a1c62e7c04
Create delayed injection test runner
...
- Test runner supporting new "DelayedInjection" annotation: such fields are only initialized with instantiation right before the first time they're used in tests, allowing to set up mock behavior beforehand
2016-06-18 13:19:07 +02:00
ljacqu
cd1acfde1b
#674 Create tests for purge commands and purge service
2016-06-18 11:13:17 +02:00
DNx5
680427950f
derp
2016-06-18 15:41:05 +07:00
Gnat008
51663703ea
Merge branch 'master' into 674-purge-process-refactor
2016-06-17 20:51:11 -04:00
Gnat008
16e9990723
implement checking permissions of an offline player
2016-06-17 20:49:03 -04:00
Gabriele C
c79857cc14
Add Gnat008 as project author
2016-06-17 02:18:12 +02:00
Gabriele C
ac73d43573
Add Gnat008 to team.txt
2016-06-17 02:17:02 +02:00
ljacqu
3629c51fc1
#674 PurgeService: Always register if purging, reduce code duplication
...
- Rename autoPurging to isPurging: we should always register if a purge task is in progress (regardless if autopurge or not) and deny any new requests
- Reduce the same logic being coded multiple times by calling through the methods
- DataSource: remove purgeBanned in favor of purgeRecords, both do exactly the same thing
2016-06-16 22:52:11 +02:00