Commit Graph

3625 Commits

Author SHA1 Message Date
ljacqu
22c08c9fc3 #1449 Fix copying of Commands, add tests with command delay 2018-09-11 22:04:27 +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
games647
81821b23b3
Ignore manifest signatures for shading
Related #1630 "Invalid Signature digest for Manifest main attributes"
caused by files in BCrypt library.
2018-09-04 19:11:59 +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
Gabriele C
251308c4f4 Update dependencies and plugins 2018-08-17 01:02:04 +02:00
Gabriele C
ed3ea344f4 Update docs 2018-08-02 21:12:50 +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
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
Gabriele C
d4bcec1db4
Test 1.13 build 2018-07-15 04:58:25 +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
ljacqu
fc07ad3df1 Update translations page 2018-06-25 21:54:42 +02:00
Gabriele C
38fd133e82 Update libraries 2018-06-19 18:44:32 +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
Gabriele C
14d3d1ad91 Update dependencies 2018-05-29 00:51:25 +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