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
dfad0211b7
Fix language for 'lt': it's Lithuanian
2016-12-26 14:57:29 +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
92f71d47c2
Merge branch '427-register-with-pass-and-email' of https://github.com/AuthMe-Team/AuthMeReloaded
2016-12-21 21:39:30 +01:00
ljacqu
370d203873
#830 Write tests for registration process
2016-12-18 13:11:56 +01:00
ljacqu
398fa4d38d
#830 Refactor registration process
...
- Introduce registration executors: one for each registration variant; each extending class implements one registration variant and worries about that method's details only
- AsyncRegister receives the player and a registration executor
2016-12-17 21:59:34 +01:00
ljacqu
a52fb95656
#427 Implement /register [pass] [email] variant
2016-12-17 15:09:31 +01:00
ljacqu
cb64e83988
Fix wrong HTML entity replacement in tool task
2016-12-17 13:51:44 +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
Alexandre Vanhecke
811ceaf7ff
Fix merge from master
2016-12-15 21:36:45 +01:00
Alexandre Vanhecke
fae7286776
Merge branch 'master' into 745-captcha-login-message
2016-12-12 17:58:37 +01:00
ljacqu
e8692160c5
Remove unused import/export messages tool tasks
2016-12-11 10:31:49 +01:00
ljacqu
5b6d0f5d97
Create tool task that adds javadoc to the MessageKey entries
2016-12-11 10:17:26 +01:00
ljacqu
5a4e827893
#960 Send message to player if email could not be sent
2016-12-11 09:47:48 +01:00
ljacqu
2d27c0cbb6
Add Romanian translation
2016-12-04 16:26:13 +01:00
ljacqu
c325d0db41
Merge CommandService and ProcessService to CommonService
...
- Replace CommandService and ProcessService with CommonService: a service that offers our typical needs to work with settings, messages and permissions
- Remove validation methods from CommonService: inject ValidationService directly. Validation methods are not used very frequently and therefore don't belong in CommonService. Their presence was a relict from our architecture before injection was used.
2016-12-03 12:10:30 +01:00
ljacqu
a38d3a25b8
Update Mockito version
2016-12-01 19:41:31 +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
de5324bbc6
#685 Fix PBKDF2 implementation
...
- Fix our PBKDF2 hash implementation and its test class
- Use external dependency as PBKDF2 implementation
2016-11-25 15:51:15 +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
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
dda7bd5cb5
#1008 Check that OfflinePlayer's name is not null
...
- Add check
- Create test
2016-11-19 17:36:05 +01:00
ljacqu
30343d7587
Do not modify player's air level before he logs in
2016-11-19 15:25:41 +01:00
ljacqu
5b51ecb0dd
Minor: pass null as migration service in tests if no migration should occur
2016-11-19 11:04:12 +01:00
ljacqu
a196420eca
Fix AuthMe initialization test after update to 1.11
2016-11-17 22:07:39 +01:00
Gabriele C
2fbf8b6c71
Use 1.11
2016-11-17 21:53:28 +01:00
ljacqu
4214c6dc80
#411 Forced commands: initial implementation
2016-11-17 21:02:01 +01:00
Gabriele C
e9f274aa89
Cleanup
2016-11-15 19:00:00 +01:00
ljacqu
5dda439bed
Move RandomStringUtilsTest to correct package
2016-11-13 10:49:51 +01:00
ljacqu
bb89a59a8a
#850 Add setting specifying which password hashes should be checked
2016-11-13 10:37:01 +01:00
Gabriele C
5e0ee51692
Revert "Use custom async thread execution pool"
...
This reverts commit a574245bb9e6760724d32c5ba61bbe25a50ada94.
2016-11-07 00:48:50 +01:00
Gabriele C
a574245bb9
Use custom async thread execution pool
...
The new pool has a limited thread size (cpu core count - 1) and should
avoid bot attacks to crash the machine.
2016-11-07 00:47:07 +01:00
ljacqu
1b1f6786da
#974 Improve plugin.yml consistency test checking of permission children
2016-11-02 14:46:24 +01:00
ljacqu
5cce7e1fae
Update version of ConfigMe, Mockito and sqlite-jdbc
2016-10-30 14:05:22 +01:00
ljacqu
46af922fba
Minor refactoring for tool tasks
...
- Don't scan for translations on initialization in TranslationPageGenerator in order to speed up startup time of ToolsRunner
- Extract checking for null / empty array of File#listFiles into a separate method
- Move single method of RuntimeUtils into Utils class
2016-10-30 10:43:59 +01:00
ljacqu
195e409efd
Add configurable antibot interval ( #826 ) lost while merging master
...
- Add interval configuration
- Small refactoring: make OnJoinVerifier not call antibot if a PlayerAuth is available
2016-10-30 09:24:31 +01:00
ljacqu
7a43703d52
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into antibot-improvement
...
Conflicts:
src/main/java/fr/xephi/authme/service/AntiBotService.java
2016-10-30 08:58:26 +01:00
Gabriele C
31d8b38fe5
#826 add setting to define the antibot interval
2016-10-23 22:05:10 +02:00
ljacqu
50610f6305
#979 Provide more succinct error messages for missing command entries
...
- Show only one error message if a command section is missing altogether
- Remove "commands." prefix in missing command errors
2016-10-23 21:50:44 +02:00