ljacqu
8ae06ed480
Minor improvements to config layout
...
- Change placement and comment of settings.restrictions.banUnsafedIP to make it clear that it only bans unknown IPs using a restricted username
- Move "MySQL use SSL" option outside of the column options
2017-02-05 13:48:24 +01:00
ljacqu
3eab42ae68
Remove obsolete "session expires on IP change" config
...
- Session always expire on IP change; the config only controlled whether an error message was shown or not
2017-02-05 13:40:11 +01:00
ljacqu
f6c560cbbe
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 761-permission-groups
2017-02-04 23:05:31 +01:00
ljacqu
f6b08ece68
Trivial code householding
...
- Convert field to local variable
- Remove unused constructor parameter
- Move limbo class into limbo package
2017-01-30 21:53:00 +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
bba35944b9
Merge branch '5.3-DEV' of https://github.com/AuthMe-Team/AuthMeReloaded
...
Conflicts:
pom.xml
2017-01-29 14:45:42 +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
ljacqu
12566f03ef
Fix country code link in config comment
2017-01-29 12:40:20 +01:00
ljacqu
56017c81d0
Minor - don't perform registration settings migration if old path doesn't exist
...
- Migration was otherwise performed if config.yml was blank, which produces confusing output
2017-01-22 13:14:26 +01:00
ljacqu
367380265e
#1015 Distinguish player-dependent tags from "simple" tags
2017-01-22 10:52:51 +01:00
ljacqu
811bdee128
#1015 Implement lazy replace of tags for welcome message
...
- Check which tags are used when loading the welcome message and only apply their replacements afterwards
- Moves AuthMe#replaceAllInfo to a more appropriate place
- Avoid fetching data again for each line
2017-01-22 10:52:51 +01:00
Gabriele C
26194d676d
#1063 Add useSSL option
2017-01-14 22:14: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
47e6cc4885
#1044 Fix custom join message feature; change default to empty string
2017-01-07 11:34:58 +01:00
ljacqu
deb5c65f89
#1055 Add link to Wiki registration page in config, update translations page
2017-01-07 11:08:45 +01:00
ljacqu
385f7d6b1d
#1055 Remove multiple "please register" messages
...
Part 1:
- Use only one message entry for "Please register", that may have to be adapted to reflect the proper /register arguments
- Remove other message entries from code and from the messages files
Breaking change: reg_email_msg is also removed
2017-01-07 09:01:03 +01:00
Gabriele C
dcf046dfc5
Add option "customJoinMessage" #1044
2017-01-05 01:39:24 +01:00
ljacqu
429088a42f
commands.yml: Fix executor property name in comments
2017-01-02 16:32:24 +01:00
ljacqu
0b4d7273f6
#427 Define registration type with two options - one configuring the 2nd argument
...
- Split sole setting to two: one defining the registration type, and one defining what the register command should take as second argument
- Contains ugly code that will be fixed with a later issue
2016-12-31 15:34:40 +01:00
ljacqu
e905ff3013
#427 Make email option for /register [pass] [email] variant
2016-12-27 15:37:52 +01:00
ljacqu
d717f75bb4
#1014 Use ConfigMe improvements to create custom Enum set property
2016-12-23 23:51:23 +01:00
ljacqu
9ce680f56e
Merge remote-tracking branch 'origin/master'
2016-12-23 23:22:19 +01:00
ljacqu
5f8a19223f
Update ConfigMe and Mockito version
2016-12-23 23:22:05 +01:00
koca2000
4a2e0d4216
#427 Add message entry for each registration type
...
* Added message for /register password email
* Added messages for /register password and /register email commands
2016-12-23 14:39:43 +01:00
ljacqu
a52fb95656
#427 Implement /register [pass] [email] variant
2016-12-17 15:09:31 +01: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
2bd5fcde3c
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 411-forced-commands
2016-11-28 21:57:09 +01:00
ljacqu
808ed84269
#411 Finalize forced commands implementation
2016-11-28 21:51:31 +01:00
ljacqu
79a3858b29
#685 Allow to configure number of rounds for PBKDF2
2016-11-26 18:41:04 +01:00
ljacqu
122c6586bc
#685 Add php implementation for PBKDF2
...
- Create php sample for PBKDF2
- Rename pbkdf2 java classes (remove Crypt prefix)
- Remove options from hash setting comment that should not be used
2016-11-25 16:41:55 +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
1370352679
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 411-forced-commands
2016-11-22 22:05:13 +01:00
ljacqu
d2a28bdaed
#850 Fix export of legacy hashes property
...
- Ugly workaround due to #1014 : need to have EnumSetProperty extend from StringListProperty type so that it is exported in a proper manner (as a string list). To get an enum Set we need to call a dedicated method on EnumSetProperty for the time being.
2016-11-22 22:02:34 +01:00
ljacqu
254655abdb
#411 Migrate settings to new structure (work in progress)
...
- Work in progress: config.yml cannot be loaded after migration
2016-11-22 21:16:56 +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
ljacqu
4214c6dc80
#411 Forced commands: initial implementation
2016-11-17 21:02:01 +01:00
Gabriele C
b53f71706a
Join process cleanup, change some default settings (should improve performance and security with default settings)
2016-11-15 18:41:27 +01:00
Gabriele C
cf04ec6082
Fix wrong config description for #459
2016-11-13 13:35:19 +01:00
ljacqu
ed29ae2318
Update readme and name (un)restriction setting comments ( #652 )
...
- Add missing language code to readme
- Remove Gource video from readme (now over a year old)
- Improve property comments for name restrictions and unrestrictions
2016-11-13 12:27:52 +01:00
ljacqu
bb89a59a8a
#850 Add setting specifying which password hashes should be checked
2016-11-13 10:37:01 +01:00
Gabriele C
2651786456
#459 Add other accounts command + Update config docs
2016-10-30 13:01:27 +01:00
Gabriele C
31d8b38fe5
#826 add setting to define the antibot interval
2016-10-23 22:05:10 +02:00
Gabriele C
0fc04e2bcf
#823 Change default minimum username length to 3
2016-10-23 21:45:12 +02:00
Gabriele C
3216a7ab27
#987 Add "help" as default unsafe password
2016-10-23 21:40:01 +02:00
ljacqu
9466577993
#989 Ensure config comments never exceed 90 chars
...
- Prevents horizontal scrollbar on markdown page (and in users' editors)
- Add test that each property is accompanied with a comment
2016-10-23 21:12:49 +02:00
Gabriele C
1867617dbb
Add option to override dbcp size
2016-10-22 00:46:28 +02:00
ljacqu
995d4acda2
Upgrade to ConfigMe 0.2
2016-10-16 20:08:52 +02:00
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