* Committing to test on clean box.
* Updates from testing
* Bootstrapping tests with a bundle and mapping for jsonld contexts
* Checkstyle and rdf mapping for thumbnail media entity
* Clobbering whitespace
* Re-exporting and REST plugins
* Using just dc
* Adding changed and created dates for thumbnail rdf mapping.
* TN is a ThumbnailImage
* Rules for media write operations. Indexing media in triplestore now.
* Found two that lingered after uninstalling module.
* This ain't no playground.
* Membership view
* First pass at image bundles
* Update composer.json
* Update islandora.info.yml
* Apparantly 2 and 6 are not the same number.
* Pre pull commit
* Getting rid of token dsm
* JSON-LD Context generator
Base pull, service, interface and class. Needs testing. DCS should be
solved already
* Missing an @
* Wrong Cache backend service injected
* make sure the bundle has mapping
* Testing routes to make debugging easier
* phpstorm, leave my indentation alone!
* phpcs for test controller
* Changes, lots of them
* Exceptions thrown all around (and documented
* “Try/Catch” where relevant
* Logger channel for ISLANDORA, useful for all CLAW
* Exceptions are being cached
* Naive field types of json-ld term definitions for context. Kinda poor
mans rdf map for fields
* Docs, docs.
* Route Controller now responds with application/ld+json, means don’t
wait for HTML!
* Concerns addressed
TODO: need new tests.
* Web tests!
Don’t run via UI (buggy) https://www.drupal.org/node/2745123
Do this
```Shell
sudo -u www-data php core/scripts/run-tests.sh --verbose --class
"Drupal\islandora\Tests\Web\JsonldContextGeneratorWebTest"
```
* Coding standards
* Coding standards and Cache
Now caching happens on the response and on the method. Best of both
worlds.
```Shell
curl -i http://localhost:8000/fedora_resource_context/rdf_source
HTTP/1.1 200 OK
Date: Tue, 21 Mar 2017 19:19:03 GMT
Server: Apache/2.4.18 (Ubuntu)
Cache-Control: must-revalidate, no-cache, private
X-Powered-By: Islandora CLAW API
X-Drupal-Dynamic-Cache: MISS
X-UA-Compatible: IE=edge
Content-language: en
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Expires: Sun, 19 Nov 1978 05:00:00 GMT
X-Generator: Drupal 8 (https://www.drupal.org)
X-Debug-Token: 7d33c2
X-Debug-Token-Link: /admin/reports/profiler/view/7d33c2
X-Drupal-Cache: HIT
Content-Length: 229
Content-Type: application/ld+json
{"@context":{"schema":"http://schema.org/","schema:dateModified":{"@type
":"xsd:dateTime"},"schema:dateCreated":{"@type":"xsd:dateTime"},"fedora"
:"http://fedora.info/definitions/v4/repository#","fedora:hasParent":{"@t
ype":"@id"}}}
````
and after cache clear (or changing user permissions or even an entity
type def associated to the requested rdfmapping)
```Shell
HTTP/1.1 200 OK
Date: Tue, 21 Mar 2017 19:20:49 GMT
Server: Apache/2.4.18 (Ubuntu)
Cache-Control: must-revalidate, no-cache, private
X-Powered-By: Islandora CLAW API
X-Drupal-Dynamic-Cache: MISS
X-UA-Compatible: IE=edge
Content-language: en
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Expires: Sun, 19 Nov 1978 05:00:00 GMT
X-Generator: Drupal 8 (https://www.drupal.org)
X-Debug-Token: acc399
X-Debug-Token-Link: /admin/reports/profiler/view/acc399
X-Drupal-Cache: MISS
Content-Length: 229
Content-Type: application/ld+json
````
* Short notion array..
should be named “bracket structure…”
* We should run tests on our own server...
* lets try with 127.0.0.1
* testing travis changes (#1)
* fixes not working Drupal/drush integration on Travis-CI
* Kernel tests
* 400 is 1 less than 401
* restore notifications
* Fixes type in TODO
* Jared rocks
* Debug statement not needed
Was not outputting anyway
* Namespace change
Addressing @dhlamb namespace change
* Add remove fedora_has_parent function
Remove fedora_has_parent if the parent is deleted
* Coding style
* What the WHAT
* Change variables to use less node-tastic terminology
* Adding tests
Fixing setParent type hint
Fixing hasParent logic
* Coder
* Fix parent clean up test.
* Coder
* Add JWT Token Authentication
This adds JWT token authentication to Islandora. We send these tokens
along with broadcast messages, and can use them to authenticate with
Fedora as well as call back into Islandora.
* Updated the version for JWT in the composer file.
* JwtEventSubscriber tests.
* Fixing copy/pasta mistake in tests (#2)
* Update JWT Structure to Eliminate Nesting
No java JWT parsing libraries like when a JWT contains nested
structures, even when that is allowed in the standard. This
commit updates our code so we put the drupal data at the
root level of the JWT claims, instead of in a subclaim.
* Coding standards for new sniffs
TravisCi provides the $TRAVIS_COMMIT environment variable which I was
using to get composer to install the correct version. However it appears
that under some circumstances travis does not set this variable to the
correct commit hash, which can cause our builds to fail. This avoids
using that variable all together to avoid that problem.
* Change how we setup travis to use composer to install all dependencies
The way were we installing Drupal for travis before was differnt from
how we installed it in the vagrant box. It required manually adding
dependancies for libraries. This should install all the dependancies
using composer automatically.
* Reformat readme to have 80 character line breaks.
New travis setup lints MD files, and wanted lines to me max 80
characters, so I used link references to make the readme easier
to format and made sure all the line break at 80 characters.
* Pulling islandora module back to the top
* Pulling dependencies from main composer.json into this module's
* Testing how module dependencies work
* Adding search_api to module depenedencies.
* Just .info is not enough
* Adding jsonld serializer to composer dependencies
* Changing vendor name and pointing to @DiegoPino's fork
* Adding keywords
* Adding phpcs back in
* Pointing to islandora org for jsonld serializer.
* Add a Collection bundle for FedoraResource
* update rdf mapping
* field type changes, add enforced module
* Default collection rdf mapping
* Forgot uuid
* Adding pcdm namespace
* Using hasURN for uuids.
* Adding dc back in
* Adding activemq to travis install
* Hrm... doesn't seem to run as a service on Travis.
* Maybe I need to add -y to apt-get install
* Because you can't use apt on containers....
* ?
* Apparantly this is enough
* Adding php-stomp for good measure
* Maybe it's alredy there?
* Lets try this wtih PECL
* Trying to spoof a non-interactive pecl install...
* Canceling SSL since it's just a travis build.
* Final verification....
* Finallly!