Commit graph

7278 commits

Author SHA1 Message Date
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
c2889c88b7 [Bug #1304] Reorder the code to improve the performance with TaskGroups.
FEA: ItEr75S04BugFixing
2012-01-02 12:34:13 +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
954a45b1d6 Revert "[Bug #1319] Change division method of EffortDuration"
This reverts commit 395d6a2f5e.
2012-01-02 11:11:49 +01:00
Manuel Rego Casasnovas
4beea48158 [Bug #1309] Fix problem with reported hours bar when progress type is changed
FEA: ItEr75S04BugFixing
2011-12-29 10:11:18 +01:00
Manuel Rego Casasnovas
395d6a2f5e [Bug #1319] Change division method of EffortDuration
Previous method was rounding to zero instead of return a fraction.

FEA: ItEr75S04BugFixing
2011-12-29 08:39:44 +01:00
Manuel Rego Casasnovas
fec675b657 [Bug #1309] Invalidate each TaskComponent instead of the whole TaskList when progress type is changed
FEA: ItEr75S04BugFixing
2011-12-28 18:30:52 +01:00
Manuel Rego Casasnovas
eb486c14c2 Hide warning messages on bottom when user is not admin
FEA: ItEr75S04BugFixing
2011-12-28 16:21:30 +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
07abe35d4a [Bug #1288] Fix message regarding progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 11:39:50 +01:00
Lucia Garcia Fernandez
bc6d33c552 [Bug #1288] Set Decimalbox scale according to progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 11:39:46 +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
2b9a7ec6fc [Bug #1307] Prevent add progress measurement before consolidated day in any parent
FEA: ItEr75S04BugFixing
2011-12-27 11:37:52 +01:00
Manuel Rego Casasnovas
f6a21e9942 Refactor method getSpreadIndirectAdvanceAssignmentWithSameType to be used in more places
FEA: ItEr75S04BugFixing
2011-12-27 11:37:46 +01:00
Manuel Rego Casasnovas
02993b55ea Prevent NPE editing progress measurements
FEA: ItEr75S04BugFixing
2011-12-26 13:28:17 +01:00
Manuel Rego Casasnovas
65e246b8e0 [doc] Add warning on INSTALL file about how to create database structure
FEA: ItEr75S03CommunityMaterial
2011-12-23 14:08:01 +01:00
Manuel Rego Casasnovas
0bf265db9b [Bug #1308] Remove unneeded preventing create default progress in containers
FEA: ItEr75S04BugFixing
2011-12-23 13:43:28 +01:00
Manuel Rego Casasnovas
8f933ae7c0 [Bug #1305] Prevent adding progress measurement before last consolidated date
FEA: ItEr75S04BugFixing
2011-12-23 08:05:48 +01:00
Manuel Rego Casasnovas
250d93185a Fix messages related with progress management and consolidations
FEA: ItEr75S04BugFixing
2011-12-23 08:05:42 +01:00
Manuel Rego Casasnovas
31d82f1dea Disable some options in progress management if there is a consolidated progress
FEA: ItEr75S04BugFixing
2011-12-23 08:05:37 +01:00
Manuel Rego Casasnovas
d49b0c18c4 [doc] Update SourceForge.net URLs due to rename to LibrePlan
FEA: ItEr75S03CommunityMaterial
2011-12-22 22:51:31 +01:00
Jacobo Aragunde Pérez
d2ce89dd14 [Bug #1316] Use correct JS selectors to work both with leaf tasks and task groups.
The selectors didn't work correctly with task groups.

FEA: ItEr75S04BugFixing
2011-12-22 13:46:26 +01:00
Manuel Rego Casasnovas
5c5db6ebce Fix NPE removed advance measurement
FEA: ItEr75S04BugFixing
2011-12-22 10:02:05 +01:00
Manuel Rego Casasnovas
b443e743fe Remove unused method 2011-12-22 10:02:01 +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
420de27619 Remove duplicated method in QualityForm 2011-12-21 10:22:11 +01:00
Manuel Rego Casasnovas
fd68b45c31 [Bug #1314] Fix problem in materials report
Initializing scheduling states from order in order to avoid the issue.

FEA: ItEr75S04BugFixing
2011-12-21 08:28:13 +01:00
Manuel Rego Casasnovas
b81c6c8705 Skipping some tests in ScenarioModelTest because they were causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 18:31:01 +01:00
Manuel Rego Casasnovas
2acfa86dc3 Remove uneeded test as it was causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 18:30:56 +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
97e2c721d7 Fix problem with consolidation and specific assignments
FEA: ItEr75S04BugFixing
2011-12-20 18:13:18 +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
Nacho Barrientos
1bfdd4f4aa [Bug #1312] Fix issue with printing in HTTPs is enabled
FEA: ItEr75S04BugFixing
2011-12-20 17:12:15 +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
Jacobo Aragunde Pérez
e5173d6e49 [Bug #1310] Reorder the code to fix the two exceptions happening here.
FEA: ItEr75S04BugFixing
2011-12-20 12:17:50 +01:00
Jacobo Aragunde Pérez
c2b7399497 [Bug #1299] Enable scrollbars in the tasks input buffer grid.
According to ZK docs, scrolling is enabled by setting the height attribute.

FEA: ItEr75S04BugFixing
2011-12-19 17:48:08 +01:00
Jacobo Aragunde Pérez
3d9dc46d35 [Bug #1297] Add listeners to 'See schedule allocation' buttons every time the panel is redrawn.
FEA: ItEr75S04BugFixing
2011-12-19 14:48:40 +01:00
Jacobo Aragunde Pérez
4350f53901 [Bug #1297] Replaced the misleading word "Filter" with "Show".
FEA: ItEr75S04BugFixing
2011-12-17 13:46:16 +01:00
Jacobo Aragunde Pérez
abc6a6a214 [Bug #1297] Reset the list listenersToAdd when changing perspectives.
Not resetting it keeps the old listeners attached to the resources/criteria
selector and name filter.

FEA: ItEr75S04BugFixing
2011-12-17 13:46:07 +01:00
Manuel Rego Casasnovas
9f56e5afda [Bug #1073] Fix issue introduced by me while reviewing the previous patch
FEA: ItEr75S04BugFixing
2011-12-16 16:51:31 +01:00
Jacobo Aragunde Pérez
10fdca88ba [Bug #1294] Revert "Update i18n files with the new translations for the replaced string."
This reverts commit fe265611df.
It's reverted as the translation to Russian is not correct and .pot file wasn't
updated accordingly. These topics will be managed when a release is done.
2011-12-16 11:57:47 +01:00
Jacobo Aragunde Pérez
ea2f6e490b [Bug #1073] Add dependencies with its parent when a milestone is added.
A new operation in the Adapter was implemented. Also the Milestone class was
modified to store a reference to its parent.

FEA: ItEr75S04BugFixing
2011-12-16 11:33:53 +01:00
Jacobo Aragunde Pérez
fe265611df [Bug #1294] Update i18n files with the new translations for the replaced string.
FEA: ItEr75S04BugFixing
2011-12-16 11:08:24 +01:00
Jacobo Aragunde Pérez
16e14b33de [Bug #1294] Replace the sentence 'Click on direct link to go to output directly' with a better alternative.
FEA: ItEr75S04BugFixing
2011-12-16 10:57:00 +01:00
Manuel Rego Casasnovas
27f63875b5 [doc] Add warning about printing issues in Debian Squeeze
Review format of info added in INSTALL file and add warning in specific sections

FEA: ItEr75S03CommunityMaterial
2011-12-15 12:37:15 +01:00
Nacho Barrientos
5da4d25539 [doc] Add instructions to install Cutycapt from testing
FEA: ItEr75S03CommunityMaterial
2011-12-15 12:37:11 +01:00
Manuel Rego Casasnovas
c603ffb178 [Bug #1296] Rename Spanish and Galician .properties files as country was not needed
FEA: ItEr75S04BugFixing
2011-12-15 11:43:58 +01:00
Manuel Rego Casasnovas
190fdcd004 [Bug #1296] Remove duplicated *_en_US.properties files after updating *.properties when required
FEA: ItEr75S04BugFixing
2011-12-15 11:43:53 +01:00