Commit Graph

2343 Commits

Author SHA1 Message Date
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 c079692f1d Minor - code householding (tests)
- Remove redundant uses of WrapperMock
- Use assertThat() from JUnit, not hamcrest
- Use hamcrest Matchers everywhere (not BaseMatchers etc.)
- Favor Mockito's argThat() over using ArgumentCaptor (more succinct)
- Delete useless test classes
2016-04-03 07:38:13 +02:00
ljacqu ba217a2595 Fix disable collisions setting 2016-04-03 07:26:23 +02:00
Gabriele C c46c1251d9 fix wrong property in config.yml 2016-04-03 01:28:14 +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
Ivan Ip 0ff8430bf2 Fixed some typo, also updated zh_TW 2016-04-02 01:23:09 +08:00
Ivan Ip c010a371d4 Fix placeholder and string sortings. 2016-04-02 01:11:19 +08:00
Ivan Ip 3a3ea4d228 First repairing commit to fix Chinese Lingual. 2016-04-02 01:06:21 +08: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
DNx5 46a10da40f Fix test 2016-04-01 13:47:35 +07:00
DNx5 c63b9786f8 IpAddressManager should work with BungeeCord too. 2016-04-01 13:28:00 +07:00
DNx5 ff17e4ca6b Minor improvement. 2016-04-01 13:05:26 +07:00
DNx5 f7408c3e14 Improve AutoPurge feature, #627 2016-04-01 11:32:13 +07:00
DNx5 cb995a99a6 Fix Sqlite backend didn't remove old accounts. 2016-04-01 08:45:31 +07:00
DNx5 79eb0248f8 Run auto purge task asynchronously.
* prevent blocking server startup.
2016-04-01 08:33:11 +07:00
DNx 6f8b970c5c Update Log4JFilter.java 2016-03-31 20:20:11 +07:00
DNx 2c995168e3 this one, for sure. 2016-03-31 19:49:52 +07:00
DNx b8336e31a6 Fix test. 2016-03-31 19:45:11 +07:00
DNx5 0fc15b8105 Fix removePassword option not working on KCauldron. 2016-03-31 19:16:05 +07:00
DNx5 8819f26c29 Fix #632
- Fix permissions manager is not initialized when constructing antibot instance.
2016-03-31 15:30:38 +07:00
ljacqu 95f5951587 Change message file consistency test to show all errors 2016-03-29 19:08:38 +02:00
ljacqu 55c24b8e64 Test AntiBot + SwitchAntiBotCommand 2016-03-24 22:11:40 +01:00
ljacqu 351b24fd14 Change AntiBot from static to instance
- Convert static methods in AntiBot
- Create BukkitService for operations requiring calls to static methods on the Bukkit class
2016-03-24 20:58:51 +01:00
ljacqu 20ad253926 #547 Add javadoc + unit tests for ProcessService 2016-03-21 20:06:49 +01:00
games647 bea43b3140 Fix possible race condition on login processing
(Fixes Xephi/AuthMeReloaded#619)
2016-03-21 14:40:37 +01:00
Gabriele C 2f850eed08 Disable tablist hider due to issues in 1.9 2016-03-20 13:51:23 +01:00
Gabriele C 19070c220b Blame eclipse warnings 2016-03-17 21:16:13 +01:00
ljacqu 00c8fa3b53 Minor - remove todo comment
- Difference between the tests is actually explained in the other class' javadoc
2016-03-16 21:14:31 +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 4634213d75 #566 Test that all message files are valid YAML 2016-03-14 22:33:20 +01:00
ljacqu 2de3848cc3 #430 Remove PlayerAuth constructors in favor of builder
- Remove various PlayerAuth constructors
- Clean up FlatFile class
- Add some javadoc to PlayerAuth
2016-03-14 21:48:33 +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
ljacqu 374e2ff292 Fix Management initialization 2016-03-13 11:41:19 +01:00
ljacqu 5d12ec8b56 Minor fixes + code householding
- Fix SpawnCommandTest testing FirstSpawnCommand
- Fix javadoc errors
- Map TODO's to issue numbers where applicable
- Fix trivial TODO's
2016-03-13 11:09:27 +01:00
ljacqu 00125487f1 Create tests for admin commands 2016-03-13 10:17:09 +01:00
ljacqu 4d45b18759 Create test for PluginHooks 2016-03-12 18:25:57 +01:00
ljacqu 8293766f98 #421 Create SpawnLoader
- Non-static service class which handles the spawnpoints used in AuthMe
2016-03-12 18:25:38 +01:00
ljacqu 8b27444a49 #421 Create PluginHooks
- PluginHooks manages third-party plugins and allows to perform actions and queries on them, instead of public fields on the AuthMe main class
2016-03-12 18:24:34 +01:00
ljacqu 45fd241517 Update settings in PasswordSecurity upon reload 2016-03-12 08:16:57 +01:00
ljacqu 3d46339a78 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into fix-reload 2016-03-12 07:40:18 +01:00
Tim Vis'ee 44d50b1c59 Created it's own listener for the Permissions Manager 2016-03-11 11:41:41 +01:00
Tim Vis'ee ae9cd626a5 Applied most PermissionsManager patches from original source 2016-03-11 11:33:37 +01:00
Tim Vis'ee 558b3fd997 Added API method to gather the plugin version 2016-03-11 11:25:21 +01: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