Commit graph

522 commits

Author SHA1 Message Date
Jacobo Aragunde Pérez
e94d90abb1 Bug #1343: Ensure that getDefaultPredicate is run in a transactional context.
FEA: ItEr76S04BugFixing
2012-02-03 15:00:45 +01:00
Jacobo Aragunde Pérez
35b2bde4f7 Bug #1343: Mark closed projects with a special class in the gantt.
This is a step previous to show these kind of tasks in a different way.

FEA: ItEr76S04BugFixing
2012-02-03 13:31:26 +01:00
Jacobo Aragunde Pérez
abf5065ffd Bug #1343: Use getRawValue instead of getValue in date constraint checkers.
Since the start date depends on the value of the end date and vice versa, a
recursive, infinite loop can happen when both dates are going to be validated.

FEA: ItEr76S04BugFixing
2012-02-03 13:31:26 +01:00
Jacobo Aragunde Pérez
be031cc5da Bug #1343: Allow showing closed projects in the company view, if they are
inside the filter dates.

FEA: ItEr76S04BugFixing
2012-02-03 13:31:26 +01:00
Jacobo Aragunde Pérez
6f7278e26e Bug #1343: Show default filtering dates on company view.
They are calculated by default as the start and end dates of the first and last
open projects, but the user had no feedback on which were those dates.

FEA: ItEr76S04BugFixing
2012-02-03 13:31:26 +01:00
Jacobo Aragunde Pérez
a66490e1ac Bug #1343: Rewrite part of the code for company view initialization.
These changes ease the fixes for the bug.

FEA: ItEr76S04BugFixing
2012-02-03 13:31:26 +01:00
Jacobo Aragunde Pérez
39f1f63935 Bug #1343: Mark closed projects with a special class in the gantt.
This is a step previous to show these kind of tasks in a different way.

FEA: ItEr76S04BugFixing
2012-02-03 13:23:53 +01:00
Jacobo Aragunde Pérez
b98926549a Bug #1343: Use getRawValue instead of getValue in date constraint checkers.
Since the start date depends on the value of the end date and vice versa, a
recursive, infinite loop can happen when both dates are going to be validated.

FEA: ItEr76S04BugFixing
2012-02-03 12:32:02 +01:00
Jacobo Aragunde Pérez
f43b39f498 Bug #1343: Allow showing closed projects in the company view, if they are
inside the filter dates.

FEA: ItEr76S04BugFixing
2012-02-02 19:31:38 +01:00
Jacobo Aragunde Pérez
3db00dffff Bug #1343: Show default filtering dates on company view.
They are calculated by default as the start and end dates of the first and last
open projects, but the user had no feedback on which were those dates.

FEA: ItEr76S04BugFixing
2012-02-02 19:25:13 +01:00
Jacobo Aragunde Pérez
64f5d2665b Bug #1343: Rewrite part of the code for company view initialization.
These changes ease the fixes for the bug.

FEA: ItEr76S04BugFixing
2012-02-02 19:23:41 +01:00
Jacobo Aragunde Pérez
a8eebe5bd4 Bug #1353: Create Tabpanels object for load/earned value Tabbox when the screen
is loaded, not in the open event.

FEA: ItEr76S04BugFixing
2012-01-31 19:24:27 +01:00
Jacobo Aragunde Pérez
e740a2a9bf Bug #1353: Create Tabpanels object for load/earned value Tabbox when the screen
is loaded, not in the open event.

FEA: ItEr76S04BugFixing
2012-01-31 19:21:25 +01:00
Jacobo Aragunde Pérez
d1fbee6a98 Bug #1359: Initialize the resources when the page is loaded, independently from
the hidden/shown property of the load chart.

FEA: ItEr76S04BugFixing
2012-01-31 10:41:45 +01:00
Jacobo Aragunde Pérez
4b3dc7bc7c Bug #1359: Initialize the resources when the page is loaded, independently from
the hidden/shown property of the load chart.

FEA: ItEr76S04BugFixing
2012-01-31 10:35:11 +01:00
Jacobo Aragunde Pérez
1c9ef80900 Bug #1357: Use end date minus one day as default date for earned value chart.
The end date of the time intervals managed by ChartFillers don't include the
end date, so it was wrong considering it as a correct date.

FEA: ItEr76S04BugFixing
2012-01-30 18:41:30 +01:00
Jacobo Aragunde Pérez
0d96d48197 Bug #1357: Use end date minus one day as default date for earned value chart.
The end date of the time intervals managed by ChartFillers don't include the
end date, so it was wrong considering it as a correct date.

FEA: ItEr76S04BugFixing
2012-01-30 18:41:13 +01:00
Lorenzo Tilve Álvaro
7756e8f9ce Bug #1351: Replaced by a label the disabled listbox to display material unit type
FEA: ItEr76S04BugFixing
2012-01-30 18:20:36 +01:00
Ignacio Diaz Teijido
b2388157ed Bug #1351: fixed space for elements
This uses fixed width, so maybe this should be adjusted.
Removed the vboxes to reduce the space between the two panels.
2012-01-30 18:20:23 +01:00
Lucia Garcia Fernandez
3b47c66879 Bug #1330: Setted focus on new progress measurement after pressing on *Add measure* 2012-01-30 18:20:09 +01:00
Lorenzo Tilve Álvaro
dde910ff8d Bug #1351: Replaced by a label the disabled listbox to display material unit type
FEA: ItEr76S04BugFixing
2012-01-30 18:11:00 +01:00
Ignacio Diaz Teijido
ff3bdbc05e Bug #1351: fixed space for elements
This uses fixed width, so maybe this should be adjusted.
Removed the vboxes to reduce the space between the two panels.
2012-01-30 18:11:00 +01:00
Lucia Garcia Fernandez
3b576c56da Bug #1330: Setted focus on new progress measurement after pressing on *Add measure* 2012-01-30 18:11:00 +01:00
Jacobo Aragunde Pérez
da19a371ae Bug #1357: Check if the date is out of the visualization area, and in that case
set a new date before updating the legend.

FEA: ItEr76S04BugFixing
2012-01-30 16:56:42 +01:00
Jacobo Aragunde Pérez
fe090c4c85 Bug #1357: Small code rewrite to simplify the fix of the bug
FEA: ItEr76S04BugFixing
2012-01-30 16:56:25 +01:00
Jacobo Aragunde Pérez
4e40c8e123 Bug #1357: Check if the date is out of the visualization area, and in that case
set a new date before updating the legend.

FEA: ItEr76S04BugFixing
2012-01-30 16:54:19 +01:00
Jacobo Aragunde Pérez
a5484c2fe0 Bug #1357: Small code rewrite to simplify the fix of the bug
FEA: ItEr76S04BugFixing
2012-01-30 16:54:19 +01:00
Manuel Rego Casasnovas
a552931d3c Bug #1364: Milestones are filtered now like any other task
FEA: ItEr76S04BugFixing
2012-01-25 14:02:19 +01:00
Manuel Rego Casasnovas
78c5ce5e84 Bug #1364: Milestones are filtered now like any other task
FEA: ItEr76S04BugFixing
2012-01-25 13:53:17 +01:00
Manuel Rego Casasnovas
a36af66386 Bug #1352: Fix issue not saving tasks without order element
The problem is in method SaveCommand::removeTaskElementsWithTaskSourceNull that
was added in bug #1295 (4cdda935ce) and modified
in bug #1346 (bef1e24fc0).

FEA: ItEr76S04BugFixing
2012-01-24 09:47:56 +01:00
Manuel Rego Casasnovas
933b64a814 Bug #1352: Fix issue not saving tasks without order element
The problem is in method SaveCommand::removeTaskElementsWithTaskSourceNull that
was added in bug #1295 (4cdda935ce) and modified
in bug #1346 (bef1e24fc0).

FEA: ItEr76S04BugFixing
2012-01-24 09:40:33 +01:00
Jacobo Aragunde Pérez
ef057267b9 Bug #1320: When asking a container for start constraints, return the leftmost
of children's start-in-fixed-date constraints.

Doing it, the dependencies of containers will be ensured to comply with the
most restrictive start dependency of its children.

FEA: ItEr76S04BugFixing
2012-01-23 18:26:19 +01:00
Jacobo Aragunde Pérez
e064844a06 Revert "[Bug #1273] Reimplement coerceToString as a workaround for the bug in Decimalbox."
This reverts commit c27253af63.
The bug is fixed in ZK 5.0.10, so there's no need for this workaround.
2012-01-23 16:59:21 +01:00
Jacobo Aragunde Pérez
bbf1ffb27b Revert "[Bug #1273] Reimplement coerceToString as a workaround for the bug in Decimalbox."
This reverts commit c27253af63.
The bug is fixed in ZK 5.0.10, so there's no need for this workaround.
2012-01-23 16:58:32 +01:00
Jacobo Aragunde Pérez
fc4c4ee6c6 Bug #1320: When asking a container for start constraints, return the leftmost
of children's start-in-fixed-date constraints.

Doing it, the dependencies of containers will be ensured to comply with the
most restrictive start dependency of its children.

FEA: ItEr76S04BugFixing
2012-01-23 16:58:32 +01:00
Manuel Rego Casasnovas
3cd09ea32d Release new version LibrePlan 1.2.2
* Bump to 1.2.2.
* Updated NEWS file.
* Updated Debian package changelog.

FEA: ItEr76S03Community
2012-01-19 16:11:18 +01:00
Manuel Rego Casasnovas
0f107b60a5 Release new version LibrePlan 1.2.2
* Bump to 1.2.2.
* Updated NEWS file.
* Updated Debian package changelog.

FEA: ItEr76S03Community
2012-01-19 16:03:41 +01:00
Joaquim Rocha
20ea772def i18n: Update Portuguese translation 2012-01-18 17:45:57 +01:00
Joaquim Rocha
64d281d27a i18n: Update Portuguese translation 2012-01-18 17:37:22 +01:00
Jacobo Aragunde Pérez
4d132a1aeb Bug #1335: Don't force the check of the earned value legend date box every time
the gantt is reloaded.

This was causing problems when the gantt changes and the tasks moved to dates
quite far in time.

FEA: ItEr76S04BugFixing
2012-01-18 16:53:27 +01:00
Jacobo Aragunde Pérez
59bcb246be Bug #1335: Don't force the check of the earned value legend date box every time
the gantt is reloaded.

This was causing problems when the gantt changes and the tasks moved to dates
quite far in time.

FEA: ItEr76S04BugFixing
2012-01-18 16:51:09 +01:00
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
eb17a5b61f Bug #1342: Move initial order state to PlanningState and use it from Gantt view too
FEA: ItEr76S04BugFixing
2012-01-17 19:18:31 +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
bef1e24fc0 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 11:50:42 +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
Manuel Rego Casasnovas
128a29fd2d 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:08:32 +01:00
Manuel Rego Casasnovas
62b738bca8 Bug #1342: Now it's possible to mark a project like STORED
FEA: ItEr76S04BugFixing
2012-01-16 17:08:32 +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