Commit Graph

2970 Commits

Author SHA1 Message Date
Playhi 405d472ba8 Update messages_zhcn.yml (#234) 2017-03-17 14:31:23 +01:00
Gabriele C 45f02f6a31 Check java version on initialize
#1096
2017-03-15 18:01:00 +01:00
ljacqu 457c07b53f Consistency test: check that all values are mentioned for enum properties 2017-03-15 08:24:40 +01:00
ljacqu 1da74cb987 #1005 Improve restricted user feature (performance, error handling)
- Move check for restricted user into validation service
- Keep restrictions in a map by name for fast lookup, avoid splitting Strings on every call
- Gracefully handle case when entry does not have the expected ';' and log exception
2017-03-14 22:26:19 +01:00
ljacqu 62368b1cda Fix inverse tags in messages_pt; update translations doc page 2017-03-13 20:34:55 +01:00
rafael59r2 b5451df9d7 Fix translations messages_pt.yml (#232)
* Fix translation

* Update messages_pt.yml
2017-03-13 07:31:30 +01:00
rafael59r2 fd18930286 Translate messages_pt.yml (#230)
* Update messages_pt.yml

* Update messages_pt.yml

* Update messages_pt.yml

* Update messages_pt.yml
2017-03-12 18:44:29 +01:00
ljacqu 10d8f00c92 Various minor changes
- AsynchronousLogin: call common permission methods through CommonService instead of PermissionsManager
- CommandManager: remove superfluous replacement of %p (handled by lazy tag replacer)
- Remove unused method in CommonService
- Create DebugSectionConsistencyTest
- SendMailSSL: Enable debug output if AuthMe log level is set to debug
- Add Utils#logAndSendMessage and replace existing, separate implementations
2017-03-12 14:04:39 +01:00
rafael59r2 72acf28233 Creating help_pt.yml (#231)
* Create help_pt.yml

* Update help_pt.yml
2017-03-12 07:14:02 +01:00
ljacqu e788da87d4 #1034 #1131 Create debug section for country info / restrictions 2017-03-09 22:25:52 +01:00
RatchetCinemaESP f7de74c134 Translate messages_es.yml (#229)
Affected lines:
#92 and from #100 to #107

Regards!
2017-03-09 13:33:16 +01:00
ljacqu ed55c77706 #1131 Correct quote type in debug statement
- Java util Logger does not escape placeholders if they are in normal single quotes
2017-03-09 08:04:47 +01:00
ljacqu 3b70492bb9 #1131 Add debug statement for country protection 2017-03-09 08:02:37 +01:00
ljacqu e43f6364ed Remove forgotten TODO in messages_bg.yml 2017-03-09 07:56:36 +01:00
Martin bdd62e70c2 Update BG language (#226)
* Update language

Updated Bulgarian language.

* Update messages_bg.yml

* Update messages_bg.yml

* Update messages_bg.yml

* Update messages_bg.yml

Ready. :)

* Update messages_bg.yml
2017-03-08 23:09:37 +01:00
ljacqu 1a445272be Merge pull request #228 from Krokit/master
IPB4 Improves
2017-03-08 19:38:37 +01:00
Martin 5ca1c17771 Xenforo support
Added in-game xenforo support. User can register/login in-game, in
website only login. Register have issues i will try to fix it.
2017-03-08 01:21:29 +02:00
Martin 6d67b82860 Xenforo
Added Xenforo group
2017-03-06 06:31:51 +02:00
Martin 7f8b31f9d4 Merge remote-tracking branch 'refs/remotes/AuthMe/master' 2017-03-06 06:16:34 +02:00
Martin 648e71cf0f IPB4 Improve
IPB4 prefix, group, lastvisit support added.
2017-03-06 06:11:59 +02:00
ljacqu 6db778387d Don't make CommandDescription final as to allow mocks
- Construction of a CommandDescription requires a lot of fields to be set. In most tests we only care about one or two fields -> having to set a lot of fields to dummy values is not very nice.
2017-03-05 11:08:43 +01:00
ljacqu 8aa573b9ed Minor fixes as found by Checkstyle 2017-03-05 10:58:29 +01:00
ljacqu ed9c5ef8a7 Readme: replace metrics with bstats, add code climate badge 2017-03-05 10:19:11 +01:00
ljacqu a64f758ee9 Add config files for Code Climate - https://codeclimate.com
- Includes customized Checkstyle configuration for AuthMe
2017-03-04 20:49:11 +01:00
ljacqu 009d82c0a9 #1120 Use empty "realname" when converting from flatfile
- FlatFile doesn't store the "realname" - all names are always in all-lowercase. Converting from flatfile to other data source should therefore not take over an auth's realname
- Adjust sample flatfile file to only have all-lowercase usernames
2017-03-04 17:52:08 +01:00
Den c079f5f3d5 Update messages_ru.yml (#227)
New messages have been translated.
Uits of time reduced, as can be conjugated differently.

==================================

Были переведены новые сообщения.
Единицы времени сокращены, так как могут спрягаться по разному.
2017-03-04 01:09:43 +01:00
Maxetto 283b5aebb7 [Messages_IT] Email recovery delay (#225)
Plus some adjustements since emails can now contain recovery codes instead of new passwords.
2017-03-02 11:04:56 +01:00
Twonox 1e9ba53471 Update messages_tr.yml (#224) 2017-03-02 08:26:29 +01:00
Twonox f9ebf63dcf Update help_fr.yml (#223) 2017-03-02 08:25:46 +01:00
Twonox ebfada1557 Update messages_fr.yml (#222) 2017-03-02 08:21:06 +01:00
ljacqu d450d7d828 #1114 Update Turkish texts by @smt287 2017-02-28 19:27:14 +01:00
ljacqu 7185206718 Minor - use replace instead of replaceAll for non-regex replacements 2017-02-27 22:45:46 +01:00
Maxetto 41b6c34b6b Transform values into constants
(cherry picked from commit 20d83e5 et al.)
2017-02-27 19:55:16 +01:00
Jacek Maciejak bf3d6b0e7c Update messages_pl.yml (#221)
* Update messages_pl.yml

* Update messages_pl.yml

Fix
2017-02-27 19:04:54 +01:00
ljacqu 57903f1c08 Merge pull request #220 from AuthMe/1073-email-cooldown
Configurable cooldown for /email recovery
2017-02-26 22:44:39 +01:00
ljacqu 8a7c8c36f2 List all subcommands if debug section is unknown 2017-02-26 14:18:18 +01:00
ljacqu a847deac16 #1075 Mail sender - allow to turn off TLS for port 25 2017-02-26 14:12:51 +01:00
ljacqu a2b8ca683d Add tests for lazy tag replacement 2017-02-25 23:37:15 +01:00
ljacqu 33c4a4690f #1073 Email recovery delay: update project files following new messages & config 2017-02-25 22:42:23 +01:00
ljacqu c197a330f3 #1073 Add delay to email recovery command
- Add configurable cooldown period after sending an email for /email recovery
- Change ExpiringMap to remove expired entries (like ExpiringSet)
- Create method to translate durations via the messages file
2017-02-25 22:41:49 +01:00
ljacqu a4b440bcca Separate email preparation and email sending into separate classes
- SendMailSSL keeps on handling the technical details for sending mails, while EmailService offers methods to other classes and worries about generating the correct email content
2017-02-25 20:14:58 +01:00
ljacqu 72c5cfac68 Create Duration class and ExpiringSet#getExpiration (prep for #1073)
- Move expiring collections to util.expiring package
- Change ExpiringSet to remove expired entries during normal calls
2017-02-25 17:25:25 +01:00
ljacqu 4edb4e68c2 #1104 Whitelist sensitive commands also when used with "authme:" prefix 2017-02-21 22:51:45 +01:00
ljacqu ee51bb3971 Minor cleanups
- Remove forgotten test assertion
- Make utils class final
- Change RandomString to use char array
2017-02-20 22:20:48 +01:00
ljacqu 922101d755 #1104 Filter all sensitive command aliases in console filters 2017-02-20 22:09:36 +01:00
ljacqu 18d8186804 #1026 List all available tags for commands.yml in comment 2017-02-20 21:18:13 +01:00
ljacqu 57ca81f2ba #1102 commands.yml file should not have any commands by default 2017-02-20 21:11:57 +01:00
ljacqu 39395836b4 #949 Add configurable timeout for captcha count 2017-02-19 11:50:06 +01:00
ljacqu 510826d268 Add manifest file to gitignore 2017-02-19 11:34:56 +01:00
ljacqu ca708e23cd #949 Create ExpiringSet, integrate into SessionManager 2017-02-19 09:06:15 +01:00