Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-20 | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | |
2020-06-18 | Add latest changes from gitlab-org/gitlab@13-1-stable-ee | GitLab Bot | |
2020-05-20 | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | |
2020-03-05 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-12-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-12-02 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-06-26 | Set 2 weeks as the expiration time for the current broadcast message | Douglas Barbosa Alexandre | |
2019-06-07 | Remove some deprecated code | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2019-04-01 | Add # frozen_string_literal to spec/models | Thong Kuah | |
Adds `# frozen_string_literal: true` to spec/models ruby files | |||
2019-03-20 | Does not exclude message_html from attributes | Douglas Barbosa Alexandre | |
2018-12-19 | Refactor BroadcastMessage to use Gitlab::JsonCache | Douglas Barbosa Alexandre | |
2018-12-09 | Avoid caching BroadcastMessage as an ActiveRecord object | Stan Hu | |
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 | |||
2018-04-11 | Backport: Propagate broadcast messages to secondaries | Michael Kozono | |
2017-08-21 | Fix caching of future broadcast messages | Yorick Peterse | |
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 | |||
2017-08-11 | Better caching and indexing of broadcast messages | Yorick Peterse | |
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 | |||
2017-07-27 | Use described_class when possible | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-07-27 | Remove superfluous lib: true, type: redis, service: true, models: true, ↵ | Rémy Coutable | |
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-06-15 | #13336 - display multiple messages in both the UI and git output | Mike Ricketts | |
2016-11-19 | Use build instead create in BroadcastMessage model spec | Semyon Pupkov | |
2016-08-19 | Now we already included it in spec_helper.rb | Lin Jen-Shin | |
2016-08-09 | adds second batch of tests changed to active tense | tiagonbotelho | |
2016-05-09 | Remove the annotate gem and delete old annotations | Jeroen van Baarsen | |
In 8278b763d96ef10c6494409b18b7eb541463af29 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 | |||
2016-01-13 | Move `BroadcastMessage#status` to a helper since it's presentational | Robert Speicher | |
2016-01-13 | Update BroadcastMessage model | Robert Speicher | |
- Adds default values for `color` and `font` attributes - Adds `active?`, `started?`, `ended?`, and 'status' methods | |||
2016-01-13 | Remove alert_type attribute from BroadcastMessage | Robert Speicher | |
2015-12-09 | Tag model specs | Douwe Maan | |
2015-12-08 | Add custom ColorValidator | Robert Speicher | |
2015-10-03 | Fix rubocop warnings in spec/models | Guilherme Garnier | |
2015-02-12 | Updated rspec to rspec 3.x syntax | Jeroen van Baarsen | |
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | |||
2014-04-09 | Re-annotate models | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-12-19 | Customization and previewing of broadcast messages | Andrew Tomaka | |
2013-11-13 | Annotate | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-11-12 | Show broadcast message to users | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-11-12 | Broadcast message model + migrations | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> |