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.

Від 06.03.2020. Дивіться остання версія.

Це версії цього скрипту, де код був змінений. Показати всі версії.

  • v5.18 16.02.2023

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

  • v5.17 02.09.2021

    // 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 20.07.2021

    // 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 24.05.2021

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

  • v5.14 14.05.2021

    // 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 01.04.2021

    // 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 04.03.2021 // Since v05.11: Removing "Review%20requested%20from%20M" from avatar names. Removed MR NOTES EMPTY growl.
  • v5.11 01.02.2021 // Since v05.10: Compatibility updates with Gitlab changes.
  • v5.10 19.11.2020 // Since v05.90: MUCH UPDATED. See release notes in commented code
  • v5.9 31.08.2020 // 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 25.08.2020 // 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 17.08.2020 // 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 03.08.2020 // 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 30.07.2020 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 29.07.2020 // 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 28.07.2020 // 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 14.07.2020 // Since v05.10: Added View Site shortcut to top nav bar. update PT title linker
  • v5.1 22.06.2020 // Since v05.00: Added pipline error growl notifications, colorized notes on code reviews that are not associated with line numbers.
  • v5.0 14.05.2020 // Since v04.99: Changed PT linking. TODO: moved base link definitions to user preference. Added User Favorite Links to header.
  • v4.99 07.04.2020 // Since v04.98: Fixed the alert-wrapper problem.
  • v4.98 06.04.2020 // Since v04.97: Moving alert removal to alert-wrapper. May need further investigation
  • v4.97 06.04.2020
  • v4.96 06.03.2020 // Since v04.95: Added bisque color for active tabs
  • v4.95 11.02.2020 // Since v04.90: Modified the "Act" button to first click the Overview tab before scrolling to the Approve link.
  • v4.9 10.02.2020 // 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 10.02.2020 // 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 18.11.2019 // Since v05.60: Updated unresolved locator to match Gitlab-changed text
  • v4.6 05.09.2019 // Since v05.50: Fixed TODO default prompt for new users
  • v4.5 05.09.2019 // 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 15.08.2019 // Since v04.30: Adjusted todo element identifier to match update from Gitlab, fixing TODO monitor.
  • v4.3 05.08.2019 // Since v04.20: Removed identicon from breadcrumb trail as without an image it looked weird. Important - TODO bugfix for undefined error!
  • v4.2 05.08.2019 // Since v04.10: Fixed the hourlies reminders. Added user option to hide "err" code background color.
  • v4.1 30.07.2019 // 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 01.07.2019 // Since v03.91: User Preferences to control main functions of plugin! Avatar name tweaks.
  • v3.91 24.06.2019 // 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 14.06.2019 // Since v03.80: Expanded bot detection to include array created via regex
  • v3.8 14.06.2019 // Since v03.70: Optimized avatar location methods (and added another identifier)
  • v3.7 04.06.2019 // 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 16.05.2019 // Since v03.50: argh. They change the DOM, breaking the expand/collapse functions. Fixed and in a more flexible manner.
  • v3.5 16.05.2019 // Since v03.30: Gitlab changed a classname, which broke the Discussions button. Fixed in a more flexible manner.
  • v3.3 14.05.2019 // Since v03.20: Moving .fingery class to global script. Moving out setTamperIcon
  • v3.2 09.05.2019 // Since v03.10: Made comparisonSize font alteration more inclusive. Filtering out "Americas" from avatar names. Removes vertical margin from fingery class
  • v3 17.04.2019 // Since v02.20: Links TFS and PT values in title to their respective URLs. Adds Font+/- button for comparison text
  • v2.2 01.04.2019 // Since v02.10: Since Gitlab removed their Expand All button (?!), this adds it back in...
  • v2.1 26.03.2019 // 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 15.03.2019 // Since v01.81: Removed old coffee cup button code. Added Collapse All Button with diff-collapsing function. Bug tweaks.
  • v1.81 14.03.2019 // Since v01.80: Some conversations were not being colorized.
  • v1.80 08.03.2019 // 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 07.03.2019 // Since v01.75: Fixes the click functionality of the tamperlabel, also makes it look clickable
  • v1.7 07.03.2019 // 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)

Показати всі версії сценарію