Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
86ef39a
UndineMailer v1.6.7 : Fixed issue #90
ucchyocean Oct 23, 2016
eba2417
Update messages_de.yml
Androkai Oct 23, 2016
88fef3d
Merge pull request #91 from Androkai/patch-3
ucchyocean Oct 24, 2016
af08e01
Use singular form of "tip"
RoboMWM Oct 26, 2016
0293520
Merge pull request #92 from RoboMWM/patch-3
ucchyocean Oct 26, 2016
fe8ca39
UndineMailer v1.7.0 : Fixed issue #93
ucchyocean Feb 13, 2017
3278582
UndineMailer v1.7.0 : Changed version number.
ucchyocean Mar 5, 2017
9a2be91
Changed line code, CR+LF -> LF
ucchyocean Apr 3, 2017
f9938b3
UndineMailer v1.7.1 : Fixed issue #94
ucchyocean Apr 3, 2017
4856344
UndineMailer v1.7.1 : Fixed issue #95
ucchyocean Apr 3, 2017
8d66c32
UndineMailer v1.7.1 : Refined config comments for issue #95
ucchyocean Apr 3, 2017
fa50d30
UndineMailer v1.7.1 : Fixed issue #96
ucchyocean Apr 3, 2017
3495c03
UndineMailer v1.7.1 : Fixed issue #97
ucchyocean Apr 3, 2017
80fb181
UndineMailer v1.7.1 : Fixed issue #98
ucchyocean Apr 3, 2017
d3b1e8c
v1.8.0 : Update for Bukkit 1.12
ucchyocean Jul 8, 2017
ab13153
UndineMailer v1.8.1 : Fixed issue #99
ucchyocean Jul 16, 2018
df2bb6a
UndineMailer v1.8.1 : Fixed issue #100
ucchyocean Jul 16, 2018
f07d884
Fixed compile warning.
ucchyocean Jul 16, 2018
c5df5c7
UndineMailer v1.9.0 : updated for Bukkit version 1.13 or later.
ucchyocean Jun 24, 2019
24cdce4
UndineMailer v1.9.0 : Updated for TravisCI.
ucchyocean Jun 24, 2019
7275f57
UndineMailer v1.9.0 : Fixed Material compatibility problem.
ucchyocean Jun 24, 2019
25f87c8
UndineMailer v1.9.1 : Fixed command block bug.
ucchyocean Jul 10, 2019
67f226b
UndineMailer v1.9.1 : Abolished TradableMaterial.
ucchyocean Jul 10, 2019
5f187bb
UndineMailer v1.9.1 : Refined ItemConfigUtility.
ucchyocean Jul 13, 2019
f457c20
UndineMailer v1.9.2 : Added "api-version: 1.13"
ucchyocean Jul 16, 2019
862e456
UndineMailer v1.10.0 : Fixed issue #102
ucchyocean Apr 26, 2020
da66822
UndineMailer v1.10.1 : Re-fixed issue #102.
ucchyocean Apr 26, 2020
56e4db1
UndineMailer v1.10.2 : Re-fixed issue #102.
ucchyocean Apr 26, 2020
fddde77
UndineMailer v1.10.3 : Added UUIDResolver class.
ucchyocean Apr 27, 2020
8a5d87e
UndineMailer v1.10.3 : Fixed issue #102.
ucchyocean Apr 28, 2020
ae9dd19
UndineMailer v1.10.3 : Fixed UUIDResolverTest.
ucchyocean Apr 28, 2020
7a229dd
Bump junit from 4.12 to 4.13.1
dependabot[bot] Oct 12, 2020
e757657
Merge pull request #103 from ucchyocean/dependabot/maven/junit-junit-…
ucchyocean Oct 13, 2020
f74479d
Updated pom.xml
Oct 13, 2020
dfbf8ee
Merge branch 'develop_2.x' into master_v2
LazyGon Nov 2, 2020
98c0342
Merge pull request #1 from okocraft/master_v2
LazyGon Nov 2, 2020
7c50935
Unify sendMessageComponent method
LazyGon Nov 3, 2020
7b30d41
Use lambda
LazyGon Nov 3, 2020
f307d0f
Abstractize to add database implementation
LazyGon Nov 3, 2020
a3a0ed4
Add dependency, database scheme and config values
LazyGon Nov 3, 2020
8e5e3a4
Remove shaded gson.
LazyGon Nov 7, 2020
13cce16
Add missing config option for MySQL
LazyGon Nov 7, 2020
1540c04
Divide each table classes and add db init
LazyGon Nov 7, 2020
bd326a5
Add GroupManager and GroupData class for database
LazyGon Nov 7, 2020
7815ab7
Add MailData and MailManager classes for database
LazyGon Nov 7, 2020
a9b3b20
Add database mailsender initialization to Listener
LazyGon Nov 7, 2020
b809cb5
Fix data storage comment
LazyGon Nov 7, 2020
e877a6b
I found hasPlayedBefore works well
LazyGon Nov 7, 2020
92328eb
Bug fix
LazyGon Nov 7, 2020
16edb72
Change MailData class variable index
LazyGon Nov 7, 2020
9df06f1
Implement equals method in MailData
LazyGon Nov 7, 2020
4da6e42
Bug fix
LazyGon Nov 7, 2020
b28e015
Bug fix
LazyGon Nov 7, 2020
26dc4ab
Fix NPE on adding group with flatfile mode.
LazyGon Nov 7, 2020
8dbb941
Fix bug
LazyGon Nov 8, 2020
2a5420f
Add cache on MailSenderTable
LazyGon Nov 8, 2020
bd94e65
Fix bug
LazyGon Nov 8, 2020
da817c6
Fix bug when specifying special group
LazyGon Nov 8, 2020
7a6d3ea
Ignore case on searching group name
LazyGon Nov 8, 2020
c9c5dc5
Remove unused method.
LazyGon Nov 8, 2020
a060be8
Fix ConcurrentModificationException
LazyGon Nov 8, 2020
b58e295
Fix group name case handling.
LazyGon Nov 8, 2020
94649d1
Fix bug
LazyGon Nov 8, 2020
c49da96
fix typo
LazyGon Nov 8, 2020
2ba066f
Change default database type
LazyGon Nov 8, 2020
f739706
Fix typo
LazyGon Nov 8, 2020
0c37fc4
Fix compatibility with mysql and sqlite
LazyGon Nov 8, 2020
2e8fafb
Debug mysql
LazyGon Nov 8, 2020
366bf38
Fix cache bug
LazyGon Nov 8, 2020
5d14f21
Add notification when a mail is sent
LazyGon Nov 8, 2020
8275c1d
Remove debug message
LazyGon Nov 8, 2020
2163972
Fix bugs because of careless miss
LazyGon Nov 8, 2020
fcbe44e
Add javadoc
LazyGon Nov 8, 2020
570ca5f
Add license to each classes
LazyGon Nov 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
/release
.idea/
*.iml
/bin/
dependency-reduced-pom.xml
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: java
jdk:
- oraclejdk7
- oraclejdk8
- oraclejdk11
- openjdk8
- openjdk10
- openjdk11
branches:
only:
- master
Binary file added lib/PermissionsEx-1.23.1.jar
Binary file not shown.
350 changes: 215 additions & 135 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,135 +1,215 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.bitbucket.ucchy</groupId>
<artifactId>UndineMailer</artifactId>
<version>2.0.0</version>
<description>A mail system plugin for bukkit server</description>

<licenses>
<license>
<name>GNU Lesser General Public License version 3</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.en.html</url>
<distribution>repo</distribution>
</license>
</licenses>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${basedir}/../mvn-repo</url>
</repository>
</distributionManagement>

<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean javadoc:jar source:jar deploy</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<source>1.6</source>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<charset>UTF-8</charset>
<show>public</show>
<nohelp>true</nohelp>
<links>
<link>http://docs.oracle.com/javase/6/docs/api/</link>
<link>https://hub.spigotmc.org/javadocs/bukkit/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<finalName>${project.artifactId}-${project.version}</finalName>
<descriptors>
<descriptor>distribution.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>spigot-repo</id>
<name>Spigot Maven Repository</name>
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
</repository>
<repository>
<id>vault-repo</id>
<name>Vault Repository</name>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
<repository>
<id>pex-repo</id>
<name>PermissionsEx Repository</name>
<url>http://pex-repo.aoeu.xyz</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.10.2-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>ru.tehkode</groupId>
<artifactId>PermissionsEx</artifactId>
<version>1.23.1</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>net.gravitydevelopment.updater</groupId>
<artifactId>updater</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.bitbucket.ucchy</groupId>
<artifactId>UndineMailer</artifactId>
<version>2.0.0</version>
<description>A mail system plugin for bukkit server</description>

<licenses>
<license>
<name>GNU Lesser General Public License version 3</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.en.html</url>
<distribution>repo</distribution>
</license>
</licenses>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${basedir}/../mvn-repo</url>
</repository>
</distributionManagement>

<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean javadoc:jar source:jar deploy</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<source>1.8</source>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<charset>UTF-8</charset>
<show>public</show>
<nohelp>true</nohelp>
<links>
<link>https://docs.oracle.com/javase/jp/8/docs/api/</link>
<link>https://hub.spigotmc.org/javadocs/bukkit/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>com.github.ucchyocean:MessagingUtility</include>
<include>com.github.ucchyocean:ItemConfigUtility</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<finalName>${project.artifactId}-${project.version}</finalName>
<descriptors>
<descriptor>distribution.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>1.3.1</version>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>spigot-repo</id>
<name>Spigot Maven Repository</name>
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
</repository>
<repository>
<id>jitpack.io</id>
<name>Vault Repository</name>
<url>https://jitpack.io/</url>
</repository>
<repository>
<id>pex-repo</id>
<name>PermissionsEx Repository</name>
<url>http://pex-repo.aoeu.xyz</url>
</repository>
<repository>
<id>pcgf-repo</id>
<name>PCGF PluginLib Repository</name>
<url>https://repo.pcgamingfreaks.at/repository/everything</url>
</repository>
<repository>
<id>ucchy-github</id>
<name>ucchy github repository</name>
<url>https://raw.github.com/ucchyocean/mvn-repo/master</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.2-R0.1-SNAPSHOT</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<optional>true</optional>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ru.tehkode</groupId>
<artifactId>PermissionsEx</artifactId>
<version>1.23.1</version>
<optional>true</optional>
<scope>system</scope>
<systemPath>${project.basedir}/lib/PermissionsEx-1.23.1.jar</systemPath>
<exclusions>
<exclusion>
<groupId>net.gravitydevelopment.updater</groupId>
<artifactId>updater</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<!-- gson v2.8.0 が bukkit に含まれているのでスコープを provided に変更。 -->
<version>2.8.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.32.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.49</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.ucchyocean</groupId>
<artifactId>MessagingUtility</artifactId>
<version>0.0.3</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.ucchyocean</groupId>
<artifactId>ItemConfigUtility</artifactId>
<version>0.0.5</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading