ljacqu
363e85e363
Set up logger at start of initialization to avoid NPE on errors later on
...
- Thanks to sgdc3 for the hint
2019-08-11 11:32:03 +02:00
ljacqu
647ee245e0
#1874 Format debug messages in log, use Java 8 date formatter
...
- Format debug messages properly in the authme.log as well
- Replace DateFormat with Java 8's DateTimeFormatter (which is thread-safe)
2019-08-10 22:44:57 +02:00
ljacqu
f268f7cd65
Fix verifyMessages tool task not finding English messages for todo comments
2019-08-10 22:34:45 +02:00
Gabriele C
48357831cd
Revert "Packet based movement freeze ( #1879 )" ( #1882 )
...
This reverts commit db3acce70c
.
2019-08-07 10:49:23 +02:00
Gabriele C
db3acce70c
Packet based movement freeze ( #1879 )
...
* Remove unused files
* Remove walk/fly speed from limbo player
* Implement packet based movement freeze
2019-08-07 06:47:00 +02:00
Hex3l
fadda43d13
Improves spawn choice if undefined ( #1880 )
...
* Improves spawn choice if undefined #1700
* Just a missing line <.<
* Moves the checks into the "default" case
2019-08-07 01:01:55 +02:00
ljacqu
d87fa860e6
Add test for UuidUtils
2019-08-06 19:42:06 +02:00
ljacqu
c34f00f759
#1874 Introduce individual ConsoleLogger instance per class ( #1875 )
...
* #1874 Introduce individual ConsoleLogger instance per class
- Create ConsoleLoggerFactory from which a separate logger can be created for each class
- Allows to support individual log level settings in the future
* Fix CodeStyle issue
* Replace full class name with import
* Update usages after merge from master
2019-08-06 15:15:16 +02:00
Alexandre Vanhecke
254d4d75a2
Add optional column for players uuids ( #1840 )
2019-08-06 15:13:13 +02:00
ljacqu
ae68667f5e
Add Maven profile to skip Javadoc generation for local builds ( #1878 )
...
* #1877 Add Maven profile to skip Javadoc generation for local builds
* Make it nicer
2019-08-06 01:12:01 +02:00
ljacqu
7bede2528f
#1523 Create admin commands to handle players' 2FA data ( #1876 )
...
* #1523 Create admin commands to handle players' 2FA data
- Create admin command to view if a player has enabled 2FA
- Create admin command to disable 2FA for a specified player
2019-08-05 19:31:59 +02:00
ljacqu
f0d3d085c6
#1574 Use server name in 2FA QR code link instead of IP
2019-08-02 15:38:13 +02:00
ljacqu
c00109074a
Minor: create dummy string of specific length with better method
2019-08-02 15:29:06 +02:00
ljacqu
210a4f61cb
#1219 Make 2FA tokens one-use only ( #1848 )
...
- Make TotpAuthenticator keep track of the used codes and reject any known ones
2019-07-06 18:26:43 +02:00
Pronin Egor
ae1b0c4cac
Update messages_ru.yml ( #1843 )
2019-06-24 20:08:38 +02:00
ljacqu
fc06558687
Minor: change bukkit service to return a plain collection of Player
...
- List is read-only and can be easily "upcast" to Collection<Player>
- Remove awkward hack that was needed for mocking the method previously (issues with generics)
2019-06-22 23:50:06 +02:00
ljacqu
81cf14fbc1
#1752 #1830 Do not hide inventory if player is not registered
2019-06-22 23:30:56 +02:00
ljacqu
4be130b71b
Fix #1493 Extract handling of message file paths to a separate class with constants
2019-06-22 22:37:32 +02:00
ljacqu
ff2f43bdc5
#1743 Stop mobs from targetting players when not authenticated
2019-06-22 20:54:01 +02:00
ljacqu
d1b6161687
Minor: print stack trace if AuthMe is disabled due to exception, remove unused imports
2019-06-17 22:47:15 +02:00
ljacqu
6903e058d5
Undo star imports
2019-06-17 22:02:10 +02:00
ljacqu
e9cd16aaac
Undo star imports
2019-06-17 21:58:25 +02:00
Gabriele C
951c648311
Update to 1.14.2
2019-06-04 10:44:47 +02:00
Gabriele C
ce4bb43dee
Remove bPermissions support
2019-05-02 10:42:24 +02:00
ljacqu
7f1894c5be
Remove no longer needed method in test class
2019-04-27 12:46:39 +02:00
Gabriele C
59c69de63d
Fix 1.8 - 1.13 compatibility
2019-04-24 17:22:42 +02:00
Gabriele C
5b97841699
Add 1.14 compatibility
2019-04-23 17:18:42 +02:00
ljacqu
53b8442309
Add Serbian to translation doc, rename from "rs" to "sr", fix percentage bar images
2019-04-14 11:10:07 +02:00
Srđan Cokić
b897f7c25f
Translation to Serbian (RS) ( #1792 )
...
* Create messages_rs.yml
* Create help_rs.yml
2019-04-13 17:30:27 +02:00
Alexandre Vanhecke
44cb787577
Add an option to disable MySQL server certificate check - Fix #1735
2019-04-05 22:31:47 +02:00
ljacqu
c856191659
Update to ConfigMe 1.1.0
...
- Squash of PR #1764
2019-03-01 20:22:38 +01:00
lifehome
ffb957ff19
Fix a typo ( #1763 )
2019-02-28 12:27:39 +01:00
Gabriele C
a347b4a9bb
Remove sponsor message
2019-01-12 14:03:02 +01:00
Gabriele C
bdbb7d79fd
Specify licensing in about command
2019-01-12 12:17:08 +01:00
Madis
fdded6be9f
Minor fixes for Estonian ( #1724 )
...
Informal _you_, untranslated word, typo fix
2019-01-09 02:28:35 +01:00
Gabriele C
98efa35183
Happy new year!
2019-01-01 03:52:25 +01:00
Kristjan Krušič
696bcc7ba6
Update the copyright year to 2018 just in time. ( #1721 )
...
We can't just skip from 2017 to 2019.
2019-01-01 03:50:41 +01:00
games647
2f7672b489
Hide the inventory for online players on reload (Related #1709 )
2018-12-25 16:58:03 +01:00
ljacqu
75e1e5ce51
#1707 Make column context thread-safe
2018-12-17 20:42:43 +01:00
ljacqu
c27a8d359c
Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded
2018-12-04 19:52:12 +01:00
ljacqu
136b9e4b6e
Close #1317 Remove migration of lastlogin column from timestamp to bigint
2018-12-04 19:51:11 +01:00
ljacqu
bce1110b13
Minor: check returned permission system type in permission handler test
2018-12-04 19:48:46 +01:00
Twonox
a1ae03f9cf
Update messages_fr.yml ( #1701 )
...
* Update messages_fr.yml
* Update messages_fr.yml
* Update messages_fr.yml
* Update messages_fr.yml
2018-12-04 19:46:48 +01:00
ljacqu
e84be5e4de
#1702 Consider that Vault permission handler may return null for permission groups
2018-12-04 19:45:46 +01:00
ljacqu
80647c04f4
Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded
2018-12-04 19:05:14 +01:00
ljacqu
f431325516
#1650 Fix users with capitals not having their session saved
2018-12-04 19:04:25 +01:00
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
24804d3f12
Better server version warning message
2018-11-30 15:20:13 +01:00
Gabriele C
04a835a282
Check server version on startup
2018-11-30 15:17:54 +01:00
Gabriele C
d89f8e0e66
Fix build
2018-11-30 14:47:08 +01:00
Gabriele C
92493e826c
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded
2018-11-30 14:20:29 +01:00
tzerber
3cb40a2c93
Updated Bulgarian translation ( #1697 )
...
* Added Bulgarian translation
* Updated Bulgarian Translation
* Add files via upload
* fixed repo messup from the fork
* Updated Bulgarian translation
2018-11-30 13:59:55 +01:00
tzerber
f6d0589e8f
Updated Bulgarian translation ( #1695 )
...
* Added Bulgarian translation
* Updated Bulgarian Translation
2018-11-30 12:45:22 +01:00
Gabriele C
c11e4b9f15
Remove 1.7 support
2018-11-30 09:23:30 +01:00
Gabriele C
fdcbb3334e
Abort initialization if AuthMeBridge is enabled.
2018-11-21 13:15:21 +01:00
Spectre
d2f7686c2c
Korean translation ( #1681 )
2018-11-11 14:04:47 +01:00
lifehome
512d9e5e5b
Fix Chinese font issue ( #1680 )
...
* Fixed rendering bug and color code consistency
* I screwed the time.
2018-11-08 18:08:57 +01:00
lifehome
81d07f82ef
New strings and fixes for zhHK translation ( #1677 )
...
* Grammar + punctuation fix
I actually done this like months ago, but forgot to commit it tho. 😐 FML
* 2FA strings translated
* Email verification strings translated
2018-11-08 08:27:25 +01:00
Rainer
5e187f585e
Updated Estonian translation files ( #1678 )
...
* Updated Estonian translation files
* Minor fixes
Fixed the link in messages_et.yml and translated the bottom part of help_et.yml
2018-11-04 23:44:43 +01:00
Aleksandr 'kidi' Mayer
6b9d1d2422
Updated Russian messages up to 29.10.18 ( #1673 )
2018-10-29 23:38:20 +01:00
Gabriele C
3e1d217973
Fix gson dependency
2018-10-23 16:56:49 +02:00
Gabriele C
d2373ed73f
Fix unit test
2018-10-23 16:12:00 +02:00
tomasloksa
6177698943
Fix gammar ( #1669 )
2018-10-20 21:24:23 +02:00
Alexandre Vanhecke
0b0e8d71b7
Implements whitelist for inventories interactions ( #1657 )
2018-10-10 02:35:35 +02:00
montlikadani
1d6729425f
Do not create a welcome.txt file when boolean is false ( #1633 )
...
* Update WelcomeMessageConfiguration.java
* Update WelcomeMessageConfiguration.java
* Fix compile error
2018-10-09 02:21:21 +02:00
Eufranio
6c62888377
Update brazilian localization ( #1648 )
2018-10-02 17:39:10 +02:00
gemerfoxy
033b214ca6
Improved translations ( #1643 )
...
Some word has been corrected to proper Indonesian language
2018-09-19 15:31:30 +02:00
Gabriele C
84a65344c7
Fix unit test
2018-09-19 00:32:42 +02:00
Gabriele C
7f91b739f2
Maven cleaup
2018-09-17 22:55:36 +02:00
Gabriele C
09c3e7bf22
Drop deprecated v2 API
2018-09-17 20:21:09 +02:00
Gabriele C
f7024d5382
Fix #1625
2018-09-17 20:16:05 +02:00
EdPlaysMC
f9e94a4121
Update messages_zhcn.yml ( #1642 )
2018-09-16 10:29:15 +02:00
EdPlaysMC
16f5b25256
Translated TODO ( #1641 )
2018-09-16 10:21:01 +02:00
Gabriele C
2324835064
Fix test
2018-09-13 09:04:32 +02:00
Gabriele C
867ac87f1c
Bungee: send OP players by default
2018-09-12 13:04:56 +02:00
ljacqu
5ac34d5987
Merge branch '1449-commands-with-delay'
2018-09-11 22:11:49 +02:00
ljacqu
22c08c9fc3
#1449 Fix copying of Commands, add tests with command delay
2018-09-11 22:04:27 +02:00
ljacqu
db2094efc1
Merge remote-tracking branch 'origin/master' into patch-15
...
Conflicts: messages_es.yml
2018-09-09 20:32:58 +02:00
ljacqu
035c2f352a
#1449 Update commands.yml and make getter/setter in sync for new delay property
2018-09-09 15:53:39 +02:00
ljacqu
b7f0159618
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into delay-commands-event
2018-09-09 15:49:12 +02:00
ljacqu
44763a055f
Fix VerificationCommandTest sometimes failing
...
- Need to set up ConsoleLogger to avoid NPE, didn't always happen because if all tests are run in a batch another test will initialize it
2018-09-09 15:47:52 +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
montlikadani
6676a39447
Updated hungarian locale files to the latest version ( #1632 )
...
* Update help_hu.yml
* Update messages_hu.yml
2018-09-09 15:42:18 +02:00
ljacqu
b22f26822b
#1627 Replace BCryptService with Maven dependency ( #1629 )
...
* #1627 Replace BCryptService with Maven dependency
- Remove BCryptService in favor of a better BCrypt implementation (Maven dependency)
- Introduce BCryptHasher wrapping the dependency with more suitable methods
- Fix inaccurate details about salt length in docu annotation: for BCrypt it's always 22 chars
- Change phpBB hash to produce 2y hashes instead of 2a
* #1627 Use UTF-8 encoding when (dis)assembling Strings
* #1627 Small test additions
2018-09-03 23:13:48 +02:00
Alan Gomes
d39562d624
Create permission to bypass bungeecord server teleportation ( #1626 )
2018-09-02 13:01:04 +02:00
Alan Gomes
4be174f083
Add PostgreSQL support ( #1620 )
...
* Add PostgreSQL support
* Fix code issues and create integration tests
* Fix identation
* Test Postgres data source in postgres integration test
* Relocated the postgres driver
2018-09-02 12:12:35 +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
22623aac85
Fix unit test
2018-08-26 19:23:15 +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
iStrqfingRD
bbcc9d5fcc
Update messages_es.yml ( #1608 )
2018-07-28 21:10:42 +02:00
DNx
f0cd775d7c
Pass the ip check into player join event
...
if AuthMe still cannot get the ip address.
2018-07-22 13:03:58 +07:00
RatchetCinemaESP
65ca3c10a4
Update messages_es.yml
...
Translated TWO_FACTOR messages.
2018-07-19 21:48:00 +02:00
Melih Budak
8c88136812
Update messages_tr.yml ( #1604 )
...
Fixed a very small wrong. And it was checked again.
2018-07-19 21:14:11 +02:00
Melih Budak
f00bf2e8b5
Update message_tr.yml ( #1603 )
2018-07-19 09:41:58 +02:00
ljacqu
c420255ad7
Merge pull request #1547 from AuthMe/ip-check
...
[Discussion] Skip IP check for API registration
2018-07-16 19:24:14 +02:00
Gabriele C
b1c322c60c
Add #1591 debug code ( #1599 )
2018-07-16 14:49:35 +02:00
Gabriele C
38711a9913
1.13 compatible
2018-07-16 13:57:14 +02:00
Gabriele C
1a1ba31bf1
Merge branch 'master' into ip-check
2018-07-16 13:35:03 +02:00
DNx
6a219c3fc4
this one not get committed
2018-07-08 02:26:50 +07:00
DNx
1fd4f0e1a7
Improve previous commit
2018-07-08 02:24:58 +07:00
DNx
b741c0da14
Command with 0 delay should be run immediately
2018-07-07 23:39:59 +07:00
DNx
2e5fdb4ca0
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into delay-commands-event
2018-07-07 21:03:16 +07:00
DNx
1d118afd17
Fix #1587
...
AsyncPlayerPreLoginEvent#getAddress() sometimes return null if it unresolved.
In that case we should pass it to PlayerLoginEvent to do the join verification process.
2018-07-07 20:54:38 +07:00
Pavel Leshchev
4c640fddd9
Add come translations ( #1596 )
2018-07-04 02:05:51 +02:00
games647
0227cb3f74
Add IPv6 support for isLocal checks ( #1592 )
...
* Add IPv6 support for isLocal checks
* Replace magic values like 127.0.0.1 and use our utility
* Support for IPv6 local adresses in IPv6 only or dual stack environments
* Loopback [::1]
* Site-Local fc00::/7
* Link-local fe80::/10
* Introduce extra method for loopback addresses
* Use public IP for passMaxLogin check
* Use non-local IP addresses in test after change in verification
2018-07-04 02:05:17 +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
fecd79fd28
Merge pull request #1577 from AuthMe/1417-chat-before-login-with-permission
...
#1417 Add permission node to allow chat before login
2018-05-22 19:51:15 +02:00
ljacqu
b9943675ba
#1557 Disallow player from using /email setpassword more than once
2018-05-21 13:29:34 +02:00
ljacqu
768ef9179a
Update datasource columns version
...
- Fixes #1551 Bad closing of resources in case of an exception
- Facilitates initialization of SQL handler implementation
2018-05-21 13:07:13 +02:00
ljacqu
68b896cfc3
Move salt column configuration to the other column configs
2018-05-21 09:10:27 +02:00
ljacqu
c4b02d74b7
Fix generic type in PlayerAuth matcher
2018-05-21 09:01:00 +02:00
ljacqu
6142042996
#1417 Add permission node to allow chat before login
2018-05-21 08:45:18 +02:00
ljacqu
8e4288f911
Minor code householding
2018-05-20 13:10:26 +02:00
RikoDEV
80dce1a92f
Update messages_pl.yml ( #1571 )
...
* Update messages_pl.yml
2018-05-14 21:08:20 +02:00
Maxetto
3c0caf2ac3
[Messages_IT] Add 2FA messages
2018-05-14 00:53:46 +02:00
rafael59r2
54feb1097e
Update messages_pt.yml ( #1570 )
2018-05-13 22:56:25 +02:00
ljacqu
c96e28f726
Add debug logging for teleports (relates to #1521 )
2018-05-13 22:52:41 +02:00
ljacqu
b5c028301b
Merge master into '1141-optional-additional-2fa-auth'
2018-05-13 18:54:19 +02:00
ljacqu
729c567dd5
#1141 Check that user is logged in before changing TOTP key
...
- Use PlayerCache to check that user is logged in where appropriate
- Add log statements
2018-05-13 18:49:40 +02:00
rafael59r2
4f9a869a46
Translation messages_pt.yml ( #1569 )
2018-05-13 15:15:01 +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
1e3ed795c1
#1141 2FA implementation fixes
...
- Merge TotpService into TotpAuthenticator
- Add missing tests
- Migrate old 2fa enabled key to new one
2018-05-01 22:49:07 +02:00
ljacqu
d55b4bb3b5
#1561 Fix timing attacks by comparing hashes in constant time ( #1563 )
...
* #1561 Fix timing attacks by comparing hashes in constant time
* #1561 Fix timing attacks in phpBB fallback hashes
- As noted by @games647
2018-04-22 21:27:38 +02:00
ljacqu
ecdcaf2479
Fix failing tests
2018-04-22 13:26:51 +02:00
ljacqu
cff456c285
Help message updater: specify the name of the updated file
2018-04-22 12:51:41 +02:00
ljacqu
ecaffbabfc
Small cleanups / changes amassed over time
...
- Small javadoc fixes
- Simplifications
- Move logException method from StringUtils to ExceptionUtils
2018-04-22 12:45:34 +02:00
ljacqu
29ac3a7022
#1141 Fixes to TOTP implementation
...
- Revert back to SHA1 as HMAC hash function so that it works with Google authenticator
- Add message to user to tell him to run /2fa confirm to add a TOTP code
2018-04-22 11:13:27 +02:00
ljacqu
de0e588cf3
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
2018-04-22 07:14:05 +02:00
Gabriele C
baec034909
#1555 Add RegisterEvent and AuthMeAsyncPreRegisterEvent ( #1559 )
...
* #1555 Add RegisterEvent and AuthMeAsyncPreRegisterEvent
* Add missing javadoc
2018-04-21 13:02:14 +02:00
RikoDEV
5194f76f39
Update of the Polish translation by RikoDEV ( #1560 )
2018-04-21 02:24:27 +02:00
Gabriele C
d533f8e19c
Fix unit testing
...
whoops
2018-04-19 12:09:07 +02:00
Gabriele C
6e16abc34e
Don't purge users if unable to load permission data
2018-04-19 11:45:21 +02:00
Maxetto
71826db23d
Update messages_it.yml
2018-04-13 19:34:29 +02:00
RatchetCinemaESP
b56133fe8f
Update messages_es.yml ( #1553 )
...
Translated lines:
- 83
- 103
- 104
2018-04-12 15:58:28 +02:00
Tony
1f9bf38755
Added EmailChangedEvent ( #1549 )
...
* Added EmailChangedEvent
* Fix failing tests
Silly.
* Documented the EmailChangedEvent
* Separate messages for cancelled email event
* Added lang todos for all the languages I can't speak
I wish I could though.
* Checkstyle satisfaction
* Changed log level to info for cancelled events
2018-04-03 17:45:27 +02:00
ljacqu
9326094d9c
#1141 Fix review remarks by @games647
...
- Use SHA512 to generate keys instead of default SHA1
- Declare google authenticator dependency as optional and add relocation rule
2018-04-03 00:13:53 +02:00
ljacqu
2bf78dd186
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
2018-04-02 23:44:19 +02:00
ljacqu
106dea1611
Minor: fix JavaDoc warnings
2018-04-02 23:43:52 +02:00
ljacqu
fc54c0311b
#1539 Columns handler: finishing touches
...
- Add relocation rule for shading of the library
- Fix SQLite connection not being refreshed on reload
2018-04-02 23:19:13 +02:00
ljacqu
ad9e6dbb6d
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1539-datasource-columns-integration
2018-04-02 22:33:26 +02:00