Repository navigation
Conversation
…straints for Typo3 v14 upgrade.
…for Typo3 v14 upgrade.
…rade wizard for Typo3 v14 upgrade.
…nd spaces from default "fluid_styled_content" layout.
… 8.3 although Typo3 v13 should be compatible with PHP 8.2.
…seem to be necessary and was removed in Typo3 v14.
…fter merge with main in PageViewProxy.
…fter merge with main in PageViewProxyTest. Remove unnecessary injection of hash service in AbstractController.
… migration. Remove obsolete url column.
…rvice for Typo3 v14 upgrade after merge with main.
…n test cases for Typo3 v14 upgrade.
…d to redirection logic in the Typo3 base ActionController.
…stead of LazyObjectStorage class due to deprecation 110347 for Typo3 v14 upgrade.
…oid bug in Typo3 v14.
…edData which has different array structure in Typo3 v14.
…d replace them with PHP attributes.
…or Typo3 v14 update.
…tricter validation in Typo3 v14.
…ontend and via cli command.
…d for feeds and oai-pmh plugin.
… scenario yaml file and auto-initializes the storage page.
…ice, which needs to be called by admin interface when creating demo sites.
…that all documents were successfully indexed.
…e and add basic css for better viewer layout.
Member
Author
|
Demo video of current draft status: 2026-11-13.13-17-06.mp4 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a bootstrap mechanism that creates pre-configured pages, indexes examples documents and shows them in a simple demo user interface.
This PR is based on and includes the Typo3 v14 update (see #2236). Actual changes of this PR can be viewed by comparing the diff between the Typo3 v14 update PR and this PR, see diff.
Todo
More demo scenarios covering all Kitodo.Presentation plugins will be added in additional PRs.
Scenarios
The bootstrap mechanism is designed to support multiple demo scenarios. For example, when getting started with Kitodo.Presentation, it might be useful to have a minimal example with only basic features (search, collections, viewer).
Other features like the multimedia support, dynamic dfg-viewer-like experience, or the basket flow should be demonstrated in dedicated demo scenarios.
Also, for future end-to-end tests (e.g. with selenium or playwright), it makes sense to be able to test different plugin configurations requiring different page configurations (e.g. searching with full-text support and without full-text support).
Maybe, it is possible to combine every feature of Kitodo.Presentation into a single combined showcase demo. Let's see.
Creating Demo Sites
Demo sites can be created via a CLI command
kitodo:bootstrapand interactively from the "New Tenant" page inside the admin interface.Bootstrapping works like this:
minimal.yaml)mets:fileentry as simple SVG files and copied into the "fileadmin" areaDemo sites are created with new page ids (and not with static page ids). Meaning, demo sites can be added to existing Typo3 installations regardless of what pages already exist. Multiple different demo scenarios can be deployed on the same Typo3 installation (not tested yet). Bootstrapping the same demo scenario again overwrites existing pages of the demo scenario site (due to overlapping baseUrls).
Refactoring
Three classes had to be refactored a bit such that their methods can be used both interactively from the admin user interface as well as from CLI commands:
NewTenantController.phphave been moved toTenantService.phpIndexCommand.phpandBaseCommand.phphave been moved toIngestService.phpRelation to other PRs
This PR was inspired by #1978, #1979, #1980 (created by @csidirop), but does not reuse its code. A major difference is the support for different demo scenarios, and logic to add and index example mets documents. Some parts overlap with #1978, #1979, #1980 though, e.g., the refactoring of the
NewTenantController.php.Code contributions were
Assisted-by: Claude Code Opus 5.5 (Anthropic)