ljacqu
e905ff3013
#427 Make email option for /register [pass] [email] variant
2016-12-27 15:37:52 +01:00
games647
f4b999217c
Fix sending empty inventories on logout for versions above 1.11
...
(Fixes #1039 )
2016-12-26 10:44:09 +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
Xephi59
de97c60b5d
FixMe from Gnat008 : Add PermissionsBukkit groups support
2016-12-20 21:35:26 +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
5b6d0f5d97
Create tool task that adds javadoc to the MessageKey entries
2016-12-11 10:17:26 +01:00
ljacqu
b3a8c726cf
Use Optional in CacheDataSource again
...
- An exception is thrown e.g. when running '/authme email player' where 'player' does not exist because CacheLoader#load may not ever return null (see Javadoc). Therefore, we are forced to wrap the PlayerAuth in an Optional.
- Use Java 8 Optional instead of Google's
2016-12-11 09:55:47 +01:00
ljacqu
5a4e827893
#960 Send message to player if email could not be sent
2016-12-11 09:47:48 +01:00
DNx5
2586963780
Remove redundant Optional usages
2016-12-06 01:24:36 +07: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
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
86db805c15
Merge branch '685-fix-pbkdf2' into master
2016-11-26 18:40:19 +01:00
ljacqu
5ec1c3fe24
#1018 Load group names when AuthGroupHandler is constructed
2016-11-26 16:34:14 +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
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
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
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
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
fabd77f548
#1006 Player speed workaround
2016-11-14 19:07:50 +01:00
Gabriele C
3362cf7b95
Fix wrong logic #459
2016-11-13 13:36:50 +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
ljacqu
0a9afbe457
#999 Mail: explicitly map MIME types to Java classes
2016-11-12 20:05:48 +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
72853a382f
Initialization cleanup: use provider classes for Settings and DataSource
...
- Separate provider methods from other tasks performed on startup
- No longer requires BukkitService to be instantiated manually
- Merge MetricsManager and Initializer into OnStartUpTasks
2016-11-06 18:51:07 +01:00