Commit Graph

23 Commits

Author SHA1 Message Date
GitLab Bot f8d15ca653 Add latest changes from gitlab-org/gitlab@master 2020-02-27 15:09:24 +00:00
GitLab Bot 784fae4b9d Add latest changes from gitlab-org/gitlab@master 2019-12-12 12:07:33 +00:00
GitLab Bot dea6ebd31a Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
Luke Bennett 9b40fc7416
Hide restricted and disallowed visibility radios
Show a message if many levels are restricted and a
different message if all levels are restricted.
2019-07-15 13:00:55 -03:00
Stan Hu f8d93b2482 Set project default visibility to max allowed
If the default, instance-wide visibility were set to internal but a
group were private, the radio button would be set on internal even
though that setting were not allowed. We now consider the allowed
visibility setting for the group in determining what the default should
be.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62298
2019-06-05 16:43:31 -07:00
Bob Van Landuyt f3fba178b9 Remove the `ForkedProjectLink` model
This removes the `ForkedProjectLink` model that has been replaced by
the `ForkNetworkMember` and `ForkNetwork` combination. All existing
relations have been adjusted to use these new models.

The `forked_project_link` table has been dropped.

The "Forks" count on the admin dashboard has been updated to count all
`ForkNetworkMember` rows and deduct the number of `ForkNetwork`
rows. This is because now the "root-project" of a fork network also
has a `ForkNetworkMember` row. This count could become inaccurate when
the root of a fork network is deleted.
2018-10-19 11:57:20 +02:00
Jamie Schembri f97e532eaa Fix #47379 - Project visibility tooltip 2018-07-23 09:39:03 +00:00
Mike Greiling 129823664b enhance disabled group visibility options with links and instructions 2017-08-30 16:01:57 -05:00
Mike Greiling 8a72203a58 update test to match new disabled option description 2017-08-30 15:51:03 -05:00
Mike Greiling 1c3b3facb7 add tests for new visibility_level_helper methods 2017-08-26 03:31:14 -05:00
Mike Greiling 96c2672da8 add tests for groups within visibility level helper 2017-08-26 03:30:01 -05:00
Mike Greiling 852f509771 rename skip_level? to disallowed_visibitility_level? 2017-08-26 03:30:01 -05:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Mike Greiling e245d7eebe Resolve "When changing project visibility setting, change other dropdowns automatically" 2017-06-06 08:28:39 +00:00
Robert Speicher 2fe13fbc4b Use `:empty_project` where possible in helper specs 2017-01-25 17:10:32 -05:00
Grzegorz Bizon 9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
Connor Shea 8867c5c4b7
Remove Haml helpers from the visibility level spec. 2016-06-22 16:10:26 -06:00
Zeger-Jan van de Weg b959ae553b Improve group visibility level feature 2016-03-18 16:58:04 -03:00
Felipe Artur f2a9ee258e Add permission level to groups 2016-03-10 10:38:36 -03:00
Robert Speicher b900304c38 Make better use of the `visibility_level` factory traits 2016-03-08 16:40:45 -05:00
Zeger-Jan van de Weg 56f25c3e61 Improve text indication visibility on snippets 2015-12-08 14:31:24 -08:00
Valery Sizov 111ebe5471 Fork visibility level fix 2015-07-06 17:40:33 +03:00
Vinnie Okada bd557e4b64 Add new admin settings
Add new global application settings for default project and snippet
visibility levels.
2015-04-26 07:48:19 -06:00