Commit graph

7304 commits

Author SHA1 Message Date
Giuseppe Zizza
a3282bf74b i18n: Add Italian translation 2012-01-12 13:06:20 +01:00
Manuel Rego Casasnovas
71647c475e Bug #1333: Fix issue as property and search query are needed for group strategy too
FEA: ItEr76S04BugFixing
2012-01-12 11:35:58 +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
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
Manuel Rego Casasnovas
6950f4d1db Bug #1329: Update advanced allocation row after applying default stretches function
With this patch the bug is even clearer. If you have a task of 3 days with 8h
per day, and you choose stretches function you will see that the task is
enlarged to 4 days with 6h per day.

FEA: ItEr76S04BugFixing
2012-01-11 11:43:26 +01:00
Manuel Rego Casasnovas
99f103b5b7 Bug #1328: Fix issue calling onClose method on controller
FEA: ItEr76S04BugFixing
2012-01-10 10:56:29 +01:00
Manuel Rego Casasnovas
055586e964 Bug #1261: Extract method createTab with common functionality for each tab
FEA: ItEr76S04BugFixing
2012-01-10 09:28:29 +01:00
Ignacio Diaz Teijido
828326e0e4 Bug #1261: Allows tabs to be memorized when changing perspective
FEA: ItEr76S04BugFixing
2012-01-10 09:28:27 +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
19da66e5fa Bug #1327: Fix issue changing method to do reassignments in consolidation process
The problem was that ResourceAllocation.DayAssignmentsState has a wrong start
day for consolidated tasks.

During the consolidation the method used to do the reassignment called
ResourceAllocation.allocateTheWholeAllocation which changed DayAssignmentsState
start date to first day not consolidated. Now this method is avoided, and the
start date in DayAssignmentsState is right.

FEA: ItEr76S04BugFixing
2012-01-09 18:12:57 +01:00
Manuel Rego Casasnovas
205a3f4b6a www: Folder and script for libreplan.org documentation
New folder with link to different documentation files in the source code. It
also includes a script to generate the HTML files that will be available on-line
at http://libreplan.org

FEA: ItEr76S03Community
2012-01-04 16:24:56 +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
Manuel Rego Casasnovas
ca5b86841b [Bug #1325] Fix issue remove criteria from configuration unit
FEA: ItEr76S04BugFixing
2012-01-04 11:29:23 +01:00
Óscar González Fernández
d973c323cb [Bug #1322] Fix bug
The derived day assignments were not being included. This caused that
the resources associated with the derived allocation to have different
instances for the derived allocations, causing a subsequent error.

FEA: ItEr76S04BugFixing
2012-01-04 08:27:07 +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
856eab4a79 [Bug #1311] Replace Date objects with IntraDayDate objects in SaveCommandBuilder.
The cause of the bug was that IntraDayDates were converted into Date objects,
and then back again to an IntraDayDate with 0 EffortDuration.

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Jacobo Aragunde Pérez
bf4e13c358 [Bug #1242] Don't allow progress end dates superior to the corresponding task end date.
This situation still happened in tasks with completition near to 100% (for
example 99%) and the 'by hours' calculation method.

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Jacobo Aragunde Pérez
519389dc4b Allow reported hours bar in gantt diagram to be wider than the task.
This bug was introduced when fixing the length of progress bars
(in the commit 13389197d9).

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Manuel Rego Casasnovas
e499ec4652 [Bug #1321] Reseting highlighted days in calendar to prevent issue
FEA: ItEr75S04BugFixing
2012-01-03 08:57:43 +01:00
Manuel Rego Casasnovas
3c5c14d728 [Bug #1323] Fix lazy loading properly derived allocations
FEA: ItEr75S04BugFixing
2012-01-03 08:22:05 +01:00
Jacobo Aragunde Pérez
13389197d9 [Bug #1242] Return end date directly when calculating advance and percentage is 100%.
In that case, no calculations are needed, and since the algorithm has some
defects we avoid them.

FEA: ItEr75S04BugFixing
2012-01-02 13:00:53 +01:00
Jacobo Aragunde Pérez
7518270ced [Bug #1242] Use IntraDayDate to draw the progress bar in leaf Tasks.
The advance bar was always drawn until the end of the day, even when the task
finished in the middle of the day, causing a weird effect.

FEA: ItEr75S04BugFixing
2012-01-02 12:59:26 +01:00
Manuel Rego Casasnovas
a1221c2581 [Bug #1309] Fix problem with reported hours bar when progress type is changed
FEA: ItEr75S04BugFixing
2011-12-29 10:06:18 +01:00
Manuel Rego Casasnovas
e3136719f7 [Bug #1319] Change division method of EffortDuration
Previous method was rounding to zero instead of return a fraction.

FEA: ItEr75S04BugFixing
2011-12-29 08:22:45 +01:00
Manuel Rego Casasnovas
7ab234b049 [Bug #1309] Invalidate each TaskComponent instead of the whole TaskList when progress type is changed
FEA: ItEr75S04BugFixing
2011-12-28 18:23:56 +01:00
Manuel Rego Casasnovas
948beb6067 Hide warning messages on bottom when user is not admin
FEA: ItEr75S04BugFixing
2011-12-28 16:17:08 +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
80aa4caea2 [Bug #1288] Fix message regarding progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 09:52:34 +01:00
Lucia Garcia Fernandez
59759b2af5 [Bug #1288] Set Decimalbox scale according to progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 09:39:34 +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
Manuel Rego Casasnovas
355d554205 [Bug #1307] Prevent add progress measurement before consolidated day in any parent
FEA: ItEr75S04BugFixing
2011-12-27 11:25:37 +01:00
Manuel Rego Casasnovas
0d14b15448 Refactor method getSpreadIndirectAdvanceAssignmentWithSameType to be used in more places
FEA: ItEr75S04BugFixing
2011-12-27 11:24:40 +01:00
Manuel Rego Casasnovas
bc8c9a73fb Prevent NPE editing progress measurements
FEA: ItEr75S04BugFixing
2011-12-26 13:23:15 +01:00
Manuel Rego Casasnovas
f159566af8 [doc] Add warning on INSTALL file about how to create database structure
FEA: ItEr75S03CommunityMaterial
2011-12-23 14:03:36 +01:00
Manuel Rego Casasnovas
e54a44fe50 [Bug #1308] Remove unneeded preventing create default progress in containers
FEA: ItEr75S04BugFixing
2011-12-23 13:33:03 +01:00
Manuel Rego Casasnovas
60a4e75ac5 [Bug #1305] Prevent adding progress measurement before last consolidated date
FEA: ItEr75S04BugFixing
2011-12-23 07:41:42 +01:00
Manuel Rego Casasnovas
67d18c948c Fix messages related with progress management and consolidations
FEA: ItEr75S04BugFixing
2011-12-23 07:41:42 +01:00
Manuel Rego Casasnovas
96c3aec7bb Disable some options in progress management if there is a consolidated progress
FEA: ItEr75S04BugFixing
2011-12-23 07:21:45 +01:00
Manuel Rego Casasnovas
4ce919eab2 [doc] Update SourceForge.net URLs due to rename to LibrePlan
FEA: ItEr75S03CommunityMaterial
2011-12-22 22:05:02 +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
Jacobo Aragunde Pérez
4de48e1f8e [Bug #1304] Reorder the code to improve the performance with TaskGroups.
FEA: ItEr75S04BugFixing
2011-12-22 13:45:44 +01:00
Jacobo Aragunde Pérez
40ab2f0b76 [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:45:44 +01:00
Manuel Rego Casasnovas
aece422e4c Fix NPE removed advance measurement
FEA: ItEr75S04BugFixing
2011-12-22 09:53:16 +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
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
50c83ccfd8 Remove duplicated method in QualityForm 2011-12-21 10:11:37 +01:00
Manuel Rego Casasnovas
32dcc7d29c [Bug #1314] Fix problem in materials report
Initializing scheduling states from order in order to avoid the issue.

FEA: ItEr75S04BugFixing
2011-12-21 08:22:16 +01:00