Commit graph

6876 commits

Author SHA1 Message Date
Óscar González Fernández
d6b0882506 PlanningState is now responsible of creating the SaveCommand and the PlannerConfiguration
FEA: ItEr75S11PreventLooseChanges
2011-09-25 13:25:53 +02:00
Óscar González Fernández
f0721a8f23 Use a singleton for creating a SaveCommand
FEA: ItEr75S11PreventLooseChanges
2011-09-25 13:25:48 +02:00
Óscar González Fernández
4d79e2d212 Make TaskElementAdapter a singleton
FEA: ItEr75S11PreventLooseChanges
2011-09-25 13:25:14 +02:00
Jacobo Aragunde Pérez
f2fb4ff8f7 Written the client-side code to draw dependencies in limiting resources screen.
The code is based on the same code used in the ZK 3.x versions of NavalPlan.
TODO: reuse more code from dependency drawing implementation in ganttz.

FEA: ItEr75S08MigrationZK5
2011-09-23 17:38:47 +02:00
Jacobo Aragunde Pérez
953027e290 Added properties idTaskOrig and idTaskEnd to LimitingDependencyComponent.
FEA: ItEr75S08MigrationZK5
2011-09-23 17:30:51 +02:00
Jacobo Aragunde Pérez
26c0d2d5c9 Create widget QueueTask with an empty structure, removing wrong event listeners from it.
FEA: ItEr75S08MigrationZK5
2011-09-23 17:30:51 +02:00
Cristina Alvarino
b8a542b72e [Bug #1172] Fixed search
FEA: ItEr75S04BugFixing
2011-09-23 13:05:57 +02:00
Cristina Alvarino
75ee56c53d [Bug #1151] Fixed layout problems in report "Hours worked by resource in a month"
FEA: ItEr75S04BugFixing
2011-09-23 12:58:44 +02:00
Pablo Fernández de la Cigoña Nóvoa
a359014fbe Include some changes to solve a error on criteria_test.sah and include scheduling tests on all_test.suite
FEA: ItEr75S18DataTypesTests
2011-09-23 12:01:21 +02:00
Pablo Fernández de la Cigoña Nóvoa
81ce80d9f4 Fix problems in the tests, created for some changes in work report form
FEA: ItEr75S24ResourcesTests
2011-09-23 12:01:19 +02:00
Pablo Fernández de la Cigoña Nóvoa
0687fc1eb8 Use some functions from common_functions.sah, in planning_labels_test.sah
FEA: ItEr75S26SchedulingTests
2011-09-23 12:01:18 +02:00
Ignacio Diaz Teijido
9fd9427253 [Bug #1149] Fixed ClassCastException on ResourceDAO
* There was a bad cast of the query result to Worker instead of Resource

FEA: ItEr75S04BugFixing
2011-09-23 09:26:31 +02:00
Ignacio Diaz Teijido
8a38a22b17 Added options on label filtering
* User can choose among WorkReports, OrderElements and both in Label Filter.
* There is a new Enum with these three options to be used along the layers.

FEA: ItEr75S04BugFixing
2011-09-23 09:11:28 +02:00
Ignacio Diaz Teijido
9f0f9cc595 Changed query to filter by labels
* It was asking for labels of work report or work report line instead of labels of order elements associated

FEA: ItEr75S04BugFixing
2011-09-23 08:21:46 +02:00
Ignacio Diaz Teijido
bc4fbb417d [Bug #1177] Allows to insert EffortDuration instead of hours in webservices
FEA: ItEr75S04BugFixing
2011-09-22 17:31:11 +02:00
Ignacio Diaz Teijido
0e4088215c Fix issue in work reports services
Work reports service was not working since it implements
IWorkReportDTOsElements. This patch fix this issue

FEA: ItEr75S04BugFixing
2011-09-22 17:31:11 +02:00
Manuel Rego Casasnovas
35eef28c41 Upgrade ZK version to 5.0.8
FEA: ItEr75S04BugFixing
2011-09-22 14:49:29 +02:00
Ignacio Diaz Teijido
03ed11545a [Bug #1179 & #1182] Fixes UI for WorkReport edition
* Changed EffortPicker to Textbox
* Added a validation message when effort is less or equal to zero
* Also fixed a bug found in OrderElementDAO when the effort of a line edited was less than previous effort

FEA: ItEr75S04BugFixing
2011-09-22 14:37:55 +02:00
Manuel Rego Casasnovas
c40d645148 Remove unused method in ResourceAllocationController
FEA: ItEr75S23FixAllocationModel
2011-09-22 09:16:40 +02:00
Pablo Fernández de la Cigoña Nóvoa
c2caa43c6e Added new file which includes tests for all the search fields of resources
new file: scripts/functional-tests/resources/search_resources_test.sah

FEA: ItEr75S24ResourcesTests
2011-09-21 18:08:58 +02:00
Pablo Fernández de la Cigoña Nóvoa
5a42b3858b Include some functions from virtual_worker_test.sah in common_functions.sah
FEA: ItEr75S24ResourcesTests
2011-09-21 17:55:21 +02:00
Pablo Fernández de la Cigoña Nóvoa
def7885364 Improve commonCriteriaCreate to allow create a criterion type with different criteria names
FEA: ItEr75S24ResourcesTests
2011-09-21 17:30:22 +02:00
Lorenzo Tilve Álvaro
7895184e80 [Bug #1189] Added auto horizontal scroll in templates WBS to fix bug
FEA: ItEr75S04BugFixing
2011-09-21 13:44:24 +02:00
Manuel Rego Casasnovas
1d806f40f5 Fix issue with size of font in combos in advanced allocation window
FEA: ItEr75S04BugFixing
2011-09-21 12:21:41 +02:00
Manuel Rego Casasnovas
a20e122495 [Bug #1184] Fix issue avoiding reset verticalPage to zero
FEA: ItEr75S04BugFixing
2011-09-21 12:15:30 +02:00
Manuel Rego Casasnovas
484b2652da Load required data in MaterialAssignmentDAOTest
Test was failing when it was executed isolated from the rest of tests.
Thanks to Dmytro Melanchenko <melanchenko@gmail.com> for reporting.

FEA: ItEr75S04BugFixing
2011-09-21 09:29:57 +02:00
Manuel Rego Casasnovas
2e658edacb [Bug #1180] Change method names in order to make explicit that work with root templates
FEA: ItEr75S04BugFixing
2011-09-21 08:38:12 +02:00
Manuel Rego Casasnovas
2f15adcedc [Bug #1180] Fix bug. checkConstraintUniqueTemplateName is only checked in root elements
FEA: ItEr75S04BugFixing
2011-09-21 08:38:08 +02:00
Pablo Fernández de la Cigoña Nóvoa
c4dae61528 Include new test in planning_criteria_test.sah to check the filter of project planning and move some elements to common_functions.sah
ItEr75S26SchedulingTests
2011-09-20 18:13:20 +02:00
Pablo Fernández de la Cigoña Nóvoa
20a6f9842c Added new test file with include some tests for project planning and assign a labels in a task
new file: scripts/functional-tests/scheduling/planning_labels_test.sah

FEA: ItEr75S26SchedulingTests
2011-09-20 18:03:48 +02:00
Pablo Fernández de la Cigoña Nóvoa
2e9e67e12c Added new test file with include some tests for project planning and assign a criterion in a task
new file: scripts/functional-tests/scheduling/planning_criteria_test.sah

FEA: ItEr75S26SchedulingTests
2011-09-20 18:03:46 +02:00
Ignacio Diaz Teijido
667daa893c [Bug #1148] Intializes pulldown for year and month properly
* Created two methods in WorkReportDAO to get the years between the reports are created
* Modified model, controller and interface to show those fields properly.

FEA: ItEr75S04BugFixing
2011-09-20 15:33:38 +02:00
Ignacio Diaz Teijido
d5a5ee0eb1 [Bug #1155] Changed selected items to items for showing name of projects in report
FEA: ItEr75S04BugFixing
2011-09-20 15:30:10 +02:00
Dmytro Melanchenko
f237b713fd Change dialect to MySQL5InnoDBDialect in order to fix issues with MySQL 5.5
With MySQLInnoDBDialect it inserts type=InnoDB to CREATE TABLE instructions.
Correct statement in this case is engine=InnoDB but it comes to SQL DDL only
when dialect is MySQL5InnoDBDialect.
2011-09-20 11:36:57 +02:00
Dmytro Melanchenko
28e6a98091 Drop and restore foreign key in database due to change in to sum_charged_effort_id 2011-09-20 11:36:57 +02:00
Ignacio Diaz Teijido
8ca1ab1d44 [Bug #1154] Sorts the report by order name.
* Order entity implements now Comparable with the field name.

FEA: ItEr75S04BugFixing
2011-09-20 10:22:35 +02:00
Manuel Rego Casasnovas
a3b22f2ec6 [Bug #1156] Fix bug force loading of HoursGroup entities
FEA: ItEr75S04BugFixing
2011-09-20 09:52:11 +02:00
Ignacio Diaz Teijido
8188f3c190 [Bug #1178] Showing EffortDuration in reports instead of BigDecimal
Some new scriptlet classes were added

FEA: ItEr75S04BugFixing
2011-09-19 20:01:34 +02:00
Pablo Fernández de la Cigoña Nóvoa
24b34efd6e Include some functions of workers in common_functions.sah and use them
FEA: ItEr75S24ResourcesTests
2011-09-19 15:55:32 +02:00
Pablo Fernández de la Cigoña Nóvoa
87a81a6fb4 Include some functions about labels in common_functions.sah and use them
FEA: ItEr75S18DataTypesTests
2011-09-19 15:47:43 +02:00
Pablo Fernández de la Cigoña Nóvoa
ef997a413d Include new test for templates in a new folder scheduling
new file: scripts/functional-tests/scheduling/templates_test.sah

FEA: ItEr75S26SchedulingTests
2011-09-19 12:17:10 +02:00
Ignacio Diaz Teijido
98dac4a50a [Bug #1147] Fix issues in Hours Worked Per Resource report
FEA: ItEr75S04BugFixing
2011-09-19 11:40:41 +02:00
Manuel Rego Casasnovas
b096b7c5bc Small fix in HoursWorkedPerWorkerController to avoid NullPointerException
FEA: ItEr75S04BugFixing
2011-09-19 11:25:54 +02:00
Ignacio Diaz Teijido
0db57e81c4 [Bug #1146] Fixed model setting hasChangeLabels to true after a label remove
* Done for Hours worked per resource report

FEA: ItEr75S04BugFixing
2011-09-19 10:57:07 +02:00
Óscar González Fernández
5d7ff14bce [Bug #1175] Fix bug
Availability was not averaged for low zoom levels (month and
year). This caused the overload to not be shown.

FEA: ItEr75S04BugFixing
2011-09-15 20:31:09 +02:00
Óscar González Fernández
3c8e148d21 [Bug #1175] Fix bug
Some duplicated day assignments were being processed, causing more
resource load to be calculated.

FEA: ItEr75S04BugFixing
2011-09-15 18:10:50 +02:00
Óscar González Fernández
ea99dc9a46 Avoid unnecessary calculations
The interval is applied immediately.

FEA: ItEr75S04BugFixing
2011-09-15 17:12:12 +02:00
Óscar González Fernández
c23360b063 Add method to extract the interval of a ContiguousDaysLine
FEA: ItEr75S04BugFixing
2011-09-15 17:12:12 +02:00
Lorenzo Tilve Álvaro
530b61cc45 Fixed problems width problems in chrome
FEA: ItEr75S04BugFixing
2011-09-14 18:57:22 +02:00
Lorenzo Tilve Álvaro
bf2b823e13 Fixed issue with hidden elements in print view
FEA: ItEr75S04BugFixing
2011-09-14 18:57:22 +02:00