Commit graph

8610 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
d860a0b4e1 Bug #1542: Fix problem with deadline indicator when project finish right at the deadline
For example a project with a task of 40h starting on Monday and finishing on
Friday, with a deadline on Friday should was wrong calculated before. Not it
says that the deadline is fulfilled as expected.

FEA: ItEr77S04BugFixing
2012-10-15 11:43:53 +02:00
Manuel Rego Casasnovas
cf8482d878 Bug #1542: Fix bug getting project end date from children tasks
End date for root task is only updated while saving the project in the method:
SaveCommand.updateRootTaskPosition.

Now the end date is calculated checking the dates of the children tasks and
getting the bigger one.

FEA: ItEr77S04BugFixing
2012-10-15 11:42:12 +02:00
Manuel Rego Casasnovas
d4fa4017e5 Prevent NPE in SecurityUtils::isSuperuserOrRolePlanningOrHasAnyAuthorization
FEA: ItEr77S04BugFixing
2012-10-11 09:26:27 +02:00
Manuel Rego Casasnovas
20706c75d6 i18n: Mark label show in project status report to be translated
FEA: ItEr77S04BugFixing
2012-10-10 22:29:11 +02:00
Zbyněk Schwarz
16ea6c7100 i18n: Update Czech translation 2012-10-10 22:27:32 +02:00
Michael Taxis
9367b5ccc4 i18n: Update German translation 2012-10-10 22:27:32 +02:00
Manuel Rego Casasnovas
118dd5e610 i18n: Update Spanish translation 2012-10-10 22:27:32 +02:00
Giuseppe Zizza
dd76185de2 i18n: Update Italian translation 2012-10-10 22:27:31 +02:00
Manuel Rego Casasnovas
3e9813f0fe i18n: Update Galician translation 2012-10-10 22:27:31 +02:00
Philippe Poumaroux
0708d171fe i18n: Update French translation 2012-10-10 22:27:31 +02:00
Jeroen Baten
74545e2356 i18n: Update Dutch translation 2012-10-10 22:27:31 +02:00
Daniel Díaz Sañudo
f64d627482 i18n: Update Catalan translation 2012-10-10 22:27:31 +02:00
Manuel Rego Casasnovas
850d98dbdb doc: Update TODO file with the results of the roadmap meeting
FEA: ItEr77S03Community
2012-10-10 09:25:02 +02:00
Manuel Rego Casasnovas
04bdd1937b Revert "Bug #1320: Fix issue changing methods to get constraints for a task"
This reverts commit 8a98bf4666 because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:41 +02:00
Manuel Rego Casasnovas
4757dc30c0 Revert "Bug #1320: Recalculate position of siblings closing task properties pop-up"
This reverts commit 1bde8c76be because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:30 +02:00
Manuel Rego Casasnovas
82e18fb77d Revert "Bug #1320: Recalculate position of siblings when moving a task"
This reverts commit 125146ebd2 because of the
solution for bug #1320 was causing a new bug #1540.
2012-10-09 09:29:16 +02:00
Manuel Rego Casasnovas
46883c8cde doc: Update documentation about Active Directory configuration
FEA: ItEr77S03Community
2012-10-04 13:55:22 +02:00
Manuel Rego Casasnovas
69f63ce134 Bug #1539: Do not reassociate with session resource bound to current user
FEA: ItEr77S04BugFixing
2012-10-03 14:49:07 +02:00
Manuel Rego Casasnovas
f9973f2e79 Trying to fix broken test in Jenkins 2012-10-03 10:50:40 +02:00
Manuel Rego Casasnovas
b8ae09471d Fix tests broken in commit b940c78826
The problem was that now when a user or resource is saved, it's checked the
limit in the configuration fields. For that reason, we need to load the
configuration data before saving any user or resource.
2012-10-03 10:25:54 +02:00
Manuel Rego Casasnovas
032a7c0eaf i18n: Update keys.pot files
FEA: ItEr77S03Community
2012-10-02 12:51:44 +02:00
Manuel Rego Casasnovas
ef8b6f0169 Fix typo in previous commit in message about maximum limit exceeded 2012-10-02 12:40:00 +02:00
Manuel Rego Casasnovas
b940c78826 Add restrictions by number of users and resources
A new column in configuration has been added and it should me modified manually
to limit the number of users and resources.
2012-10-02 11:09:02 +02:00
Jacobo Aragunde Pérez
b7d612b655 Bug #1538: Detect inconsistent states on unsaved scheduling points.
FEA: ItEr77S04BugFixing
2012-10-01 16:40:27 +02:00
Manuel Rego Casasnovas
35f7fca342 Bug #1537: Fix issue getting allocations from memory and not from database
Without this patch the generic allocations were gotten from database, and only
for the criteria in an already stored allocation a replacement for the
allocations in memory was done.

From now on, for each possible criterion, the allocations from database are
recovered, and they are replaced if needed by the new ones in memory.

FEA: ItEr77S04BugFixing
2012-10-01 12:27:52 +02:00
Jacobo Aragunde Pérez
519ac2a5aa Simplify the way to calculate the length of money cost bars on the tasks in the
Gantt diagram.

Until now, the percentace of money was transformed into a date and then again
into a percentage.
2012-09-24 13:08:52 +02:00
Manuel Rego Casasnovas
2725816ad7 Allow codes of 2 digits for LibrePlan entities
From now on, default size would be 4 digits.
2012-09-24 11:35:04 +02:00
Manuel Rego Casasnovas
1ba7d62bc7 Bug #1536: Do not regenerate project code when creating from template
Two changes:
* In project creation pop-up, it's not needed to change the project code when a
  template is selected.
* When the project is created from the template, the code used is the one in the
  project creation pop-up and not a new one (like it was happen before).

FEA: ItEr77S04BugFixing
2012-09-24 08:41:53 +02:00
Manuel Rego Casasnovas
125146ebd2 Bug #1320: Recalculate position of siblings when moving a task
When a task is moved in the Gantt, the constraint changes and it could causes
that some of its siblings should be moved, because of the parent element is
moved too.

FEA: ItEr77S04BugFixing
2012-09-21 18:32:10 +02:00
Manuel Rego Casasnovas
1bde8c76be Bug #1320: Recalculate position of siblings closing task properties pop-up
It is needed if a constraint is removed in one of the siblings and because of
that the parent element is moved.

FEA: ItEr77S04BugFixing
2012-09-21 18:31:47 +02:00
Manuel Rego Casasnovas
8a98bf4666 Bug #1320: Fix issue changing methods to get constraints for a task
When the start or end constraints for a task are requested, if it's a container,
it'll return the constraints of the children elements too. Except for the case
of the root task (the project) in order to avoid regression described in bug

FEA: ItEr77S04BugFixing
2012-09-19 17:38:22 +02:00
Manuel Rego Casasnovas
1d0d40f449 Bug #1534: Fix query to get info about expenses associated to an order
The query was just getting the tasks with parent the order, but not all the
sub-tasks.

A similar code that for the case of imputed hours has been used for the expenses
case fixing the issue.

FEA: ItEr77S04BugFixing
2012-09-19 12:38:58 +02:00
Manuel Rego Casasnovas
7e0295166c Bug #1529: Avoid exception in Cost tab in project details
The problem is that SumChargedEffort is null when it shouldn't, so the order is
marked to be recalculated if this is the case.

This is a workaround for the issue described in the bug #1529, while we're not
able to reproduce the problem.

FEA: ItEr77S04BugFixing
2012-09-18 19:01:46 +02:00
Manuel Rego Casasnovas
84d7daf160 Bug #1533: Change date format in reports footer to FULL instead of LONG
In order to be more similar to the previous format it's better to use
DateFormat.FULL instead of DateFormat.LONG.

FEA: ItEr77S04BugFixing
2012-09-14 11:41:09 +02:00
Manuel Rego Casasnovas
963abc89be Fix error in labels page in menu
Labels page were been shown to users with ROLE_MATERIALS instead of
ROLE_LABELS.

FEA: ItEr77S04BugFixing
2012-09-14 10:53:52 +02:00
Manuel Rego Casasnovas
c4b2bf78f2 Configure properly file for Hibernate cache log
Even if this log shouldn't show any message now as the level is set to INFO, but
maybe during development it could be changed to DEBUG to show the log messages.
2012-09-14 10:30:20 +02:00
Manuel Rego Casasnovas
172c9ba195 Using debug method for logging some messages that are meant for debugging 2012-09-14 10:17:50 +02:00
Manuel Rego Casasnovas
ddb6533fb7 Fix unused id in bandbox_search.zul 2012-09-14 09:48:57 +02:00
Manuel Rego Casasnovas
abb6baff40 Set level INFO for Hibernate cache logging 2012-09-14 09:02:00 +02:00
Manuel Rego Casasnovas
89ff464e96 Bug #1533: Fix date formats in reports
Date formate was not been localized in the reports, so it has been changed in
order to provide localized dates in the reports too (like in the rest of
LibrePlan UI).

FEA: ItEr77S04BugFixing
2012-09-13 17:59:42 +02:00
Manuel Rego Casasnovas
5279bb5c35 Bug #1533: Avoid hard-coding date formats
* Create new methods in Util class that use DateFormat depending on localte to
  convert a date to string.
* Review all the parts of the code where the date format is hard-coded and call
  to the new methods.

FEA: ItEr77S04BugFixing
2012-09-13 16:08:43 +02:00
Manuel Rego Casasnovas
a60939af9e Remove dependency to DejaVu fonts as are already included in jasperreport-fonts
Changes in commit 004dec3a42 where not needed
because of the new maven dependency with jasperreport-fonts already includes the
DejaVu fonts. So we don't need to have any font installed in the system to
generate properly the reports.

That means that we will have one less dependency in the future versions.

FEA: ItEr77S08ReportsFonts
2012-09-12 11:49:33 +02:00
Manuel Rego Casasnovas
bbc55bc58a Update name of zul for project status report
FEA: ItEr77S09WBSReport
2012-09-12 11:35:15 +02:00
Manuel Rego Casasnovas
35ba33521f Increase size of prefix in tasks indentation
FEA: ItEr77S09WBSReport
2012-09-11 16:38:59 +02:00
Manuel Rego Casasnovas
476085b915 Add information about total estimated, planned and imputed hours
FEA: ItEr77S09WBSReport
2012-09-11 16:25:53 +02:00
Manuel Rego Casasnovas
4ac2564b61 Indent tasks in project status report
FEA: ItEr77S09WBSReport
2012-09-11 16:02:09 +02:00
Manuel Rego Casasnovas
dee3588280 Implement first version of project status report
* Using a DTO to manage the information in the report (ProjectStatusReportDTO)
* Add filter by projects in the UI

FEA: ItEr77S09WBSReport
2012-09-11 13:25:06 +02:00
Manuel Rego Casasnovas
17dcfc1f84 Add basic report structure
* Basic .jrxml file
* _Bundle folder for translations

FEA: ItEr77S09WBSReport
2012-09-11 12:42:40 +02:00
Manuel Rego Casasnovas
eeb913b736 Add basic controller and zul for budget report
FEA: ItEr77S09WBSReport
2012-09-11 12:42:40 +02:00
Manuel Rego Casasnovas
eeb61f8336 Add option in menu and new role for new project status report
FEA: ItEr77S09WBSReport
2012-09-11 12:42:40 +02:00