Commit graph

101 commits

Author SHA1 Message Date
Jacobo Aragunde Pérez
749de4e569 Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
2012-03-27 10:52:13 +02:00
Jacobo Aragunde Pérez
21df77d458 Bug #1387: Fix bug when it happens in the opposite way.
This fixes when you have a container task which is a scheduling point, and you
unschedule it to schedule its children. This is the opposite to the original
description of the bug, but the cause is the same.

FEA: ItEr76S04BugFixing
2012-03-27 10:52:09 +02:00
Óscar González Fernández
d6468ddd1c Bug #1387: Fix bug
Possible fix of the first problem. It looks into the
SchedulingDataForVersion instead of the data to see the status in the
database instead of in memory so the synchronizations sent to the
database are ok.
2012-03-27 10:51:59 +02:00
Manuel Rego Casasnovas
16e3d1860e Bug #1403: Only regenerate codes if isCodeAutogenerated() is true
FEA: ItEr76S04BugFixing
2012-03-26 18:30:33 +02:00
Lorenzo Tilve Álvaro
f50806e51e Bug #1289: Added subcontractor name to tasks when showing resources is enabled
The name of the subcontractors are not being displayed when the container is collapsed. The
expected behaviour also might consider painting the parent node differently when it only contains
subcontracted elements.

FEA: ItEr76S04BugFixing
2012-03-24 13:00:06 +01:00
Manuel Rego Casasnovas
7fa6c62efa Fix typo in "Interporlation" (extra r) 2012-03-16 09:37:18 +01:00
Manuel Rego Casasnovas
2acfead2de Bump version number to 1.2.2
FEA: ItEr76S03Community
2012-03-15 13:40:24 +01:00
Lorenzo Tilve Álvaro
186e8a734f Bug #1362: Specify type of property in Templates.hbm.xml to avoid problems with MySQL
FEA: ItEr76S04BugFixing
2012-03-14 22:11:12 +01:00
Manuel Rego Casasnovas
a42357f67e Bug #1398: Fix problem with long descriptions in templates
Change database column type to TEXT.

This change was pending to be done when we fixed bug #1362 (commit
3fcc7399d9).

FEA: ItEr76S04BugFixing
2012-03-14 15:00:04 +01:00
Manuel Rego Casasnovas
c5e6bbe8c4 Bug #1397: Revert a previous commit to avoid the problem
Commit 9e4b329791 is reverted and exception
IllegalStateException is cached to launch an OptimisticLockingFailureException.

FEA: ItEr76S04BugFixing
2012-03-14 13:50:41 +01:00
Manuel Rego Casasnovas
7bc77e3610 Bug #1393: Fix NPE moving milestone
The problem was introduced while fixing bug #1355 in commit
f96cdddcb5

getOrderElement() for a milestone is always null, so we need to
getOrderElement() from its parent.

FEA: ItEr76S04BugFixing
2012-03-13 20:51:01 +01:00
Ignacio Diaz Teijido
c5a621af2c Sorts the configuration units by name
FEA: ItEr76S07ConfigurationUnitInterfaceCorrections
2012-03-09 17:17:04 +01:00
Jacobo Aragunde Pérez
6af82b4c54 Bug #1387: Reset the TaskSource when an OrderGroup changes to scheduling point.
FEA: ItEr76S04BugFixing
2012-03-09 14:09:43 +01:00
Manuel Rego Casasnovas
115b572f6b i18n: Add Dutch language to enum and modify pom.xml to use English userguide 2012-03-06 17:02:20 +01:00
Jacobo Aragunde Pérez
a82ab23c3b Bug #1382: Fix the bug in all cases.
This patch solves a problem in my previous commit.

FEA: ItEr76S04BugFixing
2012-03-05 20:04:45 +01:00
Jacobo Aragunde Pérez
52acb4debc Bug #1382: Synchronize deadline dates between the WBS and the Gantt views.
This synchronization collaterally fixes the bug.

FEA: ItEr76S04BugFixing
2012-03-05 16:47:27 +01:00
Manuel Rego Casasnovas
2fcde74b39 Set name to empty for the order element moved inside the new container
FEA: ItEr76S13WBSSettingUpBehavior
2012-02-27 16:47:56 +01:00
Jacobo Aragunde Pérez
6702bb0e1b Bug #1355: transform AS SOON AS POSSIBLE and AS LATE AS POSSIBLE constraints to
the correct constraint based on the scheduling mode.

FEA: ItEr76S04BugFixing
2012-02-24 17:06:21 +01:00
Jacobo Aragunde Pérez
7e850ffaee Bug #1355: transform NOT EARLIER THAN and NOT LATER THAN constraints to the
correct constraint based on the scheduling mode.

To do that, the scheduling mode, start and end date are needed as parameters.

FEA: ItEr76S04BugFixing
2012-02-24 14:13:53 +01:00
Manuel Rego Casasnovas
3e3eba1e81 Keep task name for the new container if it is an empty leaf
This change implements the behaviour described in the analysis that you can
easily understand with the following example:

1) Initial scenario:
  * Task leaf "A" (0 hours)
  * Task leaf "B" (20 hours)
2) Indent task leaf "B"
3) Final scenario:
  * Task container "A" (20 hours)
    |- Task leaf "B" (20 hours)

FEA: ItEr76S13WBSSettingUpBehavior
2012-02-24 13:46:53 +01:00
Manuel Rego Casasnovas
2eaf3de5cd Change leaf creation behavior when selected parent is an empty leaf
Now a new container is created, but the older leaf is not added again if it is
empty (wich means that it has zero hours, no criteria, no progresses, ...)

FEA: ItEr76S13WBSSettingUpBehavior
2012-02-24 13:46:47 +01:00
Manuel Rego Casasnovas
59b3270d2b Bug 1302: Fix changing ResourcesPerDay scale to 4 and rounding EffortDuration to minutes
FEA: ItEr76S04BugFixing
2012-02-23 11:17:08 +01:00
Manuel Rego Casasnovas
9ad14487b4 i18n: Avoid to translate language names and use the original ones
It doesn't have too much sense keep translations of each language supported in
LibrePlan.
2012-02-22 08:58:24 +01:00
Jacobo Aragunde Pérez
93f3e35dda Bug #1355: START IN FIXED DATE constraints don't change to NOT EARLIER THAN
after drag & drop.

FEA: ItEr76S04BugFixing
2012-02-20 16:34:33 +01:00
Ignacio Diaz Teijido
516ea92737 Bug #1348: Added effort to predefined calendar exception types
FEA: ItEr76S04BugFixing
2012-02-17 09:58:59 +01:00
Manuel Rego Casasnovas
f0ee0f1983 Bug #1362: Specify type of property in hbm.xml to avoid problems with MySQL
FEA: ItEr76S04BugFixing
2012-02-16 11:01:24 +01:00
Lorenzo Tilve Álvaro
dba9100131 Bug #1373: When creating new projects from template the explicitly filled start date and deadline values are used
FEA: ItEr76S04BugFixing
2012-02-15 17:35:22 +01:00
Jacobo Aragunde Pérez
b6a622c7ae Bug #1343: Added method isRoot() to gantt tasks.
With this method we will be able to know which tasks are projects.

FEA: ItEr76S04BugFixing
2012-02-15 17:35:22 +01:00
Manuel Rego Casasnovas
8b7695053f i18n: Add French language to enum and modify pom.xml to use English userguide 2012-02-15 11:45:41 +01:00
Jacobo Aragunde Pérez
67b8bc55b6 Bug #1343: Prevent NullPointerException when creating a new milestone.
The method belongsClosedProject() was not correctly implemented for
TaskMilestone objects, I've added the correct implementation for them.

FEA: ItEr76S04BugFixing
2012-02-15 11:08:48 +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
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
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
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
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
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
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
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
Manuel Rego Casasnovas
ed294fa214 i18n: Add Italian language language to enum and modify pom.xml to use English userguide 2012-01-12 13:07:13 +01:00
Manuel Rego Casasnovas
deee4e8bd3 Bug #1332: Fix problem allowing to set empty values for userDn and password
FEA: ItEr76S04BugFixing
2012-01-12 11:32:15 +01:00
Manuel Rego Casasnovas
c9356c71c7 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:07:53 +01:00
Manuel Rego Casasnovas
65b24f8099 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 07:51:16 +01:00
Manuel Rego Casasnovas
6b657a8791 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-11 12:24:59 +01:00
Manuel Rego Casasnovas
07f0b3615e Modify GenericDayAssignment.toString to add info about consolidation 2012-01-09 18:13:02 +01:00
Manuel Rego Casasnovas
23d8c3b972 [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 13:42:28 +01:00