DNx5
2081fd7e34
Removed AuthMeServerStop shutdown hook.
...
- Players now will be kicked if AuthMe was disabled.
- Fix #413
2016-01-06 10:24:46 +07:00
DNx5
44d35154aa
Register permissions properly in "plugin.yml".
...
so permissions manager plugin can read what available permissions for AuthMe
2016-01-06 10:02:32 +07:00
ljacqu
204a564a9a
Move new configuration packages and add test for PropertyMap
2016-01-05 21:59:08 +01:00
DNx5
fd73ce1562
Attempt to Fix permissions wildcard problem.
2016-01-05 07:21:24 +07:00
DNx5
627db6b9cf
Attempt to Fix #407
2016-01-05 06:33:43 +07:00
ljacqu
5ec1b67e03
Fix #408 Player quit location is not updated
...
- Ensure that the cache data source updates the quit location on the actual source
2016-01-04 21:52:39 +01:00
ljacqu
cb07b3df3d
Create enum property type, trivial code simplification
2016-01-04 20:33:31 +01:00
DNx5
6d7d856ebe
Wait executor to complete the submitted task before shutting down
...
* Fix #403
2016-01-04 05:04:52 +07:00
ljacqu
7d41ccbc9c
Settings: use class constants for properties, create custom writer
...
- Create Property class for defining config properties
- Create logic for typed retrival of properties from YAML file
- Add custom save method
- Retain comments from Comment annotations in the classes
- Write in a sorted order: first discovered properties are first written to config.yml
- Adjust properties to reflect the current config.yml
- Add sample tests for the retrieval and writing of properties with the new setup
2016-01-03 15:22:32 +01:00
Xephi
c2deb9d0b5
Start rework of Settings
...
Please move to another branch :3
(cherry picked from commit 0c5d835
)
2016-01-03 15:15:52 +01:00
DNx5
fe31b5cabb
I forgot to remove the old check.
2016-01-03 09:38:30 +07:00
DNx5
774b7513c9
Attempt to update player's IP on login if they have default IP in database.
2016-01-03 09:34:46 +07:00
DNx5
4161dcaa94
Fix SingleSession check order.
2016-01-03 09:34:44 +07:00
DNx5
052e414ff3
Moved VeryGames IP check into AsyncJoin process.
...
- Updated VeryGames IP check method.
- Remove player's IP from realIp map on quit.
2016-01-03 09:34:41 +07:00
DNx5
4ea6cc9d69
Fix player name case check.
2016-01-03 09:34:38 +07:00
ljacqu
9533965095
Minor - update JavaDoc for HashAlgorithm
...
- Replace incorrect description
2016-01-02 01:09:42 +01:00
ljacqu
561e21f5e2
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 137-xenforo-support
...
Conflicts:
src/main/java/fr/xephi/authme/datasource/DataSource.java
src/main/java/fr/xephi/authme/datasource/SQLite.java
src/main/java/fr/xephi/authme/security/crypts/BCRYPT.java
2016-01-02 00:52:08 +01:00
DNx5
6cae520604
Use Guava's Files.toString API to read the email file.
2016-01-02 06:24:44 +07:00
DNx5
266c979319
Use Bukkit API to extract "email.html" from plugin file.
2016-01-02 06:24:42 +07:00
ljacqu
071800481a
Minor - fix failing build
2016-01-01 10:34:38 +01:00
ljacqu
94c836376e
Revert "Start rework of Settings" from master
...
- Revert 1f55e85
because it's simpler to have ljacqu revert a commit on master, create a new branch and cherry-pick the reverted commit than to enter one command to change branch
2015-12-31 17:02:15 +01:00
Xephi
0c5d835f47
Start rework of Settings
...
Please move to another branch :3
2015-12-31 16:35:38 +01:00
Xephi
1f55e85172
Start rework of Settings
2015-12-31 16:35:08 +01:00
ljacqu
d46a2f0755
Fix test in PasswordSecurity for new savePassword()
2015-12-31 13:52:16 +01:00
ljacqu
209cc23c4b
Fix markdown table in hash algorithms overview
...
- GitHub requires at least 3 dashes between two column separators |. Most markdown previewers don't have this restriction.
2015-12-31 13:42:41 +01:00
ljacqu
6475cecd79
Add tools task to generate an encryption algorithm overview
2015-12-31 13:33:00 +01:00
ljacqu
a0da423a7b
Minor - Javadoc changes
...
- Add/replace/improve javadoc in the commands and encryption section
- Note: A simple <p> is the javadoc way to make a new paragraph
http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#format
- Note: Do not escape '<' and '>' inside of {@code }
- Note: '>' does not need to be escaped
2015-12-31 13:32:41 +01:00
DNx5
0c305a6287
Added new updatePassword method in DataSource class
2015-12-31 12:55:34 +07:00
DNx5
9eeb510b08
Messing up the test.
2015-12-31 12:20:48 +07:00
DNx5
bd5d341e67
Xenforo support.
...
- Added getPassword method in DataSource and all implementations.
2015-12-31 11:05:18 +07:00
Xephi59
5573e7449d
Force UTF-8
2015-12-31 01:27:40 +01:00
Xephi59
e1a84448a2
Fix the whole Javadoc syntax
2015-12-31 01:06:09 +01:00
ljacqu
aed23cb1ef
Revert removal of XENFORO enum, hash class and custom SQL
...
- Undo commits 121d323
and 1c12278
- Add TODO's with issue number
- Add slight, necessary adjustments for code changes since the reverted commits
2015-12-31 00:36:08 +01:00
Xephi59
7f1ce66fd0
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git
2015-12-30 23:57:44 +01:00
Xephi59
ebb4f2bd3e
Fix Javadoc generation
2015-12-30 23:57:30 +01:00
ljacqu
52222d98e0
Fix #321 Message verifier should understand line breaks
...
- Make messages verifier understand that indented lines belong to the same message
- Revert newline to &n replacements done in f5583f4
2015-12-30 23:56:09 +01:00
Xephi59
5354a6913f
Use theses packages
2015-12-30 23:51:53 +01:00
Xephi59
1246bf4b4c
Add Javadoc Goal
2015-12-30 23:46:38 +01:00
ljacqu
eea3697fa4
#364 Add test for bogus hashes
...
- Verify that a "hash" in the wrong format doesn't throw exception (this is relevant when the supportOldPasswordHash setting is enabled)
2015-12-30 23:24:36 +01:00
ljacqu
c0a393b8b3
Minor - rename EncryptedPassword to HashedPassword
...
- We hash passwords; we don't encrypt them
2015-12-30 22:51:59 +01:00
ljacqu
e85dbe81e5
#358 Ensure lowercase player name, issue cleanup
...
- Ensure within PasswordSecurity that the player name is lowercase
- Remove check for MD5VB separate salt (we only generate hashes with the salt embedded, so either we need to change that or we don't need this check)
- Remove obsolete TODO
2015-12-30 22:45:18 +01:00
Gabriele C
300a621e1c
cleanup
2015-12-30 22:28:45 +01:00
Gabriele C
4395d2ad87
never edit pom file from notepad++
2015-12-30 22:21:09 +01:00
Gabriele C
3bc64917fa
javadoc exclusions
2015-12-30 22:20:02 +01:00
ljacqu
9343cfe9da
Merge pull request #85 from AuthMe-Team/358-encryptn-mthd-refactor
...
358 encryptn mthd refactor
2015-12-30 21:50:30 +01:00
ljacqu
71f8a01179
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 358-encryptn-mthd-refactor
2015-12-30 21:37:52 +01:00
ljacqu
3328656134
#358 Create test for PasswordSecurity, create salt column if not exists
...
- Add test class for PasswordSecurity
- Check and create the salt column in MySQL and SQLite when necessary
- Add javadoc to some classes
2015-12-30 21:36:07 +01:00
ljacqu
8b60c66cc8
Minor - adjust PlayerAuth builder methods
...
- Rename hash() to password()
- Add location(Location) builder method
- Replace usages of password(new EncryptedPassword(hash, salt)) to the more terse password(String, String) builder method
2015-12-30 18:28:06 +01:00
ljacqu
a3402d573f
#358 Handle hash + salt as one "unit"
...
- Rename HashResult to EncryptedPassword to reflect its broader use
- Use EncryptedPassword in methods that require the hash and the salt, instead of passing them as strings separately
- Store EncryptedPassword as field in PlayerAuth; updatePassword() thus processes the entire data in the EncryptedPassword object
2015-12-30 17:56:22 +01:00
ljacqu
9c4a578bec
#358 Remove old methods on PasswordSecurity, unify hash + salt
...
- For encryption methods with a separate salt, the hash is useless without the salt, so hash and salt should always be persisted and retrieved together
2015-12-30 15:43:25 +01:00