Commit graph

753 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
3ce8e7bad1 Add information about current version in GET requests
Take advantage to refine strings

FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
2adf4d357e Add configuration option to allow LibrePlan developers collect usage stats
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
d71e270f3e Add configuration option to disable warning about new LibrePlan versions
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
e64dae3cab Show a warning if there is a new project version published.
It checks if there is a new version available via http://libreplan.org/VERSION,
if so it shows a warning message to admin users in order to update to new
version.

The request to URL is done just once a day.

FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
0c465d3886 Bug 1295: Remove TaskElements (except milestones) with TaskSource null when saving
Possible hack to prevent issue

FEA: ItEr76S04BugFixing
2012-01-13 11:26:33 +01:00
Manuel Rego Casasnovas
4cdda935ce Bug 1295: Remove TaskElements (except milestones) with TaskSource null when saving
Possible hack to prevent issue

FEA: ItEr76S04BugFixing
2012-01-13 11:22:30 +01:00
Lorenzo Tilve Álvaro
32009d42fe Fixed wrong criteria string format
FEA: ItEr76S04BugFixing
2012-01-13 11:12:35 +01:00
Lorenzo Tilve Álvaro
937e2711d0 Fixed wrong criteria string format
FEA: ItEr76S04BugFixing
2012-01-13 11:09:26 +01:00
Manuel Rego Casasnovas
4c1fe40ae7 i18n: Add Italian language language to enum and modify pom.xml to use English userguide 2012-01-12 13:12:18 +01:00
Manuel Rego Casasnovas
ed294fa214 i18n: Add Italian language language to enum and modify pom.xml to use English userguide 2012-01-12 13:07:13 +01:00
Manuel Rego Casasnovas
66dd759883 Bug #1332: Fix problem allowing to set empty values for userDn and password
FEA: ItEr76S04BugFixing
2012-01-12 11:43:08 +01:00
Manuel Rego Casasnovas
deee4e8bd3 Bug #1332: Fix problem allowing to set empty values for userDn and password
FEA: ItEr76S04BugFixing
2012-01-12 11:32:15 +01:00
Manuel Rego Casasnovas
f2acc7670a Bug #1329: Fix problem in StretchesFunctionTest due to changes in previous test
The mockup created to represent ResourceAllocation should return valid values
for methods getIntraDayStartDate() and getIntraDayEndDate().

FEA: ItEr76S04BugFixing
2012-01-12 08:15:38 +01:00
Manuel Rego Casasnovas
990e2476ea Bug #1329: Fix issue calculating properly end date of stretches
The problem was that when a task finishes in a complete day, that means, task
end date is the next day with zero effort. In this situation, the stretches
calculation was enlarging 1 day more the task itself which causes the issue
reported in this bug.

FEA: ItEr76S04BugFixing
2012-01-12 08:15:34 +01:00
Manuel Rego Casasnovas
59f6fb165e Bug #1329: Now tasks are not enlarged and nothing breaks just after selecting a stretches function
This fix the issue described in previous commit. However, the bug itself is not
fixed yet and needs more work in the stretches function allocation.

FEA: ItEr76S04BugFixing
2012-01-12 08:15:30 +01:00
Manuel Rego Casasnovas
c9356c71c7 Bug #1329: Fix problem in StretchesFunctionTest due to changes in previous test
The mockup created to represent ResourceAllocation should return valid values
for methods getIntraDayStartDate() and getIntraDayEndDate().

FEA: ItEr76S04BugFixing
2012-01-12 08:07:53 +01:00
Manuel Rego Casasnovas
65b24f8099 Bug #1329: Fix issue calculating properly end date of stretches
The problem was that when a task finishes in a complete day, that means, task
end date is the next day with zero effort. In this situation, the stretches
calculation was enlarging 1 day more the task itself which causes the issue
reported in this bug.

FEA: ItEr76S04BugFixing
2012-01-12 07:51:16 +01:00
Manuel Rego Casasnovas
6b657a8791 Bug #1329: Now tasks are not enlarged and nothing breaks just after selecting a stretches function
This fix the issue described in previous commit. However, the bug itself is not
fixed yet and needs more work in the stretches function allocation.

FEA: ItEr76S04BugFixing
2012-01-11 12:24:59 +01:00
Susana Montes Pedreira
b8d76639f3 Merge branch 'master' into subcontracting 2012-01-10 17:54:45 +01:00
Manuel Rego Casasnovas
07f0b3615e Modify GenericDayAssignment.toString to add info about consolidation 2012-01-09 18:13:02 +01:00
Manuel Rego Casasnovas
755de948a7 [Bug #1326] Fix issue calculating properly hours to allocate
The issue was introduced in commit a998367bec
while trying to fix a different problem in interpolation function.

The patch has been reverted and both issues fixed now.

Once the patch was reverted, the number of remaining hours was wrong calculated
as if it was 0 it returns the allocated hours instead of 0.

FEA: ItEr76S04BugFixing
2012-01-04 15:24:15 +01:00
Manuel Rego Casasnovas
23d8c3b972 [Bug #1326] Fix issue calculating properly hours to allocate
The issue was introduced in commit a998367bec
while trying to fix a different problem in interpolation function.

The patch has been reverted and both issues fixed now.

Once the patch was reverted, the number of remaining hours was wrong calculated
as if it was 0 it returns the allocated hours instead of 0.

FEA: ItEr76S04BugFixing
2012-01-04 13:42:28 +01:00
Óscar González Fernández
825bae5f2b Allow to include or exclude DerivedDayAssignments
It's now possible to specify if derived assignments are included or
not when retrieving day assignments from a Task, Order and so on.
2012-01-04 08:27:06 +01:00
Jacobo Aragunde Pérez
e38fb82591 [Bug #1304] Make sumOfAssignedEffort return the cached value only for orders.
In other cases, the actual value will be calculated and returned, to use more
accurate data.

FEA: ItEr75S04BugFixing
2012-01-02 12:34:19 +01:00
Jacobo Aragunde Pérez
7c158ad7f6 Replace attribute TaskElement.sumOfHoursAllocated with an equivalent attribute
measured in EffortDuration.

FEA: ItEr75S04BugFixing

Conflicts:

	libreplan-business/src/main/java/org/libreplan/business/planner/entities/TaskElement.java
2012-01-02 12:33:00 +01:00
Jacobo Aragunde Pérez
815f817031 [Bug #1304] Don't use the cached value sumOfHoursAllocated when drawing the
progress bars of tasks.

This unupdated cached value is causing the bug. We will use it only in company
view, where allocations can't change.

FEA: ItEr75S04BugFixing
2012-01-02 12:31:32 +01:00
Manuel Rego Casasnovas
bb31a38392 [Bug #1288] Return null instead of zero in a just created AdvanceMeasurement
Now when you add a new advance measurement, you will have an empty value.
A test was fixed due to this change.

FEA: ItEr75S04BugFixing
2011-12-28 11:39:54 +01:00
Manuel Rego Casasnovas
492a0470c3 [Bug #1288] Return null instead of zero in a just created AdvanceMeasurement
Now when you add a new advance measurement, you will have an empty value.
A test was fixed due to this change.

FEA: ItEr75S04BugFixing
2011-12-28 11:09:27 +01:00
Manuel Rego Casasnovas
87f4993c43 [Bug #1307] Prevent changing spread progress in children when parents are consolidated
FEA: ItEr75S04BugFixing
2011-12-27 18:22:45 +01:00
Manuel Rego Casasnovas
25f9f3396f [Bug #1307] Prevent changing spread progress in children when parents are consolidated
FEA: ItEr75S04BugFixing
2011-12-27 18:15:10 +01:00
Jacobo Aragunde Pérez
b07e51204c [Bug #1304] Make sumOfAssignedEffort return the cached value only for orders.
In other cases, the actual value will be calculated and returned, to use more
accurate data.

FEA: ItEr75S04BugFixing
2011-12-22 13:45:44 +01:00
Manuel Rego Casasnovas
b443e743fe Remove unused method 2011-12-22 10:02:01 +01:00
Manuel Rego Casasnovas
2fe045cefb Remove unused method 2011-12-22 08:07:50 +01:00
Jacobo Aragunde Pérez
3d1a5c1aa8 Replace attribute TaskElement.sumOfHoursAllocated with an equivalent attribute
measured in EffortDuration.

FEA: ItEr75S04BugFixing
2011-12-21 13:08:25 +01:00
Manuel Rego Casasnovas
d8c447a382 [Bug #1301] Fix issue creating a container in a task with dependencies
Now TaskElement::detachDependencies remove them from both current task and
related. As for the moment it was just doing it in the related tasks, but
dependencies remain in current task and were removed later together with the
current task.

FEA: ItEr75S04BugFixing
2011-12-21 12:27:33 +01:00
Manuel Rego Casasnovas
3aeea3808a [Bug #1301] Fix issue creating a container in a task with dependencies
Now TaskElement::detachDependencies remove them from both current task and
related. As for the moment it was just doing it in the related tasks, but
dependencies remain in current task and were removed later together with the
current task.

FEA: ItEr75S04BugFixing
2011-12-21 12:16:09 +01:00
Manuel Rego Casasnovas
420de27619 Remove duplicated method in QualityForm 2011-12-21 10:22:11 +01:00
Manuel Rego Casasnovas
50c83ccfd8 Remove duplicated method in QualityForm 2011-12-21 10:11:37 +01:00
Manuel Rego Casasnovas
ed42756949 Fix problems in MaterialDAOTest and MaterialServiceTest
Tests were not passing in Debian Wheezy

FEA: ItEr75S04BugFixing
2011-12-20 18:30:52 +01:00
Manuel Rego Casasnovas
85ce192e06 [Bug #1300] Updated intended resources per day after consolidation is added or removed
FEA: ItEr75S04BugFixing
2011-12-20 18:13:12 +01:00
Manuel Rego Casasnovas
bb4594163d [Bug #1300] Updated intended resources per day after consolidation is added or removed
FEA: ItEr75S04BugFixing
2011-12-20 18:11:53 +01:00
Jacobo Aragunde Pérez
6f42487437 [Bug #1304] Don't use the cached value sumOfHoursAllocated when drawing the
progress bars of tasks.

This unupdated cached value is causing the bug. We will use it only in company
view, where allocations can't change.

FEA: ItEr75S04BugFixing
2011-12-20 17:52:01 +01:00
Manuel Rego Casasnovas
b7524bdce5 [Bug #1303] Fix issue removing consolidation using IntraDayDate for task end
Change type of ConsolidatedValue::taskEndDate to IntraDayDate to store too
EffortDuration together with end date.

FEA: ItEr75S04BugFixing
2011-12-20 13:24:34 +01:00
Manuel Rego Casasnovas
bdcd45abaa [Bug #1303] Fix issue adding consolidation using IntraDayDate for task end
FEA: ItEr75S04BugFixing
2011-12-20 13:24:28 +01:00
Manuel Rego Casasnovas
81684c9f73 [Bug #1303] Fix issue removing consolidation using IntraDayDate for task end
Change type of ConsolidatedValue::taskEndDate to IntraDayDate to store too
EffortDuration together with end date.

FEA: ItEr75S04BugFixing
2011-12-20 13:13:23 +01:00
Manuel Rego Casasnovas
53e09fe873 [Bug #1303] Fix issue adding consolidation using IntraDayDate for task end
FEA: ItEr75S04BugFixing
2011-12-20 13:13:23 +01:00
Manuel Rego Casasnovas
1954104c4f Fix problems in MaterialDAOTest and MaterialServiceTest
Tests were not passing in Debian Wheezy

FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +01:00
Susana Montes Pedreira
7e77744ab4 set the relationship owner, in order to save the reference of the order,
without the need of a property on the other side of relation, with the
class DeadlineCustomer

FEA: ItEr75S32AnA15S04UpdateDeliveringDateInSubcontracting
2011-12-19 20:23:34 +01:00
Susana Montes Pedreira
8b50f2ebba Create new subcontractor state for sending updates of the delivering
date, while it is created a new customer communication.

FEA: ItEr75S32AnA15S04UpdateDeliveringDateInSubcontracting
2011-12-19 20:10:02 +01:00
Susana Montes Pedreira
a8ca548493 Create new subcontractor communication type: UPDATE_DELIVERING_DATE
FEA: ItEr75S32AnA15S04UpdateDeliveringDateInSubcontracting
2011-12-19 19:53:11 +01:00