Commit Graph

3966 Commits

Author SHA1 Message Date
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
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
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
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
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
Nathan Gray
a09a58ae11 Add handling for in case the input data comes pre-parsed 2010-06-09 12:57:36 +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
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
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
Ralf Becker
ff1c3b9be1 allways use "About EGroupware", as about is not any more application specific 2010-06-04 12:43:35 +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
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
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
Klaus Leithoff
2aa6baddcb postgres: fix for problem with db_backup/update -> no MetaColumns retrieved anymore: if tablenames are quoted, remove the quotes as the use of tablenames in MetaColumns is for comparsion of content of fields in postgres system tables; quoting tablenames breaks comparsion here. 2010-06-01 12:24:29 +00:00
Andreas Stöckel
8bbcafe1c0 Added workaround for bug with CKEdito being too tall 2010-05-31 11:44:08 +00:00
Klaus Leithoff
f6e2163b91 control height of CKEditor; set a more convinient height for signature edit 2010-05-28 08:07:17 +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
Klaus Leithoff
bc2f709a4d improved skin control, if skin is not chosen by user/default 2010-05-27 10:06:40 +00:00
Andreas Stöckel
8973b4c9b5 Added default skins and added code which converts old ckeditor skins to new ones 2010-05-27 08:04:47 +00:00
Andreas Stöckel
0802dd072b Fixed bug with CKEditor 3.2.1 not being loaded in some applications 2010-05-26 08:43:01 +00:00
Andreas Stöckel
99106024c4 Made CKEditor checking, whether the given skin actually exists 2010-05-25 14:50:58 +00:00
Andreas Stöckel
12c03a226d Added support for the new CKEditor 3.2.1 2010-05-25 07:47:57 +00:00
Ralf Becker
5f7efe58a7 remove not used old mime type list 2010-05-22 15:04:32 +00:00
Ralf Becker
79f4a174da moved old validator class to bookmarks, as it is the only place where it still get used 2010-05-22 14:33:23 +00:00
Ralf Becker
6fd418b27e fixed PHP Fatal error: Declaration of vfs_stream_wrapper::url_stat() must be compatible with that of iface_stream_wrapper::url_stat() 2010-05-22 11:00:54 +00:00
Ralf Becker
aedaf485b3 fixed bug egw.stylite.de#8079: new symlinks in /apps not visible on same request 2010-05-22 08:41:26 +00:00
Ralf Becker
b0416e0bf1 removed not used/working old xmlrpc application abstration 2010-05-22 07:05:37 +00:00
Klaus Leithoff
3b427a4062 move debug to be the first thing in send->send; make SmtpSend public as it is used by MDN 2010-05-21 11:19:29 +00:00
Jörg Lehrke
e4d0b6737c Fix egw_ical iterator issues 2010-05-21 06:18:52 +00:00
Ralf Becker
6799864392 fixed wrong language in notifications 2010-05-20 19:32:52 +00:00
Jörg Lehrke
5329baab76 Improve chunked item handling 2010-05-20 13:06:27 +00:00
Jörg Lehrke
fb3cc3f594 Fix chunked item issue (bug#2576) 2010-05-20 10:48:45 +00:00
Ralf Becker
df58928ac6 fail if trying to unlink a directory 2010-05-19 17:33:19 +00:00
Ralf Becker
75a604fad6 "add G to egw_vfs::hsize()" 2010-05-19 09:12:16 +00:00
Andreas Stöckel
892db7c0f2 Resolved problem with some directories that cannot be opened if they contain a symlink, due to a problem with vfs_stream_wrapper::check_symlink_components, which returned that a path doesn't have a symlink in it caused by to the vfs_stream_wrapper internal symlink_cache 2010-05-19 09:01:53 +00:00
Jörg Lehrke
ff9e241961 Fix parameter parser again 2010-05-19 07:02:08 +00:00
Jörg Lehrke
df36afa1ed Fix DAV issue for neon for GroupDAV, too 2010-05-18 10:45:46 +00:00
Jörg Lehrke
e8298f217f Fix iCal attendee CN issue 2010-05-18 10:04:29 +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
Jörg Lehrke
27f1fef944 Fix CalDAV invitation issue (Stylite#513) 2010-05-17 14:20:34 +00:00
Ralf Becker
39dfb0b3fe "invalidate session cache, to make new mounts/unmounts visible in current session" 2010-05-15 20:40:27 +00:00
Jörg Lehrke
11093e933c Add more tolerance for chunked packages 2010-05-14 13:06:08 +00:00
Ralf Becker
bf898afb61 "removed permannent error_log" 2010-05-13 10:45:37 +00:00
Ralf Becker
e91b0f0cb5 using since php<=5.0 available raw_output=true parameter for md5 and sha1 instead of deprecated and in newer distros no longer available mhash extension 2010-05-13 10:39:48 +00:00
Ralf Becker
beca9c694a "forgot to switch log_level to 1 (only errors) again ;-)" 2010-05-13 09:27:46 +00:00
Ralf Becker
7bd59d89c8 "Fixed handling of url-special-chars: #?% get urlencoded before returned from this wrapper and all path get urldecode before passing on to php's filesystem functions" 2010-05-13 09:25:39 +00:00
Ralf Becker
46fd3ad561 "Support for basic auth when using PHP CGI" 2010-05-13 08:49:32 +00:00
Ralf Becker
94c31d9508 missing encoding and decoding for attachments 2010-05-12 18:58:16 +00:00
Ralf Becker
259ae6fe24 "fixed not working delete of a preference (was set to an empty string in the db)" 2010-05-12 09:23:50 +00:00
Ralf Becker
8ce9813e4d "only add \"your session could not be verified\", if a sessionid is given (cookie or on url)" 2010-05-11 16:19:26 +00:00
Ralf Becker
55d6c7ca00 "prefer iconv for windows-874 and tis-620 (Thai) charsets, as they are not supported by mbstring" 2010-05-11 15:38:39 +00:00
Ralf Becker
fd56fb27c3 Correct quoting of special chars in vfs:
- # has special meaning in url and is intern always urlencoded as %23
- ? has special meaning in url and is intern always urlencoded as %3F
- % need to be urlencoded as %25, as it's the escape char in urlencoding
  (it has not been stored urlencoded in sqlfs so far, there's some
   workaround in filemanger_ui to deal with the old unencoded % chars)
- space and + are NOT urlencoded in sqlfs in the DB, they get urlencoded
  only for download urls
- " get urlencoded for download urls only as it messes up the html
  markup
--> Filenames get urldecoded, before displayed to user
- done manually eg. in messages
- done automatically in new vfs-name widget (both ways)
2010-05-11 15:02:30 +00:00
Nathan Gray
041200a245 Register link hooks for all installed apps, not just the ones the current user has access to. This lets the apps decide if the user has access to the data or not 2010-05-10 19:05:17 +00:00
Ralf Becker
cad3e95d40 remove not needed all mount options, as hidden files are handled now by our vfs (and if hidden files are not accessible, you can not remove directories containing them) 2010-05-10 14:29:30 +00:00
Ralf Becker
5ef9746f90 switching logging per default off and only outputting passwords in log-level 2, as documented 2010-05-10 13:36:30 +00:00
Ralf Becker
d6d582a541 switching logging per default off and only outputting passwords in log-level 2, as documented 2010-05-10 12:46:46 +00:00
Ralf Becker
1caead5ea9 "make sure to not double encode &" 2010-05-09 13:58:57 +00:00
Ralf Becker
5a47d445e8 "fix tiny mail window, because felamimail uses egw_getWindowOuterHeight() instead of a fixed height given as number" 2010-05-09 09:41:38 +00:00
Klaus Leithoff
bac107ac84 fix for missing CRLF after emailreplace/cleaning of/for emailaddresses 2010-05-06 11:16:57 +00:00
Ralf Becker
930f1052d5 supporting digest auth (see RFC 2617), which is more secure then basic auth on http (no cleartext password), it currently requires cleartext passwords in the database, to calculate the A1 hash! 2010-05-05 09:19:37 +00:00
Klaus Leithoff
f18fc53362 allow |align|style|width|height for img 2010-05-03 09:00:16 +00:00
Klaus Leithoff
9851b5cd46 handle warning on install 2010-05-03 08:19:32 +00:00