1e0d31ebb7
Don't lowercase the real name, also..
DNx
2016-03-03 11:11:56 +07:00
681e352bdcFix#570 add max_acc and reg_acc placeholders
Gabriele C
2016-03-02 17:06:02 +01:00
c5c0535fcd
Ok, nevermind, it works.
Gabriele C
2016-03-02 00:33:26 +01:00
aeb8307a46#432#547 Remove public IP cache map; make processes use ProcessService - Create IP address manager for handling and caching IP addresses -> outside of the manager I do not want to care about caching details - Make more processes use the ProcessService in favor of statically injected objects
ljacqu
2016-03-01 22:41:32 +01:00
8bd9569c14
Disable the tablist hider due to bugs! (Invisible player, missing data resend after login...)
Gabriele C
2016-03-01 22:19:33 +01:00
86042070e9#573 Remove exclusion for permission node check in test
ljacqu
2016-03-01 20:48:15 +01:00
8432e67fd8
1.9 API + Fix permissions (CRITICAL)
Gabriele C
2016-03-01 17:34:56 +01:00
e57e457b62
Fixed VersionCommand is not using backwards compatible players method
games647
2016-03-01 16:38:32 +01:00
6aa22f80ce
Update dependencies
Gabriele C
2016-02-29 21:34:21 +01:00
e88b4eda53
Add %acc_nb tag to max_reg message - Fix#570
Xephi59
2016-02-28 00:36:06 +01:00
c61345fd43
cleanup + fix test crypts test on windows systems
Gabriele C
2016-02-28 00:32:14 +01:00
d664e7be26#547 Create ProcessService - Create ProcessService for common tasks within processes - Integrate service into AsyncAddEmail
ljacqu
2016-02-20 19:56:45 +01:00
28108f00f1#569 Update messages_de.yml by Platinteufel
ljacqu
2016-02-27 22:55:51 +01:00
63b31b0814
Create resource closing test - Generic test for MySQL and SQLite checking that all generated (Prepared)Statement and ResultSet instances are closed afterwards - Fix offending code for test to pass
ljacqu
2016-02-27 22:45:39 +01:00
5fce849ce7
Minor - Add datasource test, minor code householding
ljacqu
2016-02-27 21:11:35 +01:00
b916c9b2be
Fix javadoc warnings + #421 add javadoc for new API
ljacqu
2016-02-27 16:31:42 +01:00
4bf8972875
Lombok + Retrolambda expressions support
Gabriele C
2016-02-27 16:11:50 +01:00
e79f325411#443 Use correct message to ask to add email after login
ljacqu
2016-02-27 12:18:04 +01:00
1b818bd833#457 Improve ForceFlatToSqlite conversion - Change ForceFlatToSqlite converter to use a generic datasource destination (i.e. can be used for Flat2MySQL later) - Add tests, including for FlatFile - Check that user is not present in destination datasource before adding - Persist last location from flatfile as well
ljacqu
2016-02-27 11:24:47 +01:00
0e6d0c6d25
Merge pull request #564 from AuthMe-Team/master
Gabriele C
2016-02-27 01:14:57 +01:00
95e3943be0
Datasource integration tests - fix split by newline - Make split of SQL file aware that new lines may be \r\n - Remove split of new lines in MySQL as it's not necessary
ljacqu
2016-02-24 20:37:26 +01:00
5e16ca1490#392 Create integration test for MySQL - Relocate tests to AbstractDataSourceIntegrationTest to reuse tests for SQLite and MySQL - Add H2 driver and create test class for MySQL
ljacqu
2016-02-22 21:52:10 +01:00
b6384da540#542 Revert lastlogin column from timestamp to bigint - While the timestamp type better represents what we store, we use timestamps internally in AuthMe and had to convert between the timestamp type to a long when communicating with a MySQL database. This ends up being inconsistent with SQLite, which does not support the storage of timestamps and an additional burden as the 0000-00-00 00:00:00 timestamp has a special meaning in MySQL we must otherwise check for before fetching values.
ljacqu
2016-02-22 21:04:01 +01:00
32159861d3
Update validation of message resources
ljacqu
2016-02-22 20:36:17 +01:00
72cf294056
Allow retrieval of messages with tag replacement
ljacqu
2016-02-22 20:32:44 +01:00
bfc8058b03
Make "user other case" translatable (cherry picked from commit ed5498e)
Edson Passos
2016-02-22 03:02:57 +01:00
5943537c26
cleanup It's good now
DNx5
2016-02-22 22:48:02 +07:00
ed0ed2faf7
Bring back @games647 solution.
DNx5
2016-02-22 22:26:10 +07:00
3d90d478c2
remove uuid, only use player's name.
DNx5
2016-02-22 22:16:14 +07:00
4e011f437a
Change message & timeout task to run synchronously.
DNx5
2016-02-22 22:11:03 +07:00
bebf1cf7d4
Clean cache on close.
DNx5
2016-02-22 10:13:48 +07:00
e8f518711c#442 Fix email presence check being case-insensitive - Add integration tests - Change DataSource interface to return the number of accounts only, since that's all we require
ljacqu
2016-02-21 21:38:29 +01:00
203e954eea
Minor test adjustments
ljacqu
2016-02-21 20:23:36 +01:00
c65650e6ed
And yeah! We support 1.9 ;)
Gabriele C
2016-02-21 12:25:44 +01:00
e8d627c0e1#392 Start integration test for SQLite
ljacqu
2016-02-21 10:46:13 +01:00
dfa3921740
Close resources in MySQL (incomplete) - Connection, (Prepared)Statement and ResultSet all should be closed. try-with-resources is the best way as it's less verbose than a finally block and it's better than putting close() calls inside the try{} as that will not be run if an exception happens beforehand
ljacqu
2016-02-20 23:08:57 +01:00
bb0d938141
Update to 1.9 API
Gabriele C
2016-02-20 18:41:19 +01:00
9ec404d51f
Merge pull request #332 from AuthMe-Team/master
Gabriele C
2016-02-20 14:47:20 +01:00
511f961d29#534 Get default messages from the JAR's messages_en.yml - Using new File(class.getResource(path)) apparently is the wrong approach for in-JAR files
ljacqu
2016-02-20 12:12:24 +01:00
b66c4983ec
Merge branch 'master' into reload-supp
DNx5
2016-02-20 17:52:37 +07:00
8511a257ed#494 Fix conversion plaintext to SHA256 - Make sure database is set up before attempting to perform the migration
ljacqu
2016-02-20 11:13:13 +01:00
fd89915071#517 Display welcome message for all logins
ljacqu
2016-02-20 08:23:02 +01:00
614d544edf#534 Send error if name is restricted (this time for real)
ljacqu
2016-02-20 07:26:58 +01:00
374113ff01#534 Send error if name is restricted
ljacqu
2016-02-20 07:25:14 +01:00
757f231ceb
more ProtocolLib reload support.
DNx5
2016-02-20 10:24:45 +07:00
fd12efa2c0
Merge branch 'master' into cache
DNx5
2016-02-20 09:48:27 +07:00
90e0dc1875
Various code householding - Remove unused API on DataSource - Add some sensible javadoc to DataSource - Minor code simplification
ljacqu
2016-02-19 23:09:55 +01:00
6f694cf818#527 Persist email after changing it
ljacqu
2016-02-19 21:47:52 +01:00