Commit Graph

3531 Commits

Author SHA1 Message Date
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
Twonox
1f898b05b6
Update messages_fr.yml 2017-11-27 18:04:13 +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
86a07771d7 Open 5.5 development iteration 2017-11-25 14:41:23 +01:00
Gabriele C
350321c80b
Bump version to 5.4.0 release candidate 1
Change version format.
2017-11-24 09:45:29 +01:00
ljacqu
6365926cf0 Fix test in AntiBotServiceTest 2017-11-23 20:06:21 +01:00
ljacqu
53f7bf155f Fix wrong check in CodeClimateConfigTest 2017-11-23 18:13:17 +01:00
ljacqu
1053440b15 Refactor util for setting BukkitService mock behavior
- Move helper methods for setting BukkitService mock behavior into their own class
- Change methods to use Mockito's answer instead of verification + argument capture -> calling the methods now belongs to the test setup (given clause) and allows the behavior to take effect more than once
2017-11-22 00:24:11 +01:00
ljacqu
4717dc148c #1413 Don't run onUnregister command in async 2017-11-21 23:48:15 +01:00
Jacek Maciejak
f6423f5072 Update of Polish translation file. (#1420)
* Update of Polish translation file.

Translated: # Verification code
Updated: email > e-mail

* Update messages_pl.yml
2017-11-21 20:59:36 +01:00
sgdc3
3ca97f5d30 #1418 Cleanup 2017-11-20 13:15:20 +01:00
Gabriele C
f23b8933ac
Merge pull request #1419 from Dimatert9/master
Do not use Bukkit#sendPluginMessage
2017-11-20 13:08:14 +01:00
Dimatert9
0e0d8dff3d Do not use Bukkit#sendPluginMessage 2017-11-20 13:56:05 +02:00
Gabriele C
ce490304ea Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded 2017-11-15 18:08:01 +01:00
Gabriele C
2f019dbb0e Fix connectPlayerOnLogin
#1412
2017-11-15 18:07:55 +01:00
Gabriele C
a2430299b8
Merge pull request #1409 from Playhi/patch-8
Update messages_zhcn.yml
2017-11-15 17:57:25 +01:00
Playhi
b70e994341
Update messages_zhcn.yml
Add '
2017-11-15 23:03:19 +08:00
Gabriele C
c110d27298
Merge pull request #1410 from MineSAT/patch-12
Translate Email Verification messages.
2017-11-12 18:17:33 +01:00
RatchetCinemaESP
3e31bcc2a1
Translate Email Verification messages.
Translated to Spanish
2017-11-12 17:07:48 +01:00
Playhi
19745f7052
Update messages_zhcn.yml 2017-11-12 20:58:12 +08: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
Gabriele C
cb8b2cbbad
Merge pull request #1396 from AuthMe/1350-optional-async-register-checks
#1350 Add option to force using the sync PlayerLoginEvent
2017-11-02 11:04:05 +01:00
Gabriele C
b307a5d7c2
Merge pull request #1381 from lifehome/patch-2
Initial commit for help_zhhk.yml
2017-11-02 10:59:45 +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
b687c68d46 Create test for HelpTranslationGenerator 2017-10-28 19:36:35 +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
d40109929c Fix describeHashAlgos tool task
- Handle case when Argon2 library is not loaded
- Account for hash algorithms with `null` as associated impl. class
2017-10-28 13:40:06 +02:00