Commit Graph

5758 Commits

Author SHA1 Message Date
Jörg Lehrke
729c7cb362 Fix SlowSync timestamp issue (#2663) 2010-06-19 15:30:28 +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
Ralf Becker
5465b281cc new method to include css files: egw_framework::includeCSS($app,$name) or includeCSS($path) 2010-06-18 11:19:24 +00:00
Klaus Leithoff
e94703b9a4 increase timeout, since some smtp-servers seem to need more than 10 seconds to respond 2010-06-18 09:22:21 +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
e8cc19df9a Fixed some typos and IE-specific problems 2010-06-16 12:48:17 +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
e5552d1b45 fixed not working non-static use after Jörgs commit ($app was NOT set anymore) 2010-06-16 11:02:24 +00:00
Jörg Lehrke
10b93660ef Fix config::save_value static call issue 2010-06-16 08:34:15 +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
Ralf Becker
557ef43872 formatting 2010-06-16 06:44:19 +00:00
Ralf Becker
88ebb437c2 methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class 2010-06-15 16:08:10 +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
a085ffb24c Reworked addScriptCall function 2010-06-15 14:05:56 +00:00
Ralf Becker
2181c9ca9e fixing the fix: for mountpoints we have to check the url or what is mounted and not the url of the mountpoint 2010-06-15 10:33:39 +00:00
Ralf Becker
85475540f6 fixed not working update for application global categories, which for some reason got created with an owner != -1 2010-06-15 10:25:10 +00:00
Andreas Stöckel
c4ed458d53 Made egw_json_getFormValues a global function 2010-06-15 09:47:39 +00:00
Ralf Becker
907424a99b fixed deprecated comment in common::footer: user *echo* framework->footer() 2010-06-15 09:15:00 +00:00
Ralf Becker
110f40df1d svn propset svn:keywords Id 2010-06-15 08:35:12 +00:00
Ralf Becker
2d35aa7af8 delete db entry again, if we are not able to open a new(!) file in filesystem 2010-06-14 20:10:24 +00:00
Andreas Stöckel
aca6fc8c5d Fixed compatibility issues with IE 2010-06-14 16:04:39 +00:00
Nathan Gray
cab28f03b6 Move and & or into common 2010-06-14 13:27:31 +00:00
Ralf Becker
dc0cee3d95 also remove mountpoints the user has no read access to from directory listings, eg. enabling versioning for an other user 2010-06-14 13:04:08 +00:00
Jörg Lehrke
a88fbb756f 2nd Fix Evolution CalDAV HTTP_IF_MATCH issue (Stylite#601) 2010-06-14 07:38:41 +00:00
Ralf Becker
d4e5476304 returning content of onXXX tag after adding code 2010-06-13 07:44:53 +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
b02ab88dcf change comment to egw_footer 2010-06-11 12:33:04 +00:00
Klaus Leithoff
4795658fec for egw_openWindowCentered return a WindowID by default 2010-06-11 12:31:29 +00:00
Andreas Stöckel
d8983b6cd1 Added wrapper for xajax.addScriptCall(), added ?cd=10 to json.php response again 2010-06-11 11:41:12 +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
Jörg Lehrke
78103fd02a Fix Evolution CalDAV HTTP_IF_MATCH issue (Stylite#601) 2010-06-11 09:59:36 +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
Ralf Becker
7006bbd457 default for html::initCKEditor 3. parameter, to fix warning in fmail 2010-06-10 16:19:08 +00:00
Ralf Becker
dba87a90cf setting vars empty, which get only conditionally set 2010-06-10 15:37:47 +00:00
Ralf Becker
5443acbb21 allow json in body on(Load|Unload|Resize) tags 2010-06-10 14:31:30 +00:00
Ralf Becker
22dcb1c5de fixes to be able to start CKEditor without expanded toolbar 2010-06-10 13:21:23 +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
5bcf29400b setting webserver_url for new json handler, if used with templates other then jdots 2010-06-10 08:38:02 +00:00
Andreas Stöckel
c8e1730eb4 Including the wz_dragdrop.js again 2010-06-10 07:43:38 +00:00
Andreas Stöckel
2f1353ba3a Initializing $top_menu_extra as an array 2010-06-10 07:35:16 +00:00
Ralf Becker
d897357e7f upps, missed some comments 2010-06-10 07:18:39 +00:00
Ralf Becker
e95da23141 removing xajax, as we no longer need it (get emulated by our new json stuff) 2010-06-10 07:01:14 +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
Ralf Becker
a8d1ce623d removing xajax, as we no longer need it (get emulated by our new json stuff) 2010-06-10 06:58:49 +00:00
Oscar Manuel Gómez Senovilla
a4d96bd6fa Tracker #2591 2010-06-09 21:11:42 +00:00
Ralf Becker
e977610a4b Integrated (used) javascript methods:
- js->validate_file()
- js->set_on(Load|Unload|Resize)
into egw_framwork and made them static
(egw::__get('js') returns now the framework so all old code should
continue to work)
2010-06-09 15:30:53 +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
084ef11729 Handling of reqests which miss a parameter section 2010-06-09 13:46:35 +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
a09a58ae11 Add handling for in case the input data comes pre-parsed 2010-06-09 12:57:36 +00:00
Nathan Gray
9d4c60bc42 Use a javascript object instead of building a JSON string 2010-06-09 12:39:32 +00:00
Ralf Becker
4b30608396 upps, commited a bit to much ;-) 2010-06-09 11:04:04 +00:00
Ralf Becker
055f1ebe1c making template name a parameter 2010-06-09 11:03:02 +00:00
Nathan Gray
b5179882ab Add a check to handle being called from inside a frame 2010-06-09 10:40:17 +00:00
Ralf Becker
0ae16ca1ed allow to use jscalendar(-setup.php) from every app, by catching egw_exception_no_permission_app 2010-06-09 09:40:02 +00:00
Ralf Becker
e417b6305b - using egw::link(...,false) for no egw_link_hander
- calling static methods static
2010-06-09 07:26:39 +00:00
Ralf Becker
ebedefd2e0 reading images from setup.inc.php file 2010-06-09 06:48:58 +00:00
Jörg Lehrke
685775cdf6 Fix Nokia old version issue, 2nd try 2010-06-08 18:03:08 +00:00
Ralf Becker
ade5eb93ea fixed not working generation of image url for templates 2010-06-08 08:50:15 +00:00
Ralf Becker
8b49db5a57 new framework method to return javascript to call manual 2010-06-07 22:06:35 +00:00
Ralf Becker
6ecb981cb5 Moved after_navbar hook into a egw_framework method 2010-06-07 17:31:43 +00:00
Ralf Becker
30d45d9b37 allways load jquery (not -ui) and egw_json for all templates 2010-06-07 15:10:58 +00:00
Klaus Leithoff
134f5b4390 fixed a typo 2010-06-07 14:48:25 +00:00
Ralf Becker
8f86299005 fixing quick add to work with jDots 2010-06-07 14:44:38 +00:00
Klaus Leithoff
82cb36ff3a some additional stuff to improve mailheader decoding 2010-06-07 14:31:59 +00:00
Ralf Becker
601289343c moved top menu logic from idots_framework class to egw_framework,
to be able to use it from other templates too
2010-06-07 11:49:16 +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
Jörg Lehrke
027b11723e Fix vCard content version issue (Nokia E7x) 2010-06-07 07:06:54 +00:00
Ralf Becker
b5ade8635a do NOT redirect, but set top.location, as this works in framed template too 2010-06-07 06:54:07 +00:00
Ralf Becker
c2237c4daa got jscalendar in calendars sidebox working with jdots template 2010-06-04 20:13:21 +00:00
Ralf Becker
0d05a9ce40 allow to call html::tree(null,null) to get just the javascript, eg. to include it in header 2010-06-04 20:06:41 +00:00
Andreas Stöckel
75651489a7 Allowed empty content to be returned from the server 2010-06-04 15:22:01 +00:00
Ralf Becker
ff1c3b9be1 allways use "About EGroupware", as about is not any more application specific 2010-06-04 12:43:35 +00:00
Andreas Stöckel
718264c6e7 Added egw_appWindow funtion to jsapi 2010-06-04 12:16:13 +00:00
Klaus Leithoff
0ec0d04fb3 update to Version 4.1.1:HTML Purifier 4.1.1 is a major security and bugfix release that
improves on 4.1s fix for an XSS vulnerability exploitable on Internet Explorer.  It also contains a number of important bugfixes, including
the removal of improper logic that could result in infinite loops and
fixed parsing for single-attributes with entities with DirectLex.
2010-06-04 11:13:55 +00:00
Ralf Becker
4b67a05074 - setting again date format and language from current user, was lost in r27581
- using current date in users timezone, instead of server timezone
- loading javascript for jscalendar::flat only if not yet loaded
2010-06-04 09:01:15 +00:00
Andreas Stöckel
7b2aedddb3 Renamed the alert handler to egw_alertHandler 2010-06-04 08:16:45 +00:00
Andreas Stöckel
f88e1339c6 Fixed powered_by link in jdots 2010-06-04 08:06:02 +00:00
Ralf Becker
7d19819ba1 cleaned up about to use framework->list_templates to support app like templates 2010-06-02 22:43:41 +00:00
Ralf Becker
e8c4786879 using framework->template_dir, instead of hardcoded phpgwapi based one 2010-06-02 21:36:16 +00:00
Ralf Becker
0150726c4b using framework->template_dir, instead of hardcoded phpgwapi based one 2010-06-02 21:28:51 +00:00
Ralf Becker
a4a427e2ab allow to specifiy a path or url, instead only an url 2010-06-02 21:28:07 +00:00
Ralf Becker
ea57302fce not using options parameter on json_encode, as PHP5.2 returns empty string and loading template class only, if not autoloadable 2010-06-02 18:11:15 +00:00
Ralf Becker
d9b9e79fcd fixed missing var causing app like templates not to be found 2010-06-02 17:33:26 +00:00
Ralf Becker
bec64ee336 allow specify value for template specific link handler and using a javascript link, instead a a-tag 2010-06-02 17:11:48 +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
Ralf Becker
3a15cdcd6e Finding of templates and their themes, if they are packaged in dirs as
apps
2010-06-02 10:59:58 +00:00
Ralf Becker
472a420231 allow to package templates like applicatons in an own directory, cleand up index.php a bit 2010-06-02 09:20:55 +00:00
Ralf Becker
8589cdd874 using file_get_contents and better error-message 2010-06-02 09:18:27 +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
b9f98321f5 allow template to overwrite link and redirect_link methods 2010-06-01 21:38:00 +00:00