Commit 66c61f02 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Re-annotate models

parent 63178a95
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
# #
# Table name: application_settings # Table name: application_settings
# #
# id :integer not null, primary key # id :integer not null, primary key
# default_projects_limit :integer # default_projects_limit :integer
# default_branch_protection :integer # signup_enabled :boolean
# signup_enabled :boolean # signin_enabled :boolean
# signin_enabled :boolean # gravatar_enabled :boolean
# gravatar_enabled :boolean # sign_in_text :text
# twitter_sharing_enabled :boolean # created_at :datetime
# sign_in_text :text # updated_at :datetime
# created_at :datetime # home_page_url :string(255)
# updated_at :datetime # default_branch_protection :integer default(2)
# home_page_url :string(255) # twitter_sharing_enabled :boolean default(TRUE)
# #
class ApplicationSetting < ActiveRecord::Base class ApplicationSetting < ActiveRecord::Base
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# extern_uid :string(255) # extern_uid :string(255)
# provider :string(255) # provider :string(255)
# user_id :integer # user_id :integer
# created_at :datetime
# updated_at :datetime
# #
class Identity < ActiveRecord::Base class Identity < ActiveRecord::Base
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,20 +2,21 @@ ...@@ -2,20 +2,21 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE) # tag_push_events :boolean default(TRUE)
# #
require "addressable/uri" require "addressable/uri"
class BuildboxService < CiService class BuildboxService < CiService
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
# Base class for CI services # Base class for CI services
......
...@@ -2,15 +2,19 @@ ...@@ -2,15 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # 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)
# #
class CustomIssueTrackerService < IssueTrackerService class CustomIssueTrackerService < IssueTrackerService
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
class EmailsOnPushService < Service class EmailsOnPushService < Service
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
require "flowdock-git-hook" require "flowdock-git-hook"
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
require "gemnasium/gitlab_service" require "gemnasium/gitlab_service"
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
class GitlabCiService < CiService class GitlabCiService < CiService
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
class HipchatService < Service class HipchatService < Service
......
...@@ -2,15 +2,20 @@ ...@@ -2,15 +2,20 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # 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 'uri' require 'uri'
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean default(TRUE) # push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE) # issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE) # merge_requests_events :boolean default(TRUE)
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
# To add new service you should build a class inherited from Service # To add new service you should build a class inherited from Service
......
...@@ -2,51 +2,53 @@ ...@@ -2,51 +2,53 @@
# #
# Table name: users # Table name: users
# #
# id :integer not null, primary key # id :integer not null, primary key
# email :string(255) default(""), not null # email :string(255) default(""), not null
# encrypted_password :string(255) default(""), not null # encrypted_password :string(255) default(""), not null
# reset_password_token :string(255) # reset_password_token :string(255)
# reset_password_sent_at :datetime # reset_password_sent_at :datetime
# remember_created_at :datetime # remember_created_at :datetime
# sign_in_count :integer default(0) # sign_in_count :integer default(0)
# current_sign_in_at :datetime # current_sign_in_at :datetime
# last_sign_in_at :datetime # last_sign_in_at :datetime
# current_sign_in_ip :string(255) # current_sign_in_ip :string(255)
# last_sign_in_ip :string(255) # last_sign_in_ip :string(255)
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer default(10) # projects_limit :integer default(10)
# skype :string(255) default(""), not null # skype :string(255) default(""), not null
# linkedin :string(255) default(""), not null # linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null # twitter :string(255) default(""), not null
# authentication_token :string(255) # authentication_token :string(255)
# theme_id :integer default(1), not null # theme_id :integer default(1), not null
# bio :string(255) # bio :string(255)
# failed_attempts :integer default(0) # failed_attempts :integer default(0)
# locked_at :datetime # locked_at :datetime
# username :string(255) # username :string(255)
# can_create_group :boolean default(TRUE), not null # can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null # can_create_team :boolean default(TRUE), not null
# state :string(255) # state :string(255)
# color_scheme_id :integer default(1), not null # color_scheme_id :integer default(1), not null
# notification_level :integer default(1), not null # notification_level :integer default(1), not null
# password_expires_at :datetime # password_expires_at :datetime
# created_by_id :integer # created_by_id :integer
# avatar :string(255) # last_credential_check_at :datetime
# confirmation_token :string(255) # avatar :string(255)
# confirmed_at :datetime # confirmation_token :string(255)
# confirmation_sent_at :datetime # confirmed_at :datetime
# unconfirmed_email :string(255) # confirmation_sent_at :datetime
# hide_no_ssh_key :boolean default(FALSE) # unconfirmed_email :string(255)
# hide_no_password :boolean default(FALSE) # hide_no_ssh_key :boolean default(FALSE)
# website_url :string(255) default(""), not null # website_url :string(255) default(""), not null
# last_credential_check_at :datetime # github_access_token :string(255)
# github_access_token :string(255) # gitlab_access_token :string(255)
# notification_email :string(255) # notification_email :string(255)
# password_automatically_set :boolean default(FALSE) # hide_no_password :boolean default(FALSE)
# bitbucket_access_token :string(255) # password_automatically_set :boolean default(FALSE)
# bitbucket_access_token :string(255)
# bitbucket_access_token_secret :string(255)
# #
require 'carrierwave/orm/activerecord' require 'carrierwave/orm/activerecord'
......
...@@ -2,16 +2,17 @@ ...@@ -2,16 +2,17 @@
# #
# Table name: application_settings # Table name: application_settings
# #
# id :integer not null, primary key # id :integer not null, primary key
# default_projects_limit :integer # default_projects_limit :integer
# default_branch_protection :integer # signup_enabled :boolean
# signup_enabled :boolean # signin_enabled :boolean
# signin_enabled :boolean # gravatar_enabled :boolean
# gravatar_enabled :boolean # sign_in_text :text
# sign_in_text :text # created_at :datetime
# created_at :datetime # updated_at :datetime
# updated_at :datetime # home_page_url :string(255)
# home_page_url :string(255) # default_branch_protection :integer default(2)
# twitter_sharing_enabled :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -2,14 +2,19 @@ ...@@ -2,14 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # 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' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -2,16 +2,21 @@ ...@@ -2,16 +2,21 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # 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' require 'spec_helper'
describe GitlabIssueTrackerService do describe GitlabIssueTrackerService do
......
...@@ -2,14 +2,19 @@ ...@@ -2,14 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # 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' require 'spec_helper'
......
...@@ -2,14 +2,19 @@ ...@@ -2,14 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # 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' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,15 +5,16 @@ ...@@ -5,15 +5,16 @@
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer not null # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# push_events :boolean # template :boolean default(FALSE)
# issues_events :boolean # push_events :boolean default(TRUE)
# merge_requests_events :boolean # issues_events :boolean default(TRUE)
# tag_push_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
# #
# Table name: services # Table name: services
# #
# id :integer not null, primary key # id :integer not null, primary key
# type :string(255) # type :string(255)
# title :string(255) # title :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# active :boolean default(FALSE), not null # active :boolean default(FALSE), not null
# properties :text # properties :text
# template :boolean default(FALSE) # template :boolean default(FALSE)
# push_events :boolean # push_events :boolean default(TRUE)
# issues_events :boolean # issues_events :boolean default(TRUE)
# merge_requests_events :boolean # merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean # tag_push_events :boolean default(TRUE)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -2,47 +2,53 @@ ...@@ -2,47 +2,53 @@
# #
# Table name: users # Table name: users
# #
# id :integer not null, primary key # id :integer not null, primary key
# email :string(255) default(""), not null # email :string(255) default(""), not null
# encrypted_password :string(255) default(""), not null # encrypted_password :string(255) default(""), not null
# reset_password_token :string(255) # reset_password_token :string(255)
# reset_password_sent_at :datetime # reset_password_sent_at :datetime
# remember_created_at :datetime # remember_created_at :datetime
# sign_in_count :integer default(0) # sign_in_count :integer default(0)
# current_sign_in_at :datetime # current_sign_in_at :datetime
# last_sign_in_at :datetime # last_sign_in_at :datetime
# current_sign_in_ip :string(255) # current_sign_in_ip :string(255)
# last_sign_in_ip :string(255) # last_sign_in_ip :string(255)
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer default(10) # projects_limit :integer default(10)
# skype :string(255) default(""), not null # skype :string(255) default(""), not null
# linkedin :string(255) default(""), not null # linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null # twitter :string(255) default(""), not null
# authentication_token :string(255) # authentication_token :string(255)
# theme_id :integer default(1), not null # theme_id :integer default(1), not null
# bio :string(255) # bio :string(255)
# failed_attempts :integer default(0) # failed_attempts :integer default(0)
# locked_at :datetime # locked_at :datetime
# username :string(255) # username :string(255)
# can_create_group :boolean default(TRUE), not null # can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null # can_create_team :boolean default(TRUE), not null
# state :string(255) # state :string(255)
# color_scheme_id :integer default(1), not null # color_scheme_id :integer default(1), not null
# notification_level :integer default(1), not null # notification_level :integer default(1), not null
# password_expires_at :datetime # password_expires_at :datetime
# created_by_id :integer # created_by_id :integer
# avatar :string(255) # last_credential_check_at :datetime
# confirmation_token :string(255) # avatar :string(255)
# confirmed_at :datetime # confirmation_token :string(255)
# confirmation_sent_at :datetime # confirmed_at :datetime
# unconfirmed_email :string(255) # confirmation_sent_at :datetime
# hide_no_ssh_key :boolean default(FALSE) # unconfirmed_email :string(255)
# website_url :string(255) default(""), not null # hide_no_ssh_key :boolean default(FALSE)
# last_credential_check_at :datetime # website_url :string(255) default(""), not null
# github_access_token :string(255) # github_access_token :string(255)
# gitlab_access_token :string(255)
# notification_email :string(255)
# hide_no_password :boolean default(FALSE)
# password_automatically_set :boolean default(FALSE)
# bitbucket_access_token :string(255)
# bitbucket_access_token_secret :string(255)
# #
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