Commit Graph

3413 Commits

Author SHA1 Message Date
Alexandre Vanhecke
69754ccec0 Split MySQL into a SQLDataSource abstract class
* Create an abstract class with current MySQL Methods

* Provide a way to init HikariCP DataSource for each classes

* Make MySQL extends correctly this class

* Create PostgreSQL which extends MySQL due to same grammar
2018-01-22 08:55:14 +01:00
Alexandre Vanhecke
9b60c26a1d
Update pom.xml 2018-01-22 00:40:30 +01:00
ljacqu
6f2c586441 Test initialization of permission handlers in PermissionManager 2018-01-21 22:11:47 +01:00
ljacqu
acaaf6fe41 Minor dependency updates
- JaCoCo 0.8.0 brings some interesting exclusions in code coverage, which means we might be able to drop TestHelper#validateHasOnlyPrivateEmptyConstructor soon
2018-01-21 21:01:23 +01:00
ljacqu
847991b658 #1474 Don't log /email changepassword command (exposes password) 2018-01-21 19:06:51 +01:00
ljacqu
761ee2f05b #1035 Migrate other accounts config from config.yml to commands.yml 2018-01-21 18:58:20 +01:00
Gabriele C
456693ea59
Merge pull request #1478 from Playhi/patch-9
Update messages_zhcn.yml
2018-01-20 13:33:58 +01:00
Playhi
ad7a0ffe9b
Update messages_zhcn.yml
theCaptcha
2018-01-20 19:43:51 +08:00
Alexandre Vanhecke
acb8cbe6d7 Update pom.xml with deploy configuration 2018-01-20 03:52:08 +01:00
Alexandre Vanhecke
5e61e5c806
Update pom.xml 2018-01-19 20:30:39 +01:00
Alexandre Vanhecke
b5b03405da
Update pom with maven deploy plugin 2018-01-19 19:58:41 +01:00
Alexandre Vanhecke
4c15979701
Update pom.xml with deployment informations 2018-01-19 19:47:28 +01:00
Playhi
35e9858c30
Update messages_zhcn.yml 2018-01-19 21:27:00 +08:00
ljacqu
1e16f251ef
Merge pull request #1477 from AuthMe/1035-handle-alt-accounts-in-commandsYml
1035 handle alt accounts in commands yml
2018-01-17 21:49:29 +01:00
ljacqu
fe4ea6d22b Remove migration of commands from config.yml to commands.yml
- Migration was shipped with the 5.2 release and is now becoming harder to maintain; since it's quite old we drop it
2018-01-17 21:42:17 +01:00
Gabriele C
cdd14bee18
Merge pull request #1475 from RikoDEV/patch-3
Update messages_pl.yml
2018-01-17 20:30:03 +01:00
Jacek Maciejak
fb989a8955
Update messages_pl.yml 2018-01-17 18:40:27 +01:00
Jacek Maciejak
cc701772f4
Update messages_pl.yml 2018-01-17 18:36:06 +01:00
Jacek Maciejak
045bb1b669
Update messages_pl.yml 2018-01-17 18:33:46 +01:00
ljacqu
7f77f30439 Minor: Fix forgotten param documentation in JavaDoc 2018-01-16 20:40:21 +01:00
ljacqu
f19f8502d8 #1035 Forced commands: add more tests, rename account constraints, update commands.yml comments 2018-01-16 20:32:17 +01:00
ljacqu
3c0236e15e #1035 Fix handling of new login command constraints
- Incorporate ConfigMe fix
- Various fixes in the integration
2018-01-15 22:39:29 +01:00
Gabriele C
45bc9c4c44
Merge pull request #1476 from MineSAT/patch-13
Update messages_es.yml
2018-01-15 18:05:27 +01:00
RatchetCinemaESP
8a44dad548
Fix error in placerholder
<theCaptcha>
2018-01-15 17:45:43 +01:00
RatchetCinemaESP
0bbe109b55
Update messages_es.yml
1. Fix one error in current translation (Line 88)
2. Translated two strings of Captcha. (Line 101 & 102)
2018-01-15 17:13:09 +01:00
Jacek Maciejak
95bbbd9ba0
Update messages_pl.yml 2018-01-15 15:40:49 +01:00
ljacqu
8dbba1dc93 #1035 Add optional constraints to onLogin and onFirstLogin commands for number of alt accounts
- Extend Command to add specific constraints
- Currently doesn't work because of missing ConfigMe support
2018-01-14 12:23:04 +01:00
ljacqu
1cd5a6acce #1472 Add zhtw translation changes by @haer0248 2018-01-14 11:16:23 +01:00
ljacqu
d9c1af4311 #1454 Run other accounts command in sync mode 2018-01-08 23:08:37 +01:00
Twonox
e906a6abfa Update messages_fr.yml (#1469) 2018-01-08 21:20:41 +01:00
ljacqu
a29738e2a8 #1460 Fix null handling in recent players command
- Last login might be null
2018-01-06 20:26:07 +01:00
ljacqu
ea87075cd2 #930 Add specific message for register captcha success 2018-01-06 20:01:45 +01:00
ljacqu
9afd8679e9 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 930-captcha-for-register 2018-01-06 19:04:14 +01:00
ljacqu
23c246748a #930 Register captcha: avoid circular dependency by handling limbo message in captcha command
- Set limbo message in captcha command (as is done for login captcha)
- Add clarifying comments to captcha command
- Remove classes handling circular dependencies
2018-01-06 19:04:03 +01:00
ljacqu
94cf310d5b Minor: fix code climate config test 2018-01-06 18:06:30 +01:00
ljacqu
99ef874327 Update CodeClimate configuration to new structure 2018-01-06 11:48:27 +01:00
ljacqu
84b376d2a5 #930 Change captcha storage to change code internally upon failure
- Within CaptchaStorage#checkCode, a player's captcha code is overridden with a new one on failure or cleared on success
- Fixes inconsistencies in the retrieval / regeneration of codes
2018-01-06 02:31:26 +01:00
ljacqu
180bbbf0be #930 Refactor captcha managers to have a crude captcha storage class instead of inheritance
- Remove abstract captcha manager in favor of a primitive captcha code storage (composition over inheritance)
- Supply player when checking captcha code for further usage (fixes open point from previous commit)
2018-01-05 01:26:25 +01:00
ljacqu
0494886518 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 930-captcha-for-register 2018-01-05 00:17:39 +01:00
ljacqu
7cf3f6d77b #930 Registration captcha: update message shown to player on failed captcha
- Show message with new captcha code when a captcha has failed
- Requires implementation of circular dependency handler (initial draft)
2018-01-05 00:17:22 +01:00
Gabriele C
43e59bfb4e
Update sponsor message 2018-01-04 20:42:25 +01:00
Gabriele C
40768c96bc
Remove versioneye badge 2018-01-04 20:39:55 +01:00
Gabriele C
adfbc759d7
Merge pull request #1463 from KKHaneul/master
Korean Translation
2018-01-04 16:52:53 +01:00
KKHaneul
aea581c367
Update messages_ko.yml 2018-01-04 17:46:25 +09:00
KKHaneul
9918d532a4 Korean Translation #1 2018-01-03 18:17:34 +09:00
Gabriele C
30b9e034bc
Merge pull request #1462 from Maxetto/patch-1
[Messages_IT] Translate new messages
2017-12-27 20:05:32 +01:00
Maxetto
0a7e57b6a7 Improve security of Console and Log files (#1461)
* Finally kill removePassword option

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Final Cleanup

* Fix compile warning

* Revert "Cleanup"
2017-12-27 13:05:06 +01:00
Maxetto
b2b7eaa8e5
[Messages_IT] Translate new messages 2017-12-27 11:28:12 +01:00
ljacqu
c8d82a23e0 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 930-captcha-for-register 2017-12-22 21:54:58 +01:00
Gabriele C
c1f3fcd393
Merge pull request #1458 from AuthMe/1435-send-recovery-email-in-async
#1435 Send password recovery emails in async
2017-12-22 07:41:49 +01:00