Commit graph

4353 commits

Author SHA1 Message Date
Lorenzo Tilve Álvaro
824c6621ab Fixed header filter widths
FEA: ItEr75S08MigrationZK5
2011-08-11 12:03:58 +02:00
Lorenzo Tilve Álvaro
90c43c2303 Fixed styles issues in progress advance management
FEA: ItEr75S08MigrationZK5
2011-08-11 12:03:58 +02:00
Lorenzo Tilve Álvaro
1720deffc6 Fixed chrome width problems in work hour types edition
FEA: ItEr75S08MigrationZK5
2011-08-11 12:03:58 +02:00
Lorenzo Tilve Álvaro
518c17e1f7 Fixed limiting resources planning header issue in chrome
FEA: ItEr75S08MigrationZK5
2011-08-11 12:03:58 +02:00
Lorenzo Tilve Álvaro
181d68c7c6 Fixed horizontal width fill in WorkReports list
FEA: ItEr75S08MigrationZK5
2011-08-11 12:03:57 +02:00
Lorenzo Tilve Álvaro
c7b4084fdb [Bug #1128] Fixed bug
Avoided nullpointer exception when changing between progress types

FEA: ItEr75S04BugFixing
2011-08-11 12:03:28 +02:00
Óscar González Fernández
78ebb3f343 Add logging category for authentication attempts
Login attempts will be logged to navalplan-logins.log.

FEA: ItEr75S04BugFixing
2011-08-10 19:09:01 +02:00
Manuel Rego Casasnovas
d17eb8c0fc Fix NullPointerException in highlightDaysOnCalendar method
FEA: ItEr75S04BugFixing
2011-08-10 18:36:38 +02:00
Manuel Rego Casasnovas
a9defb5446 [Bug #1126] Fix issue in Chromium/Google Chrome
This is an issue with Chromium and it is fixed thanks to a workaround
commented in this ZK bug: http://tracker.zkoss.org/browse/ZK-276

FEA: ItEr75S04BugFixing
2011-08-10 18:32:01 +02:00
Óscar González Fernández
0efe2782ca Refactor ResourceLoadController
Now each filter has its own class.

FEA: ItEr75S11PreventLooseChangesWIP
2011-08-09 19:36:26 +02:00
Óscar González Fernández
9c366dc1fa Refactorize setupNameFilter
FEA: ItEr75S11PreventLooseChanges
2011-08-09 19:30:57 +02:00
Óscar González Fernández
2ead73273f Create fields instead of implicitly passing the data
FEA: ItEr75S11PreventLooseChanges
2011-08-09 19:30:57 +02:00
Óscar González Fernández
12d7d8bcad Group data in class
FEA: ItEr75S11PreventLooseChanges
2011-08-09 19:30:57 +02:00
Óscar González Fernández
6543b9f771 Extract another super class for load charts
FEA: ItEr75S11PreventLooseChanges
2011-08-09 19:30:56 +02:00
Manuel Rego Casasnovas
d918b4bab9 [i18n] Update Spanish and Galician translations
FEA: ItEr75S03CommunityMaterial
2011-08-09 16:40:44 +02:00
Manuel Rego Casasnovas
268b9b931d [i18n] Update keys.pot files
FEA: ItEr75S03CommunityMaterial
2011-08-09 16:40:37 +02:00
Manuel Rego Casasnovas
f335c5c0d1 ConstraintChecker does not return boolean now
ConstraintChecker throws a WrongValueException that is caught by ZK and
execution is stopped.

It's not needed it returns a boolean value.

FEA: ItEr75S04BugFixing
2011-08-08 20:47:38 +02:00
Manuel Rego Casasnovas
ba64beca69 Fix highlighted days on datebox widget in limiting resources
Solution based in 935344eade commit

FEA: ItEr75S08MigrationZK5
2011-08-08 20:36:25 +02:00
Ignacio Diaz Teijido
b29a3f013f Added popup in filters to use or not labels inheritance
FEA: ItEr75S15FilteringByLabelsPlanningGantt
2011-08-08 16:42:53 +02:00
Manuel Rego Casasnovas
4222ca684b [Bug #1134] Add checks for empty username or password
FEA: ItEr75S04BugFixing
2011-08-08 16:11:38 +02:00
Manuel Rego Casasnovas
6b746221ec [Bug #1132] Remove DayType enum in BaseCalendar
* Change message to show to user about the type of day
* DayType enum is removed as it is not needed anymore

FEA: ItEr75S04BugFixing
2011-08-05 11:08:34 +02:00
Manuel Rego Casasnovas
e910538d05 [Bug #1132] Updated calendar interface to use different colors
BaseCalendarEditionController has been modified to take account
different colors defined in CalendarExceptionTypeColor enum.

FEA: ItEr75S04BugFixing
2011-08-05 11:08:34 +02:00
Manuel Rego Casasnovas
ccc30939c2 [Bug #1132] Using a renderer in CalendarExceptionType listing
In order to show information about color enum internationalized in the
list too, it is defined a rowRenderer in
CalendarExceptionTypeCRUDController.

FEA: ItEr75S04BugFixing
2011-08-05 11:08:34 +02:00
Manuel Rego Casasnovas
4403e80f6e [Bug #1132] Modify CalendarExceptionType edition form
CalendarExceptionTypeCRUDController is adapted to new enum.

FEA: ItEr75S04BugFixing
2011-08-05 11:08:34 +02:00
Manuel Rego Casasnovas
e633a179b1 [Bug #1132] Create new enum CalendarExceptionTypeColor
The enum is being used in CalendarExceptionType and all the entities
related have been updated to work with the new enum. Web service has
also been updated.

Colors defined now are: DEFAULT (red), GREEN and BLUE. Colors to show in
the interface are just examples and should be changed in a later patch.

FEA: ItEr75S04BugFixing
2011-08-05 11:08:33 +02:00
Óscar González Fernández
343330151c [Bug #1133] Fix bug
The label types must be loaded to avoid LazyInizialitationException
when executing a validator in OrderElement.

FEA: ItEr75S04BugFixing
2011-08-04 17:38:31 +02:00
Manuel Rego Casasnovas
6fb5ee6241 Fix issue in ConstraintChecker now error messages was not being shown
Use InputElement::getText() in order to force error messages to appear
when input is not valid.

FEA: ItEr75S04BugFixing
2011-08-04 13:10:23 +02:00
Manuel Rego Casasnovas
1aeacfbf63 [Bug #1132] Fix problem with CalendarExceptionType without name
Added constraint in both zul file and entity

FEA: ItEr75S04BugFixing
2011-08-04 12:59:13 +02:00
Manuel Rego Casasnovas
71fa130612 Fix problem in ConstraintChecker
* Previously ConstraintChecker was only working with Textbox and
  Datebox, now it should work for any InputElement

FEA: ItEr75S04BugFixing
2011-08-04 11:34:28 +02:00
Manuel Rego Casasnovas
935344eade Fix highlighted days on calendar widget
* CalendarHighlightedDays macro component is removed
* Solution is based on discussion at ZK forum:
  http://www.zkoss.org/forum/listComment/17068-Highlight-calendar-days-with-jQuery

FEA: ItEr75S08MigrationZK5
2011-08-04 09:58:28 +02:00
Óscar González Fernández
a4b0324139 Use ContiguousDaysLine at OrderPlanningModel
ResourceLoadChartData extractors are reused.

FEA: ItEr75S11PreventLooseChanges
2011-08-03 20:13:32 +02:00
Óscar González Fernández
9592435f8f Fix problem with chart colors
Some chart stacks were hidden by the others. Adding them in the right
order.

FEA: ItEr75S04BugFixing
2011-08-03 19:39:24 +02:00
Óscar González Fernández
fbf97300c4 Extract class for filling load charts
ResourceLoadController and CompanyPlanningModel now use this class.

FEA: ItEr75S11PreventLooseChanges
2011-08-02 19:57:46 +02:00
Manuel Rego Casasnovas
4aba29d69c Fix wrong label in "Work And Progress Per Task" report
FEA: ItEr75S04BugFixing
2011-08-02 19:49:37 +02:00
Manuel Rego Casasnovas
ed42d91f63 [Bug #1130] Fix issue changing text size and moving box
FEA: ItEr75S04BugFixing
2011-08-02 19:46:57 +02:00
Manuel Rego Casasnovas
d0ceea9276 [Bug #1107] Fix issue preventing NullPointerException
FEA: ItEr75S04BugFixing
2011-08-02 19:34:14 +02:00
Manuel Rego Casasnovas
313f66c0e0 [Bug #1113] Fix issue marking as not transient all allocations
To reproduce the issue is was needed to create a resource allocation not
satisfied and save it twice.

The problem was that only satisfied allocations were being marked as not
transient.

FEA: ItEr75S04BugFixing
2011-08-02 18:51:59 +02:00
Manuel Rego Casasnovas
5c564f2b1e [Bug #1129] Fix bug setting scale for progress value
FEA: ItEr75S04BugFixing
2011-08-02 17:52:45 +02:00
Manuel Rego Casasnovas
7bdc38eb2f [Bug #1111] Fix name and code of tasks in report
FEA: ItEr75S04BugFixing
2011-08-02 15:48:39 +02:00
Óscar González Fernández
c80d329c2a Define CompanyPlanningModel using annotations
Initially CompanyPlanningModel was defined in XML file because
method-lookups were needed. Since currently the scope of
CompanyPlanningModel is prototype, this is no longer needed.

FEA: ItEr75S04BugFixing
2011-08-02 15:16:44 +02:00
Óscar González Fernández
fb7d05ab0e Define OrderPlanningModel using annotations
Initially OrderPlanningModel was defined in XML file because
method-lookups were needed. Since currently the scope of
OrderPlanningModel is prototype, this is no longer needed.

FEA: ItEr75S04BugFixing
2011-08-02 15:12:38 +02:00
Óscar González Fernández
ccabbb6afc Remove not in effect annotations
They are potentially misleading, these beans are defined in the xml
file and their real scope is prototype.

FEA: ItEr75S04BugFixing
2011-08-02 15:12:24 +02:00
Cristina Alvarino
154626d714 [Bug # 1111] Fix several issues in report: Task Scheduling Status In Project
FEA: ItEr75S04BugFixing
2011-08-02 11:43:17 +02:00
Óscar González Fernández
9555ab4645 Show the precise efforts instead of the rounded amount in hours
FEA: ItEr75S04BugFixing
2011-08-01 19:56:56 +02:00
Óscar González Fernández
b04d6b7ba1 Use a valid url-pattern
Tomcat 6 complaints about the url pattern. Changes on it were done for
doing some workarounds in ZK5 support, but it doesn't seem necessary.

FEA: ItEr75S04BugFixing
2011-08-01 19:22:30 +02:00
Óscar González Fernández
6d44f44c1a Switch to GanttDates
Otherwise LoadPeriods of less than one day would not be shown.

FEA: ItEr75S04BugFixing
2011-08-01 19:20:49 +02:00
Óscar González Fernández
c6cbb12833 [Bug #1124] Fix problem when calculating assigned duration
When an interval of an allocation is considered and a day assignment
is within that interval, the day assignment must not be summed
completely. Only the part that is inside of the said interval.

In other words, intervals can start and end in the middle of a day,
so not all the effort of the DayAssignment must be considered.

FEA: ItEr75S04BugFixing
2011-08-01 19:20:42 +02:00
Óscar González Fernández
d75f0fee1b Unify advanced allocation state
Now it uses the current state the allocation is in.

FEA: ItEr75S11PreventLooseChanges
2011-07-28 18:05:01 +02:00
Óscar González Fernández
00db73a60f Take into account the scenario
It's extracted into a QueryPart

FEA: ItEr75S11PreventLooseChanges
2011-07-27 19:20:35 +02:00
Óscar González Fernández
a1bea29ac3 Fix the check for checking if an allocation belongs to the order
It would fail if the scenario is not the owner one.

FEA: ItEr75S11PreventLooseChanges
2011-07-27 19:11:39 +02:00