Commit Graph

2106 Commits

Author SHA1 Message Date
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
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
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
Gabriele C
7e2912cc60 Revert "Fix refactor errors"
This reverts commit 2d2c14eb0a.
2016-10-04 22:31:37 +02:00
Gabriele C
2d2c14eb0a Fix refactor errors 2016-10-04 22:30:25 +02:00
Gabriele C
7394e004ce Fix wrong antibot sensibility
#896
2016-10-04 22:10:40 +02:00
Gabriele C
f3cd193d47 Move RandomStringUtils 2016-10-04 19:16:06 +02:00
Gabriele C
42dbb27728 Service cleanup 2016-10-04 19:08:18 +02:00
ljacqu
5c2d7139bc Create unit tests for antibot refactoring 2016-10-03 21:55:04 +02:00
Gabriele C
88ce493438 AntiBot cleanup + moved to services
Some test needs to be fixed/added
2016-10-02 19:41:14 +02:00
ljacqu
71ac86ff02 Remove StringUtils#join in favor of String#join (Java 8) 2016-10-02 12:44:10 +02:00
ljacqu
e07c685d2a Minor tool task improvements
- List tasks alphabetically in tools runner
- Remove redundant space before CUSTOM entry in hash algorithms table
2016-10-02 10:55:02 +02:00
ljacqu
6f4a5fee07 Add missing permission to plugin.yml, fix description 2016-10-02 10:48:26 +02:00
ljacqu
74a61188f5 Update docs / fix hash algorithms task / fix unit tests
- From a common session wit sgdc3
2016-10-01 23:43:37 +02:00
Gabriele C
62b8af6a37 Fix #904 (Ljacqu, pls fix me :P) 2016-10-01 23:09:39 +02:00
ljacqu
06d61db7f0 #822 Minor - fix Essentials userdata folder in config comment 2016-10-01 14:47:31 +02:00
ljacqu
113a3f346c Message file verifier: allow to simply enter the language code instead of full path
- To check a single file just enter the language file, e.g. "es"
- Pass File object to MessageFileVerifier instead of String path that will be constructed to a File again...
2016-10-01 11:02:24 +02:00
ljacqu
8d64c0e5bf #830 Initialize login process with more specific methods (with password vs. force login) 2016-10-01 00:48:23 +02:00
RatchetCinemaESP
532dbd5921 Update messages_es.yml (#164)
I'm translate new menssages and fix others :)
2016-09-30 12:59:17 +02:00
ljacqu
b1502f0369 Merge branch 'master' of https://github.com/Xephi/AuthMeReloaded
Conflicts:
	src/main/resources/messages/messages_br.yml
2016-09-30 09:42:18 +02:00
DeathrushW
e10ec7878e Translation br update (#959) 2016-09-30 09:40:01 +02:00
ljacqu
1102097e8a #956 Fix sending of email with recovery code 2016-09-29 21:44:24 +02:00
Maxetto
d32a91470f [Messages_IT] Keep Alive 2016-09-21 20:34:39 +02:00
DNx
6baf7fb8d5 Update 'cz' messages translation
got it from https://dev.bukkit.org/bukkit-plugins/authme-reloaded/#c6737
maybe, someone should mention him.
2016-09-20 14:10:46 +07:00
ljacqu
f81de8a5e5 #952 Fix settings initialization when config.yml does not exist yet
- Need to copy the file from the JAR if it doesn't exist before attempting to open it
2016-09-19 18:02:39 +02:00
ljacqu
f688eb4574 #937 Fix auto login after register not working in sync mode
- Need a small delay to allow the database to store the PlayerAuth object in the registration process
2016-09-18 22:51:24 +02:00
ljacqu
4eab258993 #937 Add option for AuthMe to run in sync
- Create BukkitService#runTaskOptionallyAsync and BukkitService#scheduleSyncTaskFromOptionallyAsyncTask whose behavior depends on a new setting
- Use the new methods where applicable
- Declare events async or sync depending on the new setting
2016-09-18 21:58:14 +02:00
ljacqu
ff9f50f63f #886 Do not include players with lastlogin = 0 in autopurge or default purge 2016-09-18 16:49:34 +02:00
ljacqu
405bd563d8 #950 Add unregister by name to API
- Add method to API
- Ensure that unregistering in datasource is case-insensitive
2016-09-18 14:46:02 +02:00
ljacqu
f804b528e5 Change message verification task to add todo comments in same order
- Make verification task add todo comments to YML files in the same order as the MessageKey enum
- Use DefaultCharsets everywhere instead of Guava's Charsets class (thanks to DNx5)
2016-09-17 10:56:30 +02:00
ljacqu
20fdc3693a Update todo comments in messages files 2016-09-17 09:58:46 +02:00
Den
e335353d92 Update messages_ru.yml
Some messages were translated
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Были переведены некоторые сообщения
2016-09-17 09:41:43 +03:00
Platinteufel
4ab5794007 Update messages_de.yml 2016-09-17 02:16:51 +02:00
ljacqu
bdf8819aa7 Create FileUtils#delete and write tests for FileUtils 2016-09-17 00:42:18 +02:00
ljacqu
0aa02b70f0 Merge branch '472-confirm-email-recovery' of https://github.com/AuthMe-Team/AuthMeReloaded 2016-09-16 23:45:54 +02:00
ljacqu
d55ede5dab Fix failing test 2016-09-16 23:45:40 +02:00
ljacqu
c1e90a8faf Minor - favor Guava's UTF-8 charset constant; sensible -> sensitive in issue template 2016-09-16 23:38:36 +02:00
ljacqu
d1b7c0ed99 #942 #943 Unit test NewAPI registered names methods 2016-09-16 23:27:58 +02:00
ljacqu
c78acee6e0 #472 Add translatable messages and unit tests 2016-09-16 23:18:32 +02:00
ljacqu
e30d7220bd #472 Store recovery codes in memory instead of in data source 2016-09-16 21:42:16 +02:00
Gabriele C
25df3ce032 add features to our API #943
+ add getRegisteredNames() and getRegisteredRealNames() methods
+ add a new and more clear way to get the API instance
2016-09-16 20:10:57 +02:00
ljacqu
bff344ba8f #472 Recovery code: allow to configure length, expiration and email 2016-09-10 16:39:35 +02:00
ljacqu
c5f5c0d2fd #472 Require recovery code before resetting password
- /email recovery generates recovery code and resets password only if recovery code is also given
- Change data source method to return email and recovery code
2016-09-10 14:27:26 +02:00
ljacqu
3b723bbbe9 Fix removal of recovery code 2016-09-10 09:29:34 +02:00
ljacqu
0aac8928af #472 Create recovery code/expiration columns and methods in data source 2016-09-10 09:13:17 +02:00
ljacqu
ffc5b77f36 Revert: [RevertMe] Remove essentials hook (currently unavailable using maven) 2016-09-09 21:56:32 +02:00