Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-374: Macro issue, update to Drupal 10, PHP 8.1 #375

Merged
merged 54 commits into from
Oct 31, 2023
Merged

Conversation

DiegoPino
Copy link
Member

see #374

Lots of mime guesser stuff + JS jQuery/once (that is a pain). Small "ensure" we don't trim NULLs or Explode NULLs (basically don't explode/die also don't trim your beard if you don't have any - not my case -)

@DiegoPino DiegoPino added this to the 1.2.0 milestone Oct 22, 2023
@DiegoPino DiegoPino added Release duties Working Group's 💜 Imagined, curated and loved by the Working Group Drupal 10 Upgrade economy labels Oct 22, 2023
@DiegoPino DiegoPino self-assigned this Oct 22, 2023
DiegoPino and others added 13 commits October 22, 2023 16:45
@giancarlobi dear friend. Sorry for taking years on bringing your code into the main branches. Just know you are appreciated and admired. Added you as co-author bc it is your code, in only added a setting so this can be disabled (does not work well if the manifest is bringing multiple PDFs bc the page ID does not work - yet - but i'm working on that :)

Co-Authored-By: Giancarlo <4232178+giancarlobi@users.noreply.github.com>
jquery_ui_slider 2.0 is basically empty? can not be enabled, but it works. weiiiird
Also, both OSD and Mirador can now override settings directly via an ADO {"ap:viewerhints": { "strawberry_mirador_formatter": {"somesetting":"somevalue"}}
@alliomeria you might like this ...
Looking at this, we need some work here. Like why a selector if we have a single citation? This should be an option...
in the same order the affect the output rendering on the offcanvas and also by priority
This will add the search term in the same way IABOOKreader uses it (as a fragment with /search/theterm to the URL
Also, had to fix the TwigTemplateConstraintValidator bc changes .... Symfony!!
Of a template, once validated it should call from cache. Added an extra "invalidate" post Save just in case we end with stuck caches of caches.
@alliomeria ready for a compose require?? and a drush update? Last thing this Friday!
With some having if inside and some not.
By keeping track of the "level" we are in, and decreasing deepness on endfors found we can do this in a more reliable way without having to keep track if found or not as a single dimensional "reality" @alliomeria this fixes the AMI template that you have (which is SUPER complex). More testing Monday maybe?
@DiegoPino DiegoPino changed the base branch from 1.2.0 to 1.3.0 October 28, 2023 13:56
DiegoPino and others added 16 commits October 28, 2023 10:58
ISSUE-248: backend (metadata display) driven Search for OCR + WIP. Merging against Open pull against 1.3.0 to get in sync/keep editing
…s Done

Matching requerst/route/routematches so <current> renders in the context of the original Manifest (and thus our backend Canvas IDs match the front end) instead of the called Search endpoint URL was a thing.. Such a thing!

TODO: add width and height (canvas level) so we can target the right place for the response.Also, get the Item level offset in case i need to do 101 Coordinate/local/relative to canvas math(z)

More tomorrow @alliomeria
(well i need to say this to myself)
Ok this does the IIIF trick. It reuses a multi "hit" text and splits it in pieces only leaving the before and after corresponding to the actual hit. Basically a single OCR Highlight might produce multiple boxes. @alliomeria almost done!
But i need more validation...way more
- TODO: paging
- Clean up ?q so it has a max, is properly escape, etc
- Add the ignored arguments
- Process Content Search v2 too
- Add the second mode (simple)
- Cache the heavy processing
- Create the ADO level (human) annotation strawvberry runnner processor
- Create the Config Form
If the IIIF Manifest is embargoed?
We should still add a try/catch around the rendering just in case
@DiegoPino DiegoPino merged commit 78a4d79 into 1.3.0 Oct 31, 2023
@DiegoPino DiegoPino modified the milestones: 1.2.0, 1.3.0 Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drupal 10 Upgrade economy Release duties Working Group's 💜 Imagined, curated and loved by the Working Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants