Commit graph

1527 commits

Author SHA1 Message Date
Miciele Ghiorghis
339a35a28d Tim-connector: A controller for job scheduling 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
5cd6ac7566 Tim-connector: A controller for Tim synchronizing of timesheets 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
ae54764b17 Tim-connector: SOAP client to interact with Tim SOAP server
This client creates SOAP message, makes connection to the SOAP server, sends
the request and processes the response. It uses jaxb lirary to marshal and
unmarshal the request and response.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
b313de6935 Tim-connector: Helper class to convert Tim rosters to RosterExceptions 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
7520f27604 Tim-connector: The scheduler info (non persistent bean) 2013-02-08 11:16:17 +01:00
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
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
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
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
49b5b941bd Apply filtering when changing between perspectives if the parameters have changed
FEA: ItEr77S15FilteringEnhancements
2013-02-05 18:28:20 +01:00
miciele Ghiorghis
946c66163b Jira-integration: modified to test the classes instead code copied and jira label is moved to jira-conn-properties 2013-02-05 14:02:25 +01:00
Manuel Rego Casasnovas
44a78b453c Apply filter when entering project Gantt view
This will allow to get a already filtered Gantt 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-05 13:56:27 +01:00
Manuel Rego Casasnovas
eb3871d234 Use new database query when filtering projects list
The database query that filters the orders by several fields is used only when
the subelements checkbox is not clicked. Otherwise the old query is used and the
old behavior is kept for the filtering.

However, if the checkbox is not clicked, the new query is used to get the
initial list and to do the successive filtering too.

NOTE: Resources are never assigned directly to the root element, so if you
filter by resources it'll only work if you have the subelements checkbox
clicked.

FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:53:34 +01:00
Lorenzo Tilve Álvaro
2da6a83a61 Included bandbox filter parameters into projects view
FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:19:09 +01:00
Lorenzo Tilve Álvaro
a54fc40b4c Importing session bandbox parameters into resourcesload filter
FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:19:09 +01:00
Lorenzo Tilve Álvaro
6936dd2ff1 Fixed issue regarding using labels and dates at the same time
FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:19:09 +01:00
Lorenzo Tilve Álvaro
80f84d22ea Delete stored filter session variables when saving changes on preferences values
FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:19:09 +01:00
Lorenzo Tilve Álvaro
ef42d9b954 Forcing multiplebandbox search notification when clearing the bandbox
FEA: ItEr77S15FilteringEnhancements
2013-02-05 13:19:09 +01:00