Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LiaScript/LiaScript-Exporter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.6.9
Choose a base ref
...
head repository: LiaScript/LiaScript-Exporter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.7.0
Choose a head ref
  • 6 commits
  • 31 files changed
  • 2 contributors

Commits on Nov 20, 2026

  1. feat(pdf): --pdf-form, quizzes as a fillable form that checks itself

    Chrome prints no form fields. Before printing, every field and quiz button
    of the page gets an empty link laid over it that names it (appended where
    Elm draws, behind the gap where LiaScript writes HTML, as both redraw a
    field that is moved); Chrome writes each link with its place on its page.
    pdf-lib swaps the links for AcroForm fields: text, check box, radio group,
    dropdown, and LiaScript's drawn Check and solution buttons, whose scripts
    compare with the solutions of the course description (fulljson-meta) and
    show LiaScript's feedback texts in the course language.
    
    Works in readers with PDF JavaScript (Acrobat, Firefox/pdf.js); elsewhere
    it is still a form to fill in. Surveys and tasks become fillable fields.
    CLI and server only: the web app prints through the browser's dialog.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    40e1d46 View commit details
    Browse the repository at this point in the history
  2. feat(pdf-form): close solved quizzes, submit surveys

    As in LiaScript, a solved or resolved quiz is closed: its fields become
    read only and its buttons do nothing more. Surveys get their Submit
    button, which closes the survey once every question (or matrix row) is
    answered and otherwise says what is missing, in LiaScript's texts.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    6f461d2 View commit details
    Browse the repository at this point in the history
  3. feat(pdf-form): trial count on the check button

    As LiaScript does, the check button shows how often it was pressed:
    "Check 1", "Check 2", … until the quiz is solved. A read-only field in
    room made next to the button's label, in its color and size.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    cceb714 View commit details
    Browse the repository at this point in the history
  4. feat(pdf-form): the web app makes the same form, in two steps

    The web app prints through the browser's dialog and never sees the PDF.
    So its print tab marks the fields as the CLI does, and the saved PDF goes
    back to the status page, which turns it into the form with pdf-lib
    (loaded on demand). Needs a PDF saved by Chrome or Edge, which keep links.
    
    For that the printed PDF carries all the form needs: the feedback link of
    each quiz holds the quiz, its solution and the language. addForm takes just
    the bytes, and returns null for a PDF without the links. The marking moved
    to pdf-form-marks.ts, free of pdf-lib, as the print tab runs it from its
    source. The web app gets the solutions by running the Exporter for pdf with
    a capturing pdf exporter, as the CLI gets them.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    0bd088b View commit details
    Browse the repository at this point in the history
  5. fix(pdf-form): solutions for course URLs and projects; action inputs

    A course URL was printed without parsing it, and a project handed its
    courses to the PDF export without their description, so neither form could
    check its quizzes. With --pdf-form a URL is now parsed as for RDF, and a
    project with --project-generate-pdf parses its courses with the solutions
    and passes each one on, as it does for ePub and DOCX.
    
    The GitHub Action gets the inputs pdf-form and pdf-timeout.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    b5e26d6 View commit details
    Browse the repository at this point in the history
  6. Version bump to 3.7.0

    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    andre-dietrich and claude committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    a8d596b View commit details
    Browse the repository at this point in the history
Loading