Commit Graph

3095 Commits

Author SHA1 Message Date
Gabriele C
cff8ccd76a Implement onSessionLogin trigger for commands.yml (#1198)
* Implement onSessionLogin trigger for commands.yml

Needs test methods, @ljacqu any advice?

* Add simple onSessionLogin test
2017-05-19 19:21:05 +02:00
Gabriele C
4366e33508 Use 1.12 api (only spigot maven profile) 2017-05-15 20:18:51 +02:00
games647
682274f852
Fix markdown syntax in issue template 2017-05-15 14:43:51 +02:00
ljacqu
e5bfbf6304 #1023 LoginSecurity converter: fix last login conversion, extend test 2017-05-13 09:37:36 +02:00
Playhi
fd48ff884c Update messages_zhcn.yml (#1214)
I think maybe the annotations also need to be translated.
2017-05-12 19:34:53 +02:00
ljacqu
2021113732 #1023 Create LoginSecurity converter 2017-05-10 19:45:20 +02:00
Playhi
a0fbb6a78a Update messages_zhcn.yml (#1210)
Fix some translation issues.
2017-05-09 14:30:25 +02:00
Jacek Maciejak
e00138166d Small fixes, sorry. (#1206) 2017-05-07 20:27:27 +02:00
ljacqu
1f8307c8f6 Fix minor checkstyle issues
- Add JavaDoc where checkstyle expects it
- Fix line too long issues
- ...
2017-05-07 11:59:01 +02:00
ljacqu
1a48348824 Add missing tests for listeners 2017-05-07 09:43:59 +02:00
ljacqu
6ecb0ea75c Create test to verify that messages have their tags 2017-05-06 21:36:31 +02:00
Jacek Maciejak
7ddc7a7264 Update messeages_pl (#1203)
* Update messeages_pl

and small fixes

* Update messages_pl.yml
2017-05-06 14:44:22 +02:00
ljacqu
57cd2e4caf Fix placeholders in translations + update translations page 2017-05-05 21:28:38 +02:00
Rainer
954c536dbd Estonian translation of AuthmeReloaded (#1202)
* Create help_et.yml

* Create messages_et.yml
2017-05-05 18:02:59 +02:00
exys228
6226abdc4b Update messages_ru.yml (#1201)
Fixed some bad grammar and added new keys.
2017-05-05 15:40:12 +02:00
Gabriele C
6655990542 Add a howto link for Thermos 2017-05-04 20:35:10 +02:00
Gabriele C
5dfb63c00f #1194 Add API methods to access the GeoIpAPI 2017-05-04 16:34:38 +02:00
ljacqu
c803822fa8 #1188 Create and keep encryption method instance (#1191)
- Avoid creating the same object over and over; instead keep it and only change it on settings reload
2017-04-30 17:41:51 +02:00
ljacqu
e0e4cd112d #761 Restore permission group in sync with limbo players
- Couple AuthGroupHandler closer to the LimboService: whenever a limbo player is restored, the auth group should be restored as well. This fixes some consistency issues.
- Move AuthGroupHandler into limbo package and make it package-private
- Change permission handler to skip any empty groups (prevents odd command output e.g. for BukkitPermissions)
2017-04-29 22:37:34 +02:00
ljacqu
d4c1370da6 #923 Add commands to run on unregister 2017-04-29 19:11:13 +02:00
ljacqu
578f63b944 #923 Create /authme purgeplayer command
- Create command to purge a specific player name
- Update docs
2017-04-29 18:31:37 +02:00
ljacqu
88d839cab4 #620 Add a cancellable session restore event 2017-04-29 15:44:29 +02:00
ljacqu
b652d89088 #1169 Create UnregisterEvent 2017-04-29 15:22:27 +02:00
ljacqu
d65556d893 #857 Create event for failed authentication 2017-04-29 14:46:06 +02:00
Playhi
dbb8ea7f38 Update messages_zhcn.yml (#1186) 2017-04-29 09:31:17 +02:00
ljacqu
a75150e7bf #836 Update HU translations by @rErEaT 2017-04-29 09:28:58 +02:00
ljacqu
b7c35cb3a7 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into explicit-getters-from-db 2017-04-29 08:19:30 +02:00
ljacqu
82d74ca0a7 Move close methods out of sql datasource utils class
As noticed by @Gnat008
- We need two different implementations for MySQL and SQLite because SQLite uses an older version where #isClosed is not implemented
2017-04-29 08:18:43 +02:00
Gabriele C
61c215d337 Try to fix protoclllib repo link 2017-04-24 14:46:50 +02:00
RatchetCinemaESP
1720a4d842 Update messages_es (#1181)
Translated the new messages.
2017-04-24 14:38:07 +02:00
ljacqu
0e923b6a70 #1180 Create command for performing a backup 2017-04-23 20:23:40 +02:00
Eufranio
e75e22d624 Update brazilian messages (#1174) 2017-04-23 12:02:55 +02:00
Gabriele C
5dd73e9594 Fix ProtocolLib repo url 2017-04-23 11:51:11 +02:00
ljacqu
d0dbc14358 Minor - fix some small todo's 2017-04-23 11:02:43 +02:00
ljacqu
e56a3c0ab6 #815 Save yaw & pitch for last login in SQL data sources 2017-04-22 13:30:03 +02:00
ljacqu
70298a830b Remove outdated todo 2017-04-21 20:29:50 +02:00
ljacqu
07633a89c8 Create SQL data source utils class
- Extract logic used in SQLite and MySQL for logging and closing SQL objects
    - Decided to leave buildAuthFromResultSet methods individually as this might be more implementation-specific
- Rename DataSource#close to DataSource#closeConnection to fix conflict with static import
2017-04-18 22:55:39 +02:00
ljacqu
04ca36fe53 Use more specific query to get logged in players without email
- Reduces the amount of data returned from the DB and the work required to build objects
2017-04-18 22:30:54 +02:00
ljacqu
2f7ebc0ecb Remove static PlayerCache#getInstance 2017-04-18 21:57:20 +02:00
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