- 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.
-
- Aug 31, 2019
-
-
dineshpanda authored
-
- Jul 30, 2019
-
-
Yorick Peterse authored
All instances of injecting an EE specific module have been changed to use the new methods for this: prepend_if_ee, extend_if_ee, and include_if_ee. This allows these lines to be included in CE, even when the modules to inject do not exist. This in turn allows us to backport these lines to CE and keep them there, instead of having to strip them out.
-
- 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>
-
- Mar 28, 2019
-
-
Nick Thomas authored
-
Nick Thomas authored
-
- Mar 20, 2019
-
-
Douglas Barbosa Alexandre authored
-
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
-
- Nov 12, 2018
-
-
Yorick Peterse authored
This moves all instances of `prepend EE::Something` and `include EE::Something` in models to the last line of the corresponding model. This pushes EE specific code further down the files, reducing the likelihood of developers running into merge conflicts.
-
- Aug 01, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Jul 26, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Apr 11, 2018
-
-
Michael Kozono authored
-
Michael Kozono authored
-
- Sep 07, 2017
-
-
Tiago Botelho 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
-
- Jun 15, 2017
-
-
Mike Ricketts authored
-
- Oct 07, 2016
-
-
Nick Thomas authored
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
-
- 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
-
- May 06, 2016
-
-
Zeger-Jan van de Weg authored
-
- Jan 29, 2016
- 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 07, 2015
-
-
Robert Speicher authored
-
- Feb 05, 2015
-
-
Dmitriy Zaporozhets authored
-
- Jun 26, 2014
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Jun 04, 2014
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 09, 2014
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Dec 19, 2013
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-