Nathan Gray
b94bf0c8a0
Completely revert changes from rev 28826.
...
Now using a seperate array to hold additional topmenu entries from hooks to prevent occasional duplication of info items. Apps should now be able to call ['egw']->framework->add_topmenu_item('name', 'url', 'title') to add an additional entry to the topmenu.
2009-12-17 18:07:59 +00:00
Klaus Leithoff
95540c3fa7
revert n.gray s rev 28826, as it clutters the topmenu occasionaly
2009-12-17 14:48:19 +00:00
Christian Binder
86346deefe
fixed empty resultset if num_rows option is not defined, removed some weird indents
2009-12-16 13:10:55 +00:00
Klaus Leithoff
b48c4f51fc
improving the display by toggling the editor mode; improving import of html mails after flaw in rev28758
2009-12-16 10:57:37 +00:00
Nathan Gray
77c889f907
Don't clear items, it will erase anything added by apps in topmenu_info hook
2009-12-09 23:15:46 +00:00
Nathan Gray
219ae4d224
Can't use ExecMethod2(), it doesn't pass by reference.
...
Used code to pass options by reference from nextmatch widget so apps can update array if they need.
2009-12-08 17:56:22 +00:00
Ralf Becker
76e43e442c
fixed typo
2009-12-08 08:19:58 +00:00
Nathan Gray
dd1370f97f
Implement Ralf's suggestion of an options array to pass extra query parameters
2009-12-07 21:42:20 +00:00
Ralf Becker
6aa95316ba
using a static var as cache, which is a reference to the session:
...
a) automatic shared between all instances of accounts class
b) no need to have a shutdown function storing it to the session
--> cleaner code
2009-12-07 17:56:31 +00:00
Ralf Becker
c772e1d57d
"new method acl::get_location_grants(), jaytraxx was missing ;-)"
2009-12-07 12:36:25 +00:00
Ralf Becker
0af8b60e39
"Maximum number of titles to query from an application at once (to NOT trash mysql)"
2009-12-07 11:18:13 +00:00
Ralf Becker
104e2464d5
moved one-time storage of server timezone and restore of it from egw_time to egw class, as in 1.6.003 now
2009-12-03 08:10:48 +00:00
Ralf Becker
c743665438
"switching logging off again"
2009-12-03 07:56:34 +00:00
Ralf Becker
4e2a8131c3
"partly reverting r28676, as array2string and function_backtrace is not yet loaded"
2009-12-03 07:44:10 +00:00
Oscar Manuel Gómez Senovilla
ebd2f93474
Recover history from rev 28545
2009-12-02 19:10:51 +00:00
Oscar Manuel Gómez Senovilla
1dbce299af
Temporary removal to recover history from rev 28545
2009-12-02 19:09:04 +00:00
Ralf Becker
d111906697
remove jerryr print.css template, as it was not used before and is not up to date
2009-12-02 17:03:36 +00:00
Klaus Leithoff
493789cec5
extend some debug infos in egw_sessions; add a 4th param to replaceTagsCompletley in translation class; prepare some more htmlpurifier stuff in order to use it for the activation of links; wrap the creation of the htmlpurifier default config in a function, to be used as config object for changes when about to be used with html::purify
2009-12-02 14:56:41 +00:00
Klaus Leithoff
8d3d3c8a6d
add a cid scheme to purifiers URI schemes, to be able to process inlineimages in eMails.
2009-12-02 14:41:44 +00:00
Ralf Becker
b59a688fbb
- fixed not working rename in entry directories in /apps (eg. rename of
...
an infolog attachment), was caused by use of url_stat from sqlfs
instead of links stream wrapper
- fixed wrong mime type / icon in files stored via netdrive from msword
(the first use the extension .tmp, before renaming file to .doc:
sqlfs "detects" mime type only from the extension and did not recheck
it if a file gets renamed, that's now fixed)
2009-12-01 14:51:13 +00:00
Jörg Lehrke
00f1a811a6
Fix 'enforce server' double adds
2009-12-01 11:18:38 +00:00
Jörg Lehrke
c63a538f13
Optimize SyncML performance
2009-12-01 10:14:23 +00:00
Ralf Becker
691cc6bb3e
we need to first check if the constant is defined, as we get a fatal error in php5.3 otherwise
2009-11-30 20:29:01 +00:00
Ralf Becker
488d34d820
"fixed wrong build pass, causing an open_basdir warning, as url get appended to egroupware dir"
2009-11-30 16:21:02 +00:00
Ralf Becker
bf6d7835ad
setting server timezone as early as possible, to avoid warnings it's not set
2009-11-30 14:40:27 +00:00
Ralf Becker
80774a3468
avoid warning in php5.3, if argument is an array
2009-11-30 14:39:38 +00:00
Ralf Becker
2d93ce28cc
"fixed warning in setup and correctly reading config first"
2009-11-29 16:53:17 +00:00
Jörg Lehrke
a0e1a238dd
Optimized SyncML memory footprint; fixes various filter issues
2009-11-29 14:03:45 +00:00
Ralf Becker
f2e52e1478
fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars
2009-11-28 16:20:21 +00:00
Ralf Becker
c8b795fe83
if file is moved from one filesystem / wrapper to an other --> copy it
...
(rename fails cross wrappers)
2009-11-28 15:23:26 +00:00
Klaus Leithoff
c8323fc034
hack to influence selectbox width behavior for MSIE; applied to all selectboxes created by html::select and etemplate.js loaded
2009-11-28 14:32:33 +00:00
Oscar Manuel Gómez Senovilla
41bebda074
Moved phpgwapi lang files
2009-11-28 12:38:57 +00:00
Ralf Becker
ef67ed41e3
commiting fix again, please update before your commit, to NOT overwrite other peoples commits
2009-11-28 11:40:10 +00:00
Oscar Manuel Gómez Senovilla
2d678b8966
Missing file for the patch for moving the lang files in previous rev
2009-11-28 11:34:40 +00:00
Ralf Becker
d47bb7dd88
fixed replacement of multiple placeholders
2009-11-28 11:30:53 +00:00
Ralf Becker
58b4f7b487
fixed docu
2009-11-28 10:52:20 +00:00
Ralf Becker
51f8d5b7b0
egw_vfs::download_url requires egw::link, as it is relative to egroupware dir
2009-11-28 10:31:20 +00:00
Ralf Becker
fd0bfe97ea
querying date_default_timezone_get() only once and storing it as
...
$GLOBALS[egw_info][server][server_timezone], as it fills the log with
warnings under php5.3
2009-11-28 10:18:21 +00:00
Klaus Leithoff
57ce5a4c4c
handling parameter-replacements in translation class
2009-11-27 13:16:20 +00:00
Ralf Becker
734a9f6947
HTTP_REFERER seems NOT to get urldecoded, causing url already containing
...
a comma in calendar got double encoded, which stalls the calendar
(no access to calendar of "1%2C2"!)
2009-11-27 12:35:57 +00:00
Klaus Leithoff
5cb72ec6df
purifier upgrade to 4.0.0
2009-11-27 09:37:41 +00:00
Klaus Leithoff
b29fdf18dc
switching to modern purifier notation, as of in 4.0 the old style is deprecated
2009-11-27 09:32:22 +00:00
Christian Binder
30fd54c4ac
central method in categories class to check a given list of category ids for needed permission
2009-11-26 08:24:51 +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
0814820652
new option &128 to NOT require an extra trigger for date popup, clicking
...
into input box is enought and removing of extra separators to be more
compact
2009-11-25 20:19:35 +00:00
Jörg Lehrke
cf92ec1930
Fix RRULE issue with trailing colon
2009-11-25 19:17:52 +00:00
Jörg Lehrke
ca9f3fe1eb
Fix WSP issue in QP paramters
2009-11-25 09:40:25 +00:00
Jörg Lehrke
d6663242d1
Fix empty value issue
2009-11-25 08:50:51 +00:00
Klaus Leithoff
e3d06b2219
if we encounter potential malicious script, we run it through html::purify. we test that again against potential malicious code, and drop the content only if we fail the test against the cleaned content as well. we set egw_unset_vars at any case with the original content, in case the application in question makes use of it.
2009-11-24 11:28:49 +00:00
Klaus Leithoff
d228a33ff1
take care that charset and tempdir have appropriate values, no matter if they are initialized at the time
2009-11-24 11:18:06 +00:00