Commit graph

16 commits

Author SHA1 Message Date
Vova Perebykivskiy
ffca70fbea Add documentation about E-mail sending functionality.
Update JUnit version.
Code refactoring.
Imports optimizations.
Changes to UI of E-mail Templates page.
New values for i18n.
Validations of E-mail functionality.
2015-11-11 15:45:24 +02:00
Vova Perebykivskiy
878e067683 Add possibility to disable E-mail sending with Maven compiler option. 2015-11-10 11:56:42 +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
Manuel Rego Casasnovas
c29015e9af tim-connector: Created new entity Connector based on AppProperties
AppProperties entity has been removed as it stores the same information
(majorId) repeated in each database record and it doesn't match with the real
model that we need.

A new entity Connector with a majorId identifier has been created, this entity
contains a list of properties (pairs key-value).

Moreover it has been created the predefined Tim connector with its own
properties (predefined too).

For new connectors, apart from the specific classes implementing them it would
be only needed to modify PredefinedConnectors and PredefinedConnectorProperties.
The database will be updated automatically on LibrePlan startup thanks to the
ConnectorBootstrap.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-27 14:41:48 +01:00
Miciele Ghiorghis
b622b68589 Tim-connector: Two mapping resource added
AppProperties.hbm.xml and JosSchedulerConfiguration.hb.mxl are added
2013-02-08 11:16:18 +01:00
Susana Montes Pedreira
00378d039a Merge branch 'master' into expenses-tracking 2012-05-09 10:51:43 +01:00
Susana Montes Pedreira
7364bb000d Merge branch 'master' into subcontracting 2012-05-08 18:16:09 +01:00
Susana Montes Pedreira
d7ca618627 Merge branch 'master' into expenses-tracking 2012-05-07 13:49:37 +01:00
Susana Montes Pedreira
457ca9145b create ExpenseSheet and ExpenseSheetLine classes.
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:14:07 +01:00
Manuel Rego Casasnovas
b698d0fa1e Add new compilation option to disable default users (user, wsreader and wswriter)
A new Maven property has been added to disable the default users. This property
is enabled by default except for the "dev" profile.

You can manually specify the property with the following argument:
-Ddefault.exampleUsersDisabled=false

FEA: ItEr76S04BugFixing
2012-04-13 15:45:38 +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-business/src/main/resources/navalplanner-business-spring-config.xml (Browse further)