ljacqu
1e3ed795c1
#1141 2FA implementation fixes
...
- Merge TotpService into TotpAuthenticator
- Add missing tests
- Migrate old 2fa enabled key to new one
2018-05-01 22:49:07 +02:00
ljacqu
495cfc69a9
#1141 Move TOTP code during login as separate step: /2fa code
...
Rough version.
- Introduces a limbo player state on the LimboPlayer, allowing us to add further mandatory actions between successful (password) authentication and the ability to play on the server
2018-03-20 23:06:08 +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
ljacqu
189647d9f2
#1467 Fix character issues by always using UTF-8 when reading and writing
...
- Change usages of Bukkit's FileResource to a ConfigMe PropertyReader
- Specify UTF-8 for reading and writing
2018-02-11 09:22:42 +01:00
ljacqu
1d6d9eb764
#1467 Rearrange old keys migration so no entries get lost
...
- 'error' was an old entry but now we have multiple entries under 'error' (which is now a section), so we need to ensure that we migrate the old 'error' entry before the migration sets anything under that path
2018-02-02 19:40:28 +01:00
ljacqu
f44353ed4c
#1467 Fix messages verification tool task + remove empty messages in YML files
2018-02-01 23:09:08 +01:00
ljacqu
f67ddb0c77
#1467 Migrate all message files, make sure migrater keeps predefined order
2018-02-01 20:23:06 +01:00
ljacqu
abd19cdb86
#1467 Fix error in placeholder migration, create and fix tests
2018-01-29 22:15:39 +01:00
ljacqu
760a2a909c
#1467 Fix export issues (style, encoding)
...
- Override yaml file resource to ensure that lines aren't wrapped
- Override yaml file reader to ensure the file is always read as UTF-8
2018-01-29 21:46:58 +01:00
ljacqu
f714e9d564
#1467 Change message keys and messages_en to new structure
2018-01-29 20:56:30 +01:00
ljacqu
820e443b81
#1467 Implement messages file migration
...
- Create messages updater called when a messages YML file is loaded
- Work in progress
- Does not yet include changes to any message keys
2018-01-24 22:19:25 +01:00