Commit Graph

315 Commits

Author SHA1 Message Date
Gabriele C
c61345fd43 cleanup + fix test crypts test on windows systems 2016-02-28 00:32:25 +01:00
Gabriele C
4bf8972875 Lombok + Retrolambda expressions support 2016-02-27 16:12:04 +01:00
Gabriele C
6d8e9d413f Switch to Essentials due to issues with the EssentialsX repo 2016-02-26 15:42:54 +01:00
Gabriele C
3f3b1cfde5 Fix EssentialsX dependency 2016-02-26 15:31:14 +01:00
ljacqu
5e16ca1490 #392 Create integration test for MySQL
- Relocate tests to AbstractDataSourceIntegrationTest to reuse tests for SQLite and MySQL
- Add H2 driver and create test class for MySQL
2016-02-22 21:52:10 +01:00
ljacqu
e8d627c0e1 #392 Start integration test for SQLite 2016-02-21 10:46:13 +01:00
Gabriele C
bb0d938141 Update to 1.9 API
No changes to the source are required :D
2016-02-20 18:41:19 +01:00
Gabriele C
1714b41657 Update dependencies 2016-02-19 16:30:31 +01:00
DNx5
edc20debea Going back to GeoIP legacy. :) 2016-02-19 21:55:53 +07:00
DNx
584fe1d67f Merge pull request #103 from AuthMe-Team/realname-update 2016-02-18 10:32:09 +07:00
DNx5
7b8e5f8e4f GeoIP2 update 2016-02-16 08:31:47 +07:00
DNx5
7c1dd888cc Fix real name update. 2016-02-16 07:14:40 +07:00
Gabriele C
76e7728b37 Don't relocate email dependency atm
Fix https://github.com/Xephi/AuthMeReloaded/issues/522
2016-02-14 19:19:05 +01:00
games647
c28a6922c0 Relocate libraries correctly (Related #467) 2016-02-12 17:37:24 +01:00
Gabriele C
dd8795a1bf Fix google libs relocation 2016-02-11 18:13:43 +01:00
Gabriele C
a74eeb5e44 update compiler 2016-02-11 11:36:54 +01:00
Gabriele C
e1b7303f61 Spaces please! + we need to shade gson because we are using version 2.5, bukkit's one is 2.2.4 (api conflicts)! 2016-02-10 22:43:28 +01:00
games647
0cb0bbcd37 Don't relocate libraries that are available in spigot 2016-02-10 22:22:53 +01:00
Gabriele C
62d55a512e Update geoip library 2016-02-10 13:56:56 +01:00
Gabriele C
0f13206a75 Provide a jar with shaded guava!
Fix #505 #467
2016-02-09 21:31:17 +01:00
Gabriele C
e5fd0d2025 Fix pex dependency 2016-02-07 23:21:34 +01:00
Gabriele C
960723e13d FIx twice javadoc generation 2016-02-07 22:26:29 +01:00
Gabriele C
eee594543b Disable pex repo, now pex is hosted on our jenkins server. 2016-02-07 22:11:10 +01:00
Gabriele C
dd54de4826 Try to fix pex repo 2016-02-07 22:00:58 +01:00
ljacqu
92f81c32c9 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 450-new-settings-rewrite 2016-02-06 17:17:45 +01:00
ljacqu
99b7b80f1d #450 Fix copying of JAR files to plugin folder
- Create SettingsMigrationService#copyFileFromResource (inspired from CustomSettings)
- Use new method to copy missing files in plugin folder from JAR
- Create YamlFileConfiguration inside NewSetting: FileConfiguration object provided by JavaPlugin#getConfig() sets default values from the JAR's config.yml :(
- Change ConsoleLogger to take logger from plugin (work in progress)
2016-02-06 17:10:00 +01:00
games647
9a07cadaa4 Re add bukkit version variable 2016-02-06 14:12:46 +01:00
games647
aff6858251 Change to spigot's repository link to https to fix building (fixes #451) 2016-02-06 14:08:34 +01:00
Gabriele C
11a03e5c46 Update dependencies 2016-02-01 13:24:45 +01:00
Gabriele C
3c88482e22 Maven enhancements 2016-01-21 16:12:39 +01:00
Xephi59
5573e7449d Force UTF-8 2015-12-31 01:27:40 +01:00
Xephi59
e1a84448a2 Fix the whole Javadoc syntax 2015-12-31 01:06:09 +01:00
Xephi59
ebb4f2bd3e Fix Javadoc generation 2015-12-30 23:57:30 +01:00
Xephi59
5354a6913f Use theses packages 2015-12-30 23:51:53 +01:00
Xephi59
1246bf4b4c Add Javadoc Goal 2015-12-30 23:46:38 +01:00
Gabriele C
300a621e1c cleanup 2015-12-30 22:28:45 +01:00
Gabriele C
4395d2ad87 never edit pom file from notepad++ 2015-12-30 22:21:09 +01:00
Gabriele C
3bc64917fa javadoc exclusions 2015-12-30 22:20:02 +01:00
Gabriele C
fc6c120f69 Add jacoco to maven 2015-12-28 13:43:22 +01:00
Gabriele C
66378eeccd Coveralls support 2015-12-28 13:36:02 +01:00
Gabriele C
f1557b29c3 Bye bye system scope dependencies! 2015-12-21 22:34:04 +01:00
Gabriele C
7614b263b0 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded 2015-12-18 17:11:33 +01:00
Gabriele C
7e6abf0441 Clean permission/group providers 2015-12-18 17:10:57 +01:00
Xephi
21d25e5ad3 Add email.html to resources 2015-12-17 18:56:58 +01:00
Gabriele C
9cbe57015e Update gson 2015-12-10 15:28:40 +01:00
Gabriele C
330a275725 Bump version: too many changes 2015-12-08 21:02:22 +01:00
Gabriele C
6ee07160bb cleanup and update deps 2015-12-08 20:07:10 +01:00
Gabriele C
a1f963adf8 update hikari 2015-12-04 13:23:17 +01:00
Gabriele C
22c22ba784 fix invalid plugin.yml version timestamp 2015-11-29 14:29:38 +01:00
Gabriele C
109c85f4dd Auto build number + helpHeader config 2015-11-29 14:27:44 +01:00
Gabriele C
594d4f7b30 revert broken maven features 2015-11-26 22:14:31 +01:00
Gabriele C
6e3fa6957f wrong phase 2015-11-26 19:37:57 +01:00
Gabriele C
84c3b44f82 try to fix auto version code 2015-11-26 19:32:40 +01:00
Gabriele C
db67c77b33 auto build number 2015-11-26 19:20:25 +01:00
DNx5
b6f6599779 Cleanup maven transitive dependencies
test to add jenkins build number in plugin version
2015-11-26 23:55:57 +07:00
ljacqu
e4c82e04ff Merge upstream/master into ljacqu/enums 2015-11-24 21:59:55 +01:00
Gabriele C
43b9462ddc cleanup 2015-11-24 21:13:09 +01:00
ljacqu
6422f90114 Create Wrapper for instances / revise MockUtils
- Add test resources folder
- Create basic test for Messages (todo: add concrete tests)
- Create WrapperMock
- Change UtilsTest (todo: make it work)
2015-11-23 23:25:03 +01:00
AuthMe-Team
9ec2d6d059 Stuff from the common floobits workspace
Author:    AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
ljacqu
38cc217cff Revert certain JavaDoc changes
Ideally JavaDoc should provide additional information to the developer
as to the method's purpose and usage. Typically you do not add the
return type of the method and the parameter's types since this can be
seen in the code.

A short description of what the parameter really is (e.g. a String can
hold many types of information) is a lot more beneficial. A JavaDoc
statement simply restating the parameter types and the method name is,
put bluntly, simply noise, since all of these things are already
contained in the code itself.

Similarly, @see references are great for pointing to other, related
methods but aren't very helpful to point to a superclass method (the
implemented or overriden method) since it is implied by @Override. A
developer can navigate easily to the superclass method with any
reasonable IDE.
2015-11-21 07:41:56 +01:00
Gabriele C
ba483af807 fix project layout 2015-11-20 23:43:26 +01:00
Gabriele C
35ef562d35 Update pom.xml 2015-11-20 23:36:25 +01:00
ljacqu
019390dfe0 Add unit test dependencies and create test for Log4JFilter
Note that the new dependencies in the pom have the scope set to test, so
they will not be included into the built artifact. A first test class
illustrates the general way unit tests can be set up with JUnit, Mockito
and Hamcrest matchers.
2015-11-20 23:00:13 +01:00
Tim Visée
fa28bb6d20 Added PermissionsEx dependency 2015-11-20 19:50:20 +01:00
Tim Visée
facc09a933 Added PermissionsEx repository 2015-11-20 19:49:55 +01:00
Tim Visée
1acbd99002 Added required permissions library for bPermissions 2015-11-20 19:48:48 +01:00
Xephi59
8dadcbd7dd Remove useless Exclusion 2015-11-11 01:52:45 +01:00
Xephi59
a9a057c278 Fix Pom 2015-11-11 01:42:19 +01:00
Xephi59
10606a22e6 Change default mail api to apache one 2015-11-11 01:28:04 +01:00
Gabriele C
604f2f3ee9 reduce size of the email api 2015-11-10 20:20:43 +01:00
Gabriele C
8a4f2c5ef8 I love to clean code and stuff 2015-11-10 19:28:17 +01:00
Gabriele C
2c45cece00 fix plugin name
(i'm an idiot -_-)
2015-11-10 18:43:24 +01:00
Xephi59
b959ea18c9 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded.git 2015-11-08 19:31:52 +01:00
Xephi59
6bff45f0ed Fix Mail Recovery 2015-11-08 19:31:44 +01:00
Gabriele C
1c2cc959cc cleanup 2015-11-08 14:51:55 +01:00
Gabriele C
89b43158d4 Fix mail library classes conflict 2015-11-08 01:18:24 +01:00
Gabriele C
175da3f6fc Cleanup! 2015-11-01 23:35:10 +01:00
Tim Visée
0fbeefc488 Reverted javax mail implementation 2015-11-01 23:16:09 +01:00
Tim Visée
1f888abc12 Updated javax mail implementation 2015-11-01 22:54:37 +01:00
Tim Visée
8105b3f072 Added missing dependency 2015-11-01 15:51:50 +01:00
Alexandre Vanhecke
3f26798608 Update maven shade plugin 2015-10-30 15:26:08 +01:00
Gabriele C
6d0099a977 Dependencies cleanup 2015-10-25 12:38:18 +01:00
DNx5
beb46ebf6f relocate gson lib. 2015-10-23 00:21:22 +07:00
Gabriele C
391a2a123a Useless dependency -_- 2015-10-21 18:34:46 +02:00
Gabriele C
63560063ec Maven stuff 2015-10-21 18:22:23 +02:00
Gabriele C
704b6966f3 Update ProtocolLib version 2015-10-13 15:39:19 +02:00
Gabriele C.
193c9eda43 Update sqlite driver 2015-10-08 20:19:43 +02:00
Gabriele C
807d302b60 1.5.2 compatibility 2015-10-06 19:17:03 +02:00
Gabriele C
de5ecfcb93 Fix compatibility issues 2015-10-05 22:28:31 +02:00
Gabriele C
5576b117c9 cleanup + moved legacy chestshop support 2015-10-04 14:33:21 +02:00
Gabriele C
4c2348e6e3 CleanUp (removed setinventory api method 2015-10-03 12:19:49 +02:00
Gabriele C
aed42670f6 Added exclusions 2015-10-03 11:42:38 +02:00
games647
86ff20b6c9 Replacing old inventory protecting with safe packet modifications using ProtocolLib.
Instead of clearing the inventory of players and storing it's contents in a file, we now prevent
the server from sending the inventory packet if the player is not logged in. The player will
see a empty inventory, but has still his items stored on the server. Therefore we don't
need to modify the player's inventory and we won't make any inventory corrupted.

Fixes Xephi/AuthMeReloaded#203,
Fixes Xephi/AuthMeReloaded#193,
Fixes Xephi/AuthMeReloaded#191,
Fixes Xephi/AuthMeReloaded#148

Remove dead code + Fix empty inventory on the unregister command

Fix NPE if ProtocolLib isn't enabled or installed
2015-10-03 10:48:40 +02:00
Gabriele C.
ac92a58b75 Update pom.xml 2015-10-02 23:59:34 +02:00
games647
4b1854c7e2 Fix duplicate registers 2015-09-30 18:13:53 +02:00
games647
47f0f0e927 Fix duplicate registers 2015-09-28 20:08:51 +02:00
Gabriele C
27f9b14067 GSON library 2015-09-15 21:26:31 +02:00
Gabriele C
f63fe5bc37 Enhance combattag hook 2015-09-15 21:11:56 +02:00
Gabriele C
026d84427b General npc support, fixes and enhancements 2015-09-15 16:33:32 +02:00
Gabriele C.
b458547a17 Update pom.xml 2015-09-15 00:21:04 +02:00