Gnat008
ac4add9f54
add ability to tempban users after x wrong logins - ref #520 #192
2016-06-12 13:40:34 -04:00
ljacqu
d6e1fd5ceb
Use injection in and for LimboCache, migrate some legacy settings, remove setGroup from Utils
...
- New injector method allows to retrieve services if they've already been instantiated -> useful for onDisable() which might be run after aborted initialization
- Deprecate various methods that need to be removed
2016-06-12 16:14:34 +02:00
ljacqu
68d5145cd7
#729 Refactor spawn handling into separate service (work in progress)
2016-06-12 12:46:03 +02:00
ljacqu
12703d1613
#601 Integrate plugin manager
...
- Encapsulate captcha functionality into a class instead of two public fields on the AuthMe main class(!)
- Let CaptchaManager worry about whether it is enabled or not -> no need to check on the outside
- Implement full reloading support to enable/disable captchas + parameters
- Add unit tests
2016-06-03 22:47:17 +02:00
Gabriele C
6c0dec887a
try to fix javadoc
2016-06-03 00:27:06 +02:00
Gabriele C
eafb3b6653
cleanup
2016-06-03 00:07:25 +02:00
ljacqu
38db2ef0bd
Minor code householding
...
- Add removed property to migration service
- Log exception with appropriate logger method
2016-06-01 23:24:48 +02:00
ljacqu
0977558924
#736 Remove use of service getters and deprecate them
2016-05-31 11:14:03 +02:00
ljacqu
f5b4071abf
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into playerjoin-listener-cleanup
2016-05-30 17:53:42 +02:00
Gabriele C
8a0655e333
Merge pull request #134 from Gnat008/602-create-lowercase-string-list-propertytype
...
Add a lowercase String list property - fixes #602
2016-05-30 17:53:14 +02:00
EbonJaguar
f94f4643cf
Add a lowercase String list property - fixes #602
2016-05-30 11:08:01 -04:00
ljacqu
9b1ee86b2f
Trivial code householding
...
- Replace `if (!x) ... else ...` with `if(x) ... else ...`
- Avoid throwing RuntimeException; use children
2016-05-30 12:18:55 +02:00
Gabriele C
52c0c7dd64
playerlistener cleanup
2016-05-29 16:34:03 +02:00
ljacqu
25f5fdb45c
Code householding (PlayerListener / Settings)
...
- Use field on PlayerListener for storing nickname pattern -> repeatedly parsing pattern is expensive
- Remove unused legacy setting fields
- ForceFlatToSqlite cannot be run from converter command -> remove Converter interface to create more natural method signatures
2016-05-28 22:04:55 +02:00
ljacqu
b48e080324
Minor code householding
...
- Fix Javadoc errors reported during Jenkins build
- Use Guava methods in NewSetting where possible
2016-05-28 07:56:26 +02:00
ljacqu
6341d00df0
Code householding - remove legacy settings and TODO messages
...
- Remove fields in legacy settings that are now unused
- Remove various irrelevant todo messages
- Reduce visibility on some elements
2016-05-24 18:59:01 +02:00
Xephi
37b6a2f96f
Enable antibot automatically and check for bot into AsyncPreLogin #719
2016-05-23 10:03:10 +02:00
Gabriele C
6af65e6cd4
Fix wrong logic (my fault)
2016-05-20 22:02:26 +02:00
ljacqu
e04f7dc711
#704 Implement reloading via injector
...
- Create interfaces Reloadable and SettingsDependent to recognize reloadable classes
- Iterate through instances in injector to reload
2016-05-12 19:51:10 +02:00
ljacqu
223f56425b
#699 Unit test that config.yml values correspond to property defaults
...
- Create unit test
- Correct offending values
2016-05-09 21:15:11 +02:00
ljacqu
b728b297b8
#256 Add migration for moved properties
2016-05-08 22:30:53 +02:00
ljacqu
23317caa46
Merge pull request #125 from AuthMe-Team/432-dependency-injection
...
432 dependency injection
2016-05-03 18:54:35 +02:00
NoChanceSD
0ea95fb93c
Simplify force spawn location settings by grouping them
...
Also, seems to work fine. Closes https://github.com/Xephi/AuthMeReloaded/issues/256
2016-05-03 16:36:05 +01:00
ljacqu
e6dacd6951
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 432-dependency-injection
2016-04-30 12:17:33 +02:00
ljacqu
b32e5da4c5
#611 Admin unregister forces player to register even for optional registration
...
- Make /authme unregister behave the same way as /unregister for optional registration: user is informed but can continue playing; no teleportation to spawn
2016-04-30 09:30:52 +02:00
ljacqu
077cb242f0
#550 Show welcome message only after login
...
- Never send welcome message just after registration (with no subsequent login)
- Always run force command options upon registration
2016-04-29 21:16:42 +02:00
ljacqu
02079f1f5c
#432 Create custom dependency injector
2016-04-27 22:49:20 +02:00
ljacqu
59d3bc95c0
Move getOnlinePlayers() from Utils to BukkitService; delete Wrapper
2016-04-23 15:24:41 +02:00
ljacqu
a78e0408c6
#449 Remove use of legacy settings in encryption methods
2016-04-23 12:46:30 +02:00
ljacqu
0dab887848
Code householding
...
- Various migrations from legacy settings to new settings
- PlayerListener: use shouldCancelEvent() to see if chat should be canceled
- Merge permission manager listener with general server listener
2016-04-23 00:18:03 +02:00
ljacqu
1182b58b99
Player listener - migrate legacy setting use to new settings
2016-04-22 21:55:25 +02:00
Gabriele C
4040cd9ba6
#658 Add hide_chat setting
2016-04-15 21:50:32 +02:00
ljacqu
3674ac087c
Code householding + settings migration
...
- Migrate and remove unused properties in legacy Settings
- Add forgotten space in Register command
- Fix javadoc errors shown on Jenkins
2016-04-15 15:17:58 +02:00
ljacqu
ca0cbe6caf
Code householding
...
- Move console initialization for tests into TestHelper
- Remove unused properties in legacy Settings
- Add issue number to TODO comments where applicable
2016-04-14 12:28:19 +02:00
Gabriele C
0cda9a7698
cleanup
2016-04-08 14:44:18 +02:00
Gabriele C
ee177e8a3a
Remove the IPManager
...
We don't need it anymore
2016-04-08 14:34:21 +02:00
ljacqu
9ea75c502c
#567 Move email validation logic to validation service
2016-04-03 20:44:13 +02:00
ljacqu
b6ccb3e632
#567 Add/change email should be aware of account threshold
2016-04-03 14:24:12 +02:00
Gabriele C
88e517635c
wtf was that xD
2016-04-03 13:03:16 +02:00
ljacqu
ba217a2595
Fix disable collisions setting
2016-04-03 07:26:23 +02:00
Gabriele C
5a8ba7d462
fix wrong property in config.yml
2016-04-03 01:23:38 +02:00
ljacqu
4f86604699
Check valid password via service
...
- Create validation service; fixes same code being duplicated in four places
- Goal is to remove Utils class, by moving methods to validation service or other services
- Remove unused properties in legacy settings
2016-04-02 22:44:20 +02:00
Gabriele C
de89244e0e
#630 Disable collisions for unlogged players
2016-04-01 18:21:05 +02:00
Gabriele C
997c31a03e
Cleanup warnings
2016-04-01 17:02:57 +02:00
ljacqu
55c24b8e64
Test AntiBot + SwitchAntiBotCommand
2016-03-24 22:11:40 +01:00
ljacqu
453f61233c
Fix unit tests for settings by providing custom setting migration services
...
- Allow to provide custom plugin folder to test constructor
- #603 test all NewSetting methods
2016-03-16 20:57:41 +01:00
ljacqu
aef18a894a
Move PropertyType functionality into Property class
2016-03-16 19:07:00 +01:00
ljacqu
89767b120c
#603 Pass settings migration service as constructor parameter (work in progress)
2016-03-14 23:18:16 +01:00
ljacqu
ef980bd654
#603 Delete CustomConfiguration class
2016-03-14 20:45:46 +01:00
ljacqu
3522a5b0c0
#603 Various setting improvements
...
- Pass PropertyMap to settings class from the outside
- Fix tests not being reentrant due to real file writes
- Improve Node (internal tree for PropertyMap) interface
- Add code coverage for private constructors
2016-03-14 20:32:32 +01:00