Commit graph

9207 commits

Author SHA1 Message Date
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
98f01f9824 Added database changes to store Criterion to CostCategory relationship
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:15 +02:00
Lorenzo Tilve Álvaro
2b520e0733 Created new liquibase changelog file for 1.4 version
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 13:38:47 +02:00
Lorenzo Tilve Álvaro
852eae4281 Defined persistence for the relationship between criteria and cost category
FEA: ItEr77S17AutomaticBudgeting
2013-06-06 19:19:32 +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
Lorenzo Tilve Álvaro
e5450066de Added relationship between Criterion and CostCategories
FEA: ItEr77S17AutomaticBudgeting
2013-06-06 19:15:00 +02:00
Lorenzo Tilve
556736af39 Merge pull request #6 from ogf/connection-pooling 2013-06-06 00:42:52 -07: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
bf1f10f4d7 Use newest postgresql driver 2013-06-05 11:31:12 +02:00
Oscar Gonzalez Fernandez
3ce5e012be Use connection pooling in Jetty too
It should increase performance when developing.
2013-06-05 11:31:12 +02:00
Lorenzo Tilve
59da60fe75 Merge pull request #5 from ogf/fix-errors-tests
Merged pull request to fix errors in the tests
2013-06-05 02:25:34 -07: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
Oscar Gonzalez Fernandez
5bc3d42bbe Avoid build warning
Specify the encoding used in the project instead of using the platform
default one. This could lead to not portable builds among different
platforms.
2013-06-01 17:26:21 +02:00
Oscar Gonzalez Fernandez
b0b0d662dc Fix failing test when running mvn install
Some test cases in DerivedAllocationGeneratorTest were failing during
a mvn install. It might not happen in all systems since it depends
on the order the tests are executed. It's also failing if run
individually.

The problem is that ScenarioBootstrap must be executed before
executing these tests. When distributing the resources, the
DayAssignments of the resource for the current scenario are queried.
An IScenarioManager must have been registered in Registry plus the
main scenario initialized.

The stack trace is:

java.lang.IllegalStateException: loadRequiredData should have been called on org.libreplan.business.scenar
ios.bootstrap.ScenariosBootstrap
        at org.libreplan.business.scenarios.bootstrap.ScenariosBootstrap.getMain(ScenariosBootstrap.java:81)
        ...
        at com.sun.proxy.$Proxy42.getMain(Unknown Source)
        at org.libreplan.business.scenarios.OnlyMainScenarioAwareManager.getCurrent(OnlyMainScenarioAwareManager.java:38)
        at org.libreplan.business.resources.entities.Resource$UsingScenarioManager.calculateAssignments(Resource.java:185)
        at org.libreplan.business.resources.entities.Resource$DayAssignmentsState.getAssignments(Resource.java:172)
        at org.libreplan.business.resources.entities.Resource.getAssignments(Resource.java:886)
        at org.libreplan.business.resources.entities.Resource.getAssignmentsForDay(Resource.java:153)
        at org.libreplan.business.resources.entities.Resource.getAssignedDurationDiscounting(Resource.java:861)
        at org.libreplan.business.planner.entities.AssignedEffortForResource$AssignedEffortDiscounting.getAssignedDurationAt(AssignedEff
ortForResource.java:169)
        at org.libreplan.business.planner.entities.EffortDistributor$ResourceWithDerivedData.withAvailableCapacityOn(EffortDistributor.j
ava:232)
        at org.libreplan.business.planner.entities.EffortDistributor.resourcesFromMoreDesirableToLess(EffortDistributor.java:408)
        at org.libreplan.business.planner.entities.EffortDistributor.assignAllPossibleWithoutOvertime(EffortDistributor.java:387)
        at org.libreplan.business.planner.entities.EffortDistributor.distributeForDay_(EffortDistributor.java:356)
        at org.libreplan.business.planner.entities.EffortDistributor.distributeForDay(EffortDistributor.java:341)
        at org.libreplan.business.planner.entities.DerivedAllocationGenerator.createAssignments(DerivedAllocationGenerator.java:114)
        at org.libreplan.business.planner.entities.DerivedAllocationGenerator.generate(DerivedAllocationGenerator.java:68)
        at org.libreplan.business.test.planner.entities.DerivedAllocationGeneratorTest.forOneResourceTheHoursGeneratedAreGotFromAlpha(De
rivedAllocationGeneratorTest.java:205)
2013-06-01 17:25:51 +02:00
Manuel Rego Casasnovas
4e06cbe71a Bump version number to 1.4.0
FEA: ItEr77S03Community
2013-04-29 19:05:17 +02:00
Manuel Rego Casasnovas
09b1e93660 Update NEWS file for LibrePlan 1.4.0
FEA: ItEr77S03Community
2013-04-29 19:05:17 +02:00
Manuel Rego Casasnovas
f1e68a20d9 Update RPM package for LibrePlan 1.4.0
FEA: ItEr77S03Community
2013-04-29 18:16:38 +02:00
Manuel Rego Casasnovas
96ad9c19e5 Update Debian package for LibrePlan 1.4.0
FEA: ItEr77S03Community
2013-04-29 18:15:45 +02:00
Manuel Rego Casasnovas
a7386624b9 Update database scripts for LibrePlan 1.4.0
FEA: ItEr77S03Community
2013-04-29 18:12:52 +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
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