Commit graph

34 commits

Author SHA1 Message Date
Vikram Palakurthi
328f4fc017 Fixed AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher 2017-06-09 15:39:06 -05:00
Vova Perebykivskyi
5a7c972d47 Code refactoring. 2016-11-09 18:31:42 +02:00
Vova Perebykivskyi
acbb41cddf Changes to EmailSending feature.
Code refactoring.
2016-11-09 18:03:47 +02:00
Vova Perebykivskyi
dd06b250c3 Style changes to User Accounts Page.
Style changes to Personal Timesheet Page.
Changes to LibrePlan new version notification.
Set timeout for email connection.
Code refactoring.
2016-11-01 15:13:03 +02:00
Vova Perebykivskyi
6b6179e750 Changes to Spring security rules.
Code refactoring.
2016-10-27 18:26:01 +03:00
Vova Perebykivskyi
74a2d9900a Merge libreplan-webapp module with ZK branch.
Code refactoring.
2016-10-27 10:05:21 +03:00
Vova Perebykivskyi
0f25b227fe Merge libreplan-business module with ZK branch.
Code refactoring.
2016-10-27 10:05:20 +03:00
Vova Perebykivskyi
39f5df1d30 Add tests for Email functionality.
Resolve minor issues with email functionality.
Resolve issue with test failing.
Update Java Mail library, Apache CXF.
Code refactoring.
2016-08-04 14:17:35 +03:00
Vova Perebykivskyi
455c0f53b0 Update Hibernate stack.
Update Hibernate ID generator.
Changes to Hibernate mappings.
Changes to OrderFileTest.
Code refactoring.
2016-05-24 16:55:13 +03:00
Vova Perebykivskyi
ebe9869547 Update info about MySQL.
Update i18n dependencies (Gettext).
Resolve Spring Security logout issue.
Code refactoring.
2016-05-16 15:13:08 +03:00
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 Perebykivskyi
5c7b5d92ef Update CXF.
Code refactoring.
Changes to config files.
2016-05-10 13:20:53 +03:00
Vova Perebykivskiy
1cafd835d9 Add new connector property.
Add DAOs for EmailNotification/Template.
Add entities for EmailNotification/Template.
Add models for EmailNotification/Template.
Add Hibernate mapping for email tables.
Some changes to resources mapping.
Add classes for job scheduling of emails.
Code refactoring.
Test email button changes.
Add solution to get welcome page URL from system.
Remarks to method that adds new row to notification_queue table.
New role in Spring security.
New content of Edit E-mail templates page.
2015-11-03 10:35:53 +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
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
bc675c7332 Upgrade Spring version 2014-04-30 20:04:32 +02:00
Lorenzo Tilve Álvaro
909eab9f52 Merge branch 'master' into mpxj-import
Conflicts:
	libreplan-business/src/main/java/org/libreplan/business/orders/entities/Order.java
	libreplan-business/src/main/resources/db.changelog-1.3.xml
2013-03-27 17:57:03 +01:00
Lorenzo Tilve Álvaro
a9d974e0ce Configures a new userRole to restrict access to import project functionality
FEA: ItEr77S05BasicProjectImport
2013-03-27 17:10:42 +01:00
Manuel Rego Casasnovas
5ebffa666b New web service returning the assigned tasks of a user
It uses MyTasksAreaModel, as the main UI for bound users. The service is only
accessible for bound users.

FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:17 +01:00
Manuel Rego Casasnovas
8509515e75 Add new method to delete a work report from the web service
FEA: ItEr77S06AllowDeleteWorkReports
2012-08-27 12:16:24 +02:00
Lorenzo Tilve Álvaro
0d0c4c8fbd Moved Timesheet Lines List page from 'Reports' menu section to 'Cost'
Permissions for default profiles were also updated accordingly.

FEA: ItEr76S04BugFixing
2012-07-11 11:28:15 +02:00
Manuel Rego Casasnovas
403d1fed64 Review page titles due to menu revamp
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 16:23:57 +02:00
Manuel Rego Casasnovas
b6889f7e7b Configure permissions for ROLE_BOUND_USER
Only bound users will have access to page "Personal Area > Home".

Moreover bound users will have access to expenses sheet edition form, even if
they don't have access to "Cost > Expenses" page.

Finally users with role ROLE_SUERUSER, ROLE_SUERUSER or ROLE_TIMESHEETS will
have access to monthly timesheets edition page.

FEA: ItEr76S30PermissionsEnhancements
2012-06-15 15:23:29 +02:00
Manuel Rego Casasnovas
48c422b06b Configure basic permissions for each page in Spring Security file
Only ROLE_SUPERUSER and role of the page will have access.

FEA: ItEr76S30PermissionsEnhancements
2012-06-15 15:23:29 +02:00
Manuel Rego Casasnovas
438d8cdc10 Review and rename current roles
Include needed database migrations.

FEA: ItEr76S30PermissionsEnhancements
2012-06-15 15:23:29 +02:00
Manuel Rego Casasnovas
1a19400990 Add new role to protect subcontracting services
New role ROLE_WS_SUBCONTRACTING has been created, now the web services are
separated in two parts:
* Common web services are allowed to be read by role ROLE_WS_READER and written
  by role ROLE_WS_WRITER
* Subcontracting web services are allowed to be read and written by role
  ROLE_WS_SUBCONTRACTING

In this way you can give access to a different companies to your subcontracting
services, however prevent them to access to the rest of your data (via common
web services).

FEA: ItEr76S30PermissionsEnhancements
2012-06-11 17:08:09 +02:00
Manuel Rego Casasnovas
1649e83479 Implement button to create a new personal expense sheet
Modified behavior of create and edit expense sheet form, to disable resource
fields if it is personal.

FEA: ItEr76S28UserDashboard
2012-06-07 07:57:30 +02:00
Manuel Rego Casasnovas
db692ab010 Configure a custom URL target resolver in order to define the proper URL for bound users
Bound users will be redirected to user dashboard after login.

FEA: ItEr76S28UserDashboard
2012-05-16 10:42:34 +02:00
Manuel Rego Casasnovas
ce34595afd Configure a custom authentication filter
For the moment the same behavior than before the authentication filter is kept.
Later it will be used to do some redirects depending on if the user is bound or
not to any resource.

In order to define a custom authentication filter it's needed to set
auto-config="false" see
http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-auto-config

We also need an entry point specified by "entry-point-ref" attribute.

FEA: ItEr76S28UserDashboard
2012-05-16 10:42:32 +02:00
Susana Montes Pedreira
8445e59185 Configuring permissions to access and to save the expenses
sheet with the role "Expenses tracking allowed".

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:38:10 +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/main/resources/navalplanner-webapp-spring-security-config.xml (Browse further)