Commit graph

5903 commits

Author SHA1 Message Date
Óscar González Fernández
13bec81499 Extract copy and pasted code to utilities class
FEA: ItEr74S04BugFixing
2011-05-01 23:29:24 +02:00
Óscar González Fernández
78aaae3ec5 [Bug #1016] [Bug #1017] [Bug #1018] [Bug #1019] [Bug #1020] Fix report criteria hierarchy bugs
FEA: ItEr74S04BugFixing
2011-05-01 23:28:57 +02:00
Óscar González Fernández
32045dccd4 untilAllocating requires an EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-29 19:59:55 +02:00
Óscar González Fernández
b8d2bd574f Change HoursModification to use EffortDuration
Now it's called EffortModification.

FEA: ItEr74S04BugFixing
2011-04-29 19:59:55 +02:00
Óscar González Fernández
ab8abe5122 ResourceAllocation#isSatisfied considers the non consolidated assignments
FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
88abbea9bf Add intendedNonConsolidatedEffort field
intendedTotalAssignment was being used incorrectly when used for
creating HoursModifications. The new field holds the value to use for
a new HoursModification. intendedTotalAssignment also includes the non
consolidated part.

FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
648dc13fa3 Fix formatting
FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
343bd08d64 Rename originalTotalAssignment to intendedTotalAssignment and use EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-29 19:59:53 +02:00
Óscar González Fernández
2a0ee6bb54 [Bug #1010] Switch from Intboxes to EffortDurationBoxes
FEA: ItEr74S04BugFixing
2011-04-29 19:59:38 +02:00
Óscar González Fernández
bce85384bd Return EffortDurations instead of ints in aggregating methods
FEA: ItEr74S04BugFixing
2011-04-29 19:54:48 +02:00
Óscar González Fernández
4370fe79c0 Extract method to produce a sum of EffortDurations
FEA: ItEr74S04BugFixing
2011-04-29 19:54:47 +02:00
Óscar González Fernández
a070377b99 Remove unused method
FEA: ItEr74S04BugFixing
2011-04-29 19:54:47 +02:00
Manuel Rego Casasnovas
689fc76c41 Removed unused method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-29 18:49:42 +02:00
Manuel Rego Casasnovas
131d941cde Added remove method to interface ICriterionRequirable.
FEA: ItEr74S04BugFixing
2011-04-29 16:40:09 +02:00
Manuel Rego Casasnovas
7b42c10d11 Bump timeplot version to 1.0_2_4.
* .jar artifact uploaded to nexus repository.

FEA: ItEr74S04BugFixing
2011-04-29 12:36:55 +02:00
Manuel Rego Casasnovas
ad417388fd Removed unused and empty interface ICriterionRequirementHandler.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-29 11:53:54 +02:00
Manuel Rego Casasnovas
f7ce2eb48a Add test to check preservation of invalidated indirect criteria.
Modified CriterionRequirementHandler to manage valid attribute.

FEA: ItEr74S07WBSTreeRefactoring
2011-04-29 10:11:23 +02:00
Manuel Rego Casasnovas
4d42a9e7a6 Added checks for criteria in hours groups in tests.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-28 18:38:56 +02:00
Manuel Rego Casasnovas
02c4aae663 [Bug #1034] Fixed bug for users with "Project creation allowed" role.
If project is new and user has that role, then it can save the project
and edit it.

FEA: ItEr74S04BugFixing
2011-04-28 11:02:26 +02:00
Óscar González Fernández
d99ab0b4e2 [Bug #1010] Use EffortDurationBox in AdvanceAllocation
FEA: ItEr74S04BugFixing
2011-04-27 20:36:36 +02:00
Óscar González Fernández
6eefc4df74 Make restrictions use EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-27 20:36:36 +02:00
Óscar González Fernández
8895e57b38 Add ZK component for editing EffortDurations as text
FEA: ItEr74S04BugFixing
2011-04-27 20:36:36 +02:00
Óscar González Fernández
30b1d17c8f Add getTotalEffort method
FEA: ItEr74S04BugFixing
2011-04-27 20:36:36 +02:00
Óscar González Fernández
76c6cf5614 Rename IAllocateHoursOnInterval to IAllocateEffortOnInterval
New name reflects better what it does.

FEA: ItEr74S04BugFixing
2011-04-27 20:36:36 +02:00
Óscar González Fernández
dd20732b17 Add method to allocate an EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-27 20:36:35 +02:00
Manuel Rego Casasnovas
8a408f7a21 Updated NEWS file and release date.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-27 17:31:14 +02:00
Manuel Rego Casasnovas
2873b64a80 Released 1.0.6 version.
* Bump to 1.0.6.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-27 17:31:09 +02:00
Óscar González Fernández
cb29988223 [Bug #1028] Avoid bug
Calling update was causing the problem. It must be considered if it's
needed.
2011-04-27 12:33:39 +02:00
Manuel Rego Casasnovas
35046fe134 [Bug #1030] Fixed opening read-only transaction in removeMaterialAssignment.
FEA: ItEr74S04BugFixing
2011-04-27 11:45:35 +02:00
Óscar González Fernández
c1006c0ad2 [Bug #1026] Fix bug
In several places specific and generic allocations are divided
disrupting the previous order. Reordering after the division.

FEA: ItEr74S04BugFixing
2011-04-26 18:01:33 +02:00
Óscar González Fernández
e5fe70f03d Inline silly method
FEA: ItEr74S04BugFixing
2011-04-26 17:44:35 +02:00
Óscar González Fernández
d7099386d0 Extract class class responsible of hooking into chart refilling events
FEA: ItEr74S04BugFixing
2011-04-26 15:22:45 +02:00
Óscar González Fernández
9451be6dd7 [Bug #978] Remove refresh button
Update and refresh when changing graph, chart reload requested and so
on.

FEA: ItEr74S04BugFixing
2011-04-26 14:08:21 +02:00
Diego Pino Garcia
b896b6824b Fixed test notAllowRemoveCalendarWithChildrenInOtherVersions
Removed reference to calendar in CalendarData and implemented the method
for checking if a calendar is being used by a resource in another manner

FEA: ItEr74S04BugFixing
2011-04-25 19:57:17 +02:00
Óscar González Fernández
c3208fa78c [Bug #1015] Fix bug at hours worked by resource report
Include in the query descendant criteria.

FEA: ItEr74S04BugFixing
2011-04-25 19:22:53 +02:00
Óscar González Fernández
9bc2b40cfd [Bug #1012] Fix bug at resource load
Criterion parents were not considered.

FEA: ItEr74S04BugFixing
2011-04-25 18:54:44 +02:00
Óscar González Fernández
27225cc0ae Refactor Criterion comparators
FEA: ItEr74S04BugFixing
2011-04-25 18:40:28 +02:00
Óscar González Fernández
e9ba879182 Remove unnecessary invocation to show message
FEA: ItEr74S04BugFixing
2011-04-25 17:29:50 +02:00
Óscar González Fernández
519618cec5 [Bug #994] Show message when finishing reallocations
FEA: ItEr74S04BugFixing
2011-04-25 17:06:17 +02:00
Óscar González Fernández
71e9cbba05 Fix some type warnings related to the use of generics with GanttDiagramGraph
FEA: ItEr74S04BugFixing
2011-04-25 16:08:59 +02:00
Óscar González Fernández
0c7dd825ab Use getReassignationResourcesPerDay
getIntendedResourcesPerDay can return null, so it must fallback to getResourcesPerDay

FEA: ItEr74S04BugFixing
2011-04-25 15:46:04 +02:00
Óscar González Fernández
db3fec089d [Bug #995] Fix bug
Use the non consolidated hours instead of the total hours

FEA: ItEr74S04BugFixing
2011-04-25 15:46:03 +02:00
Diego Pino Garcia
a9be81116b Fix checking of a calendar being used by resources
FEA: ItEr74S04BugFixing
2011-04-25 13:18:12 +02:00
Óscar González Fernández
86be89730c [Bug #1009] Fix bug
onChangeEnableApply was wiping the listener just added. Now both of
them are added to the same time.

FEA: ItEr74S04BugFixing
2011-04-25 13:01:34 +02:00
Lorenzo Tilve Álvaro
da568213fc [Bug #907] Changed styles in advanced limiting assignment cells
Now they are represented with the same styles as in the gantt view to
improve coherence.

FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Lorenzo Tilve Álvaro
409943c04c [Bug #407] Fixed positioning issues in print CSS
FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Lorenzo Tilve Álvaro
692748ee5e [Bug #1007] Vertical height parameter added to CutyCapt
FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Diego Pino Garcia
69e7a18f75 [Bug #975] Stretch function cannot be applied if the task is already 100% consolidated
FEA: ItEr74S04BugFixing
2011-04-23 10:08:00 +02:00
Diego Pino Garcia
9b1fb6c87c [Bug #975] Respect consolidated day assignments of a Resource Allocation when applying a Stretch function
When an advance function is applied to a resource allocation, in this
case a Stretch function, the function should respect the period of
consolidated day assignments if any.

This means that an advance function should only calculate hours for day
assigments considering the period of time in the resource allocation that
is free (has no day assignments).

The class ConsolidatedStretch represents an interval that encompasses the
consolidated day assignments of a resource allocation, if any. This interval
is infered from the resource allocation and is never persisted.

This interval is shown in the window of intervals as disabled (the user
cannot edit it). It can happen that the StretchFunction may have several
intervals defined, then the user consolidates some days, resulting
that some of the intervals previously defined are now outdated (by the
consolidated interval). In this case, an overlap error will happen if
the user tries to apply the function, and the user should remove by hand
those outdated intervals.

FEA: ItEr74S04BugFixing
2011-04-23 10:08:00 +02:00
Diego Pino Garcia
cd9cb77e4a Added sortByDate
FEA: ItEr74S04BugFixing
2011-04-23 10:07:59 +02:00