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
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
Gabriele C
937ae0afaf
Merge pull request #1393 from AuthMe/bungee-messaging-integration
...
Implement bungee messaging, CacheDataSource sync across network
2017-11-03 20:23:14 +01:00
Gabriele C
4206efc791
Merge branch 'bungee-messaging-integration' of https://github.com/AuthMe/AuthMeReloaded into bungee-messaging-integration
2017-11-03 20:02:13 +01:00
ljacqu
c7ba06e2b9
Fix test / use new DataSource method / add space before keywords
2017-11-03 19:57:40 +01:00
Gabriele C
ff53ff1ce6
Codestyle cleanup
2017-11-02 13:00:48 +01:00
Gabriele C
273c318e96
Cleanup
2017-11-02 11:24:17 +01:00
ljacqu
44a7baff9a
#1350 Add option to force using the sync PlayerLoginEvent
...
- Introduce new configuration (taken from @sgdc3)
- Create JoiningPlayer, based on a Player object or String name, determining how permissions will be checked
2017-11-01 21:02:22 +01:00
Gabriele C
6505538240
Fix codestyle issues
2017-10-30 11:54:19 +01:00
Gabriele C
2d2eb740e3
Implement bungee messaging, CacheDataSource sync
2017-10-30 10:38:13 +01:00
Gabriele C
a5542051f4
Add a way to load user's permission data from the permission handler on demand.
...
#1350
2017-10-29 19:35:23 +01:00
games647
316f8fc642
Fix Java 9 support for Pbkdf2Django ( #1390 )
...
* Replace DatatypeConverter in Pbkdf2Django to support Java 9
* Fix NPE in AuthMeInitializer and CastException in Recovery tests
* Set logger for SetPasswordTest to prevent NPE on logging
* Use TestHelper for initializing ConsoleLogger
2017-10-29 12:11:24 +01:00
Gabriele C
d8d87c8b67
Add option to force using the generic Vault permission handler hook
...
Requested in #1350
2017-10-29 11:47:38 +01:00
ljacqu
e3dd719b0e
#792 Migrate last IP column if is NOT NULL without default value ( #1385 )
...
- Move MySQL migrations into a separate class
- Add migration for last IP column to be nullable if it has a not null constraint without a default value
2017-10-29 07:52:11 +01:00
ljacqu
2c6181d150
Add missing tests for API package
2017-10-28 23:15:53 +02:00
ljacqu
8127d70058
Merge pull request #1386 from AuthMe/1367-mysql-notNull-toggle
...
Improve MySQL not null toggle / authme debug commands output
2017-10-28 18:49:23 +02:00
ljacqu
20ca4f9dc9
#1368 Improve the look of /authme debug
...
- Add a colored title for each command execution within /authme debug
- Fit more texts on one line
2017-10-28 17:19:47 +02:00
ljacqu
c6fbc1187f
#1367 MySQL not null changer: List 'not null' and default values separately
...
- Check not only for NOT NULL constraint but also if a column has a default value
- Use suffixes instead of colors only so the command is usable via console
2017-10-28 15:41:16 +02:00
ljacqu
04c5224e99
#1190 Show settings warnings on reload also ( #1384 )
...
- Extract setting checks into their own class, called on startup and reload
2017-10-28 14:15:38 +02:00
ljacqu
fbd8049af5
Minor: Make email check in '/email change' case-insensitive
2017-10-28 13:10:24 +02:00
HexelDev
ba65633182
Email verification code ( #1382 )
...
* Base verification code implementation, must define command, manager, events
* VerificationManager, verification command and messages, handled some sensible commands, configuration values
* Improved manager and sensible commands trigger
* Updated messages
* Updated verification code manager, fixed tests
* Switched to a permission based command
* Verification manager and command improved and added tests
* Edited messages
2017-10-28 12:23:14 +02:00
Gabriele C
39647013b2
Cleanup
2017-10-23 08:36:49 +02:00
Gabriele C
cd85c51fbe
Perform join process only on player join
...
Should fix some issues like #1365
2017-10-23 08:31:06 +02:00
Alexandre Vanhecke
8fe92da119
#1150 - Add Argon2 support
...
- Add argon2 implementation
- Extract argon2 library check to method on Argon 2
- Add link to Wiki page on errors
- Check within Argon2Test if the test cases should be run, not in the abstract parent
2017-10-23 00:10:48 +02:00
ljacqu
b211c97395
Minor: delete PlainText implementation
...
- It never gets used anymore and could cause security issues if we did accidentally use it as EncryptionMethod
2017-10-22 09:27:03 +02:00
ljacqu
d6e2369f36
#792 Force migration of SQLite when necessary ( #1371 )
...
- Detect if a migration is necessary
- Create a backup
- Perform the migration
2017-10-22 09:16:48 +02:00
ljacqu
4e8deec258
Move #isNpc method to PlayerUtils
...
- After dropping our hook to CombatTagPlus it is not relevant for it to be in PluginHooksService anymore
2017-10-21 12:08:23 +02:00
ljacqu
58657f5d3f
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 792-add-registration-date-and-ip
2017-10-21 10:46:17 +02:00
ljacqu
1651a61063
#792 #814 Implement SQLite migration, allow last IP to be nullable in MySQL
...
- Old SQLite setups have the last IP column as NOT NULL but without a default value. With the new concept (where we don't set a last IP on player registration) it fails.
- Create an /authme debug child that allows to migrate SQLite (tricky because SQLite does not support dropping or modifying columns)
- Allow last IP column to be NOT NULL in MySQL as well (extend MySQL /authme debug child)
- Add TODO comments with follow-up issue to extend our commands with new registration IP field
2017-10-21 10:45:48 +02:00