diff --git a/confluence-plugin/pom.xml b/confluence-plugin/pom.xml index b16328e..6d27071 100644 --- a/confluence-plugin/pom.xml +++ b/confluence-plugin/pom.xml @@ -5,7 +5,7 @@ git4c com.networkedassets.git4c - 1.6.2-BETA1 + 1.6.2-BETA2 4.0.0 @@ -28,6 +28,18 @@ Git4C macro displaying documentation in various forms on pages atlassian-plugin + + + + com.atlassian.confluence + confluence-plugins-platform-pom + ${confluence.version} + pom + import + + + + junit @@ -46,12 +58,19 @@ + com.atlassian.plugins atlassian-plugins-osgi-testrunner ${plugin.testrunner.version} test + + + upm-api + com.atlassian.upm + + javax.inject @@ -74,7 +93,7 @@ org.slf4j slf4j-api - 1.6.6 + 1.7.25 provided @@ -94,13 +113,11 @@ com.atlassian.activeobjects activeobjects-plugin - 1.2.3 provided com.atlassian.sal sal-api - 2.7.0 provided @@ -118,13 +135,11 @@ org.springframework spring-context - 2.5.6.SEC02 provided com.google.guava guava - 11.0.2-atlassian-01 runtime @@ -166,6 +181,12 @@ com.fasterxml.jackson.module jackson-module-kotlin 2.9.0 + + + kotlin-reflect + org.jetbrains.kotlin + + org.jasypt @@ -182,7 +203,13 @@ com.github.kittinunf.result result - 1.1.0 + 1.2.0 + + + kotlin-stdlib + org.jetbrains.kotlin + + org.jetbrains.kotlin @@ -205,6 +232,16 @@ kotlintest 2.0.7 test + + + kotlin-stdlib + org.jetbrains.kotlin + + + kotlin-reflect + org.jetbrains.kotlin + + hsqldb @@ -215,13 +252,11 @@ net.java.dev.activeobjects activeobjects-test - 1.2.3 test com.atlassian.activeobjects activeobjects-test - 1.2.3 test @@ -246,6 +281,16 @@ uy.kohesive.klutter klutter-core 2.2.0 + + + kotlin-stdlib-jre8 + org.jetbrains.kotlin + + + kotlin-stdlib + org.jetbrains.kotlin + + com.atlassian.confluence.plugins @@ -253,6 +298,11 @@ ${confluence-extractor-api-plugin.version} provided + + com.atlassian.cache + atlassian-cache-api + provided + com.atlassian.labs lucene-compat-plugin @@ -307,10 +357,14 @@ org.apache.commons - commons-text - 1.4 + commons-lang3 provided + + org.apache.commons + commons-text + 1.6 + @@ -365,13 +419,18 @@ ${amps.version} true + -Xms1g -Xmx2g -XX:MaxPermSize=1g -XX:-UseGCOverheadLimit -server ${confluence.version} ${confluence.data.version} true - false false false false + false + + chrome + false + com.atlassian.confluence.plugins.index.api, @@ -487,4 +546,4 @@ - \ No newline at end of file + diff --git a/confluence-plugin/src/main/java/com/networkedassets/git4c/interfaces/callback/SingleFileMacroView.kt b/confluence-plugin/src/main/java/com/networkedassets/git4c/interfaces/callback/SingleFileMacroView.kt index 9552611..4828a42 100644 --- a/confluence-plugin/src/main/java/com/networkedassets/git4c/interfaces/callback/SingleFileMacroView.kt +++ b/confluence-plugin/src/main/java/com/networkedassets/git4c/interfaces/callback/SingleFileMacroView.kt @@ -41,7 +41,7 @@ class SingleFileMacroView( //Yes, it can be null in some cases val macroUuid = params["uuid"] ?: return "" - val user = userManager.remoteUsername + val user = userManager.remoteUser?.username!! if (conversionContext.outputType == "pdf" || conversionContext.outputType == "word") { @@ -176,4 +176,4 @@ class SingleFileMacroView( override fun getOutputType(): Macro.OutputType { return Macro.OutputType.BLOCK } -} \ No newline at end of file +} diff --git a/confluence-plugin/src/main/resources/atlassian-plugin.xml b/confluence-plugin/src/main/resources/atlassian-plugin.xml index d9eba7e..111cdb9 100644 --- a/confluence-plugin/src/main/resources/atlassian-plugin.xml +++ b/confluence-plugin/src/main/resources/atlassian-plugin.xml @@ -22,6 +22,7 @@ + com.atlassian.auiplugin:ajs com.networkedassets.git4c.ace @@ -199,6 +200,7 @@ com.atlassian.auiplugin:aui-experimental-tooltips com.atlassian.auiplugin:aui-select2 + com.atlassian.auiplugin:ajs com.networkedassets.git4c.confluence-plugin:git4c-api-${timestamp} com.networkedassets.git4c.confluence-plugin:select2single-${timestamp} com.networkedassets.git4c.confluence-plugin:custom-repository-dialog-${timestamp} @@ -212,6 +214,7 @@ com.atlassian.auiplugin:aui-experimental-iconfont confluence.editor.actions:editor-macro-browser + com.atlassian.auiplugin:ajs com.networkedassets.git4c.confluence-plugin:git4c-api-${timestamp} com.networkedassets.git4c.confluence-plugin:nouislider-${timestamp} com.networkedassets.git4c.confluence-plugin:vuejs-${timestamp} @@ -241,6 +244,7 @@ + com.atlassian.auiplugin:ajs com.atlassian.auiplugin:aui-experimental-tooltips + com.atlassian.auiplugin:ajs @@ -305,7 +310,6 @@ location="singleFile/services/url-service.js"/> - diff --git a/confluence-plugin/src/main/resources/components/tableofcontent/toc.js b/confluence-plugin/src/main/resources/components/tableofcontent/toc.js index 2c3bc8c..9c873be 100644 --- a/confluence-plugin/src/main/resources/components/tableofcontent/toc.js +++ b/confluence-plugin/src/main/resources/components/tableofcontent/toc.js @@ -42,7 +42,7 @@ var Git4CToc = { ' ' + ' ' + '
    ' + - ' ' + + ' ' + '
' + '' , @@ -97,4 +97,4 @@ var Git4CToc = { } } -} \ No newline at end of file +} diff --git a/confluence-plugin/src/main/resources/macroResources/index.html b/confluence-plugin/src/main/resources/macroResources/index.html index 081d421..73e904a 100644 --- a/confluence-plugin/src/main/resources/macroResources/index.html +++ b/confluence-plugin/src/main/resources/macroResources/index.html @@ -214,4 +214,4 @@

Files

- \ No newline at end of file + diff --git a/confluence-plugin/src/main/resources/macroResources/macro.vm b/confluence-plugin/src/main/resources/macroResources/macro.vm index 3db197b..3f0c4dc 100644 --- a/confluence-plugin/src/main/resources/macroResources/macro.vm +++ b/confluence-plugin/src/main/resources/macroResources/macro.vm @@ -22,7 +22,4 @@ #requireResourcesForContext("com.networkedassets.git4c.macroResources") #requireResourcesForContext("com.networkedassets.git4c.sourcedialog") - - - -$macroSectionHtml \ No newline at end of file +$macroSectionHtml diff --git a/confluence-plugin/src/main/resources/singleFile/macro.vm b/confluence-plugin/src/main/resources/singleFile/macro.vm index 958233d..47b9081 100644 --- a/confluence-plugin/src/main/resources/singleFile/macro.vm +++ b/confluence-plugin/src/main/resources/singleFile/macro.vm @@ -5,6 +5,7 @@ #requireResource("com.atlassian.auiplugin:aui-experimental-iconfont") #requireResource("com.atlassian.auiplugin:aui-experimental-tooltips") #requireResource("com.atlassian.auiplugin:aui-spinner") +#requireResourcesForContext('editor-v4,editor') #requireResourcesForContext("com.networkedassets.git4c.vuejs") #requireResourcesForContext("com.networkedassets.git4c.api") #requireResourcesForContext("com.networkedassets.git4c.ajscompat") @@ -34,9 +35,6 @@ - - - \ No newline at end of file + diff --git a/confluence-plugin/src/main/resources/singleFileDialog/main.js b/confluence-plugin/src/main/resources/singleFileDialog/main.js index 24dfbae..e932564 100644 --- a/confluence-plugin/src/main/resources/singleFileDialog/main.js +++ b/confluence-plugin/src/main/resources/singleFileDialog/main.js @@ -1207,8 +1207,8 @@ }, mounted: function () { const vm = this - this.init() - this.getRepositoryList() + vm.init() + vm.getRepositoryList() Bus.$on("closeCustomRepositoryDialog", function() {vm.closeCustomRepositoryDialog()}) Bus.$on("repositoryDefined", function(repository) {vm.processRepository(repository)}) } diff --git a/pom.xml b/pom.xml index ab3fa94..b74e86e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.networkedassets.git4c git4c pom - 1.6.2-BETA1 + 1.6.2-BETA2 confluence-plugin @@ -20,13 +20,13 @@ 1.0.13 2.24 2.8.4 - 7.0.0 - 7.0.0 + 7.4.6 + 7.4.6 1.2.6 ${project.groupId}.${project.artifactId} - 8.1.0 - 1.2.3 + 8.2.0 + 2.0.2 1.1.60 @@ -134,4 +134,4 @@ - \ No newline at end of file + diff --git a/seleniumtests/pom.xml b/seleniumtests/pom.xml index 8e465ba..05bc79e 100644 --- a/seleniumtests/pom.xml +++ b/seleniumtests/pom.xml @@ -4,7 +4,7 @@ git4c com.networkedassets.git4c - 1.6.2-BETA1 + 1.6.2-BETA2 4.0.0