diff --git a/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/map-results-view.html b/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/map-results-view.html
index 44f8878bbe..33b8a902c5 100644
--- a/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/map-results-view.html
+++ b/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/map-results-view.html
@@ -1,4 +1,5 @@
+
PPTX
\ No newline at end of file
diff --git a/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/parametric-results-view.html b/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/parametric-results-view.html
index 73820357b6..14a9b132a2 100644
--- a/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/parametric-results-view.html
+++ b/webapp/core/src/main/public/static/js/find/templates/app/page/search/results/parametric-results-view.html
@@ -1,4 +1,5 @@
+
PPTX
-
+
PPTX
diff --git a/webapp/idol/src/main/public/static/js/find/idol/templates/page/dashboard-page.html b/webapp/idol/src/main/public/static/js/find/idol/templates/page/dashboard-page.html
new file mode 100644
index 0000000000..a969f912c3
--- /dev/null
+++ b/webapp/idol/src/main/public/static/js/find/idol/templates/page/dashboard-page.html
@@ -0,0 +1,12 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/webapp/idol/src/main/resources/application.properties b/webapp/idol/src/main/resources/application.properties
index ace93051ad..dc29a395e0 100644
--- a/webapp/idol/src/main/resources/application.properties
+++ b/webapp/idol/src/main/resources/application.properties
@@ -31,3 +31,6 @@ spring.jpa.properties.hibernate.default_schema=find
spring.jpa.hibernate.ddl-auto=none
spring.main.banner-mode=off
spring.messages.basename=i18n/idol-errors,i18n/errors
+# Increase the default max file upload size from 1MB, since we use large base64-encoded images for map .pptx export
+spring.http.multipart.max-file-size=16Mb
+spring.http.multipart.max-request-size=16Mb
diff --git a/webapp/idol/src/main/resources/custom-application.properties b/webapp/idol/src/main/resources/custom-application.properties
index 8675b0c725..6ebde724d3 100644
--- a/webapp/idol/src/main/resources/custom-application.properties
+++ b/webapp/idol/src/main/resources/custom-application.properties
@@ -12,4 +12,6 @@ idol.log.timing.enabled=true
# Only used if server.reverseProxy is true
server.ajp.port=8009
server.tomcat.resources.max-cache-kb=20480
+# Increase the connector max post size from 2097152, since we use large base64-encoded images for map .pptx export
+server.tomcat.connector.max-post-size=16777216
find.reverse-proxy.pre-authenticated-roles=FindUser
diff --git a/webapp/idol/src/main/resources/defaultIdolConfigFile.json b/webapp/idol/src/main/resources/defaultIdolConfigFile.json
index 82b041abe0..1af0121fc2 100644
--- a/webapp/idol/src/main/resources/defaultIdolConfigFile.json
+++ b/webapp/idol/src/main/resources/defaultIdolConfigFile.json
@@ -107,6 +107,9 @@
"enabled": false,
"baseUrl": ""
},
+ "powerpoint": {
+ "templateFile": ""
+ },
"uiCustomization": {
"options": {
"directAccessLink": {
diff --git a/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/configuration/IdolFindConfigTest.java b/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/configuration/IdolFindConfigTest.java
index 14256b1e0c..3a583731e3 100644
--- a/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/configuration/IdolFindConfigTest.java
+++ b/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/configuration/IdolFindConfigTest.java
@@ -9,6 +9,7 @@
import com.hp.autonomy.frontend.configuration.ConfigException;
import com.hp.autonomy.frontend.configuration.authentication.CommunityAuthentication;
import com.hp.autonomy.frontend.configuration.server.ServerConfig;
+import com.hp.autonomy.frontend.find.core.configuration.PowerPointConfig;
import com.hp.autonomy.frontend.find.core.configuration.SavedSearchConfig;
import com.hp.autonomy.searchcomponents.idol.configuration.QueryManipulation;
import com.hp.autonomy.searchcomponents.idol.view.configuration.ViewConfig;
@@ -39,6 +40,9 @@ public class IdolFindConfigTest {
@Mock
private ViewConfig viewConfig;
+ @Mock
+ private PowerPointConfig powerPointConfig;
+
private IdolFindConfig idolFindConfig;
@Before
@@ -49,6 +53,7 @@ public void setUp() {
.queryManipulation(queryManipulation)
.savedSearchConfig(savedSearchConfig)
.view(viewConfig)
+ .powerPoint(powerPointConfig)
.build();
}
@@ -70,6 +75,7 @@ public void merge() {
when(queryManipulation.merge(any(QueryManipulation.class))).thenReturn(queryManipulation);
when(savedSearchConfig.merge(any(SavedSearchConfig.class))).thenReturn(savedSearchConfig);
when(viewConfig.merge(any(ViewConfig.class))).thenReturn(viewConfig);
+ when(powerPointConfig.merge(any(PowerPointConfig.class))).thenReturn(powerPointConfig);
final IdolFindConfig defaults = IdolFindConfig.builder().content(mock(ServerConfig.class)).build();
final IdolFindConfig mergedConfig = idolFindConfig.merge(defaults);
@@ -78,6 +84,7 @@ public void merge() {
assertEquals(queryManipulation, mergedConfig.getQueryManipulation());
assertEquals(savedSearchConfig, mergedConfig.getSavedSearchConfig());
assertEquals(viewConfig, mergedConfig.getViewConfig());
+ assertEquals(powerPointConfig, mergedConfig.getPowerPoint());
assertEquals(idolFindConfig, mergedConfig);
}
diff --git a/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/export/IdolExportControllerTest.java b/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/export/IdolExportControllerTest.java
index 2153c5f567..62a1f473a0 100644
--- a/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/export/IdolExportControllerTest.java
+++ b/webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/export/IdolExportControllerTest.java
@@ -6,8 +6,10 @@
package com.hp.autonomy.frontend.find.idol.export;
import com.autonomy.aci.client.services.AciErrorException;
+import com.hp.autonomy.frontend.configuration.ConfigService;
import com.hp.autonomy.frontend.find.core.export.ExportController;
import com.hp.autonomy.frontend.find.core.export.ExportControllerTest;
+import com.hp.autonomy.frontend.find.idol.configuration.IdolFindConfig;
import com.hp.autonomy.searchcomponents.core.search.StateTokenAndResultCount;
import com.hp.autonomy.searchcomponents.core.search.TypedStateToken;
import com.hp.autonomy.searchcomponents.idol.search.IdolDocumentsService;
@@ -33,6 +35,8 @@ public class IdolExportControllerTest extends ExportControllerTest
idolFindConfig;
@Override
protected ExportController constructController() throws IOException {
@@ -49,7 +53,7 @@ protected ExportController constructControl
when(queryRestrictionsBuilder.stateMatchId(anyString())).thenReturn(queryRestrictionsBuilder);
when(queryRestrictionsBuilder.build()).thenReturn(queryRestrictions);
- return new IdolExportController(requestMapper, controllerUtils, documentsService, exportService);
+ return new IdolExportController(requestMapper, controllerUtils, documentsService, exportService, objectMapper, idolFindConfig);
}
@Override
diff --git a/webapp/pom.xml b/webapp/pom.xml
index c7faa2e581..6ef7aae029 100644
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -29,6 +29,7 @@
HEAD
0.42.0
+ 1.0.0-SNAPSHOT
${project.build.outputDirectory}
true