Commit graph

5397 commits

Author SHA1 Message Date
Óscar González Fernández
77307a0351 When creating the default calendar make weekend days not overassignable
The already created calendar data are modified too using a liquibase
changeset.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 12:04:40 +01:00
Óscar González Fernández
d33ec14c17 Ensure selected date is always not null
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 12:04:37 +01:00
Susana Montes Pedreira
723ccd3cbd [Bug #765] Fixes the position of the scroll bar in the resources load screen.
it calculates the new position of the scrollbar when the zoom is changed.

FEA : FEA : ItEr68S04BugFixing
2011-01-19 10:15:12 +01:00
Susana Montes Pedreira
ea39f8e08b [Bug #765] Fixes the position of the scroll bar in the limiting planning.
it calculates the new position of the scrollbar when the zoom is changed.

FEA : ItEr68S04BugFixing
2011-01-19 10:13:22 +01:00
Susana Montes Pedreira
6b16b19327 [Bug #765] Fixes the position of the scroll bar in the gantt.
it calculates the new position of the scrollbar when the
zoom is changed.

FEA : ItEr68S04BugFixing
2011-01-19 10:04:58 +01:00
Susana Montes Pedreira
5e9431e631 [Bug #813] it corrects redirects in the editing virtual workers screen
it returns to editing virtual workers screen when you hit
save and continue buttom.

FEA : ItEr68S04BugFixing
2011-01-19 09:51:42 +01:00
Susana Montes Pedreira
c6ad404b8c [Bug #812] changes Map for SortedMap in PredefinedDatabaseSnapshots
it changes Map for SortedMap to maintain the ordering in criterion types collection.

FEA : ItEr68S04BugFixing
2011-01-19 09:00:03 +01:00
Óscar González Fernández
5a98c3871a Add Capacity Picker for edition of CalendarData
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 00:21:25 +01:00
Óscar González Fernández
cf18d04498 Make CalendarData return Capacity instead of EffortDuration
This change imply changes in dependent entities.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 00:10:18 +01:00
Óscar González Fernández
a13129756a Refactor test
Now uses several transactions to ensure that it's really testing the
implied behavior.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 22:13:47 +01:00
Óscar González Fernández
29ed1006a8 Replace switch by method
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 20:57:38 +01:00
Óscar González Fernández
8af33ec846 Remove parameter
Use field insteand. This reduces the possibility of introducing errors
by calling the method with the wrong picker.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 20:26:11 +01:00
Óscar González Fernández
78fdb775cb Fix parameter name
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:47:21 +01:00
Óscar González Fernández
77ef632be7 CalendarData is updated receiving Capacity objects
The callers now have to construct Capacity objects in a way that the
previous behavior is preserved.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:41:54 +01:00
Óscar González Fernández
df31c80788 Remove unchecked casting warnings
The cast are safe. The problem is that ZK doesn't use generics.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:20 +01:00
Óscar González Fernández
641b1941a2 Remove unused method
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:20 +01:00
Óscar González Fernández
bb1af58fb1 Remove use of java.util.Date for Calendar related entities
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:20 +01:00
Óscar González Fernández
8b80e15ad6 Rename method to reflect better meaning
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:19 +01:00
Óscar González Fernández
458eefae12 Use CapacityPicker to edit the capacity of a CalendarException
When choosing a day it still doesn't show all the capacity information
correctly, but editing it works well.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 16:27:49 +01:00
Óscar González Fernández
36703525f1 Allow CapacityPicker to work without bindings
Add methods to get the current value and set it.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 16:27:49 +01:00
Óscar González Fernández
691218a617 Make the methods for creating and adding exceptions receive Capacity
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 16:27:49 +01:00
Óscar González Fernández
21c77f04b3 Show extra effort column for CalendarException
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 16:27:49 +01:00
Óscar González Fernández
bdc66d29af Move methods for getting efforts representations
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 16:27:49 +01:00
Manuel Rego Casasnovas
b2b21b61a1 [Bug #796] Fixed. The problem is that the AdvanceMeasurement was still marked as transient.
FEA: ItEr68S04BugFixing
2011-01-18 12:55:47 +01:00
Diego Pino Garcia
db8ce5099d [Bug #811] Translate pending messages including string 'nif/NIF'
FEA: ItEr68S04BugFixing
2011-01-18 11:42:39 +01:00
Susana Montes Pedreira
1a8d6534c9 [Bug #812] sorts the combo of multiple search in allocation pop-up.
it places the criteria and then virtual workers, workers
and machines and, it sorts each set by name.

FEA : ItEr68S04BugFixing
2011-01-18 10:30:44 +01:00
Susana Montes Pedreira
23fd066194 [Bug #797] checks out if obligatory data are introduced to create a new project.
FEA : ItEr68S04BugFixing
2011-01-18 10:19:33 +01:00
Susana Montes Pedreira
789734c3e3 [Bug #797] checks out that deadline is greater than start date in project popup window.
FEA : ItEr68S04BugFixing
2011-01-18 10:19:33 +01:00
Diego Pino Garcia
47d92b81e4 When doing an appropriative allocation, unschedule only enough elements for making room for the new position
When an element is forced into a position (apropriative allocation) and
there's not room enough for allocating that element at that position,
it's necessary to unschedule elements in that queue until there's
room enough.

Before, all elements in a queue were unscheduled which guaranted the new
element would fit, but this caused that other elements could be rearranged
when it was not actually needed.

Now the algorithm only unschedules enough elements for fitting the
allocating element at the new position, instead of unscheduling the whole
queue since that position.

FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:46 +01:00
Diego Pino Garcia
e4a5ca5ebe Remove reloadElementInQueue()
It's not necessary to call it as queues are refreshed later and its elements
are shown at their correct position. In addition, this method was
causing trouble as sometimes an element was successfully removed but not
sucessfully added to the same queue.

FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:46 +01:00
Diego Pino Garcia
9dbcf0c006 When end is null (last gap) add 10 years from now 2011-01-17 20:45:45 +01:00
Diego Pino Garcia
93d34a6a9d Fix bug unschedule since date, if an element is already placed at that date unschedule it too 2011-01-17 20:45:45 +01:00
Diego Pino Garcia
fbe21f9f4b Refactor code for allocating previously unscheduled elements
Once all new allocations are done, originally unschedule elements are
unschedule/schedule again, to force dependencies are satisfy

FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:45 +01:00
Diego Pino Garcia
d7d552c07c Change behaviour for appropriative and non-appropriative allocations
Now, when a queue element is allocated at a specific date:

* Unschedule all elements in target queue from that date on. If there's
already an element at that date, unschedule it too.
* Schedule those elements back in the queue in topological order. This
guarantees that dependencies are satisfied.

As a result, the new element is allocated at specified date and all the
elements after that day are shifted in the queue. If there were
dependencies between those shifted elements and other elements in the
queue, they will be shifted in their own queue too.

Take into account scheduling time when moving a task to a specific date.

Distinguish between how to generate day assigments between appropriate and
non-appropriative allocations.

FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:45 +01:00
Diego Pino Garcia
e3d680e0b1 Schedule several unassigned queue elements at once
FEA: ItEr65OTS05AlgoritmosLimitantes
2011-01-17 20:45:45 +01:00
Diego Pino Garcia
136cb0540c Check if an automatic allocation should be appropriative or non-appropriative
FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:45 +01:00
Diego Pino Garcia
b87384fa88 Calculate the latestEndDate where a limiting resource task could be allocated
FEA: ItEr66OTS03AlgoritmosLimitantesItEr65OTS05
2011-01-17 20:45:45 +01:00
Óscar González Fernández
3bc59e3b41 Use name for method more consistent with field name
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-17 18:57:09 +01:00
Óscar González Fernández
100a863969 Use Capacity instead of EffortDuration for CalendarData
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-17 18:48:43 +01:00
Óscar González Fernández
db9a92fe51 Now CalendarException uses a Capacity instead of the field duration
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-17 18:33:14 +01:00
Óscar González Fernández
64367510ee Change label to reflect better meaning
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-17 17:38:07 +01:00
Diego Pino Garcia
836c3d2da0 [Bug #803] Refactor LimitingResourcesPanel
* Modularize code and removed unused code in other related classes

FEA: ItEr68S04BugFixing
2011-01-17 14:16:20 +01:00
Óscar González Fernández
affada5877 [Bug #804] Fix bug
The problem lied in that in advanced allocation perspective only the
task being modified was saved. Now the task's parents are updated and
saved too.

FEA: ItEr68S04BugFixing
2011-01-17 12:28:21 +01:00
Diego Pino Garcia
7aa159e391 [Bug #803] Fix bug dependencies were not being drawn again on changing zoom level in LimitingResources
* Removed unused code or code that was being executed twice

FEA: ItEr68S04BugFixing
2011-01-17 12:11:45 +01:00
Manuel Rego Casasnovas
9e52a3a41e [Bug #809] Fixed marking to translate missing label.
FEA: ItEr68S04BugFixing
2011-01-17 11:16:18 +01:00
Lorenzo Tilve
efee412ff5 Added warning message to login screen for unsupported browsers
FEA: ItEr68S04BugFixing
2011-01-14 18:31:26 +01:00
Lorenzo Tilve
4795eebb91 Changed image for limiting resources tasks deadlines
FEA: ItEr68S04BugFixing
2011-01-14 12:06:44 +01:00
Lorenzo Tilve
0b0deafe4f After moving tasks its violated depedendences are displayed with different style
FEA: ItEr68S04BugFixing
2011-01-14 12:06:44 +01:00
Lorenzo Tilve
e4baa54410 Refactored dependencies implementation to support different appearance based on CSS class
FEA: ItEr68S04BugFixing
2011-01-14 12:06:44 +01:00
Manuel Rego Casasnovas
fd16bbf8f8 Released 1.0.1 version.
* Bump to 1.0.1.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-14 10:22:39 +01:00