Alexandre Vanhecke
8fe92da119
#1150 - Add Argon2 support
...
- Add argon2 implementation
- Extract argon2 library check to method on Argon 2
- Add link to Wiki page on errors
- Check within Argon2Test if the test cases should be run, not in the abstract parent
2017-10-23 00:10:48 +02:00
Kacper Duras
90a7b47217
Improve Polish translation in help messages. ( #1376 )
...
* Improve Polish translation in help messages.
* Typo, `rerejestracja` -> `rejestracja`.
2017-10-22 22:48:14 +02:00
ljacqu
78e2763984
Help translations: remove entry for /authme purge second argument (no longer exists)
...
- Remove unknown entries as found by the verifyHelpTranslations tool task
2017-10-22 09:51:32 +02:00
ljacqu
b211c97395
Minor: delete PlainText implementation
...
- It never gets used anymore and could cause security issues if we did accidentally use it as EncryptionMethod
2017-10-22 09:27:03 +02:00
ljacqu
d6e2369f36
#792 Force migration of SQLite when necessary ( #1371 )
...
- Detect if a migration is necessary
- Create a backup
- Perform the migration
2017-10-22 09:16:48 +02:00
ljacqu
c37c0ce436
Fix CodeClimate config test to account for new test exclusion entry
2017-10-21 19:55:56 +02:00
montlikadani
241b17a1c8
Update HU messages
...
(cherry picked from commit 9b74a12)
2017-10-21 18:33:18 +02:00
ljacqu
4e8deec258
Move #isNpc method to PlayerUtils
...
- After dropping our hook to CombatTagPlus it is not relevant for it to be in PluginHooksService anymore
2017-10-21 12:08:23 +02:00
ljacqu
58657f5d3f
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 792-add-registration-date-and-ip
2017-10-21 10:46:17 +02:00
ljacqu
1651a61063
#792 #814 Implement SQLite migration, allow last IP to be nullable in MySQL
...
- Old SQLite setups have the last IP column as NOT NULL but without a default value. With the new concept (where we don't set a last IP on player registration) it fails.
- Create an /authme debug child that allows to migrate SQLite (tricky because SQLite does not support dropping or modifying columns)
- Allow last IP column to be NOT NULL in MySQL as well (extend MySQL /authme debug child)
- Add TODO comments with follow-up issue to extend our commands with new registration IP field
2017-10-21 10:45:48 +02:00
ljacqu
b5ea48085c
#792 DataSource: when creating registrationDate column, set all rows to the current date
2017-10-20 21:31:58 +02:00
ljacqu
a425eacf2d
#792 Add missing tests / fix CodeClimate issues
2017-10-20 17:49:30 +02:00
sgdc3
251eca9ccd
Fix #1360
2017-10-20 00:11:42 +02:00
ljacqu
ea824ea3f0
#1016 Update hash algorithms list, add test that Deprecated annotation is in sync between enum and hash impl. class
2017-10-19 21:52:55 +02:00
ljacqu
fca77b940f
#1016 Deprecate MD5, SHA1, SHA512: no longer allowed for active use
...
- Deprecate unsalted hashes: if such a hash is configured, move it to the legacy hashes setting to still support the existing hashes in the database but hash all passwords from now on with our default, SHA256.
2017-10-19 21:30:19 +02:00
ljacqu
7d445217d6
Merge redundant ConsoleLogger#debug overloads
...
- No need to distinguish between String[] and Object[] because log4j only has methods for Object[]
2017-10-19 20:14:17 +02:00
ljacqu
90073ef95d
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 792-registration-date-and-ip
...
Conflicts:
src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java
src/main/java/fr/xephi/authme/datasource/Columns.java
src/main/java/fr/xephi/authme/datasource/SQLite.java
src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
src/main/java/fr/xephi/authme/service/SessionService.java
src/main/java/fr/xephi/authme/settings/properties/DatabaseSettings.java
src/test/java/fr/xephi/authme/service/SessionServiceTest.java
src/test/resources/fr/xephi/authme/datasource/sql-initialize.sql
2017-10-15 23:45:41 +02:00
Gabriele C
22e95493de
#1031 Introduce hasSession field in datasource ( #1351 )
...
* Introduce hasSession field in datasource
That makes isLogged more consistent as it will be '1' only when the player is online.
* Fixes
* Fix unit testing
* Update config doc
* Create SessionService
* Create test for SessionService, avoid DB operations if sessions are disabled
* Cleanup: remove outdated warning for session timeout = 0
- Remove outdated warning
- Encapsulate session enabled check in SessionService
* Fix failing SessionServiceTest, add data source integration tests for session methods
2017-10-15 18:32:51 +02:00
ljacqu
ea58e20c3d
#792 Include registration date into purging logic
...
- Take MAX(reg_date, login_date) as timestamp to compare against
- Remove the second "all" parameter to include entries with 0 registration date -> we expect registration date to always be set to the current date, so the parameter becomes obsolete
2017-10-15 18:29:01 +02:00
ljacqu
1df5308e56
#792 #814 Create command to remove NOT NULL constraints
...
- Create command under /authme debug that allows to change the 'nullable' status of MySQL columns (currently last date and email only)
- We need to offer a default value for forum integrations that have a NOT NULL email column. Offering a command avoids us from force-migrating existing databases while still offering migrations in both directions
- Change in default value handling: lack of values are not handled by setting default values to the PlayerAuth anymore, and reading a default value from the database into a PlayerAuth will be translated into null by the PlayerAuth builder
- When a new database is created, email and lastlogin are now nullable and lack a default a value
Open points:
- Finish MySqlDefaultChangerTest
- Revise purging logic (#792 )
- Allow to have more columns nullable (#814 )
2017-10-15 12:56:13 +02:00
ljacqu
718c38aa24
Fix failing LoginSecurityConverterTest: allow tolerance for java.sql.Date to millis conversion
2017-10-14 19:51:26 +02:00
ljacqu
52d6476058
#792 Add columns for registration IP and registration date
...
- Add columns for reg date and IP
- Rename "ip" to "last IP"
2017-10-14 17:37:34 +02:00
RatchetCinemaESP
01e0381d93
Create complete help_es.yml
...
Complete help messages in Spanish.
2017-10-10 18:43:33 +02:00
Gabriele C
a39edde297
Add note to caching option
2017-10-09 10:19:27 +02:00
Gabriele C
29c30f6c22
Fix unit testing
2017-10-09 09:44:22 +02:00
Gabriele C
41af94aab2
Add DisplayNameNoColor tag in welcome/join messages #1344
2017-10-09 09:25:20 +02:00
Gabriele C
fafbef6be7
Prevent another deadlock in LuckPermsHandler #1350
2017-10-09 09:05:09 +02:00
Gabriele C
45dda0deba
Prevent deadlock in LuckPermsHandler #1350
2017-10-09 09:02:14 +02:00
ljacqu
7afda20288
#1338 Implement ''/authme messages help' to generate a fully complete help text file ( #1349 )
2017-10-09 07:19:38 +02:00
ljacqu
5be3f8facc
#1095 Update SMF hash algorithm to generate salt as SMF does
...
- The salt isn't used for password hashing but SMF requires that there be one to generate the authentication cookie. This does not yet enable registration from Minecraft: SMF has other non-null columns that need to be tackled. This is a first step.
2017-10-08 22:42:37 +02:00
ljacqu
f21605bbb1
Fix failing test
2017-10-08 20:08:46 +02:00
ljacqu
83d6d92a5c
Minor - don't read welcome message if unused
2017-10-08 20:05:04 +02:00
ljacqu
5b1d8c6429
Use String#replace over String#replaceAll (the latter uses regex)
2017-10-08 17:32:05 +02:00
ljacqu
f1bed873d5
Minor - remove code duplication
2017-10-08 01:22:25 +02:00
ljacqu
278146a206
Merge branch '1347-change-password-api' of https://github.com/AuthMe/AuthMeReloaded
2017-10-05 23:47:19 +02:00
ljacqu
867b32194b
#1347 Adapt tests for new change password architecture
2017-10-05 23:44:16 +02:00
sgdc3
0630c270ca
Apply color codes to welcome message #1344
2017-10-04 20:29:30 +02:00
sgdc3
e268c3a624
Start working on the changepassword api method
...
TODO: fix unit testing
2017-10-04 20:12:53 +02:00
Gabriele C
816e751fe7
Fix minor codestyle issues #1341
2017-10-02 09:40:37 +02:00
Gabriele C
d6e2f35efd
Fix unit test #1344
2017-10-02 09:03:30 +02:00
Gabriele C
10c09dbf17
Whoops, wasn't thread safe #1344
2017-10-02 08:48:22 +02:00
Gabriele C
3d08e1bae5
Fix some minor configuration issues #1344
2017-10-02 08:43:20 +02:00
Gabriele C
caf2a0ee9e
Fix non-spigot server support
2017-10-02 08:05:35 +02:00
Platinteufel
60c7499cf4
Update messages_de.yml ( #1342 )
...
* Update messages_de.yml
* Update messages_de.yml
2017-10-01 23:04:14 +02:00
sgdc3
843baa8e4a
Fix 1.7 and 1.8 compatibility
2017-10-01 19:53:15 +02:00
Gabriele C
d9399568a3
Add custom tempban unit testing
2017-09-30 21:16:02 +02:00
Gabriele C
7d61f2679c
Fix unit testing
2017-09-30 20:51:49 +02:00
Gabriele C
3ea250cb10
Implement #794
2017-09-30 19:57:27 +02:00
Stefatorus
5d87f1fb51
Update messages_ro.yml
2017-09-30 20:30:40 +03:00
Stefatorus
4934d9f72a
Update messages_ro.yml
2017-09-30 20:22:50 +03:00
Stefatorus
edf072eabb
Fixed Grammar & spelling issues
...
I fixed some grammar and spelling isues, and made some messages be more explicit.
2017-09-30 20:18:38 +03:00
Stefatorus
a3a9bc7e0f
Translated /authme help in romanian.
...
Translated /authme help in romanian.
2017-09-30 19:51:13 +03:00
Gabriele C
ceba761b7b
Fix session timeout
...
whoops xD
2017-09-30 18:22:06 +02:00
ljacqu
37dc918ece
Minor: remove commented out code
2017-09-30 17:44:34 +02:00
Gabriele C
e59df84a84
Fix session system ( #1337 )
...
* Old session system
* Actually check if sessions are enabled
* Cleanup
* Don't use cached isLogged value
2017-09-30 15:15:25 +02:00
sgdc3
f45092bdd2
Fix limbo player location on join
2017-09-30 15:13:35 +02:00
sgdc3
574fa9034d
Cancel PlayerItemHeldEvent for unlogged users
2017-09-28 00:50:25 +02:00
sgdc3
920e65c4f4
Codestyle cleanup
2017-09-27 15:16:33 +02:00
sgdc3
dc4124de0a
Fix unit tests
2017-09-27 14:48:26 +02:00
sgdc3
32f8e354df
Should fix issues like #1336 and #592
...
The #592 fix will be effective only on 1.9+ servers
2017-09-27 14:41:23 +02:00
ljacqu
bd7d84a6d2
Small docs cleanup
...
- NewAPI class will be removed in 5.5, not 5.4
- Add entry for "Deprecated" recommendation in hash algorithms page
- Mention possibility of wildcards for restricted user rules
2017-09-17 11:33:24 +02:00
ljacqu
649b027e5b
Output used permission system in /authme debug perm
2017-09-17 09:09:11 +02:00
Gabriele C
6c6fbaf12d
Login performance ( #1331 )
...
* Ignore intellij tmp files
* Enhance onLogin performance
2017-09-17 09:05:13 +02:00
sgdc3
3d67305e9e
Fix country code link #1330
2017-09-16 14:04:32 +02:00
sgdc3
3d26357df6
Use Utils.isEmailEmpty #1329
2017-09-16 14:02:16 +02:00
Gabriele C
9392291b36
Fix luckperms permission check
2017-09-14 21:03:08 +02:00
Gabriele C
a5466a8937
Fix luckperms user cleanup
2017-09-14 20:50:09 +02:00
Gabriele C
f754331de6
Implement LuckPerms permission handler
...
#1324
2017-09-14 20:39:15 +02:00
Gabriele C
e1466425a1
Print the "Forgot your password? ..." message only if the user has set the recovery email address #1329
2017-09-14 18:24:14 +02:00
dboecker
f13daff0c7
Update messages_de.yml ( #1328 )
...
Did the To-Do of German translation strings.
2017-09-10 04:01:02 +02:00
Gabriele C
45db55a081
Whoops, fix test
2017-09-06 04:11:02 +02:00
Gabriele C
08182e41f6
Fix null address
2017-09-06 00:56:27 +02:00
Gabriele C
8ae8ccf5cf
Fix failing tests
2017-09-03 02:54:29 +02:00
Gabriele C
9e28700acf
Attempt to fix #592
...
Should teleport the player before chunks/world are sent to the player
2017-09-03 02:43:34 +02:00
Gabriele C
2fbdd46919
#1298 Make permission manager accept OfflinePlayers + fix permission purge
2017-09-03 02:07:00 +02:00
Gabriele C
72da27e734
Fix #1324
2017-09-03 01:04:05 +02:00
Gabriele C
58aad9ed41
Fix unit tests
2017-09-03 00:53:45 +02:00
Gabriele C
c0a0a7e2a3
Use TestHelper.mockPlayerIp in tests
2017-09-02 12:47:26 +02:00
Gabriele C
97f580d9ec
Fix permission node description
2017-09-02 12:26:03 +02:00
Gabriele C
6b875a9ba4
Add permission to bypass country check ( #1323 )
...
* Add permission to bypass country check
#1321 Still need to fix unit tests
* Fix test
2017-08-31 19:36:57 +02:00
Gabriele C
b96ae61697
Remove some old plugin hooks, update dependencies
2017-08-31 11:47:55 +02:00
HexelDev
1dfb3575b5
#1119 email show permission and privacy improvements ( #1312 )
...
* #1119 new permission and email hider
* Updated commands.md
* Improved email hiding method
* Revert "Improved email hiding method"
This reverts commit cb60d7b
* New config option, updated tests, config.md and permission_nodes.md
* Moved to service import, fixed typo and updated config.md
* Removed unused imports O.o
2017-08-12 16:20:06 +02:00
ljacqu
3df2dd5740
CZ update by Shadowhackercz ( #1310 )
...
* Last changes for CZ language file
* Last few changes
2017-08-10 22:22:28 +02:00
Thymue
bb5e10fcb1
Update messages_sk.yml ( #1306 )
...
* Update messages_sk.yml
* Update messages_sk.yml
* Update messages_sk.yml
* Update messages_sk.yml
* Update messages_sk.yml
2017-08-10 09:29:50 +02:00
ljacqu
df2fe2ea89
Add missing apostrophe
2017-08-07 22:19:25 +02:00
Bl4ckSpr4y
e7aa567021
Update messages_et.yml
...
I updated the Estonian translation.
2017-08-07 12:46:19 +03:00
ljacqu
30cb55dabd
Update translations page
2017-08-05 14:07:02 +02:00
Foorack
81fcf0abdb
Created help_eo.yml
2017-08-04 18:23:50 +02:00
Gabriele C
7e957cb8c7
Add missing api methods #1304
2017-08-01 16:41:00 +02:00
ljacqu
a801f03cf2
Merge pull request #1296 from AuthMe/5.4-Dev
...
Merge 5.4 development
2017-07-29 15:25:01 +02:00
HexelDev
a973dc3f6d
Implement restricted users rules with * wildcard support (Enhancement #1278 and #1227 ) ( #1297 )
2017-07-25 21:39:31 +02:00
ljacqu
027d0fc775
Create TestHelper method to make Settings mock return defaults
2017-07-23 18:00:51 +02:00
ljacqu
efc06ef2a6
#1255 Create resource-closing tests for the MySQL extensions
...
- Remove test runs with different hash algorithms in the abstract super class
- Create resource-closing tests for the new extension classes
2017-07-23 17:29:36 +02:00
ljacqu
8eceaa8cbb
#1255 Simplify MySQL data source extensions
...
- Mostly oving the logic of getting the ID from the DB to the extensions superclass
2017-07-23 16:38:35 +02:00
ljacqu
cbc794ba20
#1255 Extract forum-specific data source actions into separate extension classes
2017-07-23 14:19:28 +02:00
wolfwork
70d7249e12
Delete swear words ( #1288 )
...
* Delete swear words
* Update messages_ko.yml
* Update messages_ko.yml
2017-07-20 10:15:28 +02:00
ljacqu
f88350b06d
Fix Checkstyle violations
...
- Mostly missing Javadoc on large methods
- CommandInitializer: split command building method into multiple methods
2017-07-16 23:07:13 +02:00
ljacqu
4ac980111d
Add some tests, minor Checkstyle fixes
2017-07-16 13:00:55 +02:00
ljacqu
7c48cf59c7
Make default regex for password characters more user-friendly ( #1285 )
...
- Change regex pattern per input of @sgdc3
- Add clarifying comments
2017-07-15 19:38:05 +02:00
ljacqu
822818cf33
Revert: Fix default password regex
...
- The regex pattern allows all visible, non-whitespace ASCII symbols, including '0'
2017-07-15 18:41:01 +02:00
Gabriele C
b196d3e022
Whoops, allow simbols
2017-07-15 18:31:19 +02:00
Gabriele C
c208cdcf97
Fix default password regex
2017-07-15 15:36:12 +02:00
Jacek Maciejak
4f89d49744
Small fixes in Polish translation and addition of missing color in the messeages. ( #1283 )
...
I could do it before, I'll do it now. :)
2017-07-13 18:11:20 +02:00
DNx
87b9bf140d
Add database setting to configure HikariCP 'maxLifetime' #1279
2017-07-12 07:21:05 +07:00
ljacqu
e1826c75c8
#1280 Add NOTHING as possible flight restore type
2017-07-10 21:45:05 +02:00
polarcn
ce2138a65c
Create help_zhcn.yml ( #1281 )
2017-07-10 02:17:14 +02:00
ljacqu
276ce80edb
#1276 Fix wrong multiplication of reset threshold
2017-07-09 14:31:17 +02:00
Gabriele C
1c4594b53d
Use RESTORE_NO_ZERO as default restore walk speed behaviour
2017-07-08 23:47:40 +02:00
ljacqu
cb73160bcd
Minor - simplify CodeClimateConfigTest
...
- No need to load the class when we just want to ensure that the file exists
2017-07-08 23:10:42 +02:00
Gabriele C
919a715ded
Cleanup
2017-07-08 22:51:01 +02:00
Gabriele C
d8e7203bb0
Revert "Always revoke limbo states synchronously #1222 "
...
This reverts commit 7bb701b126
.
2017-07-08 22:45:48 +02:00
Gabriele C
fe770ac29d
Revert "Fix limbo service unit test"
...
This reverts commit 4cbfc8a812
.
2017-07-08 22:45:32 +02:00
Gabriele C
2cf1f22b13
Fix javadocs
2017-07-07 20:50:17 +02:00
Gabriele C
4cbfc8a812
Fix limbo service unit test
2017-07-07 20:41:31 +02:00
Gabriele C
cd4693eedf
GeoIP: ignore local addresses
2017-07-07 20:41:10 +02:00
Gabriele C
001e5d0376
Pom cleanup, fix LimboService test dependencies
...
@ljacqu Could you fix the test please?
2017-07-07 15:06:02 +02:00
DNx
7bb701b126
Always revoke limbo states synchronously #1222
2017-07-07 06:06:01 +07:00
Gabriele C
4e61117ef7
Add xf table prefix to config
...
#957
2017-07-06 18:46:24 +02:00
Gabriele C
cd4766e0a1
Add regex support to restricted users ip addresses #1227
...
Seems to work: https://regex101.com/r/zSp6Ke/1
@ljacqu What do you think?
2017-07-03 01:43:56 +02:00
Gabriele C
b24dcfed3c
Try to fix #1261
2017-07-02 13:21:04 +02:00
ljacqu
f150668fc1
Minor - remove unused imports
...
- As determined by CodeClimate
2017-07-02 11:00:17 +02:00
ljacqu
ff99b63385
#1265 Limbo: fallback to old "group" during deserialization, favor old limbo's groups over new limbo's
2017-07-02 10:55:51 +02:00
Gabriele C
c758e15cd7
Store the entire player's list of groups instead of primary group
2017-07-01 19:18:42 +02:00
Anh Craft
1fde9bf534
Create help_vn.yml
...
New translation
2017-06-30 02:57:53 +02:00
Anh Craft
3718b22ef9
Update messages_vn.yml
...
translated "to do"
2017-06-30 02:57:53 +02:00
Timofey
d17b857410
ru: update ( #1267 )
...
* ru: update
* <theCaptcha> & THE_CAPTCHA
2017-06-30 01:01:16 +02:00
Gabriele C
e6e023a032
Remove legacy jar hint
2017-06-22 23:57:04 +02:00
ljacqu
886e3b2f1e
#1238 Save player after restoring data from limbo player
2017-06-18 08:36:03 +02:00
Maxetto
e05e346a32
Fix Typo ( #1256 )
2017-06-15 01:30:42 +02:00
ljacqu
08214aeee6
Debug limbo viewer: don't get primary group if not supported
...
- Reported via #1238 , the primary group of a player should not be queried if the permissions plugin does not have group support
- Use the reverse order for showing player / limbo / disk limbo info
2017-06-11 15:14:32 +02:00
Twonox
ed07bdc995
Update messages_fr.yml
2017-06-03 18:59:50 +02:00
ljacqu
591d6f1d4c
#1232 #1239 Show legacy hint if Guava's MoreObjects class is missing
2017-06-02 15:42:21 +02:00
timvisee
cae29a2f99
Revert "Implement ARGON2 hash ( #1165 )" due to an unwanted added binary.
...
This reverts commit bf38782790
.
2017-06-01 13:06:15 +02:00
nicuch
160a0877b3
Update messages_ro.yml
2017-06-01 11:02:01 +02:00
Gabriele C
00699ed7fb
Use guava 21, add 1.12 support
2017-05-29 23:40:44 +02:00
ljacqu
9385fc8f4c
Fix placeholders in messages_ko
2017-05-28 21:35:15 +02:00
ljacqu
56dff703ac
Korean translation by Kirito9515 ( #1229 )
...
* Korea Translation Change
* Korean Translation Change 2
* Korean Translation Final
* Help Message Korean Translation
* Korean Translation
2017-05-28 18:50:34 +02:00
Gabriele C
20e72b355b
change restoreFlySpeed default value to RESTORE_NO_ZERO
...
Should fix issues like #1222
2017-05-21 18:51:50 +02:00
Alexandre Vanhecke
a167429fbc
perf(datasource): Use try-with-resources when it's possible
2017-05-21 15:13:40 +02:00
ljacqu
5ca9112c12
Add missing properties to commands.yml on start and reload
2017-05-21 14:21:40 +02:00
ljacqu
5c6af0330e
#1218 Add onLogout to commands.yml
2017-05-21 13:44:28 +02:00
ljacqu
1c46c92b4e
#1146 List available converter, reference converters Wiki page in config.yml
2017-05-21 12:28:35 +02:00
Gabriele C
cff8ccd76a
Implement onSessionLogin trigger for commands.yml ( #1198 )
...
* Implement onSessionLogin trigger for commands.yml
Needs test methods, @ljacqu any advice?
* Add simple onSessionLogin test
2017-05-19 19:21:05 +02:00
ljacqu
e5bfbf6304
#1023 LoginSecurity converter: fix last login conversion, extend test
2017-05-13 09:37:36 +02:00
Playhi
fd48ff884c
Update messages_zhcn.yml ( #1214 )
...
I think maybe the annotations also need to be translated.
2017-05-12 19:34:53 +02:00
ljacqu
2021113732
#1023 Create LoginSecurity converter
2017-05-10 19:45:20 +02:00
Playhi
a0fbb6a78a
Update messages_zhcn.yml ( #1210 )
...
Fix some translation issues.
2017-05-09 14:30:25 +02:00
Jacek Maciejak
e00138166d
Small fixes, sorry. ( #1206 )
2017-05-07 20:27:27 +02:00
ljacqu
1f8307c8f6
Fix minor checkstyle issues
...
- Add JavaDoc where checkstyle expects it
- Fix line too long issues
- ...
2017-05-07 11:59:01 +02:00
ljacqu
1a48348824
Add missing tests for listeners
2017-05-07 09:43:59 +02:00
ljacqu
6ecb0ea75c
Create test to verify that messages have their tags
2017-05-06 21:36:31 +02:00
Jacek Maciejak
7ddc7a7264
Update messeages_pl ( #1203 )
...
* Update messeages_pl
and small fixes
* Update messages_pl.yml
2017-05-06 14:44:22 +02:00
ljacqu
57cd2e4caf
Fix placeholders in translations + update translations page
2017-05-05 21:28:38 +02:00
Rainer
954c536dbd
Estonian translation of AuthmeReloaded ( #1202 )
...
* Create help_et.yml
* Create messages_et.yml
2017-05-05 18:02:59 +02:00
exys228
6226abdc4b
Update messages_ru.yml ( #1201 )
...
Fixed some bad grammar and added new keys.
2017-05-05 15:40:12 +02:00
Gabriele C
5dfb63c00f
#1194 Add API methods to access the GeoIpAPI
2017-05-04 16:34:38 +02:00
ljacqu
c803822fa8
#1188 Create and keep encryption method instance ( #1191 )
...
- Avoid creating the same object over and over; instead keep it and only change it on settings reload
2017-04-30 17:41:51 +02:00
ljacqu
e0e4cd112d
#761 Restore permission group in sync with limbo players
...
- Couple AuthGroupHandler closer to the LimboService: whenever a limbo player is restored, the auth group should be restored as well. This fixes some consistency issues.
- Move AuthGroupHandler into limbo package and make it package-private
- Change permission handler to skip any empty groups (prevents odd command output e.g. for BukkitPermissions)
2017-04-29 22:37:34 +02:00
ljacqu
d4c1370da6
#923 Add commands to run on unregister
2017-04-29 19:11:13 +02:00
ljacqu
578f63b944
#923 Create /authme purgeplayer command
...
- Create command to purge a specific player name
- Update docs
2017-04-29 18:31:37 +02:00
ljacqu
88d839cab4
#620 Add a cancellable session restore event
2017-04-29 15:44:29 +02:00
ljacqu
b652d89088
#1169 Create UnregisterEvent
2017-04-29 15:22:27 +02:00
ljacqu
d65556d893
#857 Create event for failed authentication
2017-04-29 14:46:06 +02:00
Playhi
dbb8ea7f38
Update messages_zhcn.yml ( #1186 )
2017-04-29 09:31:17 +02:00
ljacqu
a75150e7bf
#836 Update HU translations by @rErEaT
2017-04-29 09:28:58 +02:00
ljacqu
b7c35cb3a7
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into explicit-getters-from-db
2017-04-29 08:19:30 +02:00
ljacqu
82d74ca0a7
Move close methods out of sql datasource utils class
...
As noticed by @Gnat008
- We need two different implementations for MySQL and SQLite because SQLite uses an older version where #isClosed is not implemented
2017-04-29 08:18:43 +02:00
RatchetCinemaESP
1720a4d842
Update messages_es ( #1181 )
...
Translated the new messages.
2017-04-24 14:38:07 +02:00
ljacqu
0e923b6a70
#1180 Create command for performing a backup
2017-04-23 20:23:40 +02:00
Eufranio
e75e22d624
Update brazilian messages ( #1174 )
2017-04-23 12:02:55 +02:00
ljacqu
d0dbc14358
Minor - fix some small todo's
2017-04-23 11:02:43 +02:00
ljacqu
e56a3c0ab6
#815 Save yaw & pitch for last login in SQL data sources
2017-04-22 13:30:03 +02:00
ljacqu
70298a830b
Remove outdated todo
2017-04-21 20:29:50 +02:00
ljacqu
07633a89c8
Create SQL data source utils class
...
- Extract logic used in SQLite and MySQL for logging and closing SQL objects
- Decided to leave buildAuthFromResultSet methods individually as this might be more implementation-specific
- Rename DataSource#close to DataSource#closeConnection to fix conflict with static import
2017-04-18 22:55:39 +02:00
ljacqu
04ca36fe53
Use more specific query to get logged in players without email
...
- Reduces the amount of data returned from the DB and the work required to build objects
2017-04-18 22:30:54 +02:00
ljacqu
2f7ebc0ecb
Remove static PlayerCache#getInstance
2017-04-18 21:57:20 +02:00
ljacqu
b0c05afaa7
Create util method to check if email is empty
...
- Create method to check if email is empty or the default AuthMe email (avoids repetition)
- Check that input email has '@' inside text (relates to #1105 )
2017-04-18 21:24:33 +02:00
ljacqu
b99cc3bada
#1127 Create DataSource#getEmail
2017-04-18 21:07:31 +02:00
ljacqu
2a747c7d01
#1034 Create permissions for debug sections
...
- Add an individual permission for each debug section (including wildcard perm)
- Create test for DebugCommand
- Refactor tests for the enum permission nodes to use the same abstract class
- Update related project files (plugin.yml, permission docs, command docs)
2017-04-14 19:54:17 +02:00
ljacqu
cbec5427f2
#1162 New API class: implement ignored review remarks
2017-04-14 18:11:47 +02:00
Gabriele C
bf38782790
Implement ARGON2 hash ( #1165 )
...
* Implement ARGON2 hash
#1150
* Fix argon hash verify
* Add argon2 test
* #1150 Account for Argon2 managing salts internally
2017-04-14 18:03:27 +02:00
Gabriele C
5a93ed32f1
Fix API test package
...
#1162
2017-04-14 14:03:40 +02:00
Gabriele C
4a94307ba0
Merge pull request #1160 from Maxetto/patch-7
...
[Messages_IT] Translate new Email commands
2017-04-14 01:46:05 +02:00
timvisee
2f01fce11e
Update Dutch messages
2017-04-14 01:34:22 +02:00
Gabriele C
8ecdd1f4d3
Remove old v1 API, deprecate v2 API, add v3 API
2017-04-14 01:01:30 +02:00
Maxetto
ac43e0fabe
Add quotes here.
2017-04-05 23:08:02 +02:00
Maxetto
f2afe10501
[Messages_IT] Translate new Email commands
2017-04-05 23:04:58 +02:00
ljacqu
43b2375e2a
Fix failing test
2017-04-01 22:01:54 +02:00
Gabriele C
e775e415f2
Incrase connectPlayer delay #1133
2017-03-31 21:47:30 +02:00
Gabriele C
9381d024cd
Schedule connectPlayer action
...
Thanks to @Dimatert9
2017-03-31 20:27:04 +02:00
ljacqu
20ab161406
Merge branch '1147-limbo-improve-persistence' of https://github.com/AuthMe/AuthMeReloaded
2017-03-31 19:57:23 +02:00
games647
4e364c13a3
Schedule a new sync thread based on thread compare rather than the async setting
...
(Fixes #1151 )
2017-03-31 09:03:03 +02:00
rafael59r2
5724248a19
Update messages_pt.yml
2017-03-30 22:15:28 +01:00
ljacqu
2ecdc57277
#1147 Rename limbo segment configurations / remove inaccurate comments
2017-03-28 21:49:28 +02:00
ljacqu
adb007108d
#1147 Drop SingleFilePersistenceHandler in favor of DistributedFilesPersistenceHandler
...
- Remove SingleFilePersistenceHandler: DistributedFilesPersistenceHandler with segment size 1 can be used instead
- Rename SegmentFilesPersistenceHolder to DistributedFilesPersistenceHandler
- Rename SeparateFilePersistenceHandler to IndividualFilesPersistenceHandler to match LimboPersistenceType entry
- Add link to limbo page on Wiki in the settings
2017-03-28 21:42:01 +02:00
ljacqu
a764598f88
Adjust repo links in code
2017-03-28 08:11:00 +02:00
ljacqu
2070f22968
Security - if any Throwable is thrown on initialization AuthMe should shut down
...
- Found via #1149
2017-03-27 21:41:35 +02:00
Gabriele C
1f4192e5af
#1145 Remove PlayerListener from visibility test exclusions
2017-03-26 19:39:40 +02:00
Gabriele C
49aeb4308d
Fix #1145
2017-03-26 16:51:34 +02:00
Gabriele C
fc47a0a74f
Force US decimal format
2017-03-26 16:12:53 +02:00
ljacqu
6be6e8e851
Exclude jacoco fields from consistency test
...
- Fix wrong condition check :)
2017-03-26 14:53:52 +02:00
ljacqu
dbd0e04a2e
Exclude jacoco fields from consistency test
...
- The Jacoco plugin adds fields "$jacocoData" to the classes which make the test fail
2017-03-26 14:47:39 +02:00
Playhi
e3abfc3685
Update messages_zhcn.yml ( #238 )
2017-03-26 13:52:00 +02:00
ljacqu
75f84945fc
Misc code householding
...
- Checkstyle config: allow todo comments with issue number
- Create consistency tests across all classes, ensuring: unique class names, users of expiring collectors implement HasCleanup, non-private fields are only constants
- Fix tag replacement in PlayerListener for {DISPLAYNAME}
2017-03-26 13:20:40 +02:00
ljacqu
8cf7983027
#1034 Add debug sections for spawn and input validation
2017-03-26 12:10:51 +02:00
ljacqu
c54231b255
#1138 Show warning for hashes that will be deprecated in 5.4
...
- Introduce Usage.DEPRECATED to mark the hash algorithms accordingly
- Log warning when such a deprecated hash algorithm is used
- Update hash algorithms doc page
2017-03-25 00:23:54 +01:00
ljacqu
b7901c6b59
Simplify exclusion of enum properties in SettingsConsistencyTest
...
- Allow enum values to be absent if they are deprecated
2017-03-24 23:23:40 +01:00
ljacqu
a2d62ea6d9
#1116 #1117 Add command usage hints and remove unused message keys
...
- Add usage message on argument mismatch where available
- Remove unused message keys
- Create tool task to search for a message key's usages and to find unused keys
2017-03-24 23:03:10 +01:00
ljacqu
2f90a45f43
#1036 Remove 'allowSpeed' option
...
- Option is no longer needed as the plugin user can configure how/if the speeds should be restored now
2017-03-24 21:26:34 +01:00
ljacqu
3e95d30c6b
Improve dependency graph task
...
- Simplify logic for converting a dependency description to its display name
- Add new common supertypes
2017-03-23 23:15:04 +01:00
ljacqu
32a664ef59
Update checkstyle config and CodeClimate exclusions
...
- Add new checkstyle checks: require Javadoc on large private methods, default in switch, declaration order & others
- Update path exclusions in CodeClimate config to match newly renamed classes (e.g. PHPBB -> PhpBB)
- Create consistency check testing that excluded paths exist as classes
- Fix some trivial violations
2017-03-23 10:34:28 +01:00
ljacqu
e77828b228
Update docs / update recovery code command in email message
...
- Update docs to reflect new commands, configurations (account recovery, limbo handling) and messages
- Change message for the recovery code email to contain the new command
2017-03-22 23:14:02 +01:00
EbonJaguar
ce40b3798b
Add logging for when a player changes their password or has a new one generated
2017-03-22 17:54:30 -04:00
EbonJaguar
4053a0e328
If recovery code is required, dont send new password
2017-03-22 17:11:18 -04:00
EbonJaguar
46dd588923
Merge branches 'master' and 'passwd_recovery_process' of https://github.com/AuthMe/AuthMeReloaded into passwd_recovery_process
2017-03-22 17:08:05 -04:00
ljacqu
7dbf5551c9
Cleanup: avoid injecting Injector directly
...
- Inject SingletonStore to restrict the possible functions
- Refactor PasswordSecurityTest to correspond to the usual way of testing
2017-03-21 22:59:21 +01:00
Gnat008
4e54fa4a4e
Restrict changing password after recovery to the same username
2017-03-21 17:38:53 -04:00
Gnat008
9d21eefc74
Merge branches 'master' and 'passwd_recovery_process' of https://github.com/AuthMe/AuthMeReloaded into passwd_recovery_process
...
# Conflicts:
# docs/config.md
# src/main/resources/messages/messages_bg.yml
# src/main/resources/messages/messages_es.yml
# src/main/resources/messages/messages_pt.yml
# src/main/resources/messages/messages_zhcn.yml
2017-03-21 17:26:29 -04:00
ljacqu
d19748fe5b
#1034 Debug commands: permission checker + data statistics
...
- Create debug command to check if a player has the given permission
- Create debug command that outputs the size of various caches / DB info / number of saved instances in injector
2017-03-21 22:00:21 +01:00
Gnat008
ed0126d06c
Add a couple tests
2017-03-21 16:48:20 -04:00
ljacqu
3c45ca8425
#1100 Check that auth exists for /email show
...
- This case should never happen, but better to be safe
2017-03-20 20:57:09 +01:00
ljacqu
6eaa91278e
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into limbo
...
# Conflicts:
# .checkstyle.xml
2017-03-20 08:23:52 +01:00
ljacqu
9a9d0974f8
#1037 Improve architecture of registration methods ( #236 )
...
* #1037 Improve architecture of registration methods
- Introduce parameters classes for each registration method
- RegistrationMethod has constants with the required parameters class -> no longer need to have a RegistrationExecutorProvider class that needs to be injected everywhere, let AsyncRegister be the only one to worry about which class will perform the registration
- Fix inheritance of password registration types - previously two-factor auth registration inherited from password registration directly
* Create matcher which checks for equality via reflections
- Allow to perform equality check on objects with default equals() method
2017-03-20 08:19:52 +01:00
ljacqu
8f197bbebf
#1128 Rename converter classes to start with uppercase letter
2017-03-17 19:28:40 +01:00
ljacqu
6bd0b7c4e0
#1128 Rename files to match new case of Java classes
2017-03-17 19:21:20 +01:00
ljacqu
8ebb3c6b5a
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1128-camel-case-rename
2017-03-17 18:50:57 +01:00
ljacqu
731d085ccd
#1128 Rename to camel case (PR #235 )
...
* rename classes according to cammel case and make code reflect these updates
* rename according to cammel case
* rename to camel case more accuratley
* rename to camel case try 3; fix Ipb4 java doc
* retry rename camel case
* rename to camel case
2017-03-17 18:49:30 +01:00
Gabriele C
17415493f5
Fix wrong logic in the java version check
2017-03-17 14:34:24 +01:00
Playhi
405d472ba8
Update messages_zhcn.yml ( #234 )
2017-03-17 14:31:23 +01:00
Gabriele C
45f02f6a31
Check java version on initialize
...
#1096
2017-03-15 18:01:00 +01:00
ljacqu
42f46b51d3
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into limbo
...
# Conflicts:
# src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
# src/test/java/fr/xephi/authme/settings/SettingsConsistencyTest.java
2017-03-15 08:28:15 +01:00
ljacqu
457c07b53f
Consistency test: check that all values are mentioned for enum properties
2017-03-15 08:24:40 +01:00
Gnat008
cfbb3f9a7f
Remove unnecessary stubbing in SetPasswordCommandTest
2017-03-14 18:46:39 -04:00
Gnat008
2214fa5839
Implement /email setpassword
2017-03-14 18:26:32 -04:00
ljacqu
1da74cb987
#1005 Improve restricted user feature (performance, error handling)
...
- Move check for restricted user into validation service
- Keep restrictions in a map by name for fast lookup, avoid splitting Strings on every call
- Gracefully handle case when entry does not have the expected ';' and log exception
2017-03-14 22:26:19 +01:00
ljacqu
84acc4557a
#1125 Limbo persistence: convert old segments, add tests
...
- On startup / reload the playerdata folder is scanned for old segment files, whose data is migrated before they are deleted
- Add tests for segment files persistence holder
2017-03-14 20:46:28 +01:00
ljacqu
62368b1cda
Fix inverse tags in messages_pt; update translations doc page
2017-03-13 20:34:55 +01:00
ljacqu
9c3baa7f14
#1125 Create persistence of LimboPlayers in segment files (work in progress)
...
- Instead of one huge file or a file for each player, allow the user to define how many files he wants to distribute the LimboPlayers over. This is based on a function that creates a String (segment ID) based on the player's UUID.
2017-03-13 20:29:08 +01:00
ljacqu
710198833c
#1125 Create SingleFilePersistenceHandler + extract (de)serializer for LimboPlayer
2017-03-13 18:30:52 +01:00
rafael59r2
b5451df9d7
Fix translations messages_pt.yml ( #232 )
...
* Fix translation
* Update messages_pt.yml
2017-03-13 07:31:30 +01:00
rafael59r2
fd18930286
Translate messages_pt.yml ( #230 )
...
* Update messages_pt.yml
* Update messages_pt.yml
* Update messages_pt.yml
* Update messages_pt.yml
2017-03-12 18:44:29 +01:00
ljacqu
8557621c02
#1125 Create infrastructure for Limbo persistence + restore 5.2 JSON storage
...
- Introduce configurable storage mechanism
- LimboPersistence wraps a LimboPersistenceHandler, of which there are multiple implementations
- Outside of the limbo.persistence package, classes only talk to LimboPersistence
- Restore the way of persisting to JSON from 5.2 (SeparateFilePersistenceHandler)
- Add handling for stored limbo players
- Merge any existing LimboPlayers together with the goal of only keeping one version of a LimboPlayer: there is no way for a player to be online without triggering the creation of a LimboPlayer first, so we can guarantee that the in-memory LimboPlayer is the most up-to-date, i.e. when restoring limbo data we don't have to check against the disk.
- Create and delete LimboPlayers at the same time when LimboPlayers are added or removed from the in-memory map
- Catch all exceptions in LimboPersistence so a handler throwing an unexpected exception does not stop the limbo process (#1070 )
- Extend debug command /authme debug limbo to show LimboPlayer information on disk, too
2017-03-12 18:43:37 +01:00
ljacqu
1678901e02
#1113 Attempt to merge new LimboPlayer with an existing one
...
- Extract some logic into LimboServiceHelper to keep LimboService slim
- Create LimboServiceHelper#merge to merge two LimboPlayers associated with a Player. E.g. if an admin unregisters an online player that has not logged in, the creation of a LimboPlayer is triggered while there already is one in LimboService
2017-03-12 15:56:08 +01:00
ljacqu
689e5eeccc
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into limbo
...
# Conflicts:
# src/main/java/fr/xephi/authme/command/executable/authme/debug/DebugCommand.java
2017-03-12 14:54:25 +01:00
ljacqu
10d8f00c92
Various minor changes
...
- AsynchronousLogin: call common permission methods through CommonService instead of PermissionsManager
- CommandManager: remove superfluous replacement of %p (handled by lazy tag replacer)
- Remove unused method in CommonService
- Create DebugSectionConsistencyTest
- SendMailSSL: Enable debug output if AuthMe log level is set to debug
- Add Utils#logAndSendMessage and replace existing, separate implementations
2017-03-12 14:04:39 +01:00
ljacqu
c766b5c259
#1036 Add restoration options for Limbo allowFlight / fly speed / walk speed
...
- Introduce options to define how allow flight, fly & walk speed should be restored from LimboPlayer
- Create consistency tests for line length in SectionComments methods and to ensure that all SettingsHolder classes are part of the returned ConfigurationData
2017-03-12 13:51:03 +01:00
rafael59r2
72acf28233
Creating help_pt.yml ( #231 )
...
* Create help_pt.yml
* Update help_pt.yml
2017-03-12 07:14:02 +01:00
ljacqu
c79ba49ca8
#1113 Don't restore OP to unregistered player; add tests for LimboService
2017-03-11 08:47:58 +01:00
ljacqu
e788da87d4
#1034 #1131 Create debug section for country info / restrictions
2017-03-09 22:25:52 +01:00
RatchetCinemaESP
f7de74c134
Translate messages_es.yml ( #229 )
...
Affected lines:
#92 and from #100 to #107
Regards!
2017-03-09 13:33:16 +01:00
ljacqu
ed55c77706
#1131 Correct quote type in debug statement
...
- Java util Logger does not escape placeholders if they are in normal single quotes
2017-03-09 08:04:47 +01:00
ljacqu
3b70492bb9
#1131 Add debug statement for country protection
2017-03-09 08:02:37 +01:00
ljacqu
e43f6364ed
Remove forgotten TODO in messages_bg.yml
2017-03-09 07:56:36 +01:00
Martin
bdd62e70c2
Update BG language ( #226 )
...
* Update language
Updated Bulgarian language.
* Update messages_bg.yml
* Update messages_bg.yml
* Update messages_bg.yml
* Update messages_bg.yml
Ready. :)
* Update messages_bg.yml
2017-03-08 23:09:37 +01:00
Martin
5ca1c17771
Xenforo support
...
Added in-game xenforo support. User can register/login in-game, in
website only login. Register have issues i will try to fix it.
2017-03-08 01:21:29 +02:00
ljacqu
7eadb7f7f9
#1034 Add debug sections for viewing DB data and Limbo data
2017-03-07 22:08:04 +01:00
ljacqu
4bb10c5d6d
#1113 Handle LimboPlayer tasks via LimboService
...
- Add methods to LimboService for handling messages to make it the only relevant Limbo class for outside classes
- Move LimboPlayerTaskManager to limbo package and make it package-private
- Create MessageTask and TimeoutTask immediately when LimboPlayer is created
- #1112 MessageTask: improve efficiency by keeping reference to Player
2017-03-07 20:35:48 +01:00
EbonJaguar
62c053d5cb
Register the new /email code command
2017-03-06 15:21:49 -05:00
EbonJaguar
fa65b1af5e
make TimedCounter#decrement(K) easier to read
2017-03-06 14:15:07 -05:00
EbonJaguar
7d4bfcd99d
- Introduce /email code
...
- Add max tries for /email code
- Introduce a PasswordRecoveryService
2017-03-06 13:54:46 -05:00
Martin
6d67b82860
Xenforo
...
Added Xenforo group
2017-03-06 06:31:51 +02:00
Martin
7f8b31f9d4
Merge remote-tracking branch 'refs/remotes/AuthMe/master'
2017-03-06 06:16:34 +02:00
Martin
648e71cf0f
IPB4 Improve
...
IPB4 prefix, group, lastvisit support added.
2017-03-06 06:11:59 +02:00
ljacqu
021497b9e6
#1113 Handle LimboPlayers within LimboService (remove LimboCache) (work in progress)
...
- Delete LimboCache and LimboPlayerStorage: LimboService now handles all LimboPlayer actions
- Revoke player rights when creating a LimboPlayer, within the LimboService
- Various fixes and improvements
2017-03-05 21:47:46 +01:00
ljacqu
22ccf582b8
#1113 Create LimboService (work in progress)
...
- Introduce new LimboService with a higher level abstraction for outside classes to trigger LimboPlayer actions
- Add methods to LimboPlayerTaskManager for muting the MessagesTask safely
2017-03-05 19:25:35 +01:00
ljacqu
6db778387d
Don't make CommandDescription final as to allow mocks
...
- Construction of a CommandDescription requires a lot of fields to be set. In most tests we only care about one or two fields -> having to set a lot of fields to dummy values is not very nice.
2017-03-05 11:08:43 +01:00
ljacqu
8aa573b9ed
Minor fixes as found by Checkstyle
2017-03-05 10:58:29 +01:00
ljacqu
009d82c0a9
#1120 Use empty "realname" when converting from flatfile
...
- FlatFile doesn't store the "realname" - all names are always in all-lowercase. Converting from flatfile to other data source should therefore not take over an auth's realname
- Adjust sample flatfile file to only have all-lowercase usernames
2017-03-04 17:52:08 +01:00
Den
c079f5f3d5
Update messages_ru.yml ( #227 )
...
New messages have been translated.
Uits of time reduced, as can be conjugated differently.
==================================
Были переведены новые сообщения.
Единицы времени сокращены, так как могут спрягаться по разному.
2017-03-04 01:09:43 +01:00
Maxetto
283b5aebb7
[Messages_IT] Email recovery delay ( #225 )
...
Plus some adjustements since emails can now contain recovery codes instead of new passwords.
2017-03-02 11:04:56 +01:00
Twonox
1e9ba53471
Update messages_tr.yml ( #224 )
2017-03-02 08:26:29 +01:00
Twonox
f9ebf63dcf
Update help_fr.yml ( #223 )
2017-03-02 08:25:46 +01:00
Twonox
ebfada1557
Update messages_fr.yml ( #222 )
2017-03-02 08:21:06 +01:00
ljacqu
d450d7d828
#1114 Update Turkish texts by @smt287
2017-02-28 19:27:14 +01:00
ljacqu
7185206718
Minor - use replace instead of replaceAll for non-regex replacements
2017-02-27 22:45:46 +01:00
Maxetto
41b6c34b6b
Transform values into constants
...
(cherry picked from commit 20d83e5 et al.)
2017-02-27 19:55:16 +01:00
Jacek Maciejak
bf3d6b0e7c
Update messages_pl.yml ( #221 )
...
* Update messages_pl.yml
* Update messages_pl.yml
Fix
2017-02-27 19:04:54 +01:00
ljacqu
57903f1c08
Merge pull request #220 from AuthMe/1073-email-cooldown
...
Configurable cooldown for /email recovery
2017-02-26 22:44:39 +01:00
ljacqu
8a7c8c36f2
List all subcommands if debug section is unknown
2017-02-26 14:18:18 +01:00
ljacqu
a847deac16
#1075 Mail sender - allow to turn off TLS for port 25
2017-02-26 14:12:51 +01:00
ljacqu
a2b8ca683d
Add tests for lazy tag replacement
2017-02-25 23:37:15 +01:00
ljacqu
33c4a4690f
#1073 Email recovery delay: update project files following new messages & config
2017-02-25 22:42:23 +01:00
ljacqu
c197a330f3
#1073 Add delay to email recovery command
...
- Add configurable cooldown period after sending an email for /email recovery
- Change ExpiringMap to remove expired entries (like ExpiringSet)
- Create method to translate durations via the messages file
2017-02-25 22:41:49 +01:00
ljacqu
a4b440bcca
Separate email preparation and email sending into separate classes
...
- SendMailSSL keeps on handling the technical details for sending mails, while EmailService offers methods to other classes and worries about generating the correct email content
2017-02-25 20:14:58 +01:00
ljacqu
72c5cfac68
Create Duration class and ExpiringSet#getExpiration (prep for #1073 )
...
- Move expiring collections to util.expiring package
- Change ExpiringSet to remove expired entries during normal calls
2017-02-25 17:25:25 +01:00
ljacqu
4edb4e68c2
#1104 Whitelist sensitive commands also when used with "authme:" prefix
2017-02-21 22:51:45 +01:00
ljacqu
ee51bb3971
Minor cleanups
...
- Remove forgotten test assertion
- Make utils class final
- Change RandomString to use char array
2017-02-20 22:20:48 +01:00
ljacqu
922101d755
#1104 Filter all sensitive command aliases in console filters
2017-02-20 22:09:36 +01:00
ljacqu
18d8186804
#1026 List all available tags for commands.yml in comment
2017-02-20 21:18:13 +01:00
ljacqu
57ca81f2ba
#1102 commands.yml file should not have any commands by default
2017-02-20 21:11:57 +01:00
ljacqu
39395836b4
#949 Add configurable timeout for captcha count
2017-02-19 11:50:06 +01:00
ljacqu
ca708e23cd
#949 Create ExpiringSet, integrate into SessionManager
2017-02-19 09:06:15 +01:00
ljacqu
7b3bd3f4ea
Make the Travis build great again
...
Curious that only TravisCI has issues with some lambda code creating a map. Both CircleCI and our project Jenkins are happy with it. The same JDK is configured for TravisCI and CircleCI, too...
2017-02-18 23:00:19 +01:00
ljacqu
152d1dc216
#949 Created TimedCounter + implement it in TempbanManager
2017-02-18 22:50:30 +01:00
ljacqu
ef1d006cdf
#949 Create expiring map type + integrate it into recovery code service
2017-02-18 21:31:37 +01:00
ljacqu
6937dd37fb
#1034 Create subcommand to send test email
...
- Add test email feature
- Change debug command to lazily instantiate its subcommands
2017-02-18 17:53:34 +01:00
ljacqu
c9b66183de
Fix command mapping for /authme:unregister etc.
2017-02-18 15:56:08 +01:00
ljacqu
e3426cd731
Display hint when legacy jar should be used (cf. #1099 )
2017-02-18 15:13:26 +01:00
Gabriele C
2d3078daa4
Use the bStats maven artifact
...
It seems to have issues accessing the maven repository, maybe it's just
an issue with my local setup.
(cherry picked from commit fc8c75c)
2017-02-17 22:06:12 +01:00
Gabriele C
f0f2398e47
Incrase the auto poolSize value
2017-02-15 23:27:25 +01:00
ljacqu
7c1a9062ba
#761 Simplify auth group handling
2017-02-15 20:05:14 +01:00
ljacqu
d2fccdeb80
Update Injector and create injectable object factory
...
- Using e.g. Factory<Converter> instead of the injector directly makes its purpose more specific and disallows any future abuse of the injector's functions
2017-02-05 16:52:35 +01:00
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
2b1a97e959
#761 Fix removal and restoration of primary permission group
...
- Improve how a player is being switched between permission groups (add new group before removing old one)
- Remove group handling logic from LimboCache: AuthGroupHandler is now solely responsible for changing the player's permission group
2017-02-05 13:12:04 +01:00
ljacqu
49f7e47645
Add more debug log flavors to ConsoleLogger
2017-02-05 13:09:38 +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
20cd9e9588
#1085 Improve of help translation files
...
- Avoid logging an error if a help_{lang}.yml file does not exist in the JAR
- No longer suggest /authme messages for updating the help translation
- Create consistency test to ensure that all help_{lang}.yml files in the JAR have entries for all help sections / messages / default permissions
2017-02-04 22:00:53 +01:00
Dmitry Rendov
9425cc7fc3
1085 - added help_ru.yml
...
(cherry picked from commit 921a663
)
2017-02-04 13:24:44 +01:00
ljacqu
5ad528d5d9
Fix Javadoc errors (as seen in Jenkins build)
2017-02-04 11:35:43 +01:00
Playhi
12c2556277
Update messages_zhcn.yml ( #217 )
...
Update messages_zhcn.yml
2017-02-02 19:34:08 +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
Platinteufel
5305ff4f42
Update help_de.yml ( #216 )
...
[AuthMe] Error getting message with key 'common.header'. Please update your config file 'help_de.yml' (or run /authme messages)
2017-01-30 16:05:24 +01:00
ljacqu
24162ad94b
#1034 Create debug command structure + utility to see permission groups
...
- Relevant to current work... :)
2017-01-29 19:47:14 +01:00
ljacqu
350ef9b5e6
PermissionHandlers: add default methods for trivial duplications
...
- Add easy default methods on PermissionHandler interface (override whenever there's a better way!)
- Change getGroups() signature to return a Collection instead of a List
2017-01-29 18:16:17 +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
Gabriele C
6569c275eb
Replace mcstats with bStats ( #215 )
2017-01-29 15:48:07 +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
Gabriele C
f46dd9445c
Fix #1079
2017-01-29 13:46:52 +01:00
ljacqu
12566f03ef
Fix country code link in config comment
2017-01-29 12:40:20 +01:00
ljacqu
7578247085
Write tests for BukkitService
2017-01-24 21:39:01 +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
Tim Visée
1557ce8f5f
Be consistent in Dutch language usage
...
Changed 'uw' to 'jouw', as 'jouw' is used as language style in this translation file.
2017-01-21 15:30:48 +01:00
Tim Visée
b078e9e5fd
Translate comment headers in Dutch help file
2017-01-21 14:55:02 +01:00
Tim Visée
5ea36e15bf
Translate comment headers in Dutch translation file
2017-01-21 14:51:55 +01:00
Tim Visée
ef345f43b4
Revert command parameter in Dutch language pack
...
Because of https://github.com/AuthMe/AuthMeReloaded/pull/211#issuecomment-274260157
2017-01-21 14:48:49 +01:00
ljacqu
666e242212
Delete CollectionUtils (unused)
2017-01-21 14:47:18 +01:00
Den
64a47e0107
Update messages_ru.yml ( #211 )
...
* Update messages_ru.yml
What was done:
1. There have been transferred posts.
2. Have been changed this awful big and bold letters in messages
-------------------------------------------------------------------------
Что было сделано:
1. Были переведены сообщения.
2. Были изменены этот ужасные большие и жирные буквы в сообщениях
* Update messages_ru.yml
"THE_CAPTCHA"
* Update messages_ru.yml
"<theCaptcha>"
2017-01-21 14:30:25 +01:00
Maxetto
a5bee69e54
[Messages_IT] Follow consistency updates ( #210 )
...
And translate grouping annotations.
2017-01-17 11:25:26 +01:00
Tim Visée
7705faa4f9
Merge pull request #209 from AuthMe/nl-messages-update
...
Update Dutch messages
2017-01-15 15:19:16 +01:00
Tim Visée
68f6bd5b2a
Made command notations consistent
2017-01-15 15:15:56 +01:00
Tim Visée
5548dffd7f
Reworked Dutch translation file with mommy 😊
2017-01-15 15:12:16 +01:00
Tim Visée
cb43e88ba0
Create Dutch help file
2017-01-15 14:54:39 +01:00
Tim Visée
16d01202c1
Update Dutch messages to more common languages, make translations consistent with English template
2017-01-15 14:51:05 +01:00
Gabriele C
26194d676d
#1063 Add useSSL option
2017-01-14 22:14:37 +01:00
ljacqu
29b6e16148
Update Dutch messages
2017-01-14 15:13:46 +01:00
ljacqu
d761b0ee5c
#1055 Fix verifyMessages task not to shift comments up
2017-01-14 12:13:48 +01:00
Eufranio
d2467d566b
Fixed typo
...
i think now i'm in the right branch
2017-01-12 22:18:04 -03:00
ljacqu
d81592512e
#1055 Reorder message files and update translations page
2017-01-11 21:31:01 +01:00
ljacqu
d68c73799b
#1055 Grouping and sorting of text messages (PR #198 )
...
* Initial grouping of messages_en.yml (thanks to input by @Twonox)
* Change MessageFileVerifier to only do verification - no writing
* Create classes for sorting and grouping messages as per the messages_en file
2017-01-11 21:09:17 +01:00
Tuanjr
9c7bb8438e
Update messages_vn.yml
...
Update and fix typo
(cherry picked from commit c04b00f
)
2017-01-11 20:57:40 +01:00
Twonox
69d83332e3
Updated help_fr.yml (noticed by @ljacqu) ( #207 )
2017-01-11 20:50:33 +01:00
Twonox
8248f80eb4
Create help_fr.yml ( #206 )
2017-01-10 21:06:11 +01:00
Twonox
5306574c79
FR messages - Clean up ( #202 )
2017-01-09 21:19:11 +01:00
ljacqu
cc0d16c7e1
Remove redundant and unused message
...
- Remove 'reg_voluntarily'
- Remove 'user_unknown' in favor of 'unknown_user' - but move text from old 'user_unknown' to 'unknown_user'
Found by @Twonox
2017-01-09 21:16:53 +01:00
RatchetCinemaESP
a5e1bbb37a
Update messages_es.yml ( #204 )
...
Translated line 78...
2017-01-09 20:46:49 +01:00
Gabriele C
0f227c0240
Merge pull request #201 from Platinteufel/patch-2
...
Update messages_de.yml
2017-01-08 21:42:25 +01:00
Platinteufel
0fd599e90c
Update messages_de.yml
2017-01-08 21:20:23 +01:00
Gabriele C
ef5dfabd9c
Merge pull request #199 from hsombini/mailAddressField
...
Email address field for email servers that does not use email as the …
2017-01-08 17:40:05 +01:00
Twonox
fe86299c7d
Update messages_fr.yml ( #200 )
2017-01-08 15:44:36 +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
044e3e3845
Don't use the customJoinMessage if removeJoinMessage is enabled
2017-01-06 12:00:05 +01:00
ljacqu
6cf8789fe0
#758 Show login usage message on invalid arguments, #1053 send translatable "no permission" message
...
- Add default method to ExecutableCommand interface that allows to define the message key to show if a command's arguments are invalid. If not defined the behavior is as before: show the output of /<command> help
- Use translatable "no permission" message instead of hardcoded one
2017-01-05 20:47:14 +01:00
Gabriele C
dcf046dfc5
Add option "customJoinMessage" #1044
2017-01-05 01:39:24 +01:00
Gabriele C
979d8b98c4
Fix wrong runTaskTimer behaviour #1050
2017-01-05 01:13:30 +01:00
tsangsiuki12
7c6e9fb9fd
New Chinese Translation with all lines translated ( #196 )
...
* This is a newly translated chinese version
Comes with new line translated
* Rename messages_zhmc to messages_zhmc.yml
* Update messages_zhmc.yml
* Update messages_zhmc.yml
2017-01-04 17:33:12 +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
Gabriele C
d298e1c6f1
Merge pull request #194 from Eufranio/patch-2
...
Update and fix messages_br
2016-12-30 00:07:05 +01:00
Eufranio
dfeeb1fcd4
Translate help_br
2016-12-29 17:06:25 -02:00
Eufranio
c8232e62c9
Update and fix messages_br
2016-12-29 16:58:16 -02:00
ljacqu
e461112a8a
Minor - remove unused code
...
- Flatfile to SQLite migration was moved into the data source provider. It was forgotten to remove the code from the old location
2016-12-29 14:34:34 +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
games647
f4b999217c
Fix sending empty inventories on logout for versions above 1.11
...
(Fixes #1039 )
2016-12-26 10:44:09 +01:00
Jacek Maciejak
03f04a9c15
Update messages_pl.yml
...
Line: 81
//RikoDEV
2016-12-25 10:46:01 +01:00
koca2000
85e0fd6fb6
Updated messages_cz.yml ( #192 )
2016-12-24 12:50:22 +01:00
ljacqu
57f3c72de0
Update translation verifications
2016-12-24 10:09:54 +01:00
Maxetto
3604c70a54
[Messages_IT] Add message entry for each registration type
2016-12-24 09:23:28 +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
Maxetto
459bd6b7de
[Messages_IT] Add "email_send_failure"
...
And reordering values to match English one.
2016-12-18 01:23:52 +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
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
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
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
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
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
ljacqu
9d21a4cda2
Minor maintenance on ToolTask classes
...
- Use default method on AutoToolTask interface in favor of abstract SimpleAutoTask class
- Adjust the path in various .tpl.md files
- Remove unused constant in ToolsConstants
2016-10-23 18:29:33 +02:00
ljacqu
05f05f4fe7
#745 Fix unit tests for changes muting message task upon captcha
2016-10-23 16:48:44 +02:00
ljacqu
8f6643207e
#979 Create tool task to verify help translations
2016-10-23 16:25:34 +02:00
Gabriele C
dd9ac75f3a
#916 Fix authme.vip node description
2016-10-23 15:39:53 +02:00
Gabriele C
cc151e6e8d
Update HU messages #836
2016-10-23 15:31:58 +02:00
Gabriele C
fba2a898b9
Merge remote-tracking branch 'refs/remotes/origin/master' into 745-captcha-login-message
2016-10-23 15:25:46 +02:00
Gabriele C
232153813d
Fix unit test
2016-10-23 15:25:02 +02:00
Gabriele C
1b60b07f60
Mute the message task when the player has to solve a captcha
2016-10-23 15:14:16 +02:00
Gabriele C
f8745876de
Generate config file automatically
2016-10-23 14:36:30 +02:00
ljacqu
edf7c227b2
Minor - create abstract SimpleAutoTask for simple tool tasks
2016-10-23 13:14:06 +02:00
ljacqu
d09964f1cb
#963 Create tool task to generate plugin.yml
...
- Create task that generates commands/permissions section of plugin.yml
- Change CommandInitializer to return a List instead of Set (preserve insertion order)
- Merge CommandSyntaxHelper into CommandUtils
2016-10-23 12:17:37 +02:00
Gabriele C
1867617dbb
Add option to override dbcp size
2016-10-22 00:46:28 +02:00
Gabriele C
627b9dd5c5
Merge pull request #172 from Maxetto/patch-1
...
[IT Translation] Translate "/email show" command
2016-10-18 20:29:41 +02:00
ljacqu
1d11824367
#293 Translatable help - show translated description of child commands
...
- Show translated command descriptions when available
- Fix bug where localized command is registered on the parent each time
Thanks to @Maxetto
2016-10-18 19:47:57 +02:00
ljacqu
3dab5cd70c
#979 Check that help_xx.yml files are valid YAML
...
- Change existing test checking messages_xx.yml to also have test for help_xx.yml files
2016-10-18 18:31:49 +02:00
Maxetto
a6bbfcfb89
[IT Translation] Translate "/email show" command
2016-10-18 18:08:41 +02:00
Maxetto
9013b8f9a1
[IT Translation] Translate help command ( #169 )
...
* [IT Translation] Translate help command
2016-10-18 18:01:39 +02:00
ljacqu
bb75d50c06
Set help command to short description and alternatives
...
- As discussed in https://github.com/AuthMe/AuthMeReloaded/pull/169
2016-10-18 17:59:23 +02:00
ljacqu
dc8d0b9b6b
Merge branch '768-update-messages-cmd' of https://github.com/AuthMe-Team/AuthMeReloaded
2016-10-18 17:09:13 +02:00
DNx5
cbd9add1b7
Removed a test for antibot service.
2016-10-18 03:46:15 +07:00
DNx5
b3fd6170fe
Use timestamp to determine if antibot should be activated
...
- removed handleJoin method.
2016-10-18 02:53:20 +07:00
DNx5
b55805ff87
- Added Test for '/email show' command.
...
- Update javadoc & cleanup.
2016-10-17 23:29:45 +07:00
DNx5
b10b67b22f
- Rename 'EmailShowCommand' -> 'ShowEmailCommand'
...
- Command detailed description should ends with '.'
2016-10-17 22:33:04 +07:00
DNx5
71e4c59c20
Add "/email show" command.
...
#922
2016-10-17 22:16:29 +07:00
ljacqu
77d4f4b24d
#768 Adjust to ConfigMe 0.2 and restrict command with permission
2016-10-16 21:40:59 +02:00
ljacqu
ed6c7043ae
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 768-update-messages-cmd
2016-10-16 20:39:18 +02:00
ljacqu
995d4acda2
Upgrade to ConfigMe 0.2
2016-10-16 20:08:52 +02:00
ljacqu
252813197f
Test simple event cancellation with method references instead of reflection
2016-10-16 11:19:54 +02:00
ljacqu
264431c214
#768 Use ConfigMe to set and export messages
...
- Bukkit's FileConfiguration escapes all special characters making the resulting file hard to use
2016-10-12 22:27:34 +02:00
ljacqu
755f3df33e
#768 Create command for updating messages file
2016-10-10 22:36:14 +02:00
Gabriele C
700ab5f3e4
Cleanup
2016-10-09 23:46:07 +02:00
ljacqu
87f88cb32a
#293 Fix localized command losing its children
2016-10-09 16:23:18 +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
ljacqu
5928aee097
#293 Add comments to help file, migrate header setting, write tests
2016-10-09 14:53:10 +02:00
ljacqu
fc08e9dbd1
#976 Link messages file in doc, #836 update Hungarian messages
2016-10-09 09:52:07 +02:00
ljacqu
edfd833198
#293 Improve handling of disabled sections
2016-10-09 00:50:03 +02:00
ljacqu
93c61a0511
#976 Create translations doc page
2016-10-08 23:00:26 +02:00
ljacqu
a8d5b19807
Move all doc generating tasks into docs package
2016-10-08 14:58:06 +02:00
ljacqu
f453a5b4f5
#293 Skip help sections if translation is empty
2016-10-08 14:25:42 +02:00
ljacqu
dd9312f581
Minor improvements in tool tasks
...
- Use java 8 types in UpdateDocsTask
- Simplify permissions page writing task to write to the file without any options
- Various minor simplifications (Java 8) to avoid casting etc.
2016-10-08 00:39:11 +02:00
ljacqu
6b1112438a
#293 Fix tests and create consistency test for English help file
2016-10-07 23:44:36 +02:00
ljacqu
26716b0f79
#293 Create class for handling messages from file with fallback
...
- Move logic for loading a messages file with a default fallback into one class
- Remove message-specific handling from Settings class
2016-10-07 23:38:30 +02:00
ljacqu
d78b7cc4af
#293 Create class for handling message file initialization
...
- Work in progress; more logic can be extracted
2016-10-07 20:12:18 +02:00
Gabriele C
d235b26ac3
Main class cleanup
2016-10-07 19:43:54 +02:00
Gabriele C
7b5a857f74
Remove useless packages
2016-10-07 19:19:12 +02:00
ljacqu
c30e7acdc5
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 293-translate-help-messages
...
Conflicts:
src/main/java/fr/xephi/authme/command/help/HelpProvider.java
2016-10-07 19:11:49 +02:00
ljacqu
71f3b86383
Minor - fix checkTestMocks task and rename PlayerDataTaskManager
...
- Fix tool task to scan test folder
- Rename PlayerDataTaskManager to LimboPlayerTaskManager to match its test class
2016-10-06 20:29:50 +02:00
ljacqu
4b2ad51354
#970 Fix & write unit tests for antibot startup delay config
2016-10-05 22:45:26 +02:00
Gabriele C
ac7bb5c0f6
Configurable antibot delay + delay only on startup
...
#970
2016-10-05 22:11:13 +02:00
Gabriele C
58c42cf300
Package cleanup
...
- authme.cache to authme.data
- Rename PlayerData to LimboPlayer to match with LimboCache
- Move authme.converter to authme.datasource.converter
- Split output package into output and message
2016-10-05 21:10:40 +02:00