Commit graph

6868 commits

Author SHA1 Message Date
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
Óscar González Fernández
1a335dbab3 Fix intermittent test failures
Some tests in ScenarioModelTest failed due to creating several orders
with the same name. This shouldn't be a problem since each creation is
rolled back, but somehow there was already an order with that name or
sometimes the creations are not rolled back.

FEA: ItEr75S04BugFixing
2011-09-14 13:14:21 +02:00
Ignacio Diaz Teijido
a5d28c39fd [Bug #1176] changed controller to allow a search in only one day (from 00:00:00 to 23:59:59)
FEA: ItEr75S04BugFixing
2011-09-13 13:53:26 +02:00
Pablo Fernández de la Cigoña Nóvoa
1f28f6bb31 Use some commonProgress functions included in common_functions.sah in progress_test.sah
FEA: ItEr75S18DataTypesTests
2011-09-13 12:49:18 +02:00
Pablo Fernández de la Cigoña Nóvoa
58604a9bb4 Include a new test in calendar_test.sah and modify a function in configuration_test.sah
FEA: ItEr75S21AdministrationTests
2011-09-13 12:49:16 +02:00
Pablo Fernández de la Cigoña Nóvoa
953de335a5 Include some new tests in machines_test.sah
FEA: ItEr75S24ResourcesTests
2011-09-13 12:18:31 +02:00
Pablo Fernández de la Cigoña Nóvoa
27a6b0820a Added new file all_account_test.suite which allow run all the account tests and include account tests in all_test.suite
new file: scripts/functional-tests/account/all_account_test.suite

FEA: ItEr75S24ResourcesTests
2011-09-13 11:23:30 +02:00
Pablo Fernández de la Cigoña Nóvoa
f125150c38 Added new file password_test.sah
new file: scripts/functional-tests/account/password_test.sah

FEA: ItEr75S24ResourcesTests
2011-09-13 11:23:27 +02:00
Pablo Fernández de la Cigoña Nóvoa
6402564a97 Added new test file settings_test.sah in a new folder account
new file: scripts/functional-tests/account/settings_test.sah

FEA: ItEr75S24ResourcesTests
2011-09-13 11:23:17 +02:00