Commit graph

1085 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
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
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
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
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
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
bbc55bc58a Update name of zul for project status report
FEA: ItEr77S09WBSReport
2012-09-12 11:35:15 +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
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
Manuel Rego Casasnovas
22a4b0c571 Using DejaVu Sans font in reports to avoid problems with PDFs
FEA: ItEr77S08ReportsFonts
2012-09-11 09:49:25 +02:00
Manuel Rego Casasnovas
d6eccb44e5 Add dependency to JasperReports fonts package
This packages includes the required fonts to generate properly PDF reports

FEA: ItEr77S08ReportsFonts
2012-09-11 09:07:15 +02:00
Manuel Rego Casasnovas
c34518ec3f Bump JasperReports version to 4.7.0
FEA: ItEr77S08ReportsFonts
2012-09-11 09:05:50 +02:00
Manuel Rego Casasnovas
bf73efa559 Change method getOrder in IOrderModel to return an Order
Removed unneeded casts due to return type change.
2012-09-04 07:44:45 +02:00
Manuel Rego Casasnovas
38b47b1fea Fix the remaining bits where periodicity was not taken into account
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 13:55:58 +02:00
Manuel Rego Casasnovas
3394f41aa2 Refactor source code to use personal timesheet instead of monthly timesheet
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 13:28:02 +02:00
Manuel Rego Casasnovas
2ea3c63385 Improve representation of personal timesheets including month and year information
Changes:
* Include year in twice monthly timesheets
* Include month and year in weekly timesheets

FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 12:43:07 +02:00
Manuel Rego Casasnovas
dfe1184c8b Improve documentation of new methods in PersonalTimesheetsPeriodicityEnum
Also documented method to generate a string representing a personal timesheet in
MonthlyTimesheetDTO.

FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 12:24:24 +02:00
Manuel Rego Casasnovas
425a16d093 Implement navigation between personal timesheets depending on periodicity
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 12:24:24 +02:00
Manuel Rego Casasnovas
6ce91d6da9 Update representation of personal timesheets in the UI depending on periodicity
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 12:24:24 +02:00