Commit graph

1790 commits

Author SHA1 Message Date
Lorenzo Tilve Álvaro
5df152a9bd Implemented initial version for the budget calculation algorithm
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
a3a237b9aa Added new column to WBS with the data from the task criteria
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
25e45b65e8 Included new column for the calculated budget to the WBS
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
15883806f5 Added to configuration class accessors for automatic budget properties
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
024f30ab0b Included in the interface new settings to enable automatic budgeting and the type of hour to use on it
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
2b4ac1c3ed Linked cost category autocomplete widget to criteria edition window
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
4408f965d1 Added empty cell renderer to criterion to include the cost category
FEA: ItEr77S17AutomaticBudgeting
2013-06-06 19:17:56 +02:00
Oscar Gonzalez Fernandez
3713198a93 Use a connection data pool when running tests
It cuts 40 seconds or around from the tests running time.
2013-06-05 12:33:57 +02:00
Oscar Gonzalez Fernandez
05a9767477 Fix execution order depending error in test
Since the scenario was created in the same transaction (due to using
@Before annotation) was not visible in givenOrderFromPrepareForCreate.
Now use a @BeforeTransaction instead so it's visible before.
2013-06-01 20:47:17 +02:00
Oscar Gonzalez Fernandez
48c3b1093e Remove added exception types
This test was causing errors on CalendarExceptionTypeServiceTest
because it was leaving behind some CalendarExceptionTypes in the
database.
2013-06-01 17:26:42 +02:00
Oscar Gonzalez Fernandez
26da1978f5 Use the same configuration as in other tests
Otherwise it creates a new Spring context instead of keeping using the
previous one.

This doesn't seem specially dangerous, but in some circumstances can
lead to idle transactions with associated locks that hang up the
execution of the tests. This happened with PostgreSQL version 9.1 in
WorkReportServiceTest.importValidDescriptionValuesToWorkReport().
2013-06-01 17:26:30 +02:00
Oscar Gonzalez Fernandez
1045a1a171 Remove no longer applicable comments 2013-06-01 17:26:28 +02:00
Manuel Rego Casasnovas
4e06cbe71a Bump version number to 1.4.0
FEA: ItEr77S03Community
2013-04-29 19:05:17 +02:00
Lorenzo Tilve Álvaro
05c5b932ef Fix excessive height on input boxes, which caused overflowing on some grid rows
FEA: ItEr77S03Community
2013-04-29 17:47:10 +02:00
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
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
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