Commit Graph

837 Commits

Author SHA1 Message Date
Andreas Stöckel
049cbd88dc Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows 2012-03-06 13:22:01 +00:00
Ralf Becker
4a88a9558c egw_json plugin "html" replacing document content with send html 2012-03-06 09:50:43 +00:00
Andreas Stöckel
130dc87e83 Concatenated dhtmlxmenu.js and dhtmlxmenu_ext.js to one file, to stop the message 'dhtmlxmenu_ext.js required' 2012-03-06 09:35:54 +00:00
Andreas Stöckel
5f3b572cc9 Changed hash function for egw api instances 2012-03-05 16:05:48 +00:00
Andreas Stöckel
1bc16c1b8e Finished egw json api 2012-03-05 15:02:00 +00:00
Andreas Stöckel
d310b14ecf Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function. 2012-03-05 13:07:38 +00:00
Andreas Stöckel
04db17f9e5 Fixed hypothetical problem with certain entries not being updated properly on app instances of egw 2012-03-02 09:02:36 +00:00
Andreas Stöckel
3fdf5fdfd0 Removed unneeded egw_app.js 2012-03-01 16:25:32 +00:00
Andreas Stöckel
1876a5faa1 Splitted the egw object into multiple files, added system for allowing a application specific client-side api (use 'egw' as a function) 2012-03-01 16:24:29 +00:00
Andreas Stöckel
90379afe16 Updated jQuery to version 1.7.1 2012-03-01 12:43:06 +00:00
Nathan Gray
ee98b63c0b Set gantt overflow to auto to hide the scrollbars when not needed. 2011-12-14 17:12:09 +00:00
Nathan Gray
6d17a1a168 Add dhtmlxGantt for gantt charts 2011-11-16 19:31:00 +00:00
Klaus Leithoff
9fad5b84ab * ckeditor/aspell: added check for language availability check on extended dict (Lang_Countrycode) first, then fall back to lang -> e.g.: check on en_GB, if not available try using en 2011-11-16 09:15:41 +00:00
Nathan Gray
f8489c0ed1 Update jqplot to
jquery.jqplot.1.0.0b2_r947
2011-11-07 20:37:55 +00:00
Klaus Leithoff
d844dcdbd5 * API: updating CKEDITOR to version 3.6.2, altering editor modes and availability of toolbar options 2011-10-28 09:12:40 +00:00
Nathan Gray
390bb1f6f0 Get all button images working (in timesheet & infolog list at least) 2011-09-22 21:23:30 +00:00
Nathan Gray
4a3c3cf659 Add fallback handling using typeof when input.constructor fails 2011-09-19 23:19:16 +00:00
Ralf Becker
cea61e2436 fixed typo stalling mail notifications 2011-09-16 16:11:05 +00:00
Ralf Becker
859f83bf39 if nothing left in queue, stop interval-timer to give browser a rest 2011-09-14 14:22:38 +00:00
Ralf Becker
77f2a043fc local caching and queueing of egw.link_title() requests 2011-09-13 19:55:06 +00:00
Ralf Becker
5cadd29d58 Basic egw.link_title(_app,_id,_callback,_context) method.
Plan is to run a clientside cache and own queue for link_titles, as server can query titles for N id's for a given app more effiently then N separeate queries.
2011-09-13 18:23:43 +00:00
Ralf Becker
516b977472 ability to queue ajax requests on the client and send them as a single ajax request every N ms to the server
a) instead of a single request like: new egw_json_request(menuaction, params).sendRequest(true, callback, context); 
b) you call: egw.jsonq(menuaction,params,callback,context)
The server callback is identical for both kinds of requests. All egw_json_response methods can be used and the callback is optional.
2011-09-13 17:27:02 +00:00
Ralf Becker
387be881ee egw.link(_url, _vars) method and using it for JS event handler 2011-09-09 19:41:09 +00:00
Andreas Stöckel
df36138012 Changed loading order of dhtmlxcommon 2011-09-09 14:50:50 +00:00
Andreas Stöckel
50ad9e4ba0 Included dhtmlx js files in egw_menu_dhtmlx.js, fixed problem with removing action objects, improved egw_include_mgr a bit 2011-09-09 14:03:18 +00:00
Ralf Becker
ea03c4032b implemented link attributes for image-widget and added them to xulio, some docu for describtion 2011-09-08 20:44:53 +00:00
Nathan Gray
6585ff14e6 Add a place for egroupware to tap into file request before it's sent 2011-09-08 20:32:58 +00:00
Ralf Becker
008f009d80 - implemented new egw.link_app_list(_must_support) and egw.link_get_registry(_app, _name) methodes
- using egw.link_app_list('query') in link widget (no need to transfer it additonally)
- added some more docu to egw object
2011-09-08 12:24:53 +00:00
Nathan Gray
65a37234c4 Add some jquery resources - CSS and icons. 2011-09-07 23:32:03 +00:00
Nathan Gray
8875c94c24 Async file uploads 2011-09-01 22:07:30 +00:00
Ralf Becker
046c0919cc make basic data of current user available via egw.user(_field) 2011-08-31 12:17:34 +00:00
Ralf Becker
1e7b17203f - if image not found, check if it might contain extension and try without (better is not to use extension at all!)
- changed default to current app as in API, but it is not yet working, because egw object runs in framework for jdots :-(
2011-08-31 06:26:05 +00:00
Ralf Becker
ea7ad6318d new clientside image-name to url map: egw.image(_name, _app="phpgwapi")
eg. egw.image('favicon') returns '/egroupware/phpgwapi/templates/default/favicon.ico'
--> pondon to serverside common::image($app,$name) method
2011-08-30 22:19:38 +00:00
Andreas Stöckel
0bb328dc6d Initializing configs variable with empty object, to have code running standalone 2011-08-30 09:15:00 +00:00
Nathan Gray
331cd20bf3 Add base64 functions for communciationg with felamimail 2011-08-29 21:14:09 +00:00
Ralf Becker
4c23b3766e egw API update missed in r36331:
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-28 08:28:53 +00:00
Ralf Becker
a925764fc4 - dynamical (synchronious) loading preferences (other then "common") from server via egw.preference(_name, _app)
- setting preferences on server via egw.set_preference(_app, _name, _value)
- enable calling of active framework / template class via using egw_framework instead of not known used framework class of user, eg. "home.egw_framework.ajax_func.template" instead of "home.idots_framework.ajax_func.template"
2011-08-26 09:34:18 +00:00
Ralf Becker
d295c17e90 fix for community.egroupware.org bug #3027: Open item in element list no longer working 2011-08-26 07:31:18 +00:00
Andreas Stöckel
55bf8f9570 additional check for existance of application in lang array 2011-08-23 17:11:45 +00:00
Ralf Becker
16c6a8d4f9 got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted")) 2011-08-23 16:15:54 +00:00
Ralf Becker
24e34f7927 new clientside API object currently supporting the following methods:
- egw.preferences(_name, _app='common') return preference _name of _app (only common prefs loaded currently)
- egw.open() allowing to open app-entries utilising the link registry, deprecating egw_open from jsapi.js
- egw.lang(_msg, _arg1, ..., _argN) placeholders are not yet implemented
2011-08-23 14:29:56 +00:00
Nathan Gray
1761ea02db Add in jquery.tools form tools 2011-08-17 21:35:22 +00:00
Andreas Stöckel
c999373490 Added possibility for egw_json plugins to be executed in the context of the creator of the request object 2011-08-15 14:26:37 +00:00
Nathan Gray
a30b864ddd Add jqplot for graphing 2011-08-09 23:10:50 +00:00
Andreas Stöckel
2e9104ecea Added dependencies to the egw_action js files 2011-08-03 14:04:30 +00:00
Ralf Becker
04e032e7af fixed problem "found" on www.autosectools.com 2011-08-03 08:29:53 +00:00
Andreas Stöckel
10e5735e16 Allowing mutliple action-link groups to be defined for grid entries. These must be comma seperated. 2011-08-02 11:51:58 +00:00
Klaus Leithoff
09963248f1 * API: upgrade ck editor from v3.3.1 to v3.6.1 (latest release as of June 2011) 2011-08-01 11:48:47 +00:00
Klaus Leithoff
cae37dab26 if there is only a single event in the action, buffer it into/with a window.setTimeout function call, and wait for the trigger to execute and clean up as it does with multiple actions on a target 2011-07-21 10:50:33 +00:00
Ralf Becker
8e83e41263 - improved mobile template: calendar & email sidebox is showing now, removed most of the former css hidden stuff
- fixes jscalendar to work will in sliding sidebox
2011-07-09 16:35:18 +00:00
Andreas Stöckel
44b8c43e1e Fixed keyboard navigation in treeview 2011-07-03 12:33:18 +00:00
Ralf Becker
03e379e570 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Andreas Stöckel
a81e83a6e6 Prevented grid from loading all data when it is not visible 2011-06-26 15:44:08 +00:00
Andreas Stöckel
18f6a20df4 Included accidently commented out setTimeout commands again 2011-06-26 15:06:39 +00:00
Andreas Stöckel
44f73628e2 Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects. 2011-06-26 14:57:05 +00:00
Andreas Stöckel
49e6780f07 Shotcuts are now generated on the server side, made key codes class constans 2011-06-25 14:27:30 +00:00
Andreas Stöckel
42e0b10797 Fixed bug with two many prefetch request (also doubles) - a part of this was caused by a wrong parameter sequence for the queueTimeout function, the other part was caused by the 'hasColumn' function not working correctly. 2011-06-25 13:45:46 +00:00
Ralf Becker
ea6b823bd4 additional parameters _replace and _with for egw_refresh to modify the url, fixed not working update of existing msg parameter 2011-06-24 14:11:37 +00:00
Ralf Becker
ba46b54355 improved exception message 2011-06-24 10:26:46 +00:00
Andreas Stöckel
416ff4787f Fixed bug with SHIFT + Arrow keys not working anymore 2011-06-20 19:25:50 +00:00
Andreas Stöckel
4a1d2cd72c Fixed bug with other jquery drag drop stuff (like sorting apps in the sidebox menu in the stylite template) not working correctly 2011-06-19 11:15:37 +00:00
Andreas Stöckel
bf8437551d Implemented egw_action shortcuts 2011-06-19 10:48:51 +00:00
Andreas Stöckel
f3ccd96f03 Grid and nextmatch aoi now reset the input element focus once a row is clicked 2011-06-16 20:43:33 +00:00
Andreas Stöckel
41c4d4cee4 Enabled toggeling the grid selection with CTRL+A 2011-06-16 17:08:32 +00:00
Andreas Stöckel
1706f0fb22 Added function for removing actionObjects 2011-06-16 17:03:39 +00:00
Andreas Stöckel
28e6ff6920 Implemented executing the default action with the return key 2011-06-16 13:43:46 +00:00
Andreas Stöckel
9db8424e15 Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager. 2011-06-15 20:54:58 +00:00
Andreas Stöckel
1c600b919d Implemented new selectmode in grid, added grid.setSelectmode method to set the selectmode 2011-06-15 16:31:33 +00:00
Andreas Stöckel
085d8bf07f Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it 2011-06-15 15:26:46 +00:00
Ralf Becker
47439899a5 propset svn:keywords Id 2011-06-14 12:35:36 +00:00
Andreas Stöckel
2e457e4b75 Added forgotten keymanager unit 2011-06-14 10:13:47 +00:00
Andreas Stöckel
e03d416fda Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
49ece38c6c Don't send a location header if we currently handle an ajax response/request - use the corresponding json function instead. Doing this on the server side is neccessary as the location header is one of the few ones which is handled by the browser before any XMLHttpRequest event is fired (according to W3C specification) 2011-06-11 21:27:15 +00:00
Ralf Becker
ed8c386a12 using egw_refresh to allow fmail to ignore the saved/deleted message 2011-06-06 15:11:25 +00:00
Ralf Becker
f8d2bd1e6b - introduced preference of type "color"
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Andreas Stöckel
4477efd6dc Added possibility to add/remove css classes from individual grid view rows 2011-06-03 14:08:49 +00:00
Andreas Stöckel
3a8d1e3227 Fixed problem with double click handler not being bound correctly 2011-06-03 11:21:36 +00:00
Ralf Becker
2bba68b575 nicer workaround 2011-06-03 10:14:12 +00:00
Ralf Becker
310b22c172 * workaround for Fennec bug https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=648250 window.(outerHeight|outerWidth|screenX|screenY) throw exception 2011-06-03 09:50:27 +00:00
Andreas Stöckel
0d66fcd9d1 Executing default action on click on mobile devices 2011-06-02 22:53:23 +00:00
Andreas Stöckel
d02c638ca9 Implemented global action manager and object manager, implemented possibility of adding sub-action-managers 2011-06-02 14:48:03 +00:00
Ralf Becker
423a1d9303 new method egw_appWindowOpen(app,url) 2011-06-02 12:37:49 +00:00
Ralf Becker
47e2764da0 new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry 2011-06-02 11:13:41 +00:00
Andreas Stöckel
9eb51b8b74 Removed accidently commited debug message 2011-05-31 20:12:51 +00:00
Andreas Stöckel
fc622875d4 Added forgotten aoi file for dhtmlx menus 2011-05-31 20:10:30 +00:00
Andreas Stöckel
36d2f605cb Fixed problem with an container object returning 'true' for 'getAllSelected', even if it has no children. 2011-05-31 17:02:51 +00:00
Andreas Stöckel
2e84fb63e2 added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables. 2011-05-28 15:24:31 +00:00
Andreas Stöckel
fbb5551dca Fixed problem with requesting already loaded JS and CSS files, fixed problem with icon height not being updated for table rows in IE 2011-05-22 18:42:23 +00:00
Klaus Leithoff
f7cb239a14 if the list is empty/the action object has no children, we do not consider that as allSelected 2011-05-16 12:05:54 +00:00
Nathan Gray
19dd8d19bd Send ajax errors to console.error instead of alert 2011-05-10 14:49:25 +00:00
Andreas Stöckel
3906423d4a Fixed problem with context menu opening into the wrong direction if a vertical scrollbar is available. Notified developers. 2011-05-08 19:57:01 +00:00
Andreas Stöckel
b416719eb8 Fixed issue with drag-onExecute handler not being called 2011-05-07 11:22:23 +00:00
Andreas Stöckel
2f99f7ff79 Fixed problem with dhtmlxMenu overflowing at the top in windows with scroll bars - notified the developers, so this fix is most likely to be included in the next dhtmlxmenu release 2011-05-07 10:32:31 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
af75f60ff4 fixed IE(8) javascript error: "null" is null or not an object 2011-04-24 12:40:06 +00:00
Andreas Stöckel
eab7a5fdcc Fixed issue with menu overflowing on the top 2011-04-23 09:24:11 +00:00
Andreas Stöckel
fcaef1ee58 resolved issues with for-in loop and ie 2011-04-23 09:07:31 +00:00
Andreas Stöckel
f2b739e332 Added additional parameters to the 'enabled' callback (1. the action, 2. an array of action object, 3. the current action object) 2011-04-17 20:27:23 +00:00
Andreas Stöckel
cbf233bccd action type now defaults to 'popup' 2011-04-17 19:10:46 +00:00
Andreas Stöckel
8e9279c7b7 passing new checkbox state to underlying menu implementation after action execution 2011-04-17 17:55:37 +00:00
Andreas Stöckel
7a291d01e8 fixed problem with last commit 2011-04-17 17:51:50 +00:00
Andreas Stöckel
9566b032cf menu now automatically updates checked state 2011-04-17 17:46:09 +00:00
Andreas Stöckel
7ae2588e84 dhtmlxmenu now doesn't autohide after clicking on checkboxes/radiobuttons, click handler can specifiy whether the field should be checked/unchecked 2011-04-17 17:42:04 +00:00
Andreas Stöckel
cb9355ac00 Fixed problems with executeActionImplementation when called from a container object, fixed problem with popup menu which did not open in some cases, added the ability to use the 'enabled' property of an action as an callback function (actionObject is passed as parameter), introduced egwFnct-class which consistently handles 'javaScript:fnct' strings, added 'allowOnMultiple':'only' setting, added 'hint', 'checkbox', 'checked', 'radioGroup' properties to popup actions, added 'setDefaultExecute' function to egwAction objects, which applies an handler to all objects which don't have a handler yet 2011-04-17 15:38:46 +00:00
Andreas Stöckel
c5cd3a354b Fixed serious bug in egw_grid_data.js/egw_grid_common.js which caused prefetching not to work - instead a request was sent for each element. Added possibility to specify an array ids instead of a count for creating a range of egw_grid data elements (see comment for the egwGridDataElement.loadData, fixed bug which caused the 'queued' image to be removed immediately after it was shown. 2011-04-14 20:44:29 +00:00
Andreas Stöckel
6361ee4f4b (Hopefully) fixed a few bugs in the grid: Fixed problem with eventQueue, fixed problem in egwGridViewContainer.getHeight() which caused sorting to break the grid, fixed bug with grid not being generated correctly when being generated in an invisible container. 2011-04-07 19:29:07 +00:00
Andreas Stöckel
ca7dfd3370 Added grid styles to the jerryr template (probably the CSS + the images should be kept in the default theme, but I'm not sure what's the best way to do this), added 'evenQueue' object to grid JS code, which allows you to cancle or postpone JS events connected to it. 2011-04-05 20:23:09 +00:00
Andreas Stöckel
a231863ed3 Implemented grid column sorting 2011-04-01 16:38:31 +00:00
Klaus Leithoff
d7d28e75d5 strip html from caption in selectcols popup 2011-04-01 13:17:48 +00:00
Andreas Stöckel
151da7e0bd Updated code for image overlay on grid entries 2011-04-01 12:49:14 +00:00
Andreas Stöckel
888bbd0051 Added sort header click callback, fixed (minor) bug in column width calculation 2011-03-31 15:04:33 +00:00
Andreas Stöckel
bc25b8a102 Only call the selectCallback once, call it when setAllSelected is called and select the whole row when the checkbox is pre-checked 2011-03-31 12:56:47 +00:00
Andreas Stöckel
b424341afe Added selected change event to grid component, reverted change with drag'n'drop and window.top 2011-03-31 12:17:46 +00:00
Andreas Stöckel
a726d95d0b Fixed bug with grid element position calculation in firefox - firefox uses fractional height values internally but returns them rounded when using offsetHeight - using getComputedStyle when using firefox fixed the issue. 2011-03-30 20:52:02 +00:00
Andreas Stöckel
3111c74eda Fixed selection issues in grid and fixed problem with checkbox data being checked with == and not === 2011-03-30 15:05:58 +00:00
Andreas Stöckel
dde3de5195 Added new column type 'EGW_COL_TYPE_CHECKBOX' 2011-03-30 14:28:49 +00:00
Andreas Stöckel
4b23d7bca2 removed egwGridView_outer margin 2011-03-30 12:28:24 +00:00
Andreas Stöckel
01a50945f5 Fixed bugs with Drag&Drop and IE, improved speed of grid view component by adding an timestamp to the data cells and only updating them if the timestamp has changed 2011-03-25 13:12:24 +00:00
Andreas Stöckel
ded17410ba Added new doTriggerEvent aoi method to grid aoi and fixed bug with scrolling in the grid and dragging 2011-03-24 18:17:27 +00:00
Andreas Stöckel
ba92642c5b Added full drag-drop support to the egw action system 2011-03-24 17:06:44 +00:00
Andreas Stöckel
bbe645ee02 Added data property to egwAction, fixed bug in popup menu group generation 2011-03-23 20:08:33 +00:00
Andreas Stöckel
0b2168e924 Fixed bug in egwActionObject.selectAll function which caused the internal 'selectedChildren' array to be a reference to the children array and resulted in the children array being destroyed. 2011-03-23 14:36:25 +00:00
Andreas Stöckel
e0d40e649b Moved most code of the JS actionManager class to the action object itself, so that every action object might have child object if the action implementation allows that. Added support for sub-actions for actions representet as popup menus 2011-03-23 14:05:39 +00:00
Andreas Stöckel
afcf96a3cd Added egw_grid_columns class which is capable of managing the grid columns of a certain grid and to store, load and merge the user columns data into the default column set 2011-03-22 14:00:03 +00:00
Andreas Stöckel
0f5a354a12 Removed forgotten debug messages, added support for maximum column width to egw_grid_columns.js 2011-03-21 17:27:09 +00:00
Andreas Stöckel
67575e1cd1 Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js 2011-03-21 16:12:28 +00:00
Andreas Stöckel
07daeda81e Fixed bugs in the grid component with resizing not working properly and column width being not in sync with header width. This has been done by using a dynamic stylesheet for the column properties instead of changing the properties for each element individually. 2011-03-18 18:04:56 +00:00
Andreas Stöckel
e19cc44fcb Removed base64-encoding from egw_instant_load.html, added code to egw_json which inserts script tags seperately when content is assigned to the innerHTML property 2011-03-17 18:00:24 +00:00
Andreas Stöckel
d7e1028513 Fixed problem with directly loading iframe content in felamimail - added egw_instant_load.html which allows replacing its whole content with (base64 encoded) content and (in difference to data:text uris) works with IE and allows cross-frame JS interaction 2011-03-17 14:11:43 +00:00
Andreas Stöckel
65610b5fed Updated jquery to newest, minified version 2011-03-16 17:50:53 +00:00
Andreas Stöckel
ebd6031ecf Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code 2011-03-16 17:50:25 +00:00
Andreas Stöckel
fa12444ae7 Moved contents of egw_vfs_utils to egw_vfs, added 'egwGridViewFullRow' class to the egw_grid_view.js, which is capable of inserting a data row which spans all columns, added egwGridData.clearData method to egw_grid_data.js, which delets all data stored in the data row 2011-03-15 17:52:08 +00:00
Andreas Stöckel
e7bd5a4813 Modernized grid design a bit, added auto triggering of the default action to the popup action, added simple action-binding to the egwGrid 2011-03-14 20:11:08 +00:00
Andreas Stöckel
ece9ad4047 Removed test rule from the CSS 2011-03-14 12:45:28 +00:00
Andreas Stöckel
ae453db400 Fixed thumbnail generation for application folders, added egw_stylesheet.js, which allows the dynamic generation of a stylsheet. This is now used in the egw_grid_view.js to keep the row caption in the same distance from the icon - depending on the maximum icon width. 2011-03-14 12:42:59 +00:00
Andreas Stöckel
c77069d0af Reduced thumbnail filesize limit in egw_vfs_utils.inc.php which was increased for testing purposes, fixed bug with container position calculation in deeper levels in egw_grid_view.js, which affected inserting new grid rows 2011-03-14 09:36:59 +00:00
Andreas Stöckel
943f369cce Fixed bugs in the grid view js code (changes in the test_grid_view.html are for debugging purposes only), added class.egw_vfs_utils.inc.php which will contain high-level vfs functionality which was previously hidden inside etemplate and the filemanager, such as generating the thumbnail url for a file. 2011-03-13 20:54:16 +00:00
Andreas Stöckel
49909211f1 Added forgotten egw_grid_columns.js 2011-03-11 10:20:01 +00:00
Andreas Stöckel
57aaf6d756 Dynamic loading of content tested and optimized, resolved bugs, implemented support for data trees in the view classes. The whole progess can be seen in the test/test_grid_view.html file. 2011-03-10 20:58:35 +00:00
Andreas Stöckel
c7122b1006 Basic grid functionality including dynamic generation of grid rows is now working in all browsers
and performs quite well (just some non-objective data):

Lines    | IE 7/8     | FF        |  Chrome
---------------------------------------------
1000     | fast       | very fast | very fast
10000    | ok         | fast      | very fast
100000   | still ok   | ok        | fast

(Performance might still be optimized but this does not really help right now).

The code for dynamic data loading has been written but still has to be tested.

Work which still has to be done to have a fully functional grid view:
- Data columns have to be generated correctly
- Displaying trees has to be tested, but should work more or less out-of-the-box due to the design of
  the grid containers
- Client side manipulation of data (sorting/filtering...) - most functionality is already there but not
  yet used (will be tested alongside with the filemanager)
2011-03-09 22:16:41 +00:00
Andreas Stöckel
dd8a8eab45 Implemented framework for dynamically inserting grid rows into the DOM tree and a very simple test for it 2011-03-07 16:53:43 +00:00
Andreas Stöckel
ae7987264e - Added working egw_grid component including test and documentation, codebase will be used to replace the nextmatchWidget in etemplate2
- Improved egw_action.js:
	- Bugfixing regaring handling of egwActionObjects organized in trees (hasn't been tested before)
	- Improved egwActionObjectInterface interface and functionality: AOIs can now mark themselves as invisible/visible and request the action objects to reconnect the action implementations
	- Action objects do now automatically register the action implementations
	- Vastly improved speed when working with huge amounts (> 500) of objects organized in trees (as done in the grid test)
	- Improved egwActionObject functionality: Added new functions regarding selecting groups of objects
2011-03-02 21:18:20 +00:00
Andreas Stöckel
419c2af704 Added toggleSelectAll functions, improved egw_action_popup, tested, fixed some bugs 2011-02-26 20:40:27 +00:00
Andreas Stöckel
9e38d4e030 Added some forgotten files 2011-02-26 19:21:55 +00:00
Andreas Stöckel
1f751b452a Implemented egw_popup_action, tested, got it working with IE 2011-02-26 18:04:28 +00:00
Andreas Stöckel
49770971ce First test with egwActionObjectInterface for a listbox-like representation of egwActionObjects (test_action.html), fixed bugs in egw_action.js which occured during testing. 2011-02-24 21:39:05 +00:00
Andreas Stöckel
53a041c488 Finished implementation of the abstract egwAction interface - now going to test it 2011-02-24 19:00:47 +00:00
Andreas Stöckel
e416c61890 Backup of current development stage 2011-02-24 16:10:11 +00:00
Andreas Stöckel
1866dd1c43 (Hopefully) fixed broken SVN Id tags 2011-02-23 20:18:56 +00:00
Andreas Stöckel
e2c9cd49cc Initial commit of the current JS implementation of the egw_action system, which will later be used to create context sensitive menus and drag and drop capabilities. The egw_menu.js/egw_menu_dhtml.js files are fully functional (see test in the test dir), implementation of egw_action.js has just started and not even a single line of that has been tested yet. 2011-02-23 18:24:16 +00:00
Andreas Stöckel
0d88ac8799 Reversed most changes made for egw-stylite #8295, commited changes proposed by Ingo Ratsdorf in egroupware.org #2834, probably fixes egroupware.org #2831 2011-02-04 14:28:12 +00:00
Andreas Stöckel
0f0e57f398 Got remote applications in the jdots template finally working as they should - this unfortunately required a lot of 'dirty' hacks, as egroupware had not been designed to do this. So e.g. there had to be a litte bit code added to the login page, which prevented it from redirecting to a page with a full framework rebuild. 2011-01-20 14:11:47 +00:00
Ralf Becker
b603b7605c removed not longer used ckeditor.egwconfig.js 2011-01-06 00:01:17 +00:00
Ralf Becker
6e8e8a8986 * JSCalendar: fixed week containing 4th Jan is shown as 52th instead 1st week, if week starts on sunday is selected
JSCalendar shows iso8601 week numbers as used eg. in Europe, which are defined for weeks starting on Monday, JSCal used first displayed day (not Monday) to calculate the week number
fix now always uses the Monday to set the week number
US, Canada and middle east uses uses a different week numbering schema than iso8601, which is currently NOT supported by JSCalendar or EGroupware!
2011-01-05 02:34:16 +00:00
Ralf Becker
ccfa98ff9f new method to refresh an egroupware applications view, with the possibility for the application to overwrite the default handing of reloading everything 2010-12-28 03:02:49 +00:00
Klaus Leithoff
6476c7af39 allow upper case window names too 2010-11-22 14:47:10 +00:00
Ralf Becker
e68255167e IE fails, if windows name in egw_openWindowCentered2 contains something no a letter, number or underscore --> removing it 2010-11-17 12:31:13 +00:00
Ralf Becker
4429ffa4b9 add dhtmlxMenu as context menu for dhtmxTree 2010-10-18 19:25:33 +00:00
Ralf Becker
351151bd5f fixed wrong case after update 2010-10-18 10:01:46 +00:00
Ralf Becker
f779454f4c only provide old pathes for old functionality, new code can use new path dhtmlxTree/codebase 2010-10-15 16:16:07 +00:00
Ralf Becker
197fdee2a4 updated dhtmlxtree to version 2.6 2010-10-15 10:04:07 +00:00
Ralf Becker
77bede9db4 removed dhtmlxtree 1.2 to import current version 2.6 2010-10-15 10:02:33 +00:00
Ralf Becker
d7d719a73d do NOT return buttons, unless they are pressed 2010-10-12 13:56:40 +00:00
Nathan Gray
8728ba5512 - Implement request.abort() to cancel a request
- Check that the response is there before trying to access a key inside it
- Don't return null for encoding 0
2010-08-10 14:58:54 +00:00
Andreas Stöckel
408a9ece4f Fixed typo which prevented IE js load from working correctly 2010-07-21 10:52:18 +00:00
Andreas Stöckel
9615c33fe8 Fixed JS loadFinished notification on IE 2010-07-21 10:26:54 +00:00
Andreas Stöckel
70319aefd6 Added some docu and checks for console.log being defined 2010-07-20 10:54:56 +00:00
Andreas Stöckel
7ad65804d5 Added onLoadFinish event to egw_json_response on the js side, which gets triggered when all javascript code which should be included has been loaded and evaluated on the client 2010-07-20 10:20:32 +00:00
Nathan Gray
80706f34b7 If error details are included, show them in the log 2010-07-09 13:00:46 +00:00
Andreas Stöckel
b5e33eab09 - Fixed etemplate input dirty handling
- Now generating an widget object tree in widget.js
- Added generic response to egw_json
- Moved "getFramework" function to jsapi and renamed it to "egw_getFramework"
- Added plugin system to egw_json
- Transformed the jQuery "replaceWith" call form class.etemplate_form.inc.php into an own json plugin
- Fixed label creation for et_html
2010-07-08 12:03:13 +00:00
Andreas Stöckel
0867ed78d8 Added missing console.info dummy function 2010-07-01 13:52:55 +00:00
Andreas Stöckel
47a7fc9337 - Added "beforeSubmit" callback handler to the PHP json class
- Added "clientCall" and "clientSetOption" function to the base etemplate widget class
- Got the client side HTML area widget work with the new functions described above
2010-06-30 09:13:17 +00:00
Andreas Stöckel
23a87dc2f9 Updated ckeditor to new version 2010-06-25 10:27:42 +00:00
Andreas Stöckel
7520c468c7 Moved egw_seperateJavaScript to jsapi 2010-06-22 14:39:27 +00:00
Ralf Becker
bf7b241b0c Added error message, if ajax request failed 2010-06-22 10:19:33 +00:00
Andreas Stöckel
01826c38b2 Added exception and error messages to egw_json 2010-06-21 08:39:21 +00:00
Andreas Stöckel
262460ac0c Added ability for restricting the jquery context when the request is made 2010-06-18 14:23:51 +00:00
Andreas Stöckel
3da1f7b585 Added includeScript and includeCSS functions to json classes 2010-06-18 08:36:33 +00:00
Ralf Becker
7d44c81805 fix/workaround for bug #2658 - Monthview navigation issue with Google Chrome (Linux 5.0.x beta)
see http://code.google.com/p/chromium/issues/detail?id=43973
2010-06-17 10:38:47 +00:00
Andreas Stöckel
c953709866 - Added server side implementation of application sorting
- Filtering "remove"-function from arrays before sending them via json
2010-06-16 12:07:50 +00:00
Ralf Becker
b576d88a5f got sending of only dirty form elements working, thought I am not happy with it 2010-06-16 07:30:16 +00:00
Andreas Stöckel
631c19a83e Added ability to filter elements in egw_getFormValues by a css class 2010-06-15 15:27:04 +00:00
Andreas Stöckel
c4ed458d53 Made egw_json_getFormValues a global function 2010-06-15 09:47:39 +00:00
Andreas Stöckel
aca6fc8c5d Fixed compatibility issues with IE 2010-06-14 16:04:39 +00:00
Andreas Stöckel
ee9e4c4d47 Removed debug message 2010-06-11 15:10:39 +00:00
Andreas Stöckel
740bff5557 Added escaping for json strings 2010-06-11 15:06:13 +00:00
Klaus Leithoff
4795658fec for egw_openWindowCentered return a WindowID by default 2010-06-11 12:31:29 +00:00
Andreas Stöckel
4b108026c6 Fixed problem with generation of numerical indices in _egw_json_getFormValue, using the new global parameter of egw_json_response.redirect in json.php 2010-06-11 10:23:13 +00:00
Andreas Stöckel
04267ed34d Added handling for global redirect and handling of ?cd=10 in redirect url, which should trigger the url to be loaded inside the top window 2010-06-11 08:08:07 +00:00
Ralf Becker
bcdc505f5a returning something, replaces whole window in FF, if used in link as "javascript:egw_openWindowCentered2()" 2010-06-10 17:26:00 +00:00
Andreas Stöckel
ad1c1f1f06 Added 'jquery' method to the json handler which allows it to call functions of jquery object from the server 2010-06-10 12:24:50 +00:00
Andreas Stöckel
bd023081e6 Fixed handling of json requests using etemplate.process_exec and fixes in the json encoding of hierarchical values 2010-06-10 10:33:00 +00:00
Andreas Stöckel
d4549782e5 Removed debug message 2010-06-10 09:33:55 +00:00
Andreas Stöckel
918d086eed Fixed correct handling for form element names with square brackets in xajax.getFormValues, added egw_json_request.getFormValues method 2010-06-10 09:33:00 +00:00
Ralf Becker
d897357e7f upps, missed some comments 2010-06-10 07:18:39 +00:00
Ralf Becker
4da762e40e removing xajax, as we no longer need it (get emulated by our new json stuff) 2010-06-10 06:59:54 +00:00
Andreas Stöckel
de5c558015 Fixed errors with non-defined "tree" element in xajax responses in felamimail 2010-06-09 14:41:53 +00:00
Ralf Becker
feaab09818 calling jquery as part of a response, eg. ->call('#123','addClass',array('valid')); 2010-06-09 14:41:40 +00:00
Andreas Stöckel
7eb21252af Removed code which might interrupt XAJAX from working 2010-06-09 13:52:38 +00:00
Andreas Stöckel
506d9753be Rewrote encoding of the json code, prevented "script"-handler from breaking on errors 2010-06-09 13:24:59 +00:00
Nathan Gray
9d4c60bc42 Use a javascript object instead of building a JSON string 2010-06-09 12:39:32 +00:00
Nathan Gray
b5179882ab Add a check to handle being called from inside a frame 2010-06-09 10:40:17 +00:00
Andreas Stöckel
57e54c8c27 Removed behaviour of jscalendar, which removed drop-down boxes even if the calendar was not in popup mode 2010-06-07 09:32:59 +00:00
Klaus Leithoff
00bbad90c5 changed BulletList to BulletedList in ckeditor.egwconfig.js 2010-06-07 09:21:51 +00:00
Andreas Stöckel
75651489a7 Allowed empty content to be returned from the server 2010-06-04 15:22:01 +00:00
Andreas Stöckel
718264c6e7 Added egw_appWindow funtion to jsapi 2010-06-04 12:16:13 +00:00
Andreas Stöckel
7b2aedddb3 Renamed the alert handler to egw_alertHandler 2010-06-04 08:16:45 +00:00
Klaus Leithoff
97b1130a36 -added aspell as plugin, as it is not available by default anymore.
phpgwapi/js/ckeditor3/plugins/aspell
-changed phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/spellchecker.php
 to allow only configured aspell, tmp dirs and language settings
-removed other than php spellchecker pages from phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/
-added toolbar options to reflect the use/change of calls of SpellCheck(er) via toolbar button
configure options for CKeditor to use aspell (if available) or/and scayt
2010-06-02 15:22:14 +00:00
Andreas Stöckel
ca263fc6d8 - Rewrote redirect function
- Setting the webserver url in head
2010-06-02 08:10:43 +00:00
Ralf Becker
a3bb4afe1b documenting and adding exception and redirect handler to json handler 2010-06-01 18:54:31 +00:00
Andreas Stöckel
0c243b49a3 - Updated JS and PHP egw_json code
- Added array_stripslashes() to common_functions.inc.php
- Added json handler (json.php)
2010-06-01 14:20:55 +00:00
Andreas Stöckel
2bbe2e1203 Added PHP and JS JSON libraries for replacement of XAJAX 2010-06-01 12:38:41 +00:00
Andreas Stöckel
3573571852 Renamed and moved jQuery javascript files 2010-06-01 12:09:36 +00:00
Andreas Stöckel
f35a2088a6 Added a first copy of jquery 2010-06-01 09:56:30 +00:00
Klaus Leithoff
226908f7ab enable toggling of plain to CKEDITOR in felamimail; documenting changes to ckeditor with phpgwapi/js/ckeditor3/egw_integration.txt 2010-05-27 14:37:37 +00:00
Andreas Stöckel
c95d5fe04b Added support for the new CKEditor 3.2.1 2010-05-25 07:50:10 +00:00
Andreas Stöckel
519a80a8f8 Removed the not needed _samples directory from ckeditor3 2010-05-21 12:04:04 +00:00
Andreas Stöckel
ffa48c7c40 Committed CKEditor 3.2.1 stock version 2010-05-21 11:51:40 +00:00
Andreas Stöckel
16d9b79965 Fixed bug with FCKEditor and Safari in which the fck editor area isn't maximized 2010-05-19 11:30:15 +00:00
Andreas Stöckel
95891c869f Added some JavaScript-Code to the date selector which handles clicks on the "Today" button 2010-05-18 09:17:54 +00:00
Andreas Stöckel
8a6b862489 Removed code from wz_tooltip.js which removed all html "title" properties from the page on some occasions 2010-05-17 13:52:15 +00:00
Klaus Leithoff
8d5e509672 fix another tooltip problem (tooltips at the edge of the screen get misplaced) provided by andreas stoeckel 2010-04-16 13:48:36 +00:00
Klaus Leithoff
c93b76987a enable create of recurreence for weekdays only for recur_type weekly (conditional enabling/disabling weekday selection area) provided by andreas stoeckel 2010-04-16 13:24:58 +00:00
Klaus Leithoff
fb747b3a97 fix flickering of calendar tooltips, fix oversized space reservation for small tooltips: provided by andreas stoeckel 2010-04-16 12:40:02 +00:00
Klaus Leithoff
15609abbf4 work provided by Chr.Fueller to tackle oversized events in calendar-week-print-pre-view 2010-04-09 14:15:00 +00:00
Nathan Gray
af9df0faf4 Fix for possibly undefined variable 2010-03-26 16:47:31 +00:00
Ralf Becker
f7f54b0e1c remove not used non-php server scripts 2010-03-07 10:23:08 +00:00
Ralf Becker
34f2a64b51 updated integration docu 2010-02-13 04:35:54 +00:00
Ralf Becker
22630b849a fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 01:19:27 +00:00
Klaus Leithoff
3ac8b33231 move the ie dropdown menu hack to jsapi, make it an preference, so you can switch it off, if it does not work for you 2010-02-12 09:04:44 +00:00
Ralf Becker
27c2de1986 re-adding default width of 300px, I missed when updating the class 2010-01-24 02:29:29 +00:00
Ralf Becker
4600c7cb38 Imported latest version of wz_tooltips (5.31) as they no longer need to
process the whole dom tree to enable the tooltips.
(Also made the changed from r23372 again)
2010-01-17 03:20:45 +00:00
Ralf Becker
65aa5f8740 using new xajax version 0.5, thought automatically defining all pre 0.5 response functions, so no changes in EGroupware callbacks necessary, everything should work as before 2010-01-07 23:39:17 +00:00
Ralf Becker
3de4879a18 "not treating newer Safari with old KHTML handling, as it unnecessary hides overlaped selecboxes and NOT restores them" 2009-11-25 20:25:18 +00:00
Ralf Becker
221473ce0f make dynamic resizable sidebox width app specific 2009-11-18 20:00:26 +00:00
Klaus Leithoff
4c12282716 added copy and paste block to fckeditor to all egwconfig configurations, if not available 2009-10-01 10:28:40 +00:00
Ralf Becker
a81931ca08 removed not used javascript files 2009-07-07 09:58:20 +00:00
Klaus Leithoff
6570199588 remove baseconfig for unneeded connectors 2009-07-07 09:06:11 +00:00
Klaus Leithoff
b09f75d839 remove baseconfig for unneeded connectors 2009-07-07 09:05:21 +00:00
Klaus Leithoff
b0efbe2637 upgrading to 2.6.4.1, removing _samples and unneeded connectors 2009-07-07 08:58:12 +00:00
Klaus Leithoff
a1a5d156a9 a couple of lines of more documentation, about the how to enable aspell integration 2008-10-09 08:55:03 +00:00
Klaus Leithoff
b12f35a56d fix for [eGroupWare-tracker] Bugs #1750: FCKeditor dont use the aspell path from config
-documenting the needed skripting for the configured aspell path in egw_integration.txt
-re-imported spellcheck (aspell) integration from Jose
-switching aspell integration on in fckconfig.js, as documented in FCKeditor_2.x/Developers_Guide/Configuration/Spell_Checker
2008-10-09 08:52:29 +00:00
Klaus Leithoff
260ce05397 update to FCK 2.6.3, please note: you probably have to delete your browser cache!
this should fix the <br type="_moz"> bug.
-added the about button in all egw_config settings, as it enables the user to check the version of the editor
-added the show-blocks button in all egw_config settings, as it enables the user to check the structure elements of his document
2008-10-08 10:16:30 +00:00
Klaus Leithoff
ace6deee7b fix for a "too much recursion" JavaScript error in calendar.js, when the user tries to pick another year; the fix was taken from dynarch.com
provided by a user named ilyaf. Thanks,
2008-08-11 08:01:28 +00:00
Ralf Becker
e2d0b93353 re-imported spellcheck (aspell) integration from Jose 2008-04-15 19:25:04 +00:00
Ralf Becker
b0ebb4d0d8 re-added exidently removed images ;-) 2008-04-15 12:38:45 +00:00
Ralf Becker
e4401d7f41 update to FCK 2.6, please note: you probably have to delete your browser cache! 2008-04-15 12:15:22 +00:00
Ralf Becker
256163ba98 "check for a valid eGW session" 2008-04-15 08:04:26 +00:00
Ralf Becker
a58cd51617 "- remove index.{html|php} added by apache, which causes the upload/browsing in some apache configs to fail
- check for a valid eGW session"
2008-04-15 08:04:11 +00:00
Ralf Becker
30c265a5c7 "remove index.{html|php} added by apache, which causes the upload/browsing in some apache configs to fail" 2008-04-15 08:02:13 +00:00
José Luis Gordo Romero
71d98434fe Enabling the new prefs & admin settings in fckeditor html class function 2007-12-20 06:15:56 +00:00
José Luis Gordo Romero
181085c4a7 Adding Fckeditor 2.5 to trunk 2007-12-17 17:58:19 +00:00
José Luis Gordo Romero
0bbb81840d Deleting fckeditor in order to import 2.5 adapted 2007-12-17 17:50:14 +00:00
Klaus Leithoff
f0f3152222 the splitting with a complex regex for the parseDate does not work with old javascript. reworked it so splitting is done possible (date) delimiter by delimiter 2007-06-15 13:55:04 +00:00
Lars Kneschke
defef645e2 disabled context menu in simple view to enable FF2 and IE7 spellchecker 2007-05-09 15:37:25 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
354c637baa removed tinymce as we have now fck 2007-05-02 14:37:50 +00:00
Lars Kneschke
eb73971453 enter creates linebreak, shift-enter creates paragraph in fckeditor now. decided by ralf and me 2007-04-30 07:55:01 +00:00
Lars Kneschke
2862da3993 make linebreak when pressing enter and not paragraph
this modification got lost, when updating to the latest version of fckeditor
2007-04-30 04:38:31 +00:00
Ralf Becker
1bee3ca929 removed 'funny' char's in fckeditor*.php, which show up on non utf-8 installation in felamimail 2007-04-26 16:51:12 +00:00
Ralf Becker
1600dc906e fixed not working browsing or upload, if eGW is not installed in the docroot, which is our default, also fixed a double // in the path 2007-04-17 14:16:21 +00:00
Ralf Becker
5aad1fc35a "rearanged t features and layout of eGW's toolsbars a bit for more consitensy and extended the extended mode" 2007-04-14 16:56:04 +00:00
Ralf Becker
ba75b6761a "enabling upload, otherwise it cant work" 2007-04-14 16:52:30 +00:00
Ralf Becker
9495ece599 synced Connys FCKEditor import from 1.4 2007-04-14 12:21:09 +00:00
Cornelius Weiß
9f2f7f6d4f Patch from Jose: sitemgr / wiki file upload from fckeditor.
"Attached a small patch on fckeditor that leaves our url passed exact (from site pref), removes the append of file type"
2007-02-23 08:38:24 +00:00
Christian Binder
0d9ed45db1 migrated resizeable sidebar to common dragdrop class. This prevents breaking jscalendar on internet explorer and other DHTML incompatible browsers 2007-02-05 19:28:38 +00:00
Christian Binder
1b4f5c88c7 applied eGW specific changes: some colors and width 2007-01-31 22:37:17 +00:00
Christian Binder
25a02eeabe bringing wz_tooltip.js 3.45 into the trunk branch 2007-01-31 22:34:31 +00:00
Christian Binder
e277471b7b removing old wz_tooltip.js 2007-01-31 22:33:54 +00:00
Christian Binder
249dec935d applied eGW specific changes: possibility for a focus on DHTML objects and performance issues for ADD_DHTML 2007-01-31 22:21:34 +00:00
Christian Binder
6fabf1a79c bringing wz_dragdrop.js version 4.87 into the trunk branch 2007-01-31 22:17:34 +00:00
Christian Binder
e3f08938b8 removing old wz_dragdrop.js 2007-01-31 22:17:18 +00:00
Christian Binder
5c303760c3 me against svn :-( 2007-01-31 22:12:25 +00:00
Christian Binder
ce54744ee7 bringing wz_dragdrop.js version 4.87 into the trunk branch 2007-01-31 22:09:27 +00:00
Cornelius Weiß
97336c3cac applay path #298 from Jose Luis Gordo Romero: sitmgr, api tiny->fck 2007-01-18 18:00:01 +00:00
Cornelius Weiß
1eb9dbe961 applay path #298 from Jose Luis Gordo Romero: sitmgr, api tiny->fck 2007-01-18 17:59:28 +00:00
Oscar Manuel Gómez Senovilla
28fa81a805 spanish tinymce translation 2007-01-14 20:51:18 +00:00
Christian Binder
4a0af9f977 dragdrop: make class aware of multiple instances and make wz_dragdrop::ADD_DTHML() more performant 2007-01-05 13:56:28 +00:00
Christian Binder
6f78261f7f modified walter zorns wz_dragdrop.js to have a defined focus on the draggables (e.g. top left or center center) - sent these changes to walter zorn as he thought himself about implementing that, set calendar events to focus now on top center with a border of 2 pixels to make dragging more logical for the user - modified dragdrop class to take focus as e.g. 'top left 5' focuses draggable on top left with a border of 5 pixels inside 2006-12-23 10:13:51 +00:00
Lars Kneschke
e186062d63 * don't display spell check button (needs some cleanup on server side) 2006-11-07 18:21:18 +00:00
Lars Kneschke
8a0f08b54f * initial import of fckeditor
* added function to add fckeditor instead of tinymce
2006-11-07 18:18:22 +00:00
Christian Binder
29ee0ffbeb new wz_dragdrop.js (v4.85) 2006-11-05 09:58:13 +00:00
Christian Binder
9f7e22754c removed old wz_dragdrop.js version 2006-11-05 09:52:35 +00:00
Cornelius Weiß
70e9f4f0bc remove never used spechial ie javascript 2006-10-27 10:05:31 +00:00
Ralf Becker
3b589d43cf not used anymore 2006-10-07 10:59:19 +00:00
Cornelius Weiß
91db5f97c7 remove htmlarea as it is replaced by tinymce 2006-08-22 12:20:25 +00:00
Cornelius Weiß
d7a7cc8d49 add filemanager plugin for new version of tiny_mce 2006-08-22 06:30:52 +00:00
Cornelius Weiß
6d48818f08 add version 2.0.6.1 of tinymce 2006-08-21 19:26:21 +00:00
Cornelius Weiß
9e80148276 remove old tinymce version 2006-08-21 19:24:18 +00:00
Lars Kneschke
45389f45f4 update to new xajax version 2006-08-16 03:29:25 +00:00
Lars Kneschke
4f4554bc18 changed fontsize from 12 to 11 2006-08-16 03:28:33 +00:00
Pim Snel
1f99dafd1b created makefile and instructions for crunching the tinymce.js file
add ttkcruncher to for crunching javascripts
2006-07-06 20:39:08 +00:00
Ralf Becker
11ce7b455d fix from DHTMLx Team <dhtmlx-AT-scand.com> modified by me to fix the wrong alignment of open folders in Konqueror 2006-03-20 19:13:15 +00:00
Ralf Becker
f219bf221e updated dhtmlXTree to version 1.2 2006-03-19 17:51:23 +00:00
Oscar Manuel Gómez Senovilla
a15e4d73c7 bug 1391354 2005-12-27 18:52:16 +00:00
Oscar Manuel Gómez Senovilla
15b3d1fc9f spanish tinymce translation 2005-12-05 01:33:44 +00:00
Cornelius Weiß
d13a6c3ab9 fix: folder mime now also resides in api template folder 2005-11-20 16:16:08 +00:00
Lars Kneschke
99b3049254 removed the unneded 5th parameter 2005-11-20 14:19:29 +00:00
Cornelius Weiß
2e1d4cbc59 fixes:
- handle wrong user inputs on filemanger url and dirs
- get mimes from phpgwapi
2005-11-16 10:53:38 +00:00
Cornelius Weiß
d78f9d83da *** empty log message *** 2005-11-16 10:45:22 +00:00
Ralf Becker
8591e3ce8b egw_openWindowCentered2, which allows to specify if you need a status-line or not 2005-10-24 07:29:12 +00:00
Cornelius Weiß
ac86dc76e6 Image_transfor is now dual licensed
lets use upload_url as index
2005-10-11 22:16:35 +00:00
Ralf Becker
dff8648c7e tinymce uses now the eGW translation system:
- translations of tinymce itself and all plugins are done by langs/lang.php
- existing tinymce translations have been imported into the phpgwapi lang files
2005-10-10 23:20:11 +00:00
Cornelius Weiß
377869146c remove old code
moving and renaming is the same
2005-10-08 09:12:59 +00:00
Cornelius Weiß
4a5902ff92 a nice filemanager for tinymce 2005-10-07 18:23:58 +00:00
Lars Kneschke
559936fa29 make the settings of the active tab from the GET value working under IE6 too 2005-09-23 16:26:26 +00:00
Lars Kneschke
4114f10419 added some more useful functions
the IE part still needs some work
2005-08-28 20:32:15 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Pim Snel
14d38f1667 fix cvs keyword 2005-07-01 13:29:35 +00:00
Pim Snel
f68aee9c82 Add TinyMCE, the future htmlArea Replacement. A clean WYSIWYG editor see tinymce.moxiecode.com/ for more info 2005-06-21 19:21:23 +00:00
Pim Snel
94306102b4 *** empty log message *** 2005-06-21 19:01:57 +00:00
Pim Snel
19bb84b882 Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor see tinymce.moxiecode.com/ for more info 2005-06-21 18:55:36 +00:00
Pim Snel
26c5ed537a Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor see tinymce.moxiecode.com/ for more info 2005-06-21 18:45:19 +00:00
Pim Snel
48c35027cb *** empty log message *** 2005-06-21 18:43:31 +00:00
Pim Snel
a623d43816 Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor see tinymce.moxiecode.com/ for more info 2005-06-21 14:41:37 +00:00
Pim Snel
8b6404cbc2 Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor
see tinymce.moxiecode.com/ for more info
2005-06-21 13:12:29 +00:00
Pim Snel
17710c20ab Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor
see tinymce.moxiecode.com/ for more info
2005-06-21 13:02:36 +00:00
Cornelius Weiß
64bac3df0f allow all apps to use UploadImage plugin in htmlarea 2005-06-21 12:27:42 +00:00
Cornelius Weiß
adaa4fb4a9 2 slashes are one to much ;-) 2005-06-20 17:46:13 +00:00
viniciuscb
70e7091322 Fixes in htmlarea... reverting to previous version by now 2005-06-19 13:37:50 +00:00
Ralf Becker
a9d1b9f5b4 Reverted to previous jscalendar version, as the new imported one does NOT include the patches we use (eg. in the calendar or for the Mac support). This need to be merged first. 2005-06-19 10:44:54 +00:00
viniciuscb
e600ee01c7 Tablesort javascript file 2005-06-18 22:16:21 +00:00
viniciuscb
fd25fbdc03 Missing javascript files 2005-06-18 22:15:15 +00:00
viniciuscb
14f993f248 Addition of some javascript files, for functionalities explained earlier. 2005-06-18 22:09:31 +00:00
viniciuscb
0a28f3812e Some changes:
- Inclusion of the following javascript directories:
  * Connector: javascript object to interface xmlhttprequest object. This object allows
      asynchronous posts and support for messages while this post is being done, such as
      "wait, contacting server", etc.
  * JsAPI: general javascript functions and methods
  * jsolait: performs conversion from a xmlrpc message to a javascript object
  * xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
  * dynapi: cross-browser class to draw layers

- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
  change in phpgw_vfs2_files table in handling of modified files.

- Upgrade of vfs2 classes and PclZip class

- Changes in javascript object and common object to allow the javascript backend to
  applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Cornelius Weiß
1a0f3ab29c - htmlarea plugin "UploadImage" works now together with sitemgr.
- In sitmgr ->configure-site you can now specify a directory where images should be uploaded
2005-06-17 17:26:25 +00:00
ak703
9172c8606e remove border from jscal style blue to be able to define border while embedding.
Make integration in sidemenu, or wherelse, more configurable.
2005-01-13 00:11:35 +00:00
Ralf Becker
f0d65a40f3 added content-type header with correct charset to override the webservers default 2004-11-15 08:51:18 +00:00
raphaelpereira
465041f39c These are the JS classes ContactCenter uses on its interface.
dJSWin -> Javascript Window
dTabs  -> Javascript Tabs Manager
dftree -> Javascript Tree View
wz_dragdrop -> base DHTML manipulation lib
2004-11-05 22:54:41 +00:00
Pim Snel
cca7bc4085 sevral fixes for IE and Mozilla 2004-10-08 10:15:51 +00:00
Pim Snel
b7d77a8588 fix contextmenu bug when in which occures when in scrolling down in Gecko 2004-10-07 15:34:17 +00:00
Pim Snel
9667feeebf htmlarea.js 2004-09-28 21:30:52 +00:00
Pim Snel
2a5bd05ad0 UploadImage now works in IE too,
Code cleanup
IE resizing bug fixed
2004-09-28 21:06:25 +00:00
bgigon
1aaeda43be Fixbug under MacOS
(Omar Boumeddane)
2004-09-28 12:33:22 +00:00
Pim Snel
80cd655e2c - made UploadImage finally working
- integrated with egroupware using appsession vars
- added max sizes when uploading
- added this CHANGELOG
- added the README for developer instructions
- checked copyrights
- changed icon
2004-09-20 20:40:50 +00:00
Ralf Becker
67c4d01b38 integrated the HTMLarea plugins into the eGW translation system 2004-08-29 01:27:22 +00:00
Ralf Becker
da2755de9a integrated the HTMLarea plugins into the eGW translation system 2004-08-29 01:26:17 +00:00
Lars Kneschke
87fd7d1d05 fix for Bug: [ 1009099 ] Unable To Add Project 2004-08-25 20:57:31 +00:00
Ralf Becker
f827b8a29b removed str.replace with anonymous function, as suggested by benjamin 2004-07-20 13:44:30 +00:00
Ralf Becker
c7280a44a9 created new colorpicker for eGW based on the one from htmlArea 2004-07-12 18:50:39 +00:00
bgigon
959740dd9f FixBug for Safari (Mac) 2004-07-12 09:39:54 +00:00
Ralf Becker
2914721a58 re-added support for old (pre 7.5) opera 2004-07-08 09:42:19 +00:00
Ralf Becker
aac320dbb4 re-added ie5 support benjamin removed - I hope by acident ;-) 2004-07-07 15:05:34 +00:00
Ralf Becker
bd8b16249b killed debug message left in source 2004-07-07 15:00:28 +00:00
Ralf Becker
560c9abb29 fixes to allow jscalendar to run under IE 5.0 or 5.2 Mac 2004-07-07 14:54:08 +00:00
Ralf Becker
1353159e61 if no url-param given, but a selector (id of a selectbox), the active tab is determind by it's value (set via the html-file) 2004-07-05 17:06:37 +00:00
bgigon
2b487a5097 Fixbug for Opera 2004-06-25 14:46:13 +00:00
bgigon
ebb01e7c9d Reframing of comments 2004-06-25 12:59:22 +00:00
bgigon
fc3ccca344 Fixbug : JSCalendar function are displayed directly into UI :\ 2004-06-25 12:49:38 +00:00
Pim Snel
dd1ed0f786 make UploadImage plugin actualy work (beta1) 2004-06-15 00:27:03 +00:00
Ralf Becker
f51badf1ef fix for broken date.print function under opera 2004-06-08 12:26:54 +00:00
Ralf Becker
29472d0c52 added possebility to set the url, where the picker "lives", to enable it to load it's html-file correct (without the need to copy it everywhere) 2004-05-26 07:22:43 +00:00
Ralf Becker
892a1b369e Added tigra color-picker Ver. 1.1 2004-05-26 07:21:00 +00:00
Ralf Becker
ad02489472 some fixes to use jscalendar without calendar-setup, eg. the original samples 2004-05-18 22:33:36 +00:00
Ralf Becker
a806ba7ec3 set width to auto 2004-05-08 21:10:56 +00:00
Ralf Becker
e269ccb9cb fix for month-name shortcuts different from the first 3-chars of the long name, because they would be indentical with the shortcut of an other monthname, eg. frensh Juin = Jun and Juillet = Jui 2004-05-08 10:36:15 +00:00
Ralf Becker
86a981c07c setting default prefs to be similar to the regular tooltips (title-tag) of the browser 2004-05-07 21:23:52 +00:00
Ralf Becker
31f348e259 implemented callbacks for week and month, to use it for the navigation in the calendar 2004-05-06 16:21:04 +00:00
Ralf Becker
dd6528f2a1 imported version 3.25 of wz_tooltips, as talked with ndee 2004-05-06 12:10:46 +00:00
Ralf Becker
9f1a3a4e84 imported version 0.9.6 from jscalendar 2004-05-06 11:57:41 +00:00
Pim Snel
80c24683b5 add FullPage plugin 2004-04-21 22:01:27 +00:00
Pim Snel
012e0c2095 add ListType plugin 2004-04-21 20:57:53 +00:00
Pim Snel
60e78f95a6 add EnterParagraphs plugin 2004-04-21 20:49:29 +00:00
Pim Snel
7b24abc7b9 add new UploadImage plugin by Pim Snel ;) 2004-04-21 20:43:23 +00:00
Pim Snel
60ec7792c9 add new UploadImage plugin by Pim Snel ;) 2004-04-21 19:52:49 +00:00
Pim Snel
c3cf8d5151 add HtmlTidy plugin 2004-04-21 19:18:54 +00:00
Pim Snel
a6febdab71 updating to HTMLAREA RC1/CVS 2004-04-20 22:59:21 +00:00
Pim Snel
5e2f3d67ba updating to HTMLAREA RC1/CVS 2004-04-20 22:52:47 +00:00
Pim Snel
ce42d456ca *** empty log message *** 2004-04-20 22:46:07 +00:00
Pim Snel
eaa4ef387e updating to HTMLAREA RC1/CVS 2004-04-20 22:45:00 +00:00
Pim Snel
627bf9d53d updating to HTMLAREA RC1/CVS 2004-04-20 22:17:46 +00:00
ak703
1933983ced icon removed - not needed anymore 2004-02-09 23:41:13 +00:00
ak703
c4db604c28 not needed anymore 2004-02-05 23:14:11 +00:00
ak703
bddedd242a cosmetic correction 2004-01-29 22:19:41 +00:00
Pim Snel
78abc16071 update the rest of the HA-tree 2004-01-29 21:41:11 +00:00
Pim Snel
62d44f48dd update the rest of the HA-tree 2004-01-29 21:33:15 +00:00
Pim Snel
9ab15364c4 update the rest of the htmlarea-tree 2004-01-29 21:27:14 +00:00
Pim Snel
df41169804 update the rest of the htmlarea tree 2004-01-29 21:24:39 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00
Lars Kneschke
8bb2fcf1bf make foldertree images working with any template 2004-01-28 09:06:33 +00:00
ak703
cca1d7d7bb modified main function with a second parameter (icondir) to define template based icon path through php script (call with new dtree(object,icondir) [ndee] 2004-01-28 00:03:24 +00:00
ak703
e451759468 Added default_icons for general use of foldertree, if no template specific icons defined 2004-01-27 23:54:22 +00:00
Lars Kneschke
d8d42273f7 add foldertree js class 2004-01-27 20:20:40 +00:00
Ralf Becker
a3a85a862d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
2004-01-08 09:03:17 +00:00
Ralf Becker
568bc3d513 update to jscalendar ver. 0.9.5 2003-11-11 14:51:10 +00:00
Lars Kneschke
507bc9499e importing tabs js-class 2003-08-31 17:24:29 +00:00
Ralf Becker
b90c3e5f47 reimported jsCal into phpgwapi/js now 2003-08-28 16:44:06 +00:00