Commit graph

6351 commits

Author SHA1 Message Date
Óscar González Fernández
48ac38c138 ScriptsComponent and associated clases no longer needed
Now zk package mechanism for grouping scripts is used.

FEA: ItEr75S08MigrationZK5
2011-06-28 19:09:49 +02:00
Óscar González Fernández
cc77593c9f Remove no longer necessary throws clauses
FEA: ItEr75S08MigrationZK5
2011-06-28 18:33:03 +02:00
Óscar González Fernández
7bc19f827d Don't pollute throws clauses
Extracting method that produces a warning when failing to set the sort
property of a Column.

FEA: ItEr75S08MigrationZK5
2011-06-28 18:20:19 +02:00
Óscar González Fernández
7e759bafed Remove no longer needed js files
FEA: ItEr75S08MigrationZK5
2011-06-24 20:14:41 +02:00
Óscar González Fernández
475ae8b380 Mixin position restorer into QueueListComponent
FEA: ItEr75S08MigrationZK5
2011-06-24 20:11:33 +02:00
Óscar González Fernández
124a1bb666 Add missing function adjustTimeTrackerSize
FEA: ItEr75S08MigrationZK5
2011-06-24 19:45:34 +02:00
Óscar González Fernández
174101c82a Extract mixin for copied and pasted code
FEA: ItEr75S08MigrationZK5
2011-06-24 19:03:30 +02:00
Óscar González Fernández
eb207f6eb4 Rename memoize to throttle
It represents better the purpose of the function.

FEA: ItEr75S08MigrationZK5
2011-06-24 13:44:15 +02:00
Óscar González Fernández
5af60d8d37 Remove zk-Timeplot-1.0_2 project
It is no longer needed. The timeplot for zk 5 seems to work fine.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:44:37 +02:00
Óscar González Fernández
dfabb2e6c2 Delete no longer needed js files
FEA: ItEr75S08MigrationZK5
2011-06-23 21:44:36 +02:00
Óscar González Fernández
c9761ef295 Throttle the drawing of the dependencies
If the dependencies have been drawn in the last 25 ms, they are not
redrawn.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:44:25 +02:00
Óscar González Fernández
128342b8e8 Reimplement moving dependencies when moving task
It wasn't working most of the time. Instead of fixing it, reimplement
using simpler approach.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:36:29 +02:00
Óscar González Fernández
53c57655a1 Fix the key of the response
Guaranteeing that the dependency's redraw response is invoked once for
each dependency when requested.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:36:26 +02:00
Óscar González Fernández
f76552371f The elements must be queried again otherwise the offset is calculated badly
This seems to be the cause of the problem:
http://bugs.jquery.com/ticket/7602

FEA: ItEr75S08MigrationZK5
2011-06-23 21:36:23 +02:00
Óscar González Fernández
5d60359518 Remove unncessary calls to redraw
DependencyComponents already listen to changes on Task.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:36:19 +02:00
Óscar González Fernández
b8cb0bf255 Avoid error when moving a task
The setCssClass method was missing in DependencyComponent.

FEA: ItEr75S08MigrationZK5
2011-06-23 21:36:12 +02:00
Óscar González Fernández
9fb3a3e87f Sometimes a double was returned
Allow to keep it working if a double number of pixels is returned
2011-06-15 19:01:12 +02:00
Óscar González Fernández
18c2f12211 Fix error when changing zoom
* adjust_height is removed from TaskList because the equivalent
  functionality is called from GanttPanel.

* GanttPanel.js receives the new methods for tracking the scroll. This
  should be simpler. It should be rewritten in the future.
2011-06-15 18:33:22 +02:00
Óscar González Fernández
bc7c4a8b4e [Bug #1084] Fix bug
Use floating point arithmetic if the fraction overflows

FEA: ItEr74S04BugFixing
2011-06-08 19:24:09 +02:00
Óscar González Fernández
f56fe6ba8d Merge branch 'master' into migration-to-ZK5-merging
Conflicts:
	NEWS
	debian/changelog
	ganttzk/pom.xml
	ganttzk/src/main/java/org/zkoss/ganttz/DependencyComponent.java
	ganttzk/src/main/java/org/zkoss/ganttz/GanttPanel.java
	ganttzk/src/main/java/org/zkoss/ganttz/TaskList.java
	ganttzk/src/main/java/org/zkoss/ganttz/util/LongOperationFeedback.java
	ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul
	ganttzk/src/main/resources/web/ganttz/zul/timetracker/timetrackersecondlevel.zul
	navalplanner-business/pom.xml
	navalplanner-webapp/pom.xml
	navalplanner-webapp/src/main/java/org/navalplanner/web/calendars/BaseCalendarCRUDController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/calendars/IBaseCalendarModel.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/common/components/ExtendedJasperreport.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/common/components/NewAllocationSelector.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/externalcompanies/ExternalCompanyDTO.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/limitingresources/LimitingResourcesPanel.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/limitingresources/QueueComponent.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/montecarlo/MonteCarloController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/orders/AssignedTaskQualityFormsToOrderElementController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/ResourceAllocationController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/chart/ChartFiller.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/company/CompanyPlanningController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/company/CompanyPlanningModel.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/tabs/AdvancedAllocationTabCreator.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/reports/NavalplannerReport.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/reports/OrderCostsPerResourceReport.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/resourceload/ResourceLoadModel.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/resources/criterion/CriterionAdminController.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/resources/search/NewAllocationSelectorController.java
	navalplanner-webapp/src/main/resources/i18n/es.po
	navalplanner-webapp/src/main/resources/i18n/gl.po
	navalplanner-webapp/src/main/resources/i18n/keys.pot
	navalplanner-webapp/src/main/webapp/calendars/_edition.zul
	navalplanner-webapp/src/main/webapp/externalcompanies/_listExternalCompanies.zul
	navalplanner-webapp/src/main/webapp/labels/_editLabelType.zul
	navalplanner-webapp/src/main/webapp/orders/_projectDetails.zul
	navalplanner-webapp/src/main/webapp/orders/components/_listOrderElementMaterials.zul
	navalplanner-webapp/src/main/webapp/orders/components/_orderElementTree.zul
	navalplanner-webapp/src/main/webapp/planner/order.zul
	navalplanner-webapp/src/main/webapp/reports/completedEstimatedHoursPerTask.zul
	navalplanner-webapp/src/main/webapp/reports/schedulingProgressPerOrderReport.zul
	navalplanner-webapp/src/main/webapp/reports/timeLineMaterialReport.zul
	navalplanner-webapp/src/main/webapp/reports/workingProgressPerTaskReport.zul
	navalplanner-webapp/src/main/webapp/resources/machine/_machineCriterions.zul
	navalplanner-webapp/src/main/webapp/resources/search/allocation_selector.zul
	navalplanner-webapp/src/main/webapp/workreports/workReportQuery.zul
	pom.xml
2011-06-03 18:42:09 +02:00
Manuel Rego Casasnovas
9459be7464 [i18n] Fixed typo in progress with all tasks.
FEA: ItEr74S04BugFixing
2011-06-03 13:35:10 +02:00
Manuel Rego Casasnovas
c358afbc28 [i18n] Fixed typo in "criterions" using "criteria".
FEA: ItEr74S04BugFixing
2011-06-03 13:35:00 +02:00
Manuel Rego Casasnovas
03c1945001 [i18n] Updated Spanish and Galician translations.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-06-03 13:17:45 +02:00
Manuel Rego Casasnovas
22f85d2ee4 [i18n] Fixed issue in keys generator and updated keys.pot files.
FEA: ItEr74S04BugFixing
2011-06-03 13:17:39 +02:00
Manuel Rego Casasnovas
def4d3f931 [i18n] Updated Spanish and Galician translations.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-06-03 12:33:08 +02:00
Manuel Rego Casasnovas
62d78ebc3b [i18n] Fixed translation of "progress" to Galician and Spanish.
FEA: ItEr74S04BugFixing
2011-06-03 11:02:04 +02:00
Manuel Rego Casasnovas
b79685ba11 [i18n] Marked "Choosing template" for translate.
It was needed to move it to a new line, as it seems that 2 strings
marked to translate in the same .zul file do not work properly.

FEA: ItEr74S04BugFixing
2011-06-03 11:01:58 +02:00
Manuel Rego Casasnovas
d88f5703cb [i18n] Changed "order sequence" for "entity sequence"
FEA: ItEr74S04BugFixing
2011-06-02 18:26:35 +02:00
Manuel Rego Casasnovas
43b2df69fc [i18n] Updated keys.pot files
FEA: ItEr74S04BugFixing
2011-06-02 18:26:30 +02:00
Manuel Rego Casasnovas
04afbf3f06 Fixed two translation issues.
* Fixed typo in "Stacktrace"
* Changed "START_NOT_EARLIER_THAN" for "start not earlier than"

FEA: ItEr74S04BugFixing
2011-06-02 18:26:24 +02:00
Óscar González Fernández
ec3d8ba1c6 [Bug #1083] Fix bug
The initial points where calculated uncorrectly in backwards
scheduling mode.

FEA: ItEr74S04BugFixingx
2011-06-02 12:41:47 +02:00
Susana Montes Pedreira
3e740b9e88 [Bug #1014] add borders in the table of the report of worked hours per each resource.
FEA: ItEr74S04BugFixing
2011-06-01 19:11:49 +02:00
Susana Montes Pedreira
5e00405ec2 [Bug #1014]
include the name of the assigned task to each report line, in the report
worked hours per each resource.

FEA: ItEr74S04BugFixing
2011-06-01 19:11:49 +02:00
Susana Montes Pedreira
d91a8a6831 [Bug #1014]
return the date time at start of day to perform the grouping by date correctly.

FEA: ItEr74S04BugFixing
2011-06-01 19:11:49 +02:00
Susana Montes Pedreira
b9b11e8cb6 [Bug #1081] validate and action stop if something fails while saving data
in progress type view.

FEA: ItEr74S04BugFixing
2011-06-01 17:12:50 +02:00
Susana Montes Pedreira
c1e30ed2e7 [Bug #1013] increase the width in filter search box.
FEA: ItEr74S04BugFixing
2011-06-01 16:45:00 +02:00
Óscar González Fernández
b02ca2f056 [Bug #1082] Fix bug
Making that the parent recalculations go after the normal ones. Thus
if a normal recalculation is needed for a parent, i.e. a container,
it's executed before the parent recalculation. Otherwise the parent
recalculation would apply the modifications and the normal
recalculation will think that no modifications have been done and its
successors would not be executed.

FEA: ItEr74S04BugFixing
2011-06-01 14:07:59 +02:00
Óscar González Fernández
74ecf0e493 Revert "Fix bug"
The bug was present when introducing a dependency between containers,
the children were not affected by the movement of the parent. The
solution fixed this problem, but introduced others. For example
when adding a dependency from a top level task that is not a
container to a container.

This reverts commit 48ba72511d.

FEA: ItEr74S04BugFixing
2011-06-01 14:04:22 +02:00
Susana Montes Pedreira
b56a510c34 improve the view of autocomplete property of the login form.
it changes titles to upper case and take out it of the perspectives part.

FEA:ItEr74S04BugFixing
2011-05-31 12:43:30 +02:00
Susana Montes Pedreira
d254e4988d Fixed problem with last LiquiBase change in PostgreSQL.
it set defaultNullValue to true,  in order to update the value to true if the value is null.

Execute the next SQL sentence in your database if you want to
keep working with your current database:

UPDATE DATABASECHANGELOG SET MD5SUM='3:0542da97fbff41b95f9cf5ef10ffa322' WHERE ID='add-new-column-enabled-autocomplete-login' AND
AUTHOR='smontes' AND FILENAME='src/main/resources/db.changelog-1.1.xml';

FEA:ItEr74S04BugFixing
2011-05-31 10:38:05 +02:00
Susana Montes Pedreira
6d3d3a6b2c [Bug #1075] Fix the some features in the autocomplete property configuration.
it changes the tooltiptext from zul page to controller.
it deletes unnecessary query.

FEA: ItEr74S04BugFixing
2011-05-31 10:25:17 +02:00
Susana Montes Pedreira
dea3ec3193 [Bug #1075] disables the autocomplete login form property if the admin password is not on default.
FEA: ItEr74S04BugFixing
2011-05-30 13:28:07 +02:00
Susana Montes Pedreira
4f91435a73 [Bug #1075] adds compiling option to disable/enable the autocomplete login.
FEA: ItEr74S04BugFixing
2011-05-30 13:16:42 +02:00
Óscar González Fernández
9e4b329791 [Bug #954] Fix bug
Allow to do flush before doing validations, so the optimist locking
exceptions don't happen at validation phase. When validating, the
exceptions are wraped, so the optimist locking failure can't be easily
seen.

FEA: ItEr74S04BugFixing
2011-05-27 13:12:01 +02:00
Óscar González Fernández
10da8d9e2b Revert "[Bug #954] Handle concurrency support in Configuration window"
This reverts commit f0613f5f4c. This
solution caused bad error reporting. Any error was attributed to
several users editing the same data.

FEA: ItEr74S04BugFixing
2011-05-26 19:59:08 +02:00
Óscar González Fernández
341ab3b93c The new support for parametrizing the clearing of handlers is used
This avoid to keep referencing objects longer than necessary.

FEA: ItEr74S08DeployFramework
2011-05-26 19:36:26 +02:00
Óscar González Fernández
0d49317ada Now the clearing behaviour can be parametrized
A when no longer referenced strategy can be used, so
IServletRequestHandler is not keep around in memory more time than
necessary.

FEA: ItEr74S08DeployFramework
2011-05-26 19:34:07 +02:00
Óscar González Fernández
1ec711ce4c More aggresive discarding of sessions and desktops
This helps to free memory faster. If a page is kept open the timer in
the template avoids the session and the desktop to be discarded.

FEA: ItEr74S08DeployFramework
2011-05-26 18:52:59 +02:00
Manuel Rego Casasnovas
939aa1f14a [Bug #1080] Fixed issue with Montecarlo method when critical path has more than 10 tasks.
* Force render for tasks that are in pages not been active.
* Moved out of long operation percentages validation.
* Setting properly active page when some percentage is not valid.

FEA: ItEr74S04BugFixing
2011-05-25 08:47:06 +02:00
Manuel Rego Casasnovas
35adfb3222 [Bug #1079] Fixed lazy exception initializing parent calendar too.
FEA: ItEr74S04BugFixing
2011-05-24 19:49:33 +02:00