Build 2025032600 #16
kalebheitzman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
2025032600
filter_autotranslate
plugin to improve functionality, performance, and usability, introducing a new architecture and feature set.text_filter
to dynamically tag untagged content during page rendering, including content from third-party modules not explicitly configured intagging_config.php
. This ensures immediate tagging for viewed content, complementing the scheduled task-based tagging.manage.php
) or via CLI throughtagcontent_task.php
. Implemented inrebuild_course_translations.php
with batch processing (default: 20 records per run, configurable viamanagelimit
)./filter/autotranslate/manage.php
for viewing, filtering, and editing translations.mdl_filter_autotranslate_hid_cids
for course-based filtering).translated_text
,human
, andtimereviewed
.<span>
and{mlang}
multilang tags by extracting translations, storing them inmdl_filter_autotranslate_translations
, and replacing them with{t:hash}
tags. Note that this is a destructive, non-reversible action.autotranslate_task
(runs every 15 minutes) to tag content in configured tables and process multilang tags.fetchtranslation_task
(runs every 30 minutes) to fetch translations from the configured OpenAI-compatible service and store them withhuman = 0
.mdl_filter_autotranslate_translations
with fields forcontextlevel
,human
,timecreated
,timemodified
, andtimereviewed
to support context awareness, human editing, and review tracking.mdl_filter_autotranslate_hid_cids
to map hashes to course IDs, enabling course-based filtering in the management interface.@@PLUGINFILE@@
URL rewriting by handling it intranslation_service.php
during translation storage, ensuring stored translations have fully resolved URLs. Updated documentation intext_filter.php
,tagging_service.php
, andtranslation_service.php
to reflect this fix.text_filter
updatesmdl_filter_autotranslate_hid_cids
for all{t:hash}
tags, aligning with the behavior oftagcontent_task
and preventing missing course mappings on the manage page.mdl_wiki_pages.cachedcontent
) was being tagged with duplicate hashes by reusing existing hashes in thetext_filter
and improving caching logic.filter/autotranslate:manage
capability to allow system-level management of translations, including the "Rebuild Translations" feature (default roles: Manager, Editing Teacher).filter/autotranslate:edit
capability to allow editing translations within specific courses (default roles: Teacher, Editing Teacher, Manager).tagcontent_task.php
andrebuild_course_translations.php
(default: 20 records per run, configurable viamanagelimit
).text_filter
using Moodle’s cache API (taggedcontent
cache).ai-instructions.md
andREADME.md
to reflect the new architecture, dynamic tagging functionality, course-specific rebuild feature, and implications for tagging delay and dynamic content handling.This discussion was created from the release Build 2025032600.
Beta Was this translation helpful? Give feedback.
All reactions