Commit graph

7373 commits

Author SHA1 Message Date
Jacobo Aragunde Pérez
56c8fdaea0 Remove unnecessary method.
FEA: ItEr76S04BugFixing
2012-02-14 17:50:22 +01:00
Jacobo Aragunde Pérez
2664999c4d Remove redraw listeners for dependencies once these dependencies are removed.
This change should improve performance when working in a gantt in which some
dependencies were removed.

FEA: ItEr76S04BugFixing
2012-02-14 16:35:19 +01:00
Jacobo Aragunde Pérez
fe9eb3b452 Prevent unnecessary redraws of dependencies when opening a container.
Redraw was being done every time a task was rendered and one last time when all
the tasks are rendered. Doing only the last redraw is enough.

This change should improve performance when opening containers.

FEA: ItEr76S04BugFixing
2012-02-14 16:26:12 +01:00
Jacobo Aragunde Pérez
2d7ea169bc Bug #1363: Remove visibility listeners corresponding to deleted tasks.
To do that we had to add an attribute in DependencyComponent to store the
listener and a method in Task to be able to delete visibility listeners.

This listener was causing that deleted tasks re-appeared when containers were
closed and opened again.

FEA: ItEr76S04BugFixing
2012-02-14 16:17:46 +01:00
Jacobo Aragunde Pérez
4353465efe Bug #1343: Prevent NullPointerException when showing default filtering dates
on company view.

If the company view is empty, these dates are null but we weren't taking this
case into account.

FEA: ItEr76S04BugFixing
2012-02-09 19:33:25 +01:00
Ignacio Diaz Teijido
cbca7447b9 Bug #1368: Allows to create users with null password when LDAP is used.
FEA: ItEr76S04BugFixing
2012-02-06 18:24:16 +01:00
Jacobo Aragunde Pérez
f2a41095ea Removed two warnings in the build process, which can cause problems with newer
versions of maven.

FEA: ItEr76S04BugFixing
2012-02-06 10:10:39 +01:00
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
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
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
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
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
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
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
60b771784e Update TODO file with roadmap to LibrePlan 1.3
FEA: ItEr76S03Community
2012-01-27 11:55:27 +01:00
Manuel Rego Casasnovas
88c25ef47c Bug #1366: Fix issue subtracting the value when you are removing work report lines
FEA: ItEr76S04BugFixing
2012-01-25 17:41:13 +01:00
Manuel Rego Casasnovas
e3e47b924c Bug #1360: Refresh work report line from database before subtracting it from order elements
FEA: ItEr76S04BugFixing
2012-01-25 17:21:10 +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
3fcc7399d9 Bug #1362: Fix problem with long descriptions in projects
Change database column type to TEXT.

FEA: ItEr76S04BugFixing
2012-01-24 18:01:21 +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
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
0b1d9197bc Upgrade ZK version to 5.0.10
FEA: ItEr76S03Community
2012-01-20 15:48:39 +01:00
Manuel Rego Casasnovas
28acf70b4d doc: Update information in UPDATE file
FEA: ItEr76S03Community
2012-01-20 08:11:35 +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
Joaquim Rocha
20ea772def i18n: Update Portuguese translation 2012-01-18 17:45:57 +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
Manuel Rego Casasnovas
28ed27b551 Improve logging of possible exceptions checking version information
Avoid to print the whole stacktrace and simply show a message with the basic
exception information.

FEA: ItEr76S10NewVersionsNotification
2012-01-18 07:59:06 +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
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
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
405d788a0d 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:25:51 +01:00
Manuel Rego Casasnovas
39b582d5ab doc: Update LDAP configuration translations
FEA: ItEr76S03Community
2012-01-16 11:17:39 +01:00
Manuel Rego Casasnovas
df6c33cdec Remove unused code in LibrePlanReportController 2012-01-16 08:01:49 +01:00
Manuel Rego Casasnovas
c03f5e76fb i18: Remove unneeded code to manage languages in reports
FEA: ItEr76S03Community
2012-01-16 07:55:45 +01:00
Manuel Rego Casasnovas
b5f7ef6841 i18n: Add support to Italian language in reports
Take advantage to simplify the code to calculate the locale

FEA: ItEr76S03Community
2012-01-14 18:58:03 +01:00
Giuseppe Zizza
75682bb8fd i18n: Update Italian translation and add missing files for reports 2012-01-14 18:58:03 +01:00
Manuel Rego Casasnovas
0ed8b81d3a i18n: Update Spanish and Galician translations
FEA: ItEr76S03Community
2012-01-14 18:58:03 +01:00
Jacobo Aragunde Pérez
2a9de2ba99 Bug #1340: Add a listener to refresh the earned value chart in
AdvanceAssignmentPlanningController.

FEA: ItEr76S04BugFixing
2012-01-13 17:34:54 +01:00
Jacobo Aragunde Pérez
1f1c5e31da Bug #1334: Prevent the accumulation of the values when building the BCWP chart.
FEA: ItEr76S04BugFixing
2012-01-13 17:34:54 +01:00
Manuel Rego Casasnovas
46eb26b0d4 Fix typo precision is just with 1 s
FEA: ItEr76S03Community
2012-01-13 17:21:47 +01:00
Manuel Rego Casasnovas
af2e059825 i18n: Update keys.pot files
FEA: ItEr76S03Community
2012-01-13 16:58:18 +01:00