199 Commits

Author SHA1 Message Date
Even Rouault
eba8d20210
Merge pull request #60043 from pathmapper/inspire_protocol_values
[metasearch] Add INSPIRE protocol values
2025-01-07 01:16:20 +01:00
Andrea Giudiceandrea
b3a7f06465
[MetaSearch] Allow the user to enable or disable the logging of the debug messages (#60049)
* [metasearch] Add setting to enable/disable debug logging

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-05 18:41:24 -05:00
pathmapper
0469a27e6b [metasearch] Add INSPIRE protocol values
Source: https://inspire.ec.europa.eu/metadata-codelist/ProtocolValue
2025-01-03 07:10:57 +01:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Nyall Dawson
2c34056199 pyqt5_to_pyqt6.py run 2024-10-17 17:58:49 +10:00
Tom Kralidis
afb31e66a5 do not translate log messages 2024-10-03 12:40:51 +10:00
Tom Kralidis
e9695d8007 update string translation 2024-10-03 12:40:51 +10:00
Tom Kralidis
e421f08331 add default 2024-10-03 12:40:51 +10:00
Tom Kralidis
f0d9167455 add default 2024-10-03 12:40:51 +10:00
Tom Kralidis
ee2c16c50b MetaSearch: add logging 2024-10-03 12:40:51 +10:00
Jeroen Ticheler
99e9d57dfd
Update search_backend.py (#58621)
Change the request parameter name to offset
2024-09-09 15:03:21 -04:00
Björn
6aeda2a29e [metasearch] Fix missing import
fix https://github.com/qgis/QGIS/issues/47823
2024-09-05 16:49:52 +10:00
pathmapper
4de4f7c3bc Fix deprecation warning 2024-08-23 06:11:10 +10:00
Björn
38e955291a [metasearch] Fix load connections 2024-08-05 08:29:45 +10:00
pathmapper
0ab1197200 [metasearch] Improve empty field handling 2024-07-21 08:44:05 +10:00
pathmapper
c2660e273a Add additionally scheme / protocol where appropriate 2024-07-16 08:29:34 +10:00
pathmapper
7a8e20d572 [metasearch] Consider also name and description for link text
They should be more informative than scheme, protocol or the static string "Access Link".
2024-07-16 08:29:34 +10:00
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