ljacqu
3f039d641a
#707 Convert sync processes into services
2016-05-20 19:42:30 +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
ljacqu
dede592c55
#547 add process service to AsyncJoin
2016-02-28 20:03:06 +01:00
ljacqu
7dd1d52893
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 547-process-architecture
...
Conflicts:
src/main/java/fr/xephi/authme/settings/Settings.java
2016-02-28 09:08:35 +01:00
Xephi59
2a8ef88041
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git
2016-02-28 00:36:15 +01:00
Xephi59
e88b4eda53
Add %acc_nb tag to max_reg message - Fix #570
2016-02-28 00:36:06 +01:00
Gabriele C
c61345fd43
cleanup + fix test crypts test on windows systems
2016-02-28 00:32:25 +01:00
ljacqu
d664e7be26
#547 Create ProcessService
...
- Create ProcessService for common tasks within processes
- Integrate service into AsyncAddEmail
2016-02-27 23:15:31 +01:00
ljacqu
e79f325411
#443 Use correct message to ask to add email after login
2016-02-27 12:18:04 +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
4e011f437a
Change message & timeout task to run synchronously.
2016-02-22 22:11:03 +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