Commit Graph

3206 Commits

Author SHA1 Message Date
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
2c31ccc020 Merge pull request #1166 from AuthMe/debug-command-permissions
#1034 Create permissions for debug sections
2017-04-17 01:04:57 +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
ff7b9077e8 We dislike craftbukkit!
Go away old crazy man!
2017-04-14 02:05:36 +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
Gabriele C
eb0c0587a1 Merge pull request #1164 from timvisee/master
Update Dutch messages
2017-04-14 01:38:03 +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
Gabriele C
88a965971d Fix permission page link 2017-04-02 03:39:45 +02:00
Gabriele C
b8d4e7c12a Whoops
Damn mobile editor! (Also test if travis works now)
2017-04-02 03:36:06 +02:00
Gabriele C
9fd2d363c1 Fix versioneye link 2017-04-02 03:31:42 +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
Gabriele C
cb0cf6bb5a Merge pull request #1153 from rafael59r2/patch-4
Update messages_pt.yml
2017-03-31 07:57:47 +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
7d17608a0b #1148 Update devbukkit page links 2017-03-27 19:12:25 +02:00
Gabriele C
616871ffa5 Drop CraftBukkit support 2017-03-27 17:49:15 +02:00
Gabriele C
7ea63667f3 Update some links 2017-03-26 22:15:23 +02:00
Gabriele C
a56e404446 Fix readme format 2017-03-26 22:05:11 +02:00
Gabriele C
1f02ef6f6e Merge pull request #1083 from AuthMe/master
5.3 [W.I.P.]
2017-03-26 19:52:12 +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
dfd81b069a Fix titles in readme 2017-03-23 10:43:29 +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