From c71b0d36d4fcefdaae4e39f1859094727a3ca74c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 19 Oct 2016 05:11:36 +0200 Subject: [PATCH] Updated copyright. --- app/assets/javascripts/app/config.coffee | 2 +- app/assets/javascripts/app/index.coffee | 2 +- app/controllers/activity_stream_controller.rb | 2 +- app/controllers/application_controller.rb | 2 +- app/controllers/calendars_controller.rb | 2 +- app/controllers/channels_controller.rb | 2 +- app/controllers/chats_controller.rb | 2 +- app/controllers/cti_controller.rb | 2 +- app/controllers/email_addresses_controller.rb | 2 +- app/controllers/external_credentials_controller.rb | 2 +- app/controllers/first_steps_controller.rb | 2 +- app/controllers/getting_started_controller.rb | 2 +- app/controllers/groups_controller.rb | 2 +- app/controllers/http_logs_controller.rb | 2 +- app/controllers/import_otrs_controller.rb | 2 +- app/controllers/import_zendesk_controller.rb | 2 +- app/controllers/init_controller.rb | 2 +- app/controllers/integration/sipgate_controller.rb | 2 +- app/controllers/jobs_controller.rb | 2 +- app/controllers/karma_controller.rb | 2 +- app/controllers/links_controller.rb | 2 +- app/controllers/long_polling_controller.rb | 2 +- app/controllers/macros_controller.rb | 2 +- app/controllers/network_controller.rb | 2 +- app/controllers/object_manager_attributes_controller.rb | 2 +- app/controllers/online_notifications_controller.rb | 2 +- app/controllers/organizations_controller.rb | 2 +- app/controllers/overviews_controller.rb | 2 +- app/controllers/packages_controller.rb | 2 +- app/controllers/postmaster_filters_controller.rb | 2 +- app/controllers/recent_view_controller.rb | 2 +- app/controllers/reports_controller.rb | 2 +- app/controllers/roles_controller.rb | 2 +- app/controllers/search_controller.rb | 2 +- app/controllers/sessions/collection_base.rb | 2 +- app/controllers/sessions/collection_dashboard.rb | 2 +- app/controllers/sessions/collection_network.rb | 2 +- app/controllers/sessions/collection_ticket.rb | 2 +- app/controllers/sessions_controller.rb | 2 +- app/controllers/settings_controller.rb | 2 +- app/controllers/signatures_controller.rb | 2 +- app/controllers/slas_controller.rb | 2 +- app/controllers/tags_controller.rb | 2 +- app/controllers/taskbar_controller.rb | 2 +- app/controllers/templates_controller.rb | 2 +- app/controllers/tests_controller.rb | 2 +- app/controllers/text_modules_controller.rb | 2 +- app/controllers/ticket_articles_controller.rb | 2 +- app/controllers/ticket_overviews_controller.rb | 2 +- app/controllers/ticket_priorities_controller.rb | 2 +- app/controllers/ticket_states_controller.rb | 2 +- app/controllers/tickets_controller.rb | 2 +- app/controllers/translations_controller.rb | 2 +- app/controllers/triggers_controller.rb | 2 +- app/controllers/user_access_token_controller.rb | 2 +- app/controllers/user_devices_controller.rb | 2 +- app/controllers/users_controller.rb | 2 +- app/models/activity_stream.rb | 2 +- app/models/application_model.rb | 2 +- app/models/application_model/activity_stream_base.rb | 2 +- app/models/application_model/assets.rb | 2 +- .../application_model/background_job_search_index.rb | 2 +- app/models/application_model/history_log_base.rb | 2 +- app/models/application_model/search_index_base.rb | 2 +- app/models/authorization.rb | 2 +- app/models/avatar.rb | 2 +- app/models/calendar.rb | 2 +- app/models/channel.rb | 2 +- app/models/channel/assets.rb | 2 +- app/models/channel/driver/imap.rb | 2 +- app/models/channel/driver/mail_stdin.rb | 2 +- app/models/channel/driver/pop3.rb | 2 +- app/models/channel/driver/sendmail.rb | 2 +- app/models/channel/driver/smtp.rb | 2 +- app/models/channel/email_build.rb | 2 +- app/models/channel/email_parser.rb | 2 +- app/models/channel/filter/auto_response_check.rb | 2 +- app/models/channel/filter/bounce_check.rb | 2 +- app/models/channel/filter/database.rb | 2 +- app/models/channel/filter/follow_up_check.rb | 2 +- app/models/channel/filter/icinga.rb | 2 +- app/models/channel/filter/identify_sender.rb | 2 +- app/models/channel/filter/monitoring_base.rb | 2 +- app/models/channel/filter/nagios.rb | 2 +- app/models/channel/filter/out_of_office_check.rb | 2 +- app/models/channel/filter/sender_is_system_address.rb | 2 +- app/models/channel/filter/trusted.rb | 2 +- app/models/chat.rb | 2 +- app/models/email_address.rb | 2 +- app/models/external_sync.rb | 2 +- app/models/group.rb | 2 +- app/models/history.rb | 2 +- app/models/history/assets.rb | 2 +- app/models/http_log.rb | 2 +- app/models/job.rb | 2 +- app/models/job/assets.rb | 2 +- app/models/karma.rb | 2 +- app/models/karma/activity.rb | 2 +- app/models/karma/activity_log.rb | 2 +- app/models/karma/user.rb | 2 +- app/models/link.rb | 2 +- app/models/locale.rb | 2 +- app/models/macro.rb | 2 +- app/models/network.rb | 2 +- app/models/notification.rb | 2 +- app/models/object_lookup.rb | 2 +- app/models/object_manager.rb | 2 +- app/models/observer/organization/ref_object_touch.rb | 2 +- app/models/observer/session.rb | 2 +- app/models/observer/sla/ticket_rebuild_escalation.rb | 2 +- app/models/observer/tag/ticket_history.rb | 2 +- app/models/observer/ticket/article/communicate_email.rb | 2 +- app/models/observer/ticket/article/communicate_facebook.rb | 2 +- app/models/observer/ticket/article/communicate_twitter.rb | 2 +- app/models/observer/ticket/article/fillup_from_email.rb | 2 +- app/models/observer/ticket/article/fillup_from_general.rb | 2 +- app/models/observer/ticket/article_changes.rb | 2 +- app/models/observer/ticket/close_time.rb | 2 +- app/models/observer/ticket/online_notification_seen.rb | 2 +- app/models/observer/ticket/ref_object_touch.rb | 2 +- app/models/observer/ticket/reset_new_state.rb | 2 +- app/models/observer/ticket/stats_reopen.rb | 2 +- app/models/observer/ticket/user_ticket_counter.rb | 2 +- app/models/observer/transaction.rb | 2 +- app/models/observer/user/geo.rb | 2 +- app/models/observer/user/ref_object_touch.rb | 2 +- app/models/observer/user/ticket_organization.rb | 2 +- app/models/online_notification.rb | 2 +- app/models/organization.rb | 2 +- app/models/organization/assets.rb | 2 +- app/models/organization/permission.rb | 2 +- app/models/organization/search.rb | 2 +- app/models/organization/search_index.rb | 2 +- app/models/overview.rb | 2 +- app/models/overview/assets.rb | 2 +- app/models/package.rb | 2 +- app/models/permission.rb | 2 +- app/models/postmaster_filter.rb | 2 +- app/models/recent_view.rb | 2 +- app/models/role.rb | 2 +- app/models/scheduler.rb | 2 +- app/models/setting.rb | 2 +- app/models/signature.rb | 2 +- app/models/sla.rb | 2 +- app/models/sla/assets.rb | 2 +- app/models/stats_store.rb | 2 +- app/models/store.rb | 2 +- app/models/store/file.rb | 2 +- app/models/store/object.rb | 2 +- app/models/store/provider/db.rb | 2 +- app/models/store/provider/file.rb | 2 +- app/models/tag.rb | 2 +- app/models/taskbar.rb | 2 +- app/models/template.rb | 2 +- app/models/text_module.rb | 2 +- app/models/ticket.rb | 2 +- app/models/ticket/activity_stream_log.rb | 2 +- app/models/ticket/article.rb | 2 +- app/models/ticket/article/activity_stream_log.rb | 2 +- app/models/ticket/article/assets.rb | 2 +- app/models/ticket/article/history_log.rb | 2 +- app/models/ticket/assets.rb | 2 +- app/models/ticket/counter.rb | 2 +- app/models/ticket/escalation.rb | 2 +- app/models/ticket/flag.rb | 2 +- app/models/ticket/history_log.rb | 2 +- app/models/ticket/number.rb | 2 +- app/models/ticket/number/date.rb | 2 +- app/models/ticket/number/increment.rb | 2 +- app/models/ticket/overviews.rb | 2 +- app/models/ticket/permission.rb | 2 +- app/models/ticket/priority.rb | 2 +- app/models/ticket/screen_options.rb | 2 +- app/models/ticket/search.rb | 2 +- app/models/ticket/search_index.rb | 2 +- app/models/ticket/state.rb | 2 +- app/models/ticket/state_type.rb | 2 +- app/models/ticket/subject.rb | 2 +- app/models/token.rb | 2 +- app/models/transaction/background_job.rb | 2 +- app/models/transaction/clearbit_enrichment.rb | 2 +- app/models/transaction/cti_caller_id_detection.rb | 2 +- app/models/transaction/karma.rb | 2 +- app/models/transaction/notification.rb | 2 +- app/models/transaction/signature_detection.rb | 2 +- app/models/transaction/slack.rb | 2 +- app/models/transaction/trigger.rb | 2 +- app/models/translation.rb | 2 +- app/models/trigger.rb | 2 +- app/models/type_lookup.rb | 2 +- app/models/user.rb | 2 +- app/models/user/assets.rb | 2 +- app/models/user/permission.rb | 2 +- app/models/user/search.rb | 2 +- app/models/user/search_index.rb | 2 +- app/models/user_device.rb | 2 +- lib/auth.rb | 2 +- lib/auth/developer.rb | 2 +- lib/auth/internal.rb | 2 +- lib/auth/ldap.rb | 2 +- lib/calendar_subscriptions.rb | 2 +- lib/calendar_subscriptions/tickets.rb | 2 +- lib/search_index_backend.rb | 2 +- lib/service/geo_calendar.rb | 2 +- lib/service/geo_calendar/zammad.rb | 2 +- lib/service/geo_ip.rb | 2 +- lib/service/geo_ip/zammad.rb | 2 +- lib/service/geo_location.rb | 2 +- lib/service/geo_location/gmaps.rb | 2 +- lib/service/image.rb | 2 +- lib/service/image/zammad.rb | 2 +- lib/sso.rb | 2 +- lib/sso/env.rb | 2 +- lib/stats.rb | 2 +- lib/stats/ticket_channel_distribution.rb | 2 +- lib/stats/ticket_escalation.rb | 2 +- lib/stats/ticket_in_process.rb | 2 +- lib/stats/ticket_load_measure.rb | 2 +- lib/stats/ticket_reopen.rb | 2 +- lib/stats/ticket_response_time.rb | 2 +- lib/user_agent.rb | 2 +- script/local_browser_tests.sh | 7 +++++-- script/scheduler.rb | 2 +- script/websocket-server.rb | 2 +- 224 files changed, 228 insertions(+), 225 deletions(-) diff --git a/app/assets/javascripts/app/config.coffee b/app/assets/javascripts/app/config.coffee index 0932960d2..eb577407f 100644 --- a/app/assets/javascripts/app/config.coffee +++ b/app/assets/javascripts/app/config.coffee @@ -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') \ No newline at end of file diff --git a/app/assets/javascripts/app/index.coffee b/app/assets/javascripts/app/index.coffee index 620cbac3a..901647b93 100644 --- a/app/assets/javascripts/app/index.coffee +++ b/app/assets/javascripts/app/index.coffee @@ -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 diff --git a/app/controllers/activity_stream_controller.rb b/app/controllers/activity_stream_controller.rb index 784ff3aa5..8d432e2cb 100644 --- a/app/controllers/activity_stream_controller.rb +++ b/app/controllers/activity_stream_controller.rb @@ -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 diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c62ffcb98..bdbc839fd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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 diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index 6192412b3..184317030 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -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') } diff --git a/app/controllers/channels_controller.rb b/app/controllers/channels_controller.rb index 50a3b332f..371ba726c 100644 --- a/app/controllers/channels_controller.rb +++ b/app/controllers/channels_controller.rb @@ -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 diff --git a/app/controllers/chats_controller.rb b/app/controllers/chats_controller.rb index 9e12d73d8..607154cf8 100644 --- a/app/controllers/chats_controller.rb +++ b/app/controllers/chats_controller.rb @@ -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') } diff --git a/app/controllers/cti_controller.rb b/app/controllers/cti_controller.rb index 09527c322..1dada0b1b 100644 --- a/app/controllers/cti_controller.rb +++ b/app/controllers/cti_controller.rb @@ -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') } diff --git a/app/controllers/email_addresses_controller.rb b/app/controllers/email_addresses_controller.rb index 17be35d72..e7a8433a1 100644 --- a/app/controllers/email_addresses_controller.rb +++ b/app/controllers/email_addresses_controller.rb @@ -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 diff --git a/app/controllers/external_credentials_controller.rb b/app/controllers/external_credentials_controller.rb index 052c728d0..66b0445ad 100644 --- a/app/controllers/external_credentials_controller.rb +++ b/app/controllers/external_credentials_controller.rb @@ -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']) } diff --git a/app/controllers/first_steps_controller.rb b/app/controllers/first_steps_controller.rb index a2de9211d..682c0cff3 100644 --- a/app/controllers/first_steps_controller.rb +++ b/app/controllers/first_steps_controller.rb @@ -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 diff --git a/app/controllers/getting_started_controller.rb b/app/controllers/getting_started_controller.rb index 5118507b2..a843535c7 100644 --- a/app/controllers/getting_started_controller.rb +++ b/app/controllers/getting_started_controller.rb @@ -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' diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 8983557c2..a20c9c786 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -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') } diff --git a/app/controllers/http_logs_controller.rb b/app/controllers/http_logs_controller.rb index d363d79b4..29b889ea7 100644 --- a/app/controllers/http_logs_controller.rb +++ b/app/controllers/http_logs_controller.rb @@ -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 diff --git a/app/controllers/import_otrs_controller.rb b/app/controllers/import_otrs_controller.rb index aaea87606..3b473ae3f 100644 --- a/app/controllers/import_otrs_controller.rb +++ b/app/controllers/import_otrs_controller.rb @@ -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 diff --git a/app/controllers/import_zendesk_controller.rb b/app/controllers/import_zendesk_controller.rb index a4324102e..e0ab2c006 100644 --- a/app/controllers/import_zendesk_controller.rb +++ b/app/controllers/import_zendesk_controller.rb @@ -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 diff --git a/app/controllers/init_controller.rb b/app/controllers/init_controller.rb index 2dcafaaf1..63b5aa2a2 100644 --- a/app/controllers/init_controller.rb +++ b/app/controllers/init_controller.rb @@ -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 diff --git a/app/controllers/integration/sipgate_controller.rb b/app/controllers/integration/sipgate_controller.rb index 7bd651832..c45335cee 100644 --- a/app/controllers/integration/sipgate_controller.rb +++ b/app/controllers/integration/sipgate_controller.rb @@ -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' diff --git a/app/controllers/jobs_controller.rb b/app/controllers/jobs_controller.rb index 68b5754f0..b0233a7aa 100644 --- a/app/controllers/jobs_controller.rb +++ b/app/controllers/jobs_controller.rb @@ -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') } diff --git a/app/controllers/karma_controller.rb b/app/controllers/karma_controller.rb index 5c0cf8321..e87c7d367 100644 --- a/app/controllers/karma_controller.rb +++ b/app/controllers/karma_controller.rb @@ -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 diff --git a/app/controllers/links_controller.rb b/app/controllers/links_controller.rb index 1ef4d2453..28bbd51dc 100644 --- a/app/controllers/links_controller.rb +++ b/app/controllers/links_controller.rb @@ -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 diff --git a/app/controllers/long_polling_controller.rb b/app/controllers/long_polling_controller.rb index 840975f08..d52fda49d 100644 --- a/app/controllers/long_polling_controller.rb +++ b/app/controllers/long_polling_controller.rb @@ -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 diff --git a/app/controllers/macros_controller.rb b/app/controllers/macros_controller.rb index db0856694..a8f4f1d68 100644 --- a/app/controllers/macros_controller.rb +++ b/app/controllers/macros_controller.rb @@ -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 diff --git a/app/controllers/network_controller.rb b/app/controllers/network_controller.rb index 5192ef4ef..0fcea7b42 100644 --- a/app/controllers/network_controller.rb +++ b/app/controllers/network_controller.rb @@ -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 diff --git a/app/controllers/object_manager_attributes_controller.rb b/app/controllers/object_manager_attributes_controller.rb index 16d53e0ae..185af695b 100644 --- a/app/controllers/object_manager_attributes_controller.rb +++ b/app/controllers/object_manager_attributes_controller.rb @@ -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') } diff --git a/app/controllers/online_notifications_controller.rb b/app/controllers/online_notifications_controller.rb index fc1a3a30e..0565e7d82 100644 --- a/app/controllers/online_notifications_controller.rb +++ b/app/controllers/online_notifications_controller.rb @@ -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 diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb index c0f5adaa5..bdf5322fb 100644 --- a/app/controllers/organizations_controller.rb +++ b/app/controllers/organizations_controller.rb @@ -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 diff --git a/app/controllers/overviews_controller.rb b/app/controllers/overviews_controller.rb index 69b1c2069..f082a1383 100644 --- a/app/controllers/overviews_controller.rb +++ b/app/controllers/overviews_controller.rb @@ -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') } diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb index d3626377f..746ce23ae 100644 --- a/app/controllers/packages_controller.rb +++ b/app/controllers/packages_controller.rb @@ -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') } diff --git a/app/controllers/postmaster_filters_controller.rb b/app/controllers/postmaster_filters_controller.rb index b4c5df52c..391eb44e1 100644 --- a/app/controllers/postmaster_filters_controller.rb +++ b/app/controllers/postmaster_filters_controller.rb @@ -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') } diff --git a/app/controllers/recent_view_controller.rb b/app/controllers/recent_view_controller.rb index 0d52a8309..11e707626 100644 --- a/app/controllers/recent_view_controller.rb +++ b/app/controllers/recent_view_controller.rb @@ -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 diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index ec3f53567..35d47a9e5 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -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' diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index 49930cbbe..569f9b531 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -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') } diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 03a4f54ff..52717cfb1 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -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 diff --git a/app/controllers/sessions/collection_base.rb b/app/controllers/sessions/collection_base.rb index 52c57ec77..55eb9c078 100644 --- a/app/controllers/sessions/collection_base.rb +++ b/app/controllers/sessions/collection_base.rb @@ -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 ) diff --git a/app/controllers/sessions/collection_dashboard.rb b/app/controllers/sessions/collection_dashboard.rb index 802a3cae6..c36836cac 100644 --- a/app/controllers/sessions/collection_dashboard.rb +++ b/app/controllers/sessions/collection_dashboard.rb @@ -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 ) diff --git a/app/controllers/sessions/collection_network.rb b/app/controllers/sessions/collection_network.rb index d50c98fdc..6ac868b64 100644 --- a/app/controllers/sessions/collection_network.rb +++ b/app/controllers/sessions/collection_network.rb @@ -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 ) diff --git a/app/controllers/sessions/collection_ticket.rb b/app/controllers/sessions/collection_ticket.rb index b54225619..1c52b4f8d 100644 --- a/app/controllers/sessions/collection_ticket.rb +++ b/app/controllers/sessions/collection_ticket.rb @@ -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 ) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 79acae694..885ca7de8 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -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 diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index e4bba300e..ba8a28b91 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -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.*') } diff --git a/app/controllers/signatures_controller.rb b/app/controllers/signatures_controller.rb index f4b21ef1e..0aa7476aa 100644 --- a/app/controllers/signatures_controller.rb +++ b/app/controllers/signatures_controller.rb @@ -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 diff --git a/app/controllers/slas_controller.rb b/app/controllers/slas_controller.rb index c18703ce5..0439ee904 100644 --- a/app/controllers/slas_controller.rb +++ b/app/controllers/slas_controller.rb @@ -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') } diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 50c51d9ee..3131e22c6 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -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 diff --git a/app/controllers/taskbar_controller.rb b/app/controllers/taskbar_controller.rb index 2c10db948..635a18177 100644 --- a/app/controllers/taskbar_controller.rb +++ b/app/controllers/taskbar_controller.rb @@ -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 diff --git a/app/controllers/templates_controller.rb b/app/controllers/templates_controller.rb index b2e142c14..e769e638d 100644 --- a/app/controllers/templates_controller.rb +++ b/app/controllers/templates_controller.rb @@ -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 diff --git a/app/controllers/tests_controller.rb b/app/controllers/tests_controller.rb index 4e790028e..93c55b828 100644 --- a/app/controllers/tests_controller.rb +++ b/app/controllers/tests_controller.rb @@ -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 diff --git a/app/controllers/text_modules_controller.rb b/app/controllers/text_modules_controller.rb index a4c729836..ecf8d12cf 100644 --- a/app/controllers/text_modules_controller.rb +++ b/app/controllers/text_modules_controller.rb @@ -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 diff --git a/app/controllers/ticket_articles_controller.rb b/app/controllers/ticket_articles_controller.rb index cd9795fbf..dc820e72f 100644 --- a/app/controllers/ticket_articles_controller.rb +++ b/app/controllers/ticket_articles_controller.rb @@ -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 diff --git a/app/controllers/ticket_overviews_controller.rb b/app/controllers/ticket_overviews_controller.rb index 6c2012a8f..8252c3685 100644 --- a/app/controllers/ticket_overviews_controller.rb +++ b/app/controllers/ticket_overviews_controller.rb @@ -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' diff --git a/app/controllers/ticket_priorities_controller.rb b/app/controllers/ticket_priorities_controller.rb index 367f00b5a..d0fab507c 100644 --- a/app/controllers/ticket_priorities_controller.rb +++ b/app/controllers/ticket_priorities_controller.rb @@ -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 diff --git a/app/controllers/ticket_states_controller.rb b/app/controllers/ticket_states_controller.rb index 335adcea7..2d7b6f128 100644 --- a/app/controllers/ticket_states_controller.rb +++ b/app/controllers/ticket_states_controller.rb @@ -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 diff --git a/app/controllers/tickets_controller.rb b/app/controllers/tickets_controller.rb index c01589275..0484da350 100644 --- a/app/controllers/tickets_controller.rb +++ b/app/controllers/tickets_controller.rb @@ -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 diff --git a/app/controllers/translations_controller.rb b/app/controllers/translations_controller.rb index 49bde6b60..274b6fd18 100644 --- a/app/controllers/translations_controller.rb +++ b/app/controllers/translations_controller.rb @@ -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] diff --git a/app/controllers/triggers_controller.rb b/app/controllers/triggers_controller.rb index ad70ffdd5..4b51aa250 100644 --- a/app/controllers/triggers_controller.rb +++ b/app/controllers/triggers_controller.rb @@ -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') } diff --git a/app/controllers/user_access_token_controller.rb b/app/controllers/user_access_token_controller.rb index 33d9e291c..09a2e2028 100644 --- a/app/controllers/user_access_token_controller.rb +++ b/app/controllers/user_access_token_controller.rb @@ -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') } diff --git a/app/controllers/user_devices_controller.rb b/app/controllers/user_devices_controller.rb index 16220393f..721fded97 100644 --- a/app/controllers/user_devices_controller.rb +++ b/app/controllers/user_devices_controller.rb @@ -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') } diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2083bb6d2..5acab042a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -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] diff --git a/app/models/activity_stream.rb b/app/models/activity_stream.rb index 6030d7866..0264cfe54 100644 --- a/app/models/activity_stream.rb +++ b/app/models/activity_stream.rb @@ -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' diff --git a/app/models/application_model.rb b/app/models/application_model.rb index 5b5a4a61b..cac10c34e 100644 --- a/app/models/application_model.rb +++ b/app/models/application_model.rb @@ -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 diff --git a/app/models/application_model/activity_stream_base.rb b/app/models/application_model/activity_stream_base.rb index bb9c01fc7..61eedb2bc 100644 --- a/app/models/application_model/activity_stream_base.rb +++ b/app/models/application_model/activity_stream_base.rb @@ -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 diff --git a/app/models/application_model/assets.rb b/app/models/application_model/assets.rb index 5e1914dd6..9bb78fe71 100644 --- a/app/models/application_model/assets.rb +++ b/app/models/application_model/assets.rb @@ -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 diff --git a/app/models/application_model/background_job_search_index.rb b/app/models/application_model/background_job_search_index.rb index 0223fd124..584438a3b 100644 --- a/app/models/application_model/background_job_search_index.rb +++ b/app/models/application_model/background_job_search_index.rb @@ -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 diff --git a/app/models/application_model/history_log_base.rb b/app/models/application_model/history_log_base.rb index 310c533cc..a79347655 100644 --- a/app/models/application_model/history_log_base.rb +++ b/app/models/application_model/history_log_base.rb @@ -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 diff --git a/app/models/application_model/search_index_base.rb b/app/models/application_model/search_index_base.rb index a32309f1f..39c661886 100644 --- a/app/models/application_model/search_index_base.rb +++ b/app/models/application_model/search_index_base.rb @@ -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 diff --git a/app/models/authorization.rb b/app/models/authorization.rb index c741bcd1d..771f4d2f5 100644 --- a/app/models/authorization.rb +++ b/app/models/authorization.rb @@ -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 diff --git a/app/models/avatar.rb b/app/models/avatar.rb index 9c0a899e9..0f271a9c7 100644 --- a/app/models/avatar.rb +++ b/app/models/avatar.rb @@ -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' diff --git a/app/models/calendar.rb b/app/models/calendar.rb index 3913b8121..529196b83 100644 --- a/app/models/calendar.rb +++ b/app/models/calendar.rb @@ -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 diff --git a/app/models/channel.rb b/app/models/channel.rb index c3c58fcc3..28e22bf66 100644 --- a/app/models/channel.rb +++ b/app/models/channel.rb @@ -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' diff --git a/app/models/channel/assets.rb b/app/models/channel/assets.rb index be20de0a7..d7097fa16 100644 --- a/app/models/channel/assets.rb +++ b/app/models/channel/assets.rb @@ -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 diff --git a/app/models/channel/driver/imap.rb b/app/models/channel/driver/imap.rb index 97d6be7e1..2ba1f3b5c 100644 --- a/app/models/channel/driver/imap.rb +++ b/app/models/channel/driver/imap.rb @@ -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' diff --git a/app/models/channel/driver/mail_stdin.rb b/app/models/channel/driver/mail_stdin.rb index dda2b95cb..fcedbb1f4 100644 --- a/app/models/channel/driver/mail_stdin.rb +++ b/app/models/channel/driver/mail_stdin.rb @@ -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 diff --git a/app/models/channel/driver/pop3.rb b/app/models/channel/driver/pop3.rb index 8ab84b670..476ba12be 100644 --- a/app/models/channel/driver/pop3.rb +++ b/app/models/channel/driver/pop3.rb @@ -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' diff --git a/app/models/channel/driver/sendmail.rb b/app/models/channel/driver/sendmail.rb index d275363ae..f94fd9d2c 100644 --- a/app/models/channel/driver/sendmail.rb +++ b/app/models/channel/driver/sendmail.rb @@ -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) diff --git a/app/models/channel/driver/smtp.rb b/app/models/channel/driver/smtp.rb index 671e39d4c..3da36e565 100644 --- a/app/models/channel/driver/smtp.rb +++ b/app/models/channel/driver/smtp.rb @@ -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 diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index d41ecd81b..540ae4763 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -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' diff --git a/app/models/channel/email_parser.rb b/app/models/channel/email_parser.rb index 0613429c7..3c1b7eada 100644 --- a/app/models/channel/email_parser.rb +++ b/app/models/channel/email_parser.rb @@ -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 diff --git a/app/models/channel/filter/auto_response_check.rb b/app/models/channel/filter/auto_response_check.rb index 139be7865..51baadb69 100644 --- a/app/models/channel/filter/auto_response_check.rb +++ b/app/models/channel/filter/auto_response_check.rb @@ -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 diff --git a/app/models/channel/filter/bounce_check.rb b/app/models/channel/filter/bounce_check.rb index f657bb3b5..1835254b6 100644 --- a/app/models/channel/filter/bounce_check.rb +++ b/app/models/channel/filter/bounce_check.rb @@ -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 diff --git a/app/models/channel/filter/database.rb b/app/models/channel/filter/database.rb index 8b5e2ada9..bb9fc26d5 100644 --- a/app/models/channel/filter/database.rb +++ b/app/models/channel/filter/database.rb @@ -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 diff --git a/app/models/channel/filter/follow_up_check.rb b/app/models/channel/filter/follow_up_check.rb index 080194452..8fcdddcef 100644 --- a/app/models/channel/filter/follow_up_check.rb +++ b/app/models/channel/filter/follow_up_check.rb @@ -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 diff --git a/app/models/channel/filter/icinga.rb b/app/models/channel/filter/icinga.rb index 72fea4fdf..12f153d5b 100644 --- a/app/models/channel/filter/icinga.rb +++ b/app/models/channel/filter/icinga.rb @@ -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 diff --git a/app/models/channel/filter/identify_sender.rb b/app/models/channel/filter/identify_sender.rb index 2989a519b..7da0b7023 100644 --- a/app/models/channel/filter/identify_sender.rb +++ b/app/models/channel/filter/identify_sender.rb @@ -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 diff --git a/app/models/channel/filter/monitoring_base.rb b/app/models/channel/filter/monitoring_base.rb index ba4c6fef8..094f11104 100644 --- a/app/models/channel/filter/monitoring_base.rb +++ b/app/models/channel/filter/monitoring_base.rb @@ -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 diff --git a/app/models/channel/filter/nagios.rb b/app/models/channel/filter/nagios.rb index 9722409f7..eeae27bd6 100644 --- a/app/models/channel/filter/nagios.rb +++ b/app/models/channel/filter/nagios.rb @@ -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 diff --git a/app/models/channel/filter/out_of_office_check.rb b/app/models/channel/filter/out_of_office_check.rb index b8746f5ab..089ec785d 100644 --- a/app/models/channel/filter/out_of_office_check.rb +++ b/app/models/channel/filter/out_of_office_check.rb @@ -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 diff --git a/app/models/channel/filter/sender_is_system_address.rb b/app/models/channel/filter/sender_is_system_address.rb index ce30a4687..87be321fe 100644 --- a/app/models/channel/filter/sender_is_system_address.rb +++ b/app/models/channel/filter/sender_is_system_address.rb @@ -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 diff --git a/app/models/channel/filter/trusted.rb b/app/models/channel/filter/trusted.rb index f03e5fcf6..69d78aff8 100644 --- a/app/models/channel/filter/trusted.rb +++ b/app/models/channel/filter/trusted.rb @@ -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 diff --git a/app/models/chat.rb b/app/models/chat.rb index 34158b0c0..91844d8e5 100644 --- a/app/models/chat.rb +++ b/app/models/chat.rb @@ -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 diff --git a/app/models/email_address.rb b/app/models/email_address.rb index c3d86ab88..71acae994 100644 --- a/app/models/email_address.rb +++ b/app/models/email_address.rb @@ -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 diff --git a/app/models/external_sync.rb b/app/models/external_sync.rb index aa7fe5481..743fbb503 100644 --- a/app/models/external_sync.rb +++ b/app/models/external_sync.rb @@ -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 diff --git a/app/models/group.rb b/app/models/group.rb index 4b3f4407d..8547138f3 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -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 diff --git a/app/models/history.rb b/app/models/history.rb index 73d2cb1d5..a86c69095 100644 --- a/app/models/history.rb +++ b/app/models/history.rb @@ -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' diff --git a/app/models/history/assets.rb b/app/models/history/assets.rb index 379943414..488f1f412 100644 --- a/app/models/history/assets.rb +++ b/app/models/history/assets.rb @@ -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 diff --git a/app/models/http_log.rb b/app/models/http_log.rb index 3718ac374..26474c812 100644 --- a/app/models/http_log.rb +++ b/app/models/http_log.rb @@ -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 diff --git a/app/models/job.rb b/app/models/job.rb index ced783284..883321ff4 100644 --- a/app/models/job.rb +++ b/app/models/job.rb @@ -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' diff --git a/app/models/job/assets.rb b/app/models/job/assets.rb index d13fa1278..93c12fd82 100644 --- a/app/models/job/assets.rb +++ b/app/models/job/assets.rb @@ -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 diff --git a/app/models/karma.rb b/app/models/karma.rb index 7a3091ef6..f9f1f9cba 100644 --- a/app/models/karma.rb +++ b/app/models/karma.rb @@ -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 diff --git a/app/models/karma/activity.rb b/app/models/karma/activity.rb index 6fe70b2fd..16a53bbce 100644 --- a/app/models/karma/activity.rb +++ b/app/models/karma/activity.rb @@ -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' diff --git a/app/models/karma/activity_log.rb b/app/models/karma/activity_log.rb index 9b1d2759d..1667139cf 100644 --- a/app/models/karma/activity_log.rb +++ b/app/models/karma/activity_log.rb @@ -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' diff --git a/app/models/karma/user.rb b/app/models/karma/user.rb index 3fae66efb..cb971373a 100644 --- a/app/models/karma/user.rb +++ b/app/models/karma/user.rb @@ -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' diff --git a/app/models/link.rb b/app/models/link.rb index f20faab82..c3b714cbc 100644 --- a/app/models/link.rb +++ b/app/models/link.rb @@ -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 Link < ApplicationModel belongs_to :link_type, class_name: 'Link::Type' diff --git a/app/models/locale.rb b/app/models/locale.rb index 989ca02b9..0021d5668 100644 --- a/app/models/locale.rb +++ b/app/models/locale.rb @@ -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 Locale < ApplicationModel diff --git a/app/models/macro.rb b/app/models/macro.rb index 23b9408ef..733708e56 100644 --- a/app/models/macro.rb +++ b/app/models/macro.rb @@ -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 Macro < ApplicationModel store :perform diff --git a/app/models/network.rb b/app/models/network.rb index 6efab2ef0..e1d054f95 100644 --- a/app/models/network.rb +++ b/app/models/network.rb @@ -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 Network < ApplicationModel # belongs_to :group diff --git a/app/models/notification.rb b/app/models/notification.rb index a95a8e6ca..1e7e52c93 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -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 Notification < ActiveRecord::Base end diff --git a/app/models/object_lookup.rb b/app/models/object_lookup.rb index 853a66891..a20194dba 100644 --- a/app/models/object_lookup.rb +++ b/app/models/object_lookup.rb @@ -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 ObjectLookup < ApplicationModel @@cache_object = {} # rubocop:disable Style/ClassVars diff --git a/app/models/object_manager.rb b/app/models/object_manager.rb index 9470acec5..e6d1b5f5a 100644 --- a/app/models/object_manager.rb +++ b/app/models/object_manager.rb @@ -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 ObjectManager diff --git a/app/models/observer/organization/ref_object_touch.rb b/app/models/observer/organization/ref_object_touch.rb index b97009e6c..8f97798db 100644 --- a/app/models/observer/organization/ref_object_touch.rb +++ b/app/models/observer/organization/ref_object_touch.rb @@ -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 Observer::Organization::RefObjectTouch < ActiveRecord::Observer observe 'organization' diff --git a/app/models/observer/session.rb b/app/models/observer/session.rb index 5a2f490ee..9a8e24dd7 100644 --- a/app/models/observer/session.rb +++ b/app/models/observer/session.rb @@ -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 'history' diff --git a/app/models/observer/sla/ticket_rebuild_escalation.rb b/app/models/observer/sla/ticket_rebuild_escalation.rb index 466d10432..5c42f050b 100644 --- a/app/models/observer/sla/ticket_rebuild_escalation.rb +++ b/app/models/observer/sla/ticket_rebuild_escalation.rb @@ -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 Observer::Sla::TicketRebuildEscalation < ActiveRecord::Observer observe 'sla' diff --git a/app/models/observer/tag/ticket_history.rb b/app/models/observer/tag/ticket_history.rb index 20be28751..3cdaf8e17 100644 --- a/app/models/observer/tag/ticket_history.rb +++ b/app/models/observer/tag/ticket_history.rb @@ -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 'history' diff --git a/app/models/observer/ticket/article/communicate_email.rb b/app/models/observer/ticket/article/communicate_email.rb index 26f956f6e..1f159bb09 100644 --- a/app/models/observer/ticket/article/communicate_email.rb +++ b/app/models/observer/ticket/article/communicate_email.rb @@ -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 Observer::Ticket::Article::CommunicateEmail < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/article/communicate_facebook.rb b/app/models/observer/ticket/article/communicate_facebook.rb index 6041711e3..d318c9079 100644 --- a/app/models/observer/ticket/article/communicate_facebook.rb +++ b/app/models/observer/ticket/article/communicate_facebook.rb @@ -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 'channel/driver/facebook' diff --git a/app/models/observer/ticket/article/communicate_twitter.rb b/app/models/observer/ticket/article/communicate_twitter.rb index 8620f8e04..96340826a 100644 --- a/app/models/observer/ticket/article/communicate_twitter.rb +++ b/app/models/observer/ticket/article/communicate_twitter.rb @@ -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 Observer::Ticket::Article::CommunicateTwitter < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/article/fillup_from_email.rb b/app/models/observer/ticket/article/fillup_from_email.rb index 85e550864..1d89764f5 100644 --- a/app/models/observer/ticket/article/fillup_from_email.rb +++ b/app/models/observer/ticket/article/fillup_from_email.rb @@ -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 Observer::Ticket::Article::FillupFromEmail < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/article/fillup_from_general.rb b/app/models/observer/ticket/article/fillup_from_general.rb index 0f12436d3..8fbb9504d 100644 --- a/app/models/observer/ticket/article/fillup_from_general.rb +++ b/app/models/observer/ticket/article/fillup_from_general.rb @@ -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 Observer::Ticket::Article::FillupFromGeneral < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/article_changes.rb b/app/models/observer/ticket/article_changes.rb index 1d75b8927..0a0a15845 100644 --- a/app/models/observer/ticket/article_changes.rb +++ b/app/models/observer/ticket/article_changes.rb @@ -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 Observer::Ticket::ArticleChanges < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/close_time.rb b/app/models/observer/ticket/close_time.rb index 80f2947cd..bcedea1fd 100644 --- a/app/models/observer/ticket/close_time.rb +++ b/app/models/observer/ticket/close_time.rb @@ -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 Observer::Ticket::CloseTime < ActiveRecord::Observer observe 'ticket' diff --git a/app/models/observer/ticket/online_notification_seen.rb b/app/models/observer/ticket/online_notification_seen.rb index c071fbd41..ec8883d02 100644 --- a/app/models/observer/ticket/online_notification_seen.rb +++ b/app/models/observer/ticket/online_notification_seen.rb @@ -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 Observer::Ticket::OnlineNotificationSeen < ActiveRecord::Observer observe 'ticket' diff --git a/app/models/observer/ticket/ref_object_touch.rb b/app/models/observer/ticket/ref_object_touch.rb index bc4ae388c..bd8007d4c 100644 --- a/app/models/observer/ticket/ref_object_touch.rb +++ b/app/models/observer/ticket/ref_object_touch.rb @@ -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 Observer::Ticket::RefObjectTouch < ActiveRecord::Observer observe 'ticket' diff --git a/app/models/observer/ticket/reset_new_state.rb b/app/models/observer/ticket/reset_new_state.rb index 4dfb6180e..001223328 100644 --- a/app/models/observer/ticket/reset_new_state.rb +++ b/app/models/observer/ticket/reset_new_state.rb @@ -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 Observer::Ticket::ResetNewState < ActiveRecord::Observer observe 'ticket::_article' diff --git a/app/models/observer/ticket/stats_reopen.rb b/app/models/observer/ticket/stats_reopen.rb index 9b16c33b4..ca363f012 100644 --- a/app/models/observer/ticket/stats_reopen.rb +++ b/app/models/observer/ticket/stats_reopen.rb @@ -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 Observer::Ticket::StatsReopen < ActiveRecord::Observer load 'stats/ticket_reopen.rb' diff --git a/app/models/observer/ticket/user_ticket_counter.rb b/app/models/observer/ticket/user_ticket_counter.rb index a4f6d40e3..ffa899ac3 100644 --- a/app/models/observer/ticket/user_ticket_counter.rb +++ b/app/models/observer/ticket/user_ticket_counter.rb @@ -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 Observer::Ticket::UserTicketCounter < ActiveRecord::Observer observe 'ticket' diff --git a/app/models/observer/transaction.rb b/app/models/observer/transaction.rb index f8972494b..385263676 100644 --- a/app/models/observer/transaction.rb +++ b/app/models/observer/transaction.rb @@ -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 Observer::Transaction < ActiveRecord::Observer observe :ticket, 'ticket::_article', :user, :organization, :tag diff --git a/app/models/observer/user/geo.rb b/app/models/observer/user/geo.rb index 3c89860ff..9d55129c2 100644 --- a/app/models/observer/user/geo.rb +++ b/app/models/observer/user/geo.rb @@ -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 Observer::User::Geo < ActiveRecord::Observer observe 'user' diff --git a/app/models/observer/user/ref_object_touch.rb b/app/models/observer/user/ref_object_touch.rb index dfb8bfbc2..9c2a76233 100644 --- a/app/models/observer/user/ref_object_touch.rb +++ b/app/models/observer/user/ref_object_touch.rb @@ -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 Observer::User::RefObjectTouch < ActiveRecord::Observer observe 'user' diff --git a/app/models/observer/user/ticket_organization.rb b/app/models/observer/user/ticket_organization.rb index 4e7d45a7a..ee238750a 100644 --- a/app/models/observer/user/ticket_organization.rb +++ b/app/models/observer/user/ticket_organization.rb @@ -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 Observer::User::TicketOrganization < ActiveRecord::Observer observe 'user' diff --git a/app/models/online_notification.rb b/app/models/online_notification.rb index 4ab8365b0..b46c62107 100644 --- a/app/models/online_notification.rb +++ b/app/models/online_notification.rb @@ -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 OnlineNotification < ApplicationModel belongs_to :type_lookup, class_name: 'TypeLookup' diff --git a/app/models/organization.rb b/app/models/organization.rb index 4a73c3c3f..fcebf68c6 100644 --- a/app/models/organization.rb +++ b/app/models/organization.rb @@ -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 Organization < ApplicationModel load 'organization/permission.rb' diff --git a/app/models/organization/assets.rb b/app/models/organization/assets.rb index 6aa8172ce..385834951 100644 --- a/app/models/organization/assets.rb +++ b/app/models/organization/assets.rb @@ -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 Organization module Assets diff --git a/app/models/organization/permission.rb b/app/models/organization/permission.rb index 661134576..e81eb158b 100644 --- a/app/models/organization/permission.rb +++ b/app/models/organization/permission.rb @@ -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 Organization module Permission diff --git a/app/models/organization/search.rb b/app/models/organization/search.rb index 6a609f865..4e367ed4a 100644 --- a/app/models/organization/search.rb +++ b/app/models/organization/search.rb @@ -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 Organization module Search diff --git a/app/models/organization/search_index.rb b/app/models/organization/search_index.rb index 2957deef2..d614a02ec 100644 --- a/app/models/organization/search_index.rb +++ b/app/models/organization/search_index.rb @@ -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 Organization module SearchIndex diff --git a/app/models/overview.rb b/app/models/overview.rb index abfedfd66..cd00442de 100644 --- a/app/models/overview.rb +++ b/app/models/overview.rb @@ -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 Overview < ApplicationModel load 'overview/assets.rb' diff --git a/app/models/overview/assets.rb b/app/models/overview/assets.rb index 72927b0c2..2b43a45eb 100644 --- a/app/models/overview/assets.rb +++ b/app/models/overview/assets.rb @@ -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 Overview module Assets diff --git a/app/models/package.rb b/app/models/package.rb index 665332b1d..4d144ced8 100644 --- a/app/models/package.rb +++ b/app/models/package.rb @@ -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 Package < ApplicationModel @@root = Rails.root.to_s # rubocop:disable Style/ClassVars diff --git a/app/models/permission.rb b/app/models/permission.rb index 4514d314e..c5c529ba9 100644 --- a/app/models/permission.rb +++ b/app/models/permission.rb @@ -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 Permission < ApplicationModel has_and_belongs_to_many :roles diff --git a/app/models/postmaster_filter.rb b/app/models/postmaster_filter.rb index beb454d43..f56bf98ea 100644 --- a/app/models/postmaster_filter.rb +++ b/app/models/postmaster_filter.rb @@ -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 PostmasterFilter < ApplicationModel store :perform diff --git a/app/models/recent_view.rb b/app/models/recent_view.rb index 2f7064c9e..19d900463 100644 --- a/app/models/recent_view.rb +++ b/app/models/recent_view.rb @@ -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 RecentView < ApplicationModel belongs_to :object_lookup, class_name: 'ObjectLookup' diff --git a/app/models/role.rb b/app/models/role.rb index 133208f4a..79d3c0f96 100644 --- a/app/models/role.rb +++ b/app/models/role.rb @@ -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 Role < ApplicationModel has_and_belongs_to_many :users, after_add: :cache_update, after_remove: :cache_update diff --git a/app/models/scheduler.rb b/app/models/scheduler.rb index 560422b56..47ff10290 100644 --- a/app/models/scheduler.rb +++ b/app/models/scheduler.rb @@ -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 Scheduler < ApplicationModel diff --git a/app/models/setting.rb b/app/models/setting.rb index 3e73a1844..5f680f2b8 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -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 Setting < ApplicationModel store :options diff --git a/app/models/signature.rb b/app/models/signature.rb index 4d59520cc..469b6d620 100644 --- a/app/models/signature.rb +++ b/app/models/signature.rb @@ -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 Signature < ApplicationModel has_many :groups, after_add: :cache_update, after_remove: :cache_update diff --git a/app/models/sla.rb b/app/models/sla.rb index af0d2cb66..ebbb3ad08 100644 --- a/app/models/sla.rb +++ b/app/models/sla.rb @@ -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 Sla < ApplicationModel load 'sla/assets.rb' diff --git a/app/models/sla/assets.rb b/app/models/sla/assets.rb index bfb9521a4..abcd257e3 100644 --- a/app/models/sla/assets.rb +++ b/app/models/sla/assets.rb @@ -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 Sla module Assets diff --git a/app/models/stats_store.rb b/app/models/stats_store.rb index 6afe8072e..1048c412c 100644 --- a/app/models/stats_store.rb +++ b/app/models/stats_store.rb @@ -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 StatsStore < ApplicationModel store :data diff --git a/app/models/store.rb b/app/models/store.rb index 4f3a6efcf..a5ea0520c 100644 --- a/app/models/store.rb +++ b/app/models/store.rb @@ -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 Store < ApplicationModel load 'store/object.rb' diff --git a/app/models/store/file.rb b/app/models/store/file.rb index 9f18d03bd..5d5c955f4 100644 --- a/app/models/store/file.rb +++ b/app/models/store/file.rb @@ -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 Store class File < ApplicationModel diff --git a/app/models/store/object.rb b/app/models/store/object.rb index dd6544a87..f12a4a575 100644 --- a/app/models/store/object.rb +++ b/app/models/store/object.rb @@ -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 Store class Object < ApplicationModel diff --git a/app/models/store/provider/db.rb b/app/models/store/provider/db.rb index 55e184a90..c532b75e3 100644 --- a/app/models/store/provider/db.rb +++ b/app/models/store/provider/db.rb @@ -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 Store module Provider diff --git a/app/models/store/provider/file.rb b/app/models/store/provider/file.rb index 5eddd3e34..feb1410f1 100644 --- a/app/models/store/provider/file.rb +++ b/app/models/store/provider/file.rb @@ -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 Store::Provider::File # write file to fs diff --git a/app/models/tag.rb b/app/models/tag.rb index c57af1e9f..415953bd5 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -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 Tag < ApplicationModel belongs_to :tag_object, class_name: 'Tag::Object' diff --git a/app/models/taskbar.rb b/app/models/taskbar.rb index ef3740263..126ff6f3e 100644 --- a/app/models/taskbar.rb +++ b/app/models/taskbar.rb @@ -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 Taskbar < ApplicationModel store :state diff --git a/app/models/template.rb b/app/models/template.rb index 308f68b79..dccc33415 100644 --- a/app/models/template.rb +++ b/app/models/template.rb @@ -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 Template < ApplicationModel store :options diff --git a/app/models/text_module.rb b/app/models/text_module.rb index 713481a9a..c86d8f1e0 100644 --- a/app/models/text_module.rb +++ b/app/models/text_module.rb @@ -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 TextModule < ApplicationModel validates :name, presence: true diff --git a/app/models/ticket.rb b/app/models/ticket.rb index f9e780bf4..8d7a9cce5 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -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 Ticket < ApplicationModel include Ticket::Escalation diff --git a/app/models/ticket/activity_stream_log.rb b/app/models/ticket/activity_stream_log.rb index a20c58b62..939d647dd 100644 --- a/app/models/ticket/activity_stream_log.rb +++ b/app/models/ticket/activity_stream_log.rb @@ -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 Ticket::ActivityStreamLog =begin diff --git a/app/models/ticket/article.rb b/app/models/ticket/article.rb index b4c08605c..240c0ca96 100644 --- a/app/models/ticket/article.rb +++ b/app/models/ticket/article.rb @@ -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 Ticket::Article < ApplicationModel load 'ticket/article/assets.rb' include Ticket::Article::Assets diff --git a/app/models/ticket/article/activity_stream_log.rb b/app/models/ticket/article/activity_stream_log.rb index 843cbd022..8650b16a3 100644 --- a/app/models/ticket/article/activity_stream_log.rb +++ b/app/models/ticket/article/activity_stream_log.rb @@ -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 Ticket::Article::ActivityStreamLog =begin diff --git a/app/models/ticket/article/assets.rb b/app/models/ticket/article/assets.rb index e545ea4fa..28b69a80b 100644 --- a/app/models/ticket/article/assets.rb +++ b/app/models/ticket/article/assets.rb @@ -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 Ticket::Article::Assets diff --git a/app/models/ticket/article/history_log.rb b/app/models/ticket/article/history_log.rb index 66ff3e8c6..72b324d9c 100644 --- a/app/models/ticket/article/history_log.rb +++ b/app/models/ticket/article/history_log.rb @@ -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 Ticket::Article::HistoryLog diff --git a/app/models/ticket/assets.rb b/app/models/ticket/assets.rb index 89de22058..6cb5ade65 100644 --- a/app/models/ticket/assets.rb +++ b/app/models/ticket/assets.rb @@ -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 Ticket::Assets =begin diff --git a/app/models/ticket/counter.rb b/app/models/ticket/counter.rb index ec0aa1d13..00a8b8e16 100644 --- a/app/models/ticket/counter.rb +++ b/app/models/ticket/counter.rb @@ -1,3 +1,3 @@ -# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Ticket::Counter < ApplicationModel end diff --git a/app/models/ticket/escalation.rb b/app/models/ticket/escalation.rb index 8900e4512..34e532162 100644 --- a/app/models/ticket/escalation.rb +++ b/app/models/ticket/escalation.rb @@ -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 Ticket::Escalation =begin diff --git a/app/models/ticket/flag.rb b/app/models/ticket/flag.rb index d50fe5814..e656397fc 100644 --- a/app/models/ticket/flag.rb +++ b/app/models/ticket/flag.rb @@ -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 Ticket::Flag < ApplicationModel end diff --git a/app/models/ticket/history_log.rb b/app/models/ticket/history_log.rb index 46b81afa8..d3b239048 100644 --- a/app/models/ticket/history_log.rb +++ b/app/models/ticket/history_log.rb @@ -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 Ticket::HistoryLog =begin diff --git a/app/models/ticket/number.rb b/app/models/ticket/number.rb index c558b26ca..4dcbba8b6 100644 --- a/app/models/ticket/number.rb +++ b/app/models/ticket/number.rb @@ -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 Ticket::Number include ApplicationLib diff --git a/app/models/ticket/number/date.rb b/app/models/ticket/number/date.rb index 8e57f5b65..a8cddca8c 100644 --- a/app/models/ticket/number/date.rb +++ b/app/models/ticket/number/date.rb @@ -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 Ticket::Number::Date module_function diff --git a/app/models/ticket/number/increment.rb b/app/models/ticket/number/increment.rb index 07db21ec6..567d1358c 100644 --- a/app/models/ticket/number/increment.rb +++ b/app/models/ticket/number/increment.rb @@ -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 Ticket::Number::Increment module_function diff --git a/app/models/ticket/overviews.rb b/app/models/ticket/overviews.rb index ff7ffa366..3909a76b4 100644 --- a/app/models/ticket/overviews.rb +++ b/app/models/ticket/overviews.rb @@ -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 Ticket::Overviews =begin diff --git a/app/models/ticket/permission.rb b/app/models/ticket/permission.rb index 9b59f488a..774ca9fd4 100644 --- a/app/models/ticket/permission.rb +++ b/app/models/ticket/permission.rb @@ -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 Ticket::Permission =begin diff --git a/app/models/ticket/priority.rb b/app/models/ticket/priority.rb index 8bf23b74a..9c7f0448d 100644 --- a/app/models/ticket/priority.rb +++ b/app/models/ticket/priority.rb @@ -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 Ticket::Priority < ApplicationModel self.table_name = 'ticket_priorities' validates :name, presence: true diff --git a/app/models/ticket/screen_options.rb b/app/models/ticket/screen_options.rb index 0fb91865b..9d45784b7 100644 --- a/app/models/ticket/screen_options.rb +++ b/app/models/ticket/screen_options.rb @@ -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 Ticket::ScreenOptions =begin diff --git a/app/models/ticket/search.rb b/app/models/ticket/search.rb index 19418dbc7..aede46d27 100644 --- a/app/models/ticket/search.rb +++ b/app/models/ticket/search.rb @@ -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 Ticket::Search =begin diff --git a/app/models/ticket/search_index.rb b/app/models/ticket/search_index.rb index 4ea84500f..9451ca405 100644 --- a/app/models/ticket/search_index.rb +++ b/app/models/ticket/search_index.rb @@ -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 Ticket::SearchIndex =begin diff --git a/app/models/ticket/state.rb b/app/models/ticket/state.rb index 8770c7b25..b32097aa7 100644 --- a/app/models/ticket/state.rb +++ b/app/models/ticket/state.rb @@ -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 Ticket::State < ApplicationModel belongs_to :state_type, class_name: 'Ticket::StateType' belongs_to :next_state, class_name: 'Ticket::State' diff --git a/app/models/ticket/state_type.rb b/app/models/ticket/state_type.rb index 6df994e30..b35f16fd8 100644 --- a/app/models/ticket/state_type.rb +++ b/app/models/ticket/state_type.rb @@ -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 Ticket::StateType < ApplicationModel has_many :states, class_name: 'Ticket::State' validates :name, presence: true diff --git a/app/models/ticket/subject.rb b/app/models/ticket/subject.rb index a24c8c144..53fc18349 100644 --- a/app/models/ticket/subject.rb +++ b/app/models/ticket/subject.rb @@ -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 Ticket::Subject =begin diff --git a/app/models/token.rb b/app/models/token.rb index 909f38f64..c917ac2c9 100644 --- a/app/models/token.rb +++ b/app/models/token.rb @@ -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 Token < ActiveRecord::Base before_create :generate_token diff --git a/app/models/transaction/background_job.rb b/app/models/transaction/background_job.rb index 761026866..e8a71ef2b 100644 --- a/app/models/transaction/background_job.rb +++ b/app/models/transaction/background_job.rb @@ -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 Transaction::BackgroundJob def initialize(item, params = {}) diff --git a/app/models/transaction/clearbit_enrichment.rb b/app/models/transaction/clearbit_enrichment.rb index 8e8ea859a..1fc292078 100644 --- a/app/models/transaction/clearbit_enrichment.rb +++ b/app/models/transaction/clearbit_enrichment.rb @@ -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 Transaction::ClearbitEnrichment diff --git a/app/models/transaction/cti_caller_id_detection.rb b/app/models/transaction/cti_caller_id_detection.rb index 314cb735d..186d4f8e6 100644 --- a/app/models/transaction/cti_caller_id_detection.rb +++ b/app/models/transaction/cti_caller_id_detection.rb @@ -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 'signature_detection' class Transaction::CtiCallerIdDetection diff --git a/app/models/transaction/karma.rb b/app/models/transaction/karma.rb index fab593f32..c90d8be8c 100644 --- a/app/models/transaction/karma.rb +++ b/app/models/transaction/karma.rb @@ -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 Transaction::Karma diff --git a/app/models/transaction/notification.rb b/app/models/transaction/notification.rb index 09e90e4d5..81104332b 100644 --- a/app/models/transaction/notification.rb +++ b/app/models/transaction/notification.rb @@ -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 Transaction::Notification diff --git a/app/models/transaction/signature_detection.rb b/app/models/transaction/signature_detection.rb index b2aac65c1..607627f08 100644 --- a/app/models/transaction/signature_detection.rb +++ b/app/models/transaction/signature_detection.rb @@ -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 'signature_detection' class Transaction::SignatureDetection diff --git a/app/models/transaction/slack.rb b/app/models/transaction/slack.rb index 963575347..459b94c05 100644 --- a/app/models/transaction/slack.rb +++ b/app/models/transaction/slack.rb @@ -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 Transaction::Slack diff --git a/app/models/transaction/trigger.rb b/app/models/transaction/trigger.rb index d79ae6a16..90fff8c26 100644 --- a/app/models/transaction/trigger.rb +++ b/app/models/transaction/trigger.rb @@ -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 Transaction::Trigger diff --git a/app/models/translation.rb b/app/models/translation.rb index 6237f1dd8..7371ea8ea 100644 --- a/app/models/translation.rb +++ b/app/models/translation.rb @@ -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 Translation < ApplicationModel before_create :set_initial diff --git a/app/models/trigger.rb b/app/models/trigger.rb index 63be32c7b..2cd3940ff 100644 --- a/app/models/trigger.rb +++ b/app/models/trigger.rb @@ -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 Trigger < ApplicationModel store :condition diff --git a/app/models/type_lookup.rb b/app/models/type_lookup.rb index d10394687..095db3762 100644 --- a/app/models/type_lookup.rb +++ b/app/models/type_lookup.rb @@ -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 TypeLookup < ApplicationModel @@cache_object = {} # rubocop:disable Style/ClassVars diff --git a/app/models/user.rb b/app/models/user.rb index 0360cee8c..bfd0e97fc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 'digest/md5' diff --git a/app/models/user/assets.rb b/app/models/user/assets.rb index e0934f803..ba2aee81e 100644 --- a/app/models/user/assets.rb +++ b/app/models/user/assets.rb @@ -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 User module Assets diff --git a/app/models/user/permission.rb b/app/models/user/permission.rb index 4729ea5cf..9b443c943 100644 --- a/app/models/user/permission.rb +++ b/app/models/user/permission.rb @@ -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 User module Permission diff --git a/app/models/user/search.rb b/app/models/user/search.rb index 89e8f0565..1b6c54332 100644 --- a/app/models/user/search.rb +++ b/app/models/user/search.rb @@ -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 User module Search diff --git a/app/models/user/search_index.rb b/app/models/user/search_index.rb index c0e13b0aa..a420ead22 100644 --- a/app/models/user/search_index.rb +++ b/app/models/user/search_index.rb @@ -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 User module SearchIndex diff --git a/app/models/user_device.rb b/app/models/user_device.rb index 6da4e7cf1..402a25ea9 100644 --- a/app/models/user_device.rb +++ b/app/models/user_device.rb @@ -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 UserDevice < ApplicationModel store :device_details diff --git a/lib/auth.rb b/lib/auth.rb index b02f087f0..3a4c9ecae 100644 --- a/lib/auth.rb +++ b/lib/auth.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Auth include ApplicationLib diff --git a/lib/auth/developer.rb b/lib/auth/developer.rb index bdc26edc3..dd2f566a1 100644 --- a/lib/auth/developer.rb +++ b/lib/auth/developer.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Auth::Developer def self.check(username, password, _config, user) diff --git a/lib/auth/internal.rb b/lib/auth/internal.rb index 3aa9121d1..4eaf8b500 100644 --- a/lib/auth/internal.rb +++ b/lib/auth/internal.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Auth::Internal def self.check(username, password, _config, user) diff --git a/lib/auth/ldap.rb b/lib/auth/ldap.rb index aa91fb21c..686bc7a3d 100644 --- a/lib/auth/ldap.rb +++ b/lib/auth/ldap.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ require 'net/ldap' diff --git a/lib/calendar_subscriptions.rb b/lib/calendar_subscriptions.rb index 984b374f7..efb20ce81 100644 --- a/lib/calendar_subscriptions.rb +++ b/lib/calendar_subscriptions.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class CalendarSubscriptions diff --git a/lib/calendar_subscriptions/tickets.rb b/lib/calendar_subscriptions/tickets.rb index 2a5151c8e..631538042 100644 --- a/lib/calendar_subscriptions/tickets.rb +++ b/lib/calendar_subscriptions/tickets.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class CalendarSubscriptions::Tickets diff --git a/lib/search_index_backend.rb b/lib/search_index_backend.rb index 76e4f7d1c..321d81f38 100644 --- a/lib/search_index_backend.rb +++ b/lib/search_index_backend.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class SearchIndexBackend diff --git a/lib/service/geo_calendar.rb b/lib/service/geo_calendar.rb index 0cabe01c3..a32333e44 100644 --- a/lib/service/geo_calendar.rb +++ b/lib/service/geo_calendar.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Service class GeoCalendar diff --git a/lib/service/geo_calendar/zammad.rb b/lib/service/geo_calendar/zammad.rb index 7b01d2422..688b46c86 100644 --- a/lib/service/geo_calendar/zammad.rb +++ b/lib/service/geo_calendar/zammad.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ require 'cache' diff --git a/lib/service/geo_ip.rb b/lib/service/geo_ip.rb index 34cc03521..eb1c9898a 100644 --- a/lib/service/geo_ip.rb +++ b/lib/service/geo_ip.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Service class GeoIp diff --git a/lib/service/geo_ip/zammad.rb b/lib/service/geo_ip/zammad.rb index 00925de50..973879da9 100644 --- a/lib/service/geo_ip/zammad.rb +++ b/lib/service/geo_ip/zammad.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ require 'cache' diff --git a/lib/service/geo_location.rb b/lib/service/geo_location.rb index 2db9f0dd7..27c526379 100644 --- a/lib/service/geo_location.rb +++ b/lib/service/geo_location.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Service class GeoLocation diff --git a/lib/service/geo_location/gmaps.rb b/lib/service/geo_location/gmaps.rb index 2e688e5a8..6b2dbbfba 100644 --- a/lib/service/geo_location/gmaps.rb +++ b/lib/service/geo_location/gmaps.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Service::GeoLocation::Gmaps diff --git a/lib/service/image.rb b/lib/service/image.rb index 6936d41a9..b7a51082b 100644 --- a/lib/service/image.rb +++ b/lib/service/image.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Service class Image diff --git a/lib/service/image/zammad.rb b/lib/service/image/zammad.rb index bdf0bbd02..69003529b 100644 --- a/lib/service/image/zammad.rb +++ b/lib/service/image/zammad.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Service::Image::Zammad diff --git a/lib/sso.rb b/lib/sso.rb index ea18e21d1..7f960e409 100644 --- a/lib/sso.rb +++ b/lib/sso.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Sso include ApplicationLib diff --git a/lib/sso/env.rb b/lib/sso/env.rb index 92cbc6c4d..974891041 100644 --- a/lib/sso/env.rb +++ b/lib/sso/env.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ module Sso::Env def self.check( _params, _config_item ) diff --git a/lib/stats.rb b/lib/stats.rb index 580fdeeb8..0b994953a 100644 --- a/lib/stats.rb +++ b/lib/stats.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ require 'stats_store' diff --git a/lib/stats/ticket_channel_distribution.rb b/lib/stats/ticket_channel_distribution.rb index 6a73f4e31..b75b35e18 100644 --- a/lib/stats/ticket_channel_distribution.rb +++ b/lib/stats/ticket_channel_distribution.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketChannelDistribution diff --git a/lib/stats/ticket_escalation.rb b/lib/stats/ticket_escalation.rb index 0562eedc6..95a58275a 100644 --- a/lib/stats/ticket_escalation.rb +++ b/lib/stats/ticket_escalation.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketEscalation diff --git a/lib/stats/ticket_in_process.rb b/lib/stats/ticket_in_process.rb index 97ef92788..c8efc14f2 100644 --- a/lib/stats/ticket_in_process.rb +++ b/lib/stats/ticket_in_process.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketInProcess diff --git a/lib/stats/ticket_load_measure.rb b/lib/stats/ticket_load_measure.rb index 8315e9b83..f92524f3c 100644 --- a/lib/stats/ticket_load_measure.rb +++ b/lib/stats/ticket_load_measure.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketLoadMeasure diff --git a/lib/stats/ticket_reopen.rb b/lib/stats/ticket_reopen.rb index b73dab3db..220960221 100644 --- a/lib/stats/ticket_reopen.rb +++ b/lib/stats/ticket_reopen.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketReopen diff --git a/lib/stats/ticket_response_time.rb b/lib/stats/ticket_response_time.rb index bf458cf93..8a1ac73f8 100644 --- a/lib/stats/ticket_response_time.rb +++ b/lib/stats/ticket_response_time.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ class Stats::TicketResponseTime diff --git a/lib/user_agent.rb b/lib/user_agent.rb index 16459a691..c1b504898 100644 --- a/lib/user_agent.rb +++ b/lib/user_agent.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ require 'net/http' require 'net/https' diff --git a/script/local_browser_tests.sh b/script/local_browser_tests.sh index 9900a72c7..13a6bede2 100755 --- a/script/local_browser_tests.sh +++ b/script/local_browser_tests.sh @@ -12,6 +12,8 @@ done #export RAILS_ENV=test export RAILS_ENV=production export RAILS_SERVE_STATIC_FILES=true +export ZAMMAD_SETTING_TTL=15 +export Z_LOCALES=en-us:de-de bundle install @@ -38,11 +40,12 @@ rails r "Setting.set('developer_mode', true)" pumactl --pidfile tmp/pids/puma.pid stop script/websocket-server.rb stop -rails s puma -d --pid tmp/pids/puma.pid --bind 0.0.0.0 --port 4445 +#rails s puma -d --pid tmp/pids/puma.pid --bind 0.0.0.0 --port 4445 +rails s puma --pid tmp/pids/puma.pid --bind 0.0.0.0 --port 4445 & script/websocket-server.rb start -d script/scheduler.rb start -sleep 10 +sleep 16 #export REMOTE_URL='http://medenhofer:765d0dd4-994b-4e15-9f89-13f3aedeb462@ondemand.saucelabs.com:80/wd/hub' BROWSER_OS='Windows 2012' BROWSER_VERSION=35 BROWSER=firefox #export REMOTE_URL='http://192.168.178.32:4444/wd/hub' diff --git a/script/scheduler.rb b/script/scheduler.rb index 757126d6f..b4252b866 100755 --- a/script/scheduler.rb +++ b/script/scheduler.rb @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ $LOAD_PATH << './lib' require 'rubygems' diff --git a/script/websocket-server.rb b/script/websocket-server.rb index d9e693f24..541aba103 100755 --- a/script/websocket-server.rb +++ b/script/websocket-server.rb @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ +# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/ $LOAD_PATH << './lib' require 'rubygems'