Commit graph

5039 commits

Author SHA1 Message Date
Farruco Sanjurjo
2c8ec71262 Changed timeplotz version
* Now we are using one customized by us for solving several fixes
* The new version is on Igalia's maven repo

FEA: ItEr02S03MigracionZK5
2011-01-20 13:42:19 +01:00
Farruco Sanjurjo
97e7770ed7 Renamed TimeTrackerComponent#afterCompose method
* Now it's called "compose"
* For an explanation check the comment that's over the method

FEA: ItEr02S03MigracionZK5
2011-01-17 12:38:25 +01:00
Farruco Sanjurjo
eeb52f5fa9 Made tabs to use all avaliable width
FEA: ItEr02S03MigracionZK5
2011-01-17 12:36:49 +01:00
Farruco Sanjurjo
6c727bb6c1 Fixed bug regarding timetrackergap
* It must be created on a separate div

FEA: ItEr02S03MigracionZK5
2011-01-17 12:35:16 +01:00
Farruco Sanjurjo
52a760bd47 Fixed shrikend boxes on calendars/_edition.zul
* I was unable to dinamically set the width of a listbox, so now its width is set 400px

FEA: ItEr02S03MigracionZ5
2011-01-17 12:27:07 +01:00
Farruco Sanjurjo
d2f6b6c23f Fixes shrinked boxes on Work Reports
FEA: ItEr02S03MigracionZK5
2011-01-17 11:36:45 +01:00
Farruco Sanjurjo
3705a88b0c Fixed shrinked boxes in Resources>Companies>Edit company
FEA: ItEr02S03MigracionZK5
2011-01-17 10:49:13 +01:00
Farruco Sanjurjo
c9ee2f8b0c Fixed shrinked boxes in Resources>WorkReports>Edit Work Report
FEA: ItEr02S03MigracionZK5
2011-01-17 10:43:14 +01:00
Farruco Sanjurjo
83bea21da9 Fixed shrinked boxes in Resources>Machines>Edit machine
FEA: ItEr02S03MigracionZK5
2011-01-17 10:20:10 +01:00
Farruco Sanjurjo
7a82cd5373 Fixed shrinked boxes on Resources>Worker>Edit Worker
FEA: ItEr02S03MigracionZK5
2011-01-17 10:12:01 +01:00
Lorenzo Tilve
4c77814d7b FEA: ItEr02S03MigracionZK5
Fixed tree header visualization problems on Chrome

FEA: ItEr62S05BugFixing
2011-01-14 13:28:47 +01:00
Farruco Sanjurjo
bc674149eb Fixed bug with watermkars on secondlevel timetracker
* When changed zoom to week level, the first watermark column hadn't the proper width because it hadn't explictly set its width

FEA: ItEr02S03MigracionZK5
2011-01-14 13:14:59 +01:00
Farruco Sanjurjo
9b06b82738 Changed fixedByLayout by sizedByContent
* This configuration option is deprecated, now we must use sizedByContent
* Using fixedByLayout on the modal window that was shown after clicking over a task on the task list (on project details) caused that
a column to be shrinked

FEA: ItEr02S03MigracionZK5
2011-01-14 10:20:07 +01:00
Farruco Sanjurjo
41ee1021b2 Added a default "left" value for timetrackergap
* If this component has no default value for its left css property and we requested its value, we'll get "auto" as response.
* We need a numeric value rather than auto because we have to meausure it. Otherwise it'll lead to an error

FEA: ItEr02S03MigracionZK5
2011-01-11 11:31:37 +01:00
Farruco Sanjurjo
dde31cd2da Changed the order Plotinfos are appended
* If the want to maintaint this order: overloads on the back, maximum capacity on the middle and current load on the front; we have append
Plotinfo objects on this new order to the Timeplot component. Otherwise the overload layer will hide everything as it was the last to be added.

FEA: ItEr02S03MigracionZK5
2011-01-10 12:40:23 +01:00
Farruco Sanjurjo
1f071acb82 Deleted method used to adapt callbacks for older versions on Timelinez
* This method was added due to a bug on Timeline, see: http://sourceforge.net/mailarchive/message.php?msg_id=25935247
* Since newer versions of Timeplot (2.3.X) this is not happening anymore.
* This method was causing weird behaviours with the URL used by timeline to retrieve the data. As a result of deleting the first "/" the final URL
used by timeline was relative to the page where the chart was shown, i.e. if the callback-url submited by the application was "navalplanner-webapp/callback/XXXXXXX" and the page that contained the chart was "http://localhost:8080/navalplanner-webapp/planner/index.zul", the resulting callback was "http://localhost:8080/navalplanner-webapp/planner/navalplanner-webapp/callback/XXXXXXX". As a result, several mappings were needed at web.xml (now deleted)

FEA: ItEr02S03MigracionZK5
2011-01-05 13:46:55 +01:00
Farruco Sanjurjo
eaacb7c977 Fixed some bugs on DependencyComponent's widget-class
FEA: ItEr02S03MigracionZK5
2011-01-03 12:00:51 +01:00
Farruco Sanjurjo
8484610f8c Deleted native namespace
* As of ZK 5.0.5 native elements can't be retrieved with .getFellow(...) or a ComponentNotFoundException will be raised
* This should be the expected behaviour on previous versions but it wasn't working properly (check http://sourceforge.net/mailarchive/message.php?msg_id=26816348)

FEA: ItEr02S03MigracionZK5
2010-12-30 11:02:46 +01:00
Farruco Sanjurjo
8b050df1bb Missing commit
* This commit must have been performed with this one eb5407ae28

FEA: ItEr02S03MigracionZK5
2010-12-30 10:42:42 +01:00
Farruco Sanjurjo
090f7b1a0d Added configuration property for using trendy molds
* Instead of configuring each button individually, we can use this property to do it globally

FEA: ItEr02S03MigracionZK5
2010-12-28 14:18:44 +01:00
Farruco Sanjurjo
276a357e08 Added a comment to explain why we are not using XulElement#setContext
FEA: ItEr02S03MigracionZK5
2010-12-28 12:58:58 +01:00
Farruco Sanjurjo
eb5407ae28 Replaced EventListener by XulElement#setContext
* This listener listened to "onRightClick" (over a task) events for showing the contextual menu, but now we
have moved to XulElement#setContext as it does all event-handling work for us

FEA: ItEr02S03MigracionZK5
2010-12-28 12:33:34 +01:00
Farruco Sanjurjo
69bec5175b Upgraded to ZK 5.0.5
* We need to exclude jruby as a transitive dependency of org.zkoss.zk. Loading jruby caused problems with joda-time (something like this http://jira.codehaus.org/browse/JRUBY-3559)

FEA: ItEr02S03MigracionZK5
2010-12-27 12:49:25 +01:00
Farruco Sanjurjo
c804838272 Changed base widget-class for DependencyComponent
* This allows us to use XulElement#setContext method for creating contextual menus

FEA: ItEr02S03MigracionZK5
2010-12-27 11:04:13 +01:00
Farruco Sanjurjo
57321d07e6 Fixed bug on TaskComponent widget
* When adding a new dependency all existing dependencies where erased

FEA: ItEr02S03MigracionZK5
2010-12-21 11:04:22 +01:00
Farruco Sanjurjo
0660490c9b Adding a dependency is cancelled if you click anywhere that's not a task
FEA: ItEr02S03MigracionZK5
2010-12-20 11:48:48 +01:00
Farruco Sanjurjo
2e99fc12dc ESC keypress event is now handled
* If you press the ESC key while adding a dependency (before it's consolidated) the depency line will be removed

FEA: ItEr02S03MigracionZK5
2010-12-20 11:12:13 +01:00
Farruco Sanjurjo
b4028cc062 Added initial implementation for Milestone widget
* It's based on TaskComponent widget

FEA: ItEr02S03MigracionZK5
2010-12-20 11:11:49 +01:00
Farruco Sanjurjo
a5e48ab696 Added missing ">" symbol at task-list mold
* It caused the DepencencyList component to be wrongly placed

FEA: ItEr02S03MigracionZK5
2010-12-14 14:13:11 +01:00
Farruco Sanjurjo
59bd2180c9 Fixed bug on TaskComponent widget-class
* A string with values "true"/"false" was treated as if it was a proper boolean. As a result the test always succeeded

FEA: ItEr02S03MigracionZK5
2010-12-13 13:09:25 +01:00
Farruco Sanjurjo
54225361d1 Added if-check to avoid exception caused by Milestone
* Using TaskElementAdapter#getTooltipText or TaskElementAdapter#getLabelsText
with a Milestone object raised an exception because it was trying to use
an order element which it hasn't

FEA: ItEr02S03MigracionZK5
2010-12-10 13:16:21 +01:00
Farruco Sanjurjo
6977a37c3b Fixed shrinked treecol on resource load view
FEA: ItEr02S03MigracionZK5
2010-12-10 11:17:28 +01:00
Farruco Sanjurjo
55ef398e1c Changed the given id for TimeTracker at AdvancedAllocationController
* Got rid of "timeTracker" which is used nowhere else on the application

FEA: ItEr02S03MigracionZK5
2010-12-07 14:21:23 +01:00
Farruco Sanjurjo
8cd849034e Recoded advanceAllocation Javascript file
* Uses jQuery instead of YUI
FEA: ItEr02S03MigracionZK5
2010-12-07 14:19:39 +01:00
Farruco Sanjurjo
3c5c1500c5 Added method to retrieve the TimeTracker's real width
FEA: ItEr02S03MigracionZK5
2010-12-07 14:15:45 +01:00
Farruco Sanjurjo
8ed236b4c1 Added scrolling functionallity to TimeTracker's widget-class
* Also included this widget on lang-addon.xml and zk.wpd so it's avaliable to use
* Added getWidgetClass method to TimeTrackerComponent to ovewrite the HtmlMacroComponent method. This is required if we want TimeTrackerComponent to use
our new widget-class instead of HtmlMacroComponent's: zk.Macro

FEA: ItEr02S03MigracionZK5
2010-12-07 14:12:40 +01:00
Farruco Sanjurjo
85957d30cb Added code to make TimeTracker's widget-class singleton
FEA: ItEr02S03MigracionZK5
2010-12-03 14:00:41 +01:00
Farruco Sanjurjo
3c401a05d0 Skeletal code for TimeTracker widget-class
FEA: ItEr02S03MigracionZK5
2010-12-03 13:58:36 +01:00
Farruco Sanjurjo
d391d7b2ef Explicitly set width to solve shrinking problems with chrome
FEA: ItEr02S03MigracionZK5
2010-11-30 13:09:50 +01:00
Farruco Sanjurjo
091762e072 Fixed shrinked tables on labels tab
* The tables on labels tab use now 100% of all avaliable widt avaliable widthh

FEA: ItEr02S03MigracionZK5
2010-11-30 11:04:12 +01:00
Farruco Sanjurjo
fb00c28278 Added missing closing symbol
* As a result of it, the names of resources appeared on the chart

FEA: ItEr02S03MigracionZK5
2010-11-29 12:49:47 +01:00
Óscar González Fernández
b4ea86c80f FEA: ItEr02S03MigracionZK5
Avoid uses of Mode#goToOrderMode that cause unnecessary repaintings

Now the mode is changed after hiding the previous tab, so the previous
tab is not repainted and the new tab is showed with the correct mode.

FEA: ItEr63S03BugFixing
2010-11-29 12:35:20 +01:00
Farruco Sanjurjo
9a99ef5b0f Changed valing attribute to pack
*This is deprecated on ZK 5

FEA: ItEr02S03MigracionZK5
2010-11-29 12:24:49 +01:00
Farruco Sanjurjo
2f3e6f3096 Replaced DOM methods with jQuery
* We go back to jQuery after checking that using directly DOM methods didn't improve performance

FEA: ItEr02S03MigracionZK5
2010-11-23 11:46:52 +01:00
Farruco Sanjurjo
5a92a1542f Fixed bug that caused Duplicated ID exception
* The listener must be removed or we'll be appending the same object twice

FEA: ItEr02S03MigracionZK5
2010-11-19 13:30:55 +01:00
Farruco Sanjurjo
4464734858 Fixed onflicts:
ganttzk/src/main/java/org/zkoss/ganttz/TaskComponent.java
	navalplanner-webapp/src/main/java/org/navalplanner/web/planner/company/CompanyPlanningModel.java

FEA: ItEr02S03MigracionZK5
2010-11-15 14:05:22 +01:00
Farruco Sanjurjo
e39d57e33f Missing commit
* This commit had to be created back on time but I forgot to do it : (

FEA: ItEr02S03MigracionZK5
2010-11-15 12:36:26 +01:00
Farruco Sanjurjo
5d49d113b1 Revert comments that prevented the use of timeplot
* All problems have been fixed so it's safe to use it now

FEA: ItEr02S03MigracionZK5
2010-11-15 12:34:24 +01:00
Farruco Sanjurjo
5a697262fa Polished version of previous commit (load chart on demand)
FEA: ItEr02S03MigracionZK5
2010-11-15 12:28:39 +01:00
Farruco Sanjurjo
38fd09db85 First approach for loading charts on demand
* Code needs to be polished

FEA: ItEr02S03MigracionZK5
2010-11-15 12:09:16 +01:00