* update messenger for d9
* fix dependency injection
* update info files
* stream_for updates for d9
* remove deprecated entity query
* replace deprecated functions
* use dependency injection for messenger and fix other deprecated functions for d9
* fix deprecations in tests
* fix test
* phpcs fixes
* fix toUrl method
* properly use StringTranslationTrait
* phpcs fixes and using dependency injection
* more deprecations with upgrade_status 3.x version and more phpcs fixes
* add defaultTheme per https://www.drupal.org/node/3083055
* replace deprecated context definition method - per https://www.drupal.org/node/2976400
* fix context definitions
* remove more deprecations
* fix deprecations in tests
* codesniffer fixes - dependencies must be prefixed with drupal: and missing variable doc comments
* replace more url() -> toUrl() and remove unused variables
* more code sniffer fixes
* some of these urls are necessary as strings
* d9 requires update to flysystem module
* update migrate_source_csv
* temporarily point crayfish-commons to branch with d9 dependencies
* another composer dependency adjustment
* point composer to d9 branch of jsonld
* remove hook_post_action for d9
* remove hook_post_action as a dependency - this does break multifile media FOR NOW
* update migration keys -> ids per https://www.drupal.org/node/3060246
* fix url method
* point jsonld back to dev since PR has been merged
* wrong branch name
* add update hook for change in migration source
* update travis.yml for php 7.4
* add doc comment
* build on php7.2, 7.3, 7.4
* use this instead of Drupal::
* just php 7.3 and 7.4
* swap back to dev-dev crayfish-commons since PR was merged
* perhaps this fixes the config thing
* trying to fix config
* ugh errant semicolon
* missing variable name
* maybe it would help if i named the variables consistently
* please work...
* i can't get the dependency injection of config correct
* sad panda
* thanks @seth-shaw-unlv for this magical fix
* fix dependency injection
* putting the config in the AbstractGenerateDerivativeMediaFile class instead
* already the system.file config
* update test module info file
* fix implode ordre of parameters
* remove unused use statement
* fix geminiclient tests
* phpcs fix
* check for fedora key in flysystem
* check for array not being null
* more null checks
* try on the downgrade-symfony branch
* set fedora url to null if it isn't in the settings
* testing the crayfish-commons version fix
* fixes for new classes in newer version of guzzlehttp but still needing to support old methods
* update phpunit.xml?
* transform 1 response from preg_match to a boolean
* reorder crayfish-commons version fix
* code sniffer fixes
* abstract awaying the shared constructor so that phpcpd is happy about less duplicated code
* attempt to reduce shared code in the FedoraAdapterTest
* remove unused use statement
* code sniffer fixes...not sure how i missed these...
* remove reliance on branch of crayfish-commons since PR has been merged
* Make a pseudo field we can use
* coder
* Fix config and coder for root level
* Default to empty array
* Add tests and clean up some deprecations
* Form validation of Gemini URI before bundle selection.
* Coder
* Add functional test for Islandora Settings
* Flysystem adapter and REST API accepts Content-Location with a stream wrapper
* First pass is working now
* Config dump
* typo in composer.json
* Testing install
* Tests. Coding standards
* Adding token as a depenedency
* Unneccessary config
* Adding drupal/token to composer.json
* Applying the file's uri using the mapping predicate alter.
* Tests vs coding standards whack-a-mole
* Sneaky image resize bug
* Test refactor to quiesce phpcpd. How you like that @bradspry?
* _slightly_ better error reporting for tests
* Moar test updates
* phpcbf to the rescue
* Config export
* Fixing the Canoncial typo once and for all
* Better trimming
* Collapsing 'Is' style conditions into a singular 'ContentEntityType' condition
* Coding standards
* Was referencing is_node in a test
* Unbreaking core block placement
* Copy pasta fix and removing conditions I obliterated from the schema file.
* Derivatives
* Working through testing
* Coding standards. Responding to @whikloj's review
* Patching up existing tests
* Baaad merge
* No longer requiring Content-Disposition for media updates since we're updating the file in place.
* Went a bit deeper than I thought. Small refactor on MediaSourceServcie
* Fiiinnnnaaaalllllllllyyyyyyyy
* Shuffling things around for islandora_image tests
* Altering view and form modes using context
* Coding standards
* Features
* updating feature
* updating feature
* Derivatives and RDF
* Terms flushing to Fedora, split out openseadragon functionality
* Updating dependencies
* Touching up after testing a fresh deploy
* More config updates
* Updating features
* s/field_memberof/field_member_of
* Coding standards and tests
* take that phpcpd
* coding standards
* Adding pcdm#fileOf to the rdf mappings for media.
* Getting rid of swap file
* Updated README. Shuffled config round into two features, one for core and one as a demo
* Coder
* too good to be true
* maybe this?
* Cleaning up cruft and no longer removing teaser mode when uninstalling the demo feature
* Missed the services yml
* Re-export after testing
* mimetypo
* Re-re-re-re-re-exported
* Changing to dc on terms rdf mapping so title shows up in Fedora
* Committing to test on new environment
* Can execute pre-configured reactions through Context UI
* Exporting actions
* Adding contexts
* Renaming
* Using switch in hook implementations
* Ready to test without rules and just context
* Trimming down hooks and removing dsm() calls
* Fixes after testing large batch operations
* Functional tests and more testing
* Coding standards
* Removing duplicate
* Config export
* Removing media bundle condition for now.
* Tightened conditions. Fixed context caching bug.
* Ignoring schema exceptions and disabling module provided contexts in functional tests
* Oh that's hilarious
* Responding to @whikoj's feedback
* s/deindex/delete
* Coding standards
* Adding UUID and URLs to events
* Removing attachment from AS2 event since it may be out of date by the time the message is processed.
* Adding names to URLs
* Changing name from jsonld to metadata
* Adding JSON url. Updating URN namespaces for UUIDs
* After extensive testing for 640
* Removing hook_install and configuring REST in claw_vagrant
* Adding in reaction rule to remove media from triplestore on delete
* Updates from install testing
* Changes from install testing
* Re-exporting view
* Adding basic auth as dependency for Travis
* Coding standards
* Adding basic_auth to test gear
* Setting filehash view permission to authenticated users
* Removing extra newline
* Update rules.reaction.broadcast_content_create_event.yml
* Update rules.reaction.broadcast_content_update_event.yml
* Update rules.reaction.broadcast_media_create_event.yml
* Update rules.reaction.broadcast_media_update_event.yml
* Update rules.reaction.broadcast_content_delete_event.yml
* Adding install notes about REST configuration
* Update rdf.mapping.media.tn.yml
Getting rid of iana:describes in metadata mapping
* Using hook_modules_installed instead of hook_install to force rest config
* brace facepalm
* Having a hard time testing locally, so pushing to see what Travis thinks of this.
* Not creating and just letting tests go without the rest config
* 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
* 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.