Commit graph

227 commits

Author SHA1 Message Date
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
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
78c5ce5e84 Bug #1364: Milestones are filtered now like any other task
FEA: ItEr76S04BugFixing
2012-01-25 13:53:17 +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
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
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
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
Manuel Rego Casasnovas
a3fadbd260 Fix typo in open reports string
FEA: ItEr76S03Community
2012-01-13 16:58:14 +01:00
Manuel Rego Casasnovas
7e1d43e48d Fix typo in new version string
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:34:50 +01:00
Manuel Rego Casasnovas
3ce8e7bad1 Add information about current version in GET requests
Take advantage to refine strings

FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
2adf4d357e Add configuration option to allow LibrePlan developers collect usage stats
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
d71e270f3e Add configuration option to disable warning about new LibrePlan versions
FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:06:31 +01:00
Manuel Rego Casasnovas
e64dae3cab 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:06:31 +01:00
Lorenzo Tilve Álvaro
01689aa9cb Bug #1336: Checked permissions to enable project creation button
FEA: ItEr76S04BugFixing
2012-01-13 14:04:04 +01:00
Manuel Rego Casasnovas
6d84b30dae Bug #1338: Fix some wrong strings in timeLineRequiredMaterial report
FEA: ItEr76S04BugFixing
2012-01-13 12:08:22 +01:00
Manuel Rego Casasnovas
4cdda935ce Bug 1295: Remove TaskElements (except milestones) with TaskSource null when saving
Possible hack to prevent issue

FEA: ItEr76S04BugFixing
2012-01-13 11:22:30 +01:00
Lorenzo Tilve Álvaro
937e2711d0 Fixed wrong criteria string format
FEA: ItEr76S04BugFixing
2012-01-13 11:09:26 +01:00
Lorenzo Tilve Álvaro
76dce94860 Bug #1337: Removed unnecesary response when redrawing earned value
FEA: ItEr76S04BugFixing
2012-01-13 11:09:19 +01:00
Lorenzo Tilve Álvaro
369514d70f Bug #1324: Modified behaviour of west end arrow on violated dependencies
FEA: ItEr76S04BugFixing
2012-01-13 11:08:58 +01:00
Lorenzo Tilve Álvaro
99edee3598 Display timeplot graph values when pointing over the chart
FEA: ItEr76S04BugFixing
2012-01-13 10:47:36 +01:00
Manuel Rego Casasnovas
28a93c17b4 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 17:41:47 +01:00