Commit graph

11 commits

Author SHA1 Message Date
Vova Perebykivskyi
cfc416e4ec Update Spring stack.
Code refactoring (config files, java classes, css file).
Update LibrePlan version in files.
2016-05-13 11:16:33 +03:00
Vova Perebykivskiy
6aaae08f42 Add Liquibase 1.5 changelog to changelogs.
Fix compile errors.
Code refactoring.
2015-12-04 14:46:14 +02:00
Vova Perebykivskiy
6e90ca09d0 Add classes for E-mail scheduling job.
All that is referencing to email template - moved into another package.
Add classes/mapping for notification_queue table.
Update Hibernate version in pom file.
Add role to accept email.
2015-10-26 08:50:43 +02:00
Oscar Gonzalez Fernandez
f27bc7dffc Upgrade to Spring 4.0.3 version
This is the latest stable version available.
2014-05-06 21:16:43 +02:00
Oscar Gonzalez Fernandez
7b54a5063e Upgrade Spring to 3.2.8 and Hibernate to 4.2.8
Now Libreplan can be run on Java8.

This implied some changes:

* Latest versions of hibernate use the Bean Validation API. This
  implied renaming the imports and use ConstraintViolationException
  instead of InvalidValue. Besides some constraints had to be renamed,
  otherwise they wouldn't be recognized by Hibernate validation. In
  the new version of Hibernate validator @AssertTrue can only be
  applied to properties. So all methods it was applied to must follow
  the is.* format.

  Automatic execution of Bean Validation API is disabled, otherwise an
  infinite loop would happen. This is because there are some
  validation constraints that do launch queries to the database. This
  causes a flush of the objects in the session and automatic
  validation is called again.

* A new library for persisting JodaTime is necessary since
  joda-time-hibernate is incompatible with hibernate 4. This library
  can automatically register its types for Date conversion so they're
  removed from configuration.

* Now, in some places, an InvalidDataAccessApiUsageException is thrown
  instead of a DataIntegrityViolationException.

  This is because no constraint is violated, the API is being used
  incorrectly because a transient instance is being provided where a
  persisted one was expected.

* In hibernate 4 listeners cannot be configured via properties.
  HibernateDatabaseModificationsListener registers itself in its @PostConstruct method.

* ehcache classes used are now different.
2014-05-06 17:47:15 +02:00
Oscar Gonzalez Fernandez
4633da0140 Upgrade schema files for Spring configuration 2014-05-01 00:53:09 +02:00
Oscar Gonzalez Fernandez
3713198a93 Use a connection data pool when running tests
It cuts 40 seconds or around from the tests running time.
2013-06-05 12:33:57 +02:00
Oscar Gonzalez Fernandez
1045a1a171 Remove no longer applicable comments 2013-06-01 17:26:28 +02:00
Susana Montes Pedreira
bfcbcc3011 Refactoring the code for replacing the occurences of comunication by communication. 2011-11-22 16:31:26 +01:00
Susana Montes Pedreira
d9d482bdeb Create the entity SubcontractorComunication, the dao SubcontractorComunicationDAO,
the test SubcontractorComunicationDAOTest and add the changes of the database
in a new file db.changelog-1.2.xml

FEA: ItEr75S30SubcontractorIncommingCommunicationsLists
2011-11-15 09:50:17 +01:00
Manuel Rego Casasnovas
2a7e571edc Rename NavalPlan to LibrePlan
* Change all folders and file names
* Change string in all files

FEA: ItEr75S03CommunityMaterial
2011-10-28 09:13:16 +02:00
Renamed from navalplanner-webapp/src/test/resources/navalplanner-webapp-spring-config-test.xml (Browse further)