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
41e53eb9
Commit
41e53eb9
authored
Oct 09, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotated
parent
dc33f71b
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
225 additions
and
2 deletions
+225
-2
app/models/event.rb
app/models/event.rb
+1
-0
app/models/group.rb
app/models/group.rb
+1
-0
app/models/issue.rb
app/models/issue.rb
+1
-0
app/models/key.rb
app/models/key.rb
+1
-0
app/models/merge_request.rb
app/models/merge_request.rb
+3
-2
app/models/milestone.rb
app/models/milestone.rb
+1
-0
app/models/note.rb
app/models/note.rb
+1
-0
app/models/project_hook.rb
app/models/project_hook.rb
+1
-0
app/models/protected_branch.rb
app/models/protected_branch.rb
+1
-0
app/models/snippet.rb
app/models/snippet.rb
+1
-0
app/models/system_hook.rb
app/models/system_hook.rb
+1
-0
app/models/user.rb
app/models/user.rb
+1
-0
app/models/users_project.rb
app/models/users_project.rb
+1
-0
app/models/web_hook.rb
app/models/web_hook.rb
+1
-0
app/models/wiki.rb
app/models/wiki.rb
+1
-0
spec/models/event_spec.rb
spec/models/event_spec.rb
+16
-0
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+18
-0
spec/models/key_spec.rb
spec/models/key_spec.rb
+14
-0
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+20
-0
spec/models/milestone_spec.rb
spec/models/milestone_spec.rb
+14
-0
spec/models/note_spec.rb
spec/models/note_spec.rb
+16
-0
spec/models/protected_branch_spec.rb
spec/models/protected_branch_spec.rb
+11
-0
spec/models/snippet_spec.rb
spec/models/snippet_spec.rb
+15
-0
spec/models/system_hook_spec.rb
spec/models/system_hook_spec.rb
+12
-0
spec/models/user_spec.rb
spec/models/user_spec.rb
+34
-0
spec/models/users_project_spec.rb
spec/models/users_project_spec.rb
+12
-0
spec/models/web_hook_spec.rb
spec/models/web_hook_spec.rb
+12
-0
spec/models/wiki_spec.rb
spec/models/wiki_spec.rb
+14
-0
No files found.
app/models/event.rb
View file @
41e53eb9
...
@@ -163,3 +163,4 @@ end
...
@@ -163,3 +163,4 @@ end
# action :integer
# action :integer
# author_id :integer
# author_id :integer
#
#
app/models/group.rb
View file @
41e53eb9
...
@@ -34,3 +34,4 @@ end
...
@@ -34,3 +34,4 @@ end
# created_at :datetime not null
# created_at :datetime not null
# updated_at :datetime not null
# updated_at :datetime not null
#
#
app/models/issue.rb
View file @
41e53eb9
...
@@ -49,3 +49,4 @@ end
...
@@ -49,3 +49,4 @@ end
# description :text
# description :text
# milestone_id :integer
# milestone_id :integer
#
#
app/models/key.rb
View file @
41e53eb9
...
@@ -81,3 +81,4 @@ end
...
@@ -81,3 +81,4 @@ end
# identifier :string(255)
# identifier :string(255)
# project_id :integer
# project_id :integer
#
#
app/models/merge_request.rb
View file @
41e53eb9
...
@@ -202,8 +202,9 @@ end
...
@@ -202,8 +202,9 @@ end
# closed :boolean default(FALSE), not null
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# created_at :datetime not null
# updated_at :datetime not null
# updated_at :datetime not null
# st_commits :text(
2147483647
# st_commits :text(
4294967295
# st_diffs :text(
2147483647
# st_diffs :text(
4294967295
# merged :boolean default(FALSE), not null
# merged :boolean default(FALSE), not null
# state :integer default(1), not null
# state :integer default(1), not null
#
#
app/models/milestone.rb
View file @
41e53eb9
...
@@ -39,3 +39,4 @@ end
...
@@ -39,3 +39,4 @@ end
# created_at :datetime not null
# created_at :datetime not null
# updated_at :datetime not null
# updated_at :datetime not null
#
#
app/models/note.rb
View file @
41e53eb9
...
@@ -118,3 +118,4 @@ end
...
@@ -118,3 +118,4 @@ end
# attachment :string(255)
# attachment :string(255)
# line_code :string(255)
# line_code :string(255)
#
#
app/models/project_hook.rb
View file @
41e53eb9
...
@@ -13,3 +13,4 @@ end
...
@@ -13,3 +13,4 @@ end
# updated_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# type :string(255) default("ProjectHook")
#
#
app/models/protected_branch.rb
View file @
41e53eb9
...
@@ -29,3 +29,4 @@ end
...
@@ -29,3 +29,4 @@ end
# created_at :datetime not null
# created_at :datetime not null
# updated_at :datetime not null
# updated_at :datetime not null
#
#
app/models/snippet.rb
View file @
41e53eb9
...
@@ -63,3 +63,4 @@ end
...
@@ -63,3 +63,4 @@ end
# file_name :string(255)
# file_name :string(255)
# expires_at :datetime
# expires_at :datetime
#
#
app/models/system_hook.rb
View file @
41e53eb9
...
@@ -21,3 +21,4 @@ end
...
@@ -21,3 +21,4 @@ end
# updated_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# type :string(255) default("ProjectHook")
#
#
app/models/user.rb
View file @
41e53eb9
...
@@ -113,3 +113,4 @@ end
...
@@ -113,3 +113,4 @@ end
# extern_uid :string(255)
# extern_uid :string(255)
# provider :string(255)
# provider :string(255)
#
#
app/models/users_project.rb
View file @
41e53eb9
...
@@ -102,3 +102,4 @@ end
...
@@ -102,3 +102,4 @@ end
# updated_at :datetime not null
# updated_at :datetime not null
# project_access :integer default(0), not null
# project_access :integer default(0), not null
#
#
app/models/web_hook.rb
View file @
41e53eb9
...
@@ -34,3 +34,4 @@ end
...
@@ -34,3 +34,4 @@ end
# updated_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# type :string(255) default("ProjectHook")
#
#
app/models/wiki.rb
View file @
41e53eb9
...
@@ -46,3 +46,4 @@ end
...
@@ -46,3 +46,4 @@ end
# slug :string(255)
# slug :string(255)
# user_id :integer
# user_id :integer
#
#
spec/models/event_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: events
#
# id :integer not null, primary key
# target_type :string(255)
# target_id :integer
# title :string(255)
# data :text
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# action :integer
# author_id :integer
#
require
'spec_helper'
require
'spec_helper'
describe
Event
do
describe
Event
do
...
...
spec/models/issue_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: issues
#
# id :integer not null, primary key
# title :string(255)
# assignee_id :integer
# author_id :integer
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# closed :boolean default(FALSE), not null
# position :integer default(0)
# branch_name :string(255)
# description :text
# milestone_id :integer
#
require
'spec_helper'
require
'spec_helper'
describe
Issue
do
describe
Issue
do
...
...
spec/models/key_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# key :text
# title :string(255)
# identifier :string(255)
# project_id :integer
#
require
'spec_helper'
require
'spec_helper'
describe
Key
do
describe
Key
do
...
...
spec/models/merge_request_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: merge_requests
#
# id :integer not null, primary key
# target_branch :string(255) not null
# source_branch :string(255) not null
# project_id :integer not null
# author_id :integer
# assignee_id :integer
# title :string(255)
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# st_commits :text(4294967295
# st_diffs :text(4294967295
# merged :boolean default(FALSE), not null
# state :integer default(1), not null
#
require
'spec_helper'
require
'spec_helper'
describe
MergeRequest
do
describe
MergeRequest
do
...
...
spec/models/milestone_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: milestones
#
# id :integer not null, primary key
# title :string(255) not null
# project_id :integer not null
# description :text
# due_date :date
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
#
require
'spec_helper'
require
'spec_helper'
describe
Milestone
do
describe
Milestone
do
...
...
spec/models/note_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: notes
#
# id :integer not null, primary key
# note :text
# noteable_id :string(255)
# noteable_type :string(255)
# author_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# project_id :integer
# attachment :string(255)
# line_code :string(255)
#
require
'spec_helper'
require
'spec_helper'
describe
Note
do
describe
Note
do
...
...
spec/models/protected_branch_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: protected_branches
#
# id :integer not null, primary key
# project_id :integer not null
# name :string(255) not null
# created_at :datetime not null
# updated_at :datetime not null
#
require
'spec_helper'
require
'spec_helper'
describe
ProtectedBranch
do
describe
ProtectedBranch
do
...
...
spec/models/snippet_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: snippets
#
# id :integer not null, primary key
# title :string(255)
# content :text
# author_id :integer not null
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# file_name :string(255)
# expires_at :datetime
#
require
'spec_helper'
require
'spec_helper'
describe
Snippet
do
describe
Snippet
do
...
...
spec/models/system_hook_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(255)
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#
require
"spec_helper"
require
"spec_helper"
describe
SystemHook
do
describe
SystemHook
do
...
...
spec/models/user_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# email :string(255) default(""), not null
# encrypted_password :string(128) default(""), not null
# reset_password_token :string(255)
# reset_password_sent_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default(0)
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string(255)
# last_sign_in_ip :string(255)
# created_at :datetime not null
# updated_at :datetime not null
# name :string(255)
# admin :boolean default(FALSE), not null
# projects_limit :integer default(10)
# skype :string(255) default(""), not null
# linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null
# authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
# theme_id :integer default(1), not null
# bio :string(255)
# blocked :boolean default(FALSE), not null
# failed_attempts :integer default(0)
# locked_at :datetime
# extern_uid :string(255)
# provider :string(255)
#
require
'spec_helper'
require
'spec_helper'
describe
User
do
describe
User
do
...
...
spec/models/users_project_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: users_projects
#
# id :integer not null, primary key
# user_id :integer not null
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# project_access :integer default(0), not null
#
require
'spec_helper'
require
'spec_helper'
describe
UsersProject
do
describe
UsersProject
do
...
...
spec/models/web_hook_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(255)
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#
require
'spec_helper'
require
'spec_helper'
describe
ProjectHook
do
describe
ProjectHook
do
...
...
spec/models/wiki_spec.rb
View file @
41e53eb9
# == Schema Information
#
# Table name: wikis
#
# id :integer not null, primary key
# title :string(255)
# content :text
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# slug :string(255)
# user_id :integer
#
require
'spec_helper'
require
'spec_helper'
describe
Wiki
do
describe
Wiki
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