Commit graph

9181 commits

Author SHA1 Message Date
Lorenzo Tilve Álvaro
1cf8043277 doc: Linked context specific help to scheduler configuration window
FEA: ItEr77S03Community
2013-04-29 17:47:10 +02:00
Lorenzo Tilve Álvaro
fbf89657b9 doc: Added to 'parts' file the references to connector and scheduler manuals
FEA: ItEr77S03Community
2013-04-29 17:47:10 +02:00
Manuel Rego Casasnovas
280d0263c8 doc: Include Loren as Spanish and Galician translator 2013-04-29 17:25:44 +02:00
Lorenzo Tilve Álvaro
e9ecd93966 Bug #1606: Revert fix for bug #1546 wich causes regressions on dependencies after saving project
This reverts commit 9a8d7deffe7bb5034448f698ab3dff4014b1bdb1.

The original fix on the patch "Bug #1546: Force recalculation of critical path progresses on
saving project" is having a side-effect on the behaviour of the dependencies, that don't push
tasks and are show violated.

As the regression effect is more severe than the original bug, we revert the patch while finding
another solution for the original issue.
2013-04-29 16:51:29 +02:00
Giuseppe Zizza
0486bef3ea i18n: Update Italian translation
FEA: ItEr77S03Community
2013-04-29 16:41:49 +02:00
Lorenzo Tilve Álvaro
8651151eb9 i18n: Update Galician translation
FEA: ItEr77S03Community
2013-04-29 16:37:06 +02:00
Lorenzo Tilve Álvaro
2c0ae1a17f i18n: Update Spanish translation
FEA: ItEr77S03Community
2013-04-29 16:36:58 +02:00
Philippe Poumaroux
ea2a038594 i18n: Update French translation
FEA: ItEr77S03Community
2013-04-29 16:28:01 +02:00
Jeroen Baten
82b8607ff5 i18n: Update Dutch translation
FEA: ItEr77S03Community
2013-04-29 16:28:00 +02:00
miciele Ghiorghis
da8f5f52d6 user-manual: Scheduler user manual 2013-04-29 12:08:49 +02:00
miciele Ghiorghis
55c1bb7903 user-manual: connectors user manual 2013-04-29 12:08:48 +02:00
Lorenzo Tilve Álvaro
95a5052463 Bug #1563: Remove links from breadcrumbs component
The links on the breadcrumbs line were problematic as they
were pointing to the first subelement of the current section of the
menu, which could be an element unauthorized for the user.

As these shortcats are not useful enough and redundant with the main menu,
which can be used directly as is showing only the entries to the specific
user has access to, the links in this components are removed.

FEA: ItEr77S04BugFixing
2013-04-23 12:16:19 +02:00
Manuel Rego Casasnovas
e3e772fe66 i18n: Update keys.pot files
FEA: ItEr77S03Community
2013-04-22 12:28:15 +02:00
Lorenzo Tilve Álvaro
b2ccc9e0eb Fix MySQL problem when loading connector properties bootstraps
There was some issue regarding connector_properties columns
names that was causing that the bootstraps launched an SQL
exception when deploying over MySQL.

FEA: ItEr77S04BugFixing
2013-04-17 18:23:47 +02:00
Lorenzo Tilve Álvaro
cc246eedfa Merge branch 'master' into mpxj-import
Conflicts:
	libreplan-business/src/main/java/org/libreplan/business/orders/entities/Order.java
	libreplan-webapp/pom.xml
	pom.xml
2013-04-16 09:34:31 +02:00
Lorenzo Tilve Álvaro
d55b5d4801 Fix i18n formatting problem on dashboards
On the chinese translation of the dashboard a formatting exception was being raised
due to the way the i18n methods were being called.

FEA: ItEr77S04BugFixing
2013-04-15 10:06:21 +02:00
Lorenzo Tilve Álvaro
0cb2fb890f Bug #1610: Restrict access through manual entry points to projects without permissions
An additional check is introduced to limit access to planning perspective of a project
to which the user doesn't have permissions. The MessageBox modal operation might be moved
out to show nicely the error information.

FEA: ItEr77S04BugFixing
2013-04-15 10:05:46 +02:00
Lorenzo Tilve Álvaro
a7adf8429f Bug #1610: Fix problem accessing company view with limited permissions
When the user had restricted access to the company view, and the list
of specific projects that he could read is empty, an HibernateQueryException
was being raised.

FEA: ItEr77S04BugFixing
2013-04-15 10:05:46 +02:00
Lorenzo Tilve Álvaro
1d1473b9a5 Fix NPE when saving changes on configuration window without any connector
When there was not any application selected into the connectors tab, saving
the main settings window raised an NPE.

FEA: ItEr77S04BugFixing
2013-04-15 10:05:46 +02:00
Manuel Rego Casasnovas
839d72d639 Fix typo "Unnasigned" vs "Unassigned"
FEA: ItEr77S03Community
2013-04-11 08:43:37 +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
24326238a2 Fix problems with calendar exception types bootstrap
When deploying again after having imported projects, the calendar bootstrap was wrongly trying to save
a repeated calendar exception day.

FEA: ItEr77S05BasicProjectImport
2013-03-27 17:34:57 +01:00
Lorenzo Tilve Álvaro
a7c3682a52 Revamps import window and adds extra information on importable entities
FEA: ItEr77S05BasicProjectImport
2013-03-27 17:10:54 +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
28e56f8ae1 Merge branch 'master' into tim-connector 2013-03-27 10:31:48 +01:00
miciele Ghiorghis
111b780752 jira and tim-connector: Constraints for OrderSyncInfo 2013-03-27 10:20:44 +01:00
miciele Ghiorghis
94f3763e32 jira and tim-connector: Constraints for JobSchedulerConfiguration 2013-03-27 10:20:41 +01:00
Lorenzo Tilve Álvaro
82f2591ab0 Fix NonUniqueObjectException on the project gantt when loading the same criteria of the user filter setting
Due to the relationship between user and criteria not being lazy, the reattach method was
bringing an already loaded element.

FEA: ItEr77S04BugFixing
2013-03-27 09:07:49 +01:00
Javier Moran Rua
95c044afee Sort the list of resources and triggers the sort after refreshing it.
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 13:22:32 +01:00
Javier Moran Rua
c90fd3aaed Adds graphic representation of the avaliability as a color progress bar and a icon for warning non-zero overload.
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 13:22:32 +01:00
Javier Moran Rua
3944232a98 Adds margins additional to task limits(start, end) for default load ratios calculation in resource allocation advance search.
Two margins have been added:

   * A margin before the task start date.
   * A margin after the task end date.

The time used in these two margins has been the same and is equal to 30 days.

FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 13:22:29 +01:00
Javier Moran Rua
d7ed3aa149 Recalculates the load ratios on changing the filtering dates and incorporates interface validations in the filtering dates dateboxes
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 13:22:05 +01:00
Javier Moran Rua
7ae2ee1e4e Add the suitable casting on getting items of the list of resources with their load ratios.
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 12:54:10 +01:00
Javier Moran Rua
8f5622acf1 Initialize the start filtering date with the task start date and the end filtering date with the task end date.
It has been improved the performance so that the search of the resources and their
load ratios calculation is done from this moment on when the advanced search tab is made visible. This is
the moment when the task start date and task end date are available (not
sooner).

FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 12:54:10 +01:00
Javier Moran Rua
c650fcb013 Web interface to add the resource load ratios at the advanced search in the allocation pop-up.
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 12:54:10 +01:00
Javier Moran Rua
9b3ab84cf0 Adds calculator to obtain the ratios of a resource as a spring bean
Two load ratios are defined:

   * Overload = overload / (load + overload)
   * Availability = min (0,(1 - load/capacity))

FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 12:54:10 +01:00
Javier Moran Rua
eac5c860c3 Adds method to collect the day assignments of a resource in a scenario between two dates.
FEA: ItEr77S10ResourceAllocationLoadInformation
2013-03-26 12:26:20 +01:00
Manuel Rego Casasnovas
131941ea6f tim-connector: Remove unneeded lines in _jiraOrderElementSync.zul and _timOrderTimesheetSync.zul
This is managed now at JiraSynchronizationController.showOrHideJiraEditWindow()
and TimSynchronizationController.showOrHideTimEditWindow().

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-26 11:13:33 +01:00
Manuel Rego Casasnovas
c7508fbfa3 tim-connector: Rename connectorId to connectorName in OrderSyncInfo
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-26 10:59:37 +01:00
Manuel Rego Casasnovas
3e29b3023e tim-connector: Fix typo in JobSchedulerController.showSynchronizationInfo() method
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-26 10:28:32 +01:00
miciele Ghiorghis
ba8024aae7 jira and tim-connector: new job for Jira order element synchronizer and some improvement
- New Job implementation for Jira order element synchronizer
- Some imporvements to manage/display errors
2013-03-26 10:21:48 +01:00
miciele Ghiorghis
cea2996917 jira-and-tim-connector: correction on OrderSyncInfo
- In OrderSyncInfoDAO the method name findByKeyAndConnectorId is changed to findByKeyOrderAndConnectorId and
a parameter Order is added. The files that uses this method are  modified accordingly
- In JiraSynchronizationController refresh added. If OrderSyncInfo is saved the jira sync info screen will be
updated to show the change
2013-03-26 10:07:08 +01:00
miciele Ghiorghis
2fc452d1b7 jira and tim -connector: Refactoring OrderCRUDController and other improvements
- OrderCRUDController refactored
- Save or update for OrderSyncInfo instead of creating new instance for each sync
- Name change for TimImpExpInfo to SynchronizationInfo
- JiraSyncInfo is removed instead SynchronizationInfo is used
- All files which are affected by name changes are modified
- Translations added where applicable
- clean up unused variables etc
2013-03-25 14:44:15 +01:00
Manuel Rego Casasnovas
30988f309f Bug #1612: Fix NPE adding children to newly created elements
The problem was that when you add a child to a newly created empty task, it
become the task in a container, and then mark the container as selected to ease
the insertion of new children.

In order to mark the container as selected the element needs to be renderer
before we try to select it, otherwise we have been getting a NPE.

FEA: ItEr77S04BugFixing
2013-03-21 11:20:24 +01:00
Manuel Rego Casasnovas
babe4ffa79 Mark as non-lazy the relationship between a user and its related entities (Label and Criterion)
This avoids problems saving a project when entering directly via the entry
points with a user that has a label associated.

FEA: ItEr77S04BugFixing
2013-03-20 13:28:14 +01:00
Manuel Rego Casasnovas
a062bc05ce Log the full stacktrace when a ValidationException happens while saving a project
This will ease the debugging of some bugs in the future.
2013-03-20 13:26:38 +01:00
Manuel Rego Casasnovas
cc712d4055 jira-connector: Make OrderCRUDController.isJiraActivated() public as it's used from _edition.zul
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-14 13:22:07 +01:00
Manuel Rego Casasnovas
e7cc0297a7 Fix translation markers for ConnectorException and TimImpExpInfo classes
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-14 12:33:15 +01:00
miciele Ghiorghis
d764e0a3f8 Jira-connector: JIRA moved to connectors
- JIRA is moved to connectors and all files modified that has to do with this change.
- JiraConfiguration file is removed
- ImportedLabel attribute is deleted from Order and order.hbm.xml
- Imstead of importedLabel is now used the key from OrderSyncInfo
- and some more changes where applicable
2013-03-14 12:26:12 +01:00
miciele Ghiorghis
3891048f00 tim-connector: check if connector values are invalid and more
Better error handling:
* check if connector connection values are valid
* New ConnectorException
* New .zul file to show import/export failed/success information
* All files modified affected by these changes
2013-03-14 12:20:38 +01:00