Commit Graph

3785 Commits

Author SHA1 Message Date
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
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
games647 b69767c705 Upgrade jacoco dependency to fix Java 10 compatibilty and CircleCI tests 2018-05-01 13:39:19 +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 65ad91372e Fix JDK 10 surefire plugin, use batch mode in circleci 2018-04-19 12:32:50 +02:00
Gabriele C 8722a3dbab Improve circle configuration file 2018-04-19 12:29:30 +02:00
Gabriele C 65a1438c47 Fix circleci config format 2018-04-19 12:19:59 +02:00
Gabriele C bebff1c0c8 Actually provide a config to circleci
Epic fail xD
2018-04-19 12:17:08 +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
Gabriele C ba4ed7bdd9 Update Mockito 2018-04-19 11:10:02 +02:00
Gabriele C 5cc58da85f Update HikariCP 2018-04-19 11:02:20 +02:00
Gabriele C 156260c7a9 Remove duplicated relocation pattern 2018-04-19 10:51:00 +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
games647 80538b4bb2 Force english language during unit testing
Fixes #1536
2018-04-05 15:19:03 +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
RikoDEV 68329a8761 Update messages_pl.yml (#1548) 2018-03-30 16:01:22 +02:00
games647 ee41d92216 Skip IP check for API registration 2018-03-29 14:08:33 +02:00
Gabriele C f752b9d7a7 [CI-SKIP] Fix jenkins url in pom 2018-03-26 21:50:56 +02:00