- Dec 10, 2019
-
-
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.
-
- Nov 29, 2019
-
-
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.
-
- Jun 25, 2019
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
- Jun 07, 2019
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 01, 2019
-
-
Thong Kuah authored
Adds `# frozen_string_literal: true` to spec/models ruby files
-
- Mar 20, 2019
-
-
Douglas Barbosa Alexandre authored
-
- Dec 19, 2018
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
- Dec 09, 2018
-
-
Stan Hu authored
When a Rails 4 host serializes a BroadcastMessage, it will serialize `ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer`, which does not exist in Rails 5. This will cause Error 500s on a Rails 5 reading from this cache. To make Rails 4 and 5 play well together, store the data as JSON and construct the ActiveRecord objects from JSON. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55034
-
- Apr 11, 2018
-
-
Michael Kozono authored
-
Michael Kozono authored
-
- Aug 21, 2017
-
-
Yorick Peterse authored
This changes the caching mechanism so we cache both current _and_ future broadcast messages, then manually filter out those we don't want to display. This ensures we don't need any additional queries while still being able to display the right messages at the right time. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36661
-
- Aug 11, 2017
-
-
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
-
- Jul 27, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jul 26, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jun 15, 2017
-
-
Mike Ricketts authored
-
- Nov 18, 2016
-
-
Semyon Pupkov authored
-
- Aug 19, 2016
-
-
Robert Speicher authored
Show wall-clock time when showing pipeline Show wall-clock time when showing pipeline instead of cumulative builds time. Closes #17007 See merge request !5734
-
Lin Jen-Shin authored
-
- Aug 09, 2016
-
-
tiagonbotelho authored
-
tiagonbotelho authored
-
- Jun 03, 2016
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- May 09, 2016
-
-
Jeroen van Baarsen authored
In 8278b763 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
-
- Jan 15, 2016
-
-
Robert Speicher authored
-
- Jan 13, 2016
-
-
Robert Speicher authored
-
Robert Speicher authored
- Adds default values for `color` and `font` attributes - Adds `active?`, `started?`, `ended?`, and 'status' methods
-
Robert Speicher authored
-
- Dec 09, 2015
-
-
Douwe Maan authored
-
- Dec 07, 2015
-
-
Robert Speicher authored
-
- Oct 03, 2015
-
-
Guilherme Garnier authored
-
- Feb 12, 2015
-
-
Jeroen van Baarsen authored
Signed-off-by:
Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- Apr 09, 2014
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Dec 18, 2013
-
-
Andrew Tomaka authored
-
- Nov 13, 2013
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Nov 12, 2013
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-