Commit graph

4440 commits

Author SHA1 Message Date
Farruco Sanjurjo
1cd5265481 Added throws statement
* As a result of upgrading to ZK 5.0.3 new exception handling statemens were
required at AssignedTaskQualityFormsToOrderElementController

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:46 +02:00
Farruco Sanjurjo
b1382122f2 Removed deprecated method getRealStyle
* Replaced with renderProperties
* Used setWidgetAttribute for setting widget properties (not 100% about this, maybe we should use render(...))

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:45 +02:00
Farruco Sanjurjo
c0953ddc4c Upgrading TaskComponent to ZK 5
* Removed Command and CommandComponent imports
* Added AuService import
* Used setAuService

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:41 +02:00
Farruco Sanjurjo
d72404af3f Upgraded TimeTrackerComponent to ZK 5
* Removed Command and CommandComponent imports
* Use of setAuService(...)

FEA: ItEr02S03MigracionZK5
2010-08-26 20:52:55 +02:00
Farruco Sanjurjo
aac8dad6f9 Upgrade ZK version to 5.0.3
FEA: ItEr02S03MigracionZK5
2010-08-26 20:52:03 +02:00
Óscar González Fernández
090074194c Change hours input to duration input.
Now an exception day can be created with a precise duration instead of
specifying a number of hours.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:36:21 +02:00
Óscar González Fernández
5590dd6ff6 Remove references to hours in CalendarException.
The signature of the factory methods is changed, now they receive
EffortDuration instead of a Integer. CalendarException#getHours method
removed.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:35:13 +02:00
Óscar González Fernández
f76e93815a Show duration instead of hours below calendar
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:37 +02:00
Óscar González Fernández
6a7c6d8689 Show durations instead of hours on exceptions table
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:36 +02:00
Óscar González Fernández
d1e55418fe Cleanup tests.
Remove unnecessary catches and format code.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:25:38 +02:00
Susana Montes Pedreira
3a4c58b133 [Bug #349] Button to create an order from a template has been removed.
It adds the button to create a an order from a template
of type order template.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-24 12:53:53 +02:00
Diego Pino Garcia
7476455dd2 [Bug #603] Load template element tree in Template view
There was a bug after applying optimizations on how the tree is loaded.
Now it's necessary to reload the tree from directly java code. Before it
was done via reloadBindings()

FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-23 17:56:55 +02:00
Óscar González Fernández
6536f36b8e Remove hours methods on BaseCalendar.
They are replaced by methods accepting and returning EffortDurations.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 17:42:21 +02:00
Óscar González Fernández
56912d7750 Let minutes and seconds values overflow to the next unit.
The spinners are updated with the new values normalized, so entering
60 minutes becomes an hour, and so on.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:43 +02:00
Óscar González Fernández
4c4cf6dc1b Enter the duration instead of the hours.
The hours field is replaced by a EffortDurationPicker

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:38 +02:00
Óscar González Fernández
4d7c03c8e0 Add component for showing and editing durations
This is the initial implementation of such component with the basic
functionality.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:06 +02:00
Óscar González Fernández
6d831a5572 Remove hours methods on CalendarData
FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:20:53 +02:00
Óscar González Fernández
0c3222ba12 Do several cleanups.
Removing unused fields, unnecessary catches and accessing static
members through class.
2010-08-23 16:20:53 +02:00
Lorenzo Tilve
3c869a2337 [Bug #592] Adding label tooltiptext and tree icon width fixes.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-23 09:31:16 +02:00
Óscar González Fernández
6df2e3b75b Change getHours method to getDuration.
Instead of returning a number of hours return a EffortDuration.

FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:25:24 +02:00
Óscar González Fernández
399a2edcd3 Implement Comparable on EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
0228ce0e65 ResourcesPerDay now works with EffortDurations instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
597989de06 Add method decomposing an EffortDuration into its elements
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
c15b228904 Add utility methods so it's easier to create EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Susana Montes Pedreira
9008f945a3 Changes the workingProgressPerTask report.
It changes the interface for the selection of orders.
It adds the filtered by labels and criterions to the workingProgressPerTask report.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-20 12:36:53 +02:00
Susana Montes Pedreira
11f62e1dcf Changes the TimeLineMaterial report.
It changes the interface for the selection of orders.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-20 10:11:58 +02:00
Susana Montes Pedreira
2cd19b4cea Changes the SchedulingProgressPerOrder report.
It changes the interface for the selection of orders.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-19 15:14:58 +02:00
Susana Montes Pedreira
828c065c23 ItEr60S15AnA04S11RFAdaptacionFiltradosInformes : Changes the OrderCostPerResource report.
It changes the interface for the selection of orders.
It adds the filtered by labels and criterions to the OrderCostPerResource report.
2010-08-19 13:14:39 +02:00
Lorenzo Tilve
4ca98525db ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #592] Fixed problems with styles. 2010-08-18 18:08:45 +02:00
Manuel Rego Casasnovas
3bdc973c00 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #592] Initial fix for bug.
It needs some changes in CSS in order to work properly with long order names.
2010-08-18 18:08:44 +02:00
Diego Pino Garcia
b5186d9933 ItEr60S18CambiosPantallaArbolPedido: Activate paging for order element tree 2010-08-18 17:28:16 +02:00
Manuel Rego Casasnovas
f480f97df2 Moved "Scenarios" entry in menu between "Resources" and "Administration/Management". 2010-08-18 16:45:28 +02:00
Manuel Rego Casasnovas
7fd423803f ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #596] Fixed bug changing doModal() for setMode("modal").
This change was introduced in commit 318ea2c17c.
2010-08-18 14:38:58 +02:00
Manuel Rego Casasnovas
ac0422b23b ItEr60S03XestionDaComunidadeItEr59S03: Fixed 2 license headers. 2010-08-18 12:02:40 +02:00
Manuel Rego Casasnovas
8457760a45 ItEr60S03XestionDaComunidadeItEr59S03: Bugzilla moved to http://bugs.navalplan.org. 2010-08-18 10:22:39 +02:00
Lorenzo Tilve
7363500fa4 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #593] Adding images to company mode context menu commands. 2010-08-18 09:17:50 +02:00
Óscar González Fernández
794e6b5f1f ItEr60S19TimeUnitDataType: Introduce TaskDate in TaskElement.
Change some query methods so they keep working.
2010-08-17 17:30:57 +02:00
Óscar González Fernández
5b53e3187a ItEr60S19TimeUnitDataType: Extract method that filters by dates 2010-08-17 17:30:57 +02:00
Óscar González Fernández
66489ad363 ItEr60S19TimeUnitDataType: Create new class for representing task dates.
It represents a day with an effort duration. It can be used as an
hibernate component.
2010-08-17 17:30:57 +02:00
Óscar González Fernández
0e0cab4a77 ItEr60S19TimeUnitDataType: Introduce EffortDuration in CalendarException.
This changes must be applied to the database:

ALTER TABLE calendarexception RENAME COLUMN hours to duration;
UPDATE calendarexception SET duration = duration * 3600;
2010-08-17 17:30:57 +02:00
Óscar González Fernández
dbb45934e4 ItEr60S19TimeUnitDataType: Introduce EffortDuration in CalendarData.
This changes must be applied to the database:

ALTER TABLE hoursperday RENAME TO effortperday;
ALTER TABLE effortperday RENAME COLUMN hours TO effort;
update effortperday set effort = effort * 3600;
2010-08-17 17:30:57 +02:00
Óscar González Fernández
2d546c67b0 ItEr60S19TimeUnitDataType: Refactor.
Iterate instead of explicitly add each value.
2010-08-17 17:30:57 +02:00
Óscar González Fernández
17d43e7f40 ItEr60S19TimeUnitDataType: Switch day assignment hours to EffortDuration.
This changes must be applied to the database:

ALTER TABLE day_assignment RENAME COLUMN hours to duration;
update day_assignment SET duration = duration * 3600;
2010-08-17 17:30:57 +02:00
Óscar González Fernández
f035387573 ItEr60S19TimeUnitDataType: Add hibernate type for allowing to store EffortDuration on the database. 2010-08-17 17:30:57 +02:00
Óscar González Fernández
8325c05f4d ItEr60S19TimeUnitDataType: Complete test name 2010-08-17 17:30:57 +02:00
Óscar González Fernández
c6ada919d4 ItEr60S19TimeUnitDataType: Add EffortDuration classes 2010-08-17 17:30:57 +02:00
Óscar González Fernández
4aef6230bd ItEr60S19TimeUnitDataType: Move ResourcesPerDay and associated classes to a new workingday package.
This package will have classes related to workingday dedication,
workingday duration and so on.
2010-08-17 17:30:57 +02:00
Manuel Rego Casasnovas
b72c52eef4 ItEr60S03XestionDaComunidadeItEr59S03: Fixed license header dates. 2010-08-17 17:23:37 +02:00
Manuel Rego Casasnovas
2cd3bc22f3 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #594] Moved ICriterionsModel_V2 and CriterionsModel_V2 to ICriterionsModel and CriterionsModel. 2010-08-17 15:15:33 +02:00
Manuel Rego Casasnovas
8c6fc0f25d ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #594] Removed unused ICriterionsModel and CriterionsModel.
Changed some tests that were using ICriterionsModel.
2010-08-17 15:15:32 +02:00