Commit graph

9769 commits

Author SHA1 Message Date
Óscar González Fernández
cbde05db74 ItEr16S12CreacionProxectoPlanificacion: the task elements collection of taskGroup cannot be modified. 2009-07-08 18:56:37 +02:00
Óscar González Fernández
263312e730 ItEr16S12CreacionProxectoPlanificacion: Fixing typo. 2009-07-08 18:56:32 +02:00
Javier Moran Rua
3fe74682ba ItEr16S10ClasificacionTraballoItEr15S13: Fix test CannotSaveTwoDifferentCriterionTypesWithTheSameName
In HSQLDB it is thrown the exception DataIntegrityViolationException instead of ConstraintViolationException
2009-07-08 11:42:57 +02:00
Lorenzo Tilve
71f3dee511 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Watermark current day hightlight for all zoom levels and column width fixes for DetailFour and DetailFive 2009-07-07 19:47:47 +02:00
Óscar González Fernández
dd7b7f1a11 ItEr16S12CreacionProxectoPlanificacion: Creating entities without mapping and associated tests. 2009-07-07 19:35:13 +02:00
Javier Moran Rua
258041fde6 ItEr16S10ClasificacionTraballoItEr15S13: Fix bug to let add a CriterionSatisfaction to Resource super class or
subclass.

If a CriterionType has in the resource column an enum matching the Resource super class, it has to be possible to
assign it to a subclass of Resource (Worker).
2009-07-07 18:20:41 +02:00
Diego Pino Garcia
40ca4e6843 ItEr16S10ClasificacionTraballoItEr15S13: Retrieve CriterionTypes from DB instead of from PredefinedCriterionTypes 2009-07-07 14:06:19 +02:00
Diego Pino Garcia
89f294616b ItEr16S10ClasificacionTraballoItEr15S13: Fix bug when reloading criterion for editing 2009-07-07 13:13:14 +02:00
Diego Pino Garcia
6a7a8066b8 ItEr16S10ClasificacionTraballoItEr15S13: Adds CriterionType entity 2009-07-07 11:38:09 +02:00
Óscar González Fernández
f2fa4099bc ItEr16S09RFComportamentoGraficoPlanificadorItEr15S12: When entering ok the datebox is opened again. 2009-07-07 11:17:13 +02:00
Óscar González Fernández
291b304fd7 ItEr16S09RFComportamentoGraficoPlanificadorItEr15S12: When entering a startDate that is bigger than endDate, the endDate is the startDate plus the length of the task. 2009-07-06 19:44:36 +02:00
Óscar González Fernández
a8ea3911b7 ItEr16S09RFComportamentoGraficoPlanificadorItEr15S12: Recovering keyboard navigation on left pane.
It was lost when TaskDetail left being a macro component.
2009-07-06 19:29:36 +02:00
Óscar González Fernández
0f93151dd2 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Removing unused method. 2009-07-06 13:41:50 +02:00
Óscar González Fernández
9bba8fdcc7 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Adding columns to left pane tree. 2009-07-06 13:41:46 +02:00
Óscar González Fernández
ff89434f23 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Subtasks are shown in the right pane depending on left pane's nodes expansion state. 2009-07-06 13:41:43 +02:00
Óscar González Fernández
47555e0b6d ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: recoloteAfterAdding hack now works for adding tasks in any position, not just in the end of the list. 2009-07-06 13:41:41 +02:00
Óscar González Fernández
eb09ba3d89 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Instead of returning all tasks, DependencyRegistry returns only the top level tasks.
It's pending to show subtasks in the right pane.
2009-07-06 13:41:38 +02:00
Óscar González Fernández
6e01a038fa ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Recovering keyboard navigation. 2009-07-06 13:41:35 +02:00
Óscar González Fernández
213b38dce2 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Converting left pane to use a tree. 2009-07-06 13:41:31 +02:00
Lorenzo Tilve
b3be85c883 ItEr15S10XestionDaComunidadeItEr14S10: Removed unused dependencies and improved generic positioning parameters 2009-07-03 11:58:32 +02:00
Lorenzo Tilve
708ff528ab ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: TaskContainers resize and move operations have been disabled while its behaviour it is not clear 2009-07-03 11:41:32 +02:00
Lorenzo Tilve
b84cb83388 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Translation timetracker grid to native components 2009-07-03 11:05:58 +02:00
Fernando Bellas Permuy
a369e294a3 ItEr15S04ArquitecturaServidorItEr14S04: Refactoring to use @Repository in DAOs and @Service in services and models.
The source code has been refactorized to use @Repository in DAOs and @Service in services and models. This way, DAOs, services and models do not need to be defined in the Spring configuration file.
2009-07-03 10:01:52 +02:00
Fernando Bellas Permuy
e5e506c3c2 ItEr15S04ArquitecturaServidorItEr14S04: Documentation of conversational aspects in IWokerModel.
Conversational aspects have been commented in IWorkerModel. Conversational aspects include: (1) the state of the worker being edited/created and (2) the order of method invocation (protocol). Implementations of IWorkerModel can have additional state (such additional state is transparent for the clients of IWorkerModel).
2009-07-03 10:01:44 +02:00
Óscar González Fernández
101c7609fe ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Shrinking as required is implemented now. 2009-07-02 16:06:04 +02:00
Óscar González Fernández
1278219c08 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Container grows as needed when the contained tasks are moved. Shrinking when required is pending. 2009-07-02 16:05:56 +02:00
Óscar González Fernández
6f3a245586 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Adding new dependency types START_START and END_END. 2009-07-02 16:05:50 +02:00
Fernando Bellas Permuy
f4a6016874 ItEr15S04ArquitecturaServidorItEr14S04: Usage of SingleConnectionDataSource for testing the business layer.
Now the business layer uses org.springframework.jdbc.datasource.SingleConnectionDataSource as data source. Potentially, this data source is faster than the previous one (org.springframework.jdbc.datasource.DriverManagerDataSource). SingleConnectionDataSource only mantains one connection which is never closed. It cannot be used from more than one thread in parallel.
2009-07-02 14:06:12 +02:00
Fernando Bellas Permuy
81117ed861 ItEr15S04ArquitecturaServidorItEr14S04: improvement to "checkVersion" method.
Now the "checkVersion" method also checks if the version of the entity passed as a parameter to "checkVersion" is null. If so, the check is considered to be sucsessfull (because an entity with version == null is considered a new object, that is, an object which does not exist in the database).
2009-07-02 12:50:08 +02:00
Fernando Bellas Permuy
dcc5c10af1 ItEr15S04ArquitecturaServidorItEr14S04: GenericDaoHibernateTemplate removed.
GenericDaoHibernateTemplate was an alternative implementation to GenericDaoHibernate. GenericDaoHibernateTemplate forces developer to use the Spring's Hibernate helper API, while GenericDaoHibernate forces developer to the use the Hibernate native API. Since Spring's Hibernate helper API does not provide much value over the Hibernate native API, we have prefered to use GenericDaoHibernate as default base class for DAOs.
2009-07-02 12:42:20 +02:00
Fernando Bellas Permuy
9f8cf27610 ItEr15S04ArquitecturaServidorItEr14S04 Update to Maven Jetty plugin 6.1.18.
The Maven Jetty plugin has been updated to version 6.1.18. Apart from being a more stable version that the previous one (6.1.12.rc2), it adds the <reload> configuracion option (available from version 6.1.18 onwards). In particular, the plugin has been configured with <reload>manual</reload>. This way Jetty does not scan for changes to project files. Instead, it is necessary to hit "ENTER" key on the Jetty console whenever we want Jetty to reload the application.

Manual reloading has a number of advantages over automatic reloading:

+ ZK can manage by itself the reloading of .zul pages (without intervertion of Jetty).

+ Whenever a developer creates/modifies "n" non ZK-managed files (e.g. .java files) to develop/fix a feature, she/he hits RETURN (after all modifications are done) to verify the changes, causing Jetty to reload the application only once (instead of "n" times when using automatic reloading).

Minimizing the number of times Jetty reloads the application is important, since class loaders do not release memory properly after reloading (in consequence, after a number of reloads, Jetty must be restarted; as usual, JVM memory options can also be used to increase available memory if desired).
2009-07-02 10:45:29 +02:00
Manuel Rego Casasnovas
fd127d81e7 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Join HoursGroup with the same Criterions in order to show the detail of an OrderLineGroup. 2009-07-01 18:38:39 +02:00
Manuel Rego Casasnovas
24a6f305f6 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Implemented new specification using just FIXED_PERCENTAGE instead of all the other options.
Needed some reattchments that should be reviewed, highlighted with FIXME marks.
2009-07-01 18:38:32 +02:00
Manuel Rego Casasnovas
1e6fc64f30 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Fixing bug inserted in .zul. 2009-07-01 18:38:23 +02:00
Lorenzo Tilve
309d895e96 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: TaskContainer component support added to plannificator view
* The structure for this entity has been created
   * Basic implementation relays on Task and an empty TascContainerBean
   * For visual presentation the same task div is used with background images for the corners and restyled classes.
2009-07-01 18:10:13 +02:00
Óscar González Fernández
39a98934fc ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Removed no longer used "Detail Level:" string. 2009-07-01 17:39:37 +02:00
Óscar González Fernández
60cf55bf07 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Created four and five zoom levels. 2009-07-01 12:29:46 +02:00
Óscar González Fernández
eb34677ef1 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Extracted superclass from DetailThreeTimeTrackerState.
TimeTrackerStateUsingJodaTime contains functionality that can be reused.
2009-07-01 12:27:40 +02:00
Óscar González Fernández
6f1099836b ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Adding zoom level with semesters and months. 2009-07-01 12:24:38 +02:00
Óscar González Fernández
1095fca972 ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: Adding joda-time dependency. 2009-07-01 12:24:18 +02:00
Lorenzo Tilve
d97bc603d7 ItEr14S13RFComportamentoGraficoPlanificador: Adjust scroll positions and sizes based on screen size recalculated with javascript
* Two separate vertical and horizontal scrollbars have been defined to be positioned permanently on the navigator
     right and bottom window borders.
   * Taskdetails and timetracker legend are now permanently shown while scrolling.
   * Pending fixes on watermark height recalculation.
   * Delete/add task behaviour to be reviewed unless changed for a tree.
2009-07-01 10:40:14 +02:00
Manuel Rego Casasnovas
6e3dbd2886 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Added relation between HoursGroup and Criterion. 2009-06-30 20:46:58 +02:00
Lorenzo Tilve
aa7eb5f9bc ItEr12S12RFDesenhoGraficoPortal: Updated main menu structure 2009-06-29 19:41:08 +02:00
Manuel Rego Casasnovas
ccceab9c6f ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Implemented method setWorkHours of OrderLine class. Added test cases for this method. Removed fixedHours attribute of class OrderLine (not needed anymore). Pending changes in the interface. 2009-06-29 19:17:17 +02:00
Lorenzo Tilve
dc77d8b9a3 ItEr14S10RFDesenhoGraficoPortalItEr13S10: CSS fixes to listdetails component 2009-06-29 18:47:46 +02:00
Óscar González Fernández
86f5cad2d7 ItEr14S08ModeladoTempoItEr13S09: Adding hibernate types to allow mapping of partial dates and related classes. 2009-06-29 18:07:42 +02:00
Óscar González Fernández
4860a11e54 ItEr14S08ModeladoTempoItEr13S09: Adding dependencies to json-lib. 2009-06-29 17:54:14 +02:00
Óscar González Fernández
f515e57537 ItEr14S08ModeladoTempoItEr13S09: TimeQuantity now implements equals based on its values. 2009-06-29 15:54:39 +02:00
Óscar González Fernández
b546bda82a ItEr14S13RFComportamentoGraficoPlanificador: When you are in the last taskdetail you can create a new task using down arrow. 2009-06-29 15:33:00 +02:00
Óscar González Fernández
9f7024b9d8 ItEr14S13RFComportamentoGraficoPlanificador: When a task is added the task name receives focus and the viewport scrolls to show it. 2009-06-29 15:31:47 +02:00