Commit e219cf72 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Annotate!

parent 4aa22754
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
user_path: "/api/:version/users/:id.json" user_path: "/api/:version/users/:id.json"
notes_path: "/api/:version/projects/:id/notes.json" notes_path: "/api/:version/projects/:id/notes.json"
# Get 20 (depends on api) recent notes # Get 20 (depends on api) recent notes
# and sort the ascending from oldest to newest # and sort the ascending from oldest to newest
notes: (project_id, callback) -> notes: (project_id, callback) ->
url = Api.buildUrl(Api.notes_path) url = Api.buildUrl(Api.notes_path)
url = url.replace(':id', project_id) url = url.replace(':id', project_id)
$.ajax( $.ajax(
url: url, url: url,
data: data:
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
# Only active users retrieved # Only active users retrieved
users: (query, callback) -> users: (query, callback) ->
url = Api.buildUrl(Api.users_path) url = Api.buildUrl(Api.users_path)
$.ajax( $.ajax(
url: url url: url
data: data:
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# path :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
# merge_status :string(255) # merge_status :string(255)
# target_project_id :integer not null # target_project_id :integer not null
# iid :integer # iid :integer
# description :text
# #
require Rails.root.join("app/models/commit") require Rails.root.join("app/models/commit")
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# path :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
# commit_id :string(255) # commit_id :string(255)
# noteable_id :integer # noteable_id :integer
# st_diff :text # st_diff :text
# system :boolean default(FALSE), not null
# #
require 'carrierwave/orm/activerecord' require 'carrierwave/orm/activerecord'
......
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# project_url :string(255)
# subdomain :string(255)
# room :string(255)
# #
class PivotaltrackerService < Service class PivotaltrackerService < Service
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# path :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
# merge_status :string(255) # merge_status :string(255)
# target_project_id :integer not null # target_project_id :integer not null
# iid :integer # iid :integer
# description :text
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# path :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
# commit_id :string(255) # commit_id :string(255)
# noteable_id :integer # noteable_id :integer
# st_diff :text # st_diff :text
# system :boolean default(FALSE), not null
# #
require 'spec_helper' require 'spec_helper'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment