Commit graph

5446 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
1be321f69a Small fix in a message that uses "fiscal code" instead of ID.
FEA: ItEr69S04BugFixing
2011-01-31 17:37:34 +01:00
Manuel Rego Casasnovas
f2f64c6990 [Bug #824] Fixed issue checking worker ID prior to criterions.
Criterion satisfactions were being stored more than one because of them were
being processed before checking worker ID:
  assignedCriterionsModel.confirm();

FEA: ItEr69S04BugFixing
2011-01-31 17:37:26 +01:00
Óscar González Fernández
c9f038974f Avoid memory leak
Delete previous associated listeners so the previous FormBinder and
associated objects can be reclaimed by GC.

FEA: ItEr69S04BugFixing
2011-01-31 16:10:43 +01:00
Óscar González Fernández
0563524f4a [Bug #825] Fix bug
The previous listeners associated to the recommended allocation were
not removed, so pressing the recommended allocation button caused it
to be executed several times.

FEA: ItEr69S04BugFixing
2011-01-31 15:33:55 +01:00
Diego Pino Garcia
3a1b50c2c2 [Bug #829] Don't let user change the type of a dependency between a Limiting Task and any other type of Task
FEA: ItEr69S04BugFixing
2011-01-31 15:22:57 +01:00
Diego Pino Garcia
a83efe11f4 [Bug #829] Fix bug initialize destination and origin tasks of dependencies if they were not initialized yet
FEA: ItEr69S04BugFixing
2011-01-31 12:12:39 +01:00
Diego Pino Garcia
1d74dc565a [Bug #826] Fix bug Validating Exception on allocating a resource to a limiting task the first time
FEA: ItEr69S04BugFixing
2011-01-31 11:55:18 +01:00
Diego Pino Garcia
71461a5092 [Bug 827] Fix bug do appropriative allocation if required based on days constraints
Allocate element at correct position if day constraints required an
appropriative allocation

Reschedule elements affected by an allocation to avoid dependencies violations

FEA: ItEr69S04BugFixing
2011-01-31 10:22:40 +01:00
Diego Pino Garcia
6fc3cd9cb9 [Bug #826] For limiting tasks, update size of the task if the user changes the numbers of hours allocated of the resource allocated in that task
FEA: ItEr69S04BugFixing
2011-01-28 20:14:36 +01:00
Óscar González Fernández
572b3944ea [Bug #821] Fix bug
The day assignments for a modified task were saved several times
because they kept posing as transient.

FEA: ItEr69S04BugFixing
2011-01-26 14:44:08 +01:00
Óscar González Fernández
a219fa75a1 Not allow to allocate on intervals beyond a task's bounds
Inside the task's bounds the allocations can grow until reaching
task's bounds but they can't shrink, i.e. the allocating zero hours
the last day would keep the same end date.

FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 23:23:47 +01:00
Óscar González Fernández
64e870bf21 The cells after the end of the task are not editable
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 21:02:30 +01:00
Óscar González Fernández
f975a8a112 Extract method in order to encapsulate the rule in one place
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:47:58 +01:00
Óscar González Fernández
b9590a9153 Eliminate code repetition
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:47:01 +01:00
Óscar González Fernández
880acd78f4 Fixing the condition for isBeforeTaskStartDate
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:38:41 +01:00
Óscar González Fernández
9f7e428e4a [Bug #816] Fix bug
The problem lied in that the @NotNull annotation was applied to a
field. This is dangerous because if the object that is being validated
is a proxy, the value is always null. Now the annotation was moved to
the getter.

FEA: ItEr69S04BugFixing
2011-01-24 18:58:05 +01:00
Óscar González Fernández
be4bc0092f Show saving message after the changes have really been done
Otherwise if an exception happens it would tell the user that the
allocation has been saved, when in reality it hasn't been saved due to
the exception.

FEA: ItEr69S04BugFixing
2011-01-24 18:58:05 +01:00
Diego Pino Garcia
30509aa3d1 Use Resource.getCaptionFor() for showing list of resources selected
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-24 18:42:08 +01:00
Diego Pino Garcia
942beaf3a6 Select the first radio item of AssignmentType (not necessary GENERIC_ALL_WORKERS)
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-24 18:42:01 +01:00
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