182 Commits

Author SHA1 Message Date
Nyall Dawson
cdcbd35f10 Indent 2024-02-04 05:54:10 +10:00
Nyall Dawson
5188e67bc4 Avoid use of pygments in metasearch
This isn't required -- it was used to convert xml/json to
a prettified HTML representation, but we get better results
by just using the QgsCodeEditor widget subclasses instead
(eg bracket highlighting, collapsing, line numbers etc)
2024-02-04 05:54:10 +10:00
Nyall Dawson
c95df01a90 Advertise qt6 compatibility for metasearch plugin
There may be some sneaky issues still, but it at least appears to
function ok!
2024-01-31 10:55:33 +10:00
Nyall Dawson
e42abf7dc5 Update python files 2024-01-22 05:46:15 +10:00
Nyall Dawson
c16a1e2b3d Update enums 2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d [PyQt6] Add scope for enums and get rid of PyQt5.XXX import
this has been done automatically with the following comand line

./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Denis Rouzaud
59399cd186
Update MetaSearch with new settings API (#54238)
* Update MetaSearch with new settings API

fixes #54144

* remove Arcgis Map Server

* fix test
2023-08-16 13:38:03 +02:00
Etienne Trimaille
3ebb5af1fb Python - Upgrade metasearch to Python 3.7 minimum 2023-04-19 05:25:57 +10:00
Tom Kralidis
c2b60acb09 fix geometry ref 2023-03-14 08:27:10 +10:00
Tom Kralidis
2bbbe19d13 MetaSearch: update paging parameters for OGC API - Records 2023-03-14 08:27:10 +10:00
Nyall Dawson
1f6e53b2c4 [metasearch] Fix messed up QgsRubberBand constructor 2023-02-22 12:39:21 +10:00
Andrea Giudiceandrea
8914ff52ba Fix MetaSearch core plugin metadata
Update the issue tracker URL. Remove the outdated changelog and useless "experimental" and "deprecated" parameters.
2022-07-19 05:36:29 +10:00
Tom Kralidis
ff036a2e6f MetaSearch: update OARec record model links 2022-05-30 09:22:00 +10:00
Andrea Giudiceandrea
1eda8b21ae
[MetaSearch] Fix error navigating the search results (#48298)
Fix the "Search error: list object has no attribute 'toXML'" that occurs navigating the search results after the second time the navigation buttons are pressed
2022-05-05 07:36:38 -04:00
Andrea Giudiceandrea
29b40e48da
[MetaSearch] fix CSW search when user/passwords are empty (Fix #48201) (#48288)
* [MetaSearch] fix CSW search when user/passwords are empty

* [MetaSearch] avoid to send username/passwords if empty
2022-05-05 06:37:21 -04:00
Tom Kralidis
3d508284e7
Update search_backend.py 2022-03-24 04:03:46 -04:00
Tom Kralidis
e8aab87a2a set zero-based offset for OARec 2022-03-10 19:21:47 -05:00
Tom Kralidis
c48f2b8e9d MetaSearch: update startindex to items 2022-03-10 13:27:18 -05:00
Tom Kralidis
15a2030e80 make exception finer grained 2022-02-28 11:41:39 +10:00
Tom Kralidis
0f98e3c5cf [MetaSearch] safeguard OWSLib version handling (#47360) 2022-02-28 11:41:39 +10:00
Alexander Bruy
91fb92f650 fix adding vector layers to QGIS from MetaSearch (fix #46135) 2022-01-26 07:06:37 +10:00
Nyall Dawson
8dc8331394
Merge pull request #46270 from gbd-consult/feature/metasearch
[MetaSearch] Save Settings
2021-12-20 11:35:15 +10:00
towa
1f025e5315
Update python/plugins/MetaSearch/dialogs/maindialog.py
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-12-10 21:56:35 +01:00
Tom Kralidis
8a4341f76d set catalog type from manage connections 2021-12-10 11:23:24 +10:00
Tom Kralidis
6d8ec08223 keep default connection list format for backward compat 2021-12-10 11:23:24 +10:00
Tom Kralidis
082cf9e756 [MetaSearch] support OGC API - Records in default connections (#46336) 2021-12-10 11:23:24 +10:00
towa
a416d87e17
Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-12-07 09:01:10 +01:00
Bo Lu
54b385f6d6
Add Canadian national CSW to MetaSearch default connections (#46337)
* Add Canadian national CSW to MetaSearch default connections

* Update Canadian CSW endpoint
2021-12-06 12:19:45 -05:00
towa
9d84b220d7 fix ref 2021-12-01 09:57:52 +01:00
towa
dd12a94cdf
Merge branch 'qgis:master' into feature/metasearch 2021-12-01 09:45:41 +01:00
Tom Kralidis
e4e2451dff [MetaSearch] rename dialog file 2021-12-01 12:41:08 +10:00
Tom Kralidis
1d306402d5
[MetaSearch] update PY_FILES (#46285) 2021-11-30 07:02:41 -05:00
towa
f5d6800a43 Bug fixes 2021-11-30 11:35:41 +01:00
towa
02af9ce81a remove blank lines 2021-11-30 09:50:13 +01:00
towa
ec78d2f598 save Settings to QgsSettings 2021-11-29 17:33:21 +01:00
Tom Kralidis
5ff73b1f65
Merge branch 'qgis:master' into metasearch-ogcapi-records 2021-11-04 18:55:39 -04:00
Tom Kralidis
d3a2e45582 [MetaSearch] remove data.gov CSW from default connections list (#43386) 2021-11-05 07:22:12 +11:00
Tom Kralidis
20e3a732b5
Merge branch 'master' into metasearch-ogcapi-records 2021-10-09 07:26:40 -04:00
Mario Locati
1abf47f73f Fixed the endpoint URL 2021-10-05 10:50:42 +10:00
Mario Locati
708a89e345 Addition of the INGV endpoint 2021-10-05 10:50:42 +10:00
Tom Kralidis
5f25e473dc fix ref 2021-09-12 20:19:08 -04:00
Tom Kralidis
a60e3efd2f safeguard request properties 2021-09-11 09:20:19 -04:00
Tom Kralidis
fe38e66a81 fix spelling 2021-08-23 17:09:31 -04:00
Tom Kralidis
18d05fb1e3 fix indentation 2021-08-23 16:57:42 -04:00
Tom Kralidis
e3a179680f add support for OGC API - Records 2021-08-23 15:58:50 -04:00
Juergen E. Fischer
2f3e32a5ba fix msvc build 2021-08-05 23:24:11 +02:00
alitka
2b04a0801c updated connections-default.xml
line 18 - added the German spatial data catalogue (GDI-DE Geodatenkatalog.de) of the Spatial Data Infrastructure Germany (GDI-DE) to the list of the default connections
2021-08-06 07:15:58 +10:00
Nyall Dawson
3cf9083743 Don't assume that owslib >= 0.20 is available
Fixes #38074
2021-06-11 06:17:10 +10:00
Andrea Giudiceandrea
ca22c474c3 [MetaSearch] Allow to delete username and password 2021-04-27 14:11:12 +10:00
Tom Kralidis
2a5fd3d3b7
[MetaSearch] mask password when opening connection properties dialog (#42760) (#42767) 2021-04-17 09:41:38 -04:00