Skip to content
Snippets Groups Projects
  1. Sep 20, 2024
  2. Jul 01, 2024
  3. May 20, 2024
  4. Mar 07, 2023
  5. Apr 12, 2021
  6. Apr 02, 2021
  7. Oct 31, 2019
  8. Oct 04, 2018
  9. Aug 07, 2018
  10. Oct 31, 2017
  11. Jul 06, 2017
    • Yorick Peterse's avatar
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse authored
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
    • Yorick Peterse's avatar
      Added Cop to blacklist the use of `dependent:` · dddf1378
      Yorick Peterse authored
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      dddf1378
  12. Jun 21, 2017
  13. Feb 23, 2017
  14. Nov 17, 2016
  15. Jun 03, 2016
  16. May 12, 2016
  17. Mar 15, 2016
    • Rémy Coutable's avatar
      Improving the original label-subscribing implementation · 54ec7e95
      Rémy Coutable authored
      1. Make the "subscribed" text in Issuable sidebar reflect the labels
         subscription status
      
      2. Current user mut be logged-in to toggle issue/MR/label subscription
      54ec7e95
    • Timothy Andrew's avatar
      Original implementation to allow users to subscribe to labels · 0444fa56
      Timothy Andrew authored and Rémy Coutable's avatar Rémy Coutable committed
      1. Allow subscribing (the current user) to a label
      
      - Refactor the `Subscription` coffeescript class
        - The main change is that it accepts a container, and conducts all
          DOM queries within its scope. We need this because the labels
          page has multiple instances of `Subscription` on the same page.
      
      2. Creating an issue or MR with labels notifies users subscribed to those labels
      
      - Label `has_many` subscribers through subscriptions.
      
      3. Adding a label to an issue or MR notifies users subscribed to those labels
      
      - This only applies to subscribers of the label that has just been
        added, not all labels for the issue.
      0444fa56
Loading