Re: [QGIS-Developer] HTML in plugin's metadata.txt works, but should it?

2023-12-01 Thread WhereGroup

Hi Alessandro,

thank you!

I'll see if I can add some notes to the docs.

Cheers, Hannes

On 28.11.23 11:34, Alessandro Pasotti wrote:

HI Johannes,

digging into very old memories here, IIRC when I wrote that metadata
docs I was mainly worried about displaying the plugin metadata.txt ini
file information in the plugin website, that's why I thought it was
wise to ban HTML formatting.



On Tue, Nov 28, 2023 at 11:05 AM Johannes Kröger (WhereGroup) via
QGIS-Developer  wrote:

Hi!

https://docs.qgis.org/3.34/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#metadata-txt
says for the fields "about", "description" and "changelog": "no HTML
allowed"

But actually we *can* use some HTML
(https://doc.qt.io/qt-5/richtext-html-subset.html I assume).
The plugin's information will be nicely rendered at least in QGIS'
plugin manager.
 does not seem to work, it just shows a placeholder. Clicking an
 makes the plugin manager display a white page and open my system's
web browser with the URL. But other formatting things work well.

Example image:
https://matrix.osgeo.org/_matrix/media/r0/download/matrix.wheregroup.com/nKHOTGcYWWpYqQKNWaSjuFbu/html%20in%20metadata.txt.png

It would be super useful for me in a non-public plugin so I wonder:

- Does "no HTML allowed" refer to the display in the official plugin
repository https://plugins.qgis.org only?
- Is it a bug that we can use some HTML in those fields or can we rely
on it for the future?

I am a bit torn between "oh yay, we can add some more detailed
information in a nicely formatted way" and "oh dear lord this might lead
to complex chaos in plugin descriptions".

Cheers, Hannes

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




--
Johannes Kröger / GIS-Entwickler/-Berater

-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS Full Stack Web Developer Report

2023-12-01 Thread Lova Andriarimalala via QGIS-Developer
Hello everyone,
Please find below a report detailing the progress made on the development of 
the plugin website for this week.
QEP Open:

  *   License requirements for plugins on 
plugins.qgis.org

PRs open:

  *   Fix errors in GH action coverage 
test
  *   Add maintainer field to plugin 
update
  *   Fix different displayed date
  *   Upgrade project to Django 3/Python 
3.7

PR merged:

  *   Add links to plugin details 
tabs
  *   Making license file not required for 
now

Still working on:

  *   Hide logout button when logged 
out

Have a great weekend,
Lova

—
[Image]

Lova Andriarimalala
QGIS Full Stack Developer
Visit http://kartoza.com to find out about open source:
* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services
Office: +261(0)34 09 524 73



From: Lova Andriarimalala 
Date: Friday, 24 November 2023 at 4:06 PM
To: qgis-developer@lists.osgeo.org 
Subject: QGIS Full Stack Web Developer Report
Hello everyone,

Please find below a report detailing the progress made on the development of 
the feed and plugins website for this week.
I'm writing in a new email object because of the ongoing discussion about the 
plugin LICENSE requirements and the management changes: 
https://lists.osgeo.org/pipermail/qgis-developer/2023-November/066257.html


PRs open:

  *   Upgrade project to Django 3/Python 
3.7

 *   This PR is based on an existing PR: Upgrade stacks and docker compose 
#257
 *   Upgrade Django package according to this issue: Upgrade project to 
Django 4/Python 3.7+? #54
PR merged:

  *   Add support for changing the plugin 
name
  *   Add command to fix none in search 
results
  *   Show more records, records items per 
page
  *   Specify tag page title and other plugin page 
title
  *   Make LICENSE file as required in the plugin 
package
  *   Fix license requirement
  *   Remove lat&long filters on the home 
page
Still working on:

  *   No image preview for models and 3D models and they are not 
downloadable

 *   Each creator that has an issue with the model was notified.
Have a great weekend,
Lova

--


[cid:ii_lpcmfwoi0]



Lova Andriarimalala

QGIS Full Stack Developer

Visit http://kartoza.com to find out about open source:

* Desktop GIS programming services

* Geospatial web development

* GIS Training

* Consulting Services

Office: +261(0)34 09 524 73

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer