Commit graph

5157 commits

Author SHA1 Message Date
Ó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
Óscar González Fernández
9c4822c08a Add constraints to date fields depending on the scheduling mode
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
3d6e7d295d The scheduling mode can be chosen now.
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
1d8ef13533 Call prepareEditWindow instead of addEditWindowIfNecessary
This is the same that it's done when creating a order and editing a
order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
f9871259ec Remove method because other was doing the same
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
d0e19c2062 Improve Order's validations
Init date and deadline date are required depending on the scheduling
mode.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
7886af8f29 Rename classes to more correct names
TaskStartConstraint and StartConstraintType have misleading
names. They are about position constraints, they do not only restrict
the start date.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
660b3e6405 Initialize correctly the TaskStartConstraint
Not only a notEarlierThan is possible.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
8603377361 Build Task dates correctly
Task's dates must also be calculated when the order's init date is
null.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
64b09ffbdd Apply @NotNull to start and end date
It was not applied to end date. Besides it must be applied to
IntraDayDate properties instead of Date properties because the Date
properties are generated from the IntraDayDate properties.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:02 +01:00
Óscar González Fernández
d0364042f2 Add schedulingMode property to Order
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:02 +01:00
Óscar González Fernández
6617ca9b4e The parameter must be a string
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:02 +01:00
Óscar González Fernández
48043d070e Create the end constraint in the same way as the start constraint
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:01 +01:00
Óscar González Fernández
8821f6a7a5 Pull up fixed task rule
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:01 +01:00
Manuel Rego Casasnovas
705bacdb5b [Bug #754] Fixed bug filtering milestones as are not needed for TaskGroup.updateCriticalPathProgress method.
FEA: ItEr65S06BugFixing
2010-12-14 14:04:21 +01:00
Jacobo Aragunde Pérez
60f899b8f1 [Bug #752] Fixed bug, adding the missing factory method VirtualWorker.create(String code).
FEA: ItEr65S06BugFixing
2010-12-14 13:21:56 +01:00
Óscar González Fernández
5c8bc94c47 [Bug #750] Fix bug
The problem was that a milestone can be a top level task and doesn't
have an associated order element. If the parent of the top level task
is retrieved, the taskgroup associated to the order is returned and
from this taskgroup the order can always be obtained.

FEA: ItEr65S06BugFixing
2010-12-14 13:04:20 +01:00
Manuel Rego Casasnovas
70fd6abddc Fixed some tests in OrderElementServiceTest for MySQL.
FEA: ItEr65S06BugFixing
2010-12-14 12:47:27 +01:00
Diego Pino Garcia
48791766bd Overwrite limitNext() in UntilEndAndEffort so it always returns nextDay
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-14 11:26:55 +01:00
Diego Pino Garcia
0ae147676e Add method endFor() for calculating last day of day assigments
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-14 11:26:41 +01:00
Manuel Rego Casasnovas
f86922f056 [Bug #751] Fixed LabelServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-14 10:12:03 +01:00
Lorenzo Tilve
cd11dc0ede Added necessary white space to print parameters
FEA: ItEr65S06BugFixing
2010-12-14 00:08:25 +01:00
Lorenzo Tilve
84ac0b2def Tooltip iframe src loaded on demand
FEA: ItEr65S11TooltipPerformance
2010-12-13 23:44:56 +01:00
Lorenzo Tilve
6ac87621ed Added support to include custom company logo URL to be displayed in the application
FEA: ItEr65S06BugFixing
2010-12-13 22:33:32 +01:00
Lorenzo Tilve
a51b07f95c Removed wrong auto closed div
FEA: ItEr65S06BugFixing
2010-12-13 22:30:13 +01:00
Lorenzo Tilve
66ca0bcd34 Changed MonteCarlo simulation perspective name and icon
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:22:21 +01:00
Lorenzo Tilve
d42a27fc61 Improved coherence of perspective names
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:22:00 +01:00
Lorenzo Tilve
5d03466e0b Moved project details and project list to be the second selectable perspectives
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:14:48 +01:00
Manuel Rego Casasnovas
bd9b632e41 Created a new profile "liquibase-updatesql" disabled by default that will execute liquibase:updateSQL goal.
* "liquibase-update" profile should be disable if you want to enable this new profile. The argument will be: "-P-liquibase-update,liquibase-updatesql"
* If you want to pass just one ChangeLog file you should pass something like: "-Dliquibase.changeLogFile=src/main/resources/db.changelog-initial.xml"

FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-13 11:21:01 +01:00
Manuel Rego Casasnovas
b8cd0c3eed Moved execution of liquibase:update goal to a new profile "liquibase-update".
Now it can be disabled with following argument for mvn commmand: "-P-liquibase-update"

FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-13 11:20:30 +01:00
Diego Pino Garcia
d4f6c55ae3 Fix bug Exception launched on changing zoom level in limiting resources
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-11 14:33:37 +01:00
Óscar González Fernández
0f247ae039 [Bug #749] Fix bug
When the task is limiting but has not been assigned yet, the end date
must be modified when the task is moved.

FEA: ItEr64S03BugFixing
2010-12-10 17:10:25 +01:00
Óscar González Fernández
0e251086c3 Little refactor
Using and instead of ternary operator

FEA: ItEr64S03BugFixing
2010-12-10 17:05:18 +01:00
Farruco Sanjurjo
f834967dc7 Added if-check to avoid exception caused by Milestone
* Using TaskElementAdapter#getTooltipText or TaskElementAdapter#getLabelsText
with a Milestone object raised an exception because it was trying to use
an order element which it hasn't

FEA: ItEr02S03MigracionZK5
2010-12-10 13:37:19 +01:00
Manuel Rego Casasnovas
8dd86066ac Changed id of first changeset in order to don't exceed 63 chars.
FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-10 11:24:59 +01:00
Diego Pino Garcia
7315647a17 Show correct names of queues in selector 'Select queues'
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-10 11:09:17 +01:00
Diego Pino Garcia
c57d2740db Fix bug Array out of Bounds when clicking on 'Advance allocation' for an order without allocations
FEA: ItEr64S03BugFixing
2010-12-10 11:07:38 +01:00
Diego Pino Garcia
41517ca7e0 [Bug #732] NullPointerException in allocation of limiting resource
FEA: ItEr64S03BugFixing
2010-12-10 10:41:11 +01:00
Manuel Rego Casasnovas
837a12437c Removed previous changesets that are not needed from now on as database re-creation will be required by previous commit.
FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-10 10:33:45 +01:00
Manuel Rego Casasnovas
fe9ed34c6c Adding first changelog with database creation to avoid problems with empty databases.
* Disabled Hibernate schema generation (hbm2dll). Now it just validates the schema.

FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-10 10:28:54 +01:00