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
e8011359
Commit
e8011359
authored
Dec 01, 2015
by
Kirilll Zaycev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise hook url limit
parent
2f2aada3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
17 deletions
+22
-17
app/models/hooks/project_hook.rb
app/models/hooks/project_hook.rb
+2
-2
app/models/hooks/service_hook.rb
app/models/hooks/service_hook.rb
+2
-2
app/models/hooks/system_hook.rb
app/models/hooks/system_hook.rb
+2
-2
app/models/hooks/web_hook.rb
app/models/hooks/web_hook.rb
+2
-2
db/migrate/20151201203948_raise_hook_url_limit.rb
db/migrate/20151201203948_raise_hook_url_limit.rb
+5
-0
db/schema.rb
db/schema.rb
+9
-9
No files found.
app/models/hooks/project_hook.rb
View file @
e8011359
...
...
@@ -3,11 +3,11 @@
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(2
55
)
# url :string(2
000
)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string
(255)
default("ProjectHook")
# type :string
default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
...
...
app/models/hooks/service_hook.rb
View file @
e8011359
...
...
@@ -3,11 +3,11 @@
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(2
55
)
# url :string(2
000
)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string
(255)
default("ProjectHook")
# type :string
default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
...
...
app/models/hooks/system_hook.rb
View file @
e8011359
...
...
@@ -3,11 +3,11 @@
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(2
55
)
# url :string(2
000
)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string
(255)
default("ProjectHook")
# type :string
default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
...
...
app/models/hooks/web_hook.rb
View file @
e8011359
...
...
@@ -3,11 +3,11 @@
# Table name: web_hooks
#
# id :integer not null, primary key
# url :string(2
55
)
# url :string(2
000
)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# type :string
(255)
default("ProjectHook")
# type :string
default("ProjectHook")
# service_id :integer
# push_events :boolean default(TRUE), not null
# issues_events :boolean default(FALSE), not null
...
...
db/migrate/20151201203948_raise_hook_url_limit.rb
0 → 100644
View file @
e8011359
class
RaiseHookUrlLimit
<
ActiveRecord
::
Migration
def
change
change_column
:web_hooks
,
:url
,
:string
,
limit:
2000
end
end
db/schema.rb
View file @
e8011359
...
...
@@ -874,19 +874,19 @@ ActiveRecord::Schema.define(version: 20160113111034) do
add_index
"users_star_projects"
,
[
"user_id"
],
name:
"index_users_star_projects_on_user_id"
,
using: :btree
create_table
"web_hooks"
,
force: :cascade
do
|
t
|
t
.
string
"url"
t
.
string
"url"
,
limit:
2000
t
.
integer
"project_id"
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
t
.
string
"type"
,
default:
"ProjectHook"
t
.
string
"type"
,
default:
"ProjectHook"
t
.
integer
"service_id"
t
.
boolean
"push_events"
,
default:
true
,
null:
false
t
.
boolean
"issues_events"
,
default:
false
,
null:
false
t
.
boolean
"merge_requests_events"
,
default:
false
,
null:
false
t
.
boolean
"tag_push_events"
,
default:
false
t
.
boolean
"note_events"
,
default:
false
,
null:
false
t
.
boolean
"enable_ssl_verification"
,
default:
true
t
.
boolean
"build_events"
,
default:
false
,
null:
false
t
.
boolean
"push_events"
,
default:
true
,
null:
false
t
.
boolean
"issues_events"
,
default:
false
,
null:
false
t
.
boolean
"merge_requests_events"
,
default:
false
,
null:
false
t
.
boolean
"tag_push_events"
,
default:
false
t
.
boolean
"note_events"
,
default:
false
,
null:
false
t
.
boolean
"enable_ssl_verification"
,
default:
true
t
.
boolean
"build_events"
,
default:
false
,
null:
false
end
add_index
"web_hooks"
,
[
"created_at"
,
"id"
],
name:
"index_web_hooks_on_created_at_and_id"
,
using: :btree
...
...
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