Commit graph

14 commits

Author SHA1 Message Date
Yorick Peterse
d7a4c1d2a5
Backport EE changes made to the scripts/ directory
This backport changes made by EE to the files in the scripts/ directory.
This comes with a few changes to some scripts to make them work in the
single codebase setup.
2019-07-29 13:53:20 +02:00
Yorick Peterse
0e41564762
Backport gitlab.yml.example from EE
To make this happen, we need to conditionally add the group_saml
strategy when running tests, but only on EE. This requires some changes
to Gitlab.ee? so that it can be used before/without loading the Rails
environment. We also have to change how we require a few files, so this
can run outside of Rails.
2019-06-20 14:51:49 +02:00
Oswaldo Ferreira
a1a0f8e6b0 Add DNS rebinding protection settings 2019-05-30 10:47:57 -03:00
Valery Sizov
cc2e849afd Use a fixed git abbrev parameter when we fetch a git revision 2019-03-28 15:24:56 +02:00
Filipa Lacerda
ec7835946a Creates a function to check if repo is EE
Adds EE information to gon
Creates a global vue mixin
2019-03-04 08:20:37 +00:00
Brandon Labuschagne
def2b548d2 Revert the "What's new" feature 2019-01-29 20:45:47 +00:00
Brandon Labuschagne
cc281afb27 Resolve "Add "What's new" menu item in top navigation" 2019-01-14 16:10:19 +00:00
Rémy Coutable
d50a80a282
Replace Gitlab::REVISION with Gitlab.revision and handle installations without a .git directory
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-24 10:14:01 +02:00
Rémy Coutable
c286c66f57
Move Settings to its own file, isolate it from Rails and introduce Gitlab.root
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Rémy Coutable
d2aee809ed
Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Oswaldo Ferreira
2c8d4f1a45 Backport GitLab domain helper methods 2018-04-13 14:52:33 -03:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Robert Speicher
d3d0e3dd5d Update Gitlab.com? to support staging 2016-06-27 15:10:36 -04:00
Robert Speicher
2e13f6c326 Add Gitlab.com? method
To be used as a feature flag for GitLab.com-only features, such as
welcome emails.

We will be careful to only use this to disable features or functionality
that do not make sense for any installations that aren't GitLab.com. We
will not use this to restrict features from other installations or keep
them "exclusive" to GitLab.com.
2016-04-12 17:30:11 -04:00