Commit graph

22 commits

Author SHA1 Message Date
GitLab Bot
6092dcc437 Add latest changes from gitlab-org/gitlab@master 2020-10-02 12:09:03 +00:00
GitLab Bot
a83a97f604 Add latest changes from gitlab-org/gitlab@master 2020-05-28 12:08:10 +00:00
GitLab Bot
80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Heinrich Lee Yu
0f0bf2a2cb Exclude public group milestones from counts
Only count milestones in groups that the user is a member of
2019-02-14 14:49:18 +08: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
Eagllus
3b70cf6918 Update MR based on Sean's feedback 2018-10-26 13:43:28 +02:00
Eagllus
074fafe9e0 Update code according comment recommendations 2018-10-16 15:13:03 +02:00
Ronald van Zon
3cd511733b Fixing count on Milestones
By adding groups to milestones we can now include them
in the count of Open and Closed.
2018-10-04 08:54:23 +02: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
Chantal Rollison
e580c2261d Filter group milestones based on user membership 2018-09-13 08:08:53 -07:00
Chantal Rollison
90aae02bd7 Add group milestones to dashboard milestone page 2018-08-03 19:52:37 +00:00
Phil Hughes
c0c82368da Fixed dashboard milestone tabs not loading
Closes #33477
2017-06-09 09:57:42 +01:00
Alex Braha Stoll
50a8f16e16 Add count badges to both dashboard and group milestones 2017-03-10 13:04:19 +01:00
Adam Niedzielski
cf3be218e1 Speed up dashboard milestone index by scoping IssuesFinder to user authorized projects
It improves performance in dashboard milestone index page by passing a
hint to "IssuesFinder". "IssuesFinder" generates a more performant query
when it is limited to authorized projects for user.
In the dashboard we already limit the projects to these authorized for
user (see "Dashboard::ApplicationController#projects"), so we can safely
pass this option to "IssuesFinder".
2017-01-16 11:58:16 -05:00
Adam Niedzielski
f13c650c16 Speed up group milestone index by passing group_id to IssuesFinder 2017-01-06 13:47:18 +01:00
Rémy Coutable
e989d12b07 Use respond_to instead of a conditional to paginate milestones 2016-03-23 12:02:15 +01:00
Rémy Coutable
7dc16346bb Fix an issue causing the Dashboard/Milestones page to be blank 2016-03-23 12:02:15 +01:00
Dmitriy Zaporozhets
986695e136 Refactor global and group milestones logic
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 14:07:38 +01:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Jeroen van Baarsen
5a4ebfb47a Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Dmitriy Zaporozhets
f0cbbd70bb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
Douwe Maan
fbc3cb69c3 Add dashboard milestones. 2015-03-03 16:19:37 +01:00