stable

Clone or download

Read-only

Display git read access in frequency graph

This is part of story #9436: see git repositories read access As site admin, go to plugins ยป statistics ยป frequencies. * You should see a new entry in the select box: 'Git read access' (this is not localized because all statistics are in en_US only). * When you select 'Git read access', you see a bar chart for all git read access of your plateform. Technical note: The schema changes: stats are not anymore saved by day. We store now one entry per read access. (In B.I. we prefer to store raw data and process them like we want afterwards). This is asked by acceptance criteria and considerably ease the write of the Frequency graph (no need to write a custom query). Change-Id: Ia141f09533c2a02b0cba531700ad5543719f09e1

Modified Files

Name
M plugins/git/db/install.sql +2 โˆ’3 Go to diff View file
A plugins/git/db/mysql/updates/2016/201610051400_use_timestamp_in_stats.php +52 โˆ’0 Go to diff View file
A plugins/git/include/Git/Statistics/FrequenciesSample.php +33 โˆ’0 Go to diff View file
M plugins/git/include/History/Dao.php +4 โˆ’5 Go to diff View file
M plugins/git/include/History/GitPhpAccessLogger.php +1 โˆ’4 Go to diff View file
M plugins/git/include/autoload.php +3 โˆ’2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +32 โˆ’1 Go to diff View file
M plugins/statistics/www/frequence_stat.php +1 โˆ’1 Go to diff View file