Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
883da10e
Commit
883da10e
authored
Sep 16, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove annotation completely
parent
6d7a6424
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
0 additions
and
240 deletions
+0
-240
app/models/appearance.rb
app/models/appearance.rb
+0
-14
app/models/approval.rb
app/models/approval.rb
+0
-11
app/models/approver.rb
app/models/approver.rb
+0
-12
app/models/geo_node.rb
app/models/geo_node.rb
+0
-12
app/models/geo_node_key.rb
app/models/geo_node_key.rb
+0
-15
app/models/hooks/group_hook.rb
app/models/hooks/group_hook.rb
+0
-22
app/models/ldap_key.rb
app/models/ldap_key.rb
+0
-14
app/models/project_services/jenkins_deprecated_service.rb
app/models/project_services/jenkins_deprecated_service.rb
+0
-13
app/models/project_services/jenkins_service.rb
app/models/project_services/jenkins_service.rb
+0
-19
app/models/remote_mirror.rb
app/models/remote_mirror.rb
+0
-19
spec/models/geo_node_key_spec.rb
spec/models/geo_node_key_spec.rb
+0
-15
spec/models/hooks/group_hook_spec.rb
spec/models/hooks/group_hook_spec.rb
+0
-17
spec/models/project_services/jenkins_deprecated_service_spec.rb
...odels/project_services/jenkins_deprecated_service_spec.rb
+0
-19
spec/models/project_services/jenkins_service_spec.rb
spec/models/project_services/jenkins_service_spec.rb
+0
-19
spec/models/remote_mirror_spec.rb
spec/models/remote_mirror_spec.rb
+0
-19
No files found.
app/models/appearance.rb
View file @
883da10e
# == Schema Information
#
# Table name: appearances
#
# id :integer not null, primary key
# title :string(255)
# description :text
# logo :string(255)
# updated_by :integer
# created_at :datetime
# updated_at :datetime
# header_logo :string(255)
#
class
Appearance
<
ActiveRecord
::
Base
validates
:title
,
presence:
true
validates
:description
,
presence:
true
...
...
app/models/approval.rb
View file @
883da10e
# == Schema Information
#
# Table name: approvals
#
# id :integer not null, primary key
# merge_request_id :integer not null
# user_id :integer not null
# created_at :datetime
# updated_at :datetime
#
class
Approval
<
ActiveRecord
::
Base
belongs_to
:user
belongs_to
:merge_request
...
...
app/models/approver.rb
View file @
883da10e
# == Schema Information
#
# Table name: approvers
#
# id :integer not null, primary key
# target_id :integer not null
# target_type :string(255)
# user_id :integer not null
# created_at :datetime
# updated_at :datetime
#
class
Approver
<
ActiveRecord
::
Base
belongs_to
:target
,
polymorphic:
true
belongs_to
:user
...
...
app/models/geo_node.rb
View file @
883da10e
# == Schema Information
#
# Table name: geo_nodes
#
# id :integer not null, primary key
# schema :string
# host :string
# port :integer
# relative_url_root :string
# primary :boolean
#
class
GeoNode
<
ActiveRecord
::
Base
belongs_to
:geo_node_key
,
dependent: :destroy
belongs_to
:oauth_application
,
class_name:
'Doorkeeper::Application'
,
dependent: :destroy
...
...
app/models/geo_node_key.rb
View file @
883da10e
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime
# updated_at :datetime
# key :text
# title :string(255)
# type :string(255)
# fingerprint :string(255)
# public :boolean default(FALSE), not null
#
class
GeoNodeKey
<
Key
has_one
:geo_node
...
...
app/models/hooks/group_hook.rb
View file @
883da10e
# == Schema Information
#
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(2000)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string(255) default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
# merge_requests_events :boolean default(FALSE), not null
# tag_push_events :boolean default(FALSE)
# group_id :integer
# note_events :boolean default(FALSE), not null
# enable_ssl_verification :boolean default(TRUE)
# build_events :boolean default(FALSE), not null
# token :string
#
class
GroupHook
<
ProjectHook
include
CustomModelNaming
...
...
app/models/ldap_key.rb
View file @
883da10e
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime
# updated_at :datetime
# key :text
# title :string(255)
# identifier :string(255)
# type :string(255)
#
class
LDAPKey
<
Key
end
app/models/project_services/jenkins_deprecated_service.rb
View file @
883da10e
# == Schema Information
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer not null
# created_at :datetime
# updated_at :datetime
# active :boolean default(FALSE), not null
# properties :text
#
require
'uri'
class
JenkinsDeprecatedService
<
CiService
...
...
app/models/project_services/jenkins_service.rb
View file @
883da10e
# == Schema Information
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# active :boolean default(FALSE), not null
# properties :text
# template :boolean default(FALSE)
# push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# note_events :boolean default(TRUE), not null
#
class
JenkinsService
<
CiService
include
HTTParty
prop_accessor
:jenkins_url
,
:project_name
,
:username
,
:password
...
...
app/models/remote_mirror.rb
View file @
883da10e
# == Schema Information
#
# Table name: remote_mirrors
#
# id :integer not null, primary key
# project_id :integer
# url :string
# enabled :boolean default(TRUE)
# update_status :string
# last_update_at :datetime
# last_successful_update_at :datetime
# last_error :string
# encrypted_credentials :text
# encrypted_credentials_iv :string
# encrypted_credentials_salt :string
# created_at :datetime not null
# updated_at :datetime not null
#
class
RemoteMirror
<
ActiveRecord
::
Base
include
AfterCommitQueue
...
...
spec/models/geo_node_key_spec.rb
View file @
883da10e
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime
# updated_at :datetime
# key :text
# title :string(255)
# type :string(255)
# fingerprint :string(255)
# public :boolean default(FALSE), not null
#
require
'spec_helper'
describe
GeoNodeKey
,
models:
true
do
...
...
spec/models/hooks/group_hook_spec.rb
View file @
883da10e
# == Schema Information
#
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string(255) default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
# merge_requests_events :boolean default(FALSE), not null
# tag_push_events :boolean default(FALSE)
#
require
'spec_helper'
describe
GroupHook
do
...
...
spec/models/project_services/jenkins_deprecated_service_spec.rb
View file @
883da10e
# == Schema Information
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# active :boolean default(FALSE), not null
# properties :text
# template :boolean default(FALSE)
# push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
#
require
'spec_helper'
describe
JenkinsDeprecatedService
do
...
...
spec/models/project_services/jenkins_service_spec.rb
View file @
883da10e
# == Schema Information
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# active :boolean default(FALSE), not null
# properties :text
# template :boolean default(FALSE)
# push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
#
require
'spec_helper'
describe
JenkinsService
do
...
...
spec/models/remote_mirror_spec.rb
View file @
883da10e
# == Schema Information
#
# Table name: remote_mirrors
#
# id :integer not null, primary key
# project_id :integer
# url :string
# enabled :boolean default(TRUE)
# update_status :string
# last_update_at :datetime
# last_successful_update_at :datetime
# last_error :string
# encrypted_credentials :text
# encrypted_credentials_iv :string
# encrypted_credentials_salt :string
# created_at :datetime not null
# updated_at :datetime not null
#
require
'rails_helper'
describe
RemoteMirror
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment