Updated header.

This commit is contained in:
Martin Edenhofer 2014-02-03 20:24:49 +01:00
parent d18ef99f78
commit e5c35021ac
39 changed files with 49 additions and 46 deletions

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
class ApplicationController < ActionController::Base
# http_basic_authenticate_with :name => "test", :password => "ttt"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
class SessionsController < ApplicationController
@ -40,12 +40,12 @@ class SessionsController < ApplicationController
logon_session_key = nil
if params['logon_session']
logon_session_key = Digest::MD5.hexdigest( rand(999999).to_s + Time.new.to_s )
# session = ActiveRecord::SessionStore::Session.create(
# :session_id => logon_session_key,
# :data => {
# :user_id => user['id']
# }
# )
# session = ActiveRecord::SessionStore::Session.create(
# :session_id => logon_session_key,
# :data => {
# :user_id => user['id']
# }
# )
end
# return new session data

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
class TicketsController < ApplicationController
before_filter :authentication_check
@ -153,7 +153,7 @@ class TicketsController < ApplicationController
.limit(6)
# get related assets
ticket_ids_by_customer = []
ticket_ids_by_customer = []
ticket_list.each {|ticket|
ticket_ids_by_customer.push ticket.id
assets = ticket.assets(assets)

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
class TranslationsController < ApplicationController
before_filter :authentication_check, :except => [:load]
@ -32,4 +32,4 @@ class TranslationsController < ApplicationController
def destroy
model_destory_render(Translation, params)
end
end
end

View file

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