Commit graph

5268 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
4a0bf3cb92 Several fixes in CutyCapt debian/ folder.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-04 14:54:36 +01:00
Diego Pino Garcia
f9ada938b4 Add path to logos in Reports
FEA: ItEr67S04BugFixing
2011-01-04 13:14:38 +01:00
Manuel Rego Casasnovas
d5981a0815 Fixed CutyCapt debian/rules thanks to a patch by Adrián Pérez <aperez@igalia.com>.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-04 12:47:12 +01:00
Manuel Rego Casasnovas
e0aa75641d [Bug #783] Fixed problem with ResourceEnum translation.
FEA: ItEr67S04BugFixing
2011-01-04 11:40:45 +01:00
Manuel Rego Casasnovas
923e816cd7 Added missing build dependency to cutycapt debian package.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-04 11:14:22 +01:00
Manuel Rego Casasnovas
03bd9775c7 Fixed email in CutyCapt debian/changelog file.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-04 08:51:58 +01:00
Manuel Rego Casasnovas
2d887e2a2f Fixed translation issues.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-03 17:51:43 +01:00
Óscar González Fernández
2ff4c92213 [Bug #774] Fix bug
Using DurationBetweenDates to calculate initial lengh for tasks.

FEA: ItEr67S04BugFixing
2011-01-03 16:55:34 +01:00
Óscar González Fernández
266d9d4fe1 Use the same condition
FEA: ItEr67S04BugFixing
2011-01-03 16:55:34 +01:00
Óscar González Fernández
160a9abf17 Check for null
FEA: ItEr67S04BugFixing
2011-01-03 16:55:34 +01:00
Manuel Rego Casasnovas
ea4eb0ef34 Updated debian/changelog for CutyCapt.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-03 16:54:43 +01:00
Diego Pino Garcia
72bc8a3fa9 Clean unused code
FEA: ItEr67S04BugFixing
2011-01-03 16:40:57 +01:00
Diego Pino Garcia
fb39b36411 Replace Arial for FreeSans
FEA: ItEr67S04BugFixing
2011-01-03 16:35:43 +01:00
Diego Pino Garcia
bad1bcb529 Remove comments
FEA: ItEr67S04BugFixing
2011-01-03 13:58:25 +01:00
Óscar González Fernández
f33e8f8cf8 [Bug #775] Fix bug
The minusDuration contained an error that caused to reach the end of
the loop before it should.

When calculating the current duration, the workable days given were
the rounded up version which caused the problem in the third snapshot.

FEA: ItEr67S04BugFixing
2011-01-03 13:49:31 +01:00
Óscar González Fernández
8fc16549b2 Add handy methods
FEA: ItEr67S04BugFixing
2011-01-03 13:49:31 +01:00
Diego Pino Garcia
10007fe114 Fix Exception resource not found: 'logos/logo.png' in reports
logo.png image was moved to other folder so reports were crashing. This
logo.png image doesn't longer exist as now there is a different logo
for each language.

The patch retrieves what language the user is using when printing out
a report and use appropriate logo.

FEA: ItEr67S04BugFixing
2011-01-03 13:33:53 +01:00
Diego Pino Garcia
c0fc2f5e93 Fix bug Javascript Error: zkLimitingDependency.addRelatedDependency is not a function
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-30 14:06:57 +01:00
Diego Pino Garcia
fb3537a0c8 Fix bug in hightlight available days in an interval
Didn't hightlight correct interval
Javascript exception launched on clicking datebox before opening datecalendar

FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-30 13:33:37 +01:00
Óscar González Fernández
45fb180da0 Take into account if the allocation has consolidations
If the task has consolidations is must be allocated in a forwards way.

FEA: ItEr66OTS07PlanificacionHaciaAtrasItEr65OTS03
2010-12-29 22:17:35 +01:00
Óscar González Fernández
a2e8c3ea2e Rename method to reflect better is meaning
FEA: ItEr66OTS07PlanificacionHaciaAtrasItEr65OTS03
2010-12-29 22:15:42 +01:00
Óscar González Fernández
be2b4b5f4d Remove duplication delegating to AllocationRowsHandler
FEA: ItEr66OTS07PlanificacionHaciaAtrasItEr65OTS03
2010-12-29 21:58:58 +01:00
Óscar González Fernández
3ca8b84b8d Fix bug
It avoids exception when doing a reassignation and there is an
unsatisfied generic allocation. Now in that case new resources mathing
the criterions are queried.

FEA: ItEr66S04BugFixing
2010-12-29 19:23:03 +01:00
Óscar González Fernández
cfc3551e31 Provide IResourceDAO to DatesHandler
It's going to be needed to avoid error when trying to do allocation on
an unsatisfied generic allocation.

FEA: ItEr66S04BugFixing
2010-12-29 19:23:03 +01:00
Óscar González Fernández
a42018bfc5 Ensure that getResourcesPerDay never returns null
FEA: ItEr66S04BugFixing
2010-12-29 19:23:03 +01:00
Óscar González Fernández
9a9afdc5c9 Instead of delegating call the inner object
FEA: ItEr66S04BugFixing
2010-12-29 19:23:03 +01:00
Óscar González Fernández
4d1c4bb293 Delete unneeded field.
FEA: ItEr66S04BugFixing
2010-12-29 19:23:02 +01:00
Diego Pino Garcia
765375425a Fix bug Exception launched when clicking on Edit Task 'Found resources' panel: doesn't implement comparable
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-29 18:08:48 +01:00
Óscar González Fernández
4a4e257952 Avoid exception
It happened when changing the calculated value and a resources per day
input was marked as invalid.

FEA: ItEr66S04BugFixing
2010-12-28 22:14:41 +01:00
Óscar González Fernández
207ba45e5e Improve the stickiness of the parameters specified by the user
After doing an allocation if the task was moved to a place where it
cannot be satisfied the parameters specified by the user were
overriden with zero like values.

Now it keeps the fields originalTotalAssignment and resourcesPerDay so
if the allocation can be satisfied again it uses the original values.

FEA: ItEr66S04BugFixing
2010-12-28 21:20:29 +01:00
Óscar González Fernández
3f5f8b4332 Introduce factory
This makes clearer the meaning of the method

FEA: ItEr66S04BugFixing
2010-12-28 21:20:24 +01:00
Diego Pino Garcia
e93e445ac3 Merge branch 'FixBugRemoveGetQueuesOf' 2010-12-27 18:48:07 +01:00
Diego Pino Garcia
5cce1b123e Remove getQueuesOf()
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 18:47:25 +01:00
Óscar González Fernández
c7f96413c0 [Bug #761] Fix bug
Initializing disabled state of workerSearchTab and
newAllocationSelector so they don't keep previous disabled state.

FEA: ItEr66S04BugFixing
2010-12-27 16:26:27 +01:00
Óscar González Fernández
9caf32dcc6 [Bug #773] Fix bug
After saving the order, the constraints are updated for each task
unless it already has some allocations done to it.

FEA: ItEr66S04BugFixing
2010-12-27 15:38:15 +01:00
Óscar González Fernández
cfa4060d4e Rename method
Now it reflects better its meaning.

FEA: ItEr66S04BugFixing
2010-12-27 15:38:15 +01:00
Diego Pino Garcia
2809763f1a Fix bug when allocating an unscheduled queue element, do it like if it were like an unscheduled element in the list on unscheduled queue elements
If doing an appropriative allocation it's necessary to unscheduled
element to make room enough for a gap, later those elements should be
schedule back again like it were unscheduled elements coming from the
list of unscheduled queue elements.

It's not possile to make any guess about in which queue it make fit,
as this may change depending on the new gaps created.

FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 13:56:02 +01:00
Diego Pino Garcia
c7f51c0a72 Add method queueuOf() retrieves all diferent queues for a set of queue elements
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 13:55:41 +01:00
Diego Pino Garcia
ef137d2637 Fix bug advance gap until allocation time
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 13:55:34 +01:00
Diego Pino Garcia
b4de7e098e Fix bug in getHoursInGapUntilAllocatingAndGoingToTheEnd(), don't add 0 hour days if the total number of hours to allocate were already completed
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 12:05:58 +01:00
Diego Pino Garcia
f92ff825ea Fix bug a task in a queue can only be reloaded if it was previously inserted in that queue
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:59 +01:00
Diego Pino Garcia
da187a59ec Fix bug refresh queues correctly after replacing a resource allocation
of a task for another which may be in a different queue

FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:35 +01:00
Diego Pino Garcia
3be35bc1a9 Rename removeDependenciesComponent() to removeDependenciesFor() and swap order of parameters in removeQueueElementFrom()
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:17 +01:00
Diego Pino Garcia
0fa470ba82 Fix bug NullPointerException on editing limiting resource task (context is null)
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:01 +01:00
Diego Pino Garcia
bdee58be1a Added method addDependenciesFor()
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:47:52 +01:00
Diego Pino Garcia
3919489159 Fix bug dependencies are not correctly removed or refreshed when a task is moved or unscheduled from limiting resources panel
Some dependency components were added more times than necessary. This
caused some troubles when a task was unscheduled or moved (some older
dependency components were removed but others didn't).

Refactor code, only add dependency component if they're going to be
shown in the planner.

FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:47:30 +01:00
Diego Pino Garcia
02bf5f18b7 Remove unused import
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:46:26 +01:00
Diego Pino Garcia
1898219281 Added toString() method
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:46:06 +01:00
Manuel Rego Casasnovas
e4e661b48d Remove unneeded scripts.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 14:26:21 +01:00
Manuel Rego Casasnovas
dd0b85a1b9 Improved i18n scripts in order to generate keys.pot files with relative paths.
* Updated keys.pot files.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 14:11:46 +01:00