ljacqu
76e6d757da
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 293-translate-help-messages
2016-10-09 15:39:50 +02:00
ljacqu
5928aee097
#293 Add comments to help file, migrate header setting, write tests
2016-10-09 14:53:10 +02:00
ljacqu
26716b0f79
#293 Create class for handling messages from file with fallback
...
- Move logic for loading a messages file with a default fallback into one class
- Remove message-specific handling from Settings class
2016-10-07 23:38:30 +02:00
Gabriele C
7b5a857f74
Remove useless packages
2016-10-07 19:19:12 +02:00
Gabriele C
ac7bb5c0f6
Configurable antibot delay + delay only on startup
...
#970
2016-10-05 22:11:13 +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
06d61db7f0
#822 Minor - fix Essentials userdata folder in config comment
2016-10-01 14:47:31 +02:00
ljacqu
4eab258993
#937 Add option for AuthMe to run in sync
...
- Create BukkitService#runTaskOptionallyAsync and BukkitService#scheduleSyncTaskFromOptionallyAsyncTask whose behavior depends on a new setting
- Use the new methods where applicable
- Declare events async or sync depending on the new setting
2016-09-18 21:58:14 +02:00
ljacqu
f804b528e5
Change message verification task to add todo comments in same order
...
- Make verification task add todo comments to YML files in the same order as the MessageKey enum
- Use DefaultCharsets everywhere instead of Guava's Charsets class (thanks to DNx5)
2016-09-17 10:56:30 +02:00
ljacqu
c78acee6e0
#472 Add translatable messages and unit tests
2016-09-16 23:18:32 +02:00
ljacqu
e30d7220bd
#472 Store recovery codes in memory instead of in data source
2016-09-16 21:42:16 +02:00
ljacqu
bff344ba8f
#472 Recovery code: allow to configure length, expiration and email
2016-09-10 16:39:35 +02:00
ljacqu
0aac8928af
#472 Create recovery code/expiration columns and methods in data source
2016-09-10 09:13:17 +02:00
ljacqu
3a2aa05137
Fix settings migration using boolean from old property #927
...
- ConfigMe's PropertyResource#getString only returns a String if the value is indeed a string, whereas Bukkit's FileConfiguration#getString will return whatever the value is as a string -> not a good idea to use PropertyResource#getString to get an old boolean property's value if it is still present
2016-09-04 16:00:04 +02:00
ljacqu
25780ede89
#927 Use 0.1 version and adjust to changes from ConfigMe
2016-09-04 15:32:58 +02:00
ljacqu
09f403f357
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into configme-integration
...
Conflicts:
pom.xml
2016-09-04 15:25:58 +02:00
Gabriele C
803653ee0d
Add default DeathBot password as unsafe
2016-09-03 15:40:47 +02:00
ljacqu
34a2b46768
#927 Fix Settings initialization and failing tests
2016-09-03 11:30:03 +02:00
ljacqu
36dfab636a
#927 Update code to recent changes in ConfigMe
2016-08-31 22:19:27 +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
ljacqu
33eab1df21
#876 Make expiration configurable and implement cleanup for old entries
2016-08-28 12:12:46 +02:00
DNx5
78708354e1
- Set group to empty if permissions manager has no group support.
...
- edited comment for config node "permission.EnablePermissionCheck"
2016-08-19 18:40:47 +07:00
Gabriele C
306ebe3631
Whoops
2016-08-07 12:07:17 +02:00
Gabriele C
168186321c
Add setting to remove quit messages for unlogged players
...
#833
2016-08-07 12:04:20 +02:00
Gabriele C
54c2d3e6e9
Fix 1.7 (pre UUID) compatibility
2016-08-04 12:01:30 +02:00
ljacqu
19de5a0525
Close #449 Rename NewSetting class to Settings :)
2016-07-23 15:50:40 +02:00
ljacqu
bcc31afb90
#761 Add group options as Property objects and #449 remove legacy Settings class
2016-07-23 15:34:48 +02:00
ljacqu
18a9fbaa26
#449 Migrate remaining non-group legacy Settings
2016-07-23 14:44:52 +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
Gabriele C
b439a0391c
Add option to apply the protection also to registered users #860
2016-07-16 21:10:29 +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
d8f6fb085e
Cleanup - remove unused elements in code
2016-07-04 21:53:22 +02:00
ljacqu
ea6603a6dc
Fix registered players being teleported to first spawn, fix player losing his speed
2016-07-04 21:38:23 +02:00
DNx5
deffcb3e2b
- Renamed JsonCache to PlayerDataStorage
...
* the methods inside it renamed to fit with class name
* cache folder changed into playerdata
- Renamed LimboPlayer to PlayerData
- Added fly speed to PlayerData
- Removed player's name from PlayerData object
- Added getPlayerLocationOrSpawn method in spawn loader.
2016-07-03 21:52:46 +07:00
DNx5
7ea0763966
Merge remote-tracking branch 'origin/master' into jsoncache-fix
...
Conflicts:
src/main/java/fr/xephi/authme/settings/Settings.java
2016-07-03 19:53:55 +07:00
ljacqu
a9574d2363
#819 Email text migration - migrate %tag% style placeholders as well
2016-07-02 22:22:03 +02:00
ljacqu
d2556b8a04
#817 Sessions timeout - remove mention of 0 = unlimited in config comments
2016-07-02 19:39:13 +02:00
ljacqu
22911a0bb9
Remove duplicate column initialization code, add datasource integration tests
...
- Drop initialization of all columns on table create in favor of checking each column individually. This is slower but guarantees that each column is only defined once in the code. Columns are only created once so having clean code outweighs performance.
- Write more datasource integration tests
2016-07-02 19:16:26 +02:00
games647
bc9717d650
Remove tablist hider because it's useless and produces too much issues
...
(Related #810 )
2016-07-02 12:27:07 +02:00
Gabriele C
b1b56f2d51
Cleanup, updated some settings
2016-06-29 15:56:55 +02:00
ljacqu
1361174892
Encapsulate GeoLiteAPI class
2016-06-27 21:32:52 +02:00
ljacqu
df060ff29c
Remove legacy setting + remove obsolete todo comment (wontfix #492 )
...
- Remove migrated legacy setting
- Remove months old todo comment
- Remove large chunk of commented out code and merge two explanations
2016-06-25 01:14:01 +02:00
ljacqu
ac484345a2
Change password task to async process
...
- Perform async change password task just like other async processes: via Management
- Remove legacy setting
- Remove now unused service getter (#736 )
2016-06-15 20:56:34 +02:00
EbonJaguar
b7015f56c2
kick player on tempban, change setting comments to better reflect the process
2016-06-13 14:55:25 -04:00
Gnat008
ac4add9f54
add ability to tempban users after x wrong logins - ref #520 #192
2016-06-12 13:40:34 -04:00
ljacqu
d6e1fd5ceb
Use injection in and for LimboCache, migrate some legacy settings, remove setGroup from Utils
...
- New injector method allows to retrieve services if they've already been instantiated -> useful for onDisable() which might be run after aborted initialization
- Deprecate various methods that need to be removed
2016-06-12 16:14:34 +02:00
ljacqu
68d5145cd7
#729 Refactor spawn handling into separate service (work in progress)
2016-06-12 12:46:03 +02:00
ljacqu
12703d1613
#601 Integrate plugin manager
...
- Encapsulate captcha functionality into a class instead of two public fields on the AuthMe main class(!)
- Let CaptchaManager worry about whether it is enabled or not -> no need to check on the outside
- Implement full reloading support to enable/disable captchas + parameters
- Add unit tests
2016-06-03 22:47:17 +02:00
Gabriele C
6c0dec887a
try to fix javadoc
2016-06-03 00:27:06 +02:00
Gabriele C
eafb3b6653
cleanup
2016-06-03 00:07:25 +02:00