Revision 243

Date:
2008/10/01 21:03:14
Author:
dpavlin
Revision Log:
added new modes to hold stats about strix instance usage
Files:

Legend:

 
Added
 
Removed
 
Modified
  • etc/config.yml

     
    14 14 Password: 'a3c'
    15 15 RecordBaseClass: Jifty::DBI::Record::Cachable
    16 16 User: 'a3c'
    17 Version: 0.0.5
    17 Version: 0.0.6
    18 18 DevelMode: 1
    19 19 L10N:
    20 20 PoDir: share/po
  • lib/A3C/Model/StrixChange.pm

     
    1 use strict;
    2 use warnings;
    3
    4 package A3C::Model::StrixChange;
    5 use Jifty::DBI::Schema;
    6
    7 use A3C::Record schema {
    8
    9 column instance =>
    10 label is _('Instance identifier'),
    11 is mandatory,
    12 is disctinct,
    13 is immutable,
    14 is indexed;
    15
    16 column modifications =>
    17 label is _('Content modifications'),
    18 type is 'int';
    19 is mandatory;
    20
    21 };
    22
    23 sub since { '0.0.6' }
    24
    25 # Your model-specific methods go here.
    26
    27 use A3C::DefaultACL;
    28
    29 1;
    30
  • lib/A3C/Model/StrixVisit.pm

     
    1 use strict;
    2 use warnings;
    3
    4 package A3C::Model::StrixVisit;
    5 use Jifty::DBI::Schema;
    6
    7 use A3C::Record schema {
    8
    9 column instance =>
    10 label is _('Instance identifier'),
    11 is mandatory,
    12 is disctinct,
    13 is immutable,
    14 is indexed;
    15
    16 column hits =>
    17 label is _('Visits'),
    18 type is 'int';
    19 is mandatory;
    20
    21 };
    22
    23 sub since { '0.0.6' }
    24
    25 # Your model-specific methods go here.
    26
    27 use A3C::DefaultACL;
    28
    29 1;
    30