36 Commits

Author SHA1 Message Date
HaHaWTH
46f64d8048 H2 database support 2024-01-29 21:34:40 +08:00
HaHaWTH
3f6a7ce48f Sync repo files to b22 2023-09-20 02:15:22 +08:00
HaHaWTH
ed320196fe Remove all files 2023-09-20 02:10:19 +08:00
HaHaWTH
7e49e26735 reupload files 2023-07-11 20:45:01 +08:00
HaHaWTH
b014da245d Del all files 2023-07-11 20:42:24 +08:00
Gabriele C
24d03aa1e2 Add missing "MARIADB" datasource backend to the configuration file, remove "mySQLDriverClassName" property as it is no longer needed. 2022-07-28 18:11:57 +02:00
Gabriele C
0ac1854a52 Implement allowPublicKeyRetrieval option in mysql datasource 2022-07-18 13:03:05 +02:00
Gabriele C
31564d8284 Relocate MySQL connector and fix migrations 2021-11-28 16:47:47 +01:00
Gabriele C
97a599c885 Implement MySQL 8 support #1779 2021-08-21 23:22:21 +02:00
Gabriele C
18c31e3a42 Update MySQL driver class name
+ implement fallback to the legacy driver
2021-08-21 22:54:36 +02:00
Gabriele C
d50ad908d7
Fix typo in database setrings properties 2021-03-15 10:20:56 +01:00
Gabriele C
543c9782be
Fix wrong default mysql driver class #2303 2021-03-15 02:46:37 +01:00
MacacoLew
f2bdaa0454
Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver") (#2262)
* Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver")

TODO: Configurable Driver Class Name

* Update DatabaseSettings.java

* Update MySQL.java
2021-03-14 02:46:17 +01:00
Alexandre Vanhecke
254d4d75a2 Add optional column for players uuids (#1840) 2019-08-06 15:13:13 +02:00
Alexandre Vanhecke
44cb787577 Add an option to disable MySQL server certificate check - Fix #1735 2019-04-05 22:31:47 +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
ljacqu
68b896cfc3 Move salt column configuration to the other column configs 2018-05-21 09:10:27 +02: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
Gabriele C
26a69297ce Disable the automatic poolSize option
it creates more issues than benefits
2017-12-13 23:13:28 +01:00
ljacqu
90073ef95d Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 792-registration-date-and-ip
Conflicts:
	src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java
	src/main/java/fr/xephi/authme/datasource/Columns.java
	src/main/java/fr/xephi/authme/datasource/SQLite.java
	src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
	src/main/java/fr/xephi/authme/service/SessionService.java
	src/main/java/fr/xephi/authme/settings/properties/DatabaseSettings.java
	src/test/java/fr/xephi/authme/service/SessionServiceTest.java
	src/test/resources/fr/xephi/authme/datasource/sql-initialize.sql
2017-10-15 23:45:41 +02:00
Gabriele C
22e95493de #1031 Introduce hasSession field in datasource (#1351)
* Introduce hasSession field in datasource

That makes isLogged more consistent as it will be '1' only when the player is online.

* Fixes

* Fix unit testing

* Update config doc

* Create SessionService

* Create test for SessionService, avoid DB operations if sessions are disabled

* Cleanup: remove outdated warning for session timeout = 0
- Remove outdated warning
- Encapsulate session enabled check in SessionService

* Fix failing SessionServiceTest, add data source integration tests for session methods
2017-10-15 18:32:51 +02:00
ljacqu
52d6476058 #792 Add columns for registration IP and registration date
- Add columns for reg date and IP
- Rename "ip" to "last IP"
2017-10-14 17:37:34 +02:00
Gabriele C
a39edde297 Add note to caching option 2017-10-09 10:19:27 +02:00
DNx
87b9bf140d Add database setting to configure HikariCP 'maxLifetime' #1279 2017-07-12 07:21:05 +07:00
ljacqu
e56a3c0ab6 #815 Save yaw & pitch for last login in SQL data sources 2017-04-22 13:30:03 +02:00
ljacqu
457c07b53f Consistency test: check that all values are mentioned for enum properties 2017-03-15 08:24:40 +01:00
ljacqu
8aa573b9ed Minor fixes as found by Checkstyle 2017-03-05 10:58:29 +01:00
ljacqu
8ae06ed480 Minor improvements to config layout
- Change placement and comment of settings.restrictions.banUnsafedIP to make it clear that it only bans unknown IPs using a restricted username
- Move "MySQL use SSL" option outside of the column options
2017-02-05 13:48:24 +01:00
Gabriele C
26194d676d #1063 Add useSSL option 2017-01-14 22:14:37 +01:00
ljacqu
5f8a19223f Update ConfigMe and Mockito version 2016-12-23 23:22:05 +01:00
Gabriele C
1867617dbb Add option to override dbcp size 2016-10-22 00:46:28 +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
ljacqu
bcc31afb90 #761 Add group options as Property objects and #449 remove legacy Settings class 2016-07-23 15:34:48 +02:00
ljacqu
223f56425b #699 Unit test that config.yml values correspond to property defaults
- Create unit test
- Correct offending values
2016-05-09 21:15:11 +02:00
ljacqu
db4d4a7cce #477 Change lastlogin column from bigint to timestamp (work in progress)
- Alter column type
- Create migration for MySQL
- Unrelated: move DataSource enum to its own file
2016-02-07 14:27:03 +01:00
ljacqu
200af9c4c4 Move new configs outside of 'custom' package
- Create properties package for storing the config properties
- Move NewSetting class to main settings pkg
2016-01-19 09:20:55 +01:00