Commit graph

7335 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
f2cfd9f048 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 08:03:13 +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
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
71a010f32e doc: Update LDAP configuration translations
FEA: ItEr76S03Community
2012-01-16 11:25:16 +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
14da0dd54c Add VERSION file just with version number in a text file
As it's linked inside www folder, this file will be available at
http://libreplan.org/VERSION

FEA: ItEr76S10NewVersionsNotification
2012-01-13 16:15:18 +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
Lorenzo Tilve Álvaro
3c2058959d Fixed chart tooltips scroll problem on resources load window
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
adaa7655f4 doc: Update LDAP configuration doc
Add some examples to explain clearer how to configure LDAP in LibrePlan.
2012-01-12 18:47:17 +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
Manuel Rego Casasnovas
fe4090a271 i18n: Add Giuseppe Zizza as Italian translator in AUTHORS file 2012-01-12 13:12:14 +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
66dd759883 Bug #1332: Fix problem allowing to set empty values for userDn and password
FEA: ItEr76S04BugFixing
2012-01-12 11:43:08 +01:00
Manuel Rego Casasnovas
f2acc7670a Bug #1329: Fix problem in StretchesFunctionTest due to changes in previous test
The mockup created to represent ResourceAllocation should return valid values
for methods getIntraDayStartDate() and getIntraDayEndDate().

FEA: ItEr76S04BugFixing
2012-01-12 08:15:38 +01:00
Manuel Rego Casasnovas
990e2476ea Bug #1329: Fix issue calculating properly end date of stretches
The problem was that when a task finishes in a complete day, that means, task
end date is the next day with zero effort. In this situation, the stretches
calculation was enlarging 1 day more the task itself which causes the issue
reported in this bug.

FEA: ItEr76S04BugFixing
2012-01-12 08:15:34 +01:00
Manuel Rego Casasnovas
59f6fb165e Bug #1329: Now tasks are not enlarged and nothing breaks just after selecting a stretches function
This fix the issue described in previous commit. However, the bug itself is not
fixed yet and needs more work in the stretches function allocation.

FEA: ItEr76S04BugFixing
2012-01-12 08:15:30 +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
d42fbb449f www: Folder and script for libreplan.org documentation
New folder with link to different documentation files in the source code. It
also includes a script to generate the HTML files that will be available on-line
at http://libreplan.org

FEA: ItEr76S03Community
2012-01-04 16:35:08 +01:00
Manuel Rego Casasnovas
755de948a7 [Bug #1326] Fix issue calculating properly hours to allocate
The issue was introduced in commit a998367bec
while trying to fix a different problem in interpolation function.

The patch has been reverted and both issues fixed now.

Once the patch was reverted, the number of remaining hours was wrong calculated
as if it was 0 it returns the allocated hours instead of 0.

FEA: ItEr76S04BugFixing
2012-01-04 15:24:15 +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