gitlab-org--gitlab-foss/app/models
Yorick Peterse 54aa0969d4 Fixed Repository#exists? to handle errors
Now that Repository#raw_repository no longer sets the autocrlf option it
will also no longer raise any NoRepository errors since it doesn't
access Rugged any more. This also means that Repository#exists? can't
simply return the raw repository as this is no indication of whether or
not the repository actually exists (besides returning a non boolean is
weird in the first place).

To solve this problem Repository#exists? now properly checks if the
repository exists and returns true/false instead of a
Gitlab::Git::Repository or nil object.
2016-02-18 12:19:49 +01:00
..
ci Use begin/end instead of defined? 2016-02-02 14:35:09 +01:00
concerns Add ability to see and sort on vote count from Issues and MR lists 2016-02-17 11:32:02 -02:00
hooks Raise hook url limit 2016-01-15 00:35:12 +03:00
members Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets 2016-01-21 14:23:53 +01:00
network
project_services Use project.web_url instead deprecated repository.homepage in PushoverService 2016-02-16 13:03:00 +01:00
.gitkeep
ability.rb Use delete instead of assignment operator when filtering build abilities 2016-02-04 16:32:41 +01:00
abuse_report.rb Use a more sensible message for the AbuseReport uniqueness validation 2016-01-16 16:50:43 -05:00
application_setting.rb Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
audit_event.rb Re-annotate models 2015-08-03 01:52:54 +09:00
broadcast_message.rb Change ttl to 1 minute 2016-01-29 13:39:33 -05:00
commit.rb Increase the minimum length for commit SHA matching to 7 2016-01-29 19:52:29 -05:00
commit_range.rb Increase the minimum length for commit SHA matching to 7 2016-01-29 19:52:29 -05:00
commit_status.rb Merge branch 'ci/api-builds' into 'master' 2016-01-14 16:29:15 +00:00
deploy_key.rb Re-annotate models 2015-05-03 13:38:27 -07:00
deploy_keys_project.rb
diff_line.rb
email.rb Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
event.rb Various filter fixes 2016-02-04 13:03:41 -05:00
external_issue.rb Update ExternalIssue regex for JIRA integration 2016-01-26 15:55:40 -05:00
forked_project_link.rb
generic_commit_status.rb Annotate models 2016-01-06 13:09:55 +00:00
global_label.rb Refactor global and group milestones logic 2015-11-16 14:07:38 +01:00
global_milestone.rb Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
group.rb Make sorting preference reusable for all projects. 2016-01-22 17:00:35 -05:00
identity.rb Codestyle changes 2016-01-12 12:29:10 -02:00
issue.rb Backport some changes from EE 2016-01-22 11:24:44 +02:00
jira_issue.rb Backport JIRA service 2015-12-18 14:19:48 -06:00
key.rb Only publish ssh key-type and key 2015-08-04 14:33:18 +02:00
label.rb Add custom ColorValidator 2015-12-07 16:57:26 -05:00
label_link.rb
lfs_object.rb Update annotations 2015-12-08 21:00:01 -08:00
lfs_objects_project.rb Update annotations 2015-12-08 21:00:01 -08:00
member.rb Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
merge_request.rb Reopened MRs should also be considered as open. 2016-02-17 21:15:13 -05:00
merge_request_diff.rb Correctly determine MR diff base when MR has merge conflicts 2016-01-27 17:23:59 +01:00
milestone.rb Validate uniqueness of milestone title per project 2016-02-08 12:45:32 +01:00
namespace.rb Annotate models 2016-01-06 13:09:55 +00:00
note.rb Make sure non-highlighted diffs are still escaped 2016-01-22 01:47:17 +01:00
notification.rb Added Global to the drop downs and updated the label of the button to show the current level instead of Notifications 2015-09-16 19:46:24 -05:00
personal_snippet.rb
project.rb Redirect /import to project page if no importing at all and repo exists 2016-02-17 15:05:44 +01:00
project_import_data.rb Re-annotate models 2015-05-03 13:38:27 -07:00
project_snippet.rb
project_team.rb Improve ProjectTeam#max_member_access performance 2015-10-15 12:05:01 +02:00
project_wiki.rb Cleaned up Repository#initialize 2016-02-16 12:13:13 +01:00
protected_branch.rb Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
release.rb Annotate models 2015-11-13 19:22:46 +01:00
repository.rb Fixed Repository#exists? to handle errors 2016-02-18 12:19:49 +01:00
security_event.rb Re-annotate models 2015-08-03 01:52:54 +09:00
sent_notification.rb #can_unsubscribe? -> #?unsubscribable? 2016-01-11 14:23:45 +01:00
service.rb Greatly improve external_issue_tracker performance 2016-01-19 14:03:20 +01:00
snippet.rb Autolink first so we don't pick up numeric anchors as issue references. 2015-12-01 15:53:32 +01:00
spam_log.rb Refactor Admin::SpamLogsController to block user before destroying 2016-02-02 11:25:44 -02:00
spam_report.rb Support Akismet spam checking for creation of issues via API 2016-02-02 11:25:44 -02:00
subscription.rb
tree.rb Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into lazy-blobs 2016-02-01 13:51:05 +01:00
user.rb Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
users_star_project.rb Touch project when toggling stars to update cache 2015-12-03 16:08:08 -02:00
wiki_page.rb Fix old version warning when viewing wiki latest version via version_id 2016-01-29 14:17:00 -02:00