Commit graph

5196 commits

Author SHA1 Message Date
Ó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
Óscar González Fernández
1b1d11aff7 Calculate Recalculations correctly when doing backwards scheduling
The code has been simplified thank to TaskSource not needing to be a
static class anymore.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
5e1b41d9b7 Add more expressive accessors like isForwardScheduled
Access to scheduleBackwards is encapsulated now.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
347fd6c069 Add new DependencyType START_END
It's necessary to implement reverse.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
f91cd28325 Remove unused methods
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
6b30b570f9 Pull up methods
This refactoring facilitates the reversal of the dependency type

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
3397550a09 Fix exception due to supposing that the init date of a order is not null
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
e3718f4290 Update the correct date when moving explicitly a task
If the current constraint modifies the end date, the end date is the
one that must be modified.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
278f98da95 Only can be moved if the taskElement is an implementation of ITaskPositionConstrained
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
7c3b85a1be Rename ITaskLeafConstraint to ITaskPositionConstrained
The new name reflects better the meaning of the interface.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
f1f79c5e82 Make the type of the constraint depend on the type of the scheduling done
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
4c384cdbfb Let provide a not after than constraint
This constraint comes from the deadline of the order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
403b98f416 Indicate to GanttDiagramGraph if the scheduling is backwards or not
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00