1. 10 Dec, 2019 1 commit
    • Nicolas Dular's avatar
      Add broadcast_type to broadcast messages · 2444a67a
      Nicolas Dular authored and Thong Kuah's avatar Thong Kuah committed
      Adds two different types of broadcast messages. Banner type is the
      current design and will be kept shown on the top of the site, where
      notification will be implemented in a separate frontend MR.
      2444a67a
  2. 29 Nov, 2019 1 commit
    • Nicolas Dular's avatar
      Add path based targeting to broadcast messages · 604b3f8a
      Nicolas Dular authored
      This adds `target_path` to `BroadcastMessages` to allow to show
      broadcast messages at certain URLs.
      To match complex URLs, we allow to use `*` as wildcard characters for
      the `target_url`. Since SQL is using `%` for wildcards, we need to
      replace these characters in our query.
      604b3f8a
  3. 21 Mar, 2019 2 commits
  4. 19 Sep, 2018 2 commits
    • gfyoung's avatar
      Enable frozen string in app/controllers/**/*.rb · 3160f30f
      gfyoung authored
      Enables frozen string for the following:
      
      * app/controllers/*.rb
      * app/controllers/admin/**/*.rb
      * app/controllers/boards/**/*.rb
      * app/controllers/ci/**/*.rb
      * app/controllers/concerns/**/*.rb
      
      Partially addresses #47424.
      3160f30f
    • gfyoung's avatar
      Enable frozen string in app/controllers/**/*.rb · 73322a0e
      gfyoung authored
      Enables frozen string for the following:
      
      * app/controllers/*.rb
      * app/controllers/admin/**/*.rb
      * app/controllers/boards/**/*.rb
      * app/controllers/ci/**/*.rb
      * app/controllers/concerns/**/*.rb
      
      Partially addresses #47424.
      73322a0e
  5. 11 Sep, 2018 2 commits
  6. 05 Feb, 2018 1 commit
  7. 07 Sep, 2017 1 commit
  8. 07 Oct, 2016 1 commit
    • Nick Thomas's avatar
      Enable CacheMarkdownField for the remaining models · 99205515
      Nick Thomas authored
      This commit alters views for the following models to use the markdown cache if
      present:
      
      * AbuseReport
      * Appearance
      * ApplicationSetting
      * BroadcastMessage
      * Group
      * Issue
      * Label
      * MergeRequest
      * Milestone
      * Project
      
      At the same time, calls to `escape_once` have been moved into the `single_line`
      Banzai pipeline, so they can't be missed out by accident and the work is done
      at save, rather than render, time.
      99205515
  9. 03 Jun, 2016 2 commits
  10. 16 Mar, 2016 1 commit
  11. 06 Feb, 2016 1 commit
  12. 05 Feb, 2016 1 commit
  13. 15 Jan, 2016 1 commit
  14. 13 Jan, 2016 2 commits
  15. 20 Oct, 2015 1 commit
  16. 20 Apr, 2015 1 commit
  17. 26 Jun, 2014 1 commit
  18. 12 Nov, 2013 2 commits