Commit Graph

1913 Commits

Author SHA1 Message Date
ljacqu
dccbd5262f Don't update IP twice
- IP is updated in datasource#updateSession after successful login
- Remove no longer used DataSource#updateIp
2016-07-12 21:45:05 +02:00
Gabriele C
4a37e1a4ab Cleanup 2016-07-11 22:45:22 +02:00
Gabriele C
361039f946 should fix #831 and enhance performance 2016-07-11 22:42:33 +02:00
Gabriele C
09e4124ebb Cleanup latest commit 2016-07-11 22:36:05 +02:00
Gabriele C
1bb6270c43 #842 remove the banned country message from the server ping
Useless in my opinion, it reduced performance and may cause #842
2016-07-11 22:34:15 +02:00
Gabriele C
2483f21ece Wtf was that, this may fix a long list of issues! 2016-07-11 22:14:51 +02:00
ljacqu
8d54557f3d Add tests for PlayerDataStorage and LimboCache 2016-07-11 21:09:15 +02:00
Gnat008
1ef3fbd0d8 Merge remote-tracking branch 'origin/master' 2016-07-11 15:05:50 -04:00
Gnat008
351431d1d8 Move Bungee interactions to new service class 2016-07-11 15:05:38 -04:00
ljacqu
97274d8c19 #843 Fix NPE upon registration
- Let login classes handle the login process, remove duplications in register classes
2016-07-11 20:42:28 +02:00
games647
4f68589b76 Fix restoring inventory on register (Related to #818) 2016-07-11 17:15:58 +02:00
ljacqu
a6d885e0bb Write tests for PlayerDataStorage 2016-07-10 23:00:58 +02:00
ljacqu
8e91636fbd Create tests for LimboCache 2016-07-10 17:15:27 +02:00
ljacqu
c9c4e69e1b #838 Fix force spawn on join setting
- Add call to teleport service after login and logout
2016-07-10 13:04:35 +02:00
ljacqu
491853e0c8 Change github URLs from AuthMe-Team/ to AuthMe/
- Change README sections to use more markdown
2016-07-10 11:42:40 +02:00
Gabriele C
ad1991c23c Add missing HU messages #836
Thanks to @rErEaT
2016-07-10 01:03:07 +02:00
Gabriele C
04738c3fc5 Remove useless PEX debug message #841 2016-07-10 00:32:52 +02:00
ljacqu
faddb3ffac No longer need to call setup() directly in ProtocolLibService constructor 2016-07-09 09:25:36 +02:00
ljacqu
aa6fe3e874 Rename method on SettingsDependent
- Rename loadSettings to reload
- Make ProtocolLibService only implement SettingsDependent, not Relaodable alongside
2016-07-09 09:24:25 +02:00
games647
dff09935e6 Check settings async
Based on
6be58ee2e2 (commitcomment-18154945)
2016-07-07 11:34:22 +02:00
games647
6be58ee2e2 Run non-thread-safe addPotionEffect sync on unregister (Fixes #828) 2016-07-07 11:06:38 +02:00
ljacqu
42ef99cf15 Update verification comments in message files 2016-07-06 21:41:43 +02:00
ljacqu
78aac256fd #834 Add Polish messages by @RikoDEV 2016-07-06 21:40:26 +02:00
ljacqu
693a4500ef Fix problem after merge 2016-07-06 21:13:32 +02:00
ljacqu
d297d0b528 Merge branch 'jsoncache-fix' of https://github.com/AuthMe-Team/AuthMeReloaded 2016-07-06 20:55:56 +02:00
games647
d4af1a81af Correctly unregister packet listeners on reload (Fixes #818) 2016-07-06 12:25:10 +02:00
games647
24cc4a1d13 A class could be settingsdependent and reloadable 2016-07-06 12:25:10 +02:00
Maxetto
993430de37 Yet another Italian Update.
If you wish you can Tag, PM or anything else to notify me and deliver even faster updates.
2016-07-05 02:54:31 +02:00
ljacqu
d8f6fb085e Cleanup - remove unused elements in code 2016-07-04 21:53:22 +02:00
ljacqu
ea6603a6dc Fix registered players being teleported to first spawn, fix player losing his speed 2016-07-04 21:38:23 +02:00
ljacqu
2867ebaddd Fix failing test 2016-07-04 20:31:40 +02:00
ljacqu
1c3ca520dc Fix player being unable to walk after admin registration
- Fix sessions still working after being disabled on reload
2016-07-04 19:56:44 +02:00
ljacqu
c040623739 Merge 765-teleport-handling into jsoncache-fix 2016-07-04 18:47:34 +02:00
DNx5
140275f366 - Add restore method in LimboCache
* Apply it to process that have use of it
- Fix fly & walk speed not get restored
2016-07-04 13:21:57 +07:00
ljacqu
06322f37bf #765 Don't teleport after registration; make UnregisterAdminCommand use the unregister process 2016-07-03 21:57:44 +02:00
ljacqu
7788ad6230 #765 Replace Utils usages with TeleportService + misc householding
- Remove some legacy settings
- Move Utils "addNormal" method to AuthGroupHandler

(Reapplied changes from orphaned fe29089)
2016-07-03 19:55:31 +02:00
games647
ed6ba3ac8d Restore the inventory on disabling inventoryProtect on reload
(Fixes #818)
2016-07-03 17:31:13 +02:00
DNx5
deffcb3e2b - Renamed JsonCache to PlayerDataStorage
* the methods inside it renamed to fit with class name
  * cache folder changed into playerdata
- Renamed LimboPlayer to PlayerData
- Added fly speed to PlayerData
- Removed player's name from PlayerData object
- Added getPlayerLocationOrSpawn method in spawn loader.
2016-07-03 21:52:46 +07:00
DNx5
7ea0763966 Merge remote-tracking branch 'origin/master' into jsoncache-fix
Conflicts:
	src/main/java/fr/xephi/authme/settings/Settings.java
2016-07-03 19:53:55 +07:00
ljacqu
8f5817883e Testing - check return value of Set#add instead of separately checking Set#contains 2016-07-03 11:47:37 +02:00
ljacqu
2420a83ec3 #797 Add missing French messages
- Thanks to @Twonox
2016-07-03 09:49:38 +02:00
ljacqu
a9574d2363 #819 Email text migration - migrate %tag% style placeholders as well 2016-07-02 22:22:03 +02:00
ljacqu
3984208548 #797 Make two messages translatable 2016-07-02 21:52:50 +02:00
ljacqu
9a5c432509 #655 Encapsulate mail service
- Change SendMailSSL to be injected into classes and created regardless of settings
- Various minor cleanups (remove accidentally committed test, add more precise logging statement)
2016-07-02 20:56:53 +02:00
ljacqu
d2556b8a04 #817 Sessions timeout - remove mention of 0 = unlimited in config comments 2016-07-02 19:39:13 +02:00
ljacqu
22911a0bb9 Remove duplicate column initialization code, add datasource integration tests
- Drop initialization of all columns on table create in favor of checking each column individually. This is slower but guarantees that each column is only defined once in the code. Columns are only created once so having clean code outweighs performance.
- Write more datasource integration tests
2016-07-02 19:16:26 +02:00
ljacqu
f1d5f3df28 Merge conversion classes to one class per conversion type
- Fix issues in #736 using service getters
2016-07-02 15:18:13 +02:00
games647
bc9717d650 Remove tablist hider because it's useless and produces too much issues
(Related #810)
2016-07-02 12:27:07 +02:00
ljacqu
0283395da4 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into jsoncache-fix
Conflicts:
	src/main/java/fr/xephi/authme/listener/protocollib/ProtocolLibService.java
2016-07-02 11:01:46 +02:00
ljacqu
70226f7ddb #813 Move test resources to conform to package structure 2016-07-02 10:57:30 +02:00