Commit Graph

201 Commits

Author SHA1 Message Date
Kamil Trzciński 89fdf64c8a Revert "Merge branch '13784-validate-variables-for-masking' into 'master'"
This reverts merge request !25476
2019-03-27 21:42:23 +00:00
Miranda Fluharty fc8f4b62f8 Scaffold UI elements for minimal version
Add a masked switch to variable rows
Copy some behavior from the protected switch
2019-03-27 19:13:55 +00:00
Martin Wortschack 5660690787 Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
2019-03-27 16:52:52 +00:00
Gosia Ksionek 66d3354f36 Add additional link to 2fa page 2019-03-20 08:17:11 +00:00
Heinrich Lee Yu 7d5ee4181a Refactor groups and projects boards actions
Move common functionality to BoardsActions concern
2019-03-13 20:33:35 +08:00
Mayra Cabrera 7e9348f359 Enable/disable Auto DevOps at Group level
- Includes instance methods on Group model to detect when a group has
AutoDevOps explicitly/implicitly enabled/disabled.
- Includes migration to add a new column to namespaces table
- Add UI necessary modifications
- Add service and controller to update auto devops
related instances
- Updates project and groups auto devops badges

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
2019-03-12 10:15:33 +00:00
Rubén Dávila 24226b9fe2 Update last_activity_on for Users on some main GET endpoints
In order to have an accurate date about the last activity of a User
we need to update the last_activity_on field when the User is visiting
some basic pages of GitLab like pages related to Dashboards, Projects,
Issues and Merge Requests
2019-02-05 09:55:31 -05:00
Jacopo 22eb2e4c22 Adds milestone search
Adds to search ILIKE search for milestones title in:
  - Milestones dashboard
  - Group milestones page
  - Project milestones page
2019-01-24 18:44:09 +01:00
Jasper Maes 30e2a8f08c Fix several ActionController::Parameters deprecations 2019-01-11 21:19:01 +01:00
Mike Greiling a4833f6fe0 Merge branch 'ccr/49289_milestone_link' into 'master'
Add project milestone link

Closes #49289

See merge request gitlab-org/gitlab-ce!22552
2019-01-02 21:17:16 +00:00
Fatih Acet e9ef02096b
Add project milestone link to dashboard milestones
One of the steps to deprecate dashboard milestones.
Links do dashboard milestone are replaced with links for each
project milestone
2018-12-20 13:33:09 +01:00
Matija Čupić 178270a0f3
Check for group admin permissions 2018-12-20 12:21:49 +01:00
Thong Kuah ebf87fd9c2 Unify into :group_clusters feature flag
With this MR, group clusters is now functional, so default to enabled.

Have a single setting on the root ancestor group to enabled or disable
group clusters feature as a whole
2018-12-05 10:16:44 +13:00
Mayra Cabrera 675bfd50a9 Adds feature flag for Group Clusters
As the frontend is still in progress and other related backend is still
in prgress we need a feature flag to turn off Group Clusters.
2018-11-08 23:26:04 +13:00
Thong Kuah 54e8ff0f21 Extend clusters_controller for group type clusters
- Add pages javascripts to intialize clusters for group pages

- Move specs asserting gcp specific validations from controller into
UpdateService spec

- Also teach Clusters::ApplicationController about groups
2018-11-08 23:14:06 +13:00
Marcel Amirault 14fc739c94 Renaming Secret Variables in the codebase 2018-10-30 08:49:26 +00:00
Sean McGivern fcd2f35b50 Merge branch 'rz_fix_milestone_count' into 'master'
Fixing count on Milestones

Closes #50848

See merge request gitlab-org/gitlab-ce!21446
2018-10-29 10:23:46 +00:00
Brett Walker 7aeab58f48 Automatically navigate to last board visited 2018-10-26 12:49:16 +00:00
Eagllus 074fafe9e0 Update code according comment recommendations 2018-10-16 15:13:03 +02:00
Dmitriy Zaporozhets 7876a7397d Merge branch 'dz-labels-subscribe-filter' into 'master'
Add subscribe filter to labels page

See merge request gitlab-org/gitlab-ce!21965
2018-10-04 13:41:48 +00:00
Dmitriy Zaporozhets 600a10b9d1 Add subscribe filter to labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-10-04 10:24:50 +02:00
Tomasz Maczukin 42af229510
Simplify runner registration token resetting
This icommit adds several changes related to the same topic
- resetting a Runner registration token:

1. On Project settings page it adds a button for resetting the
   registration token and it removes the Runner token field
   that was confusing all GitLab users.

2. On Group settings page it adds the same button for resetting
   the registration token.

3. On Admin Runners settings page it moves the button to the same
   place as in Project and Group settings and it changes slightly
   the page layout to make it more similar to Group and Project
   setting pages.

4. It refactorizes a little the partial that prints runner
   registration description. Thanks to this Project, Group
   and Admin settings of the Runner are re-using the same
   code to generate the button.

5. Updates the translations of changed text.
2018-10-04 08:37:01 +02:00
Stan Hu cc8424d4e8 Merge branch 'frozen-string-app-controller-more' into 'master'
Enable more frozen string in app/controllers/

See merge request gitlab-org/gitlab-ce!21873
2018-09-25 17:21:14 +00:00
gfyoung be42c05054 Enable more frozen string in app/controllers/
Enables frozen string for the following:

* app/controllers/dashboard/**/*.rb
* app/controllers/explore/**/*.rb
* app/controllers/google_api/**/*.rb
* app/controllers/groups/**/*.rb
* app/controllers/import/**/*.rb
* app/controllers/instance_statistics/**/*.rb
* app/controllers/ldap/**/*.rb
* app/controllers/oauth/**/*.rb
* app/controllers/profiles/**/*.rb

Partially addresses #47424.
2018-09-23 12:48:02 -07:00
Dmitriy Zaporozhets 9176ea999a
Move group labels AR code into finder
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-21 16:34:18 +03:00
Dmitriy Zaporozhets 8d19f4b4a6
Add sort dropdown to project labels page and group labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-10 15:34:36 +03:00
Dmitriy Zaporozhets 534f8152c6
Use optionally_search for group labels index page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-07 17:16:26 +03:00
Dmitriy Zaporozhets eca3015d88
Fix group labels page timeout if many projects and labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-07 15:26:32 +03:00
Dmitriy Zaporozhets 400cc09f72
Add search to group labels page [ci skip]
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-03 19:00:28 +03:00
Winnie Hellmann 743add978a Move badge settings to general settings 2018-09-03 13:16:23 +00:00
Sean McGivern 722631a929 Merge branch 'issue_36138' into 'master'
Allow to delete group milestones

Closes #36138

See merge request gitlab-org/gitlab-ce!21057
2018-08-28 07:49:09 +00:00
Felipe Artur abb50ff471 Allow to delete group milestones 2018-08-06 17:31:47 -03:00
Bob Van Landuyt f1d3ea63cf Show the status of a user in interactions
The status is shown for
- The author of a commit when viewing a commit
- Notes on a commit (regular/diff)
- The user that triggered a pipeline when viewing a pipeline
- The author of a merge request when viewing a merge request
- The author of notes on a merge request (regular/diff)
- The author of an issue when viewing an issue
- The author of notes on an issue
- The author of a snippet when viewing a snippet
- The author of notes on a snippet
- A user's profile page
- The list of members of a group/user
2018-07-30 15:01:26 +02:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Jan Provaznik 656d4ebf67 Add workhorse authorize method for project/group uploads
This method can be used by workhorse to get presigned
URLs used for direct upload of files.
2018-06-18 09:11:02 +02:00
Luke Bennett 0af7333ef9
Merge remote-tracking branch 'origin/master' into 39549-label-list-page-redesign-with-draggable-labels 2018-06-06 08:50:13 +01:00
Rémy Coutable 4ccf4d3394 Merge branch '5941-extract-ee-controllers' into 'master'
Backport of "Extract EE specific files/lines for app/controllers/groups"

See merge request gitlab-org/gitlab-ce!19343
2018-06-06 05:57:55 +00:00
Luke Bennett 3f9cdb9c98
Merge remote-tracking branch 'origin/master' into 39549-label-list-page-redesign-with-draggable-labels 2018-06-05 11:55:32 +01:00
Mario de la Ossa fd97b86ed4
Backport changes to app/controllers/groups/milestones_controller.rb 2018-06-04 13:49:38 -06:00
Mario de la Ossa 4dbd28eea4
Backport changes to app/controllers/groups/group_members_controller.rb 2018-06-04 13:49:38 -06:00
Bob Van Landuyt 2f50b206f2 Hide archived projects from `shared_projects`
Since we don't show the archived projects, we shouldnot  load them and
pass them to the fronted to be filtered out again.
2018-06-04 17:43:13 +02:00
Toon Claes 1298fbe18d Fix small typos 2018-05-29 11:45:17 +02:00
Bob Van Landuyt 6072259230 Add `shared_projects` endpoint
This endpoint lists projects shared with a group visible to the
current user.

The `filter` and `sort` params are supported like on the `children` endpoint.
2018-05-29 11:45:17 +02:00
Luke Bennett a9583bc956
Merge remote-tracking branch 'origin/master' into 39549-label-list-page-redesign-with-draggable-labels 2018-05-28 12:27:06 +01:00
Luke Bennett c896ae7be8
BE review 2018-05-25 12:38:45 +01:00
Felipe Artur 97067682ec CE backport - Allow viewing only one board when multiple issue boards is not enabled 2018-05-22 15:04:20 -03:00
Luke Bennett 2fd334b86a
Fix group labels list 2018-05-17 16:14:17 +01:00
Francisco Javier López 14032b8a85
Fixed badge api endpoint route when relative_url is set 2018-05-17 11:45:59 +02:00
Dmitriy Zaporozhets 61e9a3dcc4
Add 2FA filter to group members page
* Show 2fa badge on a group members page
* Make group members page UI consistent with project members page
* Fix ambiguous sql in User.with/without_two_factor methods

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-10 13:02:56 +03:00
Kamil Trzciński 33b660be62 Support anchors for Groups::RunnersController 2018-05-07 15:53:55 +02:00