ljacqu
c0a393b8b3
Minor - rename EncryptedPassword to HashedPassword
...
- We hash passwords; we don't encrypt them
2015-12-30 22:51:59 +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
531327dd9b
Minor - make AuthMe.database private
...
- In favor of AuthMe.getDataSource()
2015-12-29 11:55:57 +01:00
ljacqu
b3b751920a
#358 Replace usage of static PasswordSecurity methods
...
- Replace static methods to instance methods
- Use PlayerAuth builder instead of constructor
2015-12-29 00:13:20 +01:00
ljacqu
68e5f636ae
Minor: Converters - reduce visibility
...
- Change fields from public to private
- Make classes package-private where appropriate
- Remove redundant javadoc
2015-12-27 21:21:09 +01:00
ljacqu
103ebb44f0
Merge master into 306-commands-service
...
Conflicts:
- AuthMe
- CommandInitializer
- ConverterCommand
2015-12-26 21:33:25 +01:00
ljacqu
27fee3ca64
#306 Create PlayerCommand abstract type
...
- Create PlayerCommand to handle player-only command checks centrally and consistently
- Adjust tests
2015-12-26 19:47:47 +01:00
Xephi59
41e400e9dd
Deprecate flatile datasource, force flat to sqlite conversion #344
2015-12-26 15:38:16 +01:00
Gabriele C
874d7cd59f
Fix remove speed
2015-12-21 20:20:35 +01:00
Xephi
20b1f08c46
Remove stacktrace, use getMessage instead
2015-12-21 17:10:28 +01:00
Xephi
644ffe954d
[DEV] [NEED TEST] Implement OAuth2 authentification to mail recovery!
2015-12-21 17:03:12 +01:00
Xephi
37eedfde62
Add a way to convert SQLite to MySQL (/converter sqlitetosql)
2015-12-21 15:43:36 +01:00
ljacqu
690a8d67a3
Abstract Messages into two layers; move to new 'output' package
...
- Abstract Messages into two layers: the top layer 'Messages' is how Messages can be retrieved and sent as before. In the background, package-private, MessagesManager actually does the file read and worries about I/O while Messages takes care of higher-level things (such as joining two lines or checking the current language).
2015-12-01 21:45:02 +01:00
Xephi
174ad3b29c
Fix Conflict
2015-11-30 19:21:15 +01:00
Xephi
3b1c8cd2e4
fix conflict
2015-11-30 19:10:50 +01:00
Gabriele C
34e81b518f
clean imports
2015-11-26 18:35:22 +01:00
DNx5
7a78b321e7
refactor all class to use the message key for sending messages.
2015-11-26 10:18:53 +07:00
DNx5
2de0e0e819
Set classes to use Messages getter in plugin instance.
2015-11-26 08:17:19 +07:00
ljacqu
c83e983dea
Close opened resources
...
- Add BufferedReader instantiation into try-with-resources statement
- Close scanner that was opened
- Create utility class to format a caught exception
2015-11-25 23:05:13 +01:00
Tim Visée
82bf0f45ca
Finalized some fields, removed redundant code, various other fixes
2015-11-23 22:14:03 +01:00
Tim Visée
47b1d00ccf
Fixed various spelling and grammar issues
2015-11-23 22:07:32 +01:00
Tim Visée
36c50c4507
Reformatted code with new code style
2015-11-23 21:46:34 +01:00
AuthMe-Team
9ec2d6d059
Stuff from the common floobits workspace
...
Author: AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
ljacqu
7f049616c6
Attempt to fix dubious isUuidInstance in vAuthFileReader
2015-11-21 20:06:31 +01:00
Gabriele C
bd1f868c6d
standard javadoc
2015-11-21 01:31:18 +01:00
Gabriele C
118c79401a
Prepare the project for javadocs
2015-11-21 01:27:06 +01:00
Gabriele C
3567fc909d
Organize imports
2015-10-09 19:18:24 +02:00
games647
e9f299fca8
Fix PlayerAuth constructor calls
2015-10-03 18:22:13 +02:00
Gabriele C
8f446fa6af
Fix settings (i hope)
2015-09-23 22:10:11 +02:00
DNx5
10580e3447
cleanup converters
2015-09-23 21:50:17 +07:00
Gabriele C
5fb3542cea
useledd imports
2015-09-15 19:37:59 +02:00
Gabriele C
4fca6108d9
cleanup
2015-09-15 19:07:41 +02:00
Xephi59
50b41effa6
Fix conversion issue with lower case
2015-08-03 18:24:20 +02:00
Xephi59
353b0749b9
Remove useless fields
2015-07-23 17:21:49 +02:00
Xephi59
4c2fad3643
Fix LowerCase issue
2015-07-23 16:23:25 +02:00
Xephi59
4ecfffd8cf
English Syntax #2
2015-07-22 02:04:43 +02:00
Xephi59
ef5a2462bc
English syntax
2015-07-22 02:03:10 +02:00
Xephi59
03bfe80ee2
Set SQLite as default database and convert actual flat to sqlite
2015-07-21 01:13:27 +02:00
Xephi59
480db6816f
Synax
2015-07-20 02:41:14 +02:00
Gabriele C
b87768478d
fixed conflict
2015-07-10 22:28:43 +02:00
Maxetto
ffab80188f
Remember to sync before pushing!
2015-07-10 17:06:13 +02:00
Maxetto
91d95e45fa
Sometimes I'm sleeping
2015-07-10 16:34:22 +02:00
Maxetto
e469c74ef0
192.168.0.1!
2015-07-10 16:25:20 +02:00
Xephi59
36632bbb58
Fix the instance of database
2015-07-09 21:02:37 +02:00
Xephi59
d2cc60db78
Drop old supports
2015-07-09 01:56:13 +02:00
Xephi59
030e9b599e
Dramastically increase performance
...
Maybe fix low tps :O
2015-06-27 04:19:59 +02:00
Gabriele C
17e81aada3
xAuth 2.6 compatibility
2015-06-17 18:32:41 +02:00
Xephi
9ba90bfb97
Replace m._ by a method call m.send, Java 8 in comming ...
2015-05-26 13:03:45 +02:00
Xephi
84cf1a6627
Re-ignore case for name, Security issues T.T
2015-04-21 16:22:12 +02:00