gitlab-org--gitlab-foss/spec/models
Sean McGivern 9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
..
blob_viewer Detect if file that appears to be text in the first 1024 bytes is actually binary afer loading all data 2017-06-08 12:49:03 -05:00
ci Merge branch 'fix-manual-actions' into 'master' 2017-06-15 09:36:02 +00:00
concerns Improve method names and add more specs 2017-06-16 12:03:15 -03:00
cycle_analytics Add transient head_pipeline_of to pipeline factories 2017-05-22 17:06:45 -03:00
diff_viewer Implement diff viewers 2017-06-14 10:12:21 -05:00
hooks Implement web hooks logging 2017-05-25 10:07:52 +03:00
issue
members Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
merge_request
network Sort the network graph both by commit date and topographically. 2017-05-04 04:21:12 +00:00
project_services Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
protected_branch Added model specs 2017-05-12 09:36:43 +01:00
ability_spec.rb spec the behavior of nil subjects 2017-03-09 11:49:53 -08:00
abuse_report_spec.rb Refactor the DeleteUserWorker 2017-06-05 13:08:06 +01:00
appearance_spec.rb
application_setting_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
award_emoji_spec.rb Move a user's award emoji to the ghost user 2017-04-06 18:59:17 +05:30
blob_spec.rb Add Blob#file_type convenience method 2017-06-08 10:07:17 -05:00
board_spec.rb
broadcast_message_spec.rb #13336 - display multiple messages in both the UI and git output 2017-06-15 13:47:33 +00:00
chat_name_spec.rb
chat_team_spec.rb
commit_range_spec.rb
commit_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
commit_status_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
compare_spec.rb
container_repository_spec.rb Sanitize container repository path in model class 2017-04-13 11:54:02 +02:00
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb Do not show manual actions that cannot be run 2017-06-13 15:45:45 +02:00
diff_discussion_spec.rb Add system note with link to diff comparison when MR discussion becomes outdated 2017-05-23 16:27:30 -05:00
diff_note_spec.rb Update diff discussion position per discussion instead of per note 2017-05-31 14:34:56 -05:00
discussion_spec.rb Address review comments 2017-04-05 17:44:14 +01:00
email_spec.rb
environment_spec.rb Do not show manual actions that cannot be run 2017-06-13 15:45:45 +02:00
event_spec.rb Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into mia_backort[ci skip] 2017-05-05 16:59:31 +03:00
external_issue_spec.rb
forked_project_link_spec.rb Just let the user to create the namespace 2017-06-06 23:39:22 +08:00
generic_commit_status_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
global_milestone_spec.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
group_label_spec.rb
group_milestone_spec.rb Improve method names and add more specs 2017-06-16 12:03:15 -03:00
group_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
guest_spec.rb
identity_spec.rb
issue_collection_spec.rb Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
issue_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
key_spec.rb Lint our factories creation in addition to their build 2017-06-02 19:06:50 +02:00
label_link_spec.rb
label_priority_spec.rb
label_spec.rb Add failing test for #32728 2017-05-25 19:08:37 +02:00
legacy_diff_discussion_spec.rb Allow commenting on older versions of the diff and comparisons between diff versions 2017-05-03 14:47:21 -05:00
lfs_objects_project_spec.rb
list_spec.rb Change Done column to Closed in issue boards 2017-03-24 23:40:35 +11:00
member_spec.rb Collect all users by single query when using Member#add_users 2017-04-28 11:50:11 +03:00
merge_request_diff_file_spec.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
merge_request_diff_spec.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
merge_request_spec.rb Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
milestone_spec.rb Remove old specs and add new ones 2017-06-16 12:02:20 -03:00
namespace_spec.rb Bring in security changes from the 9.2.5 release 2017-06-07 21:16:20 -07:00
note_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
notification_setting_spec.rb Deserialise existing custom notification settings 2017-06-15 15:15:13 +01:00
pages_domain_spec.rb Allow numeric pages domain 2017-06-06 12:39:37 +01:00
personal_access_token_spec.rb Create read_registry scope with JWT auth 2017-06-05 12:26:49 +02:00
project_authorization_spec.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
project_feature_spec.rb
project_group_link_spec.rb Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
project_label_spec.rb
project_snippet_spec.rb Enable the RSpec/EmptyExampleGroup cop 2017-05-18 18:25:50 +02:00
project_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
project_statistics_spec.rb Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
project_team_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
project_wiki_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
protectable_dropdown_spec.rb Protected Tags backend review changes 2017-04-06 10:56:21 +01:00
protected_branch_spec.rb Enable the RSpec/EmptyExampleGroup cop 2017-05-18 18:25:50 +02:00
protected_tag_spec.rb Protected Tags backend review changes 2017-04-06 10:56:21 +01:00
redirect_route_spec.rb Delete conflicting redirects 2017-05-05 12:11:58 -07:00
release_spec.rb
repository_spec.rb nil-check Repository::is_ancestor? 2017-06-08 00:47:10 +00:00
route_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
sent_notification_spec.rb Ensure replying to an individual note by email creates a note with its own discussion ID 2017-04-24 12:24:39 -05:00
service_spec.rb Merge branch '31138-improve-test-settings-for-services-in-empty-projects' into 'master' 2017-04-27 19:16:31 +00:00
snippet_blob_spec.rb Use blob viewers for snippets 2017-04-30 11:21:20 -05:00
snippet_spec.rb Merge branch 'snippets-finder-visibility' into 'security' 2017-05-10 16:48:18 +02:00
spam_log_spec.rb Use DeleteUserWorker for removing users via spam logs 2017-04-17 17:17:31 -07:00
subscription_spec.rb
system_note_metadata_spec.rb Create metadata when creating system notes 2017-03-28 15:16:41 +02:00
timelog_spec.rb
todo_spec.rb Improve text on todo list when the todo action comes from yourself 2017-04-28 14:24:32 +02:00
tree_spec.rb
trending_project_spec.rb
upload_spec.rb
user_agent_detail_spec.rb
user_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
wiki_directory_spec.rb
wiki_page_spec.rb