Commit graph

1492 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Lorenzo Tilve Álvaro
cabf12ad8f Fix disabled move and indent buttons for the WBS tree manipulation
These icons are disabled when the WBS is showed filtered, as the manipulation
operations could be ambiguous or problematic, but it was treating wrongly
empty predicates.

FEA: ItEr77S15FilteringEnhancements
2013-03-12 12:07:53 +01:00
Swanson Chan
d7b9d0c5aa i18n: Add Chinese translation 2013-03-12 10:07:19 +01:00
Manuel Rego Casasnovas
9325470d3d tim-connector: Modify SchedulerManager to use ConfigurationDAO instead of ConfigurationModel
Remove unneeded public method in IConfigurationModel.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-03-07 12:31:04 +01:00
miciele Ghiorghis
a610afa957 tim-connector: main changes in scheduler
* CRUD for scheduler
* The UI job_scheduling.zul for CRUD is splits to _editJobScheduling.zul and _listJobScheduling.zul
* Lots of changes in scheduler to make it generic
  - jobs can be scheduled, rescheduled and deleted
  - check if job has a connector and is enabled
  - check if job is allowed to be scheduled
  - do manual is moved to JobConfigurationController
* attributes connectorName and scheduled added to JobSchedulerConfiguration modified
* triggerGroup and triggerName deleted from JobScheduleerConfiguration
* In JobConfigurationDAO findByConnectorName added
* New JobClassNameEnum added to be used as data type for JobClassName in JobSchedulerConfiguration
* Import/Export Jobs read the beans that do the real work from ApplicationContext
* Some minor changes in ConfigurationController
2013-03-07 11:50:53 +01:00
Manuel Rego Casasnovas
21c788316a tim-connector: Refactor majorId attribute of Connector entity to name
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-27 19:14:14 +01:00
Manuel Rego Casasnovas
ef1328eee1 tim-connector: Moved tests to proper package
They were in importers and they're moved to org.libreplan.importers.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-27 14:58:34 +01: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
Lorenzo Tilve Álvaro
18dc5e7749 Clean global session variables after saving preferences
This will refresh all company-level variables with the corresponding
values depending on the filtering preferences saved.

FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:15:40 +01:00
Lorenzo Tilve Álvaro
2c34faa7e0 Avoid cast exception when using workers on company view filter
FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:15:32 +01:00
Lorenzo Tilve Álvaro
9b47f33e38 Handled manually emptied dateboxes to avoid inconsistences with default values
FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:15:23 +01:00
Lorenzo Tilve Álvaro
5550f4926d Added onChange event listener to Project Gantt and WBS bandbox
FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:15:14 +01:00
Lorenzo Tilve Álvaro
bd86dfd183 Force synchronization of filter changes when switching between loaded perspectives
Either in the Company view/Projects list perspectives and the Project Gantt/WBS ones,
their filter values are synchronized when shitching between them. All the perspectives
were loading the rigth session values when they were loaded for the first time, but
needed to be updated after changes in the filter values to actualize the widgets
on the sibling perspective.

FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:15:04 +01:00
Lorenzo Tilve Álvaro
9ba7d7c285 Fix bug in BandboxSearch that was causing its text to be wrongly updated
Calling getSelectedElemets was returning a WrongFilterValue exception, and filling
in the bandbox value with the partial string used to filter the listbox.

FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:14:55 +01:00
Lorenzo Tilve Álvaro
fb243cc5d5 Fix problem in bandbox search filters deleting session values
There was an issue that was causing bandbox search filter in company view to be
cleared, and deleting the corresponding session variable,  the second time
that perspective was accesed without changing the filter.

FEA: ItEr77S15FilteringEnhancements
2013-02-22 20:14:31 +01:00
miciele Ghiorghis
4aae86335e tim-connector: added attribute key and connectorId and removed code and label attributes
- attributes key and connectorId added
- modified findBys with this new change
- modified other files affected by this change
2013-02-21 17:32:19 +01:00
miciele Ghiorghis
604368f822 tim-connector: more imporovements spcecially calculating exception hours
- Import rosters for all departments configured in DB implemented
- Unneeded checks for resource calendar removed
- Some hardcoded strings moved to constants
- Exception with 0h effort allowed
- confirmSave is used to update exceptions
- RESOURCE_HOLIDAY or BANK_HOLIDAY used correctly
- calculating exception hours solved
2013-02-18 10:19:32 +01:00
Manuel Rego Casasnovas
75ef2de231 Forced reference to zoom listener to write resourcesLoad session parameter
The new listener registered to track changes on ResourceLoad perspective zoomLevel
was not always being called. An explicit reference was defined to avoid that
listener to be wrongly freed.

FEA: ItEr77S15FilteringEnhancements
2013-02-15 12:43:45 +01:00