mirror of
https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer.git
synced 2026-10-08 20:07:36 +02:00
* fix: před stahováním ověřit přihlášení přes islogged Server při vypršelé session nevrací chybu, ale tiše odpoví jako anonymnímu uživateli (jen přístupnost A). Plugin proto před stahováním volá /api/user/islogged; při 'nologged' se jednou znovu přihlásí z uložených údajů, a když to nejde, varuje v liště, že stahuje anonymně. - amcr_tools: _check_islogged, _ensure_logged_in, volání v load_amcr_data - smoke test: 7 offline scénářů stavu přihlášení - README; changelog v2.2.0 v metadata.txt - openspec/changes/fix-session-expiry-islogged: návrh, spec, design, úkoly Closes #72. Připraveno s pomocí AI (Claude), ručně zkontrolováno. * feat: odebrání přihlašovacích údajů uživatele i odhlásí Dosud zůstala přihlášená session v paměti až do restartu QGIS, takže se po „Odebrat uložené přihlašovací údaje“ dál stahovalo jako přihlášený. Nově se session odhlásí na serveru (GET /api/user/logout) a zahodí; když server neodpoví, zahodí se aspoň lokálně. - amcr_tools: logout_from_api; amcr_dialog: volání v _forget_credentials - smoke test: odhlášení, chyba sítě, bez session - README, changelog v2.2.0, OpenSpec (požadavek + úkoly 2b; 3.3 ověřeno) Připraveno s pomocí AI (Claude), ručně zkontrolováno. * chore: archivovat OpenSpec změnu fix-session-expiry-islogged Všechny úkoly hotové (2b.2 – odhlášení – ověřeno ručně v QGIS), archivováno s --skip-specs (stupeň change-tracked, bez openspec/specs/). Připraveno s pomocí AI (Claude), ručně zkontrolováno.
89 lines
4.1 KiB
Plaintext
89 lines
4.1 KiB
Plaintext
# This file contains metadata for your plugin.
|
||
|
||
# This file should be included when you package your plugin.
|
||
# Mandatory items:
|
||
|
||
[general]
|
||
name=AMČR Viewer
|
||
qgisMinimumVersion=3.44.0
|
||
qgisMaximumVersion=4.99.0
|
||
description=Viewing and downloading the AMČR data.
|
||
version=2.2.0
|
||
author=David Spáčil
|
||
email=spacil@arub.cz
|
||
|
||
about=This plugin is intended for downloading the data (Fieldwork events, Sites, and their Components) from the Digital archive of the Archaeological Map of the Czech Republic (https://digiarchiv.aiscr.cz/).
|
||
|
||
tracker=https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer/issues
|
||
repository=https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer
|
||
# End of mandatory metadata
|
||
|
||
# Recommended items:
|
||
|
||
hasProcessingProvider=no
|
||
# Uncomment the following line and add your changelog:
|
||
changelog=
|
||
Plný seznam změn v češtině je dostupný zde: https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer/releases/tag/v2.2.0
|
||
v2.2.0 (2026-09-02)
|
||
* Filter labels unified: "Specifikace nálezu" renamed to "Materiál" to match the attribute alias
|
||
* README rewritten to match the current state of the code
|
||
* Tables for Akce and Lokality contain a field with feature weight, when Komponenty rendering is enabled
|
||
* The login state is verified before each download via /api/user/islogged; an expired session is renewed automatically
|
||
* When a logged-in download falls back to anonymous access, a message bar warning says so (only access level A data)
|
||
* Removing the stored credentials also logs the user out of the Digital Archive
|
||
v2.1.4 (2026-10-01)
|
||
* Removed unused generated resources.py and the bundled flake8 config, so the plugin passes the plugins.qgis.org scan without custom configuration
|
||
v2.1.3 (2026-10-01)
|
||
* Fixed empty person codelists (excavation leaders, finders) after updating codelists against Digiarchive v4.1.0
|
||
* A codelist that fails to download keeps its previous values and the user is warned
|
||
v2.1.2 (2026-09-01)
|
||
* Qt6 compatibility
|
||
* Code clean-up
|
||
v2.1.1 (2026-09-01)
|
||
* Added download of Individual finds (PAS), including a dedicated menu entry
|
||
* Added filtering by date
|
||
* Added filtering of project fieldwork events and a Project column in the attribute table
|
||
* Codelists are now built from the Digiarchiv API as well, not only from OAI-PMH; persons come from its facets by role (finder, fieldwork leader)
|
||
* Updated the bundled codelist file
|
||
* Filter dialog is now scrollable
|
||
* Empty API results are now diagnosable from the Messages panel: the query URL and API errors are logged
|
||
* Code clean-up
|
||
v2.0.2 (2026-06-13)
|
||
* Plugin-wide fixes and optimalizations (details https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer/pull/49)
|
||
v2.0.1 (2026-06-10)
|
||
* Fixed QGIS minimum version
|
||
v2.0.0 (2026-06-05)
|
||
* Added warning regarding the feature duplication when loading components to the dialog
|
||
* Added Help button to the plugin menu
|
||
* Code clean-up
|
||
v2.0.0-alpha.4 (2026-06-03)
|
||
* Backend filtering of the results based on the component-related filters improvement (plugin not only loads the results from API, it filters them further)
|
||
v2.0.0-alpha.2–3 (2026-05-19)
|
||
* Security vulnerabilities fix
|
||
v2.0.0-alpha.1 (2026-05-19):
|
||
* Attribute fields renamed to be ASCII compliant
|
||
* Codelist update; codelist can be recompiled from AMČR API
|
||
* Base element changed from Documentation Unit to Component if user asks for components to simplify result filtering
|
||
* Plugin now supports logging with an AMČR account and enables the downloading of Events and Sites available to the roles Researcher and higher
|
||
|
||
# Tags are comma separated with spaces allowed
|
||
tags=python,AMCR,AIS CR,archaeology,PIAN,AMČR,archeologie
|
||
|
||
homepage=https://amcr-help.aiscr.cz/digiarchiv/qgis-viewer.html
|
||
category=Vector
|
||
icon=akce.png
|
||
# experimental flag
|
||
experimental=False
|
||
|
||
# deprecated flag (applies to the whole plugin, not just a single version)
|
||
deprecated=False
|
||
|
||
# Since QGIS 3.8, a comma separated list of plugins to be installed
|
||
# (or upgraded) can be specified.
|
||
# Check the documentation for more information.
|
||
# plugin_dependencies=
|
||
|
||
# If the plugin can run on QGIS Server.
|
||
server=False
|
||
|