Commit Graph

556 Commits

Author SHA1 Message Date
dependabot[bot]
7105e119b2 Bump postgresql from 42.2.4 to 42.2.5 (#1636)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.4 to 42.2.5.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.4...REL42.2.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 18:00:43 +02:00
dependabot[bot]
e42150289a Bump mockito-core from 2.21.0 to 2.22.0 (#1635)
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.21.0...v2.22.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 18:00:23 +02:00
dependabot[bot]
d0269adeee Bump VaultAPI from 1.6 to 1.7 (#1638)
Bumps [VaultAPI](https://github.com/MilkBowl/VaultAPI) from 1.6 to 1.7.
- [Release notes](https://github.com/MilkBowl/VaultAPI/releases)
- [Commits](https://github.com/MilkBowl/VaultAPI/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 17:59:56 +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
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
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
Gabriele C
251308c4f4 Update dependencies and plugins 2018-08-17 01:02:04 +02:00
Gabriele C
d4bcec1db4
Test 1.13 build 2018-07-15 04:58:25 +02:00
Gabriele C
38fd133e82 Update libraries 2018-06-19 18:44:32 +02:00
Gabriele C
14d3d1ad91 Update dependencies 2018-05-29 00:51:25 +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
6f2f7a73af Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth 2018-05-01 22:49:23 +02:00
games647
b69767c705
Upgrade jacoco dependency to fix Java 10 compatibilty and CircleCI tests 2018-05-01 13:39:19 +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
65ad91372e Fix JDK 10 surefire plugin, use batch mode in circleci 2018-04-19 12:32:50 +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
games647
80538b4bb2
Force english language during unit testing
Fixes #1536
2018-04-05 15:19:03 +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
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
Gabriele C
f752b9d7a7
[CI-SKIP] Fix jenkins url in pom 2018-03-26 21:50:56 +02:00
Gabriele C
837bfb7935
Update dependencies 2018-03-24 15:47:40 +01:00
ljacqu
5a58f2c44f #1539 Integrate data source columns library
- Create wrapper around SqlColumnsHandler for AuthMe-specific behavior
- Integrate columns handler into first SQLite and MySQL method implementations
2018-03-24 12:24:43 +01:00
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