Gabriele C
427251a4f3
Actually support 1.8 servers
2018-12-02 00:28:14 +01:00
Gabriele C
650a97647a
Drop FlatFile storage converter
...
It's time...
2018-11-30 15:29:30 +01:00
Gabriele C
c11e4b9f15
Remove 1.7 support
2018-11-30 09:23:30 +01:00
Gabriele C
f7024d5382
Fix #1625
2018-09-17 20:16:05 +02:00
ljacqu
ee764c0a6e
Update configme ( #1631 )
...
* Upgrade to ConfigMe 1.0.1
* Use ConfigMe reader whenever possible, minor simplifications
2018-09-09 15:45:00 +02:00
ljacqu
f79c364f84
Minor fixes as reported by CodeClimate
2018-09-01 09:17:42 +02:00
ljacqu
58e04556ee
Checkstyle: Add 'WhitespaceAfter' check, fix some violations
2018-09-01 08:38:14 +02:00
Gabriele C
e2e2c6bb79
Inform only online servers
2018-08-30 12:39:01 +02:00
Gabriele C
91063ce199
Actually check if datasource is cached
2018-08-30 12:18:19 +02:00
Gabriele C
75e7a11d0d
Change how messaging actually works, support broadcast messages
2018-08-30 11:47:25 +02:00
Gabriele C
e0d8caa95b
Add debug message for #1622
2018-08-27 15:04:37 +02:00
Gabriele C
da7e7edc37
Fix messaging [WIP] ( #1614 )
...
* Fix messaging [WIP]
* Make codeclimate happy
* Codeclimate, pls
* got it, i hope
* Improvements
* Remove duplicated checks, other improvements, make login/logout broadcasts
* Optimize project imports
* Make codeclimate happy again
2018-08-26 15:29:47 +02:00
Gabriele C
adb3c06f51
Fix #1617
...
Dinstinct invalid countries ("--") from localhost addresses ("LOCALHOST"), allow localhost access by default.
2018-08-22 16:56:14 +02:00
games647
0a3b66bc7d
Start a reading instance after downloading (Related #1581 )
2018-06-03 13:34:51 +02:00
games647
135e323358
Set the downloading flag in order to mark it as successful (Related #1581 )
2018-06-03 09:47:52 +02:00
games647
f39141ed53
Fix race condition starting multiple database downloads (Related #1581 )
2018-06-02 21:50:43 +02:00
games647
5058747b10
Download database only if there is a newer one uploaded ( Fixes #1581 )
2018-06-02 21:50:02 +02:00
ljacqu
b9943675ba
#1557 Disallow player from using /email setpassword more than once
2018-05-21 13:29:34 +02:00
ljacqu
c96e28f726
Add debug logging for teleports (relates to #1521 )
2018-05-13 22:52:41 +02:00
ljacqu
6f2f7a73af
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
2018-05-01 22:49:23 +02:00
ljacqu
cff456c285
Help message updater: specify the name of the updated file
2018-04-22 12:51:41 +02:00
ljacqu
f66a8a5b06
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
...
# Conflicts:
# src/main/java/fr/xephi/authme/permission/PlayerPermission.java
# src/main/java/fr/xephi/authme/service/BukkitService.java
2018-03-20 23:07:25 +01:00
ljacqu
a1a909c01d
#1531 Move spigot detection to BukkitService ( #1534 )
2018-03-19 23:08:48 +01:00
ljacqu
af6bee59bd
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
...
# Conflicts:
# src/main/java/fr/xephi/authme/datasource/MySQL.java
2018-03-19 22:32:16 +01:00
Gabriele C
8ee44e495b
Decrease delay for connectPlayerOnLogin #1504
2018-03-19 17:30:53 +01:00
games647
f33446ee25
Migrate to GEO IP 2 (Related #1471 ) ( #1529 )
...
* Migrate to GEO IP 2, because support will drop in April
* Change all links of maxmind to https
* Update maxmind database dependency and add javatar to extract
the database from the tar archive
(now only a small difference in jar file size -> ~80KB smaller)
* Verify downloaded archive using MD5 (There are no other checksums available)
* Migrate to Java NIO instead of old java file I/O (Feedback?)
* Internal Optional usage for nullable values (Feedback?)
Minor:
* Schedule a Bukkit async task instead of creating a thread manually
* Validate ip input string
* Extract validation into single method
* Close all resources safely using try-resources
* More https links
* Add documentation
* Set the same last modification as in the tar archive
* Fix tests
* Comment how the legacy API responded to unknown entries
* Document missing function param
* Document our maxmind dependency modifications
* Include time unit into constant
* More logging for downloading the database
* Add missing return if the database cannot be found
* Delete temporarily file after working with it
2018-03-17 03:00:24 +01:00
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
ljacqu
c3cf9e3ee0
#1141 Rough version of TOTP commands to add and remove a code for a player
2018-03-07 20:11:53 +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