ljacqu
44a7baff9a
#1350 Add option to force using the sync PlayerLoginEvent
...
- Introduce new configuration (taken from @sgdc3)
- Create JoiningPlayer, based on a Player object or String name, determining how permissions will be checked
2017-11-01 21:02:22 +01:00
Gabriele C
d8d87c8b67
Add option to force using the generic Vault permission handler hook
...
Requested in #1350
2017-10-29 11:47:38 +01:00
ljacqu
04c5224e99
#1190 Show settings warnings on reload also ( #1384 )
...
- Extract setting checks into their own class, called on startup and reload
2017-10-28 14:15:38 +02:00
HexelDev
ba65633182
Email verification code ( #1382 )
...
* Base verification code implementation, must define command, manager, events
* VerificationManager, verification command and messages, handled some sensible commands, configuration values
* Improved manager and sensible commands trigger
* Updated messages
* Updated verification code manager, fixed tests
* Switched to a permission based command
* Verification manager and command improved and added tests
* Edited messages
2017-10-28 12:23:14 +02:00
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
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
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
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
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
Gabriele C
a39edde297
Add note to caching option
2017-10-09 10:19:27 +02:00
Gabriele C
41af94aab2
Add DisplayNameNoColor tag in welcome/join messages #1344
2017-10-09 09:25:20 +02:00
ljacqu
83d6d92a5c
Minor - don't read welcome message if unused
2017-10-08 20:05:04 +02:00
sgdc3
0630c270ca
Apply color codes to welcome message #1344
2017-10-04 20:29:30 +02:00
Gabriele C
3d08e1bae5
Fix some minor configuration issues #1344
2017-10-02 08:43:20 +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
sgdc3
920e65c4f4
Codestyle cleanup
2017-09-27 15:16:33 +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
sgdc3
3d67305e9e
Fix country code link #1330
2017-09-16 14:04:32 +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
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
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
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
Gabriele C
1c4594b53d
Use RESTORE_NO_ZERO as default restore walk speed behaviour
2017-07-08 23:47:40 +02: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
00699ed7fb
Use guava 21, add 1.12 support
2017-05-29 23:40:44 +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
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
2021113732
#1023 Create LoginSecurity converter
2017-05-10 19:45:20 +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
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
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
b7c35cb3a7
Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into explicit-getters-from-db
2017-04-29 08:19:30 +02:00
ljacqu
0e923b6a70
#1180 Create command for performing a backup
2017-04-23 20:23:40 +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
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
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