Skip to content

Bug & performance fixes

Pre-release
Pre-release
Compare
Choose a tag to compare
@jmvanel jmvanel released this 26 Apr 11:33
· 871 commits to master since this release
  • Upgrade dependencies: Jena 3.7.0 , scala-xml, play-json, apache-any23-csvutils, log4j, lucene-demo, lucene-suggest
  • Selenium Scala DSL tests

BUG FIX

  • FIX slow /create form (from 18s to 3s on a database with many ontologies)
  • /load : FIX HTTP 413 "Request EntityToo Large : limit is set to 8Mb
  • re-Activate completion for URI fields in form, and in general search button
  • Recover from any exception, for all Web Pages services & /sparql-form
  • When Loading an URL, remove HTML fragment (anchor) ; that can make the Jena call to fail
    cf Jena issue https://issues.apache.org/jira/browse/JENA-1467
  • FIX exception during saving form: case of HTML created in SummerNote
  • FIX issue when saving big content HTML strings containing possibly Turtle, etc
  • In /backlinks, there was extra line feeds
  • FIX /backlinks button in the case of an URI with #
  • FIX importing a SF URI from one instance into another (HEAD did not declare default Content-Type)
  • FIX ; so SF pages look better in Slack
  • FIX issue : no correct login forms from an empty instance
  • FIX reading a .n3 URL

Performance

  • change URIs for forms specifications that are not self-hosted
    NOTES
    • it was a cause of slowing displaying of forms,
      as SF tried to download stuff that did not exist,
      and since there is a timeout on the download, it slows down the loading of a page
    • now the bootstrap of an empty SF is easier, even when not having passed populateRDFCache;
      it is enough to follow links which download the forms and ontologies

FEATURES

UI

  • geo-map:
    • use navigator language to filter rdfs:label's ;
    • image in popup fom foaf:img or foaf:depiction
  • GPS forms: add altitude
  • I18N
    • take in account all user languages gotten from HTTP header when filtering triples
    • button "Show all" when there are triples in non-user languages
  • Continuation Form (OFFSET, LIMIT) works for /search /history, and /backlinks
  • Tables: alternate line color with CSS
  • simplify columns in /history
  • Move site message up
  • modified_by and other less important stuff are now with small font (CSS class)
  • Class creation input now uses completion for rdfs:Class (and hence owl:Class)
  • Add (+) button for creation in /display page for a class,
  • Completion and search: take again in account super-classes : performance issue FIXED !! by using UnionGraph, thanks to Andy's advice
  • "expert buttons" are now hidden; there is a button "..." to display them
  • /backlinks now loads given URL in the cache , suggestion from Marco !
  • geographical Map Button in /search and /backlinks pages
  • Display rdf:type in /backlinks & /search (only hyperlink and icon )

BACKEND

  • /load : also accept RDF/XML and JSON-LD
  • enhance LDP: listing LDP containers. Total tests run: 90, Failures: 24, Skips: 31 => Passed: 35
  • new service /load-uri?uri= , like /display but only loads into RDF cache, no HTML page creation