Commit graph

9351 commits

Author SHA1 Message Date
Vova Perebykivskiy
60a108f377 Add edit E-mail template page. 2015-10-06 18:00:43 +03:00
Jeroen Baten
17ef953a86 Bump version numbers in pom files to 1.4.1 2015-07-19 13:55:46 +02:00
Jeroen Baten
d4462121b7 Revert "fixes to the build system"
This reverts commit 5fd7ae4892.
2015-07-19 13:34:26 +02:00
Jeroen Baten
34eab386fa bump version numbers in pom files. 2015-07-17 09:47:32 +02:00
Jeroen Baten
5fd7ae4892 fixes to the build system
-Pom get extra plugins and a dependency to get through Launchpad build process.
-Maintainer in control file edited.
-no more build of NavalPlan.
2015-05-15 08:57:56 +02:00
Jeroen Baten
f4d65fcb94 i18n: fixed small thing on french help pages.
(cherry picked from commit 00b33eb76570a4bc872cf1e7a2dbec31745e91d6)
Signed-off-by: Jeroen Baten <jeroen@jeroenbaten.nl>
2015-04-08 15:56:42 +02:00
Jeroen Baten
69fbbeee15 Merge pull request #20 from mvanmiddelkoop/PersonalDashboard-TasklistEnhancements
PersonalDashboard TasklistEnhancements
2015-04-01 15:50:54 +02:00
Jeroen Baten
7d4960a783 Merge pull request #19 from mvanmiddelkoop/java.lang.NoClassDefFoundError
Java.lang.NoClassDefFoundError fixe dby removing some Hibernate Annotations
2015-04-01 15:49:26 +02:00
Jeroen Baten
cdf8d48caa Merge pull request #14 from rkfg/fix
Remove outdated hibernate-annotations dependency and fix lazy loading
2015-04-01 15:47:40 +02:00
Jeroen Baten
b7c28eca11 Merge pull request #21 from mvanmiddelkoop/ProjectsPlanning-WiderNameColumn
ProjectsPlanning WiderNameColumn
2015-04-01 15:47:11 +02:00
Jeroen Baten
3751d29150 Merge pull request #16 from poum/patch-2
Fix for #1655 : display french help
2015-04-01 15:45:10 +02:00
Jeroen Baten
3edd52ba80 Merge pull request #18 from mvanmiddelkoop/loginpage-autofocus
Autofocus on username field at login
2015-04-01 15:42:12 +02:00
Jeroen Baten
77cb4686e3 Merge pull request #15 from KrisBuytaert/patch-1
Update nl.po
2015-04-01 15:41:55 +02:00
Jeroen Baten
790ece981b doc: Update AUTHORS file info about new Norwegian translator 2015-04-01 15:27:54 +02:00
Jeroen Baten
c764b09575 i18n: Add Norwegian Bokmal language to enum and modify pom.xml to use English userguide 2015-04-01 15:23:08 +02:00
Jeroen Baten
ff5f31e110 i18n: Adding Norwegian Bokmal language 2015-04-01 15:15:41 +02:00
mvanmiddelkoop
0c481a58f3 Project Name column wider
Since T/M column has been added, the Project Name has much less room.
The T/M column and date columns could be less wide (55-60 in stead of
76 pixels), and the total width of the pane has been increased from
300px to 375 pixels.
2015-02-28 15:03:58 +01:00
mvanmiddelkoop
718e41d5b9 Layout of Tasks area changed,too
forgot to include this one in the previous change with enhancements on
the TaskArea.
2015-02-28 14:12:03 +01:00
mvanmiddelkoop
8ca6f44291 Enhance Tasklist in User Personal Dashboard
- task-code (technical, often auto-generated)
+ Total budgeted hours for task
+ Notes (usable for detailed task description)
+ Procentual Progression

+ Filtering: only active tasks (progress < 100%)
+ Filtering: only tasks starting from the last X months to the next Y
months. X and Y are user settings for “ResourcesLoadFilterSince/From”.
+ Tasks sorted by date ascending - seems much more logical than
descending.

Check on task != null before forceLoading a task.
2015-02-28 11:56:21 +01:00
mvanmiddelkoop
3f493f858c java.lang.NoClassDefFoundError
When deploying a newly built Libreplan, this error came up on Tomcat
and Glassfish. It seems to be related to Hibernate 4 not needing
Hibernate Annotations anymore. I have removed two references in the
pom.xml files, and the error was gone, while the application still runs
2015-02-28 11:26:28 +01:00
mvanmiddelkoop
581eef7249 java.lang.NoClassDefFoundError
When deploying a newly built Libreplan, this error came up on Tomcat
and Glassfish. It seems to be related to Hibernate 4 not needing
Hibernate Annotations anymore. I have removed two references in the
pom.xml files, and the error was gone, while the application still runs
smoothly.
2015-02-28 11:26:00 +01:00
mvanmiddelkoop
452e035a19 Revert "Revert "Revert "Error message java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver"""
This reverts commit 5a4e5b408a.
2015-02-28 11:22:28 +01:00
mvanmiddelkoop
5a4e5b408a Revert "Revert "Error message java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver""
This reverts commit 16f3a2ac84.
2015-02-28 11:21:16 +01:00
mvanmiddelkoop
16f3a2ac84 Revert "Error message java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver"
This reverts commit 94e33544fe.
2015-02-28 11:19:51 +01:00
mvanmiddelkoop
94e33544fe Error message java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver
This error message came up when deploying Libreplan 1.4.1 from a new
build. It seems to be related to a version mismatch between hibernate
(4.3.4) and annotations (3.5.6-Final). Hibernate 4.3.4 seems not to
need annotations anymore - I have removed this part from the main
pom.xml file, and the errors have disappeared.
2015-02-28 11:17:47 +01:00
mvanmiddelkoop
8104cd4f6f Autofocus on username field at login
It annoyed me that the focus was not on the username field
automatically after loading Libreplan in the browser.
2015-02-28 11:08:37 +01:00
poum
6151ca6ec3 Fix for #1655 : display french help
Since the manual had been translated (and updated), it should be displayed for french user.
This fix this problem reported as http://bugs.libreplan.org/show_bug.cgi?id=1655
2014-08-16 21:05:31 +02:00
Kris Buytaert
a566212c93 Update nl.po
dt fout :)
2014-07-30 19:37:04 +02:00
Sergey Shpikin
2dc5e16464 Lazy loading fixed. 2014-07-16 13:50:36 +04:00
Sergey Shpikin
c5d55e5d1e Excessive dependency removed. 2014-07-16 13:49:32 +04:00
Oscar Gonzalez Fernandez
5b7f751cf1 Bindings must be reloaded
Otherwise it wouldn't update the original and total labels in the
extended view. The setup method is called when the rows are retrieved
again.
2014-05-14 13:43:09 +02:00
Oscar Gonzalez Fernandez
b0d8bf4629 Upgrade Hibernate version
Move to a Hibernate version compatible with Jahira. When running with
Java 8 an exception was caused when initializing the session factory.

java.lang.NoSuchMethodError: org.hibernate.engine.jdbc.spi.JdbcServices.getConnectionProvider()Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
at org.jadira.usertype.spi.shared.AbstractUserTypeHibernateIntegrator.use42Api(AbstractUserTypeHibernateIntegrator.java:80)
2014-05-07 01:05:16 +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
2c7246f868 Remove uses of @NotTransactional
@NotTransactional is deprecrated and in the next major Spring version
is removed.
2014-05-06 21:16:00 +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
b52ad5de23 Use a newer version of surefire plugin 2014-05-06 13:03:44 +02:00
Oscar Gonzalez Fernandez
6ea1be5037 Simplify security configuration using form-login 2014-05-06 13:03:37 +02:00
Oscar Gonzalez Fernandez
4633da0140 Upgrade schema files for Spring configuration 2014-05-01 00:53:09 +02:00
Oscar Gonzalez Fernandez
64a630255c Remove CustomTargetUrlResolver
It's not necessary, the standard strategy redirect to the original URL
and if it's the default one, IndexController will redirect to the user
default location.
2014-05-01 00:53:09 +02:00
Oscar Gonzalez Fernandez
368cbb7fa0 Reorder dependencies in libreplan-business/pom.xml
Follow the order defined in top pom.xml
2014-05-01 00:53:09 +02:00
Oscar Gonzalez Fernandez
fda0f8a7d4 Remove dependencies already present in business
If the dependency is already present in business, no need to declare
it in webapp, since webapp depends on business.
2014-05-01 00:53:09 +02:00
Oscar Gonzalez Fernandez
bc675c7332 Upgrade Spring version 2014-04-30 20:04:32 +02:00
Oscar Gonzalez Fernandez
80f6f6e0cf Make tests independent of tests order execution
When changing JUnit and Spring version the test failed because of the
different order execution.
2014-04-29 20:15:03 +02:00
Oscar Gonzalez Fernandez
cbd195791d Fix bug #1646
A regression was introduced when adding filtering for the WBS screen.
Instead of being associated to the original TreeModel, the tree is
associated to a newly created one based on the current filtering
predicate. So any changes to the original TreeModel aren't
automatically shown in the Tree UI.

A method must be called to associate a new TreeModel, with the new
changes incorporated, to the tree. The method `filterByPredicateIfAny`
implemented this functionality, but it was renamed to
`reloadTreeUIAfterChanges` to convey better its purpose.

Now when adding a new template, `reloadTreeUIAfterChanges` is called
and the newly created element is shown.
2014-04-26 22:58:34 +02:00
Oscar Gonzalez Fernandez
8ada055b3a Remove unnecessary clearAll calls 2014-04-26 18:43:11 +02:00
Oscar Gonzalez Fernandez
3c21e72f14 Improve test
It was dependant on the order of the base calendars returned. This
caused spurious errors.
2014-04-20 18:45:31 +02:00
Oscar Gonzalez Fernandez
db7ef145a1 Improve test to avoid spurious errors 2014-04-20 18:18:47 +02:00
Oscar Gonzalez Fernandez
a109c50984 Performance improvement
When calculating the load ratio of each resource, a new transaction is
being created for each one. Now one transaction is reused for
everyone, which gives a good performance boost when loading the
`Advanced search`.
2014-04-20 18:07:47 +02:00
Oscar Gonzalez Fernandez
18b187fad8 Declare transaction declaratively
Use @Transactional attribute instead of opening transaction manually.
2014-04-20 17:57:42 +02:00
Oscar Gonzalez Fernandez
bc3583104d Fix performance regression
When opening the `resource allocation modal window` (double-click on a
task), the advanced search was calculating the load of the resources
when it should do it when clicking advanced search button. This leads
to a big delay when opening the `resource allocation modal window` if
there is a moderate amount of data.

Now these calculations are only done when clicking advanced search
button and the `resource allocation modal window` is opened almost
instantly.
2014-04-20 17:41:23 +02:00