Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Bauer
69862a4134 refactored unit tests 2024-11-25 15:39:12 +01:00
Daniel Bauer
b803d5b106 more unit tests for HTML middleware 2024-11-25 15:26:53 +01:00
Daniel Bauer
8d8a92e5d5 add middleware to add signposting links into html head 2024-11-22 12:04:15 +01:00
Daniel Bauer
6b1ea1403c Create Signposting from RO-Crate (#2)
* improvate jsonld parsing to be compatible with ro-crate

* refactoring

* example with RO-Crate

* bump version

---------

Co-authored-by: Daniel Bauer <daniel.bauer@senckenberg.de>
2024-11-21 15:40:46 +01:00
Daniel Bauer
0cd321112f Extract signposts from jsonld (#1)
* use rdflib to extract signposts from jsonld

* use rdflib to extract signposts from jsonld

* linting

* unit tests for jsonld middleware

* update readme

* update flake pipeline

---------

Co-authored-by: Daniel Bauer <daniel.bauer@senckenberg.de>
2024-11-11 13:02:55 +01:00
Daniel Bauer
8b09f4feb5 linting 2024-11-11 09:40:52 +01:00
Daniel Bauer
31fcf221f0 add type test 2024-11-01 13:06:22 +01:00
Daniel Bauer
2d3dafbacc use signposting package 2024-11-01 13:02:56 +01:00
Daniel Bauer
076273d014 fix tests cannot find main package 2024-11-01 12:50:21 +01:00
Daniel Bauer
0a31aa21ff remove debug statement 2024-08-20 16:07:16 +02:00
Daniel Bauer
df71be33fb fix pytests django settings init 2024-08-15 22:46:03 +02:00
Daniel Bauer
cacba71caa add utility method to add signposts from view 2024-08-15 21:59:11 +02:00
Daniel Bauer
370d4d8336 add middleware for signposts 2024-08-15 21:51:16 +02:00