Commit graph

1100 commits

Author SHA1 Message Date
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
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
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
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
0f0aab3a55 Rename monthly timesheets to personal timesheets in the UI
FEA: ItEr77S07PersonalTimesheetsPeriodictyConfiguration
2012-08-27 13:21:39 +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
Manuel Rego Casasnovas
ad68bc0ff8 Add method getAuthenticationType() to avoid problems in edit window
Due to change in commit f5d99cdb82 the method
UserCRUDController.getAuthenticationType() was removed and it was still being
used in _editUser.zul.
2012-08-21 09:50:13 +02:00
Daniel Díaz Sañudo
545f3b05e7 i18n: Add Catalan translation 2012-08-21 08:55:59 +02:00
Javier Moran Rua
f5d99cdb82 Does the users list sortable by user type (LDAP or Database).
* It was also refactored the getUserType() method inside User entity class.
2012-08-19 21:51:08 +02:00