Updated copyright.

This commit is contained in:
Martin Edenhofer 2016-10-19 05:11:36 +02:00
parent 32a8823d4c
commit c71b0d36d4
224 changed files with 228 additions and 225 deletions

View file

@ -1,3 +1,3 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
App.Config.set('api_path', 'api/v1')
App.Config.set('image_path', '/assets/images')

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
#= require_self
#= require_tree ./lib/app_init

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ActivityStreamController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'exceptions'
class ApplicationController < ActionController::Base

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class CalendarsController < ApplicationController
before_action { authentication_check(permission: 'admin.calendar') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ChannelsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ChatsController < ApplicationController
before_action { authentication_check(permission: 'admin.chat') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class CtiController < ApplicationController
before_action { authentication_check(permission: 'cti.agent') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class EmailAddressesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ExternalCredentialsController < ApplicationController
before_action { authentication_check(permission: ['admin.channel_twitter', 'admin.channel_facebook']) }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class FirstStepsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'resolv'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class GroupsController < ApplicationController
before_action { authentication_check(permission: 'admin.group') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class HttpLogsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ImportOtrsController < ApplicationController

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'zendesk_api'
class ImportZendeskController < ApplicationController

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class InitController < ApplicationController

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'builder'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class JobsController < ApplicationController
before_action { authentication_check(permission: 'admin.scheduler') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class KarmaController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class LinksController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class LongPollingController < ApplicationController
skip_action_callback :session_update # prevent race conditions

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class MacrosController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class NetworksController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ObjectManagerAttributesController < ApplicationController
before_action { authentication_check(permission: 'admin.object') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class OnlineNotificationsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class OrganizationsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class OverviewsController < ApplicationController
before_action { authentication_check(permission: 'admin.overview') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class PackagesController < ApplicationController
before_action { authentication_check(permission: 'admin.package') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class PostmasterFiltersController < ApplicationController
before_action { authentication_check(permission: 'admin.channel_email') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class RecentViewController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'tempfile'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class RolesController < ApplicationController
before_action { authentication_check(permission: 'admin.role') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class SearchController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ExtraCollection
def session( collections, assets, user )

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ExtraCollection
def session( collections, assets, user )

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ExtraCollection
def session( collections, assets, _user )

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ExtraCollection
def session( collections, assets, user )

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class SessionsController < ApplicationController

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class SettingsController < ApplicationController
before_action { authentication_check(permission: 'admin.*') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class SignaturesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class SlasController < ApplicationController
before_action { authentication_check(permission: 'admin.sla') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TagsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TaskbarController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TemplatesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TestsController < ApplicationController

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TextModulesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TicketArticlesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'ticket/overviews'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TicketPrioritiesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TicketStatesController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TicketsController < ApplicationController
before_action :authentication_check

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TranslationsController < ApplicationController
before_action :authentication_check, except: [:lang]

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class TriggersController < ApplicationController
before_action { authentication_check(permission: 'admin.trigger') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class UserAccessTokenController < ApplicationController
before_action { authentication_check(permission: 'user_preferences.access_token') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class UserDevicesController < ApplicationController
before_action { authentication_check(permission: 'user_preferences.device') }

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class UsersController < ApplicationController
before_action :authentication_check, except: [:create, :password_reset_send, :password_reset_verify, :image]

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ActivityStream < ApplicationModel
self.table_name = 'activity_streams'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ApplicationModel < ActiveRecord::Base
include ApplicationModel::Assets

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ApplicationModel::ActivityStreamBase
=begin

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ApplicationModel::Assets
=begin

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ApplicationModel::BackgroundJobSearchIndex
def initialize(object, o_id)
@object = object

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ApplicationModel::HistoryLogBase
=begin

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module ApplicationModel::SearchIndexBase
=begin

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Authorization < ApplicationModel
belongs_to :user

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Avatar < ApplicationModel
belongs_to :object_lookup, class_name: 'ObjectLookup'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Calendar < ApplicationModel
store :business_hours

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel < ApplicationModel
load 'channel/assets.rb'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel
module Assets

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'net/imap'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Driver::MailStdin < Channel::EmailParser

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'net/pop'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Driver::Sendmail
def send(_options, attr, notification = false)

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Driver::Smtp

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
require 'mail'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
# encoding: utf-8

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::AutoResponseCheck

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::BounceCheck

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
# process all database filter
module Channel::Filter::Database

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::FollowUpCheck

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Filter::Icinga < Channel::Filter::MonitoringBase
def self.integration_name

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::IdentifySender

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Filter::MonitoringBase

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Channel::Filter::Nagios < Channel::Filter::MonitoringBase
def self.integration_name

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::OutOfOfficeCheck

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
module Channel::Filter::SenderIsSystemAddress

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
# delete all X-Zammad header if channel is not trusted
module Channel::Filter::Trusted

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Chat < ApplicationModel
validates :name, presence: true

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class EmailAddress < ApplicationModel
has_many :groups, after_add: :cache_update, after_remove: :cache_update

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class ExternalSync < ApplicationModel
store :last_payload

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Group < ApplicationModel
has_and_belongs_to_many :users, after_add: :cache_update, after_remove: :cache_update

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class History < ApplicationModel
load 'history/assets.rb'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class History
module Assets

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class HttpLog < ApplicationModel
store :request

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Job < ApplicationModel
load 'job/assets.rb'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Job
module Assets

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Karma

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Karma::Activity < ApplicationModel
self.table_name = 'karma_activities'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Karma::ActivityLog < ApplicationModel
belongs_to :object_lookup, class_name: 'ObjectLookup'

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Karma::User < ApplicationModel
self.table_name = 'karma_users'

Some files were not shown because too many files have changed in this diff Show more