Commit graph

7288 commits

Author SHA1 Message Date
Ó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
Manuel Rego Casasnovas
3136bd921b Fix problem with consolidation and specific assignments
FEA: ItEr75S04BugFixing
2011-12-20 18:11:53 +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
Nacho Barrientos
922f5cbdf6 [Bug #1312] Fix issue with printing in HTTPs is enabled
FEA: ItEr75S04BugFixing
2011-12-20 17:04:01 +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
1bccac182a Skipping some tests in ScenarioModelTest because they were causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +01:00
Manuel Rego Casasnovas
96939ea070 Remove uneeded test as it was causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +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
Jacobo Aragunde Pérez
e868dfd256 [Bug #1310] Reorder the code to fix the two exceptions happening here.
FEA: ItEr75S04BugFixing
2011-12-20 12:14:13 +01:00
Jacobo Aragunde Pérez
efca992df5 [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:45:06 +01:00
Jacobo Aragunde Pérez
0aadb27f43 [Bug #1297] Add listeners to 'See schedule allocation' buttons every time the panel is redrawn.
FEA: ItEr75S04BugFixing
2011-12-19 14:52:00 +01:00
Jacobo Aragunde Pérez
428bcb0881 [Bug #1297] Replaced the misleading word "Filter" with "Show".
FEA: ItEr75S04BugFixing
2011-12-17 13:44:16 +01:00
Jacobo Aragunde Pérez
46ac030d5d [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:44:16 +01:00
Manuel Rego Casasnovas
0a372fae4e [Bug #1073] Fix issue introduced by me while reviewing the previous patch
FEA: ItEr75S04BugFixing
2011-12-16 16:45:30 +01:00
Jacobo Aragunde Pérez
3260623d7e [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:29:18 +01:00