Gitlab Mods

Adds colored sections, extra functionality, and avatars to Gitlab. For avatars, detects locally-running image server to use for replacements of avatars. Use http-server (https://www.npmjs.com/package/http-server) for node.js for simple image hosting. Recommend image size of 100x100.

These are versions of this script where the code was updated. Show all versions.

  • v5.18 2023-02-16

    // Since v05.18: Updated MR (Merge Request) Angular Commit Format validation

  • v5.17 2021-09-02

    // Since v05.16: Shrinks pipeline stage indicators. Updated debug-logging again. Removing the "My Checklist" button from the MR list page. Highlight/grays-out Draft MRs in the MR list. Applies background pattern to merges in /compare/ pages that match global.prefs.mrPrefixes. Replacing Gravatars with custom avatars if selected.

  • v5.16 2021-07-20

    // Since v05.15: Adjusts aside appearance to allow for more icons at lower resolution without scrolling. Added more default PivotalMaps. Always fixed scrollAfterCollapsed. Nullcheck for matchedCite. Tweaked color of Top/Act/View buttons. Tweaked debug logging. Fixed member list avatars. Made copy-title-as-markdown into a single copy (previously copied text then as-markdown). Updated class for finding MR title and pipeline-log-scroll-to-line method, to match Gitlab's changes. Added option to use non-draft MR's as TODO count. No more avatar flicker when using a localhost source.

  • v5.15 2021-05-24

    // Since v05.14: Debug/fix for pivotal.defineProject method. Added avatars to dashboard. MoreTools styles fixed to expand labeling visibility.

  • v5.14 2021-05-14

    // Since v05.13: Increased min-height of .note-header to prevent activity lines from wrapping. reduced margin on favorites buttons. Finding some default colors for Gitlab Dark Mode. PivotalTracker-integration bug fixes. Added prefix warning/reminder for MRs.

  • v5.13 2021-04-01

    // Since v05.12: Added ability to change font size of pipelineLogFilters. Tweaked the re:subject in initiating a Teams message from an MR. Breadcrumb prevented from expanding twice. *Important: Reconnects PivotalTracker after Gitlab UI updates.

  • v5.12 2021-03-04 // Since v05.11: Removing "Review%20requested%20from%20M" from avatar names. Removed MR NOTES EMPTY growl.
  • v5.11 2021-02-01 // Since v05.10: Compatibility updates with Gitlab changes.
  • v5.10 2020-11-19 // Since v05.90: MUCH UPDATED. See release notes in commented code
  • v5.9 2020-08-31 // Since v05.80: Allows repetitive Pivotal Description lines to be condensed to ellipses. Adds popover user menus to all avatars. View Site should now appear more accurately (it WAS showing even after the Review Site had expired). Adds a restart-pipeline button to regnerate the ENTIRE pipeline on an MR (requires that you create/use an API key for Gitlab)
  • v5.8 2020-08-25 // Since v05.70: cleans MR page of any links targeting "PASTEHERE" - TODO: can be upgraded with better enhancements and null-checks. Fixed bug with UserFaves. New tamperlibrary with copy preferences button. Linked "Chat" icon in merge request list to show chats (comments on MR) in a modal window rather than navigating to that page. Added copy title as Markdown for MRs. Added "Gather Release" button for Merged MR page.
  • v5.7 2020-08-17 // Since v05.60: ADDS Pivotal Story Details to Gitlab MR scren. Moved utils to be defined at top, so as to include methods previously required to be defined earlier. Unified definition of default avatar images. Allowing user preferences to be defined as true objects, not objects-as-strings (no longer will users have to reset preferences to accept new preference definitions). Code Cleanup; moving globally-declared identifying information to global.ids object. Removed getStoryActivity as that w
  • v5.6 2020-08-03 // Since v05.50: Working on remembering Pivotal Tracker review-type choice/preference; Redesigned log highlighter including user color preference. Added POST comment for Pivotal Tracker. Collapsible sidebar tools area to shove aside portions we never use. Expanded breadcrumb font size matches pre-expanded size. Automatically sets pivotal story to started if unstarted (can be disabled via preference).
  • v5.5 2020-07-30 Increased delay/amount of delayUntil chances. Increased initial delay of script - suspected interference with display of SVGs from Gitlab. Added icon for ally-req PT review type. Added "Show Needed Approvals" button on Merge Request page. Renamed "Filter Merges" button to "My Checklist"
  • v5.4 2020-07-29 // Since v05.30: Bug fixes. Mousemove no longer inits page while prefs window is open. Tampericon changed to remove website img. added filter merges button.
  • v5.3 2020-07-28 // Since v05.20: Unrestricting inline view to 925px; now allowed to show full browser width. dimApprovedRequests. Added Pivotal Tracker API integration. User Popup has link to Teams chat. Probably many other small upgrades. Semi-beta version, here.
  • v5.2 2020-07-14 // Since v05.10: Added View Site shortcut to top nav bar. update PT title linker
  • v5.1 2020-06-22 // Since v05.00: Added pipline error growl notifications, colorized notes on code reviews that are not associated with line numbers.
  • v5.0 2020-05-14 // Since v04.99: Changed PT linking. TODO: moved base link definitions to user preference. Added User Favorite Links to header.
  • v4.99 2020-04-07 // Since v04.98: Fixed the alert-wrapper problem.
  • v4.98 2020-04-06 // Since v04.97: Moving alert removal to alert-wrapper. May need further investigation
  • v4.97 2020-04-06
  • v4.96 2020-03-06 // Since v04.95: Added bisque color for active tabs
  • v4.95 2020-02-11 // Since v04.90: Modified the "Act" button to first click the Overview tab before scrolling to the Approve link.
  • v4.9 2020-02-10 // Since v04.80: Realized Gitlab's new navigation can lead to moments where the Approve button is nowhere near the top, so split main nav new button into two, "Act", and "Top"
  • v4.8 2020-02-10 // Since v04.70: Altered "Discussions" button to be "Top" button. Added a reset-timeout for adding the Changes tab's font-size and collapse/expand buttons.
  • v4.7 2019-11-18 // Since v05.60: Updated unresolved locator to match Gitlab-changed text
  • v4.6 2019-09-05 // Since v05.50: Fixed TODO default prompt for new users
  • v4.5 2019-09-05 // Since v05.40: Added visual indicator of TODO count activity (badge count background color change). Updated to latest tamperlibrary script version. ?? Some setPrefs extra line / bug line removed. Removes dependency on Tamper Global script.
  • v4.4 2019-08-15 // Since v04.30: Adjusted todo element identifier to match update from Gitlab, fixing TODO monitor.
  • v4.3 2019-08-05 // Since v04.20: Removed identicon from breadcrumb trail as without an image it looked weird. Important - TODO bugfix for undefined error!
  • v4.2 2019-08-05 // Since v04.10: Fixed the hourlies reminders. Added user option to hide "err" code background color.
  • v4.1 2019-07-30 // Since v04.00: Resovled intermittent (?) avatar photo failures, allowing back in a XX second timer for reinitialization. Added ability to reset page memory. If the TODOS count changes and you're on the TODO page, auto-reload.
  • v4.0 2019-07-01 // Since v03.91: User Preferences to control main functions of plugin! Avatar name tweaks.
  • v3.91 2019-06-24 // Since v03.90: Added comments to AT SOME POINT figure out why the Collapse All buttons are not working all the time. Added other avatar locations. Made a default broken-image "no avatar" avatar. System stops attempting to replace missing avatars if not found on the local server. TODO monitoring no longer requires a separate page to be open, and automatically updates the indicator on every page.
  • v3.9 2019-06-14 // Since v03.80: Expanded bot detection to include array created via regex
  • v3.8 2019-06-14 // Since v03.70: Optimized avatar location methods (and added another identifier)
  • v3.7 2019-06-04 // Since v03.60: Button bug fixes. Renamed comparisonSize. Moved default- and small- font sizes to userprefs. Hides the "nothing here block" divs. Scrolls to collapsed div when tall divs are collapsed. All states moved to global.states. Avatar ping functionality disabled if server isn't running.
  • v3.6 2019-05-16 // Since v03.50: argh. They change the DOM, breaking the expand/collapse functions. Fixed and in a more flexible manner.
  • v3.5 2019-05-16 // Since v03.30: Gitlab changed a classname, which broke the Discussions button. Fixed in a more flexible manner.
  • v3.3 2019-05-14 // Since v03.20: Moving .fingery class to global script. Moving out setTamperIcon
  • v3.2 2019-05-09 // Since v03.10: Made comparisonSize font alteration more inclusive. Filtering out "Americas" from avatar names. Removes vertical margin from fingery class
  • v3 2019-04-17 // Since v02.20: Links TFS and PT values in title to their respective URLs. Adds Font+/- button for comparison text
  • v2.2 2019-04-01 // Since v02.10: Since Gitlab removed their Expand All button (?!), this adds it back in...
  • v2.1 2019-03-26 // Since v02.00: Altered the logic of colorizing discussions to search for a more universal pass-fail value. Changes Discussions buttons from icon to text (and is therefore larger)
  • v2.0 2019-03-15 // Since v01.81: Removed old coffee cup button code. Added Collapse All Button with diff-collapsing function. Bug tweaks.
  • v1.81 2019-03-14 // Since v01.80: Some conversations were not being colorized.
  • v1.80 2019-03-08 // Since v01.75: Removes coffee-cup as it is native functionality, now. Yay Gitlab! Fixes a name-finding method that sometimes forgot to add a comma after spaces, for avatar images.
  • v1.75 2019-03-07 // Since v01.75: Fixes the click functionality of the tamperlabel, also makes it look clickable
  • v1.7 2019-03-07 // Since v01.6: Adds ability to hide header messages. Adds ability to erase Gitlab Mods memory by clicking on Tampermonkey icon (on this page, a battery in the lower-right corner)

Show all script versions