Commit Graph

6 Commits

Author SHA1 Message Date
Simon Knox a1e0f387bf Move highlight themes to subfolder 2019-02-22 12:07:14 +11:00
Simon Knox 5996fd145f Only load selected syntax highlight CSS
Compile highlight CSS separately
Move highlight-specific mixins out of mixins.scss
Rename solarized themes to match theme name as this was a smaller
change than changing all instances to snake_case
2019-02-15 21:10:19 +11:00
Tim Zallmann f7ac538425 DNS Prefetching + Preconnect of assets_host (CDN Domain) 2018-07-26 15:00:18 +00:00
Sean McGivern 5883ce95ef `current_application_settings` belongs on `Gitlab::CurrentSettings`
The initializers including this were doing so at the top level, so every object
loaded after them had a `current_application_settings` method. However, if
someone had rack-attack enabled (which was loaded before these initializers), it
would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't
have that method.

To fix this:

1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need
   `Object.new.current_application_settings` to work.
2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it
   like that in several places.
3. Change the initializers to use that new form.
2017-08-31 13:38:33 +01:00
Yorick Peterse 0ba03d7eb1
Removed data-user-is view code
With events no longer being cached this is no longer needed.
2016-11-25 13:45:34 +01:00
Robert Speicher 01fc7633d0 Update Hamlit to 2.6.1
Fixes gitlab-org/gitlab-ce#21025 and gitlab-org/gitlab-ce#21017
2016-08-18 13:26:32 -05:00