Commit graph

9250 commits

Author SHA1 Message Date
Miciele Ghiorghis
fd30e75940 Tim-connector: A manager that dynamically creates jobs and cron-triggers using spring quartz libraray
An implementation of the interface ISchedulerManager
Dynamically creates jobs and cron triggers. It associated the triggers with the jobs and add
them to the scheduler. It also supports the rescheduling of jobs.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
3619f716ee Tim-connector: A manager that dynamically creates jobs and cron-triggers using spring quartz library
An interface that SchedulerManager implements.
Dynamically creates jobs and cron triggers. It associated the triggers with the jobs and add
them to the scheduler. It also supports the rescheduling of jobs.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
93fc9a8a41 Tim-connector: A job that import rosters from Tim SOAP server
This is the job that is scheduled by the scheduler to import rosters from Tim SOAP server.
It is executed based on the cron-expression defined for this job.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
d9fba94d7c Tim-connector: Import rosters from Tim SOAP Server and convert them to worker's calendar exception
An implementation of the interface IImportRosterFromTim
It import rosters from Tim convert them to workers calendar exception. If
worker's calendar exception already exists it updates effort duration, otherwise
creates new worker's calendar exception.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
225a3475de Tim-connector: Imports Rosters from Tim SOAP server
An interface that ImportRosterFromTim implements
It import Rosters from Tim SOAP server and convert them to workers calendar Exception.
If workers calendar exception already existis it updates the effort duration, otherwise
creates new worker's calendar exception
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
071c3e84d9 Tim-connector: A job that exports timesheets to Tim SOAP server
This is the job that is scheduled by the scheduler to export timesheets to tim SOAP server
It is executed based on the cron-expression defined for this job.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
d783587123 Tim-connector: exports timesheet to Tim SOAP server
An implementation of the interface IExportTimesheetsTOTim.
It exports timesheets of an existing order to Tim SOAP server.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
138e4d6fac Tim-connector: Export timesheets to Tim SOAP server
An interface that ExportTimesheetsTomTim implements.
It exports timesheets of an existing order to Tim SOAP server.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
3ee39bcffe Tim-connector: Hibernate mapping file for JobSchedulerConfiguration 2013-02-08 11:16:16 +01:00
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
Lorenzo Tilve Álvaro
f539a84627 Avoided cast exception when entering WBS with Gantt resource filters
FEA: ItEr77S15FilteringEnhancements
2013-02-08 10:41:05 +01:00
Lorenzo Tilve Álvaro
1e10f58c3a Fixed regression that was showing no tasks on the WBS
FEA: ItEr77S15FilteringEnhancements
2013-02-08 10:41:05 +01:00
Manuel Rego Casasnovas
be38a3455e jira-integration: Change own implementation to strip whitespaces by StringUtils method
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-08 10:38:33 +01:00
miciele Ghiorghis
1cad4ca9b6 Jira-integration: some improvement on get issues.
getIssues gets now the issues from jira in one request. This is done by adding a
query fields with desired fields to be included in response. Moreover the max_results
is now outside if(!query.isEmpty) statetment.
Test case is modified to read label from jira-properties instead of hard coded
2013-02-08 10:33:45 +01:00
Manuel Rego Casasnovas
a3966cc2e6 Allow to add tasks in a filtered WBS
The new tasks will appear in the WBS even if they don't match the filter.

FEA: ItEr77S15FilteringEnhancements
2013-02-08 10:25:07 +01:00
Lorenzo Tilve Álvaro
e7536b153c Moved session manipulation calls to the refactored class
FEA: ItEr77S15FilteringEnhancements
2013-02-08 09:26:22 +01:00
Lorenzo Tilve Álvaro
6b4ee3641c Reverted unnecesary changes on Label and Criterion save operations to clear removed entities
Since the "foreign key" constraint with onDelete parameter introduced into liquibase is handling
at database level the integrity, the external operations to clean the setting values are not longer
needed.

FEA: ItEr77S15FilteringEnhancements
2013-02-08 09:26:22 +01:00
Lorenzo Tilve Álvaro
46ba611952 Added foreign key with onDelete clause on user to label and criterion relationships
FEA: ItEr77S15FilteringEnhancements
2013-02-08 09:26:22 +01:00
Manuel Rego Casasnovas
1bf09abeaf Avoid double-rendering on Gantt view on enter with filters in session
When you enter the project Gantt view and you have some filters already stored
on session, you had a first rendering with the whole project and then a new one
filtering it. The patch avoids the first rendering.

FEA: ItEr77S15FilteringEnhancements
2013-02-07 14:00:01 +01:00
Manuel Rego Casasnovas
9bd6e29d44 Fix problem with session zoom level in project Gantt view
If the zoom level was changed in other view inside a project, Gantt view didn't
notice it.

FEA: ItEr77S15FilteringEnhancements
2013-02-07 13:07:29 +01:00
Manuel Rego Casasnovas
a6153296b9 Get zoom from session in advanced allocation view
Add a listener in order to update the value in the session when user changes the
zoom.

FEA: ItEr77S15FilteringEnhancements
2013-02-07 12:59:31 +01:00
Manuel Rego Casasnovas
3d1bb5b5c8 Get zoom from session in resources load view
Add a listener in order to update the value in the session when user changes the
zoom.

For the company view it will use it's own variable to store the zoom level,
inside a project it will use the zoom variable shared for all the project views.

FEA: ItEr77S15FilteringEnhancements
2013-02-07 11:44:32 +01:00
Manuel Rego Casasnovas
0f548e6e73 Move zoomLevel session management to FilterUtils
FEA: ItEr77S15FilteringEnhancements
2013-02-07 10:19:19 +01:00
Lorenzo Tilve Álvaro
880f51704a Forced deletion of Label and Criterion parameters and session bandboxes after entities deletion
FEA: ItEr77S15FilteringEnhancements
2013-02-07 03:08:30 +01:00
Lorenzo Tilve Álvaro
d3e43e0592 Moved session parameters handling on Resources Load to refactored methods
FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:32:35 +01:00
Lorenzo Tilve Álvaro
fed35d7f1e Read user criterion parameter inside resourcesLoad perspective
FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:32:35 +01:00
Lorenzo Tilve Álvaro
8bce318265 Enabled WBS to write filter changes on the session
FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:32:35 +01:00
Lorenzo Tilve Álvaro
ed24855836 Refactored to external class methods to handle filters session parameters
FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:32:35 +01:00
Manuel Rego Casasnovas
c610ccd140 Get zoom from session in project Gantt view
Add a listener in order to update the value in the session for each project when
user changes the zoom.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:28:02 +01:00
Manuel Rego Casasnovas
ee7c6d708a Get zoom from session in company Gantt view
Add a listener in order to update the value in the session when user changes the
zoom.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 14:13:17 +01:00
Manuel Rego Casasnovas
abe2313b69 Remove Planner.fixedZoomByUser attribute
The attribute is removed as the zoom is going to be managed from the session.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 13:47:10 +01:00
Manuel Rego Casasnovas
dbc24f0833 Revert "Added global zoom level session variable"
This reverts commit 235f6de48c.
2013-02-06 13:42:52 +01:00
Manuel Rego Casasnovas
800cf8b50d Apply filter when entering project details view
This will allow to get a already filtered WBS if you have been inside the
project before and you have applied some filters, as the filter is already
stored in the session.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 12:26:07 +01:00
Manuel Rego Casasnovas
c3764b15ad Fix issue in resources load bandbox with value from session
The value from session was not been used to calculate the data to show, and it
was only renderer.

The problem was that the method
org.libreplan.web.resourceload.ResourceLoadController.Reloader.reloadInTransaction()
was calling
org.libreplan.web.resourceload.ResourceLoadController.WorkersOrCriteriaBandbox.setup(ResourcesLoadPanel)
after calculating the data to show.

So
org.libreplan.web.resourceload.ResourceLoadController.WorkersOrCriteriaBandbox.buildBandboxFilterer()
was called after it calculates the data to show, so it doesn't take into account
the default values for the selected filters.

Now, the initialization of the bandbox is done in the constructor, and then the
selected filters are marked.

Later the buildBandboxFilterer is called and it only wraps the bandbox inside a
hbox.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 11:28:06 +01:00
Lorenzo Tilve Álvaro
7d4eaebbdc Importing session filter parameters into WBS screen
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:57:09 +01:00
Lorenzo Tilve Álvaro
f267e5fca0 Force attaching of labels on company view to fix issue after list perspective filter change
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:43:00 +01:00
Lorenzo Tilve Álvaro
a391468af9 Adding session values to project gantt bandbox
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:41:35 +01:00
Lorenzo Tilve Álvaro
d8b8e7e736 Clearing previous elements added to company bandbox filter after list perspective change
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:40:57 +01:00
Lorenzo Tilve Álvaro
9736e4daf3 Transform OrderFilterEnum parameters to TaskGroupFilterEnum for company view filter
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:40:53 +01:00
Lorenzo Tilve Álvaro
9f703ae11f Removed unncecesary temporaty code
FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:40:53 +01:00
Lorenzo Tilve Álvaro
eefd4026fd Modified getOrdersIdsByDates query to get the intersecting projects between start and end dates
In this way it's possible to get all the projects for wich some part of their lenght is
comprehended between the defined start and end dates, with the previous strategy only the
projects which were completely included in the interval were being listed.

FEA: ItEr77S15FilteringEnhancements
2013-02-06 09:40:43 +01:00