* Implemented SingleValue Scrutinizer tests using mocks
Updated test class & added inner class to the scrutinizer
* tests updated
* Updated SingleValueConstraint class
* begin Docusaurus 2 migration
* Need help fixing the broken 'index'
* needs further customizing footer if we want
* fix README.md
* fixed Pages and Sidebar not loading
Yeah!
* Revert "fixed Pages and Sidebar not loading"
This reverts commit b1588387fc89d650b391c5a8883b6100c4714fbd.
* Revert "fix README.md"
This reverts commit a81509c3c62f11370df40096e55dfd544dad2f87.
* Revert "begin Docusaurus 2 migration"
This reverts commit 59d59c355b8d2a1a270a5655922d53a0577d6414.
* clean move the files for Antonin
* fix broken Navbar links
* fix wrong GitHub link pointing to Docusaurus href
* Fix the edit link for GitHub in top right corner
* Copy content from wiki into Technical Reference
* Copy pages from wiki for top level Architecture
* fix sidebar ordering for Tech
* Add colors from our logo into Infima color matrix
* add comment about colors
* shift primary color by 1 shade in matrix
Fixes#2824
Versions up through 3.14.0 appear to work, but since odfdom bundles
Jena 3.9.0, we're going to be conservative and match that.
As an added bonus, includes a blank node test which will trigger
the failure.
updated test class by creating mocks for ConstraintFetcher
Implemented tests for conflicts-with scrutinizer using mocks
Added testcase for no statementList & multiple constraint.
Implemented tests using mock for conflicts-with scrutinizer
Implemented tests using mock for conflicts-with scrutinizer
Added test case for multiple constraints
Added test case for multiple constraints
* Fix charset encoding & MIME type handling
Character set (ie what we call "encoding") is part of the Content-Type,
*not* the Content-Encoding, which specifies compression (e.g. gzip).
This correctly sets the character set encoding as well as cleaning
the MIME type so that additional parsing doesn't need to be done
downstream (and removes that code).
* Use "text" instead of "text/line-based" as default fallback format
The TextLineBasedGuesser only tries a limited number of
formats (CSV, TSV, fixed), so we can't get out of that hole to
find JSON, XML, etc.
Start with a more general format instead to improve our
guessing odds.
* Support content type Structured Name Syntax Suffixes (+json +xml)
If we can't find a fully specified content type in our lookup,
fall back to just the suffix (which is registered with a leading +)
Fixes#2800Fixes#2805
* Support more than 26 columns
Google Sheets default to just 26 columns (A-Z) and we need to
explicitly add more columns if we need them.
Fixes#2760
* Improve Google Sheets upload
- upload in chunks instead of serializing the entire document at once
- Free up resources as we go
- stop if an error occurs
- reduce batch size to try and stay in 10MB request size limit
(but need a more dynamic way to do this probably for very wide
sheets or sheets with large values)
* Add basic test and do some cleanup
- add test for columns > 26
- refactor to allow testing and not depend on unnecessary fields
- add i18n TODO for translating spreadsheet description
* Preserve cell data types
Fixes#2785
- integers and floats are sent as Doubles
- bools as Boolean
- DateTimes as Strings
- nulls as the empty string
- anything else as Strings using .toString()
* Fix LGTM-flagged potentially null pointer dereference
* Update Google API dependencies for Sheets & Drive
Remove unnecessary direct dependencies which are transitive
dependencies of those.
* Fix use of deprecated class
* Harden reconciliation - Fixes#2590
- check for non-JSON / unparseable JSON returns
- handle malformed results response with no name for candidates
- catch any Exception, not just IOExceptions
- call processManager.onFailedProcess() for cleanup on error
* Add default constructor for Jackson
Jackson complains about needing a default constructor for the
NON_DEFAULT annotation, but I'm not sure why this worked before.
* Clean up indentation and unused variable - no functional changes
Make indentation consistent throughout the module, changing recently
added lines to use the standard all spaces convention.
Remove unused count variable
* Simplify control flow
* Update limit parameter comment. No functional change.
* Replace ternary expression which is causing NPE
* Add reconciliation tests using mock HTTP server
* Fixes#486. Builds on code from Steffen Stundzig
- Switch from ICU4J to juniversalchardet
(Java port of Mozilla charset detector)
- Replace org.json code with Jackson
- Add tests
- Add TODO for multi-file character encoding mismatches
* Restore dependency lost in rebase
Co-authored-by: Steffen Stundzig <git@stundzig.de>