Commit Graph

3967 Commits

Author SHA1 Message Date
ljacqu
1dcd7a1402 Update Checkstyle config to version 8.26 (as used in Code Climate) 2019-11-26 22:00:44 +01:00
ljacqu
108284df8e Update dependencies as found by dependabot
Closes #1933, closes #1934, closes #1935, closes #1936, closes #1937
2019-11-04 12:32:14 +01:00
ljacqu
51260fd22d Disable regular Hikari log statements during test execution
- Also use mock logger instead of a real one in a few select tests to reduce the log output during tests
2019-11-03 17:38:14 +01:00
ljacqu
901b9adb8a Github action: remove duplicate test step
- `mvn clean package` already runs tests
- Add -B switch to skip detailed logging of dependency download progress
2019-11-03 16:33:39 +01:00
ljacqu
39fbb4ac05 Remove tests calling hidden constructor of util classes
- Newer versions of JaCoCo now ignore hidden constructors out of the box so we don't need the dummy method that calls the constructor for coverage anymore
2019-11-03 11:27:18 +01:00
ljacqu
e31cb5bb9e Fix some CodeClimate issues
- Mostly missing Javadoc on methods & line length violations
2019-11-03 10:54:43 +01:00
ljacqu
2673eb0f8e Mockito: Replace deprecated verifyZeroInteractions with verifyNoInteractions 2019-10-26 21:56:54 +02:00
ljacqu
776d1e5fa3 Fix failing test
- googleauth uses a new website to generate QR codes, cf. https://github.com/wstrange/GoogleAuth/issues/77
2019-10-26 21:52:43 +02:00
Maxime Michaud
0cf9ec4759 One mistake corrected in help_fr.yml (#1932)
vour ---> vous
2019-10-26 15:40:37 +02:00
Maxime Michaud
7f832d4b16 Small mistakes (#1931) 2019-10-26 15:39:53 +02:00
dependabot-preview[bot]
17dee96166 Bump googleauth from 1.3.0 to 1.4.0 (#1929)
Bumps [googleauth](https://github.com/wstrange/GoogleAuth) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/wstrange/GoogleAuth/releases)
- [Changelog](https://github.com/wstrange/GoogleAuth/blob/master/NEWS)
- [Commits](https://github.com/wstrange/GoogleAuth/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 10:08:41 +02:00
dependabot-preview[bot]
4e62b81595 Bump googleauth from 1.2.0 to 1.3.0 (#1928)
Bumps [googleauth](https://github.com/wstrange/GoogleAuth) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/wstrange/GoogleAuth/releases)
- [Changelog](https://github.com/wstrange/GoogleAuth/blob/master/NEWS)
- [Commits](https://github.com/wstrange/GoogleAuth/compare/1.2.0...1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 17:52:50 +02:00
Arvind Kumar
d6711d83b3 Fixes in documentation (#1927)
* Fixed typos and grammer in documentation
2019-10-17 08:34:27 +02:00
dependabot-preview[bot]
004cccf3c2 Bump h2 from 1.4.199 to 1.4.200 (#1926)
Bumps [h2](https://github.com/h2database/h2database) from 1.4.199 to 1.4.200.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.199...version-1.4.200)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 17:49:08 +02:00
dependabot-preview[bot]
f83f20070b Bump jacoco-maven-plugin from 0.8.4 to 0.8.5 (#1925)
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.4...v0.8.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 17:48:50 +02:00
ljacqu
969ed8c89c Update dependencies as found by dependabot
- Closes #1919, closes #1920, closes #1922
2019-10-07 08:04:15 +02:00
Jordie
ab872f2622 Updated messages_nl.yml with missing translations. (#1921)
* Updated messages_nl.yml with missing translations.

* Updated messages_nl.yml.
2019-10-07 07:59:13 +02:00
dependabot-preview[bot]
59807b90e6 Bump HikariCP from 3.4.0 to 3.4.1 (#1915)
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.0...HikariCP-3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-20 00:16:50 +02:00
Alexandre Vanhecke
4b2b5829dd
Add a maven github action 2019-09-19 14:56:36 +02:00
Alexandre Vanhecke
3d81d18439 Update issue templates 2019-09-19 14:48:09 +02:00
dependabot-preview[bot]
e3814c5a2e Bump postgresql from 42.2.7 to 42.2.8 (#1910)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.7 to 42.2.8.
- [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.7...REL42.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 22:46:51 +02:00
dependabot-preview[bot]
ba23449ce5 Bump HikariCP from 3.3.1 to 3.4.0 (#1911)
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.3.1...HikariCP-3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 22:46:11 +02:00
Alexandre Vanhecke
0f268583c9
Update authme logo link 2019-09-18 18:00:42 +02:00
dependabot-preview[bot]
86cb2242e7 Bump postgresql from 42.2.6 to 42.2.7 (#1909)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.6 to 42.2.7.
- [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.6...REL42.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 02:25:34 +02:00
dependabot-preview[bot]
b64c1dc907 Bump Multiverse-Core from 4.0.1 to 4.1.0 (#1900)
Bumps Multiverse-Core from 4.0.1 to 4.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-05 03:01:39 +02:00
dependabot-preview[bot]
de312f9940 Bump checker-qual from 2.10.0 to 2.11.0 (#1906)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-2.10.0...checker-framework-2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 08:52:13 +02:00
Bruno Marques
88b535d3fb Update messages_br.yml (#1898)
Added messages who was missing in this translation.
2019-08-25 10:43:46 +02:00
Maxetto
d5f2af6739
Update italian translation 2019-08-21 23:32:17 +02:00
ljacqu
7ab7c688c3 Update translations doc & translation files 2019-08-15 21:17:45 +02:00
Wunderharke
5fb760bab1 Update messages_de.yml (#1890)
Added missing german strings (fixed).
2019-08-15 04:43:43 +02:00
dependabot-preview[bot]
3ba323f470 Bump slf4j-simple from 1.7.27 to 1.7.28 (#1887)
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.27 to 1.7.28.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.27...v_1.7.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 03:36:26 +02:00
Gabriele C
d30580d5d4
Listener optimizations (#1884)
* Drop CraftBukkit support, listeners cleanup

* Codestyle

* Codestyle

* Remove useless player.saveData() calls

* Micro optimization on the join process

* Requested changes

* Fix unit test

* Test onPlayerHeldItem listener

* Requested changes

* Remove unused import
2019-08-11 23:47:50 +02:00
ljacqu
e2f2ff0763 #1874 Output number of loggers in /authme debug stats 2019-08-11 11:36:28 +02:00
ljacqu
363e85e363 Set up logger at start of initialization to avoid NPE on errors later on
- Thanks to sgdc3 for the hint
2019-08-11 11:32:03 +02:00
ljacqu
647ee245e0 #1874 Format debug messages in log, use Java 8 date formatter
- Format debug messages properly in the authme.log as well
- Replace DateFormat with Java 8's DateTimeFormatter (which is thread-safe)
2019-08-10 22:44:57 +02:00
ljacqu
f268f7cd65 Fix verifyMessages tool task not finding English messages for todo comments 2019-08-10 22:34:45 +02:00
dependabot-preview[bot]
28c02fc9e9 Bump slf4j-simple from 1.7.26 to 1.7.27 (#1881)
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.26 to 1.7.27.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.26...v_1.7.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-08 17:25:16 +02:00
Gabriele C
48357831cd
Revert "Packet based movement freeze (#1879)" (#1882)
This reverts commit db3acce70c.
2019-08-07 10:49:23 +02:00
Gabriele C
db3acce70c Packet based movement freeze (#1879)
* Remove unused files
* Remove walk/fly speed from limbo player
* Implement packet based movement freeze
2019-08-07 06:47:00 +02:00
Hex3l
fadda43d13 Improves spawn choice if undefined (#1880)
* Improves spawn choice if undefined #1700

* Just a missing line <.<

* Moves the checks into the "default" case
2019-08-07 01:01:55 +02:00
ljacqu
d87fa860e6 Add test for UuidUtils 2019-08-06 19:42:06 +02:00
ljacqu
c34f00f759 #1874 Introduce individual ConsoleLogger instance per class (#1875)
* #1874 Introduce individual ConsoleLogger instance per class
- Create ConsoleLoggerFactory from which a separate logger can be created for each class
- Allows to support individual log level settings in the future

* Fix CodeStyle issue

* Replace full class name with import

* Update usages after merge from master
2019-08-06 15:15:16 +02:00
Alexandre Vanhecke
254d4d75a2 Add optional column for players uuids (#1840) 2019-08-06 15:13:13 +02:00
ljacqu
ae68667f5e Add Maven profile to skip Javadoc generation for local builds (#1878)
* #1877 Add Maven profile to skip Javadoc generation for local builds

* Make it nicer
2019-08-06 01:12:01 +02:00
ljacqu
7bede2528f
#1523 Create admin commands to handle players' 2FA data (#1876)
* #1523 Create admin commands to handle players' 2FA data
- Create admin command to view if a player has enabled 2FA
- Create admin command to disable 2FA for a specified player
2019-08-05 19:31:59 +02:00
ljacqu
f0d3d085c6 #1574 Use server name in 2FA QR code link instead of IP 2019-08-02 15:38:13 +02:00
ljacqu
c00109074a Minor: create dummy string of specific length with better method 2019-08-02 15:29:06 +02:00
ljacqu
61af2a0554 Update depenencies
- As reported by dependabot: closes #1859, closes #1860, closes #1867, closes #1871, closes #1873
2019-08-02 15:23:46 +02:00
ljacqu
210a4f61cb #1219 Make 2FA tokens one-use only (#1848)
- Make TotpAuthenticator keep track of the used codes and reject any known ones
2019-07-06 18:26:43 +02:00
dependabot-preview[bot]
e2c2e8bead Bump checker-qual from 2.8.2 to 2.9.0 (#1849)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-2.8.2...checker-framework-2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-06 18:26:04 +02:00