Commit graph

2561 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
671560f129 ItEr41S22CUIntroducionPartesTraballoManualmenteItEr38S14: Added bandbox to select the order element in work report edition. 2010-01-03 19:12:31 +01:00
Manuel Rego Casasnovas
85da496e9d ItEr41S22CUIntroducionPartesTraballoManualmenteItEr38S14: Adding getAll() method to OrderElementDAO. 2010-01-03 19:09:31 +01:00
Diego Pino Garcia
12f817e8da ItEr41S16ImplantacionAplicacionItEr40S21: Fix bug sum total hours worked by worker 2010-01-03 13:54:02 +01:00
Fernando Bellas Permuy
ae52e31f17 ItEr41S15CUImportacionRecursosProductivosItEr40S20: Test case added to check criterion and criterion type names when importing resources.
Test case added to check criterion and criterion type names when importing resources.
2010-01-03 13:19:40 +01:00
Fernando Bellas Permuy
77a236a5e8 ItEr41S15CUImportacionRecursosProductivosItEr40S20: Constraint added to verify criterion satisfactions are of a CriterionType compatible with the resource
--
Fernando Bellas Permuy

Associate Professor (Titular) at University of A Coruña
Department of Information and Communications Technologies
Facultad de Informática - Campus de Elviña, S/N
15071 - A Coruña - Spain
http://www.tic.udc.es/~fbellas - fbellas@udc.es
Tel: +34 981 167 000 (ext: 1353) - Fax: +34 981 167 160

>From c9af4778e28e370fb2a8dc2c63a4d75e41a07d7f Mon Sep 17 00:00:00 2001
From: Fernando Bellas Permuy <fbellas@udc.es>
Date: Thu, 31 Dec 2009 13:14:28 +0100
Subject: [PATCH 6/7] ItEr41S15CUImportacionRecursosProductivosItEr40S20: Constraint added to verify criterion satisfactions are of a CriterionType compatible with the resource.

A test case has also been added.
2010-01-03 13:19:36 +01:00
Fernando Bellas Permuy
0dad7ade89 ItEr41S15CUImportacionRecursosProductivosItEr40S20: Improvements to Worker::checkConstraintUniqueFirstName, test cases added to check resources cannot be imported if they have the same "logic" identifier (code for machines and first name, surname and nif for workers) as other existing resources.
Furthermore, ResourceServiceTest has been refactored to save code now and in future.
2010-01-03 13:19:30 +01:00
Fernando Bellas Permuy
bedc38de23 ItEr41S15CUImportacionRecursosProductivosItEr40S20: Naval Planner Business' StringUtils replaced by Apache Commons Lang's StringUtils.
Naval Planner Business' StringUtils replaced by Apache Commons Lang's StringUtils.
2010-01-03 13:19:28 +01:00
Fernando Bellas Permuy
523aa46263 ItEr41S15CUImportacionRecursosProductivosItEr40S20: Resource validations propagaged to CriterionSatisfactions.
@Valid has been specified in Resource::getCriterionSatisfactions. A test case has been added to verify a validation constraint is generated when a resource containing a criterion satisfaction without start date is being imported with the REST service (@Valid annotation is necessary).
2010-01-03 13:19:25 +01:00
Fernando Bellas Permuy
746ce17bf1 ItEr41S15CUImportacionRecursosProductivosItEr40S20: String fields when importing resources are trimmed.
String fields when importing resources are trimmed.
2010-01-03 13:19:21 +01:00
Fernando Bellas Permuy
ec0da2601e ItEr41S15CUImportacionRecursosProductivosItEr40S20: Bug fixed when firstName, surname or nif are null in a worker to be imported with the REST service.
Bug fixed when firstName, surname or nif are null in a worker to be imported with the REST service. Now, Worker::checkConstraintUniqueFirstName checks if such fields are null.
2010-01-03 13:19:19 +01:00
Manuel Rego Casasnovas
e4bb249550 ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Import/update criterions information at order element service. 2010-01-02 19:43:13 +01:00
Manuel Rego Casasnovas
99a18db7ab ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added information about criterion requirements to order element exportation process. 2010-01-02 19:43:10 +01:00
Manuel Rego Casasnovas
b1a202a3b2 ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added object to configure order element import and export.
* Some FIXME added in order to move and modify some methods when subcontractors service exists.
2010-01-02 19:01:24 +01:00
Manuel Rego Casasnovas
82cfb1d54b ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added test for import advances. 2010-01-02 19:01:21 +01:00
Manuel Rego Casasnovas
fd3268838b ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added constraints to entities related with advances. 2010-01-02 19:01:18 +01:00
Manuel Rego Casasnovas
b83936d2ff ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added information about advance on order elements importation. 2010-01-02 19:01:16 +01:00
Manuel Rego Casasnovas
706ed0334c ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added information about advance on order elements exportation. 2010-01-02 19:01:13 +01:00
Manuel Rego Casasnovas
6c4af2533e ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Removed unneeded file. 2010-01-02 19:01:11 +01:00
Manuel Rego Casasnovas
d5584dda99 ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Prevent null pointer exception. 2010-01-02 19:01:08 +01:00
Manuel Rego Casasnovas
d352c7c140 ItEr41S23CUImportarTraballoRealizadoPorSubcontrata: Added new advance type subcontractor. 2010-01-02 19:01:05 +01:00
Susana Montes Pedreira
db2534f46e ItEr41S08CUAltaFormularioCalidadeItEr40S09 : fix the quality form type constraint (by items) and fix the open event of the master/details component. 2010-01-02 17:56:58 +01:00
Susana Montes Pedreira
ea9aed314c ItEr41S05ValidacionEProbasFuncionaisItEr40S05 : Virtual Workers should not be able to introduce work reports 2010-01-02 17:37:40 +01:00
Diego Pino Garcia
2932701d5b ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #221] HoursWorkedPerWorker report splits workers and dates when they should be grouped 2010-01-02 14:16:12 +01:00
Diego Pino Garcia
94f26b9f44 ItEr41S13CUInformeHorasEstimadasRealizadasItEr40S18: Fix completedEstimatedHoursPerTask layout 2010-01-02 14:16:10 +01:00
Diego Pino Garcia
22a1925a2c ItEr41S12CUInformeListaAvancesTrabajoItEr40S17: Fix workingProgressPerTask layout 2010-01-02 14:16:07 +01:00
Diego Pino Garcia
cfaa5c2820 ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #212] Swap category and status headers in assigning materials 2010-01-02 14:16:04 +01:00
Susana Montes Pedreira
e0e3f69142 ItEr41S08CUAltaFormularioCalidadeItEr40S09 : Add filter by name to the quality form list. 2010-01-02 13:37:54 +01:00
Susana Montes Pedreira
c1674b748a ItEr41S21CUProcuraPartesTraballoDadosAltaNoSistemaItEr20S08 : Filters to the Work reports list. 2010-01-02 13:19:34 +01:00
Jacobo Aragunde Pérez
e2a4b220a3 ItEr41S05ValidacionEProbasFuncionaisItEr40S05: [Bug #213] password fields are cleared in user edition after saving or cancelling 2010-01-02 13:06:55 +01:00
Manuel Rego Casasnovas
ef4bedfab9 ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
Óscar González Fernández
6f1d1ebb04 ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #222] Fixing bug. Checking resource's calendar is not null. 2010-01-01 19:37:29 +01:00
Óscar González Fernández
5b70a4eda0 ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #218] Fixing bug.
The error is caused because a calendar capacity is null at database. It could be solved by a migration, but checking it in code too.
2010-01-01 19:04:46 +01:00
Xavier Castaño
da7891366a ItEr41S07DocumentacionFormacionItEr40S07 * New image files. 2010-01-01 17:58:44 +01:00
Xavier Castaño
b42f961711 ItEr41S07DocumentacionFormacionItEr40S07: * New images and descriptions. 2010-01-01 17:58:23 +01:00
Manuel Rego Casasnovas
430ce0535d ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #53] Fixed problem with calendars creating new resources. 2010-01-01 17:41:53 +01:00
Manuel Rego Casasnovas
d1bddfa6a2 ItEr41S16ImplantacionAplicacionItEr40S21: [Bug #53] Fixed mapping between resources and calendars. 2010-01-01 17:41:50 +01:00
Javier Moran Rua
abe94db641 ItEr41S05ValidacionEProbasFuncionaisItEr40S05: Fixing bug of conversion in calendars and test detected in year change.
It is fixed a bug of conversion between the month field in XMLGregorianCalendar and java.util.Calendar
detected by change of year. It is also fixed a test which gave CriterionSatisfactions just until 2010; with the
year change the satisfactions were not active and the test failed.
2010-01-01 13:35:43 +01:00
Jacobo Aragunde Pérez
db6b8382d4 ItEr41S17CUAsignarUsuarioAProxectoTraballoItEr40S22: Simplified the initialization phase of the OrderAuthorization Controller and Model
There were two entry points for new and exising orders, which aren't
necessary anymore.
2009-12-31 12:15:04 +01:00
Jacobo Aragunde Pérez
86be9bf80f ItEr41S17CUAsignarUsuarioAProxectoTraballoItEr40S22: implemented a verification to forbid the adition of duplicated authorizations
The existence of a OrderAuthorization with the same User/Profile and
OrderAuthorizationType is checked before the addition. In case of duplicated
authorizations, the user is informed.
2009-12-31 12:14:56 +01:00
Jacobo Aragunde Pérez
24f4050df5 ItEr41S17CUAsignarUsuarioAProxectoTraballoItEr40S22: simplified the functions to add OrderAuthorizations in the Controller and the Model
Now functions are more general, and will be able to return a list of
the unsuccessful additions, which will be needed later when implementing
the check for duplicated OrderAuthorizations.
2009-12-31 12:14:30 +01:00
Jacobo Aragunde Pérez
869d400a55 ItEr41S17CUAsignarUsuarioAProxectoTraballoItEr40S22: solved the bug that duplicated the authorizations when saving twice 2009-12-31 12:14:27 +01:00
Jacobo Aragunde Pérez
99f22c694c ItEr41S17CUAsignarUsuarioAProxectoTraballoItEr40S22: corrected order authorizations model-controller to work with new orders 2009-12-31 12:14:12 +01:00
Jacobo Aragunde Pérez
84a64b0dd5 ItEr40S22CUAsignarUsuarioAProxectoTraballo: implemented OrderAuthorizationModel and OrderAuthorizationController
The skeleton on the previous commit was slightly modified.
This is the first working version. It's able to add authorizations to
existing orders but not to newly created orders. There are some bugs too.
TODO: implement authorizations on creation, avoid duplicated authorizations
when saving twice, other minor display bugs.
2009-12-31 12:14:08 +01:00
Jacobo Aragunde Pérez
887ca81135 ItEr40S22CUAsignarUsuarioAProxectoTraballo: Implemented the method OrderAuthorizationDAO.listByOrder()
An unit test for that method was written too.
2009-12-31 12:13:46 +01:00
Jacobo Aragunde Pérez
214b121715 ItEr40S22CUAsignarUsuarioAProxectoTraballo: Implemented a skeleton of the OrderAuthorizationController and integrated it with OrderCRUDController and _listOrderElementAuthorizations.zul 2009-12-31 12:13:40 +01:00
Jacobo Aragunde Pérez
1d0cb399d0 ItEr40S22CUAsignarUsuarioAProxectoTraballo: skeleton for the interface to add/remove authorizations to an Order 2009-12-31 12:04:50 +01:00
Jacobo Aragunde Pérez
a2341a0dcb ItEr40S22CUAsignarUsuarioAProxectoTraballo: Implemented IFinder for the entity User.
A new method had to be implemented in UserDAO, and a unit test for it
was written.
2009-12-31 12:04:47 +01:00
Jacobo Aragunde Pérez
e7ee50f5d3 ItEr40S22CUAsignarUsuarioAProxectoTraballo: implemented the relation between OrderAuthorization and Order 2009-12-31 12:04:44 +01:00
Jacobo Aragunde Pérez
d98a82f143 ItEr40S22CUAsignarUsuarioAProxectoTraballo: Implemented the relations between the subclasses of OrderAuthorization and User/Profile 2009-12-31 12:04:41 +01:00
Jacobo Aragunde Pérez
22c788e779 ItEr40S22CUAsignarUsuarioAProxectoTraballo: created the entity OrderAuthorization and its children.
The relations with Order, User and Profile are not implemented yet.
2009-12-31 12:04:38 +01:00