ljacqu
15f49dcbb3
Merge branch 'global-replacements'
2018-03-10 16:59:56 +01:00
ljacqu
1a53cd11b2
#829 Move CommandSender / name to first argument to avoid confusion with varargs
...
- Overloaded method with (String, String...) as args was problematic as it could be confusing on its own and also confusing with the (CommandSender, String...) flavor
2018-03-10 16:58:30 +01:00
Maxetto
bc4cb5046d
Fix yet another build
2018-03-07 19:29:24 +01:00
HexelDev
11d039c818
space after 'if'(s)
2018-03-05 20:20:25 +01:00
Maxetto
00de15016a
Follow remarks
...
#1509
2018-03-05 19:38:24 +01:00
HexelDev
57809194f3
Renaming function hasValidSessionData -> fetchSessionStatus
2018-03-04 19:45:05 +01:00
HexelDev
be2c6ae116
Fixing tests
2018-03-04 19:23:08 +01:00
HexelDev
9db38a3bf4
SessionService#hasValidSessionData description update
2018-03-04 18:38:46 +01:00
HexelDev
5abc9b9d45
'session expired' message spam fix
2018-03-04 18:36:21 +01:00
ljacqu
329657bd5f
#1497 Show specific message for invalid YAML files ( #1506 )
...
* #1497 Throw dedicated exception for invalid YAML files and handle it on startup
- Wrap SnakeYAML exceptions when loading config.yml and commands.yml on startup into own exception type
- Handle exception type on startup with specific error message
* #1497 Fix inaccurate JavaDoc comment
2018-02-23 23:31:22 +01:00
ljacqu
7864bb06ac
Minor cleanups
...
- Fix line length violations
- Add JavaDoc to some longer methods
- Remove unused imports
2018-02-23 23:23:24 +01:00
ljacqu
9dd4039fdd
#1467 Create backup before migrating; output newly added message keys
...
- Extract logic for creating a backup timestamp into FileUtils
2018-02-13 22:15:03 +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
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
Gabriele C
610fed3c7b
Fix codestyle, add test
2017-11-29 08:38:34 +01:00
Gabriele C
c7c8e673f0
#1423 Implement CMI spawn integration
2017-11-28 12:57:39 +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
7d6c61258b
Fix #1401 bungeecord message sent even if disabled
2017-11-04 10:17:52 +01:00
Gabriele C
80f9ec88b8
fix javadoc syntax
2017-11-03 21:29:13 +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
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
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
a425eacf2d
#792 Add missing tests / fix CodeClimate issues
2017-10-20 17:49:30 +02:00
ljacqu
90073ef95d
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 792-registration-date-and-ip
...
Conflicts:
src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java
src/main/java/fr/xephi/authme/datasource/Columns.java
src/main/java/fr/xephi/authme/datasource/SQLite.java
src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
src/main/java/fr/xephi/authme/service/SessionService.java
src/main/java/fr/xephi/authme/settings/properties/DatabaseSettings.java
src/test/java/fr/xephi/authme/service/SessionServiceTest.java
src/test/resources/fr/xephi/authme/datasource/sql-initialize.sql
2017-10-15 23:45:41 +02:00
Gabriele C
22e95493de
#1031 Introduce hasSession field in datasource ( #1351 )
...
* Introduce hasSession field in datasource
That makes isLogged more consistent as it will be '1' only when the player is online.
* Fixes
* Fix unit testing
* Update config doc
* Create SessionService
* Create test for SessionService, avoid DB operations if sessions are disabled
* Cleanup: remove outdated warning for session timeout = 0
- Remove outdated warning
- Encapsulate session enabled check in SessionService
* Fix failing SessionServiceTest, add data source integration tests for session methods
2017-10-15 18:32:51 +02:00
ljacqu
7afda20288
#1338 Implement ''/authme messages help' to generate a fully complete help text file ( #1349 )
2017-10-09 07:19:38 +02:00
sgdc3
32f8e354df
Should fix issues like #1336 and #592
...
The #592 fix will be effective only on 1.9+ servers
2017-09-27 14:41:23 +02:00
Gabriele C
9e28700acf
Attempt to fix #592
...
Should teleport the player before chunks/world are sent to the player
2017-09-03 02:43:34 +02:00
Gabriele C
b96ae61697
Remove some old plugin hooks, update dependencies
2017-08-31 11:47:55 +02:00
HexelDev
a973dc3f6d
Implement restricted users rules with * wildcard support (Enhancement #1278 and #1227 ) ( #1297 )
2017-07-25 21:39:31 +02:00
Gabriele C
cd4693eedf
GeoIP: ignore local addresses
2017-07-07 20:41:10 +02:00
Gabriele C
cd4766e0a1
Add regex support to restricted users ip addresses #1227
...
Seems to work: https://regex101.com/r/zSp6Ke/1
@ljacqu What do you think?
2017-07-03 01:43:56 +02:00
ljacqu
1f8307c8f6
Fix minor checkstyle issues
...
- Add JavaDoc where checkstyle expects it
- Fix line too long issues
- ...
2017-05-07 11:59:01 +02:00
ljacqu
e0e4cd112d
#761 Restore permission group in sync with limbo players
...
- Couple AuthGroupHandler closer to the LimboService: whenever a limbo player is restored, the auth group should be restored as well. This fixes some consistency issues.
- Move AuthGroupHandler into limbo package and make it package-private
- Change permission handler to skip any empty groups (prevents odd command output e.g. for BukkitPermissions)
2017-04-29 22:37:34 +02:00
ljacqu
578f63b944
#923 Create /authme purgeplayer command
...
- Create command to purge a specific player name
- Update docs
2017-04-29 18:31:37 +02:00
ljacqu
d65556d893
#857 Create event for failed authentication
2017-04-29 14:46:06 +02:00
ljacqu
b7c35cb3a7
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into explicit-getters-from-db
2017-04-29 08:19:30 +02:00
ljacqu
0e923b6a70
#1180 Create command for performing a backup
2017-04-23 20:23:40 +02:00
ljacqu
e56a3c0ab6
#815 Save yaw & pitch for last login in SQL data sources
2017-04-22 13:30:03 +02:00
ljacqu
b0c05afaa7
Create util method to check if email is empty
...
- Create method to check if email is empty or the default AuthMe email (avoids repetition)
- Check that input email has '@' inside text (relates to #1105 )
2017-04-18 21:24:33 +02:00
Gabriele C
e775e415f2
Incrase connectPlayer delay #1133
2017-03-31 21:47:30 +02:00
Gabriele C
9381d024cd
Schedule connectPlayer action
...
Thanks to @Dimatert9
2017-03-31 20:27:04 +02:00