Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-19 | Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42 | GitLab Bot | |
2022-04-20 | Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42 | GitLab Bot | |
2022-03-18 | Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42 | GitLab Bot | |
2021-05-19 | Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42 | GitLab Bot | |
2020-11-19 | Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42 | 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-09-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-08-31 | Avoid calling freeze on already frozen strings in app/models | dineshpanda | |
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-03-28 | Inherit from ApplicationRecord instead of ActiveRecord::Base | Nick Thomas | |
2019-03-20 | Rename the hidden option to whitelisted | Douglas Barbosa Alexandre | |
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-07-27 | Enable frozen string in app/models/*.rb | gfyoung | |
Partially addresses #47424. | |||
2018-04-11 | Backport: Propagate broadcast messages to secondaries | Michael Kozono | |
2017-09-07 | Removes default scope from sortable | Tiago Botelho | |
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-06-15 | #13336 - display multiple messages in both the UI and git output | Mike Ricketts | |
2016-10-07 | Add markdown cache columns to the database, but don't use them yet | Nick Thomas | |
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. | |||
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-05-06 | Annotate the models | Zeger-Jan van de Weg | |
2016-01-29 | Change ttl to 1 minute | Josh Frye | |
2016-01-29 | Cache BroadcastMessage.current for 5 minutes. Fixes #12770 | Josh Frye | |
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-08 | Add custom ColorValidator | Robert Speicher | |
2015-02-06 | Explicitly define ordering in models using default_scope | Dmitriy Zaporozhets | |
2014-06-26 | Use strong params for 5 more models | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2014-06-04 | Allow set broadcast color with 3 digits like #444 | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2014-04-09 | Re-annotate models | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-12-19 | Add validations to BroadcastMessage color and font | 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 messages scaffold in admin area | 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> |