diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt index e0ceea9..d986301 100644 --- a/COPYRIGHT.txt +++ b/COPYRIGHT.txt @@ -1,7 +1,7 @@ Redmine Google Analytics is a Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles. -Copyright (C) 2008 Eric Davis, Little Stream Software +Copyright (C) 2008-2012 Eric Davis, Little Stream Software This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/CREDITS.txt b/CREDITS.txt index ba5e5b9..9082a18 100644 --- a/CREDITS.txt +++ b/CREDITS.txt @@ -1,9 +1,11 @@ Thanks go to the following people for patches and contributions: -Maintainers - -* Eric Davis of Little Stream Software - Contributors +* Eric Davis of Little Stream Software * Gergő Jónás +* rkallensee https://github.com/rkallensee/redmine-google-analytics-plugin +* Makoto Kawasaki http://makotokw.com +* Tobias Fischer (pagina GmbH): https://github.com/paginagmbh +* Marcelo Romulo Fernandes +* Michael Pirogov \ No newline at end of file diff --git a/README.rdoc b/README.rdoc index 297c3a4..6550353 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,31 +1,31 @@ = Redmine Google Analytics Plugins -Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles. +Redmine plugin to insert a Google Analytics (or e.g. Piwik) tracking code into Redmine based on user roles. + == Features -Adds your Google Analytics code to every pageview depending on your User roles; Anonymous user, Authenticated User, and Administrator. +Adds your Google Analytics (or e.g. Piwik) code to every pageview depending on your User roles; Anonymous user, Authenticated User, and/or Administrator. -== Installation and Setup -1. Download the plugin. There are three supported ways: - * Downloading the latest archive file from Little Stream Software projects (https://projects.littlestreamsoftware.com) - * Checkout the source from Git +== Installation and Setup - git clone git://github.com/edavis10/redmine-google-analytics-plugin.git vendor/plugins/google_analytics_plugin +This plugin version requires Redmine >= 2.0.0! - * Install it using Rail's plugin installer +1. Change in the plugin directory of your redmine installation + cd /your_redmine_root/plugins/ +2. Download the plugin. There are two supported ways: + * Downloading the latest archive file from the GitHub project page: + wget https://github.com/paginagmbh/redmine-google-analytics-plugin/archive/master.zip + * Checkout the sources from Git: + git clone git://github.com/paginagmbh/redmine-google-analytics-plugin.git plugins/google_analytics_plugin +3. Restart your redmine webserver +4. Login to your Redmine install as an Administrator. +5. Configure your settings in _Administration_ > _Plugins_ > [Google Analytics plugin] - _Configure_ - script/plugin install git://github.com/edavis10/redmine-google-analytics-plugin.git +You have to paste the complete Google Analytics or e.g. Piwik tracking code, including the HTML script tags, into the field. -2. Login to your Redmine install as an Administrator. -3. Configure your settings in Administration > Information > Configure == License -This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details. - -== Project help - -If you need help you can contact the maintainer at the Bug Tracker. The bug tracker is located at https://projects.littlestreamsoftware.com - +This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details. diff --git a/Rakefile b/Rakefile index 5e9a2ce..be42e99 100755 --- a/Rakefile +++ b/Rakefile @@ -12,17 +12,16 @@ begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "google_analytics_plugin" - s.summary = "Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles." + s.summary = "Redmine plugin to insert a Google Analytics (or e.g. Piwik) tracking code into Redmine based on user roles." s.email = "edavis@littlestreamsoftware.com" s.homepage = "https://projects.littlestreamsoftware.com/projects/TODO" - s.description = "Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles." + s.description = "Redmine plugin to insert a Google Analytics (or e.g. Piwik) tracking code into Redmine based on user roles." s.authors = ["Eric Davis"] s.rubyforge_project = "google_analytics_plugin" # TODO s.files = FileList[ "[A-Z]*", "init.rb", - "rails/init.rb", - "{bin,generators,lib,test,app,assets,config,lang}/**/*", + "{bin,generators,lib,test,app,assets,config}/**/*", 'lib/jeweler/templates/.gitignore' ] end diff --git a/VERSION b/VERSION index 0ea3a94..f2b3082 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 +0.3.0-beta diff --git a/app/views/settings/_google_analytics_settings.rhtml b/app/views/settings/_google_analytics_settings.html.erb similarity index 94% rename from app/views/settings/_google_analytics_settings.rhtml rename to app/views/settings/_google_analytics_settings.html.erb index 56234df..6f7008c 100644 --- a/app/views/settings/_google_analytics_settings.rhtml +++ b/app/views/settings/_google_analytics_settings.html.erb @@ -1,5 +1,5 @@
- <%= l(:google_analytics_directions) %> + <%= raw l(:google_analytics_directions) %>
diff --git a/config/locales/de.yml b/config/locales/de.yml new file mode 100644 index 0000000..99800bc --- /dev/null +++ b/config/locales/de.yml @@ -0,0 +1,6 @@ +de: + google_analytics_directions: Bitte den Google Analytics-JavaScript-Code in das Textfeld einfügen und die gewünschten Tracking-Optionen auswählen. + google_analytics_code_label: Google Analytics-Code (inklusive