Commit Graph

5233 Commits

Author SHA1 Message Date
Ralf Becker
a34f7faec5 Fix for bug #2074 + #2075: Postgres update error to 1.6 2009-07-18 12:57:21 +00:00
Ralf Becker
52dbb060d2 "Fix for bug #2111: xml_functions.inc.php calls to an undefined method
as suggested by Igor Blanco"
2009-07-18 12:44:38 +00:00
Ralf Becker
cdb601da56 "Fix for bug #1885: egw_db->row doesn't work as expected
reverted r25031, as it returns the first record with numeric indexes (it's anyway a depricated function)"
2009-07-18 12:33:52 +00:00
Jörg Lehrke
48538a6ced Give higher levels a chance to avoid QP 2009-07-18 12:31:00 +00:00
Ralf Becker
e1a25587c8 update from 1.6.002 2009-07-18 10:00:33 +00:00
Ralf Becker
8fb60be7d7 checking if attachment or attachment dir exists, before trying to delete it, to quieten warning, also improved warning to be precise if file does not exist, is no directory, or permission missing 2009-07-18 09:12:52 +00:00
Klaus Leithoff
b6f0321b52 prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-07-17 10:32:57 +00:00
Ralf Becker
e667e168b4 - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/phpgwapi@27377 ^/branches/SyncML-1.2/phpgwapi .
2009-07-15 19:31:25 +00:00
Ralf Becker
a81931ca08 removed not used javascript files 2009-07-07 09:58:20 +00:00
Klaus Leithoff
6570199588 remove baseconfig for unneeded connectors 2009-07-07 09:06:11 +00:00
Klaus Leithoff
b09f75d839 remove baseconfig for unneeded connectors 2009-07-07 09:05:21 +00:00
Klaus Leithoff
b0efbe2637 upgrading to 2.6.4.1, removing _samples and unneeded connectors 2009-07-07 08:58:12 +00:00
Klaus Leithoff
3307109a1c reverted change of r72366 and fixed the real cause for the mainscreen_message problem: YOU SHOULD NOT HAVE TRANSLATIONS FOR mainscreen_message; You may have to force the reload of new language file-information 2009-07-06 11:11:40 +00:00
Klaus Leithoff
1e43e837c0 fix regarding get_app in translation. array_merge does renumber and += seems to bear problems, if there already is a translation for the given key (mainscreen_message) 2009-07-06 09:25:19 +00:00
Ralf Becker
28618da875 "egw_contentmap table \"belongs\" to syncml app!" 2009-07-03 07:43:02 +00:00
Ralf Becker
078edd98fd Fixed SQL error now giving an exception: it's caused by
vfs_stream_wrapper::get_path() returning an url without path
(sqlfs://default <-- no trailing slash), which causes
sqlfs_stream_wrapper::url_stat() to be called for an empty path, which
gives the sql error.
2009-07-01 18:03:46 +00:00
Ralf Becker
9a5c0f8d9c "removed forgotten comment, breaking the previous fix" 2009-07-01 16:17:44 +00:00
Ralf Becker
944bb3073c fixed since 1.7.002 not working update from 1.4:
- fs_link column is queried by sqlfs, but get created in 1.7.002
- pdo does not throw exception on sql errors, it silently ignores them
  --> told it now in constructor to also throw exceptions
- egw_vfs::find() was not always honoring the url option
2009-07-01 15:17:36 +00:00
Nathan Gray
19090879c4 Add ability to find out next run time as at a given date, instead of just 'now' 2009-06-26 14:26:14 +00:00
Klaus Leithoff
5e7b1d3fd6 little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir) 2009-06-24 15:13:19 +00:00
Ralf Becker
50cac4e9b6 "Bugfix for tracker priorities 2-4 displayed wrong:
use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
"
2009-06-22 12:46:41 +00:00
Ralf Becker
aaab800d80 "removed css to capitalize first letter of sidebox menu items
It makes problemes (hides first letter) with following browsers:
- Konqueror (Linux)
- Safari (Mac & Windows)"
2009-06-10 12:51:26 +00:00
Klaus Leithoff
af523b5904 propfind: fix regarding the retrieval of sqlfs_props, if key of array with a single entry is the vfspath for the file in question 2009-06-10 10:31:28 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
c28be373a6 fixed wrong default parameter for $callback_params, call_user_func_array requires an empty array and not null (gives a fatal error under php5.3) 2009-06-08 15:46:45 +00:00
Ralf Becker
f601537b95 fix for php5.3, which by default seems NOT include content of $_COOKIE in
$_REQUEST (request_order php.ini variable)
2009-06-07 15:49:12 +00:00
Ralf Becker
1fc84471d4 "Fixed not working async wrapper under SUSE ($_ENV is NOT set)" 2009-06-03 08:27:27 +00:00
Ralf Becker
3ec3c205ee created a rpm post script to automatic install or update EGroupware:
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
132297a502 "add system-charset to keys of tree-wide cache, if not utf-8, as content depends on charset!" 2009-05-30 09:18:04 +00:00
Ralf Becker
75f4a3920e "Patch from Carsten Wolf:
Timesheet-Einträge mit Uhrzeit 0:00, die in der Winterzeit gemacht wurden, 
werden in einem Union-Query, der in der Sommerzeit stattfindet, dem falschen 
Tag zugeordnet. Vermutlich stimmt dies nur für den PostgreSQL query und ist 
Dir deshalb bisher nicht aufgefallen.

Der Patch:
Ändert den PostgreSQL-spezifischen Teil des queries so um, dass er 
Zeitzoneninformationen berücksichtigt."
2009-05-30 07:03:57 +00:00
Ralf Becker
53264e2c2b "new static method to get an attribute of a column, eg. the comment" 2009-05-30 06:58:48 +00:00
Ralf Becker
88c9aca3f3 "allow egw_vfs::mount() to work in setup:
- need to read fs-tab
- need to load wrapper (otherwise file_exists($url) fails)"
2009-05-28 11:29:17 +00:00
Ralf Becker
b32ded3400 "re-added (depricated) php4 constructor, as it get's called by some old apps" 2009-05-26 17:26:24 +00:00
Ralf Becker
7c8bd81149 "return a reference to the var in the session!" 2009-05-26 14:44:29 +00:00
Klaus Leithoff
0e4a75f027 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-26 13:42:05 +00:00
Ralf Becker
07825af683 "fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])" 2009-05-26 11:55:52 +00:00
Ralf Becker
6d72b2b297 - fixed in some cases not working setup-cli (domain not detected)
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
  trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
7049fe4bc0 - implemented htmlpurifier also for sitemgr (only non site-admins) and
knowledgebase
- html::fckEditor() has optional parameter to NOT use htmlpurifier
2009-05-19 19:23:38 +00:00
Ralf Becker
8f797be836 Added HTMLPurifier (http://htmlpurifier.org/) Version 3.3.0
- can be used via html class like: 

        $clean_html = html::purify($html);

- using it now in eTemplate to remove malicious code from html:
  a) when displaying "formatted text"
  b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Ralf Becker
66ef863bd5 "disabling mime-type and size in link-title of attachments, as it clutters the UI and users dont need it most of the time. These details can allways be views in filemanager." 2009-05-19 10:23:29 +00:00
Klaus Leithoff
d2230cd000 adding .ico as image/x-ico 2009-05-18 12:55:19 +00:00
Klaus Leithoff
ba88fcbd9a fixing caching of images, if image is an array 2009-05-18 12:02:45 +00:00
Ralf Becker
44ce028592 "fixed not always displayed icons (eg. old nextmatch in translation-tools) and some more caching" 2009-05-16 10:22:56 +00:00
Ralf Becker
2408fbb0c9 "implemented dir() and scandir() for egw_vfs" 2009-05-16 08:22:20 +00:00
Oscar Manuel Gómez Senovilla
67b0a09c15 update spanish translation 2009-05-15 15:33:15 +00:00
Ralf Becker
a083233c43 "allow to use now() beside current_timestamp, as Postgres backups contain it and it's easier to remember anyway" 2009-05-15 07:18:06 +00:00
Ralf Becker
c133b4b106 "- docu update
- using public and private for class vars
- __construct()"
2009-05-14 07:59:51 +00:00
Ralf Becker
65e53bd1e8 "fixed wrong webdav.php urls, if no vfs_image_dir set" 2009-05-14 06:41:28 +00:00
Ralf Becker
b8cfd7f85d "allow to use same names for add() and edit() as returned by read_single() or return_array" 2009-05-13 21:21:46 +00:00
Klaus Leithoff
86f1dde06f configurable favicon, configurable vfs image store for images, logos, icons 2009-05-13 14:33:36 +00:00