Commit graph

13 commits

Author SHA1 Message Date
Filipa Lacerda
9004e18e6e Adds releases index route
Renders empty index page
Adds Releases entry to the navigation bar behind a feature flag
Renders 404 when feature flag for releases is not enabled
2018-12-18 11:01:55 +01:00
Rémy Coutable
1209332a08
Replace admin sidebar feature spec with view spec
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-04 17:35:40 +01:00
Robert Speicher
c0fcf120b7
Convert "New menu" feature spec to a view spec
A feature spec to test this simple behavior takes about 2 minutes to run
in CI. Everything it's testing is conditionals and `href` attributes,
which can easily be done in a view spec that runs in about 8 seconds.
2018-11-26 11:19:15 -06:00
Tim Zallmann
f7ac538425 DNS Prefetching + Preconnect of assets_host (CDN Domain) 2018-07-26 15:00:18 +00:00
Lukas Eipert
762672fd26 Project Sidebar: Split CI/CD into CI/CD and Operations 2018-05-16 11:16:33 +00:00
Felipe Artur
dd071c4b6e Bring one group board to CE 2018-03-03 12:56:17 -03:00
Phil Hughes
360b60bea7
CE backport of new-sidebar-boards 2017-09-13 11:08:48 +01:00
Phil Hughes
ddb3692a22 Clean up new navigation templates 2017-09-06 10:58:24 +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
Robert Speicher
9513bd18c4 Ensure all project factories use :repository trait or :empty_project 2017-08-01 14:51:52 -04:00
Grzegorz Bizon
c0ff8b6d96 Fix container registry navigation menu highlights 2017-04-18 20:49:52 +00: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