GGn Upload Templator

Auto-fill upload forms using torrent file data with configurable templates

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v0.14 07.10.2025
    • Added Select All / Select None to form fields list in template creator/editor modal
    • Fix help modal default keybinding (?) now functions properly
  • v0.13 07.10.2025

    • Built-in Help System: Access contextual help via icons or press ? anytime
    • Rich Tooltips: Hover over help icons for quick explanations
    • Searchable Help Modal: Find answers quickly with full-text search
    • First-Run Experience: Welcome modal for new users and version updates
    • Unsaved Changes Warning: Show warning modal on close if there are unsaved changes
  • v0.12 04.10.2025

    • Other scripts can now use the API exposed via window.GGnUploadTemplator, see docs/api.md for details.
    • Ask for confirmation before applying the template, show preview of value changes.
    • Show variable hint information when editing a mask
    • Managing variable hints is now more flexible: they can be reset to default / all deleted / only import new ones.
  • v0.11 03.10.2025

    This is mostly a UX/UI fixes and improvements release.

    • All variable hints are now treated equally, there's no more default/custom hints, this allows editing/deleting any hint, including previously default ones. You can reset to default using the new button.
    • Matched variable values are now truncated to sane lengths, hover over them to see full match highlighted in the torrent name.
    • Fix match highlights not working properly when the matched value is too long
    • Modals get scaled down the further up the stack you go, i.e: if you have one modal open then you open another on top of it, that gets scaled down so you visually distinguish there are two modals
    • Modal width can be resized to your liking by dragging on the left/right edge
    • Show number of extracted variables under the template selector, even if the number is 0
    • Fix regression: Changing selected template MUST NOT automatically apply the template.
  • v0.10 03.10.2025

    • Add variable hints that allows for viarble disambiguation and advanced pattern matching.
    • Toggle to show compiled regex in Mask Sandbox
    • Fix: Allow optionals to consist of white space
    • UX: Modals have fixed headers and footers now
  • v0.9 01.10.2025

    • Add Mask Sandbox for testing masks against multiple sample names
  • v0.8 01.10.2025

    • Add optional variables with {? ... ?} syntax for flexible filename matching
    • Remove greedy matching setting (now uses smart non-greedy parsing by default)
  • v0.7 30.09.2025

    • Add mask validation and highlighting with helpful messages
    • Fix: No longer inserts ${varname} in fields if ${varname} is empty/not found
  • v0.6 30.09.2025
    • Added support for variables defined in the comment field of a torrent file. These are extracted as ${_foo}, ${_bar}, starting with an underscore. Mask variables cannot be defined with an underscore in the beginnig of their name. The format for variables in the comment field is this:
    foo=wowie;bar=fancy;
    
    • Show variable count under the template selector. Clicking it shows a modal with all variables and their values.
  • v0.5.1 29.09.2025
    • Fix: Use textarea for textarea fields instead of text input, respect newlines.
  • v0.5 29.09.2025

    - BREAKING CHANGE: Templates are no longer auto-applied when a file is selected. You have to either press the new Apply Template button or use the default keybinding: Ctrl+Shift+A
    - You can now customize keybindings for Form submission and Apply Template in the settings

  • v0.4.1 28.09.2025

    - Going forward, posting the unminified version of the userscript

  • v0.4 28.09.2025

    - Added support for choosing select field values based on extracted variables

  • v0.3 28.09.2025
  • v0.2 28.09.2025
  • v0.1 27.09.2025