Commit Graph

250 Commits

Author SHA1 Message Date
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