gitlab-org--gitlab-foss/app/models
Dmitriy Zaporozhets 73e0754070 Merge branch 'rs-block-user-before-removal' into 'master'
Block the reported user before destroying the record

This is intended to prevent the user from creating new objects while the
transaction that removes them is being run, resulting in objects with
nil authors which can then not be edited.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/7117

See merge request !2402
2016-01-13 09:14:30 +00:00
..
ci Fix Error 500 when visiting build page of project with nil runners_token 2016-01-10 18:12:47 -08:00
concerns Sort by ID when sorting using "Recently created" 2016-01-07 14:53:02 +01:00
hooks Merge branch 'accept-2xx-status-codes-for-webhooks' into 'master' 2016-01-08 10:56:39 +00:00
members Re-annotate models 2015-05-03 13:38:27 -07:00
network
project_services Mention channel/key bug in irkerd docs 2016-01-12 15:54:09 -07:00
.gitkeep
ability.rb remove public field from namespace and refactoring 2016-01-04 16:00:29 +02:00
abuse_report.rb Block the reported user before destroying the record 2016-01-12 20:59:55 -05:00
application_setting.rb Annotate models 2016-01-06 13:09:55 +00:00
audit_event.rb Re-annotate models 2015-08-03 01:52:54 +09:00
broadcast_message.rb Add custom ColorValidator 2015-12-07 16:57:26 -05:00
commit.rb Merge branch 'master' into tmp-reference-pipeline-and-caching 2015-12-10 14:04:34 +01:00
commit_range.rb Satisfy Rubocop 2015-12-02 10:54:24 +01:00
commit_status.rb Annotate models 2016-01-06 13:09:55 +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 Allow primary email to be set to an email that you've already added. 2015-04-30 16:17:03 +02:00
event.rb Don't show project fork event as imported 2015-12-02 10:56:05 +01:00
external_issue.rb Add reference_pattern to Referable models 2015-05-26 15:48:32 -04: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 Annotate models 2016-01-06 13:09:55 +00:00
identity.rb Fix identity and user retrieval when special characters are used 2015-12-22 13:23:35 -05:00
issue.rb Removed ORDER BY in "of_group" scopes 2016-01-07 15:34:37 +01: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 Refactor ability changes 2015-11-17 15:49:37 +01:00
merge_request.rb Merge branch 'group-issues-sorting' into 'master' 2016-01-11 15:28:41 +00:00
merge_request_diff.rb Add ignore white space option in merge request diff 2015-11-13 16:53:53 +09:00
milestone.rb Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
namespace.rb Annotate models 2016-01-06 13:09:55 +00:00
note.rb note votes methids implementation 2015-12-29 10:11:20 +02: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 Before project save ensure that a runners_token exists 2016-01-10 18:12:47 -08: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 Make ProjectWiki touch Project#last_activity_at after wiki actions 2015-11-16 13:08:25 -05: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 Add support for ref and path to commits filtering 2016-01-07 15:16:11 +01:00
security_event.rb Re-annotate models 2015-08-03 01:52:54 +09:00
sent_notification.rb Add custom LineCodeValidator 2015-12-07 16:57:26 -05:00
service.rb Annotate models 2016-01-06 13:09:55 +00:00
snippet.rb Autolink first so we don't pick up numeric anchors as issue references. 2015-12-01 15:53:32 +01:00
subscription.rb
tree.rb Validate README format before displaying 2016-01-05 11:06:18 -02:00
user.rb Annotate models 2016-01-06 13:09:55 +00:00
users_star_project.rb Touch project when toggling stars to update cache 2015-12-03 16:08:08 -02:00
wiki_page.rb