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
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
ljacqu
7054c087f1
Integrate Romanian corrections and additions by @nicuch
2016-12-11 08:18:03 +01:00
DNx5
2586963780
Remove redundant Optional usages
2016-12-06 01:24:36 +07: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
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
RatchetCinemaESP
57e7c71d72
Mini update messages_es.yml ( #185 )
...
Fix mini error in:
74# incomplete_email_settings
2016-11-24 11:18:14 +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
8685e50988
Update Polish translations (TODO)
...
All translations are correct.
(cherry picked from commit b3882ed)
2016-11-20 17:45:29 +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
RatchetCinemaESP
91aa5dc251
Update messages_es.yml ( #183 )
...
I have translated:
77 #email_show
78 #show_no_email
A greeting!
2016-11-19 14:23:38 +01:00
ljacqu
b20d2fcd69
#1000 Add Polish messages by @RikoDEV
2016-11-19 11:45:07 +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
Gabriele C
3ce6d06f1c
Merge pull request #181 from AuthMe/1.11
...
Udate to 1.11 APi
2016-11-18 02:02:29 +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
ljacqu
40cf79d2c1
Copy surefire xml files to CircleCI junit folder
...
cf. https://circleci.com/docs/test-metadata/#maven-surefire-plugin-for-java-junit-results
2016-11-17 20:48:53 +01:00
ljacqu
44a8764115
Do not use master for experiments that break the build
2016-11-17 20:42:55 +01:00
Gabriele C
92c4c18da4
1.11: does it compile?
...
I'm from mobile but i'm curious :P
2016-11-17 13:22:12 +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
15ff9ae442
Update dependencies + update README
2016-11-15 17:29:00 +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
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
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 a574245bb9
.
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