Commit graph

5580 commits

Author SHA1 Message Date
Diego Pino Garcia
1292828575 Rename property 'default.passwords.control' to 'default.passwordsControl'
FEA : ItEr71S04BugFixing
2011-02-27 20:04:03 +01:00
Diego Pino Garcia
faa68a5256 [Bug #903] Limiting resource allocation window does not respect activation periods for the resources
* Return Queues that satisfy Criteria at any interval of time

FEA : ItEr71S04BugFixing
2011-02-27 13:55:12 +01:00
Diego Pino Garcia
69770b3955 [Bug #900] Error doing generic allocation
* Queue elements can only be applied to Queues which have a Resource of the same type

FEA : ItEr71S04BugFixing
2011-02-27 13:55:12 +01:00
Diego Pino Garcia
12245f86ad [Bug #841] Automatic generic assignment limiting resources raises nullpointer exception
* Merge sort algorithm returned only the min gap for the first queue, but didn't explore all queues
* If a queue element can be applied to several queues, choose the queue with an earliest end date
* latestPossibleEnd was not correctly initialized

FEA : ItEr71S04BugFixing
2011-02-27 13:55:12 +01:00
Diego Pino Garcia
768cf47ee2 [Bug #899] Show tag GENERIC_MACHINES
* Add toString() in some classes
* Show criteria name and criteria type for resource allocations of type generic

FEA : ItEr71S04BugFixing
2011-02-27 11:06:43 +01:00
Manuel Rego Casasnovas
6833231705 [doc] Adapted guide to last changes on reports.
* Added changes to follow last changes related with fonts on reports.
* Renamed Java classes to make it purpose clearer adding "report" on name.
2011-02-25 18:05:57 +01:00
Manuel Rego Casasnovas
dd12790377 [reports] Changed order for project in report strings. 2011-02-25 14:04:47 +01:00
Manuel Rego Casasnovas
73a0bceebe [Bug #611] [reports] Fixed font issues in the rest of reports. 2011-02-25 13:53:56 +01:00
Manuel Rego Casasnovas
abdd646ee2 [Bug #611] [reports] Set font styles in hoursWorkedPerWorkerReport.jrxml. 2011-02-25 13:53:56 +01:00
Manuel Rego Casasnovas
ebb362d2fd [Bug #611] [reports] Review font definition in hoursWorkedPerWorkerReport.jrxml.
* Removed font definitions and styles
* Added a default font with "reportFont" tag
2011-02-25 13:53:56 +01:00
Xavier Castaño
c3d5e4cfff Training material update
Exercices and user training document update:
   * New features exercises
   * New dates in exercices
   * Changes in labels and explanations in user document.
2011-02-25 12:25:21 +01:00
Manuel Rego Casasnovas
f852222644 [doc] Added info about model and extract database data to report guide. 2011-02-25 11:25:18 +01:00
Manuel Rego Casasnovas
8d147f870e [doc] First version of basic tutorial to create a new report on NavalPlan. 2011-02-24 20:46:50 +01:00
Manuel Rego Casasnovas
1983349ed5 Added comment in main pom.xml to mark the point where bundle folders for reports are specified. 2011-02-24 20:46:50 +01:00
Óscar González Fernández
07ec454406 Give more priority to the resources already picked
FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-24 18:03:14 +01:00
Óscar González Fernández
e1b61e752a Keep using the same AssignmentsAllocator
In order to take into consideration the previous resources used the
same AssignmentsAllocator must be used in an allocation. This implies
changes in the until filling allocation that was instantiating an
AssignmentsAllocator for each day. Now one is instantiated and used
for each day until allocating the hours.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-24 16:28:15 +01:00
Óscar González Fernández
6e3bc7bea1 No need to make it abstract
It can be implemented directly in UntilFillingHoursAllocator.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-24 15:27:56 +01:00
Óscar González Fernández
7a00bd09e5 Considerer the biggest assignment done in the last day
If there is spare space left in the last day it's considered, if not
the end is the start of the next day.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-24 13:44:13 +01:00
Manuel Rego Casasnovas
5257732951 Removed some unneeded test code in .zul files related with reports. 2011-02-24 12:50:34 +01:00
Manuel Rego Casasnovas
38dcfa01e0 Removed pencil files with interface prototypes. 2011-02-24 10:29:04 +01:00
Manuel Rego Casasnovas
7c4d2d8522 Removed unneeded dump from Git repository. 2011-02-24 09:36:22 +01:00
Óscar González Fernández
4dd213706d First tries to assign all possible hours without using overtime
If overtime must be used it's distributed evenly among all users using
previous algorithm.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 19:15:08 +01:00
Óscar González Fernández
5e24f6b5b0 Refactor GenericResourceAllocationTest
Now it allows more flexibility stubbing calendars.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
540a18c7ab Change method to use EffortDuration
Remove unnecessary uses too.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
1b776c4e4f Not need to specify explictly a null calendar
By default a nice mock returns null.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
104983cd3d Rename classes
We no longer work in hours, we work with EffortDurations instead.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
6fbbe3c30f Rename local variables so it's easier to understand
FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
3b424beddb Remove unused methods
FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
c24fe5a615 Add getCapacityWithOvertime to ICalendar
This method is needed to distribute the load among resources taking
into account the overtime.

FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
219b3c1f16 Add min and max methods to Capacity 2011-02-23 18:34:54 +01:00
Óscar González Fernández
834d29e887 Rename method so it's consistent
FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
3c8d4e9f49 Add method to multiply a Capacity
FEA: ItEr71S07FragmentationDeletionItEr70S09
2011-02-23 18:34:54 +01:00
Óscar González Fernández
226f37d1d8 Move method closer to call site
It's also made private since it's no longer used in other places.

FEA: ItEr70S09FragmentationDeletion
2011-02-23 18:34:53 +01:00
Óscar González Fernández
04ae798d48 Remove warnings from file
One method was unused and the other one was accessed when doing
validations before saving.

FEA: ItEr70S09FragmentationDeletion
2011-02-23 18:34:53 +01:00
Manuel Rego Casasnovas
0df4c9db43 [Bug #789] Fixed several translation issues lately detected.
FEA: ItEr71S04BugFixing
2011-02-23 14:03:31 +01:00
Susana Montes Pedreira
18a345afe5 [Bug #867] Fix bug
use method equal in the comparisons and fix the formatted.

FEA : ItEr71S04BugFixing
2011-02-22 20:14:23 +01:00
Susana Montes Pedreira
7cd133bd0f [Bug #867] Fix bug
Mark string for translation and fix typo.

FEA : ItEr71S04BugFixing
2011-02-22 19:01:30 +01:00
Susana Montes Pedreira
26eefa92b3 [Bug #867] Fix bug
can to delete the end date of the last activation period. In other
case it shows a message that notifies the condition.

FEA : ItEr71S04BugFixing
2011-02-22 18:24:53 +01:00
Susana Montes Pedreira
a6978d55a8 [Bug #847] Fix bug
check if the position is inside range before using it.

FEA : ItEr71S04BugFixing
2011-02-22 13:31:40 +01:00
Manuel Rego Casasnovas
d5399c82a7 [Bug #881] Using always the same string for autogenerated codes.
FEA: ItEr71S04BugFixing
2011-02-22 10:46:53 +01:00
Óscar González Fernández
626ba85f8f [Bug #861] Fix bug
Deleting the order elements without parents after the task sources
have been synchronized.

When an OrderElement is removed it's left behind whithout parent. The
method deleteOrderElementWithoutParent is responsible of deleting
them.  If this is done before doing the tasks synchronization, the
associated TaskGroup to the OrderGroup removed has as children the
moved task. This causes said task to be processed twice, from two
differnet possitions: at the OrderGroup removed and at the position it
was added.

Now deleteOrderElementWithoutParent it's done after the
synchronization, so the associated TaskGroup doesn't have the moved
task.

FEA: ItEr71S04BugFixing
2011-02-21 19:51:47 +01:00
Manuel Rego Casasnovas
b6590e691a [Bug #879] Using inherited instead of indirect for criteria and labels.
FEA: ItEr71S04BugFixing
2011-02-21 18:54:43 +01:00
Manuel Rego Casasnovas
a76e26a4e5 [Bug #878] Changed menu order in order to have coherency between menu and perspectives.
FEA: ItEr71S04BugFixing
2011-02-21 18:28:22 +01:00
Diego Pino Garcia
926a03616c [Bug #856] Failure when you close with the exit button 'X' in edition window of the order elements
FEA: ItEr70S04BugFixing
2011-02-21 17:44:45 +01:00
Óscar González Fernández
02be879a14 [Bug #855] Fix bug
The last valid resources per day and hours are used; not the
calculated ones. Otherwise when changing the calendar of a resource,
the resources per day are recalculated when reassigning. This caused
the allocation to not change.

FEA: ItEr71S04BugFixing
2011-02-21 17:24:16 +01:00
Óscar González Fernández
a196487fd0 Apply validation annotation to the field
Because it's a value object this is not dangerous, i.e., it can't be a
proxy. Now it's really checked a not null value is not saved.
2011-02-21 17:24:15 +01:00
Óscar González Fernández
03febe580f [Bug #871] The problem is due to receiving an empty list of tasks
When the critical path received is empty the PlanningDate can't be
updated. Instead a warning is logged.

FEA: ItEr71S04BugFixing
2011-02-21 15:42:25 +01:00
Óscar González Fernández
184499d3cc [Bug #865] Fix bug
If the recommended alloation cannot be done, no operations are
disabled.

FEA: ItEr70S04BugFixing
2011-02-21 14:52:30 +01:00
Diego Pino Garcia
0cc3a2a87f [Bug #870] NavalPlan appears in English if browser is configured with es-es
FEA: ItEr70S04BugFixing
2011-02-21 11:30:49 +01:00
Diego Pino Garcia
de1d37ee61 Fix bug create or edit resource should start on first tab
FEA: ItEr70S04BugFixing
2011-02-21 11:05:09 +01:00