Commit graph

6079 commits

Author SHA1 Message Date
Óscar González Fernández
9e4b329791 [Bug #954] Fix bug
Allow to do flush before doing validations, so the optimist locking
exceptions don't happen at validation phase. When validating, the
exceptions are wraped, so the optimist locking failure can't be easily
seen.

FEA: ItEr74S04BugFixing
2011-05-27 13:12:01 +02:00
Óscar González Fernández
10da8d9e2b Revert "[Bug #954] Handle concurrency support in Configuration window"
This reverts commit f0613f5f4c. This
solution caused bad error reporting. Any error was attributed to
several users editing the same data.

FEA: ItEr74S04BugFixing
2011-05-26 19:59:08 +02:00
Óscar González Fernández
341ab3b93c The new support for parametrizing the clearing of handlers is used
This avoid to keep referencing objects longer than necessary.

FEA: ItEr74S08DeployFramework
2011-05-26 19:36:26 +02:00
Óscar González Fernández
0d49317ada Now the clearing behaviour can be parametrized
A when no longer referenced strategy can be used, so
IServletRequestHandler is not keep around in memory more time than
necessary.

FEA: ItEr74S08DeployFramework
2011-05-26 19:34:07 +02:00
Óscar González Fernández
1ec711ce4c More aggresive discarding of sessions and desktops
This helps to free memory faster. If a page is kept open the timer in
the template avoids the session and the desktop to be discarded.

FEA: ItEr74S08DeployFramework
2011-05-26 18:52:59 +02:00
Manuel Rego Casasnovas
939aa1f14a [Bug #1080] Fixed issue with Montecarlo method when critical path has more than 10 tasks.
* Force render for tasks that are in pages not been active.
* Moved out of long operation percentages validation.
* Setting properly active page when some percentage is not valid.

FEA: ItEr74S04BugFixing
2011-05-25 08:47:06 +02:00
Manuel Rego Casasnovas
35adfb3222 [Bug #1079] Fixed lazy exception initializing parent calendar too.
FEA: ItEr74S04BugFixing
2011-05-24 19:49:33 +02:00
Óscar González Fernández
7d8020037d Improve toString message
FEA: ItEr74S04BugFixing
2011-05-24 16:48:15 +02:00
Óscar González Fernández
48ba72511d Fix bug
Parent recalculations must be the ones that are done first.

FEA: ItEr74S04BugFixing
2011-05-24 16:46:18 +02:00
Susana Montes Pedreira
c13bb9bb2a [Bug #984] Add ON_OK event on project name textbox in creation project wizard.
FEA: ItEr74S04BugFixing
2011-05-24 09:28:35 +02:00
Susana Montes Pedreira
58216a103b [Bug #1074] check if exists indicators of the earned value for that date.
FEA: ItEr74S04BugFixing
2011-05-24 09:05:37 +02:00
Manuel Rego Casasnovas
dfb8f372c4 [Bug #1076] Fixed NullPointerException going to Gantt view when project is not scheduled.
FEA: ItEr74S04BugFixing
2011-05-24 07:48:44 +02:00
Óscar González Fernández
c3f5718f24 Reduce the time that request handlers are kept around in CallbackServlet
FEA: ItEr74S08DeployFramework
2011-05-23 19:29:55 +02:00
Óscar González Fernández
783a87e5ba Fix memory leak in TemplateController
FEA: ItEr74S08DeployFramework
2011-05-23 19:29:55 +02:00
Óscar González Fernández
434c92d5be Refactor password not changed controller code
FEA: ItEr74S08DeployFramework
2011-05-23 19:29:55 +02:00
Óscar González Fernández
d1fff90a79 Allow to GC the page before the desktop is discarded
A weak reference is introduced to allow that.

FEA: ItEr74S08DeployFramework
2011-05-23 19:29:54 +02:00
Óscar González Fernández
a4db574b11 Don't let the thread local hang forever in the threads local map
FEA: ItEr74S08DeployFramework
2011-05-23 19:29:54 +02:00
Óscar González Fernández
7a909fcfea Fix leak
Make thread local static to avoid keep alive the GanttDiagramGraph
from the thread local set in the thread.

FEA: ItEr74S08DeployFramework
2011-05-23 19:29:54 +02:00
Óscar González Fernández
e17ac70699 Remove unnecessary timers.
FEA: ItEr74S08DeployFramework
2011-05-23 19:29:54 +02:00
Susana Montes Pedreira
b528c0abc9 [Bug #1022] Include filtering criteria information in the hearders of the reports.
FEA: ItEr74S04BugFixing
2011-05-23 13:45:56 +02:00
Óscar González Fernández
5eca63869d Reduce the live time of desktops
Keep alive pages with timers and reduce timeout time for desktops.

FEA: ItEr74S08DeployFramework
2011-05-23 04:16:26 +02:00
Óscar González Fernández
21d1bd129f Fix memory leak
Desktops and sessions must expire, otherwise all ever instantiations
of pages are kept in memory.

FEA: ItEr74S08DeployFramework
2011-05-23 02:48:15 +02:00
Óscar González Fernández
dfc53a1ce0 Determine the log directory dinamically
It tries to find a suitable logging directory depending of the
container and the name of the application.

FEA: ItEr74S08DeployFramework
2011-05-22 21:22:04 +02:00
Óscar González Fernández
bf381ee2f6 Use asynchronous appender
In order to use an asynchronous appender, xml format must be used.

FEA: ItEr74S08DeployFramework
2011-05-22 21:22:04 +02:00
Óscar González Fernández
75c355f9db Move default log4j.properties to application
Thus they can be reused by other servers. Some changes in the format
of the messages.

FEA: ItEr74S08DeployFramework
2011-05-22 21:22:04 +02:00
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