Commit Graph

2894 Commits

Author SHA1 Message Date
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
Gabriele C
f2cafe4f25 Merge pull request #177 from DenPim/patch-2
Update messages_ru.yml
2016-11-05 14:28:44 +01:00
Den
969d660965 Update messages_ru.yml
Translated some expressions
2016-11-05 16:17:27 +03:00
Gabriele C
dd89851604 Run task closer on the main thread #992 2016-11-02 18:24:54 +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
Gabriele C
2651786456 #459 Add other accounts command + Update config docs 2016-10-30 13:01:27 +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
b3e276d277 Remove wrong header from BR help file 2016-10-29 14:00:51 +02:00
Gabriele C
5e6bfd8f5e Merge pull request #174 from DeathrushW/master
Updating Translation BR! m
2016-10-27 14:49:53 +02:00
DeathrushW
75425b439a Updating Translation BR!
messages_br:
show_no_email and email_show added

help_br added
2016-10-27 02:03:06 -02: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
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
ljacqu
b7a7d5b3bd #989 Create configuration docs page
- Create tool task to generate a doc page with the generated config.yml
- Rename tools.utils.FileUtils to FileIoUtils to avoid naming conflict with fr.xephi.authme.utils.FileUtils
- Make all doc tasks output a success message at the end
- Update all docs pages that have changed
2016-10-23 18:29:42 +02:00