Commit graph

559 commits

Author SHA1 Message Date
Miciele Ghiorghis
4ffd4e5b50 Tim-connector: Hibernate mapping file for AppProperties 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
f1762336ee Tim-connector: OrderSyncInfo entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
07c2ccaec9 Tim-connector: DAO for OrderSyncInfo
An implementation of the interface IOrderSyncInfoDAO
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
b459606e72 Tim-connector: Contract for OrderSyncInfo
An interface that OrderSyncInfoDAO implements.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
8869325b60 Tim-connector: JobSchedulerConfiguration entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
ed26857809 Tim-connector: AppProperties entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
f985a65a94 Tim-connector: DAO for JobSchedulerConfiguration
An implementation of IJobSchedulerConfigurationDAO
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
5418fc21b0 Tim-connector: Contract for JobSchedulerConfigurationDAO
An interface that JobSchedulerConfigurationDAO implements
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
3ba555853f Tim-connector: Contract for AppPropertiesDAO
An interface that AppPropertiesDAO implements
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
fa310807db Tim-connector: DAO for AppProperties
DAO for AppProperties. Implementation of the interface IAppPropertiesDAO
2013-02-08 11:16:16 +01:00
Manuel Rego Casasnovas
cdc140c7c8 jira-integration: Increase size of field jiraLabels
As this field could be used to store a list of labels, it's better that it's
longer than 255 chars.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-01 11:30:04 +01:00
miciele Ghiorghis
78e1d7b10b Jira-integration: classes renamed and basic comments added 2013-02-01 09:53:24 +01:00
Manuel Rego Casasnovas
25d1461263 jira-integration: Rename jiraLabelUrl to jiraLabels
Due to previous commit, this field could save a URL or a list of labels, so the
name has been changed to avoid misunderstandings.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-31 17:13:24 +01:00
Manuel Rego Casasnovas
52a0e89071 jira-integration: Add predefined WorkReportType for JIRA connector
* The predefined type will have a line description value to store comments in
  each line.
* As for the case of personal timesheets the new type will be hidden for the
  users in the list of timesheets templates.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 17:13:33 +01:00
Manuel Rego Casasnovas
72ada7c634 jira-integration: Disable hours edition in JIRA issues
For tasks that are JIRA issues the hours fields will be readonly.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 14:01:39 +01:00
Manuel Rego Casasnovas
2a359993ce jira-integration: Refactorization related to paint a link in the WBS if the task is a JIRA issue
* A new method isJiraIssue has been added to OrderElement checking if the code
  uses the JIRA prefix or not.
* The method Util.bind has been removed as it was specific of this link and only
  used in one place.
* To calculate issue code for the link it has been used StringUtils.removeStart.

TODO: Pending to disable hours in WBS if the task is a JIRA issue.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 13:43:40 +01:00
Manuel Rego Casasnovas
cbc7c3c169 jira-integration: Add checkings to prevent remove or disable type of work hours for JIRA connector
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 11:16:50 +01:00
Manuel Rego Casasnovas
ae3b7610f1 jira-integration: Modify bootstraps in order to set JiraConfiguration properly
* Renamed PersonalTimesheetsTypeOfWorkHoursBootstrap to
  ConfigurationTypeOfWorkHoursBootstrapa in order to set up TypeOfWorkHours for
  both personal timesheets and Jira connector.
* Modified ConfigurationBootstrap to ensure that the JiraConfiguration is
  created properly.
* Removed unneeded code in ConfigurationModel.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 11:16:50 +01:00
Manuel Rego Casasnovas
44dca50bc9 jira-integration: Add new field jiraConnectorTypeOfWorkHours in JiraConfiguration
* The new field is added in JiraConfiguration similar to field
Configuration.personalTimesheetsTypeOfWorkHours.
* Added required bits for Hibernate mapping and Liquibase database changes.
* Modified Jira connector configuration UI to include the new field.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-30 11:16:50 +01:00
Manuel Rego Casasnovas
89e9a58b6b jira-integration: Move code prefix for JIRA entities to a constant
As the same prefix is used in several files it has been defined as a constant in
JiraConfiguration.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-29 19:30:17 +01:00
Manuel Rego Casasnovas
bb914e7d10 jira-integration: Add missing protected constructor to JiraConfiguration
Missing protected constructor in order to avoid wrong usage of the class (maybe
someone could try to do "new JiraConfiguration()" instead of
JiraConfiguration.create()).

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-01-29 19:30:05 +01:00
Miciele Ghiorghis
0bd1066d20 Jira-integration: Copy right changed from Igalia, S.L. to St. Antoniusziekenhuis 2013-01-29 18:30:49 +01:00
Miciele Ghiorghis
1ae8d9b1b7 Jira-integration: importedLabel variable with set and get methods added
When order elements of an existing order are synchronized for an specified label, the specified
label will be stored in order_table. This is to prevent that different labels being imported for
the specified order
2013-01-29 18:30:49 +01:00
Miciele Ghiorghis
ab87c3875a Jira-integration: extended with ImporedLabel property 2013-01-29 18:30:49 +01:00
Miciele Ghiorghis
56e1700477 Jira-integration: extended with jira-configuration properties 2013-01-29 18:30:49 +01:00
Miciele Ghiorghis
894c1b12ba Jira-integration: new columns jira-configurations and importedLabel added
New jira-configurations columns added to configuration table
New imported_label column added to order_table
2013-01-29 18:30:49 +01:00
Miciele Ghiorghis
7eb5587a84 Jira-integration: create and set JiraConfiguration added to loadRequiredData method 2013-01-29 18:30:48 +01:00
Miciele Ghiorghis
22a24990aa Jira-integration: JiraConfiguration entity added 2013-01-29 18:30:48 +01:00
Miciele Ghiorghis
6af732164a Jira-integration: Jira configuration entity 2013-01-29 18:30:48 +01:00
Manuel Rego Casasnovas
2bf13fef80 Bug #1607: Fix issue filtering the resources load window
The issue was introduced in commit 05132fd5a7.
Where it was defined an algorithm:
  2.4) FSD is not null and FED is not null:
    2.4.1) APED is null: Check if APSD is between FSD and FED

This was wrong, it should be:
  2.4) FSD is not null and FED is not null:
    2.4.1) APED is null: Check if APSD is lower or equals than FSD or APSD is
    lower or equals than FED

FEA: ItEr77S04BugFixing
2013-01-29 14:05:48 +01:00
Manuel Rego Casasnovas
727bc642b8 Bump version number to 1.3.3
FEA: ItEr77S03Community
2012-12-21 14:38:48 +01:00
Manuel Rego Casasnovas
87796fcfc8 i18n: Mark some missing strings to be translated
FEA: ItEr77S04BugFixing
2012-12-20 17:44:20 +01:00
Manuel Rego Casasnovas
7813f8a207 Bug #1594: Fix issue opening transaction at DAO if needed
FEA: ItEr77S04BugFixing
2012-12-11 13:55:30 +01:00
Manuel Rego Casasnovas
331106824f Bump version number to 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:41:11 +01:00
Manuel Rego Casasnovas
05132fd5a7 Bug #1562: Fix issue filtering properly resources according to their activation periods
Now the dates filtering the resource load window are checked against the
resources activation periods. Using the following algorithm:

1) If the resource has not activation periods then it should always appear

2) The filter can have null for start and end dates and the activation periods
   can have null for end date. So we should define what to do in each case:

  Let's define some acronyms:
  * Filter Start Date: FSD
  * Filter End Date: FED
  * Activation Period Start Date: APSD (cannot be null)
  * Activation Period End Date: APED

  2.1) FSD is null and FED are null: The resource should appear regardless its
       activation periods

  2.2) FSD is null:
    2.2.1) APED is null: Check if APSD is lower or equals than FED
    2.2.2) APED is not null: Check if APSD is lower or equals than FED or APED
           is lower or equals than FED

  2.3) FED is null:
    2.3.1) APED is null: The resource should appear
    2.3.2) APED is not null: Check if APSD is later or equals than FSD or APED
           is later or equals than FSD

  2.4) FSD is not null and FED is not null:
    2.4.1) APED is null: Check if APSD is between FSD and FED
    2.4.2) APED is not null: Check if activation period overlaps filter period
           at any point

FEA: ItEr77S04BugFixing
2012-11-29 07:16:08 +01:00
Manuel Rego Casasnovas
805f65b9ea Add new field to configure seconds for planning warning
FEA: ItEr77S03Community
2012-11-26 18:06:37 +01:00
Lorenzo Tilve Álvaro
fc424944d1 Exposed project and tasks codes from fundamental properties to generate entry point URLs
FEA: ItEr77S03Community
2012-11-26 16:30:10 +01:00
Manuel Rego Casasnovas
2b07654d61 Add checkbox to mark task as finished in personal timesheets popup
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-22 10:53:12 +01:00
Manuel Rego Casasnovas
a6ef3f34d2 Bug #1553, #1554: Remove unique constraint in DB for OrderElement codes
In order to allow switch tasks codes and avoid the issues changing the code
while creating a child, the unique constraint in DB for field code in
order_element table has been removed.

Instead two new constraints methods have been added:
* OrderElement.checkConstraintUniqueCode()
* Order.checkConstraintUniqueCodeInsideOrder()

FEA: ItEr77S04BugFixing
2012-11-20 09:52:32 +01:00
Manuel Rego Casasnovas
e05678e946 Bug #1553: Fix issue modifying methods toLeaf and toContainer
FEA: ItEr77S04BugFixing
2012-11-19 17:15:41 +01:00
Manuel Rego Casasnovas
babe242b52 Fix problems in service to import personal timesheets
The comparison with the OrderElemen was wrong and it causes that the data stored
was wrong.

Moreover, it was not needed to open the transaction in the bound service method
as it's already opened in PersonalTimesheetModel.

FEA: ItEr77S14BoundUsersWebServices
2012-11-19 10:23:06 +01:00
Manuel Rego Casasnovas
6927955a4a Bug #1556: Fix problems with i18n of the new enum
FEA: ItEr77S04BugFixing
2012-11-16 12:18:05 +01:00
Óscar González Fernández
32a71e85ee Remove other allocation methods with LocalDate parameters
FEA: ItEr77S04BugFixing
2012-11-15 13:15:09 +01:00
Óscar González Fernández
0ba4790c00 Remove some allocation methods with LocalDate parameters
Now the IntraDayDates methods are used. Most of the changes are in the
tests, since they were using the previous LocalDate methods.

FEA: ItEr77S04BugFixing
2012-11-15 13:15:07 +01:00
Óscar González Fernández
bd29c64fe5 Bug #1413: Fix bug
Fix the bug for when calculating the hours.

FEA: ItEr77S04BugFixing
2012-11-15 13:15:04 +01:00
Manuel Rego Casasnovas
b218f380a7 Merge branch 'adapt-planning-according-timesheets' 2012-11-15 12:09:10 +01:00
Manuel Rego Casasnovas
d258b989f9 Merge branch 'libreplan-1.3' into adapt-planning-according-timesheets 2012-11-15 09:45:27 +01:00
Manuel Rego Casasnovas
9e4cbd2484 Show marks from timesheet dates in tasks when showing reported hours bar
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-13 18:37:15 +01:00
Manuel Rego Casasnovas
9bd527c32f Remove assignments after end date for tasks marked as finished in the timesheets
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-13 08:08:16 +01:00
Manuel Rego Casasnovas
a1f4ece458 Disable new, new from template, up, down, indent and unindent buttons in WBS
Depending on selected node and if it's or not updated from templates the
different buttons are enabled or disabled accordingly.

FEA: ItEr77S12AdaptPlanningAccordingTimesheets
2012-11-12 22:32:38 +01:00