Sabrita
674d72c113
优化 import 。更改默认配置
2023-02-28 12:36:56 +08:00
Gabriele C
75b3a571e1
Always specify Locale on toLowerCase and toUpperCase usages, fixes AuthMe not working correctly on machines with turkish locale. ('I'.toLowerCase() => 'ı')
2022-08-20 04:41:04 +02: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
HarvelsX
a9898fd806
Add support MariaDB driver: https://github.com/AuthMe/AuthMeReloaded/issues/2556 ;
2022-07-25 12:14:26 +03:00
HarvelsX
ed4200b23f
Fix column check: https://github.com/AuthMe/AuthMeReloaded/issues/2543 ;
2022-07-25 12:14:17 +03:00
Gabriele C
0ac1854a52
Implement allowPublicKeyRetrieval option in mysql datasource
2022-07-18 13:03:05 +02:00
ljacqu
571c6106a7
Fix some Checkstyle issues
...
- Remove unused imports
- Fix issues relating to line length / whitespace
- Update Checkstyle suppression in matcher classes with new check name
2022-01-30 10:32:49 +01:00
Gabriele C
70db362e2a
Add legacyHashes hint to the LoginSecurity converter #2449
2021-11-28 17:01:35 +01:00
Gabriele C
31564d8284
Relocate MySQL connector and fix migrations
2021-11-28 16:47:47 +01:00
Gabriele C
18c31e3a42
Update MySQL driver class name
...
+ implement fallback to the legacy driver
2021-08-21 22:54:36 +02:00
Ruoshi Lin
5c23d3343d
Fix SQLite file not found issue ( #2371 )
...
When OP customize bukkit/spigot plugins directory location, SQLite file will still on default directory.
It will cause directory not found exception. Also let SQLite file not correct in the plugin directory.
Co-authored-by: Yuehu Lin <dev@fntsr.tw >
2021-06-28 09:41:35 +02: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
ljacqu
e92721e597
#2158 Remove unneeded SQLite migration of column length
...
- SQLite always returns a column length of 2,000,000 as they don't really have a column length restriction, cf. https://stackoverflow.com/questions/35413956/trying-to-get-the-column-size-of-a-column-using-jdbc-metadata
2020-08-29 11:09:13 +02:00
Gabriele C
eeb5530f61
Fix sqlite migrater logic #2158
...
Co-Authored-By: ljacqu <ljacqu@users.noreply.github.com >
2020-07-18 01:05:22 +02:00
Gabriele C
e291a0415b
Attempt to fix issue #2158
2020-07-17 18:07:42 +02:00
Gabriele C
a1021f9dc3
Fix totp column size #2154
2020-07-16 00:18:51 +02:00
ljacqu
e31cb5bb9e
Fix some CodeClimate issues
...
- Mostly missing Javadoc on methods & line length violations
2019-11-03 10:54:43 +01: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
Alexandre Vanhecke
44cb787577
Add an option to disable MySQL server certificate check - Fix #1735
2019-04-05 22:31:47 +02:00
ljacqu
75e1e5ce51
#1707 Make column context thread-safe
2018-12-17 20:42:43 +01:00
ljacqu
c27a8d359c
Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded
2018-12-04 19:52:12 +01:00
ljacqu
136b9e4b6e
Close #1317 Remove migration of lastlogin column from timestamp to bigint
2018-12-04 19:51:11 +01:00
ljacqu
80647c04f4
Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded
2018-12-04 19:05:14 +01:00
ljacqu
f431325516
#1650 Fix users with capitals not having their session saved
2018-12-04 19:04:25 +01:00
Gabriele C
650a97647a
Drop FlatFile storage converter
...
It's time...
2018-11-30 15:29:30 +01:00
Gabriele C
7f91b739f2
Maven cleaup
2018-09-17 22:55:36 +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
f79c364f84
Minor fixes as reported by CodeClimate
2018-09-01 09:17:42 +02:00
Gabriele C
da7e7edc37
Fix messaging [WIP] ( #1614 )
...
* Fix messaging [WIP]
* Make codeclimate happy
* Codeclimate, pls
* got it, i hope
* Improvements
* Remove duplicated checks, other improvements, make login/logout broadcasts
* Optimize project imports
* Make codeclimate happy again
2018-08-26 15:29:47 +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
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
106dea1611
Minor: fix JavaDoc warnings
2018-04-02 23:43:52 +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
26472b6be3
#1539 Create common parent for SQLite and MySQL
2018-03-25 22:27:44 +02:00
ljacqu
4595a14191
#1539 Add support for columns that are not on player auth (is_logged, has_session)
2018-03-25 11:52:40 +02:00
ljacqu
137fc3d505
#1539 Use columns handler in more datasource methods; fix case-insensitivity for SQLite
2018-03-24 22:53:30 +01:00
ljacqu
881ef6a640
#1539 DataSource columns: close MySQL connections, add missing columns, use newly built-in types, improve column initialization
2018-03-24 21:16:43 +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
ljacqu
fddb3bf265
Fix minor Checkstyle violations
...
- Mostly missing JavaDoc, some line lengths
2018-03-11 19:08:21 +01: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
ljacqu
7864bb06ac
Minor cleanups
...
- Fix line length violations
- Add JavaDoc to some longer methods
- Remove unused imports
2018-02-23 23:23:24 +01:00
ljacqu
9dd4039fdd
#1467 Create backup before migrating; output newly added message keys
...
- Extract logic for creating a backup timestamp into FileUtils
2018-02-13 22:15:03 +01:00
sgdc3
a92084ec60
Fix the deploy system
2018-01-29 15:08:59 +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
50dbbb8d87
#1254 Create command to see recently logged in players
...
- Create datasource method to fetch most recent players by last login date
- Add command to view last logged in players
2017-11-28 21:07:10 +01:00
ljacqu
5c40cb3b73
Insert null email as DEFAULT so column default may take effect
...
Ugly implementation to fit into AuthMe 5.4. If email on PlayerAuth is null, do not supply NULL as the email value but use DEFAULT instead so that the default value is used if present in the column configuration.
2017-11-04 11:29:21 +01:00
ljacqu
c7ba06e2b9
Fix test / use new DataSource method / add space before keywords
2017-11-03 19:57:40 +01:00
Gabriele C
273c318e96
Cleanup
2017-11-02 11:24:17 +01:00