Skip to content

Commit

Permalink
Merge pull request #4211 from camptocamp/demo
Browse files Browse the repository at this point in the history
Use the new demo
  • Loading branch information
sbrunner committed Sep 6, 2018
2 parents 385977d + 54330d9 commit d50b189
Show file tree
Hide file tree
Showing 39 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion contribs/gmf/apps/desktop/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=desktop"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=desktop"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/apps/desktop_alt/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=desktop_alt"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=desktop_alt"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/apps/mobile/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=mobile"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=mobile"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/apps/mobile_alt/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=mobile_alt"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=mobile_alt"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/apps/oeedit/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=oeedit"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=oeedit"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/apps/oeview/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="https://geomapfish-demo.camptocamp.com/2.3/wsgi/dynamic.js?interface=oeview"></script>
<script src="https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/dynamic.js?interface=oeview"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contribs/gmf/examples/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'authenticationBaseUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi');

exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');

Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/backgroundlayerselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?' +
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?' +
'version=2&background=background');

exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/contextualdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfRasterUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/raster');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/raster');

exports.module.value(
'gmfContextualdatacontentTemplateUrl',
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ exports.module.constant('ngeoQueryOptions', {

exports.module.constant(
'gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?' +
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?' +
'version=2&background=background');

exports.module.constant('defaultTheme', 'Demo');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/displayquerywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports.module.value('ngeoQueryOptions', {

exports.module.value(
'gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?' +
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?' +
'version=2&background=background');

exports.module.constant('defaultTheme', 'Demo');
Expand Down
6 changes: 3 additions & 3 deletions contribs/gmf/examples/editfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'authenticationBaseUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi');


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down Expand Up @@ -77,7 +77,7 @@ exports.MainController = function($scope, gmfEditFeature, gmfUser) {
* @private
*/
this.wmsSource_ = new olSourceImageWMS({
url: 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/mapserv_proxy',
url: 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/mapserv_proxy',
params: {'LAYERS': 'point'}
});

Expand Down
8 changes: 4 additions & 4 deletions contribs/gmf/examples/editfeatureselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value(
'authenticationBaseUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi');


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Edit');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/elevation.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfRasterUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/raster');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/raster');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
8 changes: 4 additions & 4 deletions contribs/gmf/examples/filterselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value(
'authenticationBaseUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi');


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Filters');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
6 changes: 3 additions & 3 deletions contribs/gmf/examples/importdatasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');

exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.value('gmfExternalOGCServers', [{
'name': 'Swiss Topo WMS',
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/layertree.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background&interface=desktop');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background&interface=desktop');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/layertreeadd.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background&interface=desktop');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background&interface=desktop');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('gmfTreeManagerModeFlush', false);
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/mobilemeasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfRasterUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/raster');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/raster');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
4 changes: 2 additions & 2 deletions contribs/gmf/examples/objectediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ exports.module = angular.module('gmfapp', [
]);

exports.module.constant('defaultTheme', 'ObjectEditing');
exports.module.constant('gmfLayersUrl', 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
exports.module.constant('gmfTreeUrl', 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
exports.module.constant('gmfLayersUrl', 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');
exports.module.constant('gmfTreeUrl', 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');
exports.module.constant('gmfObjectEditingToolsOptions', {
regularPolygonRadius: 150
});
Expand Down
4 changes: 2 additions & 2 deletions contribs/gmf/examples/objecteditinghub.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
8 changes: 4 additions & 4 deletions contribs/gmf/examples/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?' +
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?' +
'version=2&background=background');


exports.module.value('gmfPrintUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/printproxy');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/printproxy');


exports.module.value(
'authenticationBaseUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi'
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi'
);


exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value(
'gmfProfileJsonUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/profile.json');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/profile.json');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down
8 changes: 4 additions & 4 deletions contribs/gmf/examples/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ exports.module = angular.module('gmfapp', [
]);

exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');

exports.module.value('fulltextsearchUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/fulltextsearch?limit=30&partitionlimit=5&interface=desktop');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/fulltextsearch?limit=30&partitionlimit=5&interface=desktop');

exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('defaultTheme', 'Demo');
exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
Expand Down Expand Up @@ -73,7 +73,7 @@ exports.MainController = function(gmfThemes, ngeoFeatureOverlayMgr, ngeoNotifica
rateLimitWait: 250
}
},
url: 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/fulltextsearch'
url: 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/fulltextsearch'
}];

const fill = new olStyleFill({color: [255, 255, 255, 0.6]});
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports.module = angular.module('gmfapp', [
]);

exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
exports.module.constant('gmfShortenerCreateUrl', 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/short/create');
exports.module.constant('gmfShortenerCreateUrl', 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/short/create');


/**
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/themeselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.module = angular.module('gmfapp', [
]);

exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');

exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');

Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/wfspermalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports.module = angular.module('gmfapp', [

exports.module.value('ngeoWfsPermalinkOptions',
/** @type {ngeox.WfsPermalinkOptions} */ ({
url: 'https://geomapfish-demo.camptocamp.com/2.3/wsgi/mapserv_proxy',
url: 'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/mapserv_proxy',
wfsTypes: [
{featureType: 'fuel', label: 'display_name'},
{featureType: 'osm_scale', label: 'display_name'}
Expand Down
4 changes: 2 additions & 2 deletions contribs/gmf/examples/xsdattributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ exports.module = angular.module('gmfapp', [


exports.module.value('gmfTreeUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/themes?version=2&background=background');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/themes?version=2&background=background');

exports.module.value('gmfLayersUrl',
'https://geomapfish-demo.camptocamp.com/2.3/wsgi/layers/');
'https://geomapfish-demo-dc.camptocamp.com/2.4/wsgi/layers/');

exports.module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');

Expand Down

0 comments on commit d50b189

Please sign in to comment.