Commit graph

1933 commits

Author SHA1 Message Date
Lorenzo Tilve
623cfee7df ItEr45S09RFNavegacionOrganizacionTraballoItEr44S15: Added icons for toolbarbox buttons 2010-01-28 10:53:46 +01:00
Jacobo Aragunde Pérez
88dfe07554 ItEr45S09CUAsignarUsuarioAProxectoPlanificacionItEr44S14: Simplifying the implementation of OrderAuthorizationModel.userCanWrite.
Now it uses the new methods of OrderAuthorizationDAO.
2010-01-27 21:10:19 +01:00
Jacobo Aragunde Pérez
9422381236 ItEr45S09CUAsignarUsuarioAProxectoPlanificacionItEr44S14: Disable the creation button of the top bar in function of the creation permissions. 2010-01-27 21:10:15 +01:00
Jacobo Aragunde Pérez
a582ff170a ItEr45S09CUAsignarUsuarioAProxectoPlanificacionItEr44S14: Block the delete button when there's no write permission.
The delete operation can't be finished without edit permission over the order,
and the button is disabled.
2010-01-27 21:10:11 +01:00
Jacobo Aragunde Pérez
ad5376aebc ItEr45S20RFControlesRelacionadosPermismos: Forbid access to edition and scheduling pages for users without permissions over an order.
Pages couldn't be accessed because they weren't listed, but this patch
improves the security.
2010-01-27 21:10:08 +01:00
Jacobo Aragunde Pérez
2960a3adbd ItEr45S20RFControlesRelacionadosPermismos: Disable the edition features of the gantt component when there is no write permission 2010-01-27 21:10:00 +01:00
Jacobo Aragunde Pérez
24b5b26302 ItEr45S20RFControlesRelacionadosPermismos: The save button in the scheduling view of an order is disabled if the user doesn't have write permissions. 2010-01-27 21:09:56 +01:00
Jacobo Aragunde Pérez
b8343363ee ItEr45S20RFControlesRelacionadosPermismos: Implemented the method OrderDAO.getOrdersByWriteAuthorization and renamed getOrdersByAuthorization
getOrdersByAuthorization was renamed to getOrdersByReadAuthorization to avoid misunderstandings with the new method.
2010-01-27 21:09:38 +01:00
Jacobo Aragunde Pérez
f78bd925a3 ItEr45S20RFControlesRelacionadosPermismos: Implemented filtering of authorized orders in company view. 2010-01-27 21:09:33 +01:00
Jacobo Aragunde Pérez
39e910b0b8 ItEr45S20RFControlesRelacionadosPermismos: moved the operation getOrdersByAuthorization() to OrderDAO class.
It was implemented directly in the -webapp side, in OrderModel class.
2010-01-27 21:09:28 +01:00
Jacobo Aragunde Pérez
43ef009316 ItEr45S09CUAsignarUsuarioAProxectoPlanificacionItEr44S14: Corrected the bug of duplicated orders on orders list.
Duplicated orders appeared when a user had multiple authorizations over
the same order (for example, read+write). It's corrected now.
2010-01-27 21:09:23 +01:00
Manuel Rego Casasnovas
5c4a4838dd ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Added classes to allow invalid certificates in HTTP connections. 2010-01-27 19:44:34 +01:00
Manuel Rego Casasnovas
40cae25688 ItEr45S18CUImportacionPartesTrabajo: Added new tests to import work reports service. 2010-01-27 19:28:02 +01:00
Manuel Rego Casasnovas
afafe2bea1 ItEr45S18CUImportacionPartesTrabajo: Used LocalTime instead of Date in order to store clock hours in work report lines.
WARNING: It is needed to drop the columns "clockstart" and "clockfinish" on table "work_report_line".
2010-01-27 18:09:41 +01:00
Javier Moran Rua
a69dfcf257 ItEr45S04ValidacionEProbasFuncionaisItEr44S05: Fixing bug establishing rounding mode when setting scale to a BigDecimal. 2010-01-27 17:35:01 +01:00
Manuel Rego Casasnovas
aea2112a1f ItEr45S18CUImportacionPartesTrabajo: Added test for import work reports service. 2010-01-27 16:55:09 +01:00
Manuel Rego Casasnovas
39d7ec675a ItEr45S18CUImportacionPartesTrabajo: Implemented method to add work reports through web service. 2010-01-27 16:55:06 +01:00
Manuel Rego Casasnovas
e8bcadaa41 ItEr45S18CUImportacionPartesTrabajo: Moved methods to convert labels from/to DTOs to a separated class. 2010-01-27 16:55:04 +01:00
Manuel Rego Casasnovas
857ec6a386 ItEr45S18CUImportacionPartesTrabajo: Created basic DTOs for work reports service. 2010-01-27 16:55:01 +01:00
Manuel Rego Casasnovas
85750fab04 ItEr45S18CUImportacionPartesTrabajo: Created basic files for work reports service. 2010-01-27 16:54:58 +01:00
Susana Montes Pedreira
949ad8f0bc ItEr45S12RFGravacionDatosHistoricosResponsabilidadesTraballoUnidadesPlanItEr44S18: historical statistics of the templates. 2010-01-27 13:06:43 +01:00
Óscar González Fernández
8702865781 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Fixing bug.
The returning values were wrong.
2010-01-27 11:27:52 +01:00
Susana Montes Pedreira
02b9dadabe ItEr45S12RFGravacionDatosHistoricosResponsabilidadesTraballoUnidadesPlanItEr44S18: Historical List of templates assignment in projects.
It must be reviewed the error which  occurs when you go from the list of historical application of a template to the order of a particular use of the template. A javascript occupies the 100% of the CPU.
2010-01-26 21:44:21 +01:00
Manuel Rego Casasnovas
91dae0adbb ItEr45S17CUServizoExportacionHoras: Implemented methods to export hours of all workers or just one specific worker. 2010-01-26 20:29:07 +01:00
Manuel Rego Casasnovas
6acf3e0718 ItEr45S17CUServizoExportacionHoras: Basic infrastructure for export worked hours service. 2010-01-26 20:29:04 +01:00
Óscar González Fernández
2872f929ba ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Not losing focus when changing a value of a strech 2010-01-26 19:24:29 +01:00
Óscar González Fernández
1e60c6bd7b ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Adding check that was being done at streches at model 2010-01-26 18:31:57 +01:00
Óscar González Fernández
4ff0b3c648 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Showing in a better way if the chart cannot be generated 2010-01-26 18:24:22 +01:00
Óscar González Fernández
d7710c45a4 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Adding chart for interpolation 2010-01-26 00:38:37 +01:00
Óscar González Fernández
c2aa16b3b1 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Pulling up code checking if streches are empty 2010-01-26 00:38:37 +01:00
Óscar González Fernández
d8f06db913 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Moving chart functionality to strategy object.
This allows to change how the chart is generated based on the type of
the streches function
2010-01-26 00:38:37 +01:00
Susana Montes Pedreira
53149eea65 ItEr45S09RFNavegacionOrganizacionTraballoItEr44S15 : Fix the component to filter the order list. 2010-01-25 21:07:25 +01:00
Manuel Rego Casasnovas
39ec3afdbc ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Added company NIF to information sent with advances in order to check if it is a registered subcontractor or not. 2010-01-25 21:02:44 +01:00
Manuel Rego Casasnovas
80160d1af3 ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Implemented the function that sends the information about advances using the web service. 2010-01-25 21:02:44 +01:00
Manuel Rego Casasnovas
4a337e0223 ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Created a list on the interface to report advances of different subcontracted projects to the customer. 2010-01-25 21:02:44 +01:00
Manuel Rego Casasnovas
55d8734ec7 ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Added a basic test for the new report advances service. 2010-01-25 21:02:44 +01:00
Manuel Rego Casasnovas
b59b77fd74 ItEr45S14CUActualizarTraballoExportadoPorSubcontrataItEr44S20: Created new service in order to manage advances reporting from supplier to customer. 2010-01-25 21:02:44 +01:00
Lorenzo Tilve
f98b881f1d ItEr45S09RFNavegacionOrganizacionTraballoItEr44S15: Mark order element lines that have been edited 2010-01-25 18:48:04 +01:00
Lorenzo Tilve
3bfdde7798 ItEr45S07ImplantacionAplicacionItEr44S08: Removed from print configuration window landscape layout option 2010-01-25 18:48:03 +01:00
Susana Montes Pedreira
9da53ca91e ItEr43S20CUAsignarUsuarioAProxectoPlanificacionItEr12S09 : Create a new component to filter the order list. 2010-01-25 16:39:09 +01:00
Óscar González Fernández
8a6ca7c51e ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Checking there are the necessary number of streches 2010-01-25 14:36:28 +01:00
Óscar González Fernández
6bc707eb67 ItEr45S10CUAsignacionRecursosEspecificosAPlanificacionItEr44S16: Checking type too. 2010-01-25 14:36:28 +01:00
Fernando Bellas Permuy
1091ede3ca ItEr44S17CUImportacionRecursosProductivosItEr43S08: First version of migration of criterion REST service to the new semantics of POST.
IMPORTANT: CriterionType and Criterion tables must be removed because they now need "code" column with non-null values. Any row in any other table refering to CriterionType and Criterion instances must also probably be removed. In consequence, it is probably better to remove all databases (navaldev, navaldevtest, navalprod and navalprodtest).

This first version does not implement updates yet (only insertions) and does not detect repeated codes in the entities being imported (repeated codes in database are detected). "code" attribute has now been added to entities, and "num-instance" + "code" + "entity-type" attribute has been added to InstanceConstraintViolationsDTO.

This effort has been implemented creating reusable classes (to facilitate migration of the rest of services) and with a non-invasive approach (to make possible migrate each service individually and minimize the number of changes to the current code [specially testing code]).

Some existing methods/attributes in existing reusable classes (e.g. Util, InstanceConstraintViolationsDTO) have been deprecated (to support migration of services incrementally) and new ones have been implemented.

New reusables clases have been implemented: IntegrationEntity (all entities used in application integration must extend from this one), IIntegrationEntityDAO, IntegrationEntityDAO, InstanceConstraintViolationsDTOId (identifier for an instance causing a list of constraint violations), and IntegrationEntityDTO (all entity DTOs must extend from this one). Please, have a look to the JavaDoc of such classes.
2010-01-25 11:27:43 +01:00
Óscar González Fernández
07a521bd9f ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Splitting streches function configuration in two.
One is the default one and another for interpolation
2010-01-25 02:22:32 +01:00
Óscar González Fernández
0fc24014d6 ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Moving copy methods from model to entity.
This makes easier to copy new fields
2010-01-25 02:22:31 +01:00
Óscar González Fernández
d4b36e8f90 ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Parametrizing if charts are shown 2010-01-25 02:22:31 +01:00
Óscar González Fernández
3c4e76786f ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Parametrizing title of panel 2010-01-25 02:22:31 +01:00
Óscar González Fernández
cbf874189e ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Moving out inner classes from AdvancedAllocationController.
Since AdvancedAllocationController is very big, some classes are moved out.
2010-01-25 02:22:31 +01:00
Óscar González Fernández
2348fa7d67 ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Moving streches related classes to their own package 2010-01-25 02:22:30 +01:00
Manuel Rego Casasnovas
b05b2847a9 ItEr44S19CUExportacionUnidadePlanificacion: Adding format to dates in subcontracted tasks list. 2010-01-24 19:03:52 +01:00