Commit Graph

529 Commits

Author SHA1 Message Date
ljacqu
af6bee59bd Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
# Conflicts:
#	src/main/java/fr/xephi/authme/datasource/MySQL.java
2018-03-19 22:32:16 +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
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
8a66a92f81
[CI-SKIP] Don't generate javadocs and sources by default 2018-03-13 11:57:08 +01:00
Gabriele C
d80a9b27cb Try to fix javadocs generation 2018-03-07 23:41:28 +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
430716b206
Fix build 2018-02-28 18:05:51 +01:00
Gabriele C
37fb3a2c54
Bye bye old repository
RIP 2015-2018
2018-02-27 08:49:57 +01:00
sgdc3
d07e887472 Update libraries 2018-02-27 01:14:37 +01:00
Gabriele C
b47bc9daa7
Fix the permissionex dependency 2018-02-16 20:51:51 +01:00
Gabriele C
386703a1b4
Update maven plugins and dependencies 2018-02-14 02:10:24 +01:00
sgdc3
74c06346d8 Eureka, found a better solution to deploy the non shaded jar as default artifact! 2018-01-31 21:43:55 +01:00
sgdc3
e0e9263546 Remove travis, update circle ci config 2018-01-31 19:10:05 +01:00
sgdc3
db820b7d05 Fix duplicated artifacts 2018-01-29 18:26:43 +01:00
sgdc3
fca2a7809f Override the default deploy strategy 2018-01-29 18:12:57 +01:00
sgdc3
fbf1f29a0b Fix deploy execution 2018-01-29 15:15:55 +01:00
sgdc3
a92084ec60 Fix the deploy system 2018-01-29 15:08:59 +01:00
Gabriele C
a76eee5965
Remove deploy configuration 2018-01-29 04:44:17 +01:00
sgdc3
e980c80ef8 Damn maven please deploy the right jar 2018-01-29 01:14:31 +01:00
sgdc3
f250289a1e Pom cleanup, fix output filename 2018-01-28 22:01:14 +01:00
Alexandre Vanhecke
9b60c26a1d
Update pom.xml 2018-01-22 00:40:30 +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
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
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
4213867048
Update dependencies 2017-12-19 10:29:14 +01:00
Gabriele C
17eb7acf4d
Change version format 2017-11-29 09:17:37 +01:00
ljacqu
7932c1bf90 Update to injector 1.0
- Includes Factory and SingletonStore so our custom implementation is removed
2017-11-25 21:27:18 +01:00
ljacqu
86a07771d7 Open 5.5 development iteration 2017-11-25 14:41:23 +01:00
Gabriele C
350321c80b
Bump version to 5.4.0 release candidate 1
Change version format.
2017-11-24 09:45:29 +01:00
Alexandre Vanhecke
8fe92da119 #1150 - Add Argon2 support
- Add argon2 implementation

- Extract argon2 library check to method on Argon 2
- Add link to Wiki page on errors
- Check within Argon2Test if the test cases should be run, not in the abstract parent
2017-10-23 00:10:48 +02:00
sgdc3
d4d85c5e15 Update dependencies 2017-10-20 00:19:28 +02:00
ljacqu
6fa2fdbdda #1345 Update to injector 0.4.1 2017-10-05 23:02:58 +02:00
Gabriele C
d95e5adc39 Compile for 1.12.2 2017-10-02 08:09:28 +02:00
sgdc3
83b5a3d66d Update dependencies 2017-09-27 14:55:59 +02:00
Gabriele C
f754331de6 Implement LuckPerms permission handler
#1324
2017-09-14 20:39:15 +02:00
Gabriele C
6e842890e3 Update HikariCP version 2017-09-09 02:06:32 +02:00
Gabriele C
a87f3e5838 Make compile dependencies optional 2017-09-03 00:24:54 +02:00
Gabriele C
b96ae61697 Remove some old plugin hooks, update dependencies 2017-08-31 11:47:55 +02:00
ljacqu
f3a656892f Open 5.4 development iteration 2017-07-08 23:21:53 +02:00
Gabriele C
001e5d0376 Pom cleanup, fix LimboService test dependencies
@ljacqu Could you fix the test please?
2017-07-07 15:06:02 +02:00
Gabriele C
bf74c4e7ff Start 5.3.3 development 2017-07-06 18:12:11 +02:00
Gabriele C
cdeb245267 5.3.2 emergency release
People is confused by the legacy/spigot jars, this release provides only one jar.
2017-07-06 02:29:48 +02:00
Gabriele C
f7bf2a6119 Ok my IDE seems stupid 2017-06-28 12:56:23 +02:00
Gabriele C
9922a259d0 Update other dependencies 2017-06-28 12:49:41 +02:00
Gabriele C
6dc672ae74 Update dependencies 2017-06-28 12:46:57 +02:00
Gabriele C
7e5a15406d Fix xAuth dependency 2017-06-28 12:39:59 +02:00
Gabriele C
68b54d9b4c Whoops! Fix shade execution 2017-06-25 10:50:29 +02:00
Gabriele C
e8b3bb5d9d Remove legacy build, users are confused by the 2 different jar files 2017-06-22 23:23:11 +02:00
Gabriele C
2974e4f5cb Start the 5.3.2 development cycle 2017-06-02 13:26:17 +02:00
Gabriele C
f0895912f3 5.3.1 Release 2017-06-01 13:17:50 +02:00
timvisee
cae29a2f99 Revert "Implement ARGON2 hash (#1165)" due to an unwanted added binary.
This reverts commit bf38782790.
2017-06-01 13:06:15 +02:00
Gabriele C
bd9edce5fe 5.3 Release 2017-05-31 22:40:44 +02:00
Gabriele C
00699ed7fb Use guava 21, add 1.12 support 2017-05-29 23:40:44 +02:00
Gabriele C
c035cb9243 Update DBCP dependencies 2017-05-24 23:50:36 +02:00
ljacqu
5afe6bb35b Update dependencies
- Remove unused exec plugin
2017-05-20 19:15:13 +02:00
Gabriele C
4366e33508 Use 1.12 api (only spigot maven profile) 2017-05-15 20:18:51 +02:00
Gabriele C
61c215d337 Try to fix protoclllib repo link 2017-04-24 14:46:50 +02:00
Gabriele C
5dd73e9594 Fix ProtocolLib repo url 2017-04-23 11:51:11 +02:00
Gabriele C
bf38782790 Implement ARGON2 hash (#1165)
* Implement ARGON2 hash

#1150

* Fix argon hash verify

* Add argon2 test

* #1150 Account for Argon2 managing salts internally
2017-04-14 18:03:27 +02:00
ljacqu
a764598f88 Adjust repo links in code 2017-03-28 08:11:00 +02:00
ljacqu
57ca81f2ba #1102 commands.yml file should not have any commands by default 2017-02-20 21:11:57 +01:00
Gabriele C
2d3078daa4 Use the bStats maven artifact
It seems to have issues accessing the maven repository, maybe it's just
an issue with my local setup.

(cherry picked from commit fc8c75c)
2017-02-17 22:06:12 +01:00
Gabriele C
8ac4ea05f6 Update libs 2017-02-15 23:15:59 +01:00
ljacqu
d2fccdeb80 Update Injector and create injectable object factory
- Using e.g. Factory<Converter> instead of the injector directly makes its purpose more specific and disallows any future abuse of the injector's functions
2017-02-05 16:52:35 +01:00
Gabriele C
6569c275eb Replace mcstats with bStats (#215) 2017-01-29 15:48:07 +01:00
ljacqu
8aa1bb9935 Open 5.3 development iteration 2017-01-21 14:14:32 +01:00
games647
f4b999217c
Fix sending empty inventories on logout for versions above 1.11
(Fixes #1039)
2016-12-26 10:44:09 +01:00
ljacqu
5f8a19223f Update ConfigMe and Mockito version 2016-12-23 23:22:05 +01:00
Xephi59
de97c60b5d FixMe from Gnat008 : Add PermissionsBukkit groups support 2016-12-20 21:35:26 +01:00
ljacqu
a38d3a25b8 Update Mockito version 2016-12-01 19:41:31 +01:00
ljacqu
de5324bbc6 #685 Fix PBKDF2 implementation
- Fix our PBKDF2 hash implementation and its test class
- Use external dependency as PBKDF2 implementation
2016-11-25 15:51:15 +01:00
Gabriele C
2fbf8b6c71 Use 1.11 2016-11-17 21:53:28 +01:00
ljacqu
44a8764115 Do not use master for experiments that break the build 2016-11-17 20:42:55 +01:00
Gabriele C
92c4c18da4 1.11: does it compile?
I'm from mobile but i'm curious :P
2016-11-17 13:22:12 +01:00
Gabriele C
15ff9ae442 Update dependencies + update README 2016-11-15 17:29:00 +01:00
ljacqu
5cce7e1fae Update version of ConfigMe, Mockito and sqlite-jdbc 2016-10-30 14:05:22 +01:00
Gabriele C
dc5fe64b15 Use Bukkit/Spigot 1.10.2 2016-10-16 23:50:47 +02:00
ljacqu
995d4acda2 Upgrade to ConfigMe 0.2 2016-10-16 20:08:52 +02:00
Gabriele C
c8cbd4e853 Update dependencies 2016-10-02 17:19:50 +02:00
ljacqu
ffc5b77f36 Revert: [RevertMe] Remove essentials hook (currently unavailable using maven) 2016-09-09 21:56:32 +02:00
Gabriele C
93c59555f8 Revert "Test if jenkins is stupid"
This reverts commit 59abf6ecf4.
2016-09-08 14:32:40 +02:00
Gabriele C
71c289f2f3 Revert "Try if jenkins became smarter"
This reverts commit 5045338a83.
2016-09-08 14:32:37 +02:00
Xephi
5045338a83 Try if jenkins became smarter 2016-09-08 11:27:33 +02:00
Xephi
59abf6ecf4 Test if jenkins is stupid 2016-09-08 11:18:46 +02:00
Gabriele C
933f0ba3d6 Update HikariCP version 2016-09-08 10:28:19 +02:00
Gabriele C
f63871600a [RevertMe] Remove essentials hook (currently unavailable using maven) 2016-09-07 16:04:20 +02:00
Gabriele C
0dac0c4b21 #927 Relocate ConfigMe 2016-09-04 16:30:30 +02:00
ljacqu
25780ede89 #927 Use 0.1 version and adjust to changes from ConfigMe 2016-09-04 15:32:58 +02:00
ljacqu
09f403f357 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into configme-integration
Conflicts:
	pom.xml
2016-09-04 15:25:58 +02:00
Gabriele C
5efed1b697 Bump java version requirement 2016-09-04 14:48:13 +02:00
Gabriele C
bc9d67abbd Bye bye java 7! 2016-09-04 14:42:50 +02:00
Gabriele C
6768f5fdce Relocate the injector 2016-09-04 14:16:35 +02:00
Gabriele C
af4e8acc04 Maven cleanup 2016-09-04 14:04:27 +02:00
Gabriele C
7deb75ab85 Deprecate GroupManager handler 2016-09-04 13:29:01 +02:00
Gabriele C
6e5c901c4b Fix build 2016-09-04 12:58:50 +02:00
ljacqu
0d368ef1a2 Revert: Use official bPermissions artifact
- Since 3ea933ffc6 the Jenkins build has been failing and it is no longer possible to build locally. Now Travis and CircleCI are also failing.
2016-09-03 10:05:32 +02:00
ljacqu
c7bb7b460e #927 Integrate ConfigMe into AuthMe (work in progress)
- Replace own code with ConfigMe
2016-08-30 15:28:07 +02:00
Gabriele C
3ea933ffc6 Use official bPermissions artifact 2016-08-29 01:21:40 +02:00
ljacqu
289ce7740f Update injector version and move shutdown logic to separate classes 2016-08-20 21:54:41 +02:00
Gabriele C
af48c2fc2a It doesn't make sense to have 2 alternative dependencies enabled 2016-08-04 20:35:35 +02:00
ljacqu
f0dfd85903 #831 Set Spigot profile to be activated by default
- I want to be able to check out the source and build immediately
2016-08-04 18:19:38 +02:00
Gabriele C
7806466a01 Close #884 2016-08-04 13:00:54 +02:00
Gabriele C
4b81e3b7dc Update vault repository 2016-08-04 02:10:35 +02:00
ljacqu
9a91156000 #835 Replace injector classes with ones from ch.jalu.injector project 2016-07-17 21:50:48 +02:00
Gabriele C
3616c3187e Whoops! 2016-07-13 12:55:23 +02:00
Gabriele C
c53dd5b3a8 Reduce the jar size by using the spigot's gson version 2016-07-13 12:52:55 +02:00
Gabriele C
f88d0bcb70 Update dependencies 2016-07-12 15:18:36 +02:00
ljacqu
491853e0c8 Change github URLs from AuthMe-Team/ to AuthMe/
- Change README sections to use more markdown
2016-07-10 11:42:40 +02:00
Gabriele C
a998354fa2 Project cleanup 2016-06-26 16:19:55 +02:00
Gabriele C
c79857cc14 Add Gnat008 as project author 2016-06-17 02:18:12 +02:00
Gabriele C
df17821e85 Let's switch again to SNAPSHOT 2016-06-16 04:26:30 +02:00
Gabriele C
941d4f09be Beta3! 2016-06-16 04:14:18 +02:00
Gabriele C
209625ab00 Update maven plugins 2016-06-13 20:04:02 +02:00
Gabriele C
01f297919d 1.10 API + cleanup 2016-06-11 17:46:24 +02:00
Gabriele C
a5a796e900 Update coveralls-maven-plugin 2016-06-05 01:47:17 +02:00
ljacqu
3753a0ef96 #565 Allow to skip extended encryption methods
- Set system property via surefire plugin and create profile that modifies the property
- Check for the new property in AbstractEncryptionMethodTest and shorten/skip the tests when necessary
2016-06-05 00:29:31 +02:00
Gabriele C
6c0dec887a try to fix javadoc 2016-06-03 00:27:06 +02:00
Gabriele C
506f32243b Fix pom typo + update h2 test dependency 2016-05-31 00:09:19 +02:00
ljacqu
a355c325c5 #513 Allow to run updateDocs task from command line 2016-05-20 17:15:53 +02:00
Gabriele C
7229a8b02b Update exec plugin, the doc task should run manually 2016-05-18 07:49:37 +02:00
Gabriele C
f784da7c2f Exclude new transitive dependency 2016-05-14 14:33:17 +02:00
Gabriele C
c748501345 Fix Multiverse dependency + fix invalid test in Eclipse 2016-05-14 00:01:26 +02:00
Gabriele C
05f0162a16 Damn HTTPS 2016-05-13 23:29:53 +02:00
Gabriele C
3f5154e3c7 Update api to 1.9.4 2016-05-10 23:58:08 +02:00
ljacqu
662f28ab4f #513 Fix class loading issue when running from mvn exec:java 2016-05-08 17:01:06 +02:00
Gabriele C
5cfb556fda #513 Doesn't work
@ljacqu Could you please check why this isn't working? run the "mvn
exec:java" command
2016-05-05 22:38:17 +02:00
Gabriele C
7de4efc025 Relocate Injection API 2016-05-05 18:46:39 +02:00
Gabriele C
fb4dd260f8 Correct pom properties 2016-05-05 18:39:35 +02:00
games647
917a48074a Try to fix Jenkins builds 2016-05-05 16:07:53 +02:00
Gabriele C
2d0bf08c40 Multiverse was injecting his spigot-api version -_- 2016-05-04 18:10:39 +02:00
Gabriele C
39aaef8f8a Pom enhancements 2016-05-04 17:12:14 +02:00
Gabriele C
2f76e06373 Remove spigot-api 2016-05-04 16:59:02 +02:00
ljacqu
23317caa46 Merge pull request #125 from AuthMe-Team/432-dependency-injection
432 dependency injection
2016-05-03 18:54:35 +02:00
Gabriele C
2a423e6f2f Continue SNAPSHOT development 2016-05-03 12:45:58 +02:00
Gabriele C
552ecb5d8e BETA2 Release 2016-05-03 12:44:35 +02:00
Gabriele C
df6aa0a7a8 Bump hikaricp version 2016-05-02 21:21:02 +02:00
ljacqu
f76a68cb26 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 432-dependency-injection
Conflicts:
	src/main/java/fr/xephi/authme/AuthMe.java
	src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java
	src/main/java/fr/xephi/authme/hooks/PluginHooks.java
	src/main/java/fr/xephi/authme/listener/AuthMePlayerListener.java
	src/main/java/fr/xephi/authme/listener/AuthMeServerListener.java
	src/test/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommandTest.java
2016-05-02 19:48:12 +02:00
Xephi59
121dd7e6fb Add Spigot API - 1.9 PlayerSpawnLocationEvent 2016-05-02 02:13:19 +02:00
ljacqu
02079f1f5c #432 Create custom dependency injector 2016-04-27 22:49:20 +02:00
Gabriele C
590532e557 the useless commit 2016-04-13 18:47:08 +02:00
Gabriele C
d46ad9ab5e Update hikari logger 2016-04-06 17:36:34 +02:00
Gabriele C
46c6eba3ea Bump API 2016-04-05 23:29:42 +02:00
DNx5
6132743913 Update pom.xml 2016-03-31 15:33:50 +07:00
DNx5
b43e706572 Update Bukkit API to 1.9-R0.1-SNAPSHOT 2016-03-31 14:36:01 +07:00