Initial commit

This commit is contained in:
Gregory Soutade 2014-11-19 08:01:12 +01:00
parent ac211e30ea
commit d2d37d9c90
5 changed files with 159 additions and 216 deletions

View File

@ -12,7 +12,7 @@ display_visitor_ip = True
# Hooks used
pre_analysis_hooks = ['page_to_hit', 'robots']
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'top_hits']#, 'reverse_dns']
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits', 'referers_diff']
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits']
# Reverse DNS timeout
reverse_dns_timeout = 0.2

View File

@ -175,6 +175,34 @@ iwla
None
plugins.display.top_downloads
-----------------------------
Display hook
Create TOP downloads page
Plugin requirements :
post_analysis/top_downloads
Conf values needed :
max_downloads_displayed*
create_all_downloads_page*
Output files :
OUTPUT_ROOT/year/month/top_downloads.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.all_visits
--------------------------
@ -202,6 +230,34 @@ plugins.display.all_visits
None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.referers
------------------------
@ -233,50 +289,20 @@ plugins.display.referers
None
plugins.display.top_downloads
-----------------------------
plugins.display.top_visitors
----------------------------
Display hook
Create TOP downloads page
Create TOP visitors block
Plugin requirements :
post_analysis/top_downloads
None
Conf values needed :
max_downloads_displayed*
create_all_downloads_page*
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/top_downloads.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
@ -317,41 +343,43 @@ plugins.display.top_pages
None
plugins.display.top_visitors
----------------------------
plugins.post_analysis.top_downloads
-----------------------------------
Display hook
Post analysis hook
Create TOP visitors block
Count TOP downloads
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
None
Output files :
OUTPUT_ROOT/year/month/index.html
None
Statistics creation :
None
Statistics update :
None
month_stats:
top_downloads =>
uri
Statistics deletion :
None
plugins.display.referers_diff
-----------------------------
plugins.post_analysis.top_hits
------------------------------
Display hook
Post analysis hook
Enlight new and updated key phrases in in all_key_phrases.html
Count TOP hits
Plugin requirements :
display/referers
None
Conf values needed :
None
@ -363,7 +391,9 @@ plugins.display.referers_diff
None
Statistics update :
None
month_stats:
top_hits =>
uri
Statistics deletion :
None
@ -435,62 +465,6 @@ plugins.post_analysis.reverse_dns
None
plugins.post_analysis.top_downloads
-----------------------------------
Post analysis hook
Count TOP downloads
Plugin requirements :
None
Conf values needed :
None
Output files :
None
Statistics creation :
None
Statistics update :
month_stats:
top_downloads =>
uri
Statistics deletion :
None
plugins.post_analysis.top_hits
------------------------------
Post analysis hook
Count TOP hits
Plugin requirements :
None
Conf values needed :
None
Output files :
None
Statistics creation :
None
Statistics update :
month_stats:
top_hits =>
uri
Statistics deletion :
None
plugins.post_analysis.top_pages
-------------------------------

View File

@ -83,6 +83,34 @@ iwla
None
plugins.display.top_downloads
-----------------------------
Display hook
Create TOP downloads page
Plugin requirements :
post_analysis/top_downloads
Conf values needed :
max_downloads_displayed*
create_all_downloads_page*
Output files :
OUTPUT_ROOT/year/month/top_downloads.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.all_visits
--------------------------
@ -110,6 +138,34 @@ plugins.display.all_visits
None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.referers
------------------------
@ -141,50 +197,20 @@ plugins.display.referers
None
plugins.display.top_downloads
-----------------------------
plugins.display.top_visitors
----------------------------
Display hook
Create TOP downloads page
Create TOP visitors block
Plugin requirements :
post_analysis/top_downloads
None
Conf values needed :
max_downloads_displayed*
create_all_downloads_page*
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/top_downloads.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
@ -225,41 +251,43 @@ plugins.display.top_pages
None
plugins.display.top_visitors
----------------------------
plugins.post_analysis.top_downloads
-----------------------------------
Display hook
Post analysis hook
Create TOP visitors block
Count TOP downloads
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
None
Output files :
OUTPUT_ROOT/year/month/index.html
None
Statistics creation :
None
Statistics update :
None
month_stats:
top_downloads =>
uri
Statistics deletion :
None
plugins.display.referers_diff
-----------------------------
plugins.post_analysis.top_hits
------------------------------
Display hook
Post analysis hook
Enlight new and updated key phrases in in all_key_phrases.html
Count TOP hits
Plugin requirements :
display/referers
None
Conf values needed :
None
@ -271,7 +299,9 @@ plugins.display.referers_diff
None
Statistics update :
None
month_stats:
top_hits =>
uri
Statistics deletion :
None
@ -343,62 +373,6 @@ plugins.post_analysis.reverse_dns
None
plugins.post_analysis.top_downloads
-----------------------------------
Post analysis hook
Count TOP downloads
Plugin requirements :
None
Conf values needed :
None
Output files :
None
Statistics creation :
None
Statistics update :
month_stats:
top_downloads =>
uri
Statistics deletion :
None
plugins.post_analysis.top_hits
------------------------------
Post analysis hook
Count TOP hits
Plugin requirements :
None
Conf values needed :
None
Output files :
None
Statistics creation :
None
Statistics update :
month_stats:
top_hits =>
uri
Statistics deletion :
None
plugins.post_analysis.top_pages
-------------------------------

View File

@ -190,14 +190,14 @@ class IWLADisplayReferers(IPlugin):
# All key phrases in a file
if self.create_all_key_phrases:
title = createCurTitle(self.iwla, u'All Key Phrases')
title = createCurTitle(self.iwla, u'Key Phrases')
filename = 'key_phrases.html'
path = self.iwla.getCurDisplayPath(filename)
total_search = [0]*2
page = display.createPage(title, path, self.iwla.getConfValue('css_path', []))
table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'Key phrases'), [self.iwla._(u'Key phrase'), self.iwla._(u'Search')])
table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'Top key phrases'), [self.iwla._(u'Key phrase'), self.iwla._(u'Search')])
table.setColsCSSClass(['', 'iwla_search'])
new_list = self.max_key_phrases and top_key_phrases[:self.max_key_phrases] or top_key_phrases
for phrase in new_list:

View File

@ -69,9 +69,6 @@ td:first-child
.iwla_weekend { background : #ECECEC; }
.iwla_curday { font-weight: bold; }
.iwla_others { color: #668; }
.iwla_update { background : orange; }
.iwla_new { background : green }
.iwla_graph_table
{
margin-left:auto;
@ -88,5 +85,3 @@ table.iwla_graph_table td
{
text-align:center;
}
iframe {outline:none; border:0px; width:100%; height:500px; display:block;}