gitlab-org--gitlab-foss/spec/models
Douwe Maan ae1da08f25 Merge branch 'safe-ref-updates' into 'master'
Safer ref updates

Use `git update-ref` to prevent clobbering concurrent ref updates. If
rugged/libgit2 is temporarily confused, due to concurrent `git gc` for
example, then it used to be possible to accidentally reset a ref to an
earlier state and lose commits. Because `git update-ref` does not get
confused by `git gc`, what will happen now is that the commit based on
confused information fails, preventing data loss.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/20353

See merge request !6130
2016-09-05 10:48:06 +00:00
..
ci Update specs - add mocks to simulate old versions 2016-09-01 14:00:46 +02:00
concerns Merge branch 'issue_19734' into 'master' 2016-09-01 15:28:14 +00:00
hooks Clean up project destruction 2016-08-10 09:28:21 -07:00
members remove Ability.abilities 2016-08-30 11:35:06 -07:00
network Fix Error 500 resulting when loading network graph 2016-08-20 09:57:20 -07:00
project_services Make rubocop happy 2016-08-15 23:33:53 +02:00
ability_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
abuse_report_spec.rb
appearance_spec.rb
application_setting_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
award_emoji_spec.rb
blob_spec.rb Limit the size of SVGs when viewing them as blobs 2016-08-15 13:42:52 +02:00
board_spec.rb The lists: Backlog, and Done cannot be destroyed 2016-08-17 12:58:57 -03:00
broadcast_message_spec.rb Now we already included it in spec_helper.rb 2016-08-20 00:11:03 +08:00
build_spec.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-17 13:40:18 +08:00
commit_range_spec.rb Use JavaScript tooltips for mentions (!5301) 2016-09-01 01:21:34 +02:00
commit_spec.rb Expand commit message width in repo view 2016-08-02 11:40:44 -05:00
commit_status_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
compare_spec.rb switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
diff_note_spec.rb Store discussion_id on Note for faster discussion lookup. 2016-08-17 12:16:46 -05:00
discussion_spec.rb Add specs for Discussion and MergeRequest models 2016-08-12 15:49:36 -05:00
email_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
environment_spec.rb Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
event_spec.rb Update test with new factory name 2016-07-07 15:57:38 -04:00
external_issue_spec.rb
forked_project_link_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
generic_commit_status_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
global_milestone_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
group_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
identity_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
issue_spec.rb Method for returning issues readable by a user 2016-07-29 12:51:18 +02:00
key_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
label_link_spec.rb
label_spec.rb Destroy related lists when a label is removed 2016-08-17 12:58:58 -03:00
legacy_diff_note_spec.rb Store discussion_id on Note for faster discussion lookup. 2016-08-17 12:16:46 -05:00
list_spec.rb Add a movable scope and a movable? method to List model 2016-08-17 12:58:59 -03:00
member_spec.rb Merge branch 'master' into expiration-date-on-memberships 2016-08-18 15:54:07 +01:00
merge_request_diff_spec.rb Add code improvements to merge request version feature 2016-08-25 10:59:30 +03:00
merge_request_spec.rb Merge branch 'artifacts-from-ref-and-build-name' into 'master' 2016-08-30 18:03:16 +00:00
milestone_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
namespace_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
note_spec.rb remove Ability.abilities 2016-08-30 11:35:06 -07:00
notification_setting_spec.rb Exclude projects pending delete from notifications 2016-07-07 20:49:17 +01:00
personal_access_token_spec.rb
project_feature_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
project_group_link_spec.rb
project_snippet_spec.rb
project_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
project_team_spec.rb Only use RequestStore in ProjectTeam#max_member_access_for_user if it is active 2016-08-01 13:11:45 -07:00
project_wiki_spec.rb
protected_branch_spec.rb Support wildcard matches for protected branches at the model level. 2016-07-05 10:50:34 +05:30
release_spec.rb
repository_spec.rb Use 'git update-ref' for safer web commits 2016-09-02 11:49:40 +02:00
service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
snippet_spec.rb Fix visibility of private project snippets for members when searching 2016-06-22 20:09:19 -03:00
spam_log_spec.rb
todo_spec.rb
tree_spec.rb
user_agent_detail_spec.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
user_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
wiki_page_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00