Commit graph

6729 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
8136cb5380 Update information about assignment function in allocation row
When apply button is used in resource allocation pop-up, assignment
function information needs to be updated in the case that a manual
allocation is converted to flat.

FEA: ItEr75S23FixAllocationModel
2011-08-30 09:08:08 +02:00
Manuel Rego Casasnovas
ee182c77f9 Rename setWithoutApply to setAssignmentFunctionWithoutApply in ResourceAllocation
FEA: ItEr75S23FixAllocationModel
2011-08-30 08:27:47 +02:00
Manuel Rego Casasnovas
fed7b1d362 Apply assignment function if any from resource allocation pop-up
FEA: ItEr75S23FixAllocationModel
2011-08-30 08:27:38 +02:00
Óscar González Fernández
f622fe4eda Use already existent method with more descriptive name
FEA: ItEr75S23FixAllocationModel
2011-08-29 19:07:28 +02:00
Óscar González Fernández
cfc7c01a1e Avoid FormBinder.getCurrentRows
It is potentially unsafe.

FEA: ItEr75S23FixAllocationModel
2011-08-29 18:58:01 +02:00
Manuel Rego Casasnovas
0053c5e5d2 Disable resource allocation inputs when assignment function is not flat
FEA: ItEr75S23FixAllocationModel
2011-08-29 17:26:55 +02:00
Manuel Rego Casasnovas
dc90281538 Remove unneeded URL in data types tests suite
FEA: ItEr75S18DataTypesTests
2011-08-29 10:42:59 +02:00
Pablo Fernández de la Cigoña Nóvoa
5828f54091 Added two new suites
new file: scripts/functional-tests/all_test.suite
new file: scripts/functional-tests/users/all_user_test.suite

FEA: ItEr75S18DataTypesTests
2011-08-29 10:42:55 +02:00
Cristina Alvarino
b2a1c2f307 [Bug #1143] A quality form cannot be deleted if it is associated to any task
FEA: ItEr75S04BugFixing
2011-08-29 09:56:40 +02:00
Manuel Rego Casasnovas
0063dd5e74 Only show assignment function if any is not flat
FEA: ItEr75S23FixAllocationModel
2011-08-26 20:42:01 +02:00
Manuel Rego Casasnovas
627352e7e5 Show information about assignment function in resource allocation popup
FEA: ItEr75S23FixAllocationModel
2011-08-26 20:41:29 +02:00
Manuel Rego Casasnovas
7de9f16197 Fix bug now it is possible to come back to flat allocation from any assignment function
FEA: ItEr75S23FixAllocationModel
2011-08-26 19:05:19 +02:00
Manuel Rego Casasnovas
625990a092 Apply assignment function if any when user modify total hours of an allocation
FEA: ItEr75S23FixAllocationModel
2011-08-26 19:00:24 +02:00
Manuel Rego Casasnovas
467c9f547a Remove warning messages when user modifies assignments in advanced allocation
FEA: ItEr75S23FixAllocationModel
2011-08-26 17:45:25 +02:00
Manuel Rego Casasnovas
fca805d4f8 Disable configuration button for assignment functions not configurable.
FEA: ItEr75S23FixAllocationModel
2011-08-26 17:23:07 +02:00
Pablo Fernández de la Cigoña Nóvoa
e4473f7ac3 Added profile_test.sah into user folder
new file: scripts/functional-tests/users/profile_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-26 12:43:09 +02:00
Pablo Fernández de la Cigoña Nóvoa
e91c979290 Include file all_data_type_test.suite which allow run all data type test
new file: scripts/functional-tests/data-types/all_data_type_test.suite
testrunner.sh was modified to allow run tests just one by one

FEA: ItEr75S18DataTypesTests
2011-08-26 12:38:49 +02:00
Pablo Fernández de la Cigoña Nóvoa
0f77a2c748 Added work report model data type tests
new file:   scripts/functional-tests/data-types/work_report_model_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-26 11:57:14 +02:00
Manuel Rego Casasnovas
568cb354b6 If a task has manual allocation and is moved then reset to flat
* Add function isManual in AssignmentFunction
* Modified AssignmentFunction::applyAssignmentFunctionsIfAny in order to
  reset to flat if manual allocation was applied

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
5e2f50d082 Add function isSigmoid in IAssignmentFunctionConfiguration
FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
bed8715973 Rename assignment function name enum
FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
68ecab06df AssignmentFunction is now an abstract class.
Methods applyTo and getName are abstract too.

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
9af9bde497 Add ManualFunction for advanced allocation
When user edits manually the hours in advanced allocation, assignment
function is changed to Manual.

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:26 +02:00
Lorenzo Tilve Álvaro
7b89bd5388 [Bug #1163] Included .js file in component for scroll synchronization with timetracker
FEA: ItEr75S04BugFixing
2011-08-26 10:53:08 +02:00
Lorenzo Tilve Álvaro
0cd9a4297a [Bug #1163] Fixed visibility of allocation panel scroll bars
FEA: ItEr75S04BugFixing
2011-08-26 10:45:45 +02:00
Lorenzo Tilve Álvaro
93c10a3ec1 Fixed transparency problems in stretches function configuration window
FEA: ItEr75S08MigrationZK5
2011-08-26 10:43:04 +02:00
Lorenzo Tilve Álvaro
b0c6fa15d8 Fixed width issues in reassignment popup
FEA: ItEr75S04BugFixing
2011-08-26 10:41:34 +02:00
Óscar González Fernández
152a50573c [Bug #1165] Fix bug
Use reattachment of the order. This allows that not all the data of
the order must be loaded when creating the PlanningState for the first
time. For example, the advance assignments don't need to be loaded
anymore.

FEA: ItEr75S04BugFixing
2011-08-25 20:03:28 +02:00
Óscar González Fernández
4d46a7d10b [Bug #1165] Fix bug
Force load advance assignments.

FEA: ItEr75S04BugFixing
2011-08-25 19:30:45 +02:00
Óscar González Fernández
218dac5219 Fix exception when going to the resource load directly
Creating a new planning state must be done inside a transaction.

FEA: ItEr75S04BugFixing
2011-08-25 19:13:15 +02:00
Manuel Rego Casasnovas
99a85fac5c Use Listbox instead of Combobox in functions column of advanced allocation window
FEA: ItEr75S23FixAllocationModel
2011-08-25 11:04:27 +02:00
Manuel Rego Casasnovas
d14079cacd Reduce width for efforts column in advanced allocation
Now there're more space for name column.

FEA: ItEr75S23FixAllocationModel
2011-08-25 09:52:42 +02:00
Manuel Rego Casasnovas
85d40ad0e8 Fix wrong message in configuration button of functions
In advanced allocation some functions are not configurable (flat and
sigmoid), now a proper message is shown in these cases.

FEA: ItEr75S23FixAllocationModel
2011-08-24 20:15:57 +02:00
Pablo Fernández de la Cigoña Nóvoa
b2aff695e5 Create a new folder which includes user tests and include user_test.sah
new file:   scripts/functional-tests/users/user_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-24 18:52:59 +02:00
Manuel Rego Casasnovas
7371806d18 Rename None function to Flat in resource allocation
FEA: ItEr75S23FixAllocationModel
2011-08-24 18:25:02 +02:00
Óscar González Fernández
a29553fc97 Reattach the planning state if exists
Otherwise the resources of the allocations and the resources queried
would be different instances for the same entities and some
calculations would be uncorrect.

FEA: ItEr75S04BugFixing
2011-08-24 14:29:25 +02:00
Óscar González Fernández
c71373060b Fix percentage calculation
If the assigned effort is zero, the percentage is zero.

FEA: ItEr75S04BugFixing
2011-08-24 14:16:50 +02:00
Óscar González Fernández
dd99732c05 [Bug #1164] Fix bug
Remove no needed reattachment. The code is already executed inside a
transaction.

FEA: ItEr75S04BugFixing
2011-08-24 14:05:27 +02:00
Pablo Fernández de la Cigoña Nóvoa
a7a043b4f5 Added check Code label functions in all data type tests
FEA: ItEr75S18DataTypesTests
2011-08-23 20:41:15 +02:00
Javier Moran Rua
26196e69ee [doc] Links the help of report 'Work and progress per project' to the help icon. 2011-08-23 20:15:35 +02:00
Javier Moran Rua
725c552c79 [doc] Added help for report 'Work and progress per project' in Galician 2011-08-23 20:15:35 +02:00
Javier Moran Rua
5df06f6ef0 [doc] Added help for report 'Work and progress per project' in Spanish. 2011-08-23 20:15:35 +02:00
Javier Moran Rua
43914986a6 [doc] Added help for report 'Work and progress per project' in English. 2011-08-23 20:15:35 +02:00
Manuel Rego Casasnovas
2c7619850f Removed unused variable in loops.
FEA: ItEr75S04BugFixing
2011-08-23 19:54:26 +02:00
Manuel Rego Casasnovas
95d210b39b Fix issue when moving a task with an assignment function.
Now assignment function is applied again in destination.

For StretchesFunction a new method was needed in order to update
stretches dates in destination.
Actually, dates shouldn't be stored in Stretch class. This should be
changed in the future.

FEA: ItEr75S23FixAllocationModel
2011-08-23 19:54:26 +02:00
Óscar González Fernández
a893c303a4 Fix typo
FEA: ItEr75S04BugFixing
2011-08-23 18:19:31 +02:00
Pablo Fernández de la Cigoña Nóvoa
cb61c010a9 Include logs in all the data type tests.
FEA: ItEr75S18DataTypesTests
2011-08-23 09:50:25 +02:00
Pablo Fernández de la Cigoña Nóvoa
c579a50d9f Added new test to criteria_test.sah file and include respective functions on the common_function.sah file
Included Check code test:
 * Change configuration
 * Try to create a new Criterion without Code (it should be a failure)
 * Change configuration like before

FEA: ItEr75S18DataTypesTests
2011-08-22 17:07:44 +02:00
Pablo Fernández de la Cigoña Nóvoa
133578ea42 Adds work hours data type test
new file: scripts/functional-tests/data-types/work_hours_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-22 11:57:46 +02:00
Manuel Rego Casasnovas
bb41783930 [Bug #1139] Fix several tests due to new constraint in defaultPrice
FEA: ItEr75S04BugFixing
2011-08-22 11:38:32 +02:00