[general]
name=GeoServer Manager
about=GeoServer Manager is a QGIS plugin to administer a GeoServer through its REST API. Unlike publishing tools, it also manages what is already on the server.

    - Workspaces, datastores, coverage stores and cascaded WMS/WMTS stores: browse, create, edit and delete.
    - Layers and layer groups: publish, edit, restyle and preview on a map.
    - Styles in SLD, CSS, YSLD or MBStyle: edit them beside their legend.
    - Tile cache: configure, seed and truncate.
    - Server: contact details, global and service settings, logging.
    - Publish a vector or raster layer of the open project, with its symbology.
    - Add GeoServer layers to the project as WMS, WFS or WMTS.
    - Right-click a layer in the layer tree to publish it, or to push or apply its style.

    Keeps several saved connections. The password can stay in the encrypted QGIS authentication database.
    Tested with GeoServer 2.28 and 3.0. Built on python-geoservercloud, which it bundles with xmltodict.
category=Web
hasProcessingProvider=False
description=Manage a GeoServer from QGIS: workspaces, stores, layers, styles, tile cache and settings.
icon=resources/images/default_icon.png
tags=geoserver,rest,wms,wfs,wmts,workspace,datastore,coverage,layer,layer group,style,sld,publish

# credits and contact
author=Ronit Jadhav
email=dev@ronit.io
homepage=https://geoserver-manager.ronit.io/
repository=https://github.com/ronitjadhav/qgis-geoserver-manager
tracker=https://github.com/ronitjadhav/qgis-geoserver-manager/issues/

# QGIS context
deprecated=False
experimental=False
qgisMinimumVersion=3.40
qgisMaximumVersion=4.99
# QGIS 4 ignores this flag and reads only the range; Qt6 builds of 3.40 to 3.44 need it
supportsQt6=True

# versioning
version=1.1.0
changelog=
 Version 1.1.0:
 - **Changed.** Every tab is now tested each week against the latest GeoServer
   2.x and 3.x releases. The tests start with 2.28.6 and 3.0.2.
 - **Added.** A security policy: report a vulnerability privately, on GitHub
   or by email, as `SECURITY.md` says.
 - **Added.** SQL views: publish a layer from one query on a PostGIS store,
   with parameters, and edit its query. A query GeoServer cannot run is put
   back, so the layer keeps working.
 - **Added.** Time and elevation dimensions on a vector layer, on the **Time**
   and **Elevation** tabs of its edit form.
 - **Added.** Gridsets of your own in the Tile Cache tab: view them, add one
   for any CRS, and delete one no layer uses.
 - **Fixed.** On GeoServer Cloud, **Seed or truncate…** opens: it read a
   gridset through a path Cloud's gateway refuses.
 - **Fixed.** On GeoServer Cloud, **Add to QGIS** as WMTS finds the layer.
 - **Added.** On GeoServer Cloud, a changed namespace URI says that WFS needs
   a catalog reload.
 - **Changed.** GeoServer Cloud 2.28.6 and 3.0.2 are tested every week, with
   both catalogs.
 - **Fixed.** A CQL filter GeoServer cannot read was saved, and the layer then
   answered no request at all. The form now asks GeoServer first, and keeps
   the filter on screen when it is refused.
 - **Fixed.** A save GeoServer refused after the form closed took the typed
   text with it. That was a style's document, a pasted style, a SQL view's
   query or a layer's edits. The form opens again with what was typed. When
   only part of a save landed, such as a style's document but not its new
   name, the tab reloads and says which part. A style document that is not
   well-formed is refused before the form closes.
 - **Fixed.** A new coverage store or cascaded store GeoServer cannot open
   says so when it is created, as an edited one did.
 - **Fixed.** Publishing a coverage or a cascaded layer under a layer name the
   workspace holds is refused in the form, not after it closed.
 - **Added.** The whole interface in French and in German. The plugin follows
   the language of QGIS.
 - **Fixed.** On a QGIS whose Python has the simplejson package (OSGeo4W's
   `qgis-full-free` set installs it), every Add form refused a new name with
   "GeoServer answered with something that is not its REST API": GeoServer's
   text answer for a missing resource was read as a broken one.
 - **Fixed.** The datastore form took a workspace name with a slash, a
   question mark, a hash or a percent sign, which the paths cannot carry; it
   is refused like a store name. A server whose version document has one
   entry connects.
 - **Changed.** The Layers tab reads a workspace's WMTS stores once per
   listing, not once per cascaded WMTS layer on the page.
 - **Fixed.** A style applied from GeoServer could name a file of your
   machine as an icon. QGIS then opened that file, and a push of the layer's
   style uploaded it beside the style, where GeoServer serves it without a
   login. An icon of a server's style now comes from the server only.
 - **Fixed.** Text from the server shows as plain text. A link in the log
   location or in an error was a live link in the Server tab's boxes. *Save
   to disk* suggests the style's file name without the server's folders.
 - **Fixed.** Editing a layer group, setting a layer's styles, or pushing a
   style as a layer's default emptied its authority URLs and identifiers,
   which INSPIRE services publish. They are kept.
 - **Fixed.** A layer with no projection policy, saved without a change, got
   FORCE_DECLARED and recomputed bounding boxes. 4 of the 5 demo coverages
   have no policy. The form shows "Not set" for them and keeps it.
 - **Fixed.** A saved SLD kept only GeoServer's re-encoding of it: its
   comments, any second style and its layout were lost. The SLD is stored as
   written, as GeoServer's own editor stores it. A document GeoServer would
   not store, one that is not an SLD or holds no UserStyle, is refused in the
   editor.
 - **Fixed.** A renamed style lost its metadata. A layer, coverage store or
   cascaded store saved without a change rewrote a text that GeoServer's web
   interface wrote with Windows line ends or spaces at its ends. Both are
   kept.
 - **Changed.** A request that does not reach GeoServer, after a timeout, a
   refused proxy, an untrusted certificate or a lost connection, is said in
   one sentence in the plugin's language. The QGIS log keeps the network
   library's own text.

 Version 1.0.0:
 The first release: a QGIS plugin that manages a GeoServer through its REST
 API, built on [python-geoservercloud](https://github.com/camptocamp/python-geoservercloud).
 Tested with GeoServer 2.28 and 3.0.
 - **Connection.** A settings page with the server URL, the user name and
   password, and *Test connection*. Several saved connections, with a switch
   beside the dialog's status line when there are 2 or more. The password is
   plain text in the QGIS settings by default. A connection can keep it in
   QGIS's encrypted authentication database instead. The plugin follows
   QGIS's proxy settings. A connection that fails says why. The reasons it
   names: a wrong password, an account without rights, a private certificate
   authority, a pasted web address, a server that is not GeoServer.
 - **Workspaces.** List, add, edit and delete workspaces. Set the default
   workspace, the isolated flag and the namespace URI. Give a workspace its
   own WMS, WFS, WCS and WMTS settings, or send it back to the global ones.
 - **Datastores.** Every datastore type. PostGIS (direct or JNDI), shapefile,
   directory, GeoPackage, PMTiles and Web Feature Server stores have a form of
   their own. Any
   other type takes GeoServer's name and parameters. Add, edit, rename, enable
   or disable, reset and delete. The plugin checks a saved store at once. A
   stored password stays when the form leaves it blank.
 - **Coverage stores.** GeoTIFF, COG, ImageMosaic, ArcGrid and WorldImage
   stores: add, edit, reset and delete. Read a coverage's SRS, format, pixel
   size, bounds and bands. Publish a coverage as a layer, or publish a QGIS
   raster layer as a new store.
 - **Cascaded stores.** WMS and WMTS stores that proxy another server. Create
   one from a GetCapabilities URL. Publish the layers the remote advertises,
   view and delete the cascaded layers, delete the store.
 - **Layers.** Every published layer with its workspace, type, store and
   default style. Publish a table of a datastore with its SRS, title,
   abstract and keywords. Edit a layer's name, title, abstract, keywords,
   SRS, projection policy, enabled and advertised flags, and CQL filter. The
   plugin sends only what changed. Update a layer from its data, set its
   default and additional styles, delete.
 - **Layer groups.** Global and per-workspace groups with their mode, layers,
   order, styles, nested groups, Earth Observation root layer and bounds.
   Add, edit and delete them.
 - **Styles.** SLD, CSS, YSLD and MBStyle styles, global and per workspace.
   Upload one from pasted text, a file, a zip with its images, or the
   symbology of a QGIS layer. Edit the body in place, rename, copy, save to
   disk, delete. See which layers and groups use a style. The style dialog
   shows the legend.
 - **Tile cache.** The cached layers with their gridsets and formats. Edit a
   layer's cache configuration, zoom levels and parameter filters. Seed,
   reseed and truncate part of a cache, and follow or stop the running tasks.
   Stop caching a layer, or cache one again.
 - **Server.** The contact details, the global settings, and each service's
   settings with its capabilities URL. The logging profile with the log's
   last lines, and the catalog's reload and reset. Each row also opens
   GeoServer's own page.
 - **QGIS both ways.** Add a layer or a layer group to the project as WMS,
   WFS or WMTS. Preview a layer on a map of its own, in the dialog or in a
   browser. Publish a vector or raster layer of the open project, with its
   symbology, after a check of its CRS. Push a QGIS layer's style to
   GeoServer, or apply a GeoServer style to a QGIS layer. Both work from the
   dialog and from the layer tree's context menu.
 - **In the dialog.** Loads, uploads and deletes run in the background, and
   *Cancel* stops them. Tables sort, filter and page. A large server lists
   its names at once. The details follow for the page on screen. F5, Ctrl+F,
   Esc and Del work as keyboard shortcuts. Every error says what to do next
   and stays until closed. The colours are readable on dark themes. The
   interface is translatable and ships a partial French locale, plural forms
   included.


