Commit graph

8580 commits

Author SHA1 Message Date
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
Manuel Rego Casasnovas
07870a7268 doc: Update guide to create a report with the changes in the last commits
* JasperReports is now in version 4.7.0
* Fix some small issues in the document

FEA: ItEr77S08ReportsFonts
2012-09-11 10:41:23 +02:00
Manuel Rego Casasnovas
004dec3a42 Update documentation files and packages to add the dependency with DejaVu fonts
FEA: ItEr77S08ReportsFonts
2012-09-11 10:12:14 +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
be439d08d1 Merge branch 'personal-timesheets-periodicity' 2012-09-03 08:13:47 +02:00
Manuel Rego Casasnovas
a4aab1ddfa Use INTEGER instead of INT in Liquibase changelog
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-30 10:02:55 +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
Manuel Rego Casasnovas
7e24ddb8ac Change the basic methods related to personal timesheets to take into account the periodicity
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 11:47:39 +02:00
Manuel Rego Casasnovas
33de9de661 Refactoring code moving to methods in PersonalTimesheetsPeriodicityEnum
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 09:47:00 +02:00
Manuel Rego Casasnovas
57763f233f Modify the list of personal timehseets depending on the periodicity
* Change the string to represent a personal timesheet depending on preiodicity
  too

FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-28 09:15:08 +02:00
Manuel Rego Casasnovas
f730f7b14a doc: Fix typo "value gained" is "earned value"
FEA: ItEr77S03Community
2012-08-28 08:22:46 +02:00
Manuel Rego Casasnovas
8fd9c15262 Disable personal timesheets periodicity in configuration window if any personal timesheet was already saved
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 17:48:57 +02:00
Manuel Rego Casasnovas
b97b54321b Add option to set personal timesheets periodicity in configuration window
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 17:22:10 +02:00
Manuel Rego Casasnovas
87c0ffb212 Add new field in Configuration class to store the timesheets periodicity
* Add new field personalTimesheetsPeriodicity in Configuration
* Configure Hibernate mapping
* Create new enum PersonalTimesheetsPeriodicityEnum
* Configure Liquibase changelog to add the new column

FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 17:22:10 +02:00
Manuel Rego Casasnovas
436b459891 Update name of personal timesheets work report type
Add Liquibase change to update the name

FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 13:41:46 +02:00
Manuel Rego Casasnovas
0f0aab3a55 Rename monthly timesheets to personal timesheets in the UI
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 13:21:39 +02:00
Manuel Rego Casasnovas
9a7af06595 Update web services documentation with information about the new delete services
FEA: ItEr77S06AllowDeleteWorkReports
2012-08-27 12:22:43 +02:00
Manuel Rego Casasnovas
1a973577e3 Add method to remove a work report line from the web service
FEA: ItEr77S06AllowDeleteWorkReports
2012-08-27 12:16:31 +02:00
Manuel Rego Casasnovas
8509515e75 Add new method to delete a work report from the web service
FEA: ItEr77S06AllowDeleteWorkReports
2012-08-27 12:16:24 +02:00
Manuel Rego Casasnovas
8bde7df447 Simplify code of WorkReportServiceREST using beforeSaving method 2012-08-27 10:55:30 +02:00
Jacobo Aragunde Pérez
af2d856b32 Prevent losing precision in TaskElementAdapter.calculateLimitDateByHours()
FEA: ItEr76S04BugFixing
2012-08-21 18:03:20 +02:00
Jacobo Aragunde Pérez
fb004e07c1 Use EffortDuration.zero() properly instead of more complex alternatives. 2012-08-21 18:02:23 +02:00
Jacobo Aragunde Pérez
c064949e08 Bug #1528: Fix field TaskElement.notes in MySQL.
FEA: ItEr76S04BugFixing
2012-08-21 10:22:21 +02:00