Skip to content

Commit 00b096d

Browse files
committed
REMOVE: Map URL
1 parent 257602d commit 00b096d

File tree

6 files changed

+6
-27
lines changed

6 files changed

+6
-27
lines changed

tests/end2end/tests/auth.setup.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ async function initializeServersURLs(page, wps, map) {
99

1010
setup('authenticate as admin and add map', async ({ page }) => {
1111
const WPS_URL = "http://tests-wps-1:8080/";
12-
const MAP_URL = "";
1312

1413
await authUsingLogin(page, 'admin', 'admin', getAuthStorageStatePath('admin'));
15-
await initializeServersURLs(page, WPS_URL, MAP_URL);
14+
await initializeServersURLs(page, WPS_URL);
1615
});

tests/end2end/tests/pom/lizmap-edit-wps-url-page.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export class LizmapEditionWPSURLPage {
77
constructor(page) {
88
this.page = page;
99
this.inputFieldPyQGIS_WPSServer = page.locator('#jforms_wps_url_server_manage_pygiswps_server_url');
10-
this.inputFieldMapServer = page.locator('#jforms_wps_url_server_manage_map_server_url');
1110
this.saveButton = page.locator('#jforms_wps_url_server_manage_submit');
1211
}
1312

@@ -27,15 +26,6 @@ export class LizmapEditionWPSURLPage {
2726
await this.inputFieldPyQGIS_WPSServer.fill(url);
2827
}
2928

30-
/**
31-
* Fills the Map server URL input field with the provided URL.
32-
*
33-
* @param {string} url - The URL to be filled in the Map server input field.
34-
*/
35-
async fillMapURL(url) {
36-
await this.inputFieldMapServer.fill(url);
37-
}
38-
3929
/**
4030
* Performs the action of clicking the save button.
4131
*/
@@ -47,13 +37,11 @@ export class LizmapEditionWPSURLPage {
4737
* Initializes the URLs for the application by setting up a WPS URL and a Map URL.
4838
*
4939
* @param {string} wpsURL - The URL for the Web Processing Service (WPS) server.
50-
* @param {string} mapURL - The URL for the map server.
5140
*/
52-
async initializeURLS(wpsURL, mapURL) {
41+
async initializeURLS(wpsURL) {
5342
await this.goto();
5443

5544
await this.fillPyQGIS_WPS_URL(wpsURL);
56-
await this.fillMapURL(mapURL);
5745

5846
await this.save();
5947
}

wps/classes/wps.listener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
use LizmapWPS\WPS\UrlServerUtil;
4-
53
$lproj = null;
64

75
class wpsListener extends jEventListener
@@ -49,7 +47,6 @@ public function ongetMapAdditions($event)
4947
'wps_ogc_processes' => jUrl::get('wps~processes_rest:get'),
5048
'wps_ogc_jobs' => jUrl::get('wps~jobs_rest:get'),
5149
),
52-
'mapURL' => UrlServerUtil::retrieveServerURL('map_server_url'),
5350
);
5451
$css = array(
5552
jUrl::get('jelix~www:getfile', array('targetmodule' => 'wps', 'file' => 'wps.css')),

wps/forms/url_server_manage.form.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
<input ref="pygiswps_server_url">
44
<label locale="wps~wps.form.url_server_pyqgiswps.label"/>
55
</input>
6-
<input ref="map_server_url">
7-
<label locale="wps~wps.form.url_server_map.label"/>
8-
</input>
96
<submit ref="submit">
107
<label locale="jelix~ui.buttons.save"></label>
118
</submit>

wps/locales/en_US/wps.UTF-8.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,16 @@ ui.page.qml.upload.title=QGIS style file upload
2929
ui.page.conf.title=Project restrictions configuration
3030
ui.page.confirmdelete.title=Confirm file deletion
3131
ui.page.confirmdelete.msg.html=Are you sure to want to delete <strong>%s</strong> ?
32-
ui.page.url.server.title=Servers URL
32+
ui.page.url.server.title=Server URL
3333

3434
ui.admin.menu.group=WPS configuration
3535
ui.admin.menu.model3list=Manage QGIS models
3636
ui.admin.menu.project_restriction=Project restrictions
37-
ui.admin.menu.url_server=Servers URL
37+
ui.admin.menu.url_server=Server URL
3838

3939
form.projects.restrict_to_authenticated_users=Restrict to authenticated users
4040
form.projects.restrict_to_config_projects=Restrict to projects with WPS configuration
4141
form.url_server_pyqgiswps.label=PyQGIS-WPS URL server
42-
form.url_server_map.label=Map server URL
4342

4443
dock.main.title=Processing
4544
run.tab.execute.button=Run

wps/locales/fr_FR/wps.UTF-8.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,16 @@ ui.page.qml.upload.title=Téléversement d'un fichier de style QGIS
2626
ui.page.conf.title=Configuration des restrictions de projet
2727
ui.page.confirmdelete.title=Confirmer la suppression du fichier
2828
ui.page.confirmdelete.msg.html=Êtes-vous sûr de vouloir supprimer le fichier <strong>%s</strong> ?
29-
ui.page.url.server.title=URL des serveurs
29+
ui.page.url.server.title=URL du serveur
3030
3131
ui.admin.menu.group=Configuration WPS
3232
ui.admin.menu.model3list=Gestion des modèles QGIS
3333
ui.admin.menu.project_restriction=Restrictions de projet
34-
ui.admin.menu.url_server=URL serveurs
34+
ui.admin.menu.url_server=URL serveur
3535
3636
form.projects.restrict_to_authenticated_users=Restreindre aux utilisateurs authentifiés
3737
form.projects.restrict_to_config_projects=Restreindre aux projets ayant une configuration WPS
3838
form.url_server_pyqgiswps.label=URL du serveur PyQGIS-WPS
39-
form.url_server_map.label=URL du serveur Map
4039
4140
dock.main.title=Traitement
4241
run.tab.execute.button=Exécuter

0 commit comments

Comments
 (0)