Commit Graph

3111 Commits

Author SHA1 Message Date
ljacqu
7c1a9062ba #761 Simplify auth group handling 2017-02-15 20:05:14 +01:00
ljacqu
d2fccdeb80 Update Injector and create injectable object factory
- Using e.g. Factory<Converter> instead of the injector directly makes its purpose more specific and disallows any future abuse of the injector's functions
2017-02-05 16:52:35 +01:00
ljacqu
8ae06ed480 Minor improvements to config layout
- Change placement and comment of settings.restrictions.banUnsafedIP to make it clear that it only bans unknown IPs using a restricted username
- Move "MySQL use SSL" option outside of the column options
2017-02-05 13:48:24 +01:00
ljacqu
3eab42ae68 Remove obsolete "session expires on IP change" config
- Session always expire on IP change; the config only controlled whether an error message was shown or not
2017-02-05 13:40:11 +01:00
ljacqu
2b1a97e959 #761 Fix removal and restoration of primary permission group
- Improve how a player is being switched between permission groups (add new group before removing old one)
- Remove group handling logic from LimboCache: AuthGroupHandler is now solely responsible for changing the player's permission group
2017-02-05 13:12:04 +01:00
ljacqu
49f7e47645 Add more debug log flavors to ConsoleLogger 2017-02-05 13:09:38 +01:00
ljacqu
f6c560cbbe Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 761-permission-groups 2017-02-04 23:05:31 +01:00
ljacqu
20cd9e9588 #1085 Improve of help translation files
- Avoid logging an error if a help_{lang}.yml file does not exist in the JAR
- No longer suggest /authme messages for updating the help translation
- Create consistency test to ensure that all help_{lang}.yml files in the JAR have entries for all help sections / messages / default permissions
2017-02-04 22:00:53 +01:00
Dmitry Rendov
9425cc7fc3 1085 - added help_ru.yml
(cherry picked from commit 921a663)
2017-02-04 13:24:44 +01:00
ljacqu
5ad528d5d9 Fix Javadoc errors (as seen in Jenkins build) 2017-02-04 11:35:43 +01:00
Playhi
12c2556277 Update messages_zhcn.yml (#217)
Update messages_zhcn.yml
2017-02-02 19:34:08 +01:00
ljacqu
f6b08ece68 Trivial code householding
- Convert field to local variable
- Remove unused constructor parameter
- Move limbo class into limbo package
2017-01-30 21:53:00 +01:00
Platinteufel
5305ff4f42 Update help_de.yml (#216)
[AuthMe] Error getting message with key 'common.header'. Please update your config file 'help_de.yml' (or run /authme messages)
2017-01-30 16:05:24 +01:00
ljacqu
24162ad94b #1034 Create debug command structure + utility to see permission groups
- Relevant to current work... :)
2017-01-29 19:47:14 +01:00
ljacqu
350ef9b5e6 PermissionHandlers: add default methods for trivial duplications
- Add easy default methods on PermissionHandler interface (override whenever there's a better way!)
- Change getGroups() signature to return a Collection instead of a List
2017-01-29 18:16:17 +01:00
ljacqu
95945ffd22 #761 Improve permissions group support
- Drop one auth group type in favor of three: logged in, registered but not logged in, and unregistered
- Move  properties to same parent path
2017-01-29 17:44:06 +01:00
Gabriele C
6569c275eb Replace mcstats with bStats (#215) 2017-01-29 15:48:07 +01:00
ljacqu
bba35944b9 Merge branch '5.3-DEV' of https://github.com/AuthMe-Team/AuthMeReloaded
Conflicts:
	pom.xml
2017-01-29 14:45:42 +01:00
Gabriele C
18dbcfde89 5.2 release 2017-01-29 14:00:48 +01:00
ljacqu
89c70ff447 #1026 Add more tags for forced commands (lazily replaced) (#214)
* #1026 Add more tags for forced commands (lazily replaced)
- Extract lazy replacement of tags to its own class
- Implement wrapper to replace a String property within an object
  - Use wrapper in command manager and add new tags

* Make argument type generic in lazy tags util
2017-01-29 13:54:37 +01:00
Gabriele C
f46dd9445c Fix #1079 2017-01-29 13:46:52 +01:00
ljacqu
12566f03ef Fix country code link in config comment 2017-01-29 12:40:20 +01:00
ljacqu
7578247085 Write tests for BukkitService 2017-01-24 21:39:01 +01:00
ljacqu
56017c81d0 Minor - don't perform registration settings migration if old path doesn't exist
- Migration was otherwise performed if config.yml was blank, which produces confusing output
2017-01-22 13:14:26 +01:00
ljacqu
e17b1f0fdf #1019 Web integration demo: fix username and realname assignments
- username column is all lowercase, realname column has the proper casing
2017-01-22 12:34:32 +01:00
ljacqu
aa64f96466 #1019 Add email field to web integration sample 2017-01-22 11:17:31 +01:00
ljacqu
367380265e #1015 Distinguish player-dependent tags from "simple" tags 2017-01-22 10:52:51 +01:00
ljacqu
811bdee128 #1015 Implement lazy replace of tags for welcome message
- Check which tags are used when loading the welcome message and only apply their replacements afterwards
- Moves AuthMe#replaceAllInfo to a more appropriate place
- Avoid fetching data again for each line
2017-01-22 10:52:51 +01:00
Tim Visée
cc7deb64c8 Merge pull request #213 from timvisee/lang-dutch
Fix placeholder in Dutch translation and translate comment headers
2017-01-21 15:31:05 +01:00
Tim Visée
1557ce8f5f Be consistent in Dutch language usage
Changed 'uw' to 'jouw', as 'jouw' is used as language style in this translation file.
2017-01-21 15:30:48 +01:00
Tim Visée
b078e9e5fd Translate comment headers in Dutch help file 2017-01-21 14:55:02 +01:00
Tim Visée
5ea36e15bf Translate comment headers in Dutch translation file 2017-01-21 14:51:55 +01:00
Tim Visée
ef345f43b4 Revert command parameter in Dutch language pack
Because of https://github.com/AuthMe/AuthMeReloaded/pull/211#issuecomment-274260157
2017-01-21 14:48:49 +01:00
ljacqu
666e242212 Delete CollectionUtils (unused) 2017-01-21 14:47:18 +01:00
Den
64a47e0107 Update messages_ru.yml (#211)
* Update messages_ru.yml

What was done:
1. There have been transferred posts.
2. Have been changed this awful big and bold letters in messages
-------------------------------------------------------------------------
Что было сделано:
1. Были переведены сообщения. 
2. Были изменены этот ужасные большие и жирные буквы в сообщениях

* Update messages_ru.yml

"THE_CAPTCHA"

* Update messages_ru.yml

"<theCaptcha>"
2017-01-21 14:30:25 +01:00
ljacqu
8aa1bb9935 Open 5.3 development iteration 2017-01-21 14:14:32 +01:00
Maxetto
a5bee69e54 [Messages_IT] Follow consistency updates (#210)
And translate grouping annotations.
2017-01-17 11:25:26 +01:00
Tim Visée
7705faa4f9 Merge pull request #209 from AuthMe/nl-messages-update
Update Dutch messages
2017-01-15 15:19:16 +01:00
Tim Visée
68f6bd5b2a Made command notations consistent 2017-01-15 15:15:56 +01:00
Tim Visée
5548dffd7f Reworked Dutch translation file with mommy 😊 2017-01-15 15:12:16 +01:00
Tim Visée
cb43e88ba0 Create Dutch help file 2017-01-15 14:54:39 +01:00
Tim Visée
16d01202c1 Update Dutch messages to more common languages, make translations consistent with English template 2017-01-15 14:51:05 +01:00
Gabriele C
26194d676d #1063 Add useSSL option 2017-01-14 22:14:37 +01:00
ljacqu
29b6e16148 Update Dutch messages 2017-01-14 15:13:46 +01:00
ljacqu
d761b0ee5c #1055 Fix verifyMessages task not to shift comments up 2017-01-14 12:13:48 +01:00
Gabriele C
e1eb382cb1 Merge pull request #208 from Eufranio/patch-1
Fixed typo
2017-01-13 07:49:41 +01:00
Eufranio
d2467d566b Fixed typo
i think now i'm in the right branch
2017-01-12 22:18:04 -03:00
ljacqu
d81592512e #1055 Reorder message files and update translations page 2017-01-11 21:31:01 +01:00
ljacqu
d68c73799b #1055 Grouping and sorting of text messages (PR #198)
* Initial grouping of messages_en.yml (thanks to input by @Twonox)
* Change MessageFileVerifier to only do verification - no writing
* Create classes for sorting and grouping messages as per the messages_en file
2017-01-11 21:09:17 +01:00
Tuanjr
9c7bb8438e Update messages_vn.yml
Update and fix typo

(cherry picked from commit c04b00f)
2017-01-11 20:57:40 +01:00