7 Commits

Author SHA1 Message Date
Ilya Shakhat
656bce0238 Split huge wep.py into several modules
* Extract all vault functions
* Extract decorators and parameter processing functions
* Extract helper functions
* Extract reports and turn them into Flask Blueprints
* Move report templates under report/ subfolder

Change-Id: I19914731bb6506eb8d37c56edb52c5a796d01f6f
2013-10-27 15:08:43 +04:00
Ilya Shakhat
2a7ee69fb8 Long URLs are diluted with zero-width whitespaces
Zero-width spaces affect wrapping the same way as normal spaces but have no width.
Also added moved text formatting code into utils.

Closes bug 1229723

Change-Id: If6de83b6bf4125e8d48de203fe2d5cd935b20757
2013-09-24 18:23:01 +04:00
Ilya Shakhat
240e9406b4 Implemented report of blueprint activity
* Introduced report that shows blueprint details followed by list
of commits, emails and reviews related to that blueprint
* Mail body is stored in runtime storage
* External links are opened in new window/tab

Implements blueprint report-blueprint-activity

Change-Id: I1515d7fc51a4b46932fc15551c94f0fa6b16e4ed
2013-09-24 12:05:29 +04:00
Ilya Shakhat
e4cfd89959 Added page title and description meta header
Partially fixes bug 1215919

Change-Id: Id1ddf10ed216422c8052ec42c5ecba67c19bb000
2013-08-23 19:35:16 +04:00
Ilya Shakhat
4a3649523e Minor UI enhancements
* Removed unused styles
* 'More' button is added to module activity log
* Formatter for commit message is improved

Closes bug 1214360

Change-Id: Ifab95dbc604ac9d1d8f08e2a5db0a03bda167a55
2013-08-20 17:16:59 +04:00
Ilya Shakhat
5c554a35f9 Implemented review processing and stats calculation
* Added review control system module that retrieves reviews from Gerrit
* Refactored runtime storage not to depend on storage contents
* Refactored commit processor and new review processor is added
* Review record processor spawns reviews and marks
* Memory storage is made able to store reviews along with commits
* Migrated to hacking-0.6
* Marks are processed in contribution details and shown on engineer details screen

Implements blueprint review-stats

Change-Id: I80b70de372752cd3d1790da1904c0d423d61e81a
2013-07-29 17:35:19 +04:00
Ilya Shakhat
6d89020cab Implementation of blueprint stackalytics-core
* Corrected work with default parameters
* Fixed module and engineer details screens
* Map all robots to *robots company

Change-Id: I989e09c04c12f3a0a9035a8ddcd730d93d0ce12f
2013-07-11 14:10:16 +04:00