gitlab-org--gitlab-foss/lib
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
..
api Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
assets
backup fix typo 2017-06-07 17:00:32 +02:00
banzai Don't return nil for missing objects from parser cache 2017-06-14 13:01:15 -05:00
bitbucket Enable the Style/PreferredHashMethods cop 2017-06-02 19:11:26 +02:00
ci Refactor old formad handling in lib/ci/api/entities.rb 2017-06-12 12:58:36 +02:00
constraints
container_registry
generators/rails/post_deployment_migration
github Github - Fix token interpolation when cloning wiki repository 2017-06-12 16:37:18 -03:00
gitlab Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
json_web_token
mattermost
microsoft_teams
omni_auth
peek/rblineprof DRYed peek-pg/mysql2 views and update peek-rblineprof monkey-patch file 2017-06-09 17:21:39 +02:00
rouge remove the rouge copypasta and add notes to refactor 2017-06-07 17:49:03 -07:00
support Enable Gitaly by default in GitLab 9.3 2017-05-30 16:09:44 +02:00
system_check Refactor and move things around to improve in YAGNI perspective 2017-05-31 20:45:00 +02:00
tasks Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
additional_email_headers_interceptor.rb
banzai.rb
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Increase diff limits to 100 KB for collapse and 200 KB overall 2017-06-02 19:37:09 +01:00
file_size_validator.rb
file_streamer.rb
gitlab.rb Make the revision on the `/help` page clickable 2017-06-09 10:35:42 +02:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb Fixed and improved some existing checks and SystemCheck library 2017-05-31 14:33:03 +02:00
unfold_form.rb
uploaded_file.rb
version_check.rb