hide map for Character groups Quest Stations when there are no stations
This commit is contained in:
commit
df14dfafc3
4371 changed files with 1220224 additions and 0 deletions
17
www/analytics/js/.htaccess
Normal file
17
www/analytics/js/.htaccess
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<Files "*">
|
||||
<IfModule mod_access.c>
|
||||
Allow from all
|
||||
Require all granted
|
||||
</IfModule>
|
||||
<IfModule !mod_access_compat>
|
||||
<IfModule mod_authz_host.c>
|
||||
Allow from all
|
||||
Require all granted
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
<IfModule mod_access_compat>
|
||||
Allow from all
|
||||
Require all granted
|
||||
</IfModule>
|
||||
Satisfy any
|
||||
</Files>
|
||||
32
www/analytics/js/LICENSE.txt
Normal file
32
www/analytics/js/LICENSE.txt
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
Copyright 2013 Anthon Pang
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of Anthon Pang nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
View online: http://piwik.org/free-software/bsd/
|
||||
58
www/analytics/js/README.md
Normal file
58
www/analytics/js/README.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
## Introduction
|
||||
|
||||
The js/ folder contains:
|
||||
|
||||
* index.php - a servlet described below
|
||||
* piwik.js - the uncompressed piwik.js source for you to study or reference
|
||||
* README.md - this documentation file
|
||||
|
||||
### Why Use "js/index.php"?
|
||||
|
||||
* js/index.php (or implicitly as "js/") can be used to serve up the minified
|
||||
piwik.js
|
||||
|
||||
* it supports conditional-GET and Last-Modified, so piwik.js can be cached
|
||||
by the browser
|
||||
* it supports deflate/gzip compression if your web server (e.g., Apache
|
||||
without mod_deflate or mod_gzip), shrinking the data transfer to 8K
|
||||
|
||||
* js/index.php (or implicitly as "js/") can also act as a proxy to piwik.php
|
||||
|
||||
* If you are concerned about the impact of browser-based privacy filters which
|
||||
attempt to block tracking, you can change your tracking code to use "js/"
|
||||
instead of "piwik.js" and "piwik.php", respectively.
|
||||
|
||||
## Deployment
|
||||
|
||||
* piwik.js is minified using YUICompressor 2.4.2.
|
||||
To install YUICompressor run:
|
||||
|
||||
```
|
||||
$ cd /path/to/piwik/js/
|
||||
$ wget http://www.julienlecomte.net/yuicompressor/yuicompressor-2.4.2.zip
|
||||
$ unzip yuicompressor-2.4.2.zip
|
||||
```
|
||||
|
||||
To compress the code containing the evil "eval", either apply the patch from
|
||||
http://yuilibrary.com/projects/yuicompressor/ticket/2343811,
|
||||
or run:
|
||||
|
||||
```
|
||||
$ cd /path/to/piwik/js/
|
||||
$ sed '/<DEBUG>/,/<\/DEBUG>/d' < piwik.js | sed 's/eval/replacedEvilString/' | java -jar yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --type js --line-break 1000 | sed 's/replacedEvilString/eval/' | sed 's/^[/][*]/\/*!/' > piwik-min.js && cp piwik-min.js ../piwik.js
|
||||
```
|
||||
|
||||
This will generate the minify /path/to/piwik/js/piwik-min.js and copy it to
|
||||
/path/to/piwik/piwik.js
|
||||
|
||||
* In a production environment, the tests/javascript folder is not used and can
|
||||
be removed (if present).
|
||||
|
||||
Note: if the file "js/tests/enable_sqlite" exists, additional unit tests
|
||||
(requires the sqlite extension) are enabled.
|
||||
|
||||
* We use /*! to include Piwik's license header in the minified source. Read
|
||||
Stallman's "The JavaScript Trap" for more information.
|
||||
|
||||
* We do not include the version number as a security best practice
|
||||
(information disclosure).
|
||||
37
www/analytics/js/index.php
Normal file
37
www/analytics/js/index.php
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*/
|
||||
use Piwik\ProxyHttp;
|
||||
|
||||
/**
|
||||
* Tracker proxy
|
||||
*/
|
||||
if($_SERVER['REQUEST_METHOD'] == 'POST' || !empty($_SERVER['QUERY_STRING'])) {
|
||||
include '../piwik.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* piwik.js proxy
|
||||
*
|
||||
* @see core/Piwik.php
|
||||
*/
|
||||
define('PIWIK_INCLUDE_PATH', '..');
|
||||
define('PIWIK_DOCUMENT_ROOT', '..');
|
||||
define('PIWIK_USER_PATH', '..');
|
||||
|
||||
require_once PIWIK_INCLUDE_PATH . '/libs/upgradephp/upgrade.php';
|
||||
require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';
|
||||
|
||||
$file = '../piwik.js';
|
||||
|
||||
|
||||
$daysExpireFarFuture = 10;
|
||||
|
||||
ProxyHttp::serverStaticFile($file, "application/javascript; charset=UTF-8", $daysExpireFarFuture);
|
||||
|
||||
exit;
|
||||
3280
www/analytics/js/piwik.js
Normal file
3280
www/analytics/js/piwik.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue