Dependencies updates
Upgrades: Play 2.8.6, Scala 2.12.13, SBT 1.4.7, commons CSV 1.8
FEATUREs
- exclude all access by IP, see doc. https://github.com/jmvanel/semantic_forms/blob/master/doc/en/administration.md#customize-sf-site
- #204 - Completion in "display URI or search" field
/search : new parameter link= , completion of dbPedia- now 3 criteria for searching: text, class, and link
- "link" is like backlinks, so not necessarily a dbPedia URI
- all 3 are facultative
- #209 admin mode for /create , /save , /edit , /load-uri, /load, /update
- /login , /authenticate , /register, /logout are not subjected to filter by mode policy, because admin should be able to log,
- /tools is now accessible to unlogged users
- /search, /display now accept MIME
text/csv
with Turtle headers
consistent with https://ontology.uis-speleo.org/howto/#Csv
see doc. for the command line tool:
https://github.com/jmvanel/semantic_forms/wiki/Semantization#convert-csv-in-rdf - Paragraphs & history view: filter out rdf.typ in form syntax
- reduces output, already grouped by rdf.typ
- RDF Cache Algo:
- for ontologies in /, load into relevant graph
- Case of many ontologies ( foaf: )
FIXES the duplications that existed since the origins
Now we only create a single graph named after the ontology - exploit triples like:
foaf:Document rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/>.
which refer to ontology.
- Case of many ontologies ( foaf: )
- an URI with fragment is loaded into an graph named without the fragment
Case of many ontologies ( dcat: )
FIXES the duplications that existed since the origins: RDF URLs u1#f1, u1#f2, etc.
used to create as many named graphs with identical content, for example:
http://www.w3.org/ns/dcat#Dataset
http://www.w3.org/ns/dcat#theme
Now we only create a single graph named .
It reduces network traffic, and above all it makes things easier in the event of an ontology update.
- for ontologies in /, load into relevant graph
- possibility to override head.html, tail.html with local files at runtime
- No login mode, in forms_play/conf/nologin.routes , without possibility to edit content
- cf thread https://gitter.im/playframework/playframework?at=5ffd9e5ce578cf1e95e2e3c9
- run with
authbind --deep bin/semantic_forms_play -J-Xmx300M -J-server -Dhttp.port=80 -Dhttps.port=443 -Dplay.http.router=nologin.Routes
- Italian localization; need review by native Italian speakers!
FIXes
- old known bug: only user herself can modify password
- to modify password, use /login , being already logged
- retrieveURIResourceStatus and hence updateLocalVersion were called twice
- RDFCacheAlgo updateLocalVersion: avoid systematic reload for bad HTTP headers
- if Expired is older than LastModified, do not take it in account
- if LastModified is in the future, do not take it in account
TESTED with void:Dataset whose HTTP headers are incoherent
http://localhost:9000/create?uri=void%3ADataset&prefill=no
Source code is one commit ahead at tag https://github.com/jmvanel/semantic_forms/releases/tag/2.6.1-csv-fix-url