Commit Graph

56 Commits

Author SHA1 Message Date
GitLab Bot 4bb797f255 Add latest changes from gitlab-org/gitlab@master 2023-10-24 18:11:45 +00:00
GitLab Bot 849e6f56ae Add latest changes from gitlab-org/gitlab@master 2023-03-20 15:08:26 +00:00
GitLab Bot cc6b6a7b78 Add latest changes from gitlab-org/gitlab@master 2023-03-09 18:08:59 +00:00
GitLab Bot fbf183eebe Add latest changes from gitlab-org/gitlab@master 2023-01-10 12:09:05 +00:00
GitLab Bot 962711501f Add latest changes from gitlab-org/gitlab@master 2022-07-14 03:08:51 +00:00
GitLab Bot fdb953945d Add latest changes from gitlab-org/gitlab@master 2021-03-05 12:08:55 +00:00
GitLab Bot 081c20deca Add latest changes from gitlab-org/gitlab@master 2020-12-21 09:10:07 +00:00
GitLab Bot fde3e0435c Add latest changes from gitlab-org/gitlab@master 2020-12-14 15:09:40 +00:00
GitLab Bot 038366a093 Add latest changes from gitlab-org/gitlab@master 2020-10-30 15:08:59 +00:00
GitLab Bot 2f5c5b1081 Add latest changes from gitlab-org/gitlab@master 2020-10-08 12:08:31 +00:00
GitLab Bot ea335f33ff Add latest changes from gitlab-org/gitlab@master 2020-05-26 21:07:45 +00:00
GitLab Bot f8d15ca653 Add latest changes from gitlab-org/gitlab@master 2020-02-27 15:09:24 +00:00
GitLab Bot dee9315801 Add latest changes from gitlab-org/gitlab@master 2019-10-29 15:07:20 +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
Bob Van Landuyt a5efbfc8cb Apply suggestion to app/helpers/visibility_level_helper.rb 2019-06-06 07:35:24 +00: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
Martin Wortschack 2e75605272 Externalize strings in helpers
- Update qa selector
- Update PO file
2019-04-04 17:05:25 +00:00
Dennis Tang 75496059a1 Further design iteration on project overview
Continues the iteration on the project overview UI:

- moved star, fork and new clone button
(copy SSH/HTTPS URLs) to top right,
  made them smaller
- avatar is now larger (64px)
- 'Request access' is now a link instead
  of a button
- overview comes before the description +
  changed styling and added icons
- description font-size is now 16px (large-paragraph)
- quick links to files are moved downwards
  below the commit/pipeline info
- margins changed to group content into
  4 groups to clean up the interface
- visibility info reduced to icon-only and
  moved to the right of the title
2018-12-07 14:11:42 +00:00
gfyoung 1993a4449a Enable frozen string for app/helpers/**/*.rb
Partially addresses #47424.
2018-09-06 17:33:46 -07:00
Dennis Tang ec4ad656f0 Resolve "Improve project overview UI" 2018-09-06 07:27:39 +00:00
Jamie Schembri f97e532eaa Fix #47379 - Project visibility tooltip 2018-07-23 09:39:03 +00:00
Mario de la Ossa eaada9d706 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
Jacopo 181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Mike Greiling cf37f0b173 fix variable naming conflict 2017-08-30 19:33:24 -05:00
Rubén Dávila 68de5dcba2 Fix error reported by Flay 2017-08-30 18:38:06 -05:00
Mike Greiling 129823664b enhance disabled group visibility options with links and instructions 2017-08-30 16:01:57 -05:00
Mike Greiling 6dd69950ed add links and instructions to disabled visibility option help text 2017-08-30 15:08:30 -05:00
Mike Greiling b1a14f5fc9 add notes to the disabled visibility setting string helper to ensure changes are reflected in the model as well 2017-08-30 14:40:09 -05:00
Mike Greiling 6cad21efbe revert changes to visibility level helpers from 6f03ddc 2017-08-30 14:37:08 -05:00
Rubén Dávila 6f03ddcdc3 Address some suggestions from first code review 2017-08-29 00:53:35 -05:00
Mike Greiling fc95395c5d display specific reasons when visibility options are disabled 2017-08-26 03:31:14 -05:00
Mike Greiling 852f509771 rename skip_level? to disallowed_visibitility_level? 2017-08-26 03:30:01 -05:00
Mike Greiling 37edce19dd recognize instances where group visibility levels are unavailable 2017-08-26 03:30:01 -05:00
Bob Van Landuyt bdebe849b8 Translate project & repository pages 2017-06-07 20:13:44 +00:00
Mike Greiling e245d7eebe Resolve "When changing project visibility setting, change other dropdowns automatically" 2017-06-06 08:28:39 +00:00
blackst0ne 11aff97d88 Remove the User#is_admin? method 2017-04-09 13:20:57 +11:00
Douwe Maan 75f5fa997d Enable Rails/Delegate 2017-02-23 09:32:42 -06:00
Sean McGivern f799585c41 Keep snippet visibility on error
When a snippet is submitted, but there's an error, we didn't keep the
visibility level. As the default is private, this means that submitting
a public snippet that failed would then fall back to being a private
snippet.
2017-02-02 10:23:50 +00:00
Douwe Maan 31266c5be4 Address feedback 2016-03-22 00:09:20 +01:00
Douwe Maan 8db1292139 Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
Zeger-Jan van de Weg b959ae553b Improve group visibility level feature 2016-03-18 16:58:04 -03:00
Felipe Artur c3e70280df Prevent projects to have higher visibility than groups
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
Felipe Artur f2a9ee258e Add permission level to groups 2016-03-10 10:38:36 -03:00
Tomasz Maczukin 3cfd892f38 Merge branch 'master' into fix/visibility-level-setting-in-forked-projects
* master: (723 commits)
  Bump Rack Attack to v4.3.1 for security fix
  Remove duplicate entry in the changelog
  Remove extra spaces after branchname
  Fix merge-request-reopen button title
  Add branch and tag operation to tree dropdown
  Use gitlab-shell 2.6.9
  Clarify Windows shell executor artifact upload support
  Fix feature specs: we always show the build status if ci_commit is present
  Do not display project group/name when issue and MR are in same project
  Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled
  Use gitlab-workhorse 0.5.1
  Fix ci_projects migration by using the value only from latest row [ci skip]
  Revert sidebar position for issue and merge request
  Add info on using private Docker registries in CI [ci skip]
  Upgrade Poltergeist to 1.8.1. #4131
  Fix ux issue with "This issue will be closed automatically" message
  Move MR Builds tab next to Commits
  Api support for requesting starred projects for user
  Fix Rubocop complain.
  Fix merge widget JS for buttons
  ...

Conflicts:
	app/models/project.rb
2015-12-21 13:27:34 +01:00
Zeger-Jan van de Weg 56f25c3e61 Improve text indication visibility on snippets 2015-12-08 14:31:24 -08:00
Douwe Maan d65647e90c Add visibility description tooltip to snippet and project visibility labels 2015-12-02 14:08:59 +01:00
Tomasz Maczukin d2846293d0 Move visibility_level check for forked projects to Project model 2015-11-03 16:37:39 +01:00
Valery Sizov 111ebe5471 Fork visibility level fix 2015-07-06 17:40:33 +03:00
Robert Schilling 5f3eef6e56 Add period at snippet visibilty description 2015-05-03 15:00:46 +02: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