Commit graph

205 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
7bfe203d07 Bug #1342: Move initial order state to PlanningState and use it from Gantt view too
FEA: ItEr76S04BugFixing
2012-01-17 19:23:47 +01:00
Manuel Rego Casasnovas
e6459fafcd Bug #1346: Fix the cause of the bug removing TaskElement from parent if it is removed
In org.libreplan.web.planner.order.SaveCommandBuilder.SaveCommand.removeTaskElementsWithTaskSourceNull()
when a TaskElement is removed, if it has parent, it's removed from the parent too.

FEA: ItEr76S04BugFixing
2012-01-17 17:19:20 +01:00
Manuel Rego Casasnovas
24c5a2e268 Bug #1342: Show save button in Gantt view when it is disabled
Add new method to ICommand to allow specify when a command is disabled or not.
In a disabled command the method doAction is not going to be called when you
click in the button.

Set ISaveCommand to disabled when user doesn't have permissions to save the
order or the order is marked as STORED.

FEA: ItEr76S04BugFixing
2012-01-16 17:13:59 +01:00
Manuel Rego Casasnovas
c1a69c10aa Bug #1342: Now it's possible to mark a project like STORED
FEA: ItEr76S04BugFixing
2012-01-16 17:13:55 +01:00
Jacobo Aragunde Pérez
05d91febcb Bug #1335: Update the earned value chart legend every time the chart is reloaded.
To be able to do it, some local variables were moved to a wider scope (private
class-level attributes).

FEA: ItEr76S04BugFixing
2012-01-16 13:26:13 +01:00
Manuel Rego Casasnovas
d973ae7cfe Remove unused code in LibrePlanReportController 2012-01-16 08:06:13 +01:00
Manuel Rego Casasnovas
8433a4100a i18: Remove unneeded code to manage languages in reports
FEA: ItEr76S03Community
2012-01-16 08:06:07 +01:00
Manuel Rego Casasnovas
3aa99e7261 i18n: Add support to Italian language in reports
Take advantage to simplify the code to calculate the locale

FEA: ItEr76S03Community
2012-01-14 19:00:08 +01:00
Giuseppe Zizza
a97f86b608 i18n: Update Italian translation and add missing files for reports 2012-01-14 19:00:03 +01:00
Manuel Rego Casasnovas
c86a22dfa9 i18n: Update Spanish and Galician translations
FEA: ItEr76S03Community
2012-01-14 18:59:59 +01:00
Jacobo Aragunde Pérez
47e3b31a90 Bug #1340: Add a listener to refresh the earned value chart in
AdvanceAssignmentPlanningController.

FEA: ItEr76S04BugFixing
2012-01-13 17:39:53 +01:00
Jacobo Aragunde Pérez
70853e7129 Bug #1334: Prevent the accumulation of the values when building the BCWP chart.
FEA: ItEr76S04BugFixing
2012-01-13 17:39:53 +01:00
Manuel Rego Casasnovas
f389d42c2e Fix typo precision is just with 1 s
FEA: ItEr76S03Community
2012-01-13 17:24:54 +01:00
Manuel Rego Casasnovas
ac1c7e773b i18n: Update keys.pot files
FEA: ItEr76S03Community
2012-01-13 16:52:59 +01:00
Manuel Rego Casasnovas
0c5f052c23 Fix typo in open reports string
FEA: ItEr76S03Community
2012-01-13 16:48:56 +01:00
Manuel Rego Casasnovas
184d8d39a6 Fix typo in new version string
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:43:05 +01:00
Manuel Rego Casasnovas
3e46f3de7a Add information about current version in GET requests
Take advantage to refine strings

FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:15:24 +01:00
Manuel Rego Casasnovas
a93be715aa Add configuration option to allow LibrePlan developers collect usage stats
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:15:12 +01:00
Manuel Rego Casasnovas
74da1cd5bc Add configuration option to disable warning about new LibrePlan versions
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:15:09 +01:00
Manuel Rego Casasnovas
13102252a1 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:15:05 +01:00
Lorenzo Tilve Álvaro
477260e808 Bug #1336: Checked permissions to enable project creation button
FEA: ItEr76S04BugFixing
2012-01-13 14:04:09 +01:00
Manuel Rego Casasnovas
e8a2c5c921 Bug #1338: Fix some wrong strings in timeLineRequiredMaterial report
FEA: ItEr76S04BugFixing
2012-01-13 12:09:43 +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
Lorenzo Tilve Álvaro
32009d42fe Fixed wrong criteria string format
FEA: ItEr76S04BugFixing
2012-01-13 11:12:35 +01:00
Lorenzo Tilve Álvaro
d6924b929c Bug #1337: Removed unnecesary response when redrawing earned value
FEA: ItEr76S04BugFixing
2012-01-13 11:12:26 +01:00
Lorenzo Tilve Álvaro
e578c94eb2 Bug #1324: Modified behaviour of west end arrow on violated dependencies
FEA: ItEr76S04BugFixing
2012-01-13 11:12:12 +01:00
Lorenzo Tilve Álvaro
09feeb71af Display timeplot graph values when pointing over the chart
FEA: ItEr76S04BugFixing
2012-01-13 11:12:05 +01:00
Manuel Rego Casasnovas
649ad88e35 Bug #1333: Allow specify * in role matching
This will be a wildcard to refer to all users or groups in the LDAP role
matching configuration.

FEA: ItEr76S04BugFixing
2012-01-12 18:47:12 +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
Giuseppe Zizza
c12d1ede30 i18n: Add Italian translation 2012-01-12 13:12:08 +01:00
Manuel Rego Casasnovas
e73ac88a08 Bug #1333: Fix issue as property and search query are needed for group strategy too
FEA: ItEr76S04BugFixing
2012-01-12 11:43:14 +01:00
Manuel Rego Casasnovas
f5b4d79c97 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-12 08:15:17 +01:00
Manuel Rego Casasnovas
6d6809b6ac Bug #1328: Fix issue calling onClose method on controller
FEA: ItEr76S04BugFixing
2012-01-10 11:03:20 +01:00
Manuel Rego Casasnovas
d3271166a8 Bug #1261: Extract method createTab with common functionality for each tab
FEA: ItEr76S04BugFixing
2012-01-10 09:34:46 +01:00
Ignacio Diaz Teijido
585fb386a4 Bug #1261: Allows tabs to be memorized when changing perspective
FEA: ItEr76S04BugFixing
2012-01-10 09:34:39 +01:00
Manuel Rego Casasnovas
ba60d6897f 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:14:53 +01:00
Manuel Rego Casasnovas
031a23335d [Bug #1325] Fix issue remove criteria from configuration unit
FEA: ItEr76S04BugFixing
2012-01-04 11:59:29 +01:00
Jacobo Aragunde Pérez
d7e2625b18 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:46:15 +01:00
Jacobo Aragunde Pérez
e7651d8b6c [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:46:15 +01:00
Jacobo Aragunde Pérez
b98c1e2b0a [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:46:15 +01:00
Manuel Rego Casasnovas
cb0e6b0957 [Bug #1321] Reseting highlighted days in calendar to prevent issue
FEA: ItEr75S04BugFixing
2012-01-03 09:01:49 +01:00
Manuel Rego Casasnovas
6f805f23f2 [Bug #1323] Fix lazy loading properly derived allocations
FEA: ItEr75S04BugFixing
2012-01-03 08:28:41 +01:00
Jacobo Aragunde Pérez
aa6833443d [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:09:36 +01:00
Jacobo Aragunde Pérez
52111b50e7 [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 13:09:36 +01:00
Manuel Rego Casasnovas
429eeec886 [Bug #1319] Change division method of EffortDuration
Previous method was rounding to zero instead of return a fraction.

FEA: ItEr75S04BugFixing
2012-01-02 12:35:25 +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
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