Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Done the project issues list view

  • Loading branch information...
commit 363c5ffe57ee739ae22eaaf2a350d210420e7e55 1 parent 8948faf
Filippo authored
Showing with 1,620 additions and 1,484 deletions.
  1. BIN  data/phpcollab_unit_test.db
  2. +3 −0  nbproject/private/private.xml
  3. +7 −0 plugins/idProjectManagementPlugin/config/doctrine/schema.yml
  4. +13 −0 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginIssueReferenceForm.class.php
  5. +13 −0 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginIssueUserForm.class.php
  6. +13 −0 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginProjectUserForm.class.php
  7. +13 −0 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginProjectsTrackersForm.class.php
  8. +3 −0  plugins/idProjectManagementPlugin/lib/form/idIssueForm.class.php
  9. +6 −1 plugins/idProjectManagementPlugin/lib/model/doctrine/PluginIssue.class.php
  10. +2 −0  plugins/idProjectManagementPlugin/lib/model/doctrine/PluginIssueTable.class.php
  11. +10 −0 plugins/idProjectManagementPlugin/lib/model/doctrine/PluginMilestone.class.php
  12. +22 −16 plugins/idProjectManagementPlugin/modules/idDashboard/templates/_milestone_boxes.php
  13. +1 −0  plugins/idProjectManagementPlugin/modules/idIssue/actions/actions.class.php
  14. +27 −0 plugins/idProjectManagementPlugin/modules/idIssue/actions/components.class.php
  15. +4 −0 plugins/idProjectManagementPlugin/modules/idIssue/config/view.yml
  16. +9 −0 plugins/idProjectManagementPlugin/modules/idIssue/templates/_sidebar.php
  17. +47 −8 plugins/idProjectManagementPlugin/modules/idIssue/templates/indexSuccess.php
  18. +4 −2 plugins/idProjectManagementPlugin/modules/idLogtime/templates/indexSuccess.php
  19. +121 −0 test/fixtures/comment.yml
  20. +19 −1,355 test/fixtures/fixtures.yml
  21. +49 −0 test/fixtures/issue_user.yml
  22. +285 −0 test/fixtures/issues.yml
  23. +76 −0 test/fixtures/logtime.yml
  24. +13 −0 test/fixtures/message.yml
  25. +46 −0 test/fixtures/milestones.yml
  26. +7 −0 test/fixtures/priorities.yml
  27. +37 −0 test/fixtures/profiles.yml
  28. +10 −0 test/fixtures/project_trackers.yml
  29. +44 −0 test/fixtures/project_user.yml
  30. +48 −0 test/fixtures/projects.yml
  31. +58 −0 test/fixtures/related_issues.yml
  32. +13 −0 test/fixtures/sfGuardGroup.yml
  33. +298 −0 test/fixtures/sfGuardGroupPermission.yml
  34. +133 −0 test/fixtures/sfGuardPermission.yml
  35. +76 −0 test/fixtures/sfGuardUser.yml
  36. +22 −0 test/fixtures/sfGuardUserGroup.yml
  37. +17 −0 test/fixtures/statuses.yml
  38. +7 −0 test/fixtures/tracker.yml
  39. +6 −5 test/functional/fe/idProjectIssueCreateAssociateWithMilestoneTest.php
  40. +1 −4 test/functional/fe/idProjectIssueCreateTest.php
  41. +1 −1  test/functional/fe/idProjectIssueCreateValidationTest.php
  42. +10 −8 test/functional/fe/idProjectIssueDeleteTest.php
  43. +1 −2  test/functional/fe/idProjectIssueEditTest.php
  44. +24 −37 test/functional/fe/idProjectIssueViewListPaginatedTest.php
  45. +0 −44 test/functional/fe/idProjectIssueViewListTest.php
  46. +1 −1  test/functional/fe/idProjectIssueWithMilestoneValidationTest.php
BIN  data/phpcollab_unit_test.db
View
Binary file not shown
3  nbproject/private/private.xml
View
@@ -6,4 +6,7 @@
<line>13</line>
</file>
</editor-bookmarks>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
+ <file>file:/var/www/giugno/test/functional/fe/idProjectIssueCreateTest.php</file>
+ </open-files>
</project-private>
7 plugins/idProjectManagementPlugin/config/doctrine/schema.yml
View
@@ -93,6 +93,13 @@ Milestone:
Issue:
actAs:
+ Timestampable:
+ created:
+ name: created_at
+ type: timestamp
+ updated:
+ name: updated_at
+ type: timestamp
EstimateTime:
estimatedtime:
name: estimated_time
13 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginIssueReferenceForm.class.php
View
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * PluginIssueReference form.
+ *
+ * @package ##PROJECT_NAME##
+ * @subpackage form
+ * @author ##AUTHOR_NAME##
+ * @version SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
+ */
+abstract class PluginIssueReferenceForm extends BaseIssueReferenceForm
+{
+}
13 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginIssueUserForm.class.php
View
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * PluginIssueUser form.
+ *
+ * @package ##PROJECT_NAME##
+ * @subpackage form
+ * @author ##AUTHOR_NAME##
+ * @version SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
+ */
+abstract class PluginIssueUserForm extends BaseIssueUserForm
+{
+}
13 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginProjectUserForm.class.php
View
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * PluginProjectUser form.
+ *
+ * @package ##PROJECT_NAME##
+ * @subpackage form
+ * @author ##AUTHOR_NAME##
+ * @version SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
+ */
+abstract class PluginProjectUserForm extends BaseProjectUserForm
+{
+}
13 plugins/idProjectManagementPlugin/lib/form/doctrine/PluginProjectsTrackersForm.class.php
View
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * PluginProjectsTrackers form.
+ *
+ * @package ##PROJECT_NAME##
+ * @subpackage form
+ * @author ##AUTHOR_NAME##
+ * @version SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
+ */
+abstract class PluginProjectsTrackersForm extends BaseProjectsTrackersForm
+{
+}
3  plugins/idProjectManagementPlugin/lib/form/idIssueForm.class.php
View
@@ -161,6 +161,9 @@ public function configure()
$this->validatorSchema['related_issue_list'] = new sfValidatorDoctrineChoiceMany(array('model' => 'Issue', 'required' => false, 'query' => $this->getQueryForRelatedIssue()));
$this->validatorSchema['estimated_time'] = new sfValidatorNumber(array('min' => '0', 'required' => false), array('min' => 'You cannot set a negative estimated time'));
+ unset($this['created_at']);
+ unset($this['updated_at']);
+
parent::configure();
}
}
7 plugins/idProjectManagementPlugin/lib/model/doctrine/PluginIssue.class.php
View
@@ -59,7 +59,7 @@ public function getTotalLogTime()
public function isLate()
{
- return (bool)(!is_null($this->ending_date) && $this->ending_date < date('Y-m-d'));
+ return (bool)(!is_null($this->ending_date) && $this->ending_date < date('Y-m-d') && !$this->isClosed());
}
public function isUpcoming($days = 7)
@@ -67,4 +67,9 @@ public function isUpcoming($days = 7)
return (bool)(!is_null($this->starting_date) && $this->starting_date >= date('Y-m-d') && $this->starting_date <= date('Y-m-d', strtotime('+'.$days.' days')));
}
+ public function isClosed()
+ {
+ return (bool) ($this->status == 'closed');
+ }
+
}
2  plugins/idProjectManagementPlugin/lib/model/doctrine/PluginIssueTable.class.php
View
@@ -79,6 +79,8 @@ public function getQueryForProjectIssues($project_id)
$q = Doctrine_Query::create()
->from('Issue i')
->leftJoin('i.tracker t')
+ ->leftJoin('i.milestone m')
+ ->orderBy('i.id ASC')
->andWhere('i.project_id = ? ', $project_id);
return $q;
10 plugins/idProjectManagementPlugin/lib/model/doctrine/PluginMilestone.class.php
View
@@ -37,4 +37,14 @@ public function setUp()
parent::setUp();
$this->addListener(new EventLogDoctrineListener());
}
+
+ public function isClosed()
+ {
+ return (bool) $this->closed;
+ }
+
+ public function isLate()
+ {
+ return (bool)(!is_null($this->ending_date) && $this->ending_date < date('Y-m-d') && !$this->isClosed());
+ }
}
38 plugins/idProjectManagementPlugin/modules/idDashboard/templates/_milestone_boxes.php
View
@@ -1,23 +1,29 @@
<?php if(count($milestones) > 0): ?>
<?php foreach($milestones as $milestone): ?>
- <div class="span-full box">
- <div class="span-full">
- <div class="span-5"><h3><?php echo link_to($milestone->title, '@show_milestone?project_id='.$milestone->project_id.'&milestone_id='.$milestone->id) ?></h3></div>
+ <?php if (empty($color)): ?>
+ <?php $color = $milestone->isLate()? 'red' : 'green';?>
+ <?php endif; ?>
+ <?php if (empty($label)): ?>
+ <?php $label = $milestone->isLate()? 'Late' : 'Upcoming';?>
+ <?php endif; ?>
+ <div class="span-full box">
+ <div class="span-full">
+ <div class="span-5"><h3><?php echo link_to($milestone->title, '@show_milestone?project_id='.$milestone->project_id.'&milestone_id='.$milestone->id) ?></h3></div>
+ <div class="span-2 last">
+ <strong class="milestone-<?php echo $color; ?>"><?php echo $label ?></strong>
+ </div>
+ </div>
+ <div class="span-full">
+ <div class="span-5">
+ For <?php echo link_to($milestone->project->name, '@show_project?id='.$milestone->project_id); ?><br/>
+ <?php if (isset($milestone->in_charge) && !is_null($milestone->in_charge)): ?>
+ Assgned to <strong><?php echo $milestone->getInCharge()->getProfile()->getShortName() ?></strong><br/>
+ <?php endif; ?>
+ </div>
<div class="span-2 last">
- <strong class="milestone-<?php echo $color; ?>"><?php echo $label ?></strong>
+ <strong class="milestone-<?php echo $color; ?>"><?php echo sprintf($days_message, get_days_of_difference($milestone->ending_date, date('Y-m-d'))); ?></strong><br/>
+ </div>
</div>
</div>
- <div class="span-full">
- <div class="span-5">
- For <?php echo link_to($milestone->project->name, '@show_project?id='.$milestone->project_id); ?><br/>
- <?php if (isset($milestone->in_charge) && !is_null($milestone->in_charge)): ?>
- Assgned to <strong><?php echo $milestone->getInCharge()->getProfile()->getShortName() ?></strong><br/>
- <?php endif; ?>
- </div>
- <div class="span-2 last">
- <strong class="milestone-<?php echo $color; ?>"><?php echo sprintf($days_message, get_days_of_difference($milestone->ending_date, date('Y-m-d'))); ?></strong><br/>
- </div>
- </div>
- </div>
<?php endforeach;?>
<?php endif; ?>
1  plugins/idProjectManagementPlugin/modules/idIssue/actions/actions.class.php
View
@@ -29,6 +29,7 @@ class idIssueActions extends sfActions
public function executeIndex(sfWebRequest $request)
{
$this->forwardUnless($this->getUser()->hasCredential('idIssue-Read'), sfConfig::get('sf_secure_module'), sfConfig::get('sf_secure_action'));
+ $this->forward404Unless($this->project = Doctrine::getTable('Project')->findOneBy('id', $request->getParameter('project_id')));
$this->pager = new sfDoctrinePager('Issue',10);
$this->pager->setQuery(Doctrine::getTable('Issue')->getQueryForProjectIssues($request->getParameter('project_id')));
27 plugins/idProjectManagementPlugin/modules/idIssue/actions/components.class.php
View
@@ -0,0 +1,27 @@
+<?php
+/**
+ * This file is part of the phpCollab3 package.
+ * (c) 2009 Ideato s.r.l. <phpcollab@ideato.it>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * sfGuardUser/components.class.php
+ *
+ * @package phpCollab3
+ */
+
+/**
+ * idDashboardComponents components
+ */
+class idIssueComponents extends sfComponents
+{
+ public function executeSidebar()
+ {
+ $this->project = Doctrine::getTable('Project')->findOneBy('id', $this->getRequestParameter('project_id'));
+ $reports = Doctrine::getTable('Project')->getReportsOnProjectsWithEffortChart(array($this->project));
+
+ $this->project_report = (count($reports) > 0) ? $reports[$this->project->id] : null;
+ }
+}
+?>
4 plugins/idProjectManagementPlugin/modules/idIssue/config/view.yml
View
@@ -1,3 +1,7 @@
+indexSuccess:
+ components:
+ sidebar: [idIssue, sidebar]
+
default:
components:
sidebar: []
9 plugins/idProjectManagementPlugin/modules/idIssue/templates/_sidebar.php
View
@@ -0,0 +1,9 @@
+<?php use_helper('Dashboard') ?>
+
+<div class="span-8 prepend-1 last" id="sidebar">
+ <div class="title"><span>Projects</span></div>
+ <?php include_partial('idDashboard/project_report', array('project_id' => $project->id, 'project_report' => $project_report)) ?>
+
+ <div class="title"><span>Milestones</span></div>
+ <?php include_partial('idDashboard/milestone_boxes', array('milestones' => $project->Milestones, 'color' => '', 'label' => '', 'days_message' => '%d days'))?>
+</div>
55 plugins/idProjectManagementPlugin/modules/idIssue/templates/indexSuccess.php
View
@@ -1,13 +1,52 @@
<?php slot('title', __('Manage project issues')) ?>
-<div class="block" id="block-tables">
- <?php include_partial('create_issue_menu', array('project_id' => $sf_request->getParameter('project_id'))); ?>
- <div class="content">
- <div class="inner">
-
- <?php include_partial('idIssue/issues_list', array('pager' => $pager, 'url' => '@index_issue?project_id='.$sf_request->getParameter('project_id'))) ?>
-
+<div id="content" class="span-23">
+ <?php include_partial('idProject/sub_menu', array('project' => $project))?>
+
+ <?php if($pager->getNbResults() > 0): ?>
+ <div class="span-full">
+ <div class="title">
+ <span><?php echo __('Tickets'); ?></span>
+ <a id="add-log-time"class="button block-green medium-round" href="<?php echo url_for('@new_issue?project_id='.$project->id) ?>">Add</a>
+ </div>
+ <div class="menu">
+ <div class="span-3">Id</div>
+ <div class="span-5">Name</div>
+ <div class="span-3">Tracker</div>
+ <div class="span-3">Status</div>
+ <div class="span-3">Priority</div>
+ <div class="span-5 last">Assigned To</div>
+ </div>
+ <ul class="action time">
+ <?php foreach($pager->getResults() as $issue): ?>
+ <li class="icon-<?php echo $issue->isLate()? 'red' : 'green'; ?>">
+ <ul>
+ <li class="span-3"><?php echo link_to('#'.$issue->id, '@show_issue?project_id='.$issue->project_id.'&issue_id='.$issue->id) ?></li>
+ <li class="span-5"><?php echo $issue->title ?></li>
+ <li class="span-3"><?php echo $issue->tracker ?>&nbsp;</li>
+ <li class="span-3"><?php echo $issue->status ?>&nbsp;</li>
+ <li class="span-3"><?php echo $issue->priority ?>&nbsp;</li>
+ <li class="span-5 last">
+ <?php if (count($issue->users) > 0): ?>
+ <?php foreach ($issue->users as $user): ?>
+ <?php echo $user->getShortName(); ?><br/>
+ <?php endforeach; ?>
+ <?php endif; ?>
+ </li>
+ <li class="edit-delete">
+ <?php echo link_to(__('Edit'), '@edit_issue?project_id='.$issue->project_id.'&issue_id='.$issue->id) ?>&nbsp;&nbsp;
+ <?php echo link_to(__('Delete'), '@delete_issue?project_id='.$issue->project_id.'&issue_id='.$issue->id, array('confirm' => __('Do you really want to delete this issue??'))) ?>
+ </li>
+ </ul>
+ </li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
+ <div class="span-full pagenation">
+ <ul>
+ <?php echo pager_navigation_log_time($pager, '@index_issue?project_id='.$issue->project_id) ?>
+ </ul>
</div>
- </div>
+ <?php endif; ?>
</div>
6 plugins/idProjectManagementPlugin/modules/idLogtime/templates/indexSuccess.php
View
@@ -12,7 +12,9 @@
</div>
<?php if (count($pager->getResults()) !== false && count($pager->getResults()) == 0): ?>
- //no results//
+ <div class="span-full">
+ <p>No results.</p>
+ </div>
<?php else: ?>
<div class="span-full">
<div class="menu">
@@ -37,7 +39,7 @@
<li class="edit-delete">
<?php if($sf_user->hasCredential('idLogtime-Edit')): ?>
<?php echo link_to(__('Edit'), '@edit_logtime?id='.$log_time->getId()) ?>&nbsp;&nbsp;
- <?php echo link_to(__('Delete'), '@delete_logtime?id='.$log_time->getId(), array('confirm' => __('Do you really want to delete this tracker?'))) ?>
+ <?php echo link_to(__('Delete'), '@delete_logtime?id='.$log_time->getId(), array('confirm' => __('Do you really want to delete this log?'))) ?>
<?php endif; ?>
</li>
</ul>
121 test/fixtures/comment.yml
View
@@ -0,0 +1,121 @@
+fdComment:
+ fdcomment_1:
+ title: pippo
+ body: 'pippo pippo poivnonjoifwe ijewjpfjpw ....'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 hours")); ?>'
+ fdcomment_2:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_3:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 2
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_4:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 2
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_5:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Issue
+ model_field: id
+ model_field_value: 1
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_6:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Issue
+ model_field: id
+ model_field_value: 1
+ profile_id: 3
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_7:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ profile_id: 2
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_8:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ profile_id: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_9:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_10:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_11:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_12:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_13:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_14:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_15:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+ fdcomment_16:
+ title: pippo2
+ body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
+ model: Message
+ model_field: id
+ model_field_value: 1
+ created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
1,374 test/fixtures/fixtures.yml
View
@@ -1,1374 +1,38 @@
-sfGuardUser:
- sfGuardUser_1:
- username: admin
- algorithm: sha1
- salt: cb7ddae023af5af0e091412bebe69e38
- password: admin
- is_active: true
- is_super_admin: true
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- sfGuardUser_2:
- username: user
- algorithm: sha1
- salt: 7042a9a97aab3384e472d917ea493730
- password: user
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_3:
- username: puser
- algorithm: sha1
- salt: 855a7d1f9b163e84ca2c4941d667f9dd
- password: puser
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_4:
- username: nopuser
- algorithm: sha1
- salt: 5aa8032282daf8ba303e76cac1c87005
- password: nopuser
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_5:
- username: userp2
- algorithm: sha1
- salt: 5aa8032282daf8ba303e76cac1c87005
- password: userp2
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_6:
- username: sesto
- algorithm: sha1
- salt: 5aa8032282daf8ba303e76cac1c87005
- password: sesto
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_7:
- username: pmanager
- algorithm: sha1
- salt: 2b20841d437ae8929904602c3c4ab1d2
- password: pmanager
- is_active: true
- is_super_admin: false
- last_login: null
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 day")); ?>'
- sfGuardUser_8:
- username: customer
- password: customer
- is_active: true
- is_super_admin: false
-sfGuardGroup:
- sfGuardGroup_1:
- name: admin
- description: 'Administrator group'
- sfGuardGroup_2:
- name: user
- description: 'User group'
- sfGuardGroup_3:
- name: 'project managers'
- description: 'Project managers group'
- sfGuardGroup_4:
- name: customer
- description: 'Customer managers group'
+<?php include(dirname(__FILE__).'/sfGuardUser.yml') ?>
-sfGuardGroupPermission:
- sfGuardGroupPermission_1_1:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_1
- sfGuardGroupPermission_1_3:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_3
- sfGuardGroupPermission_1_4:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_4
- sfGuardGroupPermission_1_5:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_5
- sfGuardGroupPermission_1_6:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_6
- sfGuardGroupPermission_1_11:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_11
- sfGuardGroupPermission_1_12:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_12
- sfGuardGroupPermission_1_13:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_13
- sfGuardGroupPermission_1_14:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_14
- sfGuardGroupPermission_1_15:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_15
- sfGuardGroupPermission_1_16:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_16
- sfGuardGroupPermission_1_17:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_17
- sfGuardGroupPermission_1_18:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_18
- sfGuardGroupPermission_1_19:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_19
- sfGuardGroupPermission_1_20:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_20
- sfGuardGroupPermission_1_21:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_21
- sfGuardGroupPermission_1_22:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_22
- sfGuardGroupPermission_1_23:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_23
- sfGuardGroupPermission_1_24:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_24
- sfGuardGroupPermission_1_25:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_25
- sfGuardGroupPermission_1_26:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_26
- sfGuardGroupPermission_1_27:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_27
- sfGuardGroupPermission_1_28:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_28
- sfGuardGroupPermission_1_29:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_29
- sfGuardGroupPermission_1_30:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_30
- sfGuardGroupPermission_1_31:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_31
- sfGuardGroupPermission_1_32:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_32
- sfGuardGroupPermission_1_33:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_33
- sfGuardGroupPermission_1_34:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_34
- sfGuardGroupPermission_1_35:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_35
- sfGuardGroupPermission_1_36:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_36
- sfGuardGroupPermission_1_37:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_37
- sfGuardGroupPermission_1_38:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_38
- sfGuardGroupPermission_1_39:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_39
- sfGuardGroupPermission_1_40:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_40
- sfGuardGroupPermission_1_41:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_41
- sfGuardGroupPermission_1_42:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_42
- sfGuardGroupPermission_1_43:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_43
- sfGuardGroupPermission_1_44:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_44
- sfGuardGroupPermission_1_45:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_45
- sfGuardGroupPermission_1_46:
- sfGuardGroup: sfGuardGroup_1
- sfGuardPermission: sfGuardPermission_46
- sfGuardGroupPermission_2_2:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_2
- sfGuardGroupPermission_2_11:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_11
- sfGuardGroupPermission_2_12:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_12
- sfGuardGroupPermission_2_13:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_13
- sfGuardGroupPermission_2_14:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_14
- sfGuardGroupPermission_2_15:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_15
- sfGuardGroupPermission_2_16:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_16
- sfGuardGroupPermission_2_20:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_20
- sfGuardGroupPermission_2_21:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_21
- sfGuardGroupPermission_2_22:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_22
- sfGuardGroupPermission_2_23:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_23
- sfGuardGroupPermission_2_24:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_24
- sfGuardGroupPermission_2_29:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_29
- sfGuardGroupPermission_2_30:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_30
- sfGuardGroupPermission_2_31:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_31
- sfGuardGroupPermission_2_36:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_36
- sfGuardGroupPermission_2_37:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_37
- sfGuardGroupPermission_2_38:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_38
- sfGuardGroupPermission_2_39:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_39
- sfGuardGroupPermission_2_40:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_40
- sfGuardGroupPermission_2_43:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_43
- sfGuardGroupPermission_2_44:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_44
- sfGuardGroupPermission_2_45:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_45
- sfGuardGroupPermission_2_46:
- sfGuardGroup: sfGuardGroup_2
- sfGuardPermission: sfGuardPermission_46
- sfGuardGroupPermission_3_pm:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_pm
- sfGuardGroupPermission_3_11:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_11
- sfGuardGroupPermission_3_12:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_12
- sfGuardGroupPermission_3_13:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_13
- sfGuardGroupPermission_3_14:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_14
- sfGuardGroupPermission_3_15:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_15
- sfGuardGroupPermission_3_16:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_16
- sfGuardGroupPermission_3_17:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_17
- sfGuardGroupPermission_3_18:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_18
- sfGuardGroupPermission_3_19:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_19
- sfGuardGroupPermission_3_20:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_20
- sfGuardGroupPermission_3_21:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_21
- sfGuardGroupPermission_3_22:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_22
- sfGuardGroupPermission_3_23:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_23
- sfGuardGroupPermission_3_24:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_24
- sfGuardGroupPermission_3_29:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_29
- sfGuardGroupPermission_3_30:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_30
- sfGuardGroupPermission_3_31:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_31
- sfGuardGroupPermission_3_32:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_32
- sfGuardGroupPermission_3_33:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_33
- sfGuardGroupPermission_3_34:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_34
- sfGuardGroupPermission_3_35:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_35
- sfGuardGroupPermission_3_36:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_36
- sfGuardGroupPermission_3_37:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_37
- sfGuardGroupPermission_3_38:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_38
- sfGuardGroupPermission_3_39:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_39
- sfGuardGroupPermission_3_40:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_40
- sfGuardGroupPermission_3_41:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_41
- sfGuardGroupPermission_3_42:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_42
- sfGuardGroupPermission_3_43:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_43
- sfGuardGroupPermission_3_44:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_44
- sfGuardGroupPermission_3_45:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_45
- sfGuardGroupPermission_3_46:
- sfGuardGroup: sfGuardGroup_3
- sfGuardPermission: sfGuardPermission_46
- sfGuardGroupPermission_4_c:
- sfGuardGroup: sfGuardGroup_4
- sfGuardPermission: sfGuardPermission_c
+<?php include(dirname(__FILE__).'/sfGuardGroup.yml') ?>
-sfGuardPermission:
- sfGuardPermission_pm:
- name: 'project manager'
- description: 'Project manager permission'
- sfGuardPermission_c:
- name: customer
- description: 'Customer permission'
- sfGuardPermission_1:
- name: admin
- description: 'Administrator permission'
- sfGuardPermission_2:
- name: user
- description: 'Basic user permission'
- sfGuardPermission_3:
- name: idPriority-Read
- description: 'Reading priorities permission'
- sfGuardPermission_4:
- name: idPriority-Create
- description: 'Creating priorities permission'
- sfGuardPermission_5:
- name: idPriority-Edit
- description: 'Editing priorities permission'
- sfGuardPermission_6:
- name: idPriority-Delete
- description: 'Deleting priorities permission'
- sfGuardPermission_11:
- name: idMilestone-Read
- description: 'Reading milestones permission'
- sfGuardPermission_12:
- name: idMilestone-Create
- description: 'Creating milestones permission'
- sfGuardPermission_13:
- name: idMilestone-Edit
- description: 'Editing milestones permission'
- sfGuardPermission_14:
- name: idMilestone-Delete
- description: 'Deleting milestones permission'
- sfGuardPermission_15:
- name: idDashboard-Read
- description: 'Reading dashboard permission'
- sfGuardPermission_16:
- name: idProject-Read
- description: 'Reading projects permission'
- sfGuardPermission_17:
- name: idProject-Create
- description: 'Creating projects permission'
- sfGuardPermission_18:
- name: idProject-Edit
- description: 'Editing projects permission'
- sfGuardPermission_19:
- name: idProject-Delete
- description: 'Deleting projects permission'
- sfGuardPermission_20:
- name: idProject-ViewRoadmap
- description: 'View projects roadmap permission'
- sfGuardPermission_21:
- name: idIssue-Read
- description: 'Reading issues permission'
- sfGuardPermission_22:
- name: idIssue-Create
- description: 'Creating issues permission'
- sfGuardPermission_23:
- name: idIssue-Edit
- description: 'Editing issues permission'
- sfGuardPermission_24:
- name: idIssue-Delete
- description: 'Deleting issues permission'
- sfGuardPermission_25:
- name: idStatus-Read
- description: 'Reading statuses permission'
- sfGuardPermission_26:
- name: idStatus-Create
- description: 'Creating statuses permission'
- sfGuardPermission_27:
- name: idStatus-Edit
- description: 'Editing statuses permission'
- sfGuardPermission_28:
- name: idStatus-Delete
- description: 'Deleting statuses permission'
- sfGuardPermission_29:
- name: idRepository-Read
- description: 'Reading repository permission'
- sfGuardPermission_30:
- name: idProfile-Read
- description: 'Reading profile permission'
- sfGuardPermission_31:
- name: idProfile-Edit
- description: 'Editing profile permission'
- sfGuardPermission_32:
- name: idTracker-Read
- description: 'Reading trackers permission'
- sfGuardPermission_33:
- name: idTracker-Create
- description: 'Creating trackers permission'
- sfGuardPermission_34:
- name: idTracker-Edit
- description: 'Editing trackers permission'
- sfGuardPermission_35:
- name: idTracker-Delete
- description: 'Deleting trackers permission'
- sfGuardPermission_36:
- name: idLogotime-Read
- description: 'Reading logtime permission'
- sfGuardPermission_37:
- name: idLogotime-Create
- description: 'Creating logtime permission'
- sfGuardPermission_38:
- name: idLogotime-Edit
- description: 'Editing logtime permission'
- sfGuardPermission_39:
- name: idLogotime-Delete
- description: 'Deleting logtime permission'
- sfGuardPermission_40:
- name: idLogotime-ReadReport
- description: 'reading logtime report permission'
- sfGuardPermission_41:
- name: idLogotime-ReadReportForAllUsers
- description: 'reading logtime report for all users permission'
- sfGuardPermission_42:
- name: idGantt-View
- description: 'View gantt permission'
- sfGuardPermission_43:
- name: idMessage-Read
- description: 'Reading message permission'
- sfGuardPermission_44:
- name: idMessage-Create
- description: 'Creating message permission'
- sfGuardPermission_45:
- name: idMessage-Edit
- description: 'Editing message permission'
- sfGuardPermission_46:
- name: idMessage-Delete
- description: 'Deleting message permission'
+<?php include(dirname(__FILE__).'/sfGuardPermission.yml') ?>
-sfGuardUserGroup:
- sfGuardUserGroup_8_4:
- sfGuardUser: sfGuardUser_8
- sfGuardGroup: sfGuardGroup_4
- sfGuardUserGroup_1_1:
- sfGuardUser: sfGuardUser_1
- sfGuardGroup: sfGuardGroup_1
- sfGuardUserGroup_2_2:
- sfGuardUser: sfGuardUser_2
- sfGuardGroup: sfGuardGroup_2
- sfGuardUserGroup_3_2:
- sfGuardUser: sfGuardUser_3
- sfGuardGroup: sfGuardGroup_2
- sfGuardUserGroup_5_2:
- sfGuardUser: sfGuardUser_5
- sfGuardGroup: sfGuardGroup_2
- sfGuardUserGroup_6_2:
- sfGuardUser: sfGuardUser_6
- sfGuardGroup: sfGuardGroup_2
- sfGuardUserGroup_7_3:
- sfGuardUser: sfGuardUser_7
- sfGuardGroup: sfGuardGroup_3
+<?php include(dirname(__FILE__).'/sfGuardGroupPermission.yml') ?>
-IssueUser:
- IssueUser_1:
- Issue: Issue_1
- Profile: Profile_3
- IssueUser_2:
- Issue: Issue_2
- Profile: Profile_2
- IssueUser_2_1:
- Issue: Issue_2
- Profile: Profile_3
- IssueUser_3:
- Issue: Issue_3
- Profile: Profile_2
- IssueUser_4:
- Issue: Issue_4
- Profile: Profile_2
- IssueUser_5:
- Issue: Issue_5
- Profile: Profile_2
- IssueUser_6:
- Issue: Issue_6
- Profile: Profile_2
- IssueUser_7:
- Issue: Issue_7
- Profile: Profile_2
- IssueUser_8:
- Issue: Issue_8
- Profile: Profile_2
- IssueUser_9:
- Issue: Issue_9
- Profile: Profile_2
- IssueUser_10:
- Issue: Issue_10
- Profile: Profile_2
- IssueUser_11:
- Issue: Issue_11
- Profile: Profile_2
- IssueUser_12:
- Issue: Issue_12
- Profile: Profile_2
- IssueUser_72:
- Issue: Issue_72
- Profile: Profile_3
- IssueUser_late_1:
- Issue: Issue_93
- Profile: Profile_2
- IssueUser_late_2:
- Issue: Issue_94
- Profile: Profile_2
+<?php include(dirname(__FILE__).'/sfGuardUserGroup.yml') ?>
-ProjectUser:
- ProjectUser_0:
- Project: Project_1
- Profile: Profile_2
- role: 2
- ProjectUser_1:
- Project: Project_3
- Profile: Profile_3
- role: 2
- ProjectUser_2:
- Project: Project_2
- Profile: Profile_3
- role: 2
- ProjectUser_3:
- Project: Project_3
- Profile: Profile_2
- role: 2
- ProjectUser_5:
- Project: Project_2
- Profile: Profile_5
- ProjectUser_4:
- Project: Project_4
- Profile: Profile_3
- ProjectUser_5:
- Project: Project_1
- Profile: Profile_7
- role: 3
- ProjectUser_6:
- Project: Project_2
- Profile: Profile_5
- ProjectUser_7:
- Project: Project_5
- Profile: Profile_3
- ProjectUser_8:
- Project: Project_5
- Profile: Profile_7
- ProjectUser_9:
- Project: Project_1
- Profile: Profile_8
- role: 4
- ProjectUser_10:
- Project: Project_3
- Profile: Profile_8
- role: 4
+<?php include(dirname(__FILE__).'/projects.yml') ?>
-Status:
- Status_1:
- name: new
- status_type: new
- position: 0
- Status_2:
- name: invalid
- status_type: invalid
- position: 1
- Status_3:
- name: closed
- status_type: closed
- position: 2
- Status_4:
- name: assigned
- status_type: assigned
- position: 3
+<?php include(dirname(__FILE__).'/milestones.yml') ?>
-Project:
- Project_1:
- name: 'Il mio primo progetto'
- description: 'Il primo progetto creato con il plugin idProjectManagementPlugin'
- is_public: false
- starting_date: '<?php echo date("Y-m-d H:i:s", strtotime("-10 day")); ?>'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- Project_2:
- name: 'Il mio secondo progetto'
- description: 'Il secondo progetto creato con il plugin idProjectManagementPlugin'
- is_public: false
- starting_date: '<?php echo date("Y-m-d H:i:s", strtotime("-2 day")); ?>'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 day")); ?>'
- end_date: '<?php echo date("Y-m-d H:i:s", strtotime("+10 days")); ?>'
- budget: 100
- costs: 50
- Project_3:
- name: 'Il mio terzo progetto'
- description: 'Il terzo progetto creato con il plugin idProjectManagementPlugin'
- is_public: true
- starting_date: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 day")); ?>'
- Project_4:
- name: 'Il mio quarto progetto'
- description: 'Il quarto progetto creato con il plugin idProjectManagementPlugin'
- is_public: false
- starting_date: '<?php echo date("Y-m-d H:i:s", strtotime("-4 day")); ?>'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-4 day")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-4 day")); ?>'
- end_date: '<?php echo date("Y-m-d H:i:s", strtotime("-3 days")); ?>'
- budget: 100
- costs: 150
- Project_5:
- name: 'Gant chart project'
- description: 'a prioject to test the gantt chart'
- is_public: false
- starting_date: '<?php echo date("Y-m-d H:i:s", strtotime("-4 hours")); ?>'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-4 hours")); ?>'
- updated_at: '<?php echo date("Y-m-d H:i:s", strtotime("-4 hours")); ?>'
- end_date: '<?php echo date("Y-m-d H:i:s", strtotime("+30 days")); ?>'
+<?php include(dirname(__FILE__).'/tracker.yml') ?>
-Issue:
- Issue_1:
- project: Project_3
- status: Status_1
- priority: Priority_1
- title: 'new issue'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
-<?php for ($i = 2; $i < 50; $i++): ?>
- Issue_<?php echo $i; ?>:
- project: Project_3
- status: Status_1
- priority: Priority_1
- title: 'new issue <?php echo $i ?>'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
-<?php endfor; ?>
-<?php for ($i = 51; $i < 70; $i++): ?>
- Issue_<?php echo $i; ?>:
- project: Project_3
- status: Status_1
- milestone: Milestone_3
- priority: Priority_1
- title: 'new issue <?php echo $i ?>'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- estimated_time: '5'
-<?php endfor; ?>
- Issue_71:
- project: Project_1
- status: Status_1
- priority: Priority_1
- title: 'new issue project 1'
- description: 'new issue project 1'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- estimated_time: '25'
- milestone: Milestone_2
- Issue_72:
- project: Project_2
- status: Status_2
- priority: Priority_1
- title: 'new issue project 1'
- description: 'new issue project 1'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("+10 day")); ?>'
- milestone: Milestone_2
-<?php for ($i = 1; $i <= 3; $i++): ?>
- Issue_<?php echo $i+72; ?>:
- project: Project_2
- status: Status_1
- milestone: Milestone_4
- priority: Priority_1
- title: 'p2 first iterazione issue <?php echo $i ?>'
- description: 'description p2 first iterazione issue <?php echo $i ?>'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
-<?php endfor; ?>
-<?php for ($i = 1; $i <= 3; $i++): ?>
- Issue_<?php echo $i+74; ?>:
- project: Project_2
- status: Status_1
- milestone: Milestone_5
- priority: Priority_1
- title: 'p2 second iterazione issue <?php echo $i ?>'
- description: 'description p2 first iterazione issue <?php echo $i ?>'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
-<?php endfor; ?>
- Issue_78:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_1
- title: 'first user story'
- description: 'first user story'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '10'
- Issue_79:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_1
- title: 'second user story'
- description: 'second user story'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '15'
- Issue_80:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_1
- title: 'third user story'
- description: 'third user story'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '33'
- Issue_81:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'first task'
- description: 'first task'
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '12'
- Issue_82:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'second task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '11'
- Issue_83:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'third task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '2'
- Issue_84:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'fourth task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '7'
- Issue_85:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'fifth task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '33'
- Issue_86:
- project: Project_5
- status: Status_1
- priority: Priority_1
- title: 'sixth task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '1'
- Issue_87:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_2
- title: 'seventh task'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: '12'
- Issue_88:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_3
- title: 'first bug'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: null
- Issue_89:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_3
- title: 'second bug'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: null
- Issue_90:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_3
- title: 'third bug'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: null
- Issue_91:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_3
- title: 'fourth bug'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: null
- Issue_92:
- project: Project_5
- status: Status_1
- priority: Priority_1
- tracker: Tracker_3
- title: 'fifth bug'
- description: ''
- starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
- ending_date: null
- estimated_time: null
- Issue_93:
- project: Project_1
- status: Status_1
- milestone: Milestone_1
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime('-10 days')); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime('-1 day')); ?>'
- estimated_time: 44
- Issue_94:
- project: Project_1
- status: Status_1
- milestone: Milestone_1
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime('-10 days')); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime('-1 day')); ?>'
- estimated_time: 14
-<?php for ($i = 95; $i <= 105; $i++): ?>
- Issue_<?php echo $i ?>:
- project: Project_1
- status: Status_3
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime("-9 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
- estimated_time: 16
- milestone: Milestone_2
-<?php endfor; ?>
-<?php for ($i = 105; $i <= 111; $i++): ?>
- Issue_<?php echo $i ?>:
- project: Project_1
- status: Status_2
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime("-8 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("-2 days")); ?>'
- estimated_time: 32
-<?php endfor; ?>
- Issue_112:
- project: Project_1
- status: Status_1
- milestone: Milestone_1
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
- estimated_time: 19
- Issue_113:
- project: Project_1
- status: Status_1
- milestone: Milestone_1
- priority: Priority_1
- title: 'estimate issue 1'
- description: 'new issue'
- starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
- ending_date: null
- estimated_time: 24
- Issue_114:
- project: Project_1
- status: Status_4
- milestone: Milestone_1
- priority: Priority_1
- title: 'assigned issue 1'
- starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
- ending_date: null
+<?php include(dirname(__FILE__).'/priorities.yml') ?>
-Priority:
- Priority_1:
- name: normal
- position: 0
- Priority_2:
- name: high
- position: 1
+<?php include(dirname(__FILE__).'/statuses.yml') ?>
+<?php include(dirname(__FILE__).'/issues.yml') ?>
-Profile:
- Profile_1:
- User: sfGuardUser_1
- first_name: Amministro
- last_name: Amministroni
- email: amministro@example.com
- Profile_2:
- User: sfGuardUser_2
- first_name: Mario
- last_name: Wage
- email: mario@example.com
- Profile_3:
- User: sfGuardUser_3
- first_name: prog
- last_name: prog
- email: puser@example.com
- Profile_4:
- User: sfGuardUser_4
- email: quarto@example.com
- Profile_5:
- User: sfGuardUser_5
- first_name: project2user
- last_name: project2user
- email: project2user@example.com
- Profile_6:
- User: sfGuardUser_6
- email: sesto@example.com
- Profile_7:
- User: sfGuardUser_7
- first_name: paul
- last_name: mange
- email: pmanager@example.com
- Profile_8:
- User: sfGuardUser_8
- first_name: customer
- last_name: customer
- email: customer@example.com
+<?php include(dirname(__FILE__).'/profiles.yml') ?>
-Milestone:
- Milestone_1:
- title: 'first iteration'
- description: 'first iteration for project 1'
- starting_date: '<?php echo date("Y-m-d", strtotime("-15 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("-5 day")); ?>'
- project: Project_1
- closed: 0
- estimated_time: 8
- InCharge: sfGuardUser_7
- Milestone_2:
- title: 'second iteration'
- description: 'second iteration for project one'
- starting_date: '<?php echo date("Y-m-d", strtotime("+5 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("+15 day")); ?>'
- closed: 0
- project: Project_1
- InCharge: sfGuardUser_7
- Milestone_3:
- title: 'third iteration'
- description: 'third iteration for project 3'
- starting_date: '<?php echo date("Y-m-d", strtotime("-15 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("-2 day")); ?>'
- closed: 0
- project: Project_3
- Milestone_3_2:
- title: 'another third iteration'
- description: 'another third iteration for project 3'
- starting_date: '<?php echo date("Y-m-d", strtotime("-15 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("-2 day")); ?>'
- closed: 1
- project: Project_3
- Milestone_4:
- title: 'first iteration'
- description: 'first iteration for project 2'
- starting_date: '<?php echo date("Y-m-d", strtotime("+2 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("+12 day")); ?>'
- closed: 0
- project: Project_2
- Milestone_5:
- title: 'second iteration'
- description: 'second iteration for project 2'
- starting_date: '<?php echo date("Y-m-d", strtotime("+12 day")); ?>'
- ending_date: '<?php echo date("Y-m-d", strtotime("+55 day")); ?>'
- closed: 0
- project: Project_2
+<?php include(dirname(__FILE__).'/issue_user.yml') ?>
-IssueReference:
- RelatedIssue_1_2:
- issue1: '1'
- issue2: '2'
- RelatedIssue_1_3:
- issue1: '1'
- issue2: '3'
- RelatedIssue_1_4:
- issue1: '1'
- issue2: '4'
- RelatedIssue_5_1:
- issue1: '5'
- issue2: '1'
- RelatedIssue_1_11:
- issue1: '1'
- issue2: '11'
- RelatedIssue_1_12:
- issue1: '1'
- issue2: '12'
- RelatedIssue_1_13:
- issue1: '1'
- issue2: '13'
- RelatedIssue_1_14:
- issue1: '1'
- issue2: '14'
- RelatedIssue_1_25:
- issue1: '1'
- issue2: '15'
- RelatedIssue_1_16:
- issue1: '1'
- issue2: '16'
- RelatedIssue_1_17:
- issue1: '1'
- issue2: '17'
- RelatedIssue_1_18:
- issue1: '1'
- issue2: '18'
- RelatedIssue_1_19:
- issue1: '1'
- issue2: '19'
- RelatedIssue_1_20:
- issue1: '1'
- issue2: '20'
- RelatedIssue_1_21:
- issue1: '1'
- issue2: '21'
- RelatedIssue_1_22:
- issue1: '1'
- issue2: '22'
- RelatedIssue_1_23:
- issue1: '1'
- issue2: '23'
- RelatedIssue_1_24:
- issue1: '1'
- issue2: '24'
- RelatedIssue_1_25:
- issue1: '1'
- issue2: '25'
+<?php include(dirname(__FILE__).'/project_user.yml') ?>
-Tracker:
- Tracker_1:
- name: 'user story'
- Tracker_2:
- name: 'Task'
- Tracker_3:
- name: 'Bug'
+<?php include(dirname(__FILE__).'/logtime.yml') ?>
-LogTime:
- LogTime_1:
- issue: Issue_1
- profile: Profile_3
- log_time: '12'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 day")); ?>'
- LogTime_2:
- issue: Issue_71
- profile: Profile_7
- log_time: '1.2'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 hours")); ?>'
- LogTime_3:
- issue: Issue_71
- profile: Profile_3
- log_time: '1.3'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- LogTime_4:
- issue: Issue_80
- profile: Profile_7
- log_time: '5'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 days")); ?>'
- LogTime_5:
- issue: Issue_81
- profile: Profile_7
- log_time: '10'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 days")); ?>'
- LogTime_6:
- issue: Issue_93
- profile: Profile_1
- log_time: '16'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-4 days")); ?>'
- LogTime_7:
- issue: Issue_94
- profile: Profile_1
- log_time: '16'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-5 days")); ?>'
- LogTime_8:
- issue: Issue_95
- profile: Profile_1
- log_time: '16'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- LogTime_9:
- issue: Issue_96
- profile: Profile_1
- log_time: '16'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 days")); ?>'
- LogTime_10:
- issue: Issue_97
- profile: Profile_1
- log_time: '25'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 days")); ?>'
- LogTime_11:
- issue: Issue_98
- profile: Profile_1
- log_time: '12'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- LogTime_12:
- issue: Issue_99
- profile: Profile_1
- log_time: '33'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 days")); ?>'
- LogTime_13:
- issue: Issue_100
- profile: Profile_1
- log_time: '16'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-3 days")); ?>'
- LogTime_14:
- issue: Issue_101
- profile: Profile_1
- log_time: '52'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- LogTime_15:
- issue: Issue_102
- profile: Profile_1
- log_time: '33'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-2 days")); ?>'
+<?php include(dirname(__FILE__).'/project_trackers.yml') ?>
-ProjectsTrackers:
- ProjectsTrackers_1:
- Project: Project_5
- Tracker: Tracker_1
- ProjectsTrackers_2:
- Project: Project_5
- Tracker: Tracker_2
- ProjectsTrackers_3:
- Project: Project_5
- Tracker: Tracker_3
+<?php include(dirname(__FILE__).'/message.yml') ?>
-Message:
- message_1:
- title: 'Primo messaggio'
- body: 'Body primo messaggio'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 hours")); ?>'
- UserProfile: Profile_3
- project: Project_2
- message_2:
- title: 'Secondo messaggio'
- body: 'Body secondo messaggio'
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 hours")); ?>'
- UserProfile: Profile_3
- project: Project_2
+<?php include(dirname(__FILE__).'/comment.yml') ?>
-fdComment:
- fdcomment_1:
- title: pippo
- body: 'pippo pippo poivnonjoifwe ijewjpfjpw ....'
- model: Message
- model_field: id
- model_field_value: 1
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 hours")); ?>'
- fdcomment_2:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_3:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 2
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_4:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 2
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_5:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Issue
- model_field: id
- model_field_value: 1
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_6:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Issue
- model_field: id
- model_field_value: 1
- profile_id: 3
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_7:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- profile_id: 2
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_8:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- profile_id: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_9:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_10:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_11:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_12:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_13:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_14:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_15:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
- fdcomment_16:
- title: pippo2
- body: 'pippo2 pippo2 poivnonjoifwe ijewjpfjpw .... 22222222222222222222222222222222222222222222'
- model: Message
- model_field: id
- model_field_value: 1
- created_at: '<?php echo date("Y-m-d H:i:s", strtotime("-1 days")); ?>'
+<?php include(dirname(__FILE__).'/related_issues.yml') ?>
49 test/fixtures/issue_user.yml
View
@@ -0,0 +1,49 @@
+IssueUser:
+ IssueUser_1:
+ Issue: Issue_1
+ Profile: Profile_3
+ IssueUser_2:
+ Issue: Issue_2
+ Profile: Profile_2
+ IssueUser_2_1:
+ Issue: Issue_2
+ Profile: Profile_3
+ IssueUser_3:
+ Issue: Issue_3
+ Profile: Profile_2
+ IssueUser_4:
+ Issue: Issue_4
+ Profile: Profile_2
+ IssueUser_5:
+ Issue: Issue_5
+ Profile: Profile_2
+ IssueUser_6:
+ Issue: Issue_6
+ Profile: Profile_2
+ IssueUser_7:
+ Issue: Issue_7
+ Profile: Profile_2
+ IssueUser_8:
+ Issue: Issue_8
+ Profile: Profile_2
+ IssueUser_9:
+ Issue: Issue_9
+ Profile: Profile_2
+ IssueUser_10:
+ Issue: Issue_10
+ Profile: Profile_2
+ IssueUser_11:
+ Issue: Issue_11
+ Profile: Profile_2
+ IssueUser_12:
+ Issue: Issue_12
+ Profile: Profile_2
+ IssueUser_72:
+ Issue: Issue_72
+ Profile: Profile_3
+ IssueUser_late_1:
+ Issue: Issue_93
+ Profile: Profile_2
+ IssueUser_late_2:
+ Issue: Issue_94
+ Profile: Profile_2
285 test/fixtures/issues.yml
View
@@ -0,0 +1,285 @@
+Issue:
+ Issue_1:
+ project: Project_3
+ status: Status_1
+ priority: Priority_1
+ title: 'new issue'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+<?php for ($i = 2; $i < 50; $i++): ?>
+ Issue_<?php echo $i; ?>:
+ project: Project_3
+ status: Status_1
+ priority: Priority_1
+ title: 'new issue <?php echo $i ?>'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+<?php endfor; ?>
+<?php for ($i = 51; $i < 70; $i++): ?>
+ Issue_<?php echo $i; ?>:
+ project: Project_3
+ status: Status_1
+ milestone: Milestone_3
+ priority: Priority_1
+ title: 'new issue <?php echo $i ?>'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ estimated_time: '5'
+<?php endfor; ?>
+ Issue_71:
+ project: Project_1
+ status: Status_1
+ priority: Priority_1
+ title: 'new issue project 1'
+ description: 'new issue project 1'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ estimated_time: '25'
+ milestone: Milestone_2
+ Issue_72:
+ project: Project_2
+ status: Status_2
+ priority: Priority_1
+ title: 'new issue project 1'
+ description: 'new issue project 1'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: '<?php echo date("Y-m-d", strtotime("+10 day")); ?>'
+ milestone: Milestone_2
+<?php for ($i = 1; $i <= 3; $i++): ?>
+ Issue_<?php echo $i+72; ?>:
+ project: Project_2
+ status: Status_1
+ milestone: Milestone_4
+ priority: Priority_1
+ title: 'p2 first iterazione issue <?php echo $i ?>'
+ description: 'description p2 first iterazione issue <?php echo $i ?>'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+<?php endfor; ?>
+<?php for ($i = 1; $i <= 3; $i++): ?>
+ Issue_<?php echo $i+74; ?>:
+ project: Project_2
+ status: Status_1
+ milestone: Milestone_5
+ priority: Priority_1
+ title: 'p2 second iterazione issue <?php echo $i ?>'
+ description: 'description p2 first iterazione issue <?php echo $i ?>'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+<?php endfor; ?>
+ Issue_78:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_1
+ title: 'first user story'
+ description: 'first user story'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '10'
+ Issue_79:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_1
+ title: 'second user story'
+ description: 'second user story'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '15'
+ Issue_80:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_1
+ title: 'third user story'
+ description: 'third user story'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '33'
+ Issue_81:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'first task'
+ description: 'first task'
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '12'
+ Issue_82:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'second task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '11'
+ Issue_83:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'third task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '2'
+ Issue_84:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'fourth task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '7'
+ Issue_85:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'fifth task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '33'
+ Issue_86:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ title: 'sixth task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '1'
+ Issue_87:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_2
+ title: 'seventh task'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: '12'
+ Issue_88:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_3
+ title: 'first bug'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: null
+ Issue_89:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_3
+ title: 'second bug'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: null
+ Issue_90:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_3
+ title: 'third bug'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: null
+ Issue_91:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_3
+ title: 'fourth bug'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: null
+ Issue_92:
+ project: Project_5
+ status: Status_1
+ priority: Priority_1
+ tracker: Tracker_3
+ title: 'fifth bug'
+ description: ''
+ starting_date: '<?php echo date("Y-m-d", strtotime('today')); ?>'
+ ending_date: null
+ estimated_time: null
+ Issue_93:
+ project: Project_1
+ status: Status_1
+ milestone: Milestone_1
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime('-10 days')); ?>'
+ ending_date: '<?php echo date("Y-m-d", strtotime('-1 day')); ?>'
+ estimated_time: 44
+ Issue_94:
+ project: Project_1
+ status: Status_1
+ milestone: Milestone_1
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime('-10 days')); ?>'
+ ending_date: '<?php echo date("Y-m-d", strtotime('-1 day')); ?>'
+ estimated_time: 14
+<?php for ($i = 95; $i <= 105; $i++): ?>
+ Issue_<?php echo $i ?>:
+ project: Project_1
+ status: Status_3
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime("-9 day")); ?>'
+ ending_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
+ estimated_time: 16
+ milestone: Milestone_2
+<?php endfor; ?>
+<?php for ($i = 105; $i <= 111; $i++): ?>
+ Issue_<?php echo $i ?>:
+ project: Project_1
+ status: Status_2
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime("-8 day")); ?>'
+ ending_date: '<?php echo date("Y-m-d", strtotime("-2 days")); ?>'
+ estimated_time: 32
+<?php endfor; ?>
+ Issue_112:
+ project: Project_1
+ status: Status_1
+ milestone: Milestone_1
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
+ estimated_time: 19
+ Issue_113:
+ project: Project_1
+ status: Status_1
+ milestone: Milestone_1
+ priority: Priority_1
+ title: 'estimate issue 1'
+ description: 'new issue'
+ starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
+ ending_date: null
+ estimated_time: 24
+ Issue_114:
+ project: Project_1
+ status: Status_4
+ milestone: Milestone_1
+ priority: Priority_1
+ title: 'assigned issue 1'
+ starting_date: '<?php echo date("Y-m-d", strtotime("-1 day")); ?>'
+ ending_date: null