Compare commits

..

8 Commits

Author SHA1 Message Date
Sheldan
8375981633 [maven-release-plugin] prepare release templates-1.2 2021-03-22 21:41:05 +01:00
Sheldan
05517b4b75 [AB-206] adding templates for channel group not found with type
adding template for channel group type display
2021-03-22 21:36:29 +01:00
Sheldan
82d43b472b [maven-release-plugin] prepare for next development iteration 2021-03-22 00:55:34 +01:00
Sheldan
46507c79ac [maven-release-plugin] prepare release templates-1.1 2021-03-22 00:55:27 +01:00
Sheldan
daf1cbbe51 [AB-179] adding templates for documentation command 2021-03-22 00:43:22 +01:00
Sheldan
5a72c96537 [AB-203] adapting templates to new model structures 2021-03-21 16:27:16 +01:00
Sheldan
8cb131594c [AB-200] adapting link embed template for changes
moving link embed templates to proper package
adapting module help response to new structure
2021-03-16 01:17:04 +01:00
Sheldan
7156fce15d [maven-release-plugin] prepare for next development iteration 2021-03-13 02:26:32 +01:00
47 changed files with 66 additions and 59 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>

View File

@@ -0,0 +1 @@
<#macro user_author user> "author": { "name": <#include "user_user_name"> "<@user_user_name user=user/>", "avatar": "${user.effectiveAvatarUrl}" }</#macro>

View File

@@ -0,0 +1 @@
<#macro user_user_name user>${user.name?js_string}#${user.discriminator}</#macro>

View File

@@ -0,0 +1,4 @@
{
<#include "abstracto_color">,
"description": "<@safe_include "documentation_response_embed_description"/>"
}

View File

@@ -1,12 +1,12 @@
{
"title": {
<#assign name=module.moduleInterface.info.name/>
<#assign name=module.moduleDefinition.info.name/>
"title": "<@safe_include "help_module_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<@safe_include "help_module_embed_module_name"/>: **${name?js_string}**
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleInterface.info.templated?? && module.moduleInterface.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleInterface.info.description?js_string}</#if>
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleDefinition.info.templated?? && module.moduleDefinition.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleDefinition.info.description?js_string}</#if>
<@safe_include "help_module_embed_commands"/>:
<#list module.commands as command>`${command.configuration.name?js_string}`<#sep>, <#else><@safe_include "help_module_no_commands_available"/></#list>
<#if subModules?has_content && subModules?size gt 0>

View File

@@ -0,0 +1 @@
<#assign name=model.name><#assign correctType=model.correctType><#include "channel_group_incorrect_type_exception_text">

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,6 +1,6 @@
{
<#include "member_author">
<@member_author member=author/>,
<#include "user_author">
<@user_author user=author/>,
<#include "abstracto_color">,
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
"description": "${embeddedMessage.content?js_string}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -10,7 +10,7 @@
},
{
"name": "<@safe_include "messageEdited_new_message_field_title"/>",
"value": "${messageAfter.content?js_string}"
"value": "${messageAfter.contentRaw?js_string}"
},
{
"name": "<@safe_include "messageEdited_link_field_title"/>",

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,12 +1,6 @@
{
"author": {
<#if author?has_content>
"name": "<@member_user_name member=author/>",
"avatar": "${author.user.effectiveAvatarUrl}"
<#else>
"name": "${user.id?c} (<@safe_include "user_left_server"/>)"
</#if>
},
<#include "user_author">
<@user_author user=author/>,
<#include "abstracto_color">,
<#if message.content?has_content || message.embeds?size gt 0>
"description": "${message.content?js_string}
@@ -25,7 +19,7 @@
<#assign channelMention>${channel.asMention?js_string}</#assign>
,"additionalMessage": "<@safe_include "starboard_post_embed_additional_message"/>"
<#else>
<#assign channelMention>${aChannel.id?c}</#assign>
<#assign channelMention>${sourceChannelId?c}</#assign>
,"additionalMessage": "<@safe_include "starboard_post_embed_additional_message"/>"
</#if>
<#if message.attachments?size gt 0>
@@ -37,7 +31,7 @@
<#if channel?has_content>
,"value": "[${channel.name?js_string}](${message.messageUrl})"
<#else>
,"value": "[${aChannel.id?c}](${message.messageUrl})"
,"value": "[${sourceChannelId?c}](${message.messageUrl})"
</#if>
}
],

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.0</version>
<version>1.2</version>
<modules>
<module>abstracto-modules</module>
@@ -23,7 +23,7 @@
<scm>
<url>https://maven.pkg.github.com/Sheldan/abstracto-templates</url>
<developerConnection>scm:git:git@github.com:Sheldan/abstracto-templates.git</developerConnection>
<tag>templates-1.0</tag>
<tag>templates-1.2</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1,2 @@
Documentation is available in [HTML](https://github.com/Sheldan/abstracto-docs/current) and [PDF](https://github.com/Sheldan/abstracto-docs/current/documentation.pdf).
They are also available for older versions via https://github.com/Sheldan/abstracto-docs/$VERSION.

View File

@@ -0,0 +1 @@
Provides a link to the documentation.

View File

@@ -0,0 +1 @@
Provides a link which leads to the documentation detailing the configuration for abstracto.

View File

@@ -0,0 +1 @@
Channel group ${name} has the incorrect type. The group must be of type ${correctType}.

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0</version>
<version>1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.0</version>
<version>1.2</version>
<build>
<plugins>
<plugin>