Applied rubocop Style/TrailingBlankLines.
This commit is contained in:
parent
70e48aab13
commit
bd1db72b9b
221 changed files with 212 additions and 223 deletions
|
@ -933,4 +933,4 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password}
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -125,4 +125,4 @@ class ImportOtrsController < ApplicationController
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -27,4 +27,4 @@ class JobsController < ApplicationController
|
||||||
return if deny_if_not_role(Z_ROLENAME_ADMIN)
|
return if deny_if_not_role(Z_ROLENAME_ADMIN)
|
||||||
model_destory_render(Job, params)
|
model_destory_render(Job, params)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -114,4 +114,4 @@ curl http://localhost/api/v1/online_notifications/mark_all_as_read -v -u #{login
|
||||||
render json: {}, status: :ok
|
render json: {}, status: :ok
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -193,4 +193,4 @@ Test:
|
||||||
render json: history
|
render json: history
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,4 +52,4 @@ curl http://localhost/api/v1/recent_view -v -u #{login}:#{password} -H "Content-
|
||||||
render json: { message: 'ok' }
|
render json: { message: 'ok' }
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -42,4 +42,4 @@ module ExtraCollection
|
||||||
[collections, assets]
|
[collections, assets]
|
||||||
end
|
end
|
||||||
module_function :session
|
module_function :session
|
||||||
end
|
end
|
||||||
|
|
|
@ -11,4 +11,4 @@ module ExtraCollection
|
||||||
end
|
end
|
||||||
|
|
||||||
module_function :session
|
module_function :session
|
||||||
end
|
end
|
||||||
|
|
|
@ -41,4 +41,4 @@ module ExtraCollection
|
||||||
[collections, assets]
|
[collections, assets]
|
||||||
end
|
end
|
||||||
module_function :session
|
module_function :session
|
||||||
end
|
end
|
||||||
|
|
|
@ -279,4 +279,4 @@ class SessionsController < ApplicationController
|
||||||
render json: {}
|
render json: {}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,4 @@ class TestsController < ApplicationController
|
||||||
render json: result
|
render json: result
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -41,4 +41,4 @@ class TranslationsController < ApplicationController
|
||||||
return if deny_if_not_role(Z_ROLENAME_ADMIN)
|
return if deny_if_not_role(Z_ROLENAME_ADMIN)
|
||||||
model_destory_render(Translation, params)
|
model_destory_render(Translation, params)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -733,4 +733,4 @@ curl http://localhost/api/v1/users/avatar -v -u #{login}:#{password} -H "Content
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -118,4 +118,4 @@ return all activity entries of an user
|
||||||
list
|
list
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1105,4 +1105,4 @@ destory object dependencies, will be executed automatically
|
||||||
def destroy_dependencies
|
def destroy_dependencies
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -97,4 +97,4 @@ returns
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -91,4 +91,4 @@ class Authorization < ApplicationModel
|
||||||
self.user.cache_delete
|
self.user.cache_delete
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -371,4 +371,4 @@ returns:
|
||||||
created_by_id: 1,
|
created_by_id: 1,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -157,4 +157,4 @@ HERE
|
||||||
|
|
||||||
html
|
html
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -607,4 +607,4 @@ module Mail
|
||||||
end.join('')
|
end.join('')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -95,4 +95,4 @@ class Channel::IMAP < Channel::EmailParser
|
||||||
@imap.disconnect()
|
@imap.disconnect()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -77,4 +77,4 @@ class Channel::POP3 < Channel::EmailParser
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -18,4 +18,4 @@ class Channel::SMTP
|
||||||
}
|
}
|
||||||
mail.deliver
|
mail.deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ class EmailAddress < ApplicationModel
|
||||||
|
|
||||||
latest_change_support
|
latest_change_support
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,4 @@ class Group < ApplicationModel
|
||||||
activity_stream_support role: Z_ROLENAME_ADMIN
|
activity_stream_support role: Z_ROLENAME_ADMIN
|
||||||
history_support
|
history_support
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -83,4 +83,4 @@ class Job < ApplicationModel
|
||||||
minutes.gsub!(/(\d)\d/, '\\1')
|
minutes.gsub!(/(\d)\d/, '\\1')
|
||||||
minutes.to_s + '0'
|
minutes.to_s + '0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -27,4 +27,4 @@ class Locale < ApplicationModel
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -35,4 +35,4 @@ class ObjectLookup < ApplicationModel
|
||||||
lookup.id
|
lookup.id
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -232,4 +232,4 @@ returns:
|
||||||
hash
|
hash
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -28,4 +28,4 @@ class Observer::Organization::RefObjectTouch < ActiveRecord::Observer
|
||||||
User.find(user_id).touch
|
User.find(user_id).touch
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -20,4 +20,4 @@ class Observer::Ticket::Article::CommunicateEmail < ActiveRecord::Observer
|
||||||
# send background job
|
# send background job
|
||||||
Delayed::Job.enqueue( Observer::Ticket::Article::CommunicateEmail::BackgroundJob.new( record.id ) )
|
Delayed::Job.enqueue( Observer::Ticket::Article::CommunicateEmail::BackgroundJob.new( record.id ) )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -57,4 +57,4 @@ class Observer::Ticket::Article::CommunicateEmail::BackgroundJob
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -170,4 +170,4 @@ class Observer::Ticket::Notification < ActiveRecord::Observer
|
||||||
# puts @a.inspect
|
# puts @a.inspect
|
||||||
# AuditTrail.new(record, "UPDATED")
|
# AuditTrail.new(record, "UPDATED")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -395,4 +395,4 @@ Changes:<br>
|
||||||
</div>
|
</div>
|
||||||
'
|
'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -23,4 +23,4 @@ class Observer::Ticket::OnlineNotificationSeen < ActiveRecord::Observer
|
||||||
# set all online notifications to seen
|
# set all online notifications to seen
|
||||||
OnlineNotification.seen_by_object( 'Ticket', record.id )
|
OnlineNotification.seen_by_object( 'Ticket', record.id )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -44,4 +44,4 @@ class Observer::Ticket::RefObjectTouch < ActiveRecord::Observer
|
||||||
record.organization.touch
|
record.organization.touch
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -48,4 +48,3 @@ class Observer::Ticket::UserTicketCounter < ActiveRecord::Observer
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,4 @@ class Observer::User::RefObjectTouch < ActiveRecord::Observer
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,4 +26,4 @@ class Observer::User::TicketOrganization < ActiveRecord::Observer
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -187,4 +187,4 @@ returns:
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -16,4 +16,4 @@ class Organization < ApplicationModel
|
||||||
search_index_support
|
search_index_support
|
||||||
notify_clients_support
|
notify_clients_support
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -50,4 +50,4 @@ returns
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -35,4 +35,4 @@ returns
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ class Overview < ApplicationModel
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
validates :prio, presence: true
|
validates :prio, presence: true
|
||||||
validates :link, presence: true
|
validates :link, presence: true
|
||||||
end
|
end
|
||||||
|
|
|
@ -501,4 +501,4 @@ class Package < ApplicationModel
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -100,4 +100,4 @@ class RecentView < ApplicationModel
|
||||||
return if !record.respond_to?(:permission)
|
return if !record.respond_to?(:permission)
|
||||||
record.permission( current_user: user )
|
record.permission( current_user: user )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ class Role < ApplicationModel
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
activity_stream_support role: Z_ROLENAME_ADMIN
|
activity_stream_support role: Z_ROLENAME_ADMIN
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,4 +4,4 @@ class Signature < ApplicationModel
|
||||||
has_many :groups, after_add: :cache_update, after_remove: :cache_update
|
has_many :groups, after_add: :cache_update, after_remove: :cache_update
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -154,4 +154,4 @@ returns
|
||||||
end
|
end
|
||||||
file.provider
|
file.provider
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -87,4 +87,4 @@ class Store::File < ApplicationModel
|
||||||
adapter = self.class.load_adapter("Store::Provider::#{ self.provider }")
|
adapter = self.class.load_adapter("Store::Provider::#{ self.provider }")
|
||||||
adapter.delete( self.sha )
|
adapter.delete( self.sha )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
class Store::Object < ApplicationModel
|
class Store::Object < ApplicationModel
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,4 +22,4 @@ class Store::Provider::DB < ApplicationModel
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -81,4 +81,4 @@ class Store::Provider::File
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,4 +4,4 @@ class Template < ApplicationModel
|
||||||
store :options
|
store :options
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
notify_clients_support
|
notify_clients_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,4 +4,4 @@ class TextModule < ApplicationModel
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
validates :content, presence: true
|
validates :content, presence: true
|
||||||
notify_clients_support
|
notify_clients_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -242,4 +242,4 @@ returns
|
||||||
OnlineNotification.remove( self.class.to_s, self.id )
|
OnlineNotification.remove( self.class.to_s, self.id )
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,4 +47,4 @@ class Ticket::Article < ApplicationModel
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -78,4 +78,4 @@ returns
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -56,4 +56,3 @@ returns
|
||||||
adapter
|
adapter
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,4 @@ returns
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -175,4 +175,4 @@ returns
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -106,4 +106,4 @@ returns
|
||||||
SearchIndexBackend.add(self.class.to_s, attributes)
|
SearchIndexBackend.add(self.class.to_s, attributes)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,4 +4,4 @@ class Ticket::StateType < ApplicationModel
|
||||||
has_many :states, class_name: 'Ticket::State'
|
has_many :states, class_name: 'Ticket::State'
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
latest_change_support
|
latest_change_support
|
||||||
end
|
end
|
||||||
|
|
|
@ -35,4 +35,4 @@ class TypeLookup < ApplicationModel
|
||||||
lookup.id
|
lookup.id
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -529,4 +529,4 @@ returns
|
||||||
self.password = "{sha2}#{crypted}"
|
self.password = "{sha2}#{crypted}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,4 +33,4 @@ returns
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -74,4 +74,4 @@ module Zammad
|
||||||
config.api_path = '/api/v1'
|
config.api_path = '/api/v1'
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -41,4 +41,4 @@ Zammad::Application.configure do
|
||||||
# define cache store
|
# define cache store
|
||||||
config.cache_store = :file_store, 'tmp/cache_file_store_development'
|
config.cache_store = :file_store, 'tmp/cache_file_store_development'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,7 +15,7 @@ Zammad::Application.configure do
|
||||||
config.action_controller.perform_caching = true
|
config.action_controller.perform_caching = true
|
||||||
|
|
||||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||||
config.serve_static_assets = false
|
config.serve_static_assets = true
|
||||||
|
|
||||||
# Compress JavaScripts and CSS
|
# Compress JavaScripts and CSS
|
||||||
config.assets.compress = true
|
config.assets.compress = true
|
||||||
|
|
|
@ -49,4 +49,4 @@ Zammad::Application.configure do
|
||||||
# define cache store
|
# define cache store
|
||||||
config.cache_store = :file_store, 'tmp/cache_file_store_test'
|
config.cache_store = :file_store, 'tmp/cache_file_store_test'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# sync logo to fs / only if settings already exists
|
# sync logo to fs / only if settings already exists
|
||||||
if ActiveRecord::Base.connection.tables.include?('settings')
|
if ActiveRecord::Base.connection.tables.include?('settings')
|
||||||
StaticAssets.sync
|
StaticAssets.sync
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,4 +3,4 @@ Dir["#{Rails.root}/vendor/lib/*"].each {|file|
|
||||||
if File.file?(file)
|
if File.file?(file)
|
||||||
require file
|
require file
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,4 +6,3 @@
|
||||||
Z_ROLENAME_ADMIN = 'Admin'
|
Z_ROLENAME_ADMIN = 'Admin'
|
||||||
Z_ROLENAME_AGENT = 'Agent'
|
Z_ROLENAME_AGENT = 'Agent'
|
||||||
Z_ROLENAME_CUSTOMER = 'Customer'
|
Z_ROLENAME_CUSTOMER = 'Customer'
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,4 @@ Zammad::Application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,4 +3,4 @@ Zammad::Application.routes.draw do
|
||||||
|
|
||||||
match api_path + '/activity_stream', to: 'activity_stream#show', via: :get
|
match api_path + '/activity_stream', to: 'activity_stream#show', via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -17,4 +17,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/sessions', to: 'sessions#list', via: :get
|
match api_path + '/sessions', to: 'sessions#list', via: :get
|
||||||
match api_path + '/sessions/:id', to: 'sessions#delete', via: :delete
|
match api_path + '/sessions/:id', to: 'sessions#delete', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/channels/:id', to: 'channels#update', via: :put
|
match api_path + '/channels/:id', to: 'channels#update', via: :put
|
||||||
match api_path + '/channels/:id', to: 'channels#destroy', via: :delete
|
match api_path + '/channels/:id', to: 'channels#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/email_addresses', to: 'email_addresses#create', via: :post
|
match api_path + '/email_addresses', to: 'email_addresses#create', via: :post
|
||||||
match api_path + '/email_addresses/:id', to: 'email_addresses#update', via: :put
|
match api_path + '/email_addresses/:id', to: 'email_addresses#update', via: :put
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/getting_started/email_inbound', to: 'getting_started#email_inbound', via: :post
|
match api_path + '/getting_started/email_inbound', to: 'getting_started#email_inbound', via: :post
|
||||||
match api_path + '/getting_started/email_verify', to: 'getting_started#email_verify', via: :post
|
match api_path + '/getting_started/email_verify', to: 'getting_started#email_verify', via: :post
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/groups', to: 'groups#create', via: :post
|
match api_path + '/groups', to: 'groups#create', via: :post
|
||||||
match api_path + '/groups/:id', to: 'groups#update', via: :put
|
match api_path + '/groups/:id', to: 'groups#update', via: :put
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/ical/tickets_new_open/:action_token', to: 'ical_tickets#new_open', via: :get
|
match api_path + '/ical/tickets_new_open/:action_token', to: 'ical_tickets#new_open', via: :get
|
||||||
match api_path + '/ical/tickets_pending/:action_token', to: 'ical_tickets#pending', via: :get
|
match api_path + '/ical/tickets_pending/:action_token', to: 'ical_tickets#pending', via: :get
|
||||||
match api_path + '/ical/tickets_escalation/:action_token', to: 'ical_tickets#escalation', via: :get
|
match api_path + '/ical/tickets_escalation/:action_token', to: 'ical_tickets#escalation', via: :get
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/import/otrs/import_start', to: 'import_otrs#import_start', via: :post
|
match api_path + '/import/otrs/import_start', to: 'import_otrs#import_start', via: :post
|
||||||
match api_path + '/import/otrs/import_status', to: 'import_otrs#import_status', via: :get
|
match api_path + '/import/otrs/import_status', to: 'import_otrs#import_status', via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/jobs/:id', to: 'jobs#update', via: :put
|
match api_path + '/jobs/:id', to: 'jobs#update', via: :put
|
||||||
match api_path + '/jobs/:id', to: 'jobs#destroy', via: :delete
|
match api_path + '/jobs/:id', to: 'jobs#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/links/add', to: 'links#add', via: :get
|
match api_path + '/links/add', to: 'links#add', via: :get
|
||||||
match api_path + '/links/remove', to: 'links#remove', via: :get
|
match api_path + '/links/remove', to: 'links#remove', via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,4 +5,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/message_send', to: 'long_polling#message_send', via: [ :get, :post ]
|
match api_path + '/message_send', to: 'long_polling#message_send', via: [ :get, :post ]
|
||||||
match api_path + '/message_receive', to: 'long_polling#message_receive', via: [ :get, :post ]
|
match api_path + '/message_receive', to: 'long_polling#message_receive', via: [ :get, :post ]
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/networks/:id', to: 'networks#update', via: :put
|
match api_path + '/networks/:id', to: 'networks#update', via: :put
|
||||||
match api_path + '/networks/:id', to: 'networks#destroy',via: :delete
|
match api_path + '/networks/:id', to: 'networks#destroy',via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#update', via: :put
|
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#update', via: :put
|
||||||
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#destroy', via: :delete
|
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/online_notifications/:id', to: 'online_notifications#update', via: :put
|
match api_path + '/online_notifications/:id', to: 'online_notifications#update', via: :put
|
||||||
match api_path + '/online_notifications/mark_all_as_read', to: 'online_notifications#mark_all_as_read', via: :post
|
match api_path + '/online_notifications/mark_all_as_read', to: 'online_notifications#mark_all_as_read', via: :post
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/organizations/:id', to: 'organizations#update', via: :put
|
match api_path + '/organizations/:id', to: 'organizations#update', via: :put
|
||||||
match api_path + '/organizations/history/:id',to: 'organizations#history',via: :get
|
match api_path + '/organizations/history/:id',to: 'organizations#history',via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/overviews/:id', to: 'overviews#update', via: :put
|
match api_path + '/overviews/:id', to: 'overviews#update', via: :put
|
||||||
match api_path + '/overviews/:id', to: 'overviews#destroy', via: :delete
|
match api_path + '/overviews/:id', to: 'overviews#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/packages', to: 'packages#install', via: :post
|
match api_path + '/packages', to: 'packages#install', via: :post
|
||||||
match api_path + '/packages', to: 'packages#uninstall', via: :delete
|
match api_path + '/packages', to: 'packages#uninstall', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#update', via: :put
|
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#update', via: :put
|
||||||
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#destroy', via: :delete
|
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,4 +3,4 @@ Zammad::Application.routes.draw do
|
||||||
|
|
||||||
match api_path + '/recent_view', to: 'recent_view#index', via: :get
|
match api_path + '/recent_view', to: 'recent_view#index', via: :get
|
||||||
match api_path + '/recent_view', to: 'recent_view#create', via: :post
|
match api_path + '/recent_view', to: 'recent_view#create', via: :post
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/roles', to: 'roles#create', via: :post
|
match api_path + '/roles', to: 'roles#create', via: :post
|
||||||
match api_path + '/roles/:id', to: 'roles#update', via: :put
|
match api_path + '/roles/:id', to: 'roles#update', via: :put
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,4 +4,4 @@ Zammad::Application.routes.draw do
|
||||||
# rss
|
# rss
|
||||||
match api_path + '/rss_fetch', to: 'rss#fetch', via: :get
|
match api_path + '/rss_fetch', to: 'rss#fetch', via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
|
||||||
# search_user_org
|
# search_user_org
|
||||||
match api_path + '/search_user_org', to: 'search#search_user_org', via: [:get, :post]
|
match api_path + '/search_user_org', to: 'search#search_user_org', via: [:get, :post]
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/settings/:id', to: 'settings#update', via: :put
|
match api_path + '/settings/:id', to: 'settings#update', via: :put
|
||||||
match api_path + '/settings/:id', to: 'settings#destroy', via: :delete
|
match api_path + '/settings/:id', to: 'settings#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/signatures/:id', to: 'signatures#update', via: :put
|
match api_path + '/signatures/:id', to: 'signatures#update', via: :put
|
||||||
match api_path + '/signatures/:id', to: 'signatures#destroy', via: :delete
|
match api_path + '/signatures/:id', to: 'signatures#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/slas/:id', to: 'slas#update', via: :put
|
match api_path + '/slas/:id', to: 'slas#update', via: :put
|
||||||
match api_path + '/slas/:id', to: 'slas#destroy', via: :delete
|
match api_path + '/slas/:id', to: 'slas#destroy', via: :delete
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
|
||||||
match api_path + '/tags/add', to: 'tags#add', via: :get
|
match api_path + '/tags/add', to: 'tags#add', via: :get
|
||||||
match api_path + '/tags/remove', to: 'tags#remove', via: :get
|
match api_path + '/tags/remove', to: 'tags#remove', via: :get
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue