Ralf Becker
a3685d298e
removed 2. header include, stalling access without home rights
2010-06-30 12:03:50 +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
Jörg Lehrke
09bc2c09cd
Fix CTag issues for GroupDAV
2010-06-29 13:52:56 +00:00
Jörg Lehrke
affd4b1885
Fix CalDAV issues
2010-06-29 09:19:25 +00:00
Ralf Becker
aa6b4adcc1
return default instead of referer containing "cd=yes", which causes a load of the framework inside the framework
2010-06-28 10:52:37 +00:00
Jörg Lehrke
bce68a9e82
Fix CalDAV group attendee issue; various GroupDAV improvements
2010-06-27 22:16:22 +00:00
Jörg Lehrke
99cb0d791a
Fix SyncML SourceURI issue
2010-06-26 11:26:46 +00:00
Jörg Lehrke
4e42eb30f0
Enable Funambol client 8.5 again; various SyncML optimizations
2010-06-25 17:08:09 +00:00
Andreas Stöckel
0605a04daa
Fixed hiding of toolbar
2010-06-25 12:30:39 +00:00
Ralf Becker
491f790a3b
Triggering jQuery's change event manually, when jscalendar updates
2010-06-25 11:17:28 +00:00
Andreas Stöckel
008be66608
More fixes to the spellchecker handling
2010-06-25 10:38:44 +00:00
Andreas Stöckel
5cd16d7c88
Fixed spellchecker handling
2010-06-25 10:30:26 +00:00
Andreas Stöckel
dd3496be0b
Replaced old ckeditor configuration code with own class, fixed felamimail to work with it
2010-06-25 10:01:53 +00:00
Andreas Stöckel
4d88b00e02
Moved ckeditor configuration to own php file which generates js, in order for easier implementation in etemplate 2
2010-06-24 14:23:56 +00:00
Ralf Becker
fccbe5fcbd
Moved removal of standard javascript files from egw_framework class to
...
egw_json, as it did not work in all cases
2010-06-24 11:33:51 +00:00
Ralf Becker
f42ee4b026
- for Ajax: no need to load the "standard" files, they are already
...
loaded, in fact jquery has a problem if loaded twice
- add filectime to js and css files loaded via include_css_js_response
2010-06-24 10:51:02 +00:00
Andreas Stöckel
7545d93cbc
Fixed problem with indent not working with new CKEditor3
2010-06-24 08:38:56 +00:00
Ralf Becker
8e98f6cea3
New method egw_framework::include_css_js_response to add javascript and
...
CSS included via egw_framework::validate_file or egw_framework::includeCSS
to an ajax response.
Fixed jscalendar to use that service and sitemgr to include it manually.
2010-06-23 23:01:57 +00:00
Andreas Stöckel
769debd2bd
Fixed singleton handling with egw_json_re
2010-06-23 08:33:23 +00:00
Ralf Becker
95ac7e77be
fix for PostgreSQL 8.3, using "::text ILIKE", hopefully that works in older versions too
2010-06-22 16:56:16 +00:00
Ralf Becker
7acd58f2f4
using egw_db->capabilities[egw_db::CASE_INSENSITIVE_LIKE]
2010-06-22 16:54:47 +00:00
Ralf Becker
8d93ce6fbb
No longer using document write to add icon (to not display it if user
...
has javascript switched off, as we require it now and it makes problems
with the new etemplate rendering)
2010-06-22 15:33:44 +00:00
Andreas Stöckel
9f7fd714f5
Fixed filemanager path not properly set for ckeditor
2010-06-21 15:02:09 +00:00
Andreas Stöckel
01826c38b2
Added exception and error messages to egw_json
2010-06-21 08:39:21 +00:00
Jörg Lehrke
729c7cb362
Fix SlowSync timestamp issue ( #2663 )
2010-06-19 15:30:28 +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
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
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
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
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
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
Klaus Leithoff
b02ab88dcf
change comment to egw_footer
2010-06-11 12:33:04 +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
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
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
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
Ralf Becker
6865fad5c7
New caching provider using APC's shared memory cache.
...
Used now by default, if function apc_fetch() exists and no
other caching provide is explicitly set in header.inc.php or egw_cache
class.
It's probably quicker on virtual machines, as it uses memory and not the
filesystem.
2010-05-01 12:55:41 +00:00
Klaus Leithoff
8ce6ac92ae
upgrade htmlpurifier to version 4.1.0
2010-04-27 11:15:35 +00:00