ljacqu
ff99b63385
#1265 Limbo: fallback to old "group" during deserialization, favor old limbo's groups over new limbo's
2017-07-02 10:55:51 +02:00
ljacqu
5ca9112c12
Add missing properties to commands.yml on start and reload
2017-05-21 14:21:40 +02:00
ljacqu
5c6af0330e
#1218 Add onLogout to commands.yml
2017-05-21 13:44:28 +02:00
Gabriele C
cff8ccd76a
Implement onSessionLogin trigger for commands.yml ( #1198 )
...
* Implement onSessionLogin trigger for commands.yml
Needs test methods, @ljacqu any advice?
* Add simple onSessionLogin test
2017-05-19 19:21:05 +02:00
ljacqu
e5bfbf6304
#1023 LoginSecurity converter: fix last login conversion, extend test
2017-05-13 09:37:36 +02:00
ljacqu
2021113732
#1023 Create LoginSecurity converter
2017-05-10 19:45:20 +02:00
ljacqu
e56a3c0ab6
#815 Save yaw & pitch for last login in SQL data sources
2017-04-22 13:30:03 +02:00
ljacqu
a2d62ea6d9
#1116 #1117 Add command usage hints and remove unused message keys
...
- Add usage message on argument mismatch where available
- Remove unused message keys
- Create tool task to search for a message key's usages and to find unused keys
2017-03-24 23:03:10 +01:00
ljacqu
84acc4557a
#1125 Limbo persistence: convert old segments, add tests
...
- On startup / reload the playerdata folder is scanned for old segment files, whose data is migrated before they are deleted
- Add tests for segment files persistence holder
2017-03-14 20:46:28 +01:00
ljacqu
009d82c0a9
#1120 Use empty "realname" when converting from flatfile
...
- FlatFile doesn't store the "realname" - all names are always in all-lowercase. Converting from flatfile to other data source should therefore not take over an auth's realname
- Adjust sample flatfile file to only have all-lowercase usernames
2017-03-04 17:52:08 +01:00
ljacqu
95945ffd22
#761 Improve permissions group support
...
- Drop one auth group type in favor of three: logged in, registered but not logged in, and unregistered
- Move properties to same parent path
2017-01-29 17:44:06 +01:00
ljacqu
89c70ff447
#1026 Add more tags for forced commands (lazily replaced) ( #214 )
...
* #1026 Add more tags for forced commands (lazily replaced)
- Extract lazy replacement of tags to its own class
- Implement wrapper to replace a String property within an object
- Use wrapper in command manager and add new tags
* Make argument type generic in lazy tags util
2017-01-29 13:54:37 +01:00
hsombini
4d4e6b43fb
Email address field for email servers that does not use email as the auth username
2017-01-07 15:47:24 -02:00
ljacqu
f9acb3cca1
#427 Replace registration settings with one registration type property
...
- Merge "useEmail" / "usePasswordConfirmation" / "useEmailConfirmation" settings into enum property
- Migrate old settings
2016-12-15 22:36:54 +01:00
ljacqu
f6ed39b118
#411 Improve command migration handling, write tests
2016-11-24 17:39:57 +01:00
ljacqu
e83935c11e
#1003 Create test for settings migration service
2016-11-24 12:02:22 +01:00
ljacqu
e883944da2
#411 Create tests for command migration and manager, minor tweaks
2016-11-23 00:01:35 +01:00
ljacqu
87f88cb32a
#293 Fix localized command losing its children
2016-10-09 16:23:18 +02:00
ljacqu
5928aee097
#293 Add comments to help file, migrate header setting, write tests
2016-10-09 14:53:10 +02:00
Gabriele C
58c42cf300
Package cleanup
...
- authme.cache to authme.data
- Rename PlayerData to LimboPlayer to match with LimboCache
- Move authme.converter to authme.datasource.converter
- Split output package into output and message
2016-10-05 21:10:40 +02:00
ljacqu
0aac8928af
#472 Create recovery code/expiration columns and methods in data source
2016-09-10 09:13:17 +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
Gabriele C
67d53d0c3c
Ok yaml isn't happy with \n, use %nl% instead! #898
2016-08-11 22:54:13 +02:00
ljacqu
a6d885e0bb
Write tests for PlayerDataStorage
2016-07-10 23:00:58 +02:00
ljacqu
70226f7ddb
#813 Move test resources to conform to package structure
2016-07-02 10:57:30 +02:00
ljacqu
4b3ab4b116
#769 Create integration test for service initialization in onEnable()
...
- Test that services can be instantiated (e.g. no circular dependencies)
- Instantiate Messages via injection instead of manually
2016-06-19 21:16:46 +02:00
ljacqu
87331d116c
Revise converter architecture + add integration test for CrazyLogin converter
2016-05-27 23:00:44 +02:00
ljacqu
6074ba59d5
#654 Add test verifying nothing is sent for empty message
...
- Including various test simplifications
2016-04-15 12:27:34 +02:00
ljacqu
8293766f98
#421 Create SpawnLoader
...
- Non-static service class which handles the spawnpoints used in AuthMe
2016-03-12 18:25:38 +01:00
ljacqu
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
2016-02-27 11:24:47 +01:00
ljacqu
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
2016-02-22 21:52:10 +01:00
ljacqu
203e954eea
Minor test adjustments
2016-02-21 20:23:36 +01:00
ljacqu
e8d627c0e1
#392 Start integration test for SQLite
2016-02-21 10:46:13 +01:00
ljacqu
fcfe26f34d
Minor - fix incorrect javadoc and add unit test for Messages#reload
2016-02-12 23:38:00 +01:00
ljacqu
39168bc818
#482 Provide better default messages and merge MessagesManager
...
- Return message from the JAR's messages_en.yml file instead of an unusable error for the end user
- Merge MessagesManager into Messages
2016-02-11 21:27:16 +01:00
ljacqu
fbd5265a0b
#450 Fix YAML export of enum values
...
- Move writing logic to PropertyType
- Remove unused double property type
- Add sample enum property type to tests
2016-01-31 10:49:30 +01:00
ljacqu
dedb3fce26
#450 Add integration test for potentially difficult values
...
- Ensure that edge cases such as backslashes, apostrophes and new lines are handled properly by the YAML writer & reader
2016-01-28 10:38:44 +01:00
ljacqu
d0b7d0ff06
#347 Create consistency and integration tests for NewSetting
...
- Ensure that the project's config.yml contains all settings that NewSetting is aware of
- Add extensive, more generic integration tests
2016-01-08 23:20:42 +01:00
ljacqu
cb07b3df3d
Create enum property type, trivial code simplification
2016-01-04 20:33:31 +01:00
ljacqu
7d41ccbc9c
Settings: use class constants for properties, create custom writer
...
- Create Property class for defining config properties
- Create logic for typed retrival of properties from YAML file
- Add custom save method
- Retain comments from Comment annotations in the classes
- Write in a sorted order: first discovered properties are first written to config.yml
- Adjust properties to reflect the current config.yml
- Add sample tests for the retrieval and writing of properties with the new setup
2016-01-03 15:22:32 +01:00
ljacqu
dcc365c22f
Fix #349 Create method on Messages to pass tag replacements
...
- Add tests
- Fix placeholder in some files
2015-12-16 20:46:40 +01:00
ljacqu
cf4e47488b
Start refactoring for Messages class
2015-11-24 22:54:54 +01:00
ljacqu
6422f90114
Create Wrapper for instances / revise MockUtils
...
- Add test resources folder
- Create basic test for Messages (todo: add concrete tests)
- Create WrapperMock
- Change UtilsTest (todo: make it work)
2015-11-23 23:25:03 +01:00