Commit graph

9 commits

Author SHA1 Message Date
Kushal Pandya
08c57ec94a HAMLLint: Fix UnnecessaryInterpolation and UnnecessaryStringOutput offences correctly 2017-01-24 10:29:54 -08:00
Kushal Pandya
d15448632a HAMLLint: Fix UnnecessaryStringOutput offences 2017-01-24 10:09:28 -08:00
Nick Thomas
9920551536 Enable CacheMarkdownField for the remaining models
This commit alters views for the following models to use the markdown cache if
present:

* AbuseReport
* Appearance
* ApplicationSetting
* BroadcastMessage
* Group
* Issue
* Label
* MergeRequest
* Milestone
* Project

At the same time, calls to `escape_once` have been moved into the `single_line`
Banzai pipeline, so they can't be missed out by accident and the work is done
at save, rather than render, time.
2016-10-07 02:54:26 +01:00
Mike Greiling
fa0bf1350e remove instances of <input type="color" /> due to inconsistent browser support 2016-09-29 07:19:06 -05:00
Robert Speicher
7a2370f740 Standardize the way we check for and display form errors
- Some views had a "Close" button. We've removed this, because we don't
  want users accidentally hiding the validation errors and not knowing
  what needs to be fixed.
- Some views used `li`, some used `p`, some used `span`. We've
  standardized on `li`.
- Some views only showed the first error. We've standardized on showing
  all of them.
- Some views added an `#error_explanation` div, which we've made
  standard.
2016-04-04 21:37:07 -04:00
Robert Speicher
76ed2afcfc Change js-quick-submit behavior to expect the class on the form
Now it will work on any field inside that form, and it's easier to scope
new behavior, which is what we're adding next!
2016-03-02 15:11:15 -05:00
Robert Speicher
89b3ddd609 Allow limited Markdown in Broadcast Messages
Closes #11853
2016-02-06 14:30:07 -05:00
Robert Speicher
00e8700433 Broadcast Messages can now be edited
Closes #3046
2016-01-13 11:42:15 -05:00
Robert Speicher
7e24c5c45a Move broadcast message form to a partial 2016-01-13 11:34:19 -05:00