Commit graph

147 commits

Author SHA1 Message Date
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
Óscar González Fernández
f4f59470c8 ItEr14S13RFComportamentoGraficoPlanificador: The left pane textboxes can be navigated using arrow keys. 2009-06-29 15:27:39 +02:00
Óscar González Fernández
63d16fbc7b ItEr14S13RFComportamentoGraficoPlanificador: Datebox loaded with intro. 2009-06-29 15:12:48 +02:00
Manuel Rego Casasnovas
060fdc76d0 ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Moved README.txt file to INSTALL file. Added some new typical files, that will be filled in the future. 2009-06-29 15:07:39 +02:00
Óscar González Fernández
c10f4268dd ItEr14S12ProbasModuloRecursosItEr13S15: Fixing bug in criterion edition.
If you add a new criterion after editing one and clicking the cancel button
 it showed the last criterion name in the creation window.
2009-06-29 13:52:05 +02:00
Óscar González Fernández
fa37437400 ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Updating class to reflect new ProjectWorkName. 2009-06-29 13:12:33 +02:00
Óscar González Fernández
807bdce30e ItEr14S08ModeladoTempoItEr13S09: Partial Date and related classes moved to a more suitable package. 2009-06-29 00:04:03 +02:00
Óscar González Fernández
56925dd424 ItEr14S08ModeladoTempoItEr13S09: PartialDate, IntervalsOfPartialDates and TimeQuantities. 2009-06-28 18:05:05 +02:00
Óscar González Fernández
dfe98d469a ItEr14S08ModeladoTempoItEr13S09: PartialDate initial implementation complete. 2009-06-28 17:59:23 +02:00
Óscar González Fernández
691c659f2c ItEr14S04ArquitecturaServidorItEr13S05: Extracting previously unexistent DAO.
It has been created the OrderDao.
2009-06-28 13:46:58 +02:00
Óscar González Fernández
6592b2e8c9 ItEr13S15ProbasModuloRecursosItEr12S10: Adding confirmation message when saving criterion. 2009-06-28 13:26:35 +02:00
Óscar González Fernández
62baa4d37f ItEr13S15ProbasModuloRecursosItEr12S10: Improving Criterion#toString method. 2009-06-28 13:26:05 +02:00
Lorenzo Tilve
f5d9b8395e ItEr13S14ArquitecturaClientesItEr11S12: Remove task without ivalidate and visual adjustments
* Tasks have been thinned and no label is shown inside the boxes
2009-06-25 17:47:52 +02:00
Óscar González Fernández
91901dd017 ItEr14S13RFComportamentoGraficoPlanificador: Avoiding invalidation produced automatically by zk in Vbox (take a look
at Box#insertBefore(newChild, refChild). Appearance messed up.
2009-06-25 16:57:24 +02:00
Manuel Rego Casasnovas
82e9a3602a ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Refactoring package "workorders" (now called "orders") and classes names inside this package. 2009-06-25 16:19:28 +02:00
Diego Pino
6d32b869be ItEr13S15ProbasModuloRecursosItEr12S10: Fix bug when saving duplicated Criterion 2009-06-25 13:03:22 +02:00
Diego Pino Garcia
cf12b09255 ItEr13S15ProbasModuloRecursosItEr12S10: Adds merge method to GenericDAO 2009-06-25 12:34:41 +02:00
Óscar González Fernández
ab8af23678 ItEr14S08ModeladoTempoItEr13S09: Adding Joda Time Hibernate. 2009-06-25 12:15:47 +02:00
Óscar González Fernández
42df611d70 ItEr14S08ModeladoTempoItEr13S09: Adding Joda Time dependency. 2009-06-25 10:32:07 +02:00
Manuel Rego Casasnovas
7235c2e4a1 ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Added popup for editing TaksWork. Just interface work was done. 2009-06-24 23:26:36 +02:00
Manuel Rego Casasnovas
df70af8fef ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Basic changes at model,
adding new attributes and moving ActivityWork set to TaskWorkLeaf.
2009-06-24 19:50:12 +02:00
Manuel Rego Casasnovas
9652efb04d ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Extracting bind methods to the utilities class. 2009-06-23 18:39:03 +02:00
Diego Pino Garcia
657afd9c24 ItEr13S15ProbasModuloRecursosItEr12S10: Add title labels to worker edition page 2009-06-22 20:42:11 +02:00