Commit Graph

453 Commits

Author SHA1 Message Date
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