Commit graph

6054 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
eaf17f75b9 Added new Liquibase changelog file for new developments on stable branch.
The new file is "db.changelog-1.1.xml" and will store changes that will
be needed for the future 1.2 version.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-19 17:36:06 +02:00
Manuel Rego Casasnovas
50aecc4cc3 Released 1.1.0 version.
* Bump to 1.1.0.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-19 07:50:37 +02:00
Susana Montes Pedreira
6fc94feca3 [Bug #980] show warning in "Earned Value" tab for future dates.
FEA: ItEr74S04BugFixing
2011-05-18 11:29:51 +02:00
Manuel Rego Casasnovas
5c90bf0398 Fixed missing file for upgrading database with Debian package.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-18 09:24:04 +02:00
Manuel Rego Casasnovas
23421180b8 Fixed issue upgrading Debian package and removed unneeded dependency.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-18 08:43:30 +02:00
Óscar González Fernández
71235e2c8e Extract common functionality into methods
FEA: ItEr74S04BugFixing
2011-05-16 19:40:23 +02:00
Óscar González Fernández
0b97acc372 Calls to reassign wipe out the previous not consolidated assignments
This allows to delete the calls to reassign with zero effort.

FEA: ItEr74S04BugFixing
2011-05-16 17:55:37 +02:00
Óscar González Fernández
ff54310d36 Add test for a corner case
FEA: ItEr74S04BugFixing
2011-05-16 17:54:07 +02:00
Óscar González Fernández
15facfeb08 Use guard instead of if for all method
FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Óscar González Fernández
e5c2dadf16 Move calculation of efforts to Consolidation
FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Óscar González Fernández
d84ced9393 When deconsolidating it always uses the previous assingments instead of the newly created ones
After adding or removing a consolidated value, the day assignmetns
consolidated values are changed. The updateConsolidatedAssignments
aproach is no longer used and its method is removed.

FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Óscar González Fernández
ca1a0fed28 Remove code with no effect
FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Óscar González Fernández
ed7c26d8f5 Provide EffortDurations instead of the more coarse hours
FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Óscar González Fernández
b2c38242fd Remove unused method
FEA: ItEr74S04BugFixing
2011-05-16 16:28:37 +02:00
Lorenzo Tilve Álvaro
6801396cc4 [Bug #979] Set default width for earned value legend container
FEA: ItEr74S04BugFixing
2011-05-16 16:13:41 +02:00
Manuel Rego Casasnovas
6201b65d4c Linked wiki from README and INSTALL files.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-16 13:37:12 +02:00
Manuel Rego Casasnovas
f94d576c26 Removed dependency with LaTeX as it is not needed to build the package.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-16 12:36:05 +02:00
Manuel Rego Casasnovas
7a05d8b7a1 Added database upgrade scripts for version 1.1.0.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-16 12:36:05 +02:00
Óscar González Fernández
d733ba80a8 [Bug #1070] Calculate the critical path using a topological order
Avoid exponential increase of calculations done, only visiting a node
when all their predecessors have already been processed. This
guarantees that the nodes are processed in a topological order, i.e.,
a node is not processed until their predecessors are processed.

FEA: ItEr74S04BugFixing
2011-05-15 21:08:28 +02:00
Óscar González Fernández
f82b20bbd1 Remove tasks that are not really initial from the initial and end tasks
FEA: ItEr74S04BugFixing
2011-05-15 21:05:59 +02:00
Óscar González Fernández
f1f9074647 Cache the calculated topological order
FEA: ItEr74S04BugFixing
2011-05-14 22:43:20 +02:00
Óscar González Fernández
feea8ef382 [Bug #1070] Fix problem in GanttDiagramGraph
getRecalculationsNeeded took a huge amount of time when tasks can be
reached from several paths in complex graphs. In the case a task is
reached from another path the recalculation for that task was removed
from the result and added to the pending queue. Thus it was guaranteed
that the result was a topological order, since recalculations would be
pushed to the end. But the recalculations dependent of the already
added were still in the pending queue and executed. This caused more
removals from the result and subsequent additions to the pending
queue.

Now a topological order is applied to the recalculations
calculated. For each task point a depth value is calculated. A
topological order is necessary, so a recalculation is executed after
all its predecessors.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:33 +02:00
Óscar González Fernández
907c232492 When enforcing all the constraints using only the ones without incoming dependencies
Otherwise repeated calculations are done.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:25 +02:00
Óscar González Fernández
fd2c2ca718 When populating the graph with dependencies don't enforce contraints yet
The constraints are asked to be enforced later.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:13 +02:00
Manuel Rego Casasnovas
a78a86083c [Bug #1066] Fixed bug updating calendar exception days.
FEA: ItEr74S04BugFixing
2011-05-13 18:16:16 +02:00
Manuel Rego Casasnovas
95389ffcd4 [Bug #1068] Fixed issue when a quality form advance was marked as spread.
FEA: ItEr74S04BugFixing
2011-05-13 14:05:21 +02:00
Óscar González Fernández
48cb431159 [Bug #1067] Fix bug
Highlight was not working outside the execution of a event. Previously
it was executing bound to a bookmark change event, but now using
matrix parameters it is no longer true.

Now highlight would work outside the handling of an event listener.

FEA: ItEr74S04BugFixing
2011-05-13 12:21:08 +02:00
Óscar González Fernández
464ca82042 Fix disparity between dates in task properties and allocation tab
FEA: ItEr74S04BugFixing
2011-05-12 17:51:22 +02:00
Manuel Rego Casasnovas
34369a92f3 [i18n] Fixed issue using application in Spanish.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-11 20:13:33 +02:00
Manuel Rego Casasnovas
5a6e3fc048 [i18n] Updated Spanish and Galician translations.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-11 20:13:33 +02:00
Manuel Rego Casasnovas
973f631619 [i18n] Updating keys.pot files.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-11 20:13:33 +02:00
Susana Montes Pedreira
1344e362ef [Bug #1006] it catchs HibernateOptimisticLockingFailureException in validator method
of the CalendarExceptionType Entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-11 20:13:32 +02:00
Óscar González Fernández
2a101847d4 [Bug #1054] Consider task constraints
FEA: ItEr74S04BugFixing
2011-05-11 20:00:03 +02:00
Óscar González Fernández
1fba1c4896 Make DomainDependency implement IDependency
FEA: ItEr74S04BugFixing
2011-05-11 20:00:03 +02:00
Óscar González Fernández
252f5165f1 Rename method to a more accurate name
FEA: ItEr74S04BugFixing
2011-05-11 20:00:03 +02:00
Óscar González Fernández
a553aade8c Avoid O(n2) algorithm
Removing already present using algorithm with linear complexity.

FEA: ItEr74S04BugFixing
2011-05-11 19:59:46 +02:00
Óscar González Fernández
7d98e4a4c4 Change allocateKeepingProportions so it uses EffortDurations instead of hours
FEA: ItEr74S04BugFixing
2011-05-11 19:59:46 +02:00
Óscar González Fernández
be1ea3f66c Refactor
Extract functionality to filter consolidated day assignments so it can
be reused more easily.

FEA: ItEr74S04BugFixing
2011-05-11 19:59:45 +02:00
Óscar González Fernández
25d23a9e5b It's inefficient to use boxed objects
FEA: ItEr74S04BugFixing
2011-05-11 19:59:45 +02:00
Óscar González Fernández
f569d6d2c7 Fix violation of the intended immutability of IntraDayDate
A comment in the javadoc is added stating it. Final keyword is added
to the class so the immutability is not bypassed using
subclasses. Final cannot be applied to the fields because it must have
an empty constructor for Hibernate.

FEA: ItEr74S04BugFixing
2011-05-11 19:58:36 +02:00
Susana Montes Pedreira
77bf52ee44 [Bug #996] fixing bug in desconsolidation action.
it only removes and adds the new day assignments that have been reassigned.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Susana Montes Pedreira
b6f76b9ee4 [Bug #996] Update the end date of the task correctly.
The new date is equal to the new finish of task more one day.
So that the end date is not included in the reassigning of hours.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Susana Montes Pedreira
7186362a3b [Bug #996] Calculate correctly the proportion of hours for each day.
Now the proportion is calculated differently for the consolidated values
and according to the percentage of the consolidation to which it belongs.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Manuel Rego Casasnovas
0ff719101e [Bug #1041] Fixed issues with default password warning messages.
FEA: ItEr74S04BugFixing
2011-05-11 17:26:24 +02:00
Manuel Rego Casasnovas
408686138f [Bug #1065] Fixed issue adding method to open a new transaction on DAO.
* Added method findUniqueByNameAnotherTransaction to
  CalendarExceptionTypeDAO.
* Renamed method findByName to findUniqueByName in
  CalendarExceptionTypeDAO.

FEA: ItEr74S04BugFixing
2011-05-11 10:25:37 +02:00
Manuel Rego Casasnovas
41c357a3c3 Revert "[Bug #1006] it catchs HibernateOptimisticLockingFailureException in validator method"
This reverts commit d3be77ff43.
2011-05-11 09:52:31 +02:00
Susana Montes Pedreira
d3be77ff43 [Bug #1006] it catchs HibernateOptimisticLockingFailureException in validator method
of the CalendarExceptionType Entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 20:32:17 +02:00
Susana Montes Pedreira
73fbd7b969 [Bug #1002] it catchs HibernateOptimisticLockingFailureException in validator method
of the orderElementTemplate Entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 19:35:58 +02:00
Susana Montes Pedreira
bb04626999 [Bug #1008] it catchs HibernateOptimisticLockingFailureException in validator
method of the  workReportType entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 19:35:49 +02:00
Susana Montes Pedreira
c5de10fa0e [Bug #1061] it marks LimitingResourceQueueModel with @OnConcurrentModification
to intercept an OptimisticLockingFailureException.

FEA: ItEr74S04BugFixing
2011-05-10 19:35:35 +02:00