Indefero

Indefero Commit Details


Date:2009-03-29 00:01:32 (15 years 8 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:96784b6e7cbead1bb5fd43fc0481f3f591e73f8c
Parents: 37cb05ff381a9ed3afb7e49dcf22a6d9857e8687
Message:Started again the work on the review.

Changes:

File differences

src/IDF/Review.php
3232
3333
3434
35
36
37
38
39
40
41
42
43
3544
3645
3746
......
7180
7281
7382
74
83
7584
7685
7786
7887
79
88
8089
8190
8291
*
* The real content of the review is in the IDF_Review_Patch which
* contains a given patch and associated comments from reviewers.
*
* Basically the hierarchy of the models is:
* - Review > Patch > Comment > Comment on file
*
* For each review, one can have several patches. Each patch, is
* getting a series of comments. A comment is tracking the state
* change in the review (like the issue comments). For each comment,
* we have a series of file comments. The file comments are associated
* to the a given modified file in the patch.
*/
class IDF_Review extends Pluf_Model
{
'verbose' => __('submitter'),
'relate_name' => 'submitted_review',
),
'reviewers' =>
'interested' =>
array(
'type' => 'Pluf_DB_Field_Manytomany',
'model' => 'Pluf_User',
'blank' => true,
'help_text' => 'Reviewers will get an email notification when the review is changed.',
'help_text' => 'Interested users will get an email notification when the review is changed.',
),
'tags' =>
array(
src/IDF/Review/Patch.php
2424
2525
2626
27
28
29
30
2731
2832
2933
/**
* A patch to be reviewed.
*
* A patch can be marked as being directly the commit, in that case
* the patch does not store the diff file as it can be retrieved from
* the backend.
*
*/
class IDF_Review_Patch extends Pluf_Model
{
src/IDF/conf/idf.php-dist
161161
162162
163163
164
165
164
165
166166
167167
168168
# are using SQLite.
#
# The extension of the downloads are limited. You can add extra
# extensions here.
# $cfg['idf_extra_upload_ext'] = 'ext1 ext2';
# extensions here. It must start with a space.
# $cfg['idf_extra_upload_ext'] = ' ext1 ext2';
#
# By default, the size of the downloads is limited to 2MB.
# $cfg['max_upload_size'] = 2097152; // Size in bytes

Archive Download the corresponding diff file

Page rendered in 0.08690s using 13 queries.