Commit Graph

2737 Commits

Author SHA1 Message Date
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
Gabriele C
c8cbd4e853 Update dependencies 2016-10-02 17:19:50 +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
f6a2b2b34b #293 Translatable help messages: basic structure
(work in progress)
- Create service that provides localized messages when available for HelpProvider
2016-10-01 14:42:49 +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
Gabriele C
69e489626f Merge pull request #163 from Maxetto/patch-6
[Messages_IT] Keep Alive
2016-09-22 21:16:30 +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
DNx
92b8da5697 Merge pull request #161 from DenPim/patch-1
add missing 'ru' messages.
2016-09-17 14:42:44 +07:00
Den
e335353d92 Update messages_ru.yml
Some messages were translated
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Были переведены некоторые сообщения
2016-09-17 09:41:43 +03:00
DNx
e73d938d4b Merge pull request #160 from Platinteufel/patch-1
Update 'de' messages.
2016-09-17 08:14:57 +07: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
ljacqu
d959b0a3f2 #932 Use class collector for listener consistency test 2016-09-09 21:54:18 +02:00
Gabriele C
93c59555f8 Revert "Test if jenkins is stupid"
This reverts commit 59abf6ecf4.
2016-09-08 14:32:40 +02:00
Gabriele C
71c289f2f3 Revert "Try if jenkins became smarter"
This reverts commit 5045338a83.
2016-09-08 14:32:37 +02:00
Xephi
5045338a83 Try if jenkins became smarter 2016-09-08 11:27:33 +02:00
Xephi
59abf6ecf4 Test if jenkins is stupid 2016-09-08 11:18:46 +02:00
Gabriele C
933f0ba3d6 Update HikariCP version 2016-09-08 10:28:19 +02:00
ljacqu
10493a3fa3 #932 Create class collector and use it where applicable
- Extract logic for walking through a directory and loading its classes into a separate class
- Replace all implementations with the new ClassCollector
2016-09-07 22:50:12 +02:00