Commit Graph

83 Commits

Author SHA1 Message Date
GitLab Bot f20820d7fa Add latest changes from gitlab-org/gitlab@master 2023-10-11 12:09:43 +00:00
GitLab Bot 09acddd7fd Add latest changes from gitlab-org/gitlab@master 2023-07-12 06:10:10 +00:00
GitLab Bot e6d048d769 Add latest changes from gitlab-org/gitlab@master 2023-05-23 12:10:24 +00:00
GitLab Bot 45a8c43afe Add latest changes from gitlab-org/gitlab@master 2023-05-15 09:08:57 +00:00
GitLab Bot 0cd52ae4af Add latest changes from gitlab-org/gitlab@master 2022-10-13 00:08:53 +00:00
GitLab Bot 283318c205 Add latest changes from gitlab-org/gitlab@master 2022-08-09 15:11:31 +00:00
GitLab Bot 7eca3f5662 Add latest changes from gitlab-org/gitlab@master 2022-05-13 15:07:43 +00:00
GitLab Bot 5316a9bca9 Add latest changes from gitlab-org/gitlab@master 2022-03-23 03:07:30 +00:00
GitLab Bot f50cb4f63f Add latest changes from gitlab-org/gitlab@master 2021-10-27 15:13:41 +00:00
GitLab Bot b4e7d9d839 Add latest changes from gitlab-org/gitlab@master 2021-06-24 12:08:07 +00:00
GitLab Bot 25db9c1230 Add latest changes from gitlab-org/gitlab@master 2021-05-06 12:10:38 +00:00
GitLab Bot b0348fa272 Add latest changes from gitlab-org/gitlab@master 2020-11-20 03:09:15 +00:00
GitLab Bot 005a5fa8a9 Add latest changes from gitlab-org/gitlab@master 2020-10-21 03:08:45 +00:00
GitLab Bot 2ac4833015 Add latest changes from gitlab-org/gitlab@master 2020-10-08 18:08:32 +00:00
GitLab Bot 96c78a921f Add latest changes from gitlab-org/gitlab@master 2020-09-18 18:10:26 +00:00
GitLab Bot a83a97f604 Add latest changes from gitlab-org/gitlab@master 2020-05-28 12:08:10 +00:00
GitLab Bot e33f87ac0f Add latest changes from gitlab-org/gitlab@master 2020-04-21 15:21:10 +00:00
GitLab Bot 77237c5a6b Add latest changes from gitlab-org/gitlab@master 2020-03-05 00:07:49 +00: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
Heinrich Lee Yu 2f76ff19f8 Fix MilestonesFinder to pass relations to scope
Instead of querying relations into ids we just pass them to the model
scope because the scope supports it now.

Also changes other calls to `Milestone.for_projects_and_groups`
2019-01-12 00:05:36 +08:00
Cindy Pallares 17f837267d
Merge branch 'security-issue_51301' into 'master'
[master] Resolve: Promoting a milestone is missing an authorization check

See merge request gitlab/gitlabhq!2598
2018-11-28 19:08:42 -05:00
gfyoung 12ee2753c1 Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:

* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb

Partially addresses #47424.
2018-09-25 22:43:49 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Filipa Lacerda a0930b83ec Escapes milestone and label names when promoting them 2018-07-17 10:21:12 +01:00
Filipa Lacerda fc9f90045d
Escapes milestone title shown in flash message when promoting a milestone 2018-07-13 15:00:14 +01:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Constance Okoghenun 0eba5e48ac Added underline to promoted milestone flash message 2018-06-21 13:09:57 +01:00
Jasper Maes 3778a136e1 Rails5 fix passing Group objects array into for_projects_and_groups milestone scope 2018-06-14 19:35:50 +02:00
Jarka Kadlecová 6426b50724 Include all ancestors milestones in json list & autocomplete 2018-06-04 18:25:30 +02:00
blackst0ne 3d3b46f344 [Rails5] Rename `sort` methods to `sort_by_attribute` 2018-04-04 09:19:47 +00:00
Jose Ivan Vargas 2a9a15266d Fix middle alignment for the title 2018-03-28 14:18:09 -05:00
Jose Ivan Vargas 1f02673867 Fix promoting labels and milestones copy text 2018-03-28 14:18:09 -05:00
Takuya Noguchi a48ac40710 Drop JSON response in Project Milestone along with avoiding error 2018-03-25 22:58:55 +09:00
Jose Ivan Vargas a16547e5c2 used respond_to formats for persisting flash messages instead 2018-03-06 16:32:26 -06:00
Jose Ivan Vargas f42397d19a Add persistent flash messages 2018-03-01 16:10:04 -06:00
Jose Ivan Vargas d5c0018649 Added vue based promotion modals for labels and milestones 2018-03-01 16:10:03 -06:00
Winnie Hellmann b8506500f9 Add modal for deleting a milestone 2018-01-25 11:07:32 +01:00
Robert Speicher 8f4b061375 Merge branch 'milestones-finder-order-fix' into 'security-10-3'
Remove order param from the MilestoneFinder

See merge request gitlab/gitlabhq!2259

(cherry picked from commit 14408042e78f2ebc2644f956621b461dbfa3d36d)

155881e7 Remove order param from the MilestoneFinder
2018-01-16 17:04:38 -08:00
Felipe Artur 2f8577d45e Allow promoting project milestones to group milestones 2017-10-31 15:03:52 +00:00
Felipe Artur b5f596c3ff Native group milestones 2017-07-07 15:08:49 +00:00
Takuya Noguchi f5d960097f Avoid to repeat namespace querying on project milestone 2017-07-07 18:31:56 +09:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Nick Thomas 8e5bf9d8dc Use the new check_project_feature_available! method in project controllers 2017-06-21 10:56:45 +01:00
Felipe Artur ff7fe2d12d Remove Drag and drop and sorting from milestone view 2017-06-16 11:59:39 -03:00
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Phil Hughes 8efa88a306 Fixed feature spec not waiting for ajax request to finish
Fixed 404 in project milestones when not logged in
2017-04-26 12:23:29 +01:00
Phil Hughes 52d59a4e51 Load milestone tabs asynchronously 2017-04-26 12:23:29 +01:00
Stan Hu 68bb2a5338 Optimize project namespace lookup for milestones and add specs 2017-04-24 09:33:12 -07:00
Stan Hu 38a108cac9 Fix a few N+1 queries identified by Bullet
See !10263
2017-04-02 05:42:11 -07:00
George Andrinopoulos e118d48df9 Add dropdown sort to project milestones 2017-03-24 00:39:12 +00:00