gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
db/production Handle case where GITLAB_PROMETHEUS_METRICS_ENABLED is non boolean value by defaulting to false 2017-06-06 13:16:55 +02:00
factories Send new configuration options with job's payload 2017-06-12 12:58:35 +02:00
features Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
finders Fix intermittent spec failures in spec/finders/pipelines_finder_spec.rb 2017-06-15 22:14:00 -07:00
fixtures Merge branch 'expand-backlog-closed-lists-issue-boards' into 'master' 2017-06-07 15:05:37 +00:00
helpers Merge branch '23998-blame-age-map' into 'master' 2017-06-15 13:21:00 +00:00
initializers Instrument MergeRequestDiff#load_commits 2017-06-14 12:01:38 +01:00
javascripts Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
lib Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
mailers Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
migrations Deserialise existing custom notification settings 2017-06-15 15:15:13 +01:00
models Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
policies Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
presenters Display issue state in issue links section of merge request widget 2017-06-09 10:21:56 +02:00
requests Improve method names and add more specs 2017-06-16 12:03:15 -03:00
routing Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
rubocop/cop Require rubocop-rspec in the correct location 2017-06-14 17:08:34 -05:00
serializers Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
services Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
sidekiq/cron
support Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
tasks Stop using deprecated `path` field on Gitaly messages 2017-06-14 19:33:43 -04:00
unicorn Increase unicorn test boot timeout to 5 minutes 2017-06-08 18:35:55 +02:00
uploaders Fix filename method of GitlabUploader to return always real filename 2017-06-13 00:37:12 +02:00
validators
views Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
workers Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
factories_spec.rb Lint our factories creation in addition to their build 2017-06-02 19:06:50 +02:00
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Make spec/spec_helper consistent with EE by including a :routing type 2017-06-14 22:31:15 -07:00