ljacqu
1eaf321575
#1467 Try to clean up abstract message file handler hierarchy
...
- Move some handling with the default file configuration down to the help message file handler since it is the only one with such a behavior now
2018-01-25 21:48:48 +01:00
ljacqu
820e443b81
#1467 Implement messages file migration
...
- Create messages updater called when a messages YML file is loaded
- Work in progress
- Does not yet include changes to any message keys
2018-01-24 22:19:25 +01:00
ljacqu
6f2c586441
Test initialization of permission handlers in PermissionManager
2018-01-21 22:11:47 +01:00
ljacqu
610a699c95
Refactor message handlers into injectable components (preparation for #1467 )
2018-01-21 20:47:29 +01:00
ljacqu
847991b658
#1474 Don't log /email changepassword command (exposes password)
2018-01-21 19:06:51 +01:00
ljacqu
761ee2f05b
#1035 Migrate other accounts config from config.yml to commands.yml
2018-01-21 18:58:20 +01:00
ljacqu
fe4ea6d22b
Remove migration of commands from config.yml to commands.yml
...
- Migration was shipped with the 5.2 release and is now becoming harder to maintain; since it's quite old we drop it
2018-01-17 21:42:17 +01:00
ljacqu
7f77f30439
Minor: Fix forgotten param documentation in JavaDoc
2018-01-16 20:40:21 +01:00
ljacqu
f19f8502d8
#1035 Forced commands: add more tests, rename account constraints, update commands.yml comments
2018-01-16 20:32:17 +01:00
ljacqu
3c0236e15e
#1035 Fix handling of new login command constraints
...
- Incorporate ConfigMe fix
- Various fixes in the integration
2018-01-15 22:39:29 +01:00
ljacqu
8dbba1dc93
#1035 Add optional constraints to onLogin and onFirstLogin commands for number of alt accounts
...
- Extend Command to add specific constraints
- Currently doesn't work because of missing ConfigMe support
2018-01-14 12:23:04 +01:00
ljacqu
d9c1af4311
#1454 Run other accounts command in sync mode
2018-01-08 23:08:37 +01:00
ljacqu
a29738e2a8
#1460 Fix null handling in recent players command
...
- Last login might be null
2018-01-06 20:26:07 +01:00
ljacqu
ea87075cd2
#930 Add specific message for register captcha success
2018-01-06 20:01:45 +01:00
ljacqu
23c246748a
#930 Register captcha: avoid circular dependency by handling limbo message in captcha command
...
- Set limbo message in captcha command (as is done for login captcha)
- Add clarifying comments to captcha command
- Remove classes handling circular dependencies
2018-01-06 19:04:03 +01:00
ljacqu
84b376d2a5
#930 Change captcha storage to change code internally upon failure
...
- Within CaptchaStorage#checkCode, a player's captcha code is overridden with a new one on failure or cleared on success
- Fixes inconsistencies in the retrieval / regeneration of codes
2018-01-06 02:31:26 +01:00
ljacqu
180bbbf0be
#930 Refactor captcha managers to have a crude captcha storage class instead of inheritance
...
- Remove abstract captcha manager in favor of a primitive captcha code storage (composition over inheritance)
- Supply player when checking captcha code for further usage (fixes open point from previous commit)
2018-01-05 01:26:25 +01:00
ljacqu
0494886518
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 930-captcha-for-register
2018-01-05 00:17:39 +01:00
ljacqu
7cf3f6d77b
#930 Registration captcha: update message shown to player on failed captcha
...
- Show message with new captcha code when a captcha has failed
- Requires implementation of circular dependency handler (initial draft)
2018-01-05 00:17:22 +01:00
Maxetto
0a7e57b6a7
Improve security of Console and Log files ( #1461 )
...
* Finally kill removePassword option
* Cleanup
* Cleanup
* Cleanup
* Cleanup
* Final Cleanup
* Fix compile warning
* Revert "Cleanup"
2017-12-27 13:05:06 +01:00
ljacqu
c8d82a23e0
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 930-captcha-for-register
2017-12-22 21:54:58 +01:00
ljacqu
8bae71e1bd
#1435 Send password recovery emails in async
2017-12-21 21:54:23 +01:00
Gabriele C
779c4a2b33
Fix build
2017-12-19 10:53:07 +01:00
Adam Harrison
6f52449d49
Deprecate getLastLogin, replace with java 8 getLastLoginTime
...
(Resolves #1421 )
2017-12-17 11:42:25 +01:00
Gabriele C
26a69297ce
Disable the automatic poolSize option
...
it creates more issues than benefits
2017-12-13 23:13:28 +01:00
Thibaut DAVID
2d77f54695
Add new hash method ( #1446 )
...
Add new hash method for a CMS : http://craftmywebsite.fr/
2017-12-07 19:58:19 +01:00
Gabriele C
8fd402add3
#1442 Don't send bungee messages if the plugin is disabled
...
+ fix unit test on windows env
2017-12-05 00:30:08 +01:00
ljacqu
1a60036592
#930 Extract common captcha functionality into abstract superclass
...
- Create AbstractCaptchaManager
- Add tests
2017-12-01 23:40:20 +01:00
ljacqu
33904c09e9
#930 Create registration captcha manager
...
- Introduce registration captcha manager, rename login captcha manager accordingly
- Integrate reg. captcha manager into /register command
Open points:
- Refactor common captcha functionality into abstract superclass
- If captcha before /register necessary, show appropriate message to player immediately
- Unit tests
2017-12-01 21:12:35 +01:00
ljacqu
67a6a42dfe
Minor Javadoc fix: one "yet" is enough :)
2017-12-01 20:33:33 +01:00
ljacqu
058ac22462
Update docs
2017-12-01 19:16:49 +01:00
ljacqu
c784fc7f2e
#1423 Fix ignored review remarks
2017-11-29 19:43:35 +01:00
Gabriele C
81db4168e4
Merge pull request #1428 from AuthMe/1423-cmi-support
...
#1423 Implement CMI spawn integration
2017-11-29 08:44:09 +01:00
Gabriele C
610fed3c7b
Fix codestyle, add test
2017-11-29 08:38:34 +01:00
Gabriele C
7235a3b860
Merge pull request #1430 from AuthMe/1046-onFirstLogin-in-commandsYml
...
#1046 Add onFirstLogin to commands.yml
2017-11-29 01:11:25 +01:00
ljacqu
f1c1848985
#1046 Add onFirstLogin to commands.yml
...
- Allow to configure commands run on player's first login (login of player with a previously null lastlogin date)
2017-11-28 21:41:30 +01:00
ljacqu
50dbbb8d87
#1254 Create command to see recently logged in players
...
- Create datasource method to fetch most recent players by last login date
- Add command to view last logged in players
2017-11-28 21:07:10 +01:00
Gabriele C
c7c8e673f0
#1423 Implement CMI spawn integration
2017-11-28 12:57:39 +01:00
ljacqu
7932c1bf90
Update to injector 1.0
...
- Includes Factory and SingletonStore so our custom implementation is removed
2017-11-25 21:27:18 +01:00
ljacqu
4717dc148c
#1413 Don't run onUnregister command in async
2017-11-21 23:48:15 +01:00
sgdc3
3ca97f5d30
#1418 Cleanup
2017-11-20 13:15:20 +01:00
Dimatert9
0e0d8dff3d
Do not use Bukkit#sendPluginMessage
2017-11-20 13:56:05 +02:00
Gabriele C
2f019dbb0e
Fix connectPlayerOnLogin
...
#1412
2017-11-15 18:07:55 +01:00
Gabriele C
b7c3d4b42e
Implement AuthMeBungee autologin ( #1402 )
...
* Implement AuthMeBungee autologin
There is a failing test due to cyclic dependency injection, @ljacqu could you take a quick look at this?
* Try to fix recursive dependency injection
* Fix codestyle
* Fix the subchannel name, again...
* Split BungeeService into BungeeSender and BungeeReceiver
2017-11-09 11:19:24 +01:00
Gabriele C
7e079d0b9c
Whoops... fix the listening messaging subchannel name
2017-11-06 08:00:20 +01:00
ljacqu
c693901330
Merge branch '1400-phpbb-hash' of https://github.com/AuthMe/AuthMeReloaded
2017-11-04 11:32:44 +01:00
ljacqu
5c40cb3b73
Insert null email as DEFAULT so column default may take effect
...
Ugly implementation to fit into AuthMe 5.4. If email on PlayerAuth is null, do not supply NULL as the email value but use DEFAULT instead so that the default value is used if present in the column configuration.
2017-11-04 11:29:21 +01:00
ljacqu
7d6c61258b
Fix #1401 bungeecord message sent even if disabled
2017-11-04 10:17:52 +01:00
ljacqu
80ab41ae5a
#1400 Sync AuthMe's phpBB hash implementation with phpBB3's
...
- phpBB3 seems to favor using BCrypt $2y$ now
- Keep unsalted MD5 and phpass salted MD5 comparisons for backwards compatibility
2017-11-04 09:58:51 +01:00
Gabriele C
80f9ec88b8
fix javadoc syntax
2017-11-03 21:29:13 +01:00