Commit graph

2045 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
79407bac86 Released 1.0.3 version.
* Bump to 1.0.3.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr70S03CommunityMaterialItEr69S03
2011-02-16 08:08:09 +01:00
Manuel Rego Casasnovas
33b23b341b [Bug #848] Removed repeated method in OrderLineGroup.
FEA: ItEr70S04BugFixing
2011-02-15 23:33:15 +01:00
Manuel Rego Casasnovas
cc74c51c15 [Bug #852] Fixed bug adding children advance if some indirect advance exists.
FEA: ItEr70S04BugFixing
2011-02-15 17:00:21 +01:00
Óscar González Fernández
0413e0b3e1 Avoid having Orders as proxies
It can cause ClassCastExceptions when doing orderElement.getOrder

FEA: AnA08S10Reports
2011-02-14 14:39:43 +01:00
Óscar González Fernández
e1fe687623 Move loadOrderAvoidingProxyFor to OrderModel
This is needed for avoiding a cycle with WorkReportDAO. Also a new
method is added that allows to load the orders for several order
elements at the same time. This avoids creating one transaction per
order element.

FEA: AnA08S10Reports
2011-02-14 14:38:47 +01:00
Óscar González Fernández
685386e06f Use EffortDuration instead of hours to increase precision
FEA: ItEr70S04BugFixing
2011-02-09 20:19:06 +01:00
Óscar González Fernández
d2df191073 Expose methods to allow to get the EffortDuration elapsed in an interval of IntraDayDates
FEA: ItEr70S04BugFixing
2011-02-09 20:19:05 +01:00
Óscar González Fernández
fc02c28e91 [Bug #838] Fix bug
Allow again to grow the allocation so the original number of hours is
respected.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
36baa57baa Add method to allow to allocate hours outside the task's bounds
FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
6d550c0f9d Extract superclass and generalize the use of interval
FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
d1896093fa Rename onInterval method
The new method, onIntervalWithinTask, reflects much better the
meaning.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Ó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
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
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
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
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
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
1be321f69a Small fix in a message that uses "fiscal code" instead of ID.
FEA: ItEr69S04BugFixing
2011-01-31 17:37:34 +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
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
9f7e428e4a [Bug #816] Fix bug
The problem lied in that the @NotNull annotation was applied to a
field. This is dangerous because if the object that is being validated
is a proxy, the value is always null. Now the annotation was moved to
the getter.

FEA: ItEr69S04BugFixing
2011-01-24 18:58:05 +01:00
Manuel Rego Casasnovas
468797466b Released 1.0.2 version.
* Bump to 1.0.2.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr68S03CommunityMaterialItEr67S03
2011-01-21 12:21:51 +01:00
Manuel Rego Casasnovas
416a69fe89 Fixed problem with last LiquiBase change in MySQL.
Execute the next SQL sentence in your database if you want to keep working with
your current database:

UPDATE DATABASECHANGELOG
    SET MD5SUM='3:b6640208fbf11943fa46d8953516bad7'
    WHERE ID='replace-column-limited_resource-with-resource_type' AND
        AUTHOR='jaragunde' AND
        FILENAME='src/main/resources/db.changelog-1.0.xml';

FEA: ItEr68S04BugFixing
2011-01-20 08:40:39 +01:00
Óscar González Fernández
53e9840c65 [Bug #815] Fix bug
If an instance with the same fiscal id is not found, then true must be
returned.

FEA: ItEr68S04BugFixing
2011-01-19 19:19:23 +01:00
Óscar González Fernández
bb16e8346c Add possibility of specifying new invalid dates
The invalid ranges mechanism is not suitable when the invalid dates to
specify are potentially infinite.

An additional mechanism is added allowing to veto some of the dates.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:47 +01:00
Óscar González Fernández
76fcb59dad Extract method
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:47 +01:00
Óscar González Fernández
2a382e201e Make canWork rely on Capacity data
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Óscar González Fernández
252e994ba1 Use Capacity in BaseCalendar
Now the extra effort properties are respected. The code is simplified
since there is no longer needed special handling for exceptions.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Óscar González Fernández
781f6f83c2 Make consufing method private
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 19:00:46 +01:00
Manuel Rego Casasnovas
59dae6bb43 Updated NavalPlan license headers to 2011.
FEA: ItEr68S03CommunityMaterialItEr67S03
2011-01-19 18:40:35 +01:00
Diego Pino Garcia
e50b163b41 Added Resource.getCaptionFor()
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
2011-01-19 17:54:50 +01:00
Jacobo Aragunde Pérez
6d48769a46 Replaced the limitingResource attribute in Resource entity with resourceType.
This replacement has implications in higher layers and makes the application
crash, but changes are separated in several patches to improve their legibility.

In this patch, we modify the DB, the DB update system and the entities in the
bussiness layer.

FEA: ItEr65OTS07XestionRecursosEstratexicos
2011-01-19 17:15:25 +01:00
Óscar González Fernández
77307a0351 When creating the default calendar make weekend days not overassignable
The already created calendar data are modified too using a liquibase
changeset.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 12:04:40 +01:00
Susana Montes Pedreira
c6ad404b8c [Bug #812] changes Map for SortedMap in PredefinedDatabaseSnapshots
it changes Map for SortedMap to maintain the ordering in criterion types collection.

FEA : ItEr68S04BugFixing
2011-01-19 09:00:03 +01:00
Óscar González Fernández
cf18d04498 Make CalendarData return Capacity instead of EffortDuration
This change imply changes in dependent entities.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 00:10:18 +01:00
Óscar González Fernández
29ed1006a8 Replace switch by method
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 20:57:38 +01:00
Óscar González Fernández
78fdb775cb Fix parameter name
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:47:21 +01:00
Óscar González Fernández
77ef632be7 CalendarData is updated receiving Capacity objects
The callers now have to construct Capacity objects in a way that the
previous behavior is preserved.

FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:41:54 +01:00
Óscar González Fernández
bb1af58fb1 Remove use of java.util.Date for Calendar related entities
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:20 +01:00
Óscar González Fernández
8b80e15ad6 Rename method to reflect better meaning
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:19 +01:00