Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing example event listener #215

Closed
arbakker opened this issue Nov 16, 2022 · 2 comments · Fixed by #217
Closed

Missing example event listener #215

arbakker opened this issue Nov 16, 2022 · 2 comments · Fixed by #217

Comments

@arbakker
Copy link

The documentation suggests that there should be an example of a listener that prints a string every time a metadata gets removed, however the example seems to be missing:

https://github.com/geonetwork/doc/blob/develop/source/tutorials/hookcustomizations/events/index.rst#simple-example

@juanluisrp
Copy link
Contributor

The code is there but is not being rendered for some reason. See the raw view of the file https://raw.githubusercontent.com/geonetwork/doc/develop/source/tutorials/hookcustomizations/events/index.rst

@arbakker
Copy link
Author

arbakker commented Nov 16, 2022

Aah I only viewed the rendered rst file in Github, I did not check the raw rst file.

[edit] I see you already fixe the issue, thanks!

juanluisrp added a commit that referenced this issue Nov 17, 2022
josegar74 added a commit that referenced this issue Mar 7, 2023
* Update user profile privileges descriptions (#195)

* Changelog for 3.12.4

* Changelog for 3.12.5

* Changelog for 3.12.6

* Fix typos

* Change log for 3.12.7 (#211)

* Update index.rst

Fixed typo there->their

* Add missing space 

Fix #215.

* Fix not visible code block

* Fix example for creating an HTML-based static page

The example had `format=LINK`, which posting html as form data. This will result in a bad request.

* fix environment variable name 

geonetwork.security.type instead of config.security.type

* INSPIRE / Some template fixes

* Added baisic OAI-PMH endpoint description

* OAuth2 OpenId Connect Documentation (#201)

* wip: openid connect dox

* for OPENIDCONNECT_ROLECONVERTER, changed format from ':' to '=' as separator

* add doc for oidc bearer tokens

* feedback from jose

* add doc for OPENIDCONNECT_LOGINTYPE

* add info about OPENIDCONNECT_SERVERMETADATA_CONFIG_URL

* update doc for default scopes

* add doc for OPENIDCONNECT_LOGSENSITIVE_INFO

Co-authored-by: david.blasby <david.blasby@geocat.net>

* wrong line number

* Revert "OAuth2 OpenId Connect Documentation (#201)" (#220)

This reverts commit 1d7c733.

* Change log for 3.12.8

* Update GeoNetwork branch name

* Add example of connecting to the API with python

This change is to add a simple example of how to authenticate to the API and obtain the XRSF token with python.

* Update authors.rst

* 4.2.3 changelog.

* Update release instructions.

* Change log for 3.12.9

* Update indentation in 3.12.9 changelog

---------

Co-authored-by: Jose García <josegar74@gmail.com>
Co-authored-by: seblessware1spatial <100566189+seblessware1spatial@users.noreply.github.com>
Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>
Co-authored-by: Mike Bryant <mikesname@gmail.com>
Co-authored-by: Tristan <tristanp93@gmail.com>
Co-authored-by: giulioverazzo <giulio.verazzo@gmail.com>
Co-authored-by: davidblasby <48937730+davidblasby@users.noreply.github.com>
Co-authored-by: david.blasby <david.blasby@geocat.net>
Co-authored-by: axel584 <axel584@gmail.com>
Co-authored-by: Alex <119129964+geoawd@users.noreply.github.com>
Co-authored-by: Jeroen Ticheler <Jeroen.Ticheler@GeoCat.net>
Co-authored-by: Florent Gravin <florent.gravin@camptocamp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants