Commit graph

1112 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
58928b208b Add implementation to calculate if a task is finished according to timesheets
It has been modified the calculation of SumChargedEffort to include the new
field finishedTimesheets.

FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-02 13:20:20 +01:00
Manuel Rego Casasnovas
d07686af7e Disable finished checkbox in work reports UI if the task is already finished
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-02 12:36:27 +01:00
Manuel Rego Casasnovas
6c3a915b8d Implement constraint to check that only one WorkReportLine per task is finished
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-02 12:36:21 +01:00
Manuel Rego Casasnovas
a8ba46e505 Add checkbox in work reports standard edition UI
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-02 09:31:07 +01:00
Manuel Rego Casasnovas
e4bd4b980f Create new default progress type TIMESHEETS
The new progress type is read-only, so a new field to mark it in AdvanceType has
been added and used in the UI accordingly.

FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-10-30 13:24:04 +01:00
Manuel Rego Casasnovas
4adc1ec71f Calculate first/last timesheets dates when saving/editing/deleting a timesheet
In order to do that, a set of order elements affected by the lines
added/edit/removed in a timesheet is calculated before saving the timesheet.
Afterwards the first/last dates are recalculated for all the order elements in
the set.

FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-10-30 13:24:04 +01:00
Manuel Rego Casasnovas
283cab8d23 Add filter by order authorizations in project status report
If you just filter by labels/criteria and you don't choose any specific project.
You were able to see tasks from projects that you are not allowed to read. Now
this is fixed.

FEA: ItEr77S09WBSReport
2012-10-25 12:52:56 +02:00
Manuel Rego Casasnovas
270aa99aee Merge branch 'master' into project-status-report 2012-10-25 12:19:50 +02:00
Manuel Rego Casasnovas
7f5d6c4ace Reset MoneyCostCalculator before generating project status report
If you generate the report and afterwards you report some expenses in a project,
the MoneyCostCalculator cache still keep the previous value for the report.

Now the MoneyCostCalculator cache is reseted every time the report is generated.

FEA: ItEr77S09WBSReport
2012-10-25 12:08:53 +02:00
Manuel Rego Casasnovas
1a8ab420f0 Add hours and cost mark in status report header too
FEA: ItEr77S09WBSReport
2012-10-25 11:23:03 +02:00
Manuel Rego Casasnovas
d9575754a4 Add query to get OrderElements filtered by labels and criteria
FEA: ItEr77S09WBSReport
2012-10-24 12:35:39 +02:00
Manuel Rego Casasnovas
1ca57a5a00 Marking with red color special cases in project status report
FEA: ItEr77S09WBSReport
2012-10-23 18:57:19 +02:00
Manuel Rego Casasnovas
3681464dc9 Add exclamation mark in status report if hours or cost exceed the expected value
FEA: ItEr77S09WBSReport
2012-10-23 18:10:43 +02:00
Manuel Rego Casasnovas
33eb2ddcd0 Add information about filter in project status report header if no project is selected
FEA: ItEr77S09WBSReport
2012-10-23 14:33:48 +02:00
Manuel Rego Casasnovas
8f49d3b00a Avoid project in status report header if not selected
FEA: ItEr77S09WBSReport
2012-10-23 14:13:06 +02:00
Manuel Rego Casasnovas
ac99c98a82 Add project name in tasks when no project is selected in status report
FEA: ItEr77S09WBSReport
2012-10-23 13:56:45 +02:00
Manuel Rego Casasnovas
1f4a6e98f8 Add option to do not filter by project if you are filtering by labels or criteria
FEA: ItEr77S09WBSReport
2012-10-23 13:37:34 +02:00
Jacobo Aragunde Pérez
b0ab592785 Bug #1551: Added FIXME notes to two tests that are causing trouble.
I have identified a problem but I haven't the knowledge to fix it now.

FEA: ItEr77S04BugFixing
2012-10-23 13:27:57 +02:00
Manuel Rego Casasnovas
535d2e3423 Fix criteria filtering discounting children with invalidated criteria
If any child has the filtering criteria invalidated, it's not taken into account
in order to calculate the values in the parent task that is part of the report.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
242cfa8e35 Implement filtering by criteria
Pending to remove children with invalidated criteria from the calculation of the
data for the containers.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
cdc733ce8d Add UI to filter by criteria
FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
474b349712 Add filter by labels to project status report
The tasks that will appear in the report are the ones that have directly
assigned all the labels, so the children will be hidden.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
da3a60e7cf Modify project status report to include new data
Add parameters in the controller and data for each colum in the DTOs.

Create a new Util class with utilities for report DTOs.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
12011733a3 Modify project status report layout to include information about costs
Add new columns: budget, hours cost, expenses cost and total cost. Together with
the summary fields in the header.

Update .properties file accordingly to the new columns and fields in the report.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
fd74722614 Use code to go to entry points when possible
Modify entry points converters for entities extending IntegrationEntity in order
to use code instead of id. In that way user can see the code in the UI without
having to query the database.

FEA: ItEr77S04BugFixing
2012-10-19 14:37:20 +02:00
Manuel Rego Casasnovas
07ca5fd443 Bug #1547: Allow user with role SUPERUSER to create new projects
FEA: ItEr77S04BugFixing
2012-10-19 11:34:37 +02:00
Manuel Rego Casasnovas
f0ebe2f896 Bump version number to 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:12:13 +02:00
Manuel Rego Casasnovas
d860a0b4e1 Bug #1542: Fix problem with deadline indicator when project finish right at the deadline
For example a project with a task of 40h starting on Monday and finishing on
Friday, with a deadline on Friday should was wrong calculated before. Not it
says that the deadline is fulfilled as expected.

FEA: ItEr77S04BugFixing
2012-10-15 11:43:53 +02:00
Manuel Rego Casasnovas
cf8482d878 Bug #1542: Fix bug getting project end date from children tasks
End date for root task is only updated while saving the project in the method:
SaveCommand.updateRootTaskPosition.

Now the end date is calculated checking the dates of the children tasks and
getting the bigger one.

FEA: ItEr77S04BugFixing
2012-10-15 11:42:12 +02:00
Manuel Rego Casasnovas
d4fa4017e5 Prevent NPE in SecurityUtils::isSuperuserOrRolePlanningOrHasAnyAuthorization
FEA: ItEr77S04BugFixing
2012-10-11 09:26:27 +02:00
Manuel Rego Casasnovas
20706c75d6 i18n: Mark label show in project status report to be translated
FEA: ItEr77S04BugFixing
2012-10-10 22:29:11 +02:00
Zbyněk Schwarz
16ea6c7100 i18n: Update Czech translation 2012-10-10 22:27:32 +02:00
Michael Taxis
9367b5ccc4 i18n: Update German translation 2012-10-10 22:27:32 +02:00
Manuel Rego Casasnovas
118dd5e610 i18n: Update Spanish translation 2012-10-10 22:27:32 +02:00
Giuseppe Zizza
dd76185de2 i18n: Update Italian translation 2012-10-10 22:27:31 +02:00
Manuel Rego Casasnovas
3e9813f0fe i18n: Update Galician translation 2012-10-10 22:27:31 +02:00
Philippe Poumaroux
0708d171fe i18n: Update French translation 2012-10-10 22:27:31 +02:00
Jeroen Baten
74545e2356 i18n: Update Dutch translation 2012-10-10 22:27:31 +02:00
Daniel Díaz Sañudo
f64d627482 i18n: Update Catalan translation 2012-10-10 22:27:31 +02:00
Manuel Rego Casasnovas
04bdd1937b Revert "Bug #1320: Fix issue changing methods to get constraints for a task"
This reverts commit 8a98bf4666 because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:41 +02:00
Manuel Rego Casasnovas
4757dc30c0 Revert "Bug #1320: Recalculate position of siblings closing task properties pop-up"
This reverts commit 1bde8c76be because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:30 +02:00
Manuel Rego Casasnovas
82e18fb77d Revert "Bug #1320: Recalculate position of siblings when moving a task"
This reverts commit 125146ebd2 because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:16 +02:00
Manuel Rego Casasnovas
69f63ce134 Bug #1539: Do not reassociate with session resource bound to current user
FEA: ItEr77S04BugFixing
2012-10-03 14:49:07 +02:00
Manuel Rego Casasnovas
f9973f2e79 Trying to fix broken test in Jenkins 2012-10-03 10:50:40 +02:00
Manuel Rego Casasnovas
b8ae09471d Fix tests broken in commit b940c78826
The problem was that now when a user or resource is saved, it's checked the
limit in the configuration fields. For that reason, we need to load the
configuration data before saving any user or resource.
2012-10-03 10:25:54 +02:00
Manuel Rego Casasnovas
032a7c0eaf i18n: Update keys.pot files
FEA: ItEr77S03Community
2012-10-02 12:51:44 +02:00
Manuel Rego Casasnovas
35f7fca342 Bug #1537: Fix issue getting allocations from memory and not from database
Without this patch the generic allocations were gotten from database, and only
for the criteria in an already stored allocation a replacement for the
allocations in memory was done.

From now on, for each possible criterion, the allocations from database are
recovered, and they are replaced if needed by the new ones in memory.

FEA: ItEr77S04BugFixing
2012-10-01 12:27:52 +02:00
Jacobo Aragunde Pérez
519ac2a5aa Simplify the way to calculate the length of money cost bars on the tasks in the
Gantt diagram.

Until now, the percentace of money was transformed into a date and then again
into a percentage.
2012-09-24 13:08:52 +02:00
Manuel Rego Casasnovas
1ba7d62bc7 Bug #1536: Do not regenerate project code when creating from template
Two changes:
* In project creation pop-up, it's not needed to change the project code when a
  template is selected.
* When the project is created from the template, the code used is the one in the
  project creation pop-up and not a new one (like it was happen before).

FEA: ItEr77S04BugFixing
2012-09-24 08:41:53 +02:00
Manuel Rego Casasnovas
125146ebd2 Bug #1320: Recalculate position of siblings when moving a task
When a task is moved in the Gantt, the constraint changes and it could causes
that some of its siblings should be moved, because of the parent element is
moved too.

FEA: ItEr77S04BugFixing
2012-09-21 18:32:10 +02:00