gitlab-org--gitlab-foss/spec/models
Andreas Brandl 14acbf2455 Double-check next value for internal ids.
This is useful for a transition period to migrate away from
`NoninternalAtomicId`. In a situation where both the old and new code to
generate a iid value is run at the same time (for example, during a
deploy different nodes may serve both versions), this will lead to
problems regarding the correct `last_value`. That is, what we track in
`InternalId` may get out of sync with the maximum iid present for
issues.

With this change, we double-check that and correct the `last_value` with
the maximum iid found in issues if necessary.

This is subject to be removed with the 10.8 release and tracked over
here: https://gitlab.com/gitlab-org/gitlab-ce/issues/45389

Closes #45269.
2018-04-16 13:59:20 +02:00
..
badges Projects and groups badges API 2018-03-05 17:51:40 +00:00
blob_viewer BlobViewer::PackageJson - if private link to homepage 2017-12-18 23:18:23 -06:00
ci Create metadata object on build object creation 2018-04-04 16:11:17 +02:00
clusters Extract cluster installed query to scope 2018-03-30 18:31:11 +02:00
concerns Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
conversational_development_index
cycle_analytics Adapt cycle analytics spec helper and cycle analytics usage data spec 2018-03-01 16:43:26 +00:00
diff_viewer Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
hooks Merge branch 'feature/merge-request-system-hook' into 'master' 2018-01-18 11:37:16 +00:00
issue
members Don't delete todos or unassign issues and MRs when a user leaves a project 2018-03-07 17:18:01 -06:00
merge_request Cache merged and closed events data in merge_request_metrics table 2018-01-02 17:45:25 -02:00
network
project_services Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'security-10-6' 2018-04-05 08:41:56 +02:00
protected_branch
ability_spec.rb Remove edit_note and update_note abilities in favor of admin_note 2018-04-10 15:46:20 +02:00
abuse_report_spec.rb
appearance_spec.rb Add custom brand text on new project pages 2017-12-04 17:22:59 +01:00
application_setting_spec.rb Refactor auto_devops_domain setting specs 2018-01-22 20:37:02 +01:00
award_emoji_spec.rb
badge_spec.rb Projects and groups badges API 2018-03-05 17:51:40 +00:00
blob_spec.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
board_spec.rb
broadcast_message_spec.rb Backport: Propagate broadcast messages to secondaries 2018-04-11 11:28:44 -07:00
chat_name_spec.rb Expose ChatName objects to slash commands 2018-02-23 14:37:53 +01:00
chat_team_spec.rb
commit_collection_spec.rb Optimise getting the pipeline status of commits 2017-11-16 16:01:14 +01:00
commit_range_spec.rb Only search for MR revert commits on notes after MR was merged 2018-01-12 13:19:05 +00:00
commit_spec.rb Fix an order dependency in a spec 2018-01-29 16:18:31 +00:00
commit_status_spec.rb Revert "Allow CI/CD Jobs being grouped on version strings" 2018-04-04 14:10:22 +02:00
compare_spec.rb Remove unused Compare#base_commit 2018-03-08 11:39:50 -03:00
container_repository_spec.rb
cycle_analytics_spec.rb Adapt cycle analytics spec helper and cycle analytics usage data spec 2018-03-01 16:43:26 +00:00
deploy_key_spec.rb Fall back on ghost user when deploy key user is not set 2018-03-28 18:54:15 +02:00
deploy_keys_project_spec.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
deploy_token_spec.rb Verify that deploy token has valid access when pulling container registry image 2018-04-10 07:31:30 +00:00
deployment_spec.rb Squashed commit of the following: 2018-02-24 00:15:12 +01:00
diff_discussion_spec.rb Fix links to old commits in merge requests 2017-12-29 14:44:39 +01:00
diff_note_spec.rb Improve performance of DiffDiscussion#truncated_diff_lines and DiffNote#diff_line by removing expensive diff position calculation and comparison 2017-12-22 18:07:15 +01:00
discussion_spec.rb
email_spec.rb remove extra whitespace 2017-10-27 17:35:40 +02:00
environment_spec.rb Fix environment deployment platform filter method 2018-04-06 12:10:30 +02:00
event_collection_spec.rb
event_spec.rb Singularize model name. 2018-03-06 12:53:14 +01:00
external_issue_spec.rb
fork_network_member_spec.rb Delete the fork network when removing the last membership 2017-11-17 12:58:15 +01:00
fork_network_spec.rb Unlink a project from a fork network when it's source was deleted. 2017-11-03 12:17:59 +01:00
forked_project_link_spec.rb
generic_commit_status_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
global_milestone_spec.rb Move total time spend calculation to milestoneish 2017-11-11 16:47:39 +02:00
gpg_key_spec.rb
gpg_key_subkey_spec.rb
gpg_signature_spec.rb
group_custom_attribute_spec.rb Support custom attributes on groups 2017-11-06 10:51:50 +01:00
group_label_spec.rb
group_milestone_spec.rb
group_spec.rb Change avatar error message to include allowed file formats 2018-03-22 19:01:43 +01:00
guest_spec.rb
identity_spec.rb Fixed user synced attributes metadata after removing current provider 2018-02-15 09:27:38 +00:00
instance_configuration_spec.rb Added ssh fingerprint, gitlab ci and pages information in an instance configuration page 2017-10-25 23:51:26 +03:00
internal_id_spec.rb Double-check next value for internal ids. 2018-04-16 13:59:20 +02:00
issue_collection_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
issue_spec.rb Add shared specs for AtomicInternalId concern. 2018-03-16 13:35:26 +01:00
key_spec.rb Validate SSH keys through the sshkey gem 2018-02-16 11:32:08 -05:00
label_link_spec.rb
label_priority_spec.rb
label_spec.rb
legacy_diff_discussion_spec.rb
lfs_file_lock_spec.rb Backport of LFS File Locking API 2018-02-07 09:04:00 -05:00
lfs_object_spec.rb remove the license check 2018-03-01 10:40:40 -05:00
lfs_objects_project_spec.rb
list_spec.rb
member_spec.rb Use the DatabaseCleaner 'deletion' strategy instead of 'truncation' 2018-01-24 17:25:55 +00:00
merge_request_diff_commit_spec.rb [Rails5] Update type_cast_*_database methods 2018-04-06 10:57:19 +00:00
merge_request_diff_file_spec.rb
merge_request_diff_spec.rb Display related merge requests in commit detail page 2018-01-12 20:38:36 +00:00
merge_request_spec.rb Fix N+1 in MergeRequest#merge_request_diff_for 2018-03-21 17:24:46 +00:00
milestone_spec.rb Changed validation error message on wrong milestone dates 2017-11-18 19:30:32 +01:00
namespace_spec.rb Merge branch 'mark-legacy-git-access' into 'master' 2018-03-23 10:20:45 +00:00
note_spec.rb Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'security-10-6' 2018-04-05 08:41:56 +02:00
notification_recipient_spec.rb Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
notification_setting_spec.rb
pages_domain_spec.rb Add HTTPS-only pages 2018-03-22 19:58:36 +01:00
personal_access_token_spec.rb Fix new personal access token showing up in a flash message 2017-12-07 16:22:37 -06:00
project_authorization_spec.rb
project_auto_devops_spec.rb DRY project-level predefined variables 2018-03-13 14:00:14 +01:00
project_custom_attribute_spec.rb Support custom attributes on projects 2017-11-06 10:51:46 +01:00
project_deploy_token_spec.rb Addresses database comments 2018-04-06 21:20:17 -05:00
project_feature_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
project_group_link_spec.rb Use the DatabaseCleaner 'deletion' strategy instead of 'truncation' 2018-01-24 17:25:55 +00:00
project_label_spec.rb
project_snippet_spec.rb
project_spec.rb Include ProjectDeployTokens 2018-04-06 21:20:16 -05:00
project_statistics_spec.rb Fix a bug calculating artifact size for project statistics 2018-01-18 17:48:09 +00:00
project_team_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
project_wiki_spec.rb Fix finding wiki file when Gitaly is enabled 2018-04-11 16:08:51 +02:00
protectable_dropdown_spec.rb
protected_branch_spec.rb
protected_tag_spec.rb
push_event_payload_spec.rb
push_event_spec.rb Last push widget will show banner for new pushes to previously merged branch 2018-01-15 16:45:56 -06:00
redirect_route_spec.rb
release_spec.rb
repository_spec.rb Remove some easy cases of 'path_to_repo' use 2018-03-28 09:21:32 +00:00
route_spec.rb Remove permanent redirects 2018-03-28 14:12:08 +02:00
sent_notification_spec.rb
service_spec.rb Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'security-10-6' 2018-04-05 08:41:56 +02:00
snippet_blob_spec.rb
snippet_spec.rb Use fuzzy search with minimum length of 3 characters where appropriate 2017-11-27 11:29:40 +01:00
spam_log_spec.rb
subscription_spec.rb
system_note_metadata_spec.rb
timelog_spec.rb
todo_spec.rb Set todos#author_id to NOT NULL. 2018-02-05 16:16:57 +01:00
tree_spec.rb
trending_project_spec.rb
upload_spec.rb Revert "Merge branch '3867-port-to-ce' into 'master'" 2018-02-28 21:09:34 +01:00
user_agent_detail_spec.rb
user_callout_spec.rb Change UserCallout feautre_name to enum 2018-02-03 00:18:25 +01:00
user_custom_attribute_spec.rb
user_interacted_project_spec.rb Operate on ids to avoid unnecessary loading. 2018-03-06 12:53:15 +01:00
user_spec.rb Allow group owner to enable runners from subgroups (#41981) 2018-04-09 10:46:42 +10:00
wiki_directory_spec.rb
wiki_page_spec.rb Removing gitaly flags 2018-02-07 16:33:12 +00:00