Commit graph

5427 commits

Author SHA1 Message Date
Diego Pino Garcia
16da5b7524 Refactored constraintForResourcesPerDay and constraintForHoursInput
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-24 17:24:44 +01:00
Lorenzo Tilve
1f944add30 [Bug #807] Revamped cell styles in advanced assignment
FEA: ItEr69S04BugFixing
2011-01-24 13:48:33 +01:00
Lorenzo Tilve
45001cf71a Graphical issues in taskdetails component
FEA: ItEr68S04BugFixing
2011-01-21 18:12:19 +01:00
Lorenzo Tilve
eab8e216bd Fix javascript error when resizing ganttpanel and chart is not shown
FEA: ItEr68S04BugFixing
2011-01-21 18:12:19 +01:00
Lorenzo Tilve
856f88df3f Changed image path for non-workable day shade
FEA: ItEr68S06WaterMarkProjectCalendarItEr67S06
2011-01-21 18:12:19 +01:00
Lorenzo Tilve
4e3a1bb09d [Bug #661] Fix bug for weeklevel
FEA: ItEr68S06WaterMarkProjectCalendarItEr67S06
2011-01-21 18:12:19 +01:00
Lorenzo Tilve
bfe6b71cae Added shade image for non workable days on zoomlevel week
FEA: ItEr68S06WaterMarkProjectCalendarItEr67S06
2011-01-21 13:49:59 +01:00
Manuel Rego Casasnovas
468797466b Released 1.0.2 version.
* Bump to 1.0.2.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr68S03CommunityMaterialItEr67S03
2011-01-21 12:21:51 +01:00
Manuel Rego Casasnovas
8695018358 Fixed problem in Debian package install with some missing SQL sentences.
Bug reported on NavalPlan forum:
http://sourceforge.net/projects/navalplan/forums/forum/1085571/topic/4064159/

FEA: ItEr68S04BugFixing
2011-01-21 12:21:35 +01:00
Lorenzo Tilve
21baa28cf6 [Bug #810] Fix bug
FEA: ItEr68S04BugFixing
2011-01-21 10:58:41 +01:00
Lorenzo Tilve
e6b72a0bd8 Minor fix
FEA: ItEr68S04BugFixing
2011-01-21 10:58:02 +01:00
Lorenzo Tilve
65fc42ce65 [Bug #817] Fix bug
FEA: ItEr68S04BugFixing
2011-01-21 09:50:51 +01:00
Lorenzo Tilve
441b9b0d8b Added horizontal line under timetracker header
FEA: ItEr68S04BugFixing
2011-01-21 09:50:51 +01:00
Diego Pino Garcia
8b6e5c5420 [Bug #818] Exception launched on clicking 'Resource search' type of allocation (generic, specific) radio button
FEA: ItEr68S04BugFixing
2011-01-20 20:35:18 +01:00
Diego Pino Garcia
0decbb958a Fix bug in 'Worker search' screen, close button was not working for limiting resources
FEA: ItEr68S04BugFixing
2011-01-20 18:36:36 +01:00
Farruco Sanjurjo
ad592e8efc Fixed invalid timetracker's width for days
FEA: ItEr02S03MigracionZK5
2011-01-20 15:42:26 +01:00
Manuel Rego Casasnovas
416a69fe89 Fixed problem with last LiquiBase change in MySQL.
Execute the next SQL sentence in your database if you want to keep working with
your current database:

UPDATE DATABASECHANGELOG
    SET MD5SUM='3:b6640208fbf11943fa46d8953516bad7'
    WHERE ID='replace-column-limited_resource-with-resource_type' AND
        AUTHOR='jaragunde' AND
        FILENAME='src/main/resources/db.changelog-1.0.xml';

FEA: ItEr68S04BugFixing
2011-01-20 08:40:39 +01:00
Óscar González Fernández
53e9840c65 [Bug #815] Fix bug
If an instance with the same fiscal id is not found, then true must be
returned.

FEA: ItEr68S04BugFixing
2011-01-19 19:19:23 +01:00
Óscar González Fernández
bb16e8346c Add possibility of specifying new invalid dates
The invalid ranges mechanism is not suitable when the invalid dates to
specify are potentially infinite.

An additional mechanism is added allowing to veto some of the dates.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:47 +01:00
Óscar González Fernández
76fcb59dad Extract method
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:47 +01:00
Óscar González Fernández
2a382e201e Make canWork rely on Capacity data
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Óscar González Fernández
252e994ba1 Use Capacity in BaseCalendar
Now the extra effort properties are respected. The code is simplified
since there is no longer needed special handling for exceptions.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Óscar González Fernández
781f6f83c2 Make consufing method private
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Manuel Rego Casasnovas
59dae6bb43 Updated NavalPlan license headers to 2011.
FEA: ItEr68S03CommunityMaterialItEr67S03
2011-01-19 18:40:35 +01:00
Diego Pino Garcia
5363737b5a Refactored components allocation_search and allocation_search_component
Now these two components support a new attribute 'behaviour'.

This attribute defines how the search components should work. For
instance, non limiting search is configured to allow multiple selection
and search only for non limiting resources. On the contrary, limiting
search only allows to pick one resource.

New behaviours could be added in the future, or support new
functionality, for example, allow to select only specific resources, for
instance.

FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-19 18:31:37 +01:00
Diego Pino Garcia
e50b163b41 Added Resource.getCaptionFor()
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-19 17:54:50 +01:00
Jacobo Aragunde Pérez
bc4c59e006 Replaced method IResourceSearchModel.byLimiting(boolean) with .byResourceType(ResourceType).
A lot of dependent code had to be updated.

FEA: ItEr66OTS04XestionRecursosEstratexicosItEr65OTS07
2011-01-19 17:16:40 +01:00
Jacobo Aragunde Pérez
6d48769a46 Replaced the limitingResource attribute in Resource entity with resourceType.
This replacement has implications in higher layers and makes the application
crash, but changes are separated in several patches to improve their legibility.

In this patch, we modify the DB, the DB update system and the entities in the
bussiness layer.

FEA: ItEr65OTS07XestionRecursosEstratexicos
2011-01-19 17:15:25 +01:00
Manuel Rego Casasnovas
b511dff794 Small enhancement in CutyCapt command.
* Removed path to avoid problems if CutyCapt is not installed under "/usr/bin/".

FEA: ItEr68S08PrintingSupport
2011-01-19 13:21:07 +01:00
Manuel Rego Casasnovas
e56ceadadf Fixed problem with CSS not being used in printing.
* The problem is that in last version of CutyCapt the parameter name has changed
  from "user-styles" to "user-style-path".

FEA: ItEr68S08PrintingSupport
2011-01-19 13:20:58 +01:00
Ó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