Commit Graph

2584 Commits

Author SHA1 Message Date
HexelDev 900e8f2415 Updated messages 2018-03-15 21:44:49 +01:00
HexelDev 048a47ce6e Fixing PLayerListener kick message/tests 2018-03-15 21:43:36 +01:00
HexelDev 55b6f67550 JavaDocs 2018-03-15 20:20:40 +01:00
HexelDev d2fbf12c3c Merge branches '642-kick-on-fast-commands' and 'master' of https://github.com/AuthMe/AuthMeReloaded into 642-kick-on-fast-commands 2018-03-15 19:47:11 +01:00
ljacqu fddb3bf265 Fix minor Checkstyle violations
- Mostly missing JavaDoc, some line lengths
2018-03-11 19:08:21 +01:00
HexelDev fe4d5e7c0d Saving user join and check on command 2018-03-10 19:13:23 +01:00
ljacqu 15f49dcbb3 Merge branch 'global-replacements' 2018-03-10 16:59:56 +01:00
ljacqu 1a53cd11b2 #829 Move CommandSender / name to first argument to avoid confusion with varargs
- Overloaded method with (String, String...) as args was problematic as it could be confusing on its own and also confusing with the (CommandSender, String...) flavor
2018-03-10 16:58:30 +01:00
Maxetto 7a3e2e9f71 Use spaces instead of tabs 2018-03-07 19:37:20 +01:00
Maxetto bc4cb5046d Fix yet another build 2018-03-07 19:29:24 +01:00
Maxetto 9b7139a17a Add Display Name tag replacement too
#1509
2018-03-07 19:08:36 +01:00
HexelDev 844bd24221 Fixed minor code issues 2018-03-05 21:00:24 +01:00
HexelDev 11d039c818 space after 'if'(s) 2018-03-05 20:20:25 +01:00
Maxetto f9d1a3aef2 Those were not meant to be there 2018-03-05 19:42:43 +01:00
Maxetto 00de15016a Follow remarks
#1509
2018-03-05 19:38:24 +01:00
HexelDev 57809194f3 Renaming function hasValidSessionData -> fetchSessionStatus 2018-03-04 19:45:05 +01:00
HexelDev be2c6ae116 Fixing tests 2018-03-04 19:23:08 +01:00
HexelDev 9db38a3bf4 SessionService#hasValidSessionData description update 2018-03-04 18:38:46 +01:00
HexelDev 5abc9b9d45 'session expired' message spam fix 2018-03-04 18:36:21 +01:00
HexelDev c0e1b8082f #642 - Quick Command Protection manager 2018-03-04 17:32:16 +01:00
games647 914c4adc0b Fix ProtocolLib services are disabling after authme reload
Using the previous else branch we would always call unregister if the feature
was enabled before.
2018-03-04 14:29:08 +01:00
Gabriele C 930f5609bf Merge pull request #1513 from Maxetto/patch-3
Fix last commit
2018-03-02 13:43:59 +01:00
Maxetto 6c168b6b13 Fix last commit 2018-03-02 12:18:36 +01:00
Gabriele C 9f978ef53a Merge pull request #1512 from Maxetto/patch-3
Remove VIP status to OP by default
2018-03-02 03:33:08 +01:00
Maxetto fe075a5c60 Remove VIP status to OP by default
Closes #1040.
2018-03-01 18:04:30 +01:00
Maxetto 3541f21985 I forgot this wasn't Apache's StringUtils 2018-02-28 18:25:50 +01:00
Maxetto 2aaf58182c Be able to replace sender name in every message
Closes #829
2018-02-28 16:18:08 +01:00
ljacqu 8d5afa7fbc Minor: Use CommonService for permission lookup
- Some changes found in a very old patch :) - drop injection of PermissionsManager in favor of CommonService
- Rename IsEqualByReflectionMatcher's method to something more specific to differentiate it better from Hamcrest's equalTo() matcher
2018-02-23 23:37:24 +01:00
ljacqu 329657bd5f #1497 Show specific message for invalid YAML files (#1506)
* #1497 Throw dedicated exception for invalid YAML files and handle it on startup
- Wrap SnakeYAML exceptions when loading config.yml and commands.yml on startup into own exception type
- Handle exception type on startup with specific error message

* #1497 Fix inaccurate JavaDoc comment
2018-02-23 23:31:22 +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 83e247afe9 Minor: Simplify check for Spigot 2018-02-17 23:23:44 +01:00
ljacqu 90400650c3 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1467-message-keys-hierarchy 2018-02-17 23:08:39 +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
Gabriele C 1626274e9d Try to solve #1498 2018-02-12 23:37:22 +01:00
Gabriele C 9ef5a983cc Fix #1482 2018-02-12 23:00:10 +01:00
ljacqu ffeb04c0a2 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1467-message-keys-hierarchy
Conflicts:
	src/main/resources/messages/messages_ko.yml
2018-02-11 09:47:07 +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
Adeuran 8186300349 Update messages_ko.yml (#1499)
* Update messages_ko.yml

Additional Translate by Adeuran(아몬드노란맛 http://adeuran.tistory.com)

* Some of Korean Translate to English

자동가입방지문자 -> CAPTCHA

* Update messages_ko.yml
2018-02-07 19:12:06 +01:00
sgdc3 6a5f335e16 Implement #1483 2018-02-04 15:12:23 +01:00
ljacqu cd61febd76 #1467 Change /authme messages to only update help text file now 2018-02-02 20:12: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 dfe47066cd Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1467-message-keys-hierarchy 2018-01-29 20:04:38 +01:00
sgdc3 a92084ec60 Fix the deploy system 2018-01-29 15:08:59 +01:00
games647 be55437287 Use the correct javadoc deprecated tag for the lastlogin method 2018-01-27 22:56:42 +01:00
ljacqu 1eaf321575 #1467 Try to clean up abstract message file handler hierarchy
- Move some handling with the default file configuration down to the help message file handler since it is the only one with such a behavior now
2018-01-25 21:48:48 +01:00