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
games647
466fb8cab9
Run explicit non-thread-safe setGameMode sync
2016-05-26 10:52:49 +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
ljacqu
8de1897412
Minor - Use explicit dependencies in ProcessService
...
- Replace AuthMe in favor of PermissionsManager
- Create missing tests for ProcessService
2016-05-24 18:25:38 +02:00
Gabriele C
a7d3e60abe
Remove unused imports
2016-05-24 17:00:23 +02:00
Gabriele C
55cc882002
Remove scheduler methods from the ProcessService
...
@ljacqu it's ok now? ;)
2016-05-24 16:07:03 +02:00
Gabriele C
740b44ca36
cleanup
2016-05-23 23:49:56 +02:00
Gabriele C
da6431b4fc
Suppress injection test warnings
2016-05-23 23:16:40 +02:00
ljacqu
c1885a381b
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 707-process-as-service
...
Conflicts:
src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java
2016-05-20 19:48:41 +02:00
ljacqu
3f039d641a
#707 Convert sync processes into services
2016-05-20 19:42:30 +02:00
Gabriele C
92287cb5dd
Delay the first "please login/register" message on join
2016-05-19 23:18:16 +02:00
ljacqu
4d634086cd
#701 Alternate accounts are shown to all players with their own name
2016-05-19 22:02:15 +02:00
ljacqu
f5c89e897f
#707 Convert async processes as services
...
(work in progress - rough, untested changes)
2016-05-17 19:49:06 +02:00
games647
ee08087871
Fix a couple race conditions ( Fixes #698 and #697 )
2016-05-08 20:44:18 +02:00
Gabriele C
3e6223dc5a
I'm so stupid
2016-05-05 23:01:06 +02:00
Gabriele C
76a1ff29b0
Start working on #423
2016-05-05 19:36:26 +02:00
Gabriele C
7c52460c87
Merge branch 'pre-injector'
2016-05-04 18:03:33 +02:00
Gabriele C
1ea2f98727
Start working on #687
...
Next step: Future return of the async registration
2016-05-04 18:01:47 +02: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
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
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
Gabriele C
ee177e8a3a
Remove the IPManager
...
We don't need it anymore
2016-04-08 14:34:21 +02:00
Gabriele C
68ef28df08
Fix minor issues
2016-04-07 22:51:02 +02:00
Gabriele C
ee3299afd2
Fix startup error #643
2016-04-07 19:10:57 +02:00
games647
48c5dd03bd
Fix restore of tablist hider
2016-04-05 21:22:19 +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
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
DNx5
ff17e4ca6b
Minor improvement.
2016-04-01 13:05:26 +07: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
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
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
Gabriele C
af84ba6fce
Fix max email count #591
2016-03-09 15:00:17 +01:00
ljacqu
654cebd5a7
Minor - rename LimboPlayer methods + code householding
...
- Rename *taskId methods to *task to reflect what they handle
- Remove usages of Wrapper where applicable
- Replace some uses of legacy Settings with NewSetting calls
2016-03-06 15:46:49 +01:00
ljacqu
31bac6964f
Various code householding
...
- Adjust javadoc
- Remove unused PlayerAuth constructor
- Replace legacy Settings with NewSetting calls
- Add process service to all (a)sync processes
- Change IP manager to only cache the calls to the VeryGames API
2016-03-06 14:42:19 +01:00
ljacqu
9a412fac05
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 432-remove-public-ip-map
...
Conflicts:
src/main/java/fr/xephi/authme/process/register/AsyncRegister.java
2016-03-05 16:11:22 +01:00
ljacqu
19adcdcceb
Move managers to the cache package
...
- Not entirely accurate name but not really worth to have a separate package for managers
2016-03-05 16:03:00 +01:00
Gabriele C
c4684fd5f1
Booo we don't like UUIDS! (We need to keep 1.7.X compatibility!)
...
- Removed the useless OtherAccounts class!
2016-03-03 21:42:50 +01:00
Gabriele C
b0d230be60
Forgot about this... #570
2016-03-03 21:17:38 +01:00
Gabriele C
e4d2747fae
Finally fix #570
2016-03-03 21:05:19 +01:00
Gabriele C
681e352bdc
Fix #570 add max_acc and reg_acc placeholders
2016-03-02 17:06:02 +01:00
ljacqu
aeb8307a46
#432 #547 Remove public IP cache map; make processes use ProcessService
...
- Create IP address manager for handling and caching IP addresses -> outside of the manager I do not want to care about caching details
- Make more processes use the ProcessService in favor of statically injected objects
2016-03-01 22:47:28 +01:00