Changeset 4005 for Serveur


Ignore:
Timestamp:
09/21/10 17:58:25 (9 years ago)
Author:
kent1
Message:

Normalement on est bon là

Location:
Serveur/trac/TracPiwik
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • Serveur/trac/TracPiwik/LICENSE

    r3995 r4005  
    1 Copyright (C) 2008 Unfinished Software, UfSoft.org
    2 All rights reserved.
     1TracPiwik - Trac plugin to enable your trac environment to be logged by a Piwik server
     2Copyright (C) 2010 kent1 <kent1@arscenic.info>
    33
    4 Redistribution and use in source and binary forms, with or without
    5 modification, are permitted provided that the following conditions
    6 are met:
     4This program is free software: you can redistribute it and/or modify
     5it under the terms of the GNU General Public License as published by
     6the Free Software Foundation, either version 3 of the License, or
     7(at your option) any later version.
    78
    8  1. Redistributions of source code must retain the above copyright
    9     notice, this list of conditions and the following disclaimer.
    10  2. Redistributions in binary form must reproduce the above copyright
    11     notice, this list of conditions and the following disclaimer in
    12     the documentation and/or other materials provided with the
    13     distribution.
    14  3. The name of the author may not be used to endorse or promote
    15     products derived from this software without specific prior
    16     written permission.
     9This program is distributed in the hope that it will be useful,
     10but WITHOUT ANY WARRANTY; without even the implied warranty of
     11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12GNU General Public License for more details.
    1713
    18 THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS
    19 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    20 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    21 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
    22 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    23 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
    24 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    25 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
    26 IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    27 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
    28 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     14You should have received a copy of the GNU General Public License
     15along with this program.  If not, see <http://www.gnu.org/licenses/>.
     16
  • Serveur/trac/TracPiwik/PKG-INFO

    r4000 r4005  
    22Name: TracPiwik
    33Version: 0.0.1
    4 Summary: Trac plugin to enable your trac environment to be logged by Piwik
    5 Home-page:
     4Summary: Trac plugin to enable your trac environment to be logged by a Piwik server
     5Home-page: http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des?var_mode=recalcul#configuration
    66Author: kent1
    7 Author-email: kent1@arscenic.org
    8 License: BSD
     7Author-email: kent1@arscenic.info
     8License: GNU/GPL v3
    99Download-URL: http://python.org/pypi/TracPiwik
    1010Description: Trac Piwik Plugin
     
    2323        ::
    2424       
    25         sudo easy_install TracGoogleAnalytics
     25        sudo easy_install TracPiwik
    2626       
    2727       
     
    3636       
    3737        Configuration
    38         -------------
    39        
    40         The necessary configuration is:
    41         * **UID**: Google Analytics' UID. The UID is needed for Google Analytics to
    42         log your website stats. Your UID can be found by looking in the JavaScript
    43         Google Analytics gives you to put on your page. Look for your UID in
    44         between the javascript::
    45        
    46         var pageTracker = _gat._getTracker("UA-111111-11");
    47        
    48         In this example you would put **UA-11111-1** in the UID box.
    49        
    50         There are other, more advanced configuration options:
    51         * **admin_logging**: Disabling this option will prevent all logged in
    52         ``TRAC_ADMIN``'s from showing up on your Google Analytics reports.
    53         * **authenticated_logging**: Disabling this option will prevent all
    54         authenticated users from showing up on your Google Analytics reports.
    55         * **outbound_link_tracking**: Disabling this option will turn off the
    56         tracking of outbound links.
    57         It's recommended not to disable this option unless you're a privacy
    58         advocate (now why would you be using Google Analytics in the first place?)
    59         or it's causing some kind of weird issue.
    60         * **google_external_path**: This will be the path shown on Google Analytics
    61         regarding external links. Consider the following link::
    62        
    63         <a href="http://trac.edgewall.org/">Trac</a>
    64        
    65         The above link will be shown as::
    66        
    67         /external/trac.edgewall.org/
    68        
    69         This way you will be able to track outgoing links. Outbound link tracking
    70         must be enabled for external links to be tracked.
    71         * **extensions**: Enter any extensions of files you would like to be tracked
    72         as a download. For example to track all MP3s and PDFs enter **mp3,pdf**.
    73         Outbound link tracking must be enabled for downloads to be tracked.
    74         * **tracking_domain_name**: If you're tracking multiple subdomains with the
    75         same Google Analytics profile, like what's talked about here_, enter your
    76         main domain here. For more info, please visit the previous link.
    77        
    78        
    79         Bugs and/or New Features
    80         ------------------------
    81        
    82         Please submit bugs of new features to::
    83        
    84         http://google.ufsoft.org/
    85        
    86        
    87         Source Code
    88         -----------
    89        
    90         If you wish to be on the bleeding edge and get the latest available code:
    91        
    92         ::
    93        
    94         hg clone http://google.ufsoft.org/hg/analytics/ TracGoogleAnalytics
    95        
    96        
    97         **Note**: For up-to-date documentation please visit TracGoogleAnalytics_'s site.
    98        
    99        
    100         .. _here: https://www.google.com/support/googleanalytics/bin/answer.py?answer=55524
    101         .. _EasyInstall: http://peak.telecommunity.com/DevCenter/EasyInstall
    102         .. _Google: http://www.google.com
    103         .. _TracGoogleAnalytics: http://google.ufsoft.org/wiki/TracGoogleAnalytics
    104         .. _Google Analytics Plugin: http://devnull.ufsoft.org/wiki/TracGoogleAnalytics
    105         .. _other trac plugins: http://google.ufsoft.org/
     38                -------------
     39               
     40                The necessary configuration is:
     41                 * **Tracking server** : Consist on the URL of the Piwik server without the "http://" or "https://"
     42                 and without the trailing slash (ex: piwik.mydomain.org)
     43                 * **Tracking site** : Consist on the Piwik's tracked site ID.
     44                 This ID is needed to know which site is tracked.
     45               
     46               
     47                Bugs and/or New Features
     48                ------------------------
     49               
     50                Please submit bugs of new features to::
     51               
     52                  http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
     53               
     54               
     55                Source Code
     56                -----------
     57               
     58                To get the latest available code:
     59               
     60                .. sourcecode:: sh
     61               
     62                  svn co http://svn.aires-de-confluxence.info/svn/Serveur/trac/TracPiwik
     63               
     64               
     65                **Note**: For up-to-date documentation please visit TracPiwik's Documentation.
     66               
     67                This plugin is based on the TracGoogleAnalytics from Pedro Algarvio <ufs@ufsoft.org>
     68               
     69                .. _EasyInstall : http://peak.telecommunity.com/DevCenter/EasyInstall
     70                .. _Piwik : http://www.piwik.org
     71                .. _TracPiwik documentation : http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
     72                .. _TracPiwik Plugin : http://svn.aires-de-confluxence.info/trac/browser/Serveur/trac/TracPiwik
    10673       
    10774Keywords: trac plugin piwik analytics
  • Serveur/trac/TracPiwik/README.txt

    r3995 r4005  
    55trac environment to be logged by Piwik.
    66
    7 It ads the necessary javascript code to log your environment, plus, it also
    8 logs the downloads of regular filenames which end with a specific extension;
    9 these extensions are defined by you; and also external links.
     7It ads the necessary javascript code to log your environment.
    108
    119Download and Install
     
    1614.. sourcecode:: sh
    1715
    18   sudo easy_install TracGoogleAnalytics
     16  sudo easy_install TracPiwik
    1917
    2018
     
    3230
    3331The necessary configuration is:
    34  * **UID**: Google Analytics' UID. The UID is needed for Google Analytics to
    35    log your website stats. Your UID can be found by looking in the JavaScript
    36    Google Analytics gives you to put on your page. Look for your UID in
    37    between the javascript::
    38 
    39      var pageTracker = _gat._getTracker("UA-111111-11");
    40 
    41    In this example you would put **UA-11111-1** in the UID box.
    42 
    43 There are other, more advanced configuration options:
    44  * **admin_logging**: Disabling this option will prevent all logged in
    45    ``TRAC_ADMIN``'s from showing up on your Google Analytics reports.
    46  * **authenticated_logging**: Disabling this option will prevent all
    47    authenticated users from showing up on your Google Analytics reports.
    48  * **outbound_link_tracking**: Disabling this option will turn off the
    49    tracking of outbound links.
    50    It's recommended not to disable this option unless you're a privacy
    51    advocate (now why would you be using Google Analytics in the first place?)
    52    or it's causing some kind of weird issue.
    53  * **google_external_path**: This will be the path shown on Google Analytics
    54    regarding external links. Consider the following link::
    55 
    56      <a href="http://trac.edgewall.org/">Trac</a>
    57 
    58    The above link will be shown as::
    59 
    60       /external/trac.edgewall.org/
    61 
    62    This way you will be able to track outgoing links. Outbound link tracking
    63    must be enabled for external links to be tracked.
    64  * **extensions**: Enter any extensions of files you would like to be tracked
    65    as a download. For example to track all MP3s and PDFs enter **mp3,pdf**.
    66    Outbound link tracking must be enabled for downloads to be tracked.
    67  * **tracking_domain_name**: If you're tracking multiple subdomains with the
    68    same Google Analytics profile, like what's talked about here_, enter your
    69    main domain here. For more info, please visit the previous link.
     32 * **Tracking server** : Consist on the URL of the Piwik server without the "http://" or "https://"
     33 and without the trailing slash (ex: piwik.mydomain.org)
     34 * **Tracking site** : Consist on the Piwik's tracked site ID.
     35 This ID is needed to know which site is tracked.
    7036
    7137
     
    7541Please submit bugs of new features to::
    7642
    77   http://google.ufsoft.org/
     43  http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
    7844
    7945
     
    8147-----------
    8248
    83 If you wish to be on the bleeding edge and get the latest available code:
     49To get the latest available code:
    8450
    8551.. sourcecode:: sh
    8652
    87   hg clone http://google.ufsoft.org/hg/analytics/ TracGoogleAnalytics
     53  svn co http://svn.aires-de-confluxence.info/svn/Serveur/trac/TracPiwik
    8854
    8955
    90 **Note**: For up-to-date documentation please visit TracGoogleAnalytics_'s site.
     56**Note**: For up-to-date documentation please visit TracPiwik's Documentation.
    9157
     58This plugin is based on the TracGoogleAnalytics from Pedro Algarvio <ufs@ufsoft.org>
    9259
    93 .. _here: https://www.google.com/support/googleanalytics/bin/answer.py?answer=55524
    94 .. _EasyInstall: http://peak.telecommunity.com/DevCenter/EasyInstall
    95 .. _Google: http://www.google.com
    96 .. _TracGoogleAnalytics: http://google.ufsoft.org/wiki/TracGoogleAnalytics
    97 .. _Google Analytics Plugin: http://devnull.ufsoft.org/wiki/TracGoogleAnalytics
    98 .. _other trac plugins: http://google.ufsoft.org/
     60.. _EasyInstall : http://peak.telecommunity.com/DevCenter/EasyInstall
     61.. _Piwik : http://www.piwik.org
     62.. _TracPiwik documentation : http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
     63.. _TracPiwik Plugin : http://svn.aires-de-confluxence.info/trac/browser/Serveur/trac/TracPiwik
  • Serveur/trac/TracPiwik/TracPiwik.egg-info/PKG-INFO

    r4000 r4005  
    22Name: TracPiwik
    33Version: 0.0.1
    4 Summary: Trac plugin to enable your trac environment to be logged by Piwik
    5 Home-page:
     4Summary: Trac plugin to enable your trac environment to be logged by a Piwik server
     5Home-page: http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des?var_mode=recalcul#configuration
    66Author: kent1
    7 Author-email: kent1@arscenic.org
    8 License: BSD
     7Author-email: kent1@arscenic.info
     8License: GNU/GPL v3
    99Download-URL: http://python.org/pypi/TracPiwik
    1010Description: Trac Piwik Plugin
     
    2323        ::
    2424       
    25         sudo easy_install TracGoogleAnalytics
     25        sudo easy_install TracPiwik
    2626       
    2727       
     
    3636       
    3737        Configuration
    38         -------------
     38                -------------
     39               
     40                The necessary configuration is:
     41                 * **Tracking server** : Consist on the URL of the Piwik server without the "http://" or "https://"
     42                 and without the trailing slash (ex: piwik.mydomain.org)
     43                 * **Tracking site** : Consist on the Piwik's tracked site ID.
     44                 This ID is needed to know which site is tracked.
     45               
     46               
     47                Bugs and/or New Features
     48                ------------------------
     49               
     50                Please submit bugs of new features to::
     51               
     52                  http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
     53               
     54               
     55                Source Code
     56                -----------
     57               
     58                To get the latest available code:
     59               
     60                .. sourcecode:: sh
     61               
     62                  svn co http://svn.aires-de-confluxence.info/svn/Serveur/trac/TracPiwik
     63               
     64               
     65                **Note**: For up-to-date documentation please visit TracPiwik's Documentation.
     66               
     67                This plugin is based on the TracGoogleAnalytics from Pedro Algarvio <ufs@ufsoft.org>
     68               
     69                .. _EasyInstall : http://peak.telecommunity.com/DevCenter/EasyInstall
     70                .. _Piwik : http://www.piwik.org
     71                .. _TracPiwik documentation : http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des
     72                .. _TracPiwik Plugin : http://svn.aires-de-confluxence.info/trac/browser/Serveur/trac/TracPiwik
    3973       
    40         The necessary configuration is:
    41         * **UID**: Google Analytics' UID. The UID is needed for Google Analytics to
    42         log your website stats. Your UID can be found by looking in the JavaScript
    43         Google Analytics gives you to put on your page. Look for your UID in
    44         between the javascript::
    45        
    46         var pageTracker = _gat._getTracker("UA-111111-11");
    47        
    48         In this example you would put **UA-11111-1** in the UID box.
    49        
    50         There are other, more advanced configuration options:
    51         * **admin_logging**: Disabling this option will prevent all logged in
    52         ``TRAC_ADMIN``'s from showing up on your Google Analytics reports.
    53         * **authenticated_logging**: Disabling this option will prevent all
    54         authenticated users from showing up on your Google Analytics reports.
    55         * **outbound_link_tracking**: Disabling this option will turn off the
    56         tracking of outbound links.
    57         It's recommended not to disable this option unless you're a privacy
    58         advocate (now why would you be using Google Analytics in the first place?)
    59         or it's causing some kind of weird issue.
    60         * **google_external_path**: This will be the path shown on Google Analytics
    61         regarding external links. Consider the following link::
    62        
    63         <a href="http://trac.edgewall.org/">Trac</a>
    64        
    65         The above link will be shown as::
    66        
    67         /external/trac.edgewall.org/
    68        
    69         This way you will be able to track outgoing links. Outbound link tracking
    70         must be enabled for external links to be tracked.
    71         * **extensions**: Enter any extensions of files you would like to be tracked
    72         as a download. For example to track all MP3s and PDFs enter **mp3,pdf**.
    73         Outbound link tracking must be enabled for downloads to be tracked.
    74         * **tracking_domain_name**: If you're tracking multiple subdomains with the
    75         same Google Analytics profile, like what's talked about here_, enter your
    76         main domain here. For more info, please visit the previous link.
    77        
    78        
    79         Bugs and/or New Features
    80         ------------------------
    81        
    82         Please submit bugs of new features to::
    83        
    84         http://google.ufsoft.org/
    85        
    86        
    87         Source Code
    88         -----------
    89        
    90         If you wish to be on the bleeding edge and get the latest available code:
    91        
    92         ::
    93        
    94         hg clone http://google.ufsoft.org/hg/analytics/ TracGoogleAnalytics
    95        
    96        
    97         **Note**: For up-to-date documentation please visit TracGoogleAnalytics_'s site.
    98        
    99        
    100         .. _here: https://www.google.com/support/googleanalytics/bin/answer.py?answer=55524
    101         .. _EasyInstall: http://peak.telecommunity.com/DevCenter/EasyInstall
    102         .. _Google: http://www.google.com
    103         .. _TracGoogleAnalytics: http://google.ufsoft.org/wiki/TracGoogleAnalytics
    104         .. _Google Analytics Plugin: http://devnull.ufsoft.org/wiki/TracGoogleAnalytics
    105         .. _other trac plugins: http://google.ufsoft.org/
    106        
    107 Keywords: trac plugin google analytics
     74Keywords: trac plugin piwik analytics
    10875Platform: UNKNOWN
    10976Classifier: Framework :: Trac
  • Serveur/trac/TracPiwik/tracext/piwik/__init__.py

    r4000 r4005  
    22# vim: sw=4 ts=4 fenc=utf-8 et
    33# ==============================================================================
    4 # Copyright © 2010 kent1 <kent1@arscenic.org>
     4# Copyright © 2010 kent1 <kent1@arscenic.info>
    55#
    66# Please view LICENSE for additional licensing information.
     
    99__version__     = '0.0.1'
    1010__author__      = 'kent1'
    11 __email__       = 'kent1@arscenic.org'
     11__email__       = 'kent1@arscenic.info'
    1212__package__     = 'TracPiwik'
    13 __license__     = 'BSD'
    14 __url__         = ''
     13__license__     = 'GNU/GPL v3'
     14__url__         = 'http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des'
    1515__summary__     = 'Trac plugin to enable your trac environment to be logged' + \
    16                   ' by Piwik'
     16                  ' by a Piwik server'
    1717
    1818import pkg_resources
  • Serveur/trac/TracPiwik/tracext/piwik/admin.py

    r4003 r4005  
    22# vim: sw=4 ts=4 fenc=utf-8 et
    33# ==============================================================================
    4 # Copyright © 2008 UfSoft.org - Pedro Algarvio <ufs@ufsoft.org>
     4# Copyright © 2010 kent1 <kent1@arscenic.info>
    55#
    66# Please view LICENSE for additional licensing information.
  • Serveur/trac/TracPiwik/tracext/piwik/web_ui.py

    r4004 r4005  
    22# vim: sw=4 ts=4 fenc=utf-8 et
    33# ==============================================================================
    4 # Copyright © 2010 kent1 <kent1@arscenic.org>
     4# Copyright © 2010 kent1 <kent1@arscenic.info>
    55#
    66# Please view LICENSE for additional licensing information.
Note: See TracChangeset for help on using the changeset viewer.