• Sean McGivern's avatar
    Add user cohorts table to admin area · 81022d76
    Sean McGivern authored
    This table shows the percentage of users who registered in the last
    twelve months, who last signed in during or later than each of those
    twelve months, by month.
    
    It is only enabled when the usage ping is enabled, and the page also
    shows pretty-printed usage ping data.
    
    The cohorts table is generated in Ruby from some basic SQL queries,
    because performing the gap-filling and running sums needed in both MySQL
    and Postgres is painful.
    81022d76
admin.rb 2.91 KB