Commit Graph

3718 Commits

Author SHA1 Message Date
Gabriele C
aab5d71efd Update sponsort details 2018-03-19 16:53:11 +01:00
Gabriele C
fed07714b5
Pom cleanup 2018-03-17 03:06:07 +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
HexelDev
7790fa5796 typo 2018-03-15 21:53:27 +01:00
HexelDev
f5efd4bf23 Updating plugin.yml 2018-03-15 21:45:23 +01:00
HexelDev
66d1ee92c3 QuickCommandsProtectionManager Test class 2018-03-15 21:45:11 +01:00
HexelDev
900e8f2415 Updated messages 2018-03-15 21:44:49 +01:00
HexelDev
048a47ce6e Fixing PLayerListener kick message/tests 2018-03-15 21:43:36 +01:00
games647
7ff5801cfe
Revert "Fix no auto login permission (Fixes #118)" Wrong repo
This reverts commit 6d60e72296.
2018-03-15 20:43:50 +01:00
games647
6d60e72296
Fix no auto login permission (Fixes #118) 2018-03-15 20:42:50 +01:00
HexelDev
55b6f67550 JavaDocs 2018-03-15 20:20:40 +01:00
HexelDev
d2fbf12c3c Merge branches '642-kick-on-fast-commands' and 'master' of https://github.com/AuthMe/AuthMeReloaded into 642-kick-on-fast-commands 2018-03-15 19:47:11 +01:00
Gabriele C
914b76ad12
Update dependencies 2018-03-14 00:31:43 +01:00
Gabriele C
c93bfae90c
Try to fix jenkins javadocs archive 2018-03-13 23:58:24 +01:00
Gabriele C
fe538a4341 Revert "[CI-SKIP] Don't generate javadocs and sources by default"
This reverts commit 8a66a92f81.
2018-03-13 22:23:43 +01:00
Gabriele C
18e4be8d5b
[CI-SKIP] Remove Jenkinsfile from main branch 2018-03-13 22:14:55 +01:00
Gabriele C
193e93e30a
Whoops, damn escape character 2018-03-13 12:46:23 +01:00
Gabriele C
d503d2c061
[CI-SKIP] implement pipeline ci-skip 2018-03-13 12:44:54 +01:00
Gabriele C
8a66a92f81
[CI-SKIP] Don't generate javadocs and sources by default 2018-03-13 11:57:08 +01:00
Gabriele C
7f00e87e85
[CI-SKIP] Create Jenkinsfile 2018-03-13 11:42:39 +01:00
ljacqu
fddb3bf265 Fix minor Checkstyle violations
- Mostly missing JavaDoc, some line lengths
2018-03-11 19:08:21 +01:00
Gabriele C
98bd0f7a6b
[ci-skip] Add gemnasium badge 2018-03-11 18:54:45 +01:00
Gabriele C
f391abe2a7
New readme [WIP] (#1526)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-03-11 18:44:52 +01:00
ljacqu
ff0a7e1f89 Fix failing test 2018-03-11 16:34:25 +01:00
Gabriele C
2219906e90
Whoops... 2018-03-11 01:22:02 +01:00
Gabriele C
de6b9cbff0
Add LoC badge 2018-03-11 01:20:29 +01:00
HexelDev
fe4d5e7c0d Saving user join and check on command 2018-03-10 19:13:23 +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
eb9cd31a65 #1141 Split TOTP permissions for add/remove, refactor TOTP services
- Split TotpService further into GenerateTotpService and TotpAuthenticator, which wraps the GoogleAuthenticator impl
- Add missing tests for the services
- Change GenerateTotpService's interface to behave like a collection for more intuitive method behavior
2018-03-10 16:21:53 +01:00
ljacqu
e72d5d5e81 #1141 Require TOTP code to be passed with /login (temporary)
- Temporarily require the TOTP code to be provided with /login
- Future implementation should require it as a second step
2018-03-09 18:37:01 +01:00
Gabriele C
6ddfa3fd2b
[CI-SKIP] Add bStats graph image 2018-03-08 01:24:28 +01:00
Gabriele C
e67255c505
Fix link markdown 2018-03-07 23:45:08 +01:00
Gabriele C
d80a9b27cb Try to fix javadocs generation 2018-03-07 23:41:28 +01:00
Gabriele C
586b98f74f
Update CI and repository links 2018-03-07 23:19:27 +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
7a3e2e9f71 Use spaces instead of tabs 2018-03-07 19:37:20 +01:00
Maxetto
bc4cb5046d Fix yet another build 2018-03-07 19:29:24 +01:00
Maxetto
9b7139a17a Add Display Name tag replacement too
#1509
2018-03-07 19:08:36 +01:00
HexelDev
844bd24221 Fixed minor code issues 2018-03-05 21:00:24 +01:00
HexelDev
c9b2881a28
Merge pull request #1518 from AuthMe/fixing-session-expired-message-spam
Fixing session expired message spam
2018-03-05 20:42:42 +01:00
HexelDev
11d039c818 space after 'if'(s) 2018-03-05 20:20:25 +01:00
ljacqu
9954c82cb6 #1141 Add TOTP key field to database and PlayerAuth
- Add new field for storing TOTP key
- Implement data source methods for manipulation of its value
2018-03-05 19:50:58 +01:00
Maxetto
f9d1a3aef2 Those were not meant to be there 2018-03-05 19:42:43 +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
HexelDev
c0e1b8082f #642 - Quick Command Protection manager 2018-03-04 17:32:16 +01:00