Skip to main content

Crate haqor_admin

Crate haqor_admin 

Source
Expand description

Minimal local HTTP server for editing data/lexicon_overrides.json.

Structs§

AppSyncSettings
The server credentials the Flutter app keeps in its platform preferences. They are read only for a pull invocation and are never printed.
PullGlossOverridesResult
Summary of mobile lexicon corrections merged into the local overlay.

Functions§

clear_invalid_gloss_overrides_from_server
Mark malformed blank tutor-gloss rows deleted in the canonical sync database.
pull_gloss_overrides
Pull mobile lexicon corrections from the canonical sync database into the hand-maintained overlay. Tutor corrections update word_glosses, while word-info corrections update lexicon_entries root/header gloss rows and, when supplied, their matching word_glosses interlinear rows.
pull_gloss_overrides_from_server
Fetch the canonical progress snapshot from an authenticated LAN sync server and merge its mobile lexicon corrections into the local overlay JSON.
pull_issue_reports
Export the synchronised mobile bug/idea log as deterministic, pretty JSON.
pull_issue_reports_from_server
Fetch the canonical progress snapshot from the LAN server and export its issue/idea log to a local JSON file.
read_app_sync_settings
Read the sync endpoint the Haqor app has already been configured to use. Flutter’s Linux shared-preference backend prefixes its keys with flutter..
read_default_app_sync_settings
Read the settings from Haqor’s XDG data directory. During the application ID migration, fall back to Flutter’s former template ID only when the new settings file does not yet exist, so existing LAN sync credentials survive the upgrade.
review_issue_reports
Run an interactive terminal review of the issue log in a local progress snapshot. Pressing s in the review marks selected reports resolved in that snapshot; tombstones prevent stale devices from restoring them.
review_issue_reports_from_server
Review the server’s live issue log, then upload the selected resolution tombstones through the normal authenticated progress-sync route.
serve