Commit graph

7 commits

Author SHA1 Message Date
Jan Provaznik
8ce4b6093a Move scoped_label into label presenter
When rendering a label we want to check 'scoped_label' feature
availability on a project/group where label is being used. For
this reason a label presenter is used in UI and information about
context project/group is passed to this presenter.
2019-04-23 19:58:20 +00:00
Jan Provaznik
fec2e27f1d [backend] backport of scoped labels
Scoped labels in EE require additional changes in CE code.
2019-04-04 08:07:58 +02:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Nick Thomas
6b4da27e97 Fix dashboard labels dropdown 2017-07-07 14:35:16 +01:00
Nick Thomas
e94cd6fdfe Add markdown cache columns to the database, but don't use them yet
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-10-07 02:54:25 +01:00
Rubén Dávila
95b06a62c0 Updates from last code review. 2016-03-06 23:07:19 -05:00
Dmitriy Zaporozhets
986695e136 Refactor global and group milestones logic
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 14:07:38 +01:00