Skip to content
Snippets Groups Projects
  1. Dec 10, 2019
    • 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. Nov 29, 2019
    • 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. Jun 25, 2019
  4. Jun 07, 2019
  5. Apr 01, 2019
  6. Mar 20, 2019
  7. Dec 19, 2018
  8. Dec 09, 2018
  9. Apr 11, 2018
  10. Aug 21, 2017
  11. Aug 11, 2017
    • Yorick Peterse's avatar
      Better caching and indexing of broadcast messages · a5c8a527
      Yorick Peterse authored
      Caching of BroadcastMessage instances has been changed so a cache stays
      valid as long as the default cache expiration time permits, instead of
      the cache being expired after 1 minute. When modifying broadcast
      messages the cache is flushed automatically.
      
      To remove the need for performing sequence scans on the
      "broadcast_messages" table we also add an index on (starts_at, ends_at,
      id), permitting PostgreSQL to use an index scan to get all necessary
      data.
      
      Finally this commit adds a few NOT NULL constraints to the table to
      match the Rails validations.
      
      Fixes gitlab-org/gitlab-ce#31706
      Verified
      a5c8a527
  12. Jul 27, 2017
  13. Jul 26, 2017
  14. Jun 15, 2017
  15. Nov 18, 2016
  16. Aug 19, 2016
  17. Aug 09, 2016
  18. Jun 03, 2016
  19. May 09, 2016
  20. Jan 15, 2016
  21. Jan 13, 2016
  22. Dec 09, 2015
  23. Dec 07, 2015
  24. Oct 03, 2015
  25. Feb 12, 2015
  26. Apr 09, 2014
  27. Dec 18, 2013
  28. Nov 13, 2013
  29. Nov 12, 2013
Loading