gitlab-org--gitlab-foss/spec/models
Sean McGivern 750b2ff0ee Make upcoming milestone work across projects
Before: we took the next milestone due across all projects in the
search and found issues whose milestone title matched that
one. Problems:

1. The milestone could be closed.
2. Different projects have milestones with different schedules.
3. Different projects have milestones with different titles.
4. Different projects can have milestones with different schedules, but
   the _same_ title. That means we could show issues from a past
   milestone, or one that's far in the future.

After: gather the ID of the next milestone on each project we're looking
at, and find issues with those milestone IDs. Problems:

1. For a lot of projects, this can return a lot of IDs.
2. The SQL query has to be different between Postgres and MySQL, because
   MySQL is much more lenient with HAVING: as well as the columns
   appearing in GROUP BY or in aggregate clauses, MySQL allows them to
   appear in the SELECT list (un-aggregated).
2016-05-16 10:25:24 +01:00
..
ci Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
concerns Add API endpoints for un/subscribing from/to a label 2016-05-12 22:48:09 +02:00
hooks Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
members Tag model specs 2015-12-09 10:50:51 +01:00
project_services Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
abuse_report_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
appearance_spec.rb Branded login page also in CE 2016-02-26 15:50:51 +01:00
application_setting_spec.rb stub Devise.omniauth_providers to return GitHub even if the gitlab.yml has no omniauth provider enabled 2016-05-12 13:44:46 +03:00
blob_spec.rb Add a Blob model that wraps Gitlab::Git::Blob 2016-02-18 22:45:30 -05:00
broadcast_message_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
build_spec.rb Remove code that removes duplicate CI variables 2016-04-18 13:17:48 +02:00
commit_range_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
commit_spec.rb Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
commit_status_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
deploy_key_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
deploy_keys_project_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
email_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
event_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
external_issue_spec.rb Hide number sign for string prefixed external issues 2016-04-12 10:01:52 +02:00
forked_project_link_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
generic_commit_status_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
global_milestone_spec.rb Fix Error 500 when global milestones have slashes 2015-12-22 13:15:32 -08:00
group_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
identity_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
issue_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
jira_issue_spec.rb Backport JIRA service 2015-12-18 14:19:48 -06:00
key_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
label_link_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
label_spec.rb Merge branch 'remove-annotate-gem' into 'master' 2016-05-10 09:08:30 +00:00
legacy_diff_note_spec.rb Clean up LegacyDiffNote somewhat 2016-05-13 17:31:58 -05:00
member_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
merge_request_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
milestone_spec.rb Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
namespace_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
note_spec.rb Update specs 2016-05-13 17:31:58 -05:00
notification_setting_spec.rb Add spec for user_id uniq in NotificationSetting model 2016-03-30 10:44:20 +02:00
project_group_link_spec.rb Bring ProjectGroupLink model and migrations from EE 2016-03-11 17:47:05 +01:00
project_security_spec.rb Fix some specs 2016-03-20 22:55:08 +01:00
project_snippet_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project_team_spec.rb Bring shared project feature tests from EE 2016-03-12 14:45:14 +01:00
project_wiki_spec.rb Revert "Merge branch 'wiki-fix' into 'master' " 2016-05-10 10:57:48 +02:00
protected_branch_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
release_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
repository_spec.rb Merge branch 'use-rugged-to-create-tag' into 'master' 2016-05-04 16:07:13 +00:00
service_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
snippet_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
spam_log_spec.rb Refactor Admin::SpamLogsController to block user before destroying 2016-02-02 11:25:44 -02:00
todo_spec.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
tree_spec.rb Prioritize previewable over plain README files 2016-01-25 11:27:07 -02:00
user_spec.rb Tidy up user project specs 2016-05-11 09:03:23 +01:00
wiki_page_spec.rb Fix old version warning when viewing wiki latest version via version_id 2016-01-29 14:17:00 -02:00