ljacqu
e2f2ff0763
#1874 Output number of loggers in /authme debug stats
2019-08-11 11:36:28 +02: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
ljacqu
58e04556ee
Checkstyle: Add 'WhitespaceAfter' check, fix some violations
2018-09-01 08:38:14 +02:00
ljacqu
847991b658
#1474 Don't log /email changepassword command (exposes password)
2018-01-21 19:06:51 +01:00
ljacqu
1f8307c8f6
Fix minor checkstyle issues
...
- Add JavaDoc where checkstyle expects it
- Fix line too long issues
- ...
2017-05-07 11:59:01 +02:00
ljacqu
4edb4e68c2
#1104 Whitelist sensitive commands also when used with "authme:" prefix
2017-02-21 22:51:45 +01:00
ljacqu
922101d755
#1104 Filter all sensitive command aliases in console filters
2017-02-20 22:09:36 +01:00
ljacqu
7d65d2a7c4
Fix various code issues as detected by Sonar
...
Mostly minor changes:
- Add deprecated javadoc tag on deprecated members
- Reduce duplication (FlatFile, BackupService, ...)
- Make methods static
- Reduce size of anonymous classes
- Replace name with displayName in PermissionsSystemType (avoids confusing with Enum name())
- Tabs to spaces
- Merge if statements
Code from third-party sources (BCryptService, BinTools, PHPBB) not modified.
2016-11-22 18:20:55 +01: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
c78acee6e0
#472 Add translatable messages and unit tests
2016-09-16 23:18:32 +02:00
Lucas Jacques
3abb0b5ac4
Messages: simplify public interface, split to array as last operation
2016-08-12 17:37:15 +02:00
Gabriele C
67d53d0c3c
Ok yaml isn't happy with \n, use %nl% instead! #898
2016-08-11 22:54:13 +02:00
Gabriele C
2f9a4e0eda
Use \n as new line code instead of &n! #898
2016-08-11 22:37:27 +02:00
ljacqu
19de5a0525
Close #449 Rename NewSetting class to Settings :)
2016-07-23 15:50:40 +02:00
ljacqu
a8df8ceb09
#605 Add custom log levels, create debug logging method
...
- Log levels in the log file too
- Create migration from old boolean "stop spam" property to new log level property
2016-07-22 17:45:00 +02:00
ljacqu
e7b980d435
#605 Logger - name methods after their log level
...
- Remove separate print stacktrace method
- Log level into the log similar to console output
2016-07-12 22:06:32 +02:00
ljacqu
aa6fe3e874
Rename method on SettingsDependent
...
- Rename loadSettings to reload
- Make ProtocolLibService only implement SettingsDependent, not Relaodable alongside
2016-07-09 09:24:25 +02:00
ljacqu
3984208548
#797 Make two messages translatable
2016-07-02 21:52:50 +02:00
Gabriele C
a998354fa2
Project cleanup
2016-06-26 16:19:55 +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
043ee90254
#423 Make seeownaccounts / seeotheraccounts messages translatable
2016-06-13 21:45:21 +02:00
Gabriele C
e12ae2cf96
Use spaces, finish working on #423 , import cleanup
2016-06-13 16:13:03 +02:00
Gnat008
ac4add9f54
add ability to tempban users after x wrong logins - ref #520 #192
2016-06-12 13:40:34 -04:00
ljacqu
55f7e8097a
#743 Add proper error message for "invalid chars in password"
...
- Change password validation to return a ValidationResult object for passing message arguments
- Remove wrapping methods in ProcessService and CommandService and use ValidationService directly
2016-06-03 12:51:49 +02:00
Gabriele C
52c0c7dd64
playerlistener cleanup
2016-05-29 16:34:03 +02:00
Gabriele C
740b44ca36
cleanup
2016-05-23 23:49:56 +02:00
Gabriele C
e0ef0e40c7
Add denied chat message #719
2016-05-21 18:01:21 +02:00
ljacqu
e04f7dc711
#704 Implement reloading via injector
...
- Create interfaces Reloadable and SettingsDependent to recognize reloadable classes
- Iterate through instances in injector to reload
2016-05-12 19:51:10 +02:00
Gabriele C
b825f52a16
Ignore message if string is empty
2016-04-14 18:09:38 +02:00
DNx
6f8b970c5c
Update Log4JFilter.java
2016-03-31 20:20:11 +07:00
DNx
2c995168e3
this one, for sure.
2016-03-31 19:49:52 +07:00
DNx
b8336e31a6
Fix test.
2016-03-31 19:45:11 +07:00
DNx5
0fc15b8105
Fix removePassword option not working on KCauldron.
2016-03-31 19:16:05 +07:00
Gabriele C
e4d2747fae
Finally fix #570
2016-03-03 21:05:19 +01:00
Gabriele C
681e352bdc
Fix #570 add max_acc and reg_acc placeholders
2016-03-02 17:06:02 +01:00
Xephi59
e88b4eda53
Add %acc_nb tag to max_reg message - Fix #570
2016-02-28 00:36:06 +01:00
ljacqu
b916c9b2be
Fix javadoc warnings + #421 add javadoc for new API
2016-02-27 16:31:58 +01:00
ljacqu
72cf294056
Allow retrieval of messages with tag replacement
2016-02-22 20:32:44 +01:00
Edson Passos
bfc8058b03
Make "user other case" translatable
...
(cherry picked from commit ed5498e)
2016-02-22 20:23:30 +01:00
ljacqu
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
2016-02-20 12:12:24 +01:00
ljacqu
f5b5595f08
#525 Make "not owner" kick reason translatable
2016-02-14 21:46:47 +01:00
ljacqu
fcfe26f34d
Minor - fix incorrect javadoc and add unit test for Messages#reload
2016-02-12 23:38:00 +01:00
ljacqu
ea93a336c3
Minor - fix Javadoc warnings
2016-02-11 23:09:23 +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
games647
6a75184ad9
Add 2fa support
2016-02-07 00:49:18 +01:00
ljacqu
b4b679d3b9
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 437-add-email
...
Conflicts:
src/main/java/fr/xephi/authme/datasource/MySQL.java
src/main/java/fr/xephi/authme/datasource/SQLite.java
src/main/java/fr/xephi/authme/process/Management.java
src/main/java/fr/xephi/authme/process/email/AsyncChangeEmail.java
2016-02-06 18:01:23 +01:00
ljacqu
e747dfeb7f
#450 Make reload & messages functionality use NewSetting
...
- Change ReloadCommand to use the new setting functionality
- Check and construct the messages file in NewSetting
- Unrelated: change MessagesManager not to extend CustomConfiguration anymore
2016-01-31 09:55:02 +01:00
ljacqu
b0ba893827
#437 Add/change email should check if email is already used
...
- Untested/incomplete implementation
2016-01-17 20:41:19 +01:00
DNx5
642a40724b
Used Bukkit API to format color codes.
2016-01-09 05:40:03 +07:00
DNx5
d6ab7d5da8
Ask player to change email if email already added.
2016-01-07 07:24:26 +07:00