Skip to content

Releases: ChlodAlejandro/deputy

v0.8.0

28 May 11:08
1c5f541
Compare
Choose a tag to compare

A lot of under-the-hood fixes, imported from work on a CCI case request wizard which hasn't been completed yet. Because the extra work on that feature has greatly diverged from the current Deputy code, compatibility is not guaranteed. For this reason, this exists as a minor version bump than a patch.

This version should have no visible changes, but there may be some select bug regressions. If you encounter any, please report them.

Added

  • [530a76a] Added a central logging system (all console logs are now prefixed with "[Deputy]")
  • [51ecb8e] Added additional logo styles (namely a rounded and on-white logo version)
  • [37d981f] Added support for user's current interface language
    • [404fb7a] Added support for user's current interface language in changes list
  • [f25a44d] (dev) Added better flexibility for setting development configuration settings
  • [f25a44d] (dev) Added transpilation preprocessor
  • [aaf9c78] (dev) Added API types and associated submodule
  • [ca9058d] (dev) Added .tsx to test transpilation pattern
  • [dbd2a08] (dev) Added automatic development mode sensing when using dev: scripts
  • [8a2fc4b] (dev) Added util for finding MediaWiki section headings on the current page

Modified

  • [3f89b9a] (dev) Refactored backend API classes to fully support new Dispatch API specification
  • [73ba073] (dev) Transferred select changes list UI elements to shared space
    • [198e33a] (dev) Improved compatibility with standalone modules
    • [26890f7] (dev) Transferred all changes list UI elements to shared space
  • [d7d95d1] (dev) Converted jQuery → innerHTML assignments to direct node manipulation
  • [fda9b30] (dev) Split wiki configuration locations to dedicated constant file
  • [b08ad16] (dev) Split contribution survey row statuses to dedicated constant file

Fixed

  • [f1c04a5] Fixed collapsible elements in just-saved sections not working
  • [076ce3c] (dev) Fixed CI leaving submodules uninitialized

For a granular list of changes, see v0.7.1...v0.8.0.

v0.7.1

24 Apr 02:57
06d1325
Compare
Choose a tag to compare

Bugfixes, introduction of better diff URL parser, and significant bugfix for the section start overlay, which can cause the overlay to cover other sections that don't start with a contribution survey header.

Added

  • [eab952b] (dev) Added copyright problems listing parse tests
  • [1ec9205] Added confirmation before converting a diff URL different from the current wiki
  • [63bcaf3] Added a dedicated diff URL parser, capable of handing multiple permutations of diff URLs
  • [759f1eb] Added cci.headingMatch configuration field in wiki configuration

Modified

  • [5f173f0] Removed unfinished row notice in danger mode
  • [f715e76] (dev) Changed CPC response counter to reflect latest template changes
  • [1ec9205] Forced changed {{copied}} input fields to show if conversion was performed
  • [dc02cda] Updated utility index and utility index generation script

Fixed

  • [d8bf408] Fixed unintentional wrapping in section buttons
  • [87d5c6f] Fixed "Mark all rows in all sections as finished" not working when there are finished rows
  • [1524994] Fixed definition list comments (:) breaking listing parser
  • [bfc9469] Fixed zero diffs appearing with symbols
  • [fc0837e] Fixed display failure for diffs with broken parents (T186280)
  • [cb532c7] Fixed intentionally hidden tags causing commas to appear in tag list
  • [1ec9205] Fixed lockup when attempting to get revision date of a non-revision ID
  • [df82208] Fixed CCI section start overlay reaching into other non-survey row sections
  • [7ab7b28] Fixed CCI section start overlay being slightly taller than correct height

For a granular list of changes, see v0.7.0...v0.7.1.

v0.7.0

20 Mar 09:08
89f31d1
Compare
Choose a tag to compare

This version introduces "Danger mode", a way to allow clerks to rapidly process cases. It removes many of Deputy's confirmations and warnings, and also introduces additional (dangerous) buttons. As of now, it does not use an allowlist nor have minimum account requirements.

Added

  • [f911e9e] Added row collapse-by-default option
  • [c3aeba3] Added option to keep archiving template ({{collapse top}}) unsigned
  • [c3aeba3] Added preference to leave archiving template unsigned by default
  • [c8c794b] Introduced "Danger mode"

Modified

  • [522f952] Changed "Listing is missing from wikitext or malformed listing" message to a more user-friendly error message

Bugs

  • [522f952] Fixed missing listing error when responding to listing at end of page with comment
  • [ba7a779] Fixed $2 appearing in place of the comment when a comment wasn't provided when filing a new listing
  • [3c78dc3] Fixed CCI row collapsing requiring two clicks
  • [742e90c] Fixed section name detection for newer versions of MediaWiki+DiscussionTools
  • [2f9f1b0] Fixed CCI diff list breaking when a space is between diffs
  • [f314105] Fixed archived sections being unloadable (again)

For a granular list of changes, see v0.6.0...v0.7.0.

v0.6.0

14 Feb 05:34
2f9a325
Compare
Choose a tag to compare

Breaking change due to configuration version upgrade. This version allows Deputy to load rows where only a page is available (like for files and the WikiProject Tropical cyclones case) and includes improved handling of configuration version changes.
The latter was implemented to support changing the ia.listingWikitextMatch configuration field to allow processing for Copyright problems noticeboard listings which have mismatched IDs and links.

Modified

  • [da8d225] Gracefully handle rows with only a page title available
  • [530d46c] Avoid loading newer configuration versions

Bugs

  • [c577afa] Fixed banner being inserted in the wrong element for DiscussionTools-using wikis
  • [5dd6dc6] Fixed missing listing error when responding to listing with mismatched ID and link
    • BREAKING CHANGE! Wikis must update their ia.listingWikitextMatch configuration fields to use
      the new capture groups.

For a granular list of changes, see v0.5.1...v0.6.0.

v0.5.1

21 Dec 07:05
548da87
Compare
Choose a tag to compare

Bugfixes and minor changes.

Modified

  • [640cc01] Moved User:Chlod/Scripts/Deputy links to Wikipedia:Deputy
  • [3c73d02] (dev) Re-enabled Firefox tests on Windows

Bugs

  • [964af59] Fixed section breaking when bullet list not continuous (#31)

For a granular list of changes, see v0.5.0...v0.5.1.

v0.5.0

12 Sep 05:33
876b533
Compare
Choose a tag to compare

Generic patches, fixes, and QoL features. Added an announcements system for reaching users of Deputy. Also improved CCI case navigation and handling.

Added

  • [4cb3432] Added button to navigate to previous unassessed revisions
  • [6d212b1] Added shorthand summary for case page assessment edit summaries
  • [8c352a8] Added proper support for missing (deleted/suppressed) revisions
  • [adaab2f] Added an announcements system
  • [2374c07] Reintroduced template merging
  • [b1cfbaf] Added button in ANTE to automatically get date from revision ID
  • [de7bd37] Added Action API Api-User-Agent headers
  • [7cb48de] Added RESTBase Api-User-Agent headers
  • [9ecbc4a] Added support for change tags
  • [df72d6e] Added option for quick Earwig's Copyvio Detector links on CCI revisions
  • [f294aec] Added suggestions for current page on page-related ANTE fields
  • [d2cedac] Added button in ANTE to automatically get latest revision ID from page
  • [3684db3] Added a "diff" dropdown button for revisions
  • [b464ff8] Added option to automatically open diffs for certain thresholds

Modified

  • [c77ad39] Made page toolbar appear as long as a session was active
  • [51330ac] Made page toolbar only show when viewing normally, viewing a diff, or viewing a permanent link
  • [3d552a7] Made sections unsave-able if there is are still unassessed revisions
  • [79a1e59] Made DateInputWidget dropdown show upwards
  • [b2a7dde] Changed homepage to link to new Wikipedia:Deputy home
  • [bb453f3] Hid user by default in CCI revisions

Bugs

  • [c77ad39] Fixed revisions not working when the page title doesn't match
  • [ff55837] Fixed "Force UTC time" only taking effect on dates
  • [2470f56] Fixed error when saving a section without making savable changes
  • [e790fb7] Fixed incorrect message key in ANTE template with demo parameter enabled
  • [ec1bd49] Fixed how links appear in the CCI interface
  • [4446402] Fixed missing revisions appearing improperly
  • [b8a5975] Fixed z-index issues with confirmation dialogs
  • [b45cc88] Fixed title parsing issue when attrib. notice field is empty
  • [e35904d] Fixed wiki configuration changes not applying
  • [ae127dc] Fixed dates being incorrectly set for negative UTC offsets
  • [97bb369] Fixed problems with element classes when revision tag has spaces or symbols

For a granular list of changes, see v0.4.2...v5.0.0.

v0.4.2

23 Mar 00:01
49388f5
Compare
Choose a tag to compare

Another set of patches and fixes.

Modified

  • [0aeeb4d] Hid lastEdited option from wiki configuration editor
  • [b9e7f83] Moved wiki configuration to localStorage instead of MediaWiki options
  • [866cdee] (dev) Added automatically-generated utility index files
  • [04ba5ce] Exposed utility functions onto Deputy global object
  • [cb639dc] Added z-index to page toolbar
  • [3e0f425] Increased page toolbar timeout for page details

Bugs

  • [595ce69] Fixed broken pre-2014 case style processing
  • [9fcbd0f] Fixed comment rows causing parser to throw errors

For a granular list of changes, see v0.4.1...v0.4.2.

v0.4.1

19 Jan 01:06
a1ccef0
Compare
Choose a tag to compare

Small patch, big leap. This patch switches Deputy over to using the dedicated Deputy Dispatch tool instead of the Zoomiebot Deputy module. For more information about Dispatch, see its GitHub repository.

Modified

  • [c7b4f5f] Changed default Dispatch endpoint to dedicated tool
  • [c423d23] (dev) Changed API class name to "DeputyDispatch"

Bugs

  • [c08f1c0] Fixed bad cleanup due to DiscussionTools parser HTML changes

For a granular list of changes, see v0.4.0...v0.4.1.

v0.4.0

12 Jan 04:17
7de8464
Compare
Choose a tag to compare

A few significant changes and bugfixes. Most notably, a new "presumptive deletion" option for Infringement Assistant has been added for wikis with a CCI process. This allows users to report pages with presumptive deletions on-wiki. This requires wiki-wide enabling, and can be toggled by administrators on other wikis.

Changes and updates on user and wiki configurations have been streamlined. Now, Deputy will updated your user configuration on ALL tabs once you change it on one tab. No need to reload to apply changes. As for changes to the wiki configuration, Deputy now stores the time a configuration was last edited within the script. When a change is detected (on page load), a message is automatically sent to invalidate all outdated configurations, and the appropriate notices are shown. Note that this will only work with Deputy, and not standalone modules (which do not ship inter-tab communication features).

Aside from that, this update brings a few needed bugfixes.

Added

  • [480d81f] Added fields for presumptive deletion in IA single page workflow dialog
  • [0268848] Added panel for additional editor comments on unfinished rows
  • [3010f8d] Added alerts for outdated wiki-wide configurations

Modified

  • [03a9505] Improved revision switching in page toolbar
  • [03a9505] Began showing page toolbar regardless of diff view
  • [f5a29d2] Stopped parsing rows that weren't found as an HTML element
  • [31d621a] Improved i18n-related functions
  • [214180e] Began applying user configuration changes on all tabs when changed

Bugs

  • [ab937d9] (dev) Fixed mw typing being missing from tests
  • [13892d7] Fixed accidental use of getNameText instead of getMainText
  • [d556250] Fixed {{copyvio}} templates bearing "$1" instead of the reported URL

For a granular list of changes, see v0.3.1...v0.4.0.

v0.3.1

17 Dec 07:52
c0c34c8
Compare
Choose a tag to compare

General bugfix and quality-of-life fixes.

Modified

  • [5c56c26] Began purging the main copyright problems listing page after listing post
  • [64333e4] Tweaked listing detection to avoid "edit section" links

Bugs

  • [0dd03d9] Fixed sections not being parsed properly when the section name has numbers
  • [efac058] Fixed improper revision navigation with the revision toolbar
  • [360221a] Fixed newlines not being inserted when posting listings
  • [e3df95c] Fixed wrong notify message being sent for listing-only reports

For a granular list of changes, see v0.3.0...v0.3.1.