Commit graph

5208 commits

Author SHA1 Message Date
Óscar González Fernández
6cd735f009 Remove unnecessary code
The global end constraints are applied in the dominating forces when
appropriate.

FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Manuel Rego Casasnovas
b6b7327f72 Fixed small issues related with PostgreSQL Java library link.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 18:10:26 +01:00
Óscar González Fernández
d4628bf37c [Bug #772] Fix bug
Enforcing restrictions on the source because it can be affected too
when doing backwards allocation.

FEA: ItEr66S04BugFixing
2010-12-21 17:45:54 +01:00
Manuel Rego Casasnovas
a884449609 Updated debian/changelog with last changes.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
6d3b3410e9 Some renames in Debian package.
* Renamed war in order to use just navalplan instead of navalplanner-webapp.
* Renamed data source name for context.xml now using navalplan-ds.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
76b43a85b6 Added new dependency to libpg-java package.
* Modified debian/rules in order to a proper link to PostgreSQL Java library at /usr/share/tomcat6/lib.
* Also added lines to restart Tomcat in order to load this library.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
479cac6bbd Copying install SQL script in order to create database structure for Debian package.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
fb35692c1c Fixed Debian package in order to work with last versions of Tomcat.
In Tomcat 6 "/etc/tomcat6/context.xml" doesn't have a new line in the last one and this was causing troubles adding NavalPlan configuration.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Óscar González Fernández
5112be9c6e [Bug #760] Fix corner case
When the calculated value was end date and the task was moved
backwards with a new end date that is before to the old start date and
the allocation cannot be satisfied, the start date picked would be
posterior to the new end. To avoid this, the dates must always be
recalculated taking into account the length.

FEA: ItEr66S04BugFixing
2010-12-21 16:53:00 +01:00
Óscar González Fernández
edf8bab805 [Bug #769] Fix bug
Ensuring that the variable with the resulting restrictions is not
null. When the task is fixed, this variable was not intialized.

FEA: ItEr66S04BugFixing
2010-12-21 15:35:56 +01:00
Óscar González Fernández
18bec6f9f3 [Bug #762] Fix bug
Sometimes in backward allocation after doing a resize the finish date
ends up being the same as before. In this case the TaskComponent is
not notified of the change. So now after resizing the properties of
the task are always updated.

FEA: ItEr66S04BugFixing
2010-12-21 00:06:10 +01:00
Óscar González Fernández
2a2b8a3331 [Bug #766] Fix bug
The problem lied in that the task's start date changed due to the task
being moved but the resource allocation keep on using its own date
instead of the new value. This leads to using a stale value for doing
the allocation. This can cause that the used start date was posterior
that the new end date as it happened in the exception.

FEA: ItEr66S04BugFixing
2010-12-20 22:40:37 +01:00
Óscar González Fernández
07a30262bf [Bug #760] Fix bug
In case of not satisfying the allocation the proper date must be
returned.

FEA: ItEr66S04BugFixing
2010-12-20 17:41:43 +01:00
Óscar González Fernández
ef092794a0 Remove unused class
FEA: ItEr66S04BugFixing
2010-12-20 16:45:40 +01:00
Manuel Rego Casasnovas
f1b322f6e3 [Bug #751] Fixed WorkReportServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-17 17:30:17 +01:00
Diego Pino Garcia
2cbbc2ee42 Remove unused code
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 16:29:14 +01:00
Diego Pino Garcia
a2f359013e Respect dependency constraints for manual allocation
Manual allocation, either appropriative and non-appropriative, didn't
respect dependency constraints. Now manual allocation respects
dependencies in the same manner as automatic allocation

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 15:46:41 +01:00
Diego Pino Garcia
c3f78fcc8f Refactor DateAndHour.max and add DateAndHour.min
Remove Validation date not null in constructor

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 15:46:41 +01:00
Susana Montes Pedreira
0670d99e57 [Bug #764] Fix bug
if the window has already been initialized the tabpanels are reseted,
so that it is necessary to initialize the default controller,in this
case the OrderElementTreeController.

FEA : ItEr65S06BugFixing
2010-12-17 13:11:33 +01:00
Manuel Rego Casasnovas
db06347370 Fixed tests failing in ResourceServiceTest.
FEA: ItEr65S06BugFixing
2010-12-17 12:15:51 +01:00
Manuel Rego Casasnovas
24ae2c1a20 Fix bug added in previous commit "5ad99d0bce33ccaa5fb80cc7ca8535228c14009b".
Execute next sentence:
UPDATE databasechangelog SET md5sum='3:8a4ed0c0131906744a85a38278180e13' WHERE id='add scheduling mode' AND author='ogonzalez' AND filename='src/main/resources/db.changelog-initial.xml';

FEA: ItEr65S06BugFixing
2010-12-17 10:42:14 +01:00
Manuel Rego Casasnovas
5ad99d0bce Fixing problems with LiquiBase we were mixing "addDefaultValue" with "update".
Execute the next SQL sentence in your database if you want to keep working with your current database:
UPDATE databasechangelog SET md5sum='3:009cd5341d49b5415bf7ec539de24c79' WHERE id='add-company-logo-url-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml';
UPDATE databasechangelog SET md5sum='3:2b767fd34386bfe53579516ddaccbdcc' WHERE id='add scheduling mode' AND author='ogonzalez' AND filename='src/main/resources/db.changelog-initial.xml';
UPDATE databasechangelog SET md5sum='3:53d99bb420a0c55c8eaa9389e3fc0ed5' WHERE id='add-scenarios-enabled-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml';

FEA: ItEr65S06BugFixing
2010-12-17 09:19:39 +01:00
Manuel Rego Casasnovas
68b799fda0 Renamed "order" in some missing strings at ganttzk module.
FEA: ItEr65S06BugFixing
2010-12-17 08:46:15 +01:00
Manuel Rego Casasnovas
4918307f0c Renamed "order" to "project" and "order element" to "task" in all the strings.
FEA: ItEr65S06BugFixing
2010-12-16 22:02:28 +01:00
Manuel Rego Casasnovas
d55b9950c6 [Bug #764] Fixed method name and created a new constant DEFAULT_TAB.
FEA: ItEr65S06BugFixing
2010-12-16 21:03:02 +01:00
Susana Montes Pedreira
9a7090406a Fix bug
it updates the task dependencies  and its start constraint
type when the task is resized.

FEA : ItEr65S06BugFixing
2010-12-16 13:09:31 +01:00
Lorenzo Tilve
80bd3a84be Fix problems related with null configuration properties
FEA: ItEr65S06BugFixing
2010-12-16 12:40:43 +01:00
Lorenzo Tilve
dd65d04880 Configuration setting hides/enables scenarios menu entry and selector
FEA: ItEr65S07ScenarioVisibility
2010-12-16 11:04:45 +01:00
Lorenzo Tilve
6c3475cea2 Created scenarios visibility chechbox in configuration settings
FEA: ItEr65S07ScenarioVisibility
2010-12-16 11:04:45 +01:00
Lorenzo Tilve
7c36182be7 [Bug #758] Fix bug
Changed deadline styles from zigzag to stright line and adapted background-positioning

FEA: ItEr65S06BugFixing
2010-12-16 11:02:09 +01:00
Susana Montes Pedreira
988b911365 From the company screen it is showed a pop-up with the main properties to create a new project.
FEA : ItEr65S09CreateProject
2010-12-16 10:27:23 +01:00
Susana Montes Pedreira
808eb1a3c1 it changes the way of creating a project.
Show a pop-up from order list view to create a
new order with the main properties.

FEA : ItEr65S09CreateProject
2010-12-16 10:27:23 +01:00
Susana Montes Pedreira
4d72cca820 it changes the name of the Order Elements tab and it places at first position.
FEA : ItEr65S09CreateProject
2010-12-16 10:27:22 +01:00
Manuel Rego Casasnovas
2612457d58 [Bug #751] Fixed OrderElementServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-15 21:08:48 +01:00
Manuel Rego Casasnovas
6fb8c09ac0 [Bug #751] Fixed CostCategoryServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-15 18:58:36 +01:00
Manuel Rego Casasnovas
5186b18dee [Bug #751] Fixed UnitTypeServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-15 18:07:29 +01:00
Diego Pino Garcia
b916a3a50c Fix bug for all elements affected by the allocation of a 'LimitingResourceQueueElement', remove all its dependency components before refreshing its queue
The method assignLimitingResourceQueueElement() allocates an limiting
resource queue element from the list of new queue elements to a queue.
Queue elements already in a queue might be affected by this allocation
(may change their position due to dependency constraints) and need to
redraw.

For redrawing each element, its queue is refreshing. Refreshing the
queueu causes to paint the elements in a new position an create new
dependency components, however the old dependecy components need to be
removed before.

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-15 18:04:50 +01:00
Óscar González Fernández
745fad2d7c [Bug #753] Fix bug
The parents recalculations were recalculating the secondary point,
this caused that a posterior recalculation for the secondary point of
the same task would say it has not modified the task. This caused the
depending recalculations to not be executed.

Now when doing the parent recalculation only the primary point is
modified.

FEA: ItEr65S06BugFixing
2010-12-15 17:15:09 +01:00
Manuel Rego Casasnovas
3f97bba952 Fixed LiquiBase changeset to work properly on MySQL.
Execute the next SQL sentence in your database if you have already applied last changeset:
UPDATE databasechangelog SET md5sum='3:0ba5792ffc0bff2a1ce571047b008796' WHERE id='rename start_constraint_type in task and task milestone';

FEA: ItEr65S06BugFixing
2010-12-15 16:57:13 +01:00
Diego Pino Garcia
3794fc60c6 Fix bug LazyInitializationException on saving limiting resources
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-15 16:13:32 +01:00
Óscar González Fernández
2f2ebb8f86 Now by default the order lines are scheduled
FEA: ItEr65S06BugFixing
2010-12-15 15:59:50 +01:00
Óscar González Fernández
ec11dab825 Notify when a constraint is satisfied too
FEA: ItEr65S06BugFixing
2010-12-15 13:24:00 +01:00
Manuel Rego Casasnovas
fb35f59ebf [Bug #751] Fixed TypeOfWorkHoursServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-15 12:47:05 +01:00
Susana Montes Pedreira
4bf30c6c2f it changes the version and add it to NavalPlan interface.
FEA : ItEr65S03NavalPlanVersionItEr64S08
2010-12-15 12:05:49 +01:00
Manuel Rego Casasnovas
7e8b13734c Updating several information files.
* README: Updated content.
* INSTALL: Updated content.
* TODO: Added planned features for future releases.
* HACKING: Added basic file with link to wiki.

FEA: ItEr65S04CommnityMaterialItEr64S09
2010-12-15 11:14:40 +01:00
Óscar González Fernández
1ca56bd7f8 Fix bug
The global constraints to apply depend on the point,
globalStartConstraints can't always be applied.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 01:29:51 +01:00
Óscar González Fernández
e1fbe76a4d Fix variable name
Not always is the start date.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 01:26:49 +01:00
Óscar González Fernández
297d3e6106 The shrinking must be applied to the end too
This is needed because we also have backwards scheduling now.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 00:56:31 +01:00
Óscar González Fernández
12a2dc372d Remove method from adapter
getSmallestBeginDateFromChildrenFor can be implemented in
GanttDiagramGraph. Thus there is less duplication.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 00:35:37 +01:00
Óscar González Fernández
2f498a9070 Support backwards scheduling
The implementation is the same as for forward scheduling but some
parametrizations. Lots of refactorings to make it possible.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:42:40 +01:00