Commit Graph

164 Commits

Author SHA1 Message Date
Gregory Soutade
4d3c2107f0 Don't save all visitors requests into database (save space and computing). Can be changed in deufalt_conf.py with keep_requests value 2022-06-23 21:16:30 +02:00
Gregory Soutade
9cee1fa71c Move Filter Users plugin into pre_analysis (and keep display part) 2022-06-23 21:14:58 +02:00
5130b1f6d8 Bad 2to3 python conversion : map() function needs to be included into list() operator. If not, they're only analyzed once 2021-08-06 08:45:04 +02:00
Gregory Soutade
937706d88d Fix typo 2021-06-04 07:51:15 +02:00
Gregory Soutade
0c2ac431d1 Be more strict with robots : requires at least 1 hit per viewed page 2021-06-03 08:52:04 +02:00
Gregory Soutade
4cd7712201 Fix feeds re and add 'feeds_referers' configuration 2021-06-03 08:50:46 +02:00
Gregory Soutade
8697be26ad Update feed detector : check 'feed', 'rss' or 'atom' string in user agent 2021-04-01 08:22:52 +02:00
Gregory Soutade
0602d3ce4b Fix little errors 2020-12-11 12:18:21 +01:00
a6f8c71bf2 Add parameter to do strToBytes in BlockTable and fix some errors with string and int 2020-12-11 09:18:50 +01:00
141f2691db Replace track_users by filter_users plugin 2020-12-09 21:12:19 +01:00
c0e3e0a801 Update code for Python3 2020-12-09 13:24:29 +01:00
f457f4e390 Update code for Python3 2020-10-30 14:42:56 +01:00
6f9622bb91 Bugfix : iptogeo : _send_request that must handles timeout errors (empty packets) was not used 2020-05-11 10:03:07 +02:00
Gregory Soutade
bb268114b2 Make backup before compressing (low memory servers)
Fix error : Call post hook plugins even in display only mode
Don't compute unordered hits (remove pasts if they are found after current)
Remove tags in stats diff
Don't do geolocalisation is visitor is not valid
Don't try to find search engine on robots
Update robot check rules
Add top_pages_diff plugin
2019-08-30 07:50:54 +02:00
Gregory Soutade
8255be7ec8 Get GEO code for all visits (not only valid ones) 2017-09-06 07:43:55 +02:00
Gregory Soutade
9f9bfebe7a ip_to_geo : reset connection after 50 requests 2017-09-05 07:34:27 +02:00
Gregory Soutade
007be71ad6 New format for (not_)viewed pages/hits and bandwidth that are now recorded by day (in a dictionnary were only element 0 is initialized). Element 0 is the total. WARNING : not backward compatible with previous databases. 2017-08-24 07:55:53 +02:00
Gregory Soutade
3b3ae1ea3e Fix KeyError : geo attribute can not exists 2017-08-23 20:10:15 +02:00
Gregory Soutade
68a67adecc Add one more rule to robot detection : more than ten 404 pages viewed 2017-05-25 21:04:18 +02:00
Gregory Soutade
038e485081 Prevent from error when decoding key phrases 2017-01-29 09:12:47 +01:00
Gregory Soutade
dc4695f539 Add robot bandwidth display plugin 2016-09-25 20:38:49 +02:00
e805e59c10 Remove crawler from feed parsers 2016-08-20 13:08:02 +02:00
Gregory Soutade
fdda7a527e Bug fix : for robots, we have to use not_viewed_pages (feeds plugin) 2016-05-02 07:54:53 +02:00
Gregory Soutade
9a593713d1 Add real names to icons/flags instead of generic ones 2016-04-12 09:35:03 +02:00
Gregory Soutade
bc2556fbc1 Revert commit 19e9b9d4fb, multiple top visitors included 2016-04-12 09:23:07 +02:00
Gregory Soutade
4baa0e6f5c Add alternative text for icons/flags 2016-04-12 08:17:34 +02:00
Gregory Soutade
e9c2509006 Update iptogeo.py class 2016-04-12 07:56:10 +02:00
Gregory Soutade
9bb188b6fc Check for presence of country_code field to avoid key error exception 2016-02-07 10:17:32 +01:00
Gregory Soutade
19e9b9d4fb Forgot to append block in all_visits plugin 2016-02-07 10:16:33 +01:00
Gregory Soutade
4dbcef661f Update ChangeLog 2016-02-06 14:47:47 +01:00
Gregory Soutade
7a655616ec Add IPToGeo plugin 2016-02-06 14:41:41 +01:00
Gregory Soutade
bb189425f1 Add filter mechanism for plugins 2016-02-04 20:46:12 +01:00
Gregory Soutade
79da471398 Fix typo error in getCurrentVisits() method name 2016-02-04 20:44:36 +01:00
Gregory Soutade
519033e474 Do reverse DNS on feeds parsers 2016-01-18 07:33:48 +01:00
Gregory Soutade
4cb3b21ca5 Add reset feature
Allow to open .gz file transparently
Import debug in robots.py
2015-05-22 07:51:11 +02:00
Gregory Soutade
62be78845a Add debug traces in robots plugin 2015-05-13 18:13:18 +02:00
Gregory Soutade
157868dc3e Update istats_diff, the key used in hashtable can be changed (using uri() for example) 2015-04-08 14:04:59 +02:00
Gregory Soutade
651a7b9566 Add display/top_downloads_diff plugin 2015-04-06 17:55:11 +02:00
Gregory Soutade
ee184f86b5 Add has_subclasses checks for iplugins (prevent for loading parent class) 2015-04-06 17:54:44 +02:00
Gregory Soutade
df78a3f4cb [pre_analysis/robots] Don't checks for /robots.txt request, but endswith /robots.txt for robot detection 2015-04-06 17:52:31 +02:00
1c3fc1c06d Update locales 2015-03-02 19:46:08 +01:00
f853ad808e Add hours_stats plugin 2015-03-02 19:44:10 +01:00
6949235fc4 Some CSS classes where not set 2015-03-02 18:32:15 +01:00
root
1f6154107c Forgot one parameter in feeds plugin 2015-02-19 20:13:55 +01:00
Gregory Soutade
f5b0c35bad Add a star for merged feeds parsers 2015-02-18 20:56:03 +01:00
Gregory Soutade
cfbd35d818 Merge one hit only parsers in feeds parsers detection 2015-02-18 20:32:04 +01:00
Gregory Soutade
e0f9260802 Add Feeds plugin 2015-02-17 19:11:04 +01:00
Gregory Soutade
bcdb68b0d4 Bad indentation in browsers display plugin 2015-02-08 10:07:50 +01:00
Gregory Soutade
f3fbf8b727 Add pages and hits to track_users 2015-02-07 15:28:24 +01:00
Gregory Soutade
e67723e58e Fix some bugs in track_users 2015-01-14 20:19:19 +01:00
Gregory Soutade
511ca49397 Add track users plugin 2015-01-13 18:57:26 +01:00
Gregory Soutade
616b0d8052 Add computeRatio method to display. Enable it in browsers display plugin 2015-01-13 18:55:46 +01:00
Gregory Soutade
1d9bf71b4b Set arguments of page_to_hit facultative 2015-01-13 18:54:57 +01:00
Gregory Soutade
9d3f7c05a4 Optimize top_downloads post analysis plugin 2015-01-13 18:54:22 +01:00
Gregory Soutade
3fb1b897ea Remove one s in operating systems plugin 2015-01-13 18:53:50 +01:00
Gregory Soutade
4c74a14037 Filter robot with *bot* and *crawl* re 2015-01-11 18:06:44 +01:00
Gregory Soutade
00ad08a201 Add try/catch in browsers display plugin in case of an icon doesn't exists) 2015-01-11 18:06:18 +01:00
Gregory Soutade
2baf4173fd Add Browsers post analysis and display 2015-01-08 21:01:33 +01:00
Gregory Soutade
a40f116c71 Add Operating Systems post analysis and display 2015-01-08 20:59:11 +01:00
Gregory Soutade
9a1c23ec78 Update documentation of some plugins 2015-01-08 20:58:27 +01:00
Gregory Soutade
f1fb8cb674 Merge with origin:dev 2014-12-31 14:22:46 +01:00
Gregory Soutade
a17bbbccf8 Merge with origin:master 2014-12-23 15:03:40 +01:00
Gregory Soutade
0a2494cb70 Initial commit 2014-12-23 07:48:25 +01:00
Gregory Soutade
c56bb65b4f Page title not translated in key_phrases.html 2014-12-22 09:38:20 +01:00
Gregory Soutade
15047f91f1 First version of referers_diff 2014-12-21 15:36:39 +01:00
ea32f7f0ae Append domain_name in pages title 2014-12-19 17:50:45 +01:00
Grégory Soutadé
a35d462cb7 Replace # for module description by """ (help auto extraction) 2014-12-19 11:34:25 +01:00
e740bf1e45 Add licence information 2014-12-18 19:54:31 +01:00
a74a6b8469 Display 'Others' when max displayed reached 2014-12-17 21:27:31 +01:00
ccab40b4e1 Replace g.gettext by iwla._
Add createCurTitle() to factorize code
2014-12-17 20:31:59 +01:00
c278ff30f0 Use g.gettext for translations 2014-12-17 19:00:42 +01:00
Grégory Soutadé
28d3e9765f Set reverse DNS names in lower case 2014-12-16 07:38:57 +01:00
Gregory Soutade
3a246d5cd6 Optimize analysis using reverse loop 2014-12-14 15:10:13 +01:00
e012dc1b24 Add max_x_displayed and create_x_page parameters for most display plugins 2014-12-11 21:13:24 +01:00
6d62f21373 Finalize comments 2014-12-10 21:15:56 +01:00
Grégory Soutadé
2d1e363883 WIP 2014-12-10 16:53:50 +01:00
4f1c09867d WIP 2014-12-10 07:09:05 +01:00
Grégory Soutadé
751a9b3fae Start big comments (post analysis / referers) 2014-12-09 16:54:02 +01:00
Grégory Soutadé
010c16caca Give iwla to each display class
Add generic functions createPage() and createBlock() in DisplayHTMLBuild
Add and display IWLA version
2014-12-08 14:13:26 +01:00
Grégory Soutadé
fd858034fb Add Others field in index 2014-12-05 16:03:09 +01:00
2362fd1fd2 Fix unicode problems
Add generateHTMLLink()
2014-12-04 21:04:41 +01:00
Gregory Soutade
81c3aa8099 Try to manage CSS path 2014-11-30 19:05:17 +01:00
Grégory Soutadé
1b4f9c0ad5 Add First CSS 2014-11-28 16:02:04 +01:00
3858127a6d Work on CSS management 2014-11-27 21:40:23 +01:00
d2b0d0dae6 Fully rework display with CSS style inclusion 2014-11-27 19:38:41 +01:00
Grégory Soutadé
02233f2f37 Replace getCurDisplayRoot() by getCurDisplayPath() 2014-11-27 14:29:25 +01:00
Grégory Soutadé
ce4bca056d Store files in month directory 2014-11-27 14:11:47 +01:00
Grégory Soutadé
f7bf2e11ba Add top_hits plugin 2014-11-27 13:47:31 +01:00
Grégory Soutadé
c87ddfb1aa Add hit_to_page_conf in addition to page_to_hit_conf 2014-11-27 13:46:58 +01:00
Grégory Soutadé
5ccc63c7ae Add hasBeenViewed() function 2014-11-27 13:07:14 +01:00
Grégory Soutadé
e0d6b5dbbc Add top_downloads plugin 2014-11-27 12:35:41 +01:00
Grégory Soutadé
9fbc5448bc Add conf_requires.
Load plugins in order
2014-11-27 12:34:42 +01:00
Grégory Soutadé
dd8349ab08 Add option count_hit_only_visitors and function isValidForCurrentAnalysis() 2014-11-27 09:01:51 +01:00
6b0ed18f35 Remove viewed limitation in page_to_hit : skip good requests 2014-11-26 22:06:58 +01:00
5e965f4cc1 Add top_pages plugin 2014-11-26 22:03:19 +01:00
f8a48a7144 Split referers plugin in post_analysis and display
Remove post_analysis top_visitors (done in display)
2014-11-26 21:06:36 +01:00
fec5e375e4 Remove iwla parameter in hook functions 2014-11-26 20:31:13 +01:00
9571bf09b6 Work with time 2014-11-26 19:53:00 +01:00
92533cc244 Fix key_phrases 2014-11-26 19:33:08 +01:00
Grégory Soutadé
e6b31fbf8a WIP 2014-11-26 16:56:33 +01:00