Commit graph

5481 commits

Author SHA1 Message Date
Óscar González Fernández
6d1bddbafc Rename methods
Now it's clearer what they do and there is less confusion.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
94d89fc226 Add documentation for method
FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
4bbd1ed59a [Bug #838] Fix bug
If the interval allocated didn't overlap with the task's bounds an
exception was caused. Now this is avoided.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
93765d7460 [Bug #837] Fix bug
When entering a new allocation form the recommended allocation goes to
the intial state, so it's enabled.

FEA: ItEr70S04BugFixing
2011-02-08 15:36:38 +01:00
Óscar González Fernández
e9d93fc727 Replace "principal" by main
Main is the right adjective.

FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:16 +01:00
Óscar González Fernández
48717f3624 Add related specific allocations second level
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:16 +01:00
Óscar González Fernández
efb28b8404 Add new query for searching for specific allocations interfering with a criterion
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
57c10052c1 Pull up method and do it more generic
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
c74b23252b Refactor genericAllocationsByCriterion
Splitted into several methods

FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
ca9a0d7369 Adapt LoadPeriodGeneratorOnCriterion so it can work with specific allocations
For a specific allocation only the assigned hours are returned on
intervals that the criterion is satisfied.

FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:07:15 +01:00
Óscar González Fernández
1fd1462b89 Avoid executing methods twice
Extract local variables so potentially expensive methods are not executed twice

FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:05:36 +01:00
Óscar González Fernández
55ad1b571b Avoid repeating query
FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:05:36 +01:00
Lorenzo Tilve
68265ca6e7 Fixed visibility problems of disabled inputs on Chrome
FEA: ItEr70S04BugFixing
2011-02-08 13:36:22 +01:00
Lorenzo Tilve
12622d951d [Bug #805] Fix bug
Error messages due to cell totals calculations are now floated

FEA: ItEr70S04BugFixing
2011-02-08 13:36:22 +01:00
Diego Pino Garcia
b5abd65b29 [Bug #819] Report internazionalization problem in webkit browsers
Need to explicitely set Locale with language and country as the
currentLocale only has information about language but not country

FEA: ItEr70S04BugFixing
2011-02-08 12:59:25 +01:00
Diego Pino Garcia
ec404f11b0 [Bug #836] Fixed using English as default language
Now it doesn't depend on server configuration.

FEA: ItEr69S04BugFixing
2011-02-04 13:44:32 +01:00
Susana Montes Pedreira
badb1999fa fix the code style in db.changelog-1.0.xml and
improve the comments in Configuration class.

FEA: ItEr69S06AutocompleteAndPasswords
2011-02-03 17:07:06 +01:00
Óscar González Fernández
ceb731644b Make the change password link bolder
FEA: ItEr69S06AutocompleteAndPasswords
2011-02-02 16:37:48 +01:00
Óscar González Fernández
03d9eafc5c Apply footer-messages-area to more top level elements
Now the a elements withing a footer-messages-area are not underlined.

FEA: ItEr69S06AutocompleteAndPasswords
2011-02-02 16:29:18 +01:00
Óscar González Fernández
d399832ae8 Improve warning message
FEA: ItEr69S06AutocompleteAndPasswords
2011-02-02 16:26:34 +01:00
Diego Pino Garcia
db3dda2ed0 [Bug #830] Remove unnecessary code
FEA: ItEr69S04BugFixing
2011-02-02 12:33:49 +01:00
Diego Pino Garcia
c4a137708b [Bug #830] Changing in perspective does not reload data from database
FEA: ItEr69S04BugFixing
2011-02-02 12:32:44 +01:00
Manuel Rego Casasnovas
07857934a1 Removed enable_critical_chain_support from LiquiBase configuration.
This field is only used in critical-chain branch so it should be merged to
master in the future together with the rest of the branch.

FEA: ItEr69S04BugFixing
2011-02-02 11:58:31 +01:00
Susana Montes Pedreira
4aed9a22ad adds compiling option to disable the warning changing default password.
FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:33 +01:00
Susana Montes Pedreira
664a4baafd Introduce the changes of data base in db.changelog-1.0.xml.
it adds the columns changed_default_admin_password,
changed_default_user_password, changed_default_wsreader_password
and changed_default_wswriter_password in configuration table.

FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:32 +01:00
Susana Montes Pedreira
5c07068160 Introduce warning for other predefined users about its default password.
FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:32 +01:00
Susana Montes Pedreira
dd5f1d240c Add information in user list about if the user is
administrator or not.

FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:32 +01:00
Susana Montes Pedreira
cb7edc2dfd Remove the warning of the need to change admin password.
FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:32 +01:00
Susana Montes Pedreira
4e75b89cd9 Introduce warning to change admin password
FEA : ItEr69S06AutocompleteAndPasswords
2011-02-02 09:11:32 +01:00
Óscar González Fernández
3d8fd0c218 [Bug #833] Fix bug
Now the recommended allocation doesn't have toggle behaviour.

FEA: ItEr69S04BugFixing
2011-02-01 18:32:57 +01:00
Óscar González Fernández
6aed9e08ff [Bug #833] Disable advance search button
When doing recommended allocation it must be disabled.

FEA: ItEr69S04BugFixing
2011-02-01 18:23:16 +01:00
Óscar González Fernández
8848d7938f [Bug #835] Fix bug
A collection must not be modified while it's being iterated. Otherwise
a ConcurrentModificationException can happen. The filtering methods
have been refactored.

FEA: ItEr69S04BugFixing
2011-02-01 17:08:17 +01:00
Manuel Rego Casasnovas
49db11f855 Some fix on Debian package folder.
* Removed rules file for Squeeze as the change is also valid for Ubuntu.
* Used just one control file using the minimum standards version.

FEA: ItEr69S04BugFixing
2011-02-01 09:56:39 +01:00
Diego Pino Garcia
90cf23039d [Bug #828] Recreate dependencies on chaning horizontal scroll in limiting
FEA: ItEr69S04BugFixing
2011-01-31 18:48:44 +01:00
Diego Pino Garcia
4a81b0f2bf On changing zoom in limiting resources dependencies are not redrawn
FEA: ItEr69S04BugFixing
2011-01-31 17:38:38 +01:00
Manuel Rego Casasnovas
1be321f69a Small fix in a message that uses "fiscal code" instead of ID.
FEA: ItEr69S04BugFixing
2011-01-31 17:37:34 +01:00
Manuel Rego Casasnovas
f2f64c6990 [Bug #824] Fixed issue checking worker ID prior to criterions.
Criterion satisfactions were being stored more than one because of them were
being processed before checking worker ID:
  assignedCriterionsModel.confirm();

FEA: ItEr69S04BugFixing
2011-01-31 17:37:26 +01:00
Óscar González Fernández
c9f038974f Avoid memory leak
Delete previous associated listeners so the previous FormBinder and
associated objects can be reclaimed by GC.

FEA: ItEr69S04BugFixing
2011-01-31 16:10:43 +01:00
Óscar González Fernández
0563524f4a [Bug #825] Fix bug
The previous listeners associated to the recommended allocation were
not removed, so pressing the recommended allocation button caused it
to be executed several times.

FEA: ItEr69S04BugFixing
2011-01-31 15:33:55 +01:00
Diego Pino Garcia
3a1b50c2c2 [Bug #829] Don't let user change the type of a dependency between a Limiting Task and any other type of Task
FEA: ItEr69S04BugFixing
2011-01-31 15:22:57 +01:00
Diego Pino Garcia
a83efe11f4 [Bug #829] Fix bug initialize destination and origin tasks of dependencies if they were not initialized yet
FEA: ItEr69S04BugFixing
2011-01-31 12:12:39 +01:00
Diego Pino Garcia
1d74dc565a [Bug #826] Fix bug Validating Exception on allocating a resource to a limiting task the first time
FEA: ItEr69S04BugFixing
2011-01-31 11:55:18 +01:00
Diego Pino Garcia
71461a5092 [Bug 827] Fix bug do appropriative allocation if required based on days constraints
Allocate element at correct position if day constraints required an
appropriative allocation

Reschedule elements affected by an allocation to avoid dependencies violations

FEA: ItEr69S04BugFixing
2011-01-31 10:22:40 +01:00
Diego Pino Garcia
6fc3cd9cb9 [Bug #826] For limiting tasks, update size of the task if the user changes the numbers of hours allocated of the resource allocated in that task
FEA: ItEr69S04BugFixing
2011-01-28 20:14:36 +01:00
Óscar González Fernández
572b3944ea [Bug #821] Fix bug
The day assignments for a modified task were saved several times
because they kept posing as transient.

FEA: ItEr69S04BugFixing
2011-01-26 14:44:08 +01:00
Óscar González Fernández
a219fa75a1 Not allow to allocate on intervals beyond a task's bounds
Inside the task's bounds the allocations can grow until reaching
task's bounds but they can't shrink, i.e. the allocating zero hours
the last day would keep the same end date.

FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 23:23:47 +01:00
Óscar González Fernández
64e870bf21 The cells after the end of the task are not editable
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 21:02:30 +01:00
Óscar González Fernández
f975a8a112 Extract method in order to encapsulate the rule in one place
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:47:58 +01:00
Óscar González Fernández
b9590a9153 Eliminate code repetition
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:47:01 +01:00
Óscar González Fernández
880acd78f4 Fixing the condition for isBeforeTaskStartDate
FEA: ItEr69S08AdvanceAllocationFix
2011-01-24 20:38:41 +01:00