Commit Graph

5246 Commits

Author SHA1 Message Date
Ralf Becker
c3eff9445f removed tests folder, as it is NOT used by EGroupware 2009-09-21 08:20:04 +00:00
Ralf Becker
3c84aebb3c "2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
2009-09-15 08:46:26 +00:00
Ralf Becker
42c20e17d3 Fix to get iCal in OS X 10.6 working (again):
WebDAV RFC 4918 allows a full url or a path as <D:href>:
        http://www.webdav.org/specs/rfc4918.html#ELEMENT_href
Some clients can NOT deal with one or the other:
- KAddressbook (at least in 3.5) can NOT subscribe to addressbooks (it
  does not find them) if just a path is used
- iCal in OS X 10.6 generates wrong requests, if a full url is used
2009-09-14 08:51:07 +00:00
Ralf Becker
6b304ea500 quote all table or column names, to allow to use reserved words of dbms 2009-09-09 08:27:00 +00:00
Klaus Leithoff
cc143b76a2 improving decode_header for charset x-unknown and encoding Base64 2009-09-08 13:26:47 +00:00
Klaus Leithoff
90ff141ed7 improving tracker mailhandling, try guessing the mime-type if we have application/octet-stream, moved some functions from bofelamimail to phpgwapi translation 2009-09-08 08:20:24 +00:00
Ralf Becker
824722ded3 "fixed sometimes not loaded self:$db object in crontab calls" 2009-08-27 20:00:09 +00:00
Ralf Becker
0e7eb65647 Fixed typo happend --> happened reported by David Rankin 2009-08-25 08:32:42 +00:00
Ralf Becker
22b8623913 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was
  checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:41:08 +00:00
Ralf Becker
b760d30876 "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:53:23 +00:00
Ralf Becker
8e53977cfb "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:16:38 +00:00
Ralf Becker
01a45a3d3a "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:31:52 +00:00
Ralf Becker
d29f16e1fd some precaution to never allow to (recursivly) remove /, /apps or /home 2009-08-12 09:48:49 +00:00
Ralf Becker
cea327b36d "- fixed bug introduced in r27541: cache was updated with an empty translation array (typo in app-name variable)
- when updating all langs, do a transaction for each lang and update the cache after commiting the transaction (before the transaction was about all langs and the cache update withint the not commited transaction)
- fixed problem with autoloading of languages, check used filectime, update used filemtime, which can differ of cause"
2009-07-27 08:19:26 +00:00
Ralf Becker
6d0c72d7f0 "fixed two issues with translations in trunk
-  update the tree-level cache, as we can not effectivly unset it in a multiuser enviroment,
as users from other - not yet updated - instances update it again with an old version!
- add_app(): we have to use array_merge! (+= does not overwrite common translations with different ones in an app)
array_merge messes up translations of numbers, which make no sense and should be avoided anyway.

"
2009-07-24 10:23:13 +00:00
Ralf Becker
34be1b838d update from 1.6.002 2009-07-21 06:44:01 +00:00
Ralf Becker
99d023e76a "fix for bug #2112: fix maybe wrong case in username on login
makes problems eg. in filemanager (name of homedir)"
2009-07-18 13:15:50 +00:00
Ralf Becker
3a4f9f847b Fix for bug #2074 + #2075: Postgres update error to 1.6 2009-07-18 12:58:08 +00:00
Ralf Becker
4e71fe1ee0 "Fix for bug #2111: xml_functions.inc.php calls to an undefined method
as suggested by Igor Blanco"
2009-07-18 12:46:20 +00:00
Ralf Becker
e7258df9db "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:36:01 +00:00
Ralf Becker
678d4d2bb5 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:31:58 +00:00
Klaus Leithoff
47de1aa9f9 prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-07-17 10:30:49 +00:00
Ralf Becker
6325b79080 removed not used javascript files 2009-07-07 12:55:36 +00:00
Klaus Leithoff
6ae1ca451f upgrade to 2.6.4.1, removing _samples and unneeded connectors, remove baseconfig for unneeded connectors 2009-07-07 09:21:36 +00:00
Klaus Leithoff
6c1b4c588e reverted change of r72367 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 15:40:42 +00:00
Klaus Leithoff
d283757b8d 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:26:18 +00:00
Ralf Becker
9e1ea42649 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:07:22 +00:00
Ralf Becker
81ee406c87 "removed forgotten comment, breaking the previous fix" 2009-07-01 16:20:06 +00:00
Ralf Becker
4c8108fa39 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:19:27 +00:00
Klaus Leithoff
a9c72d6117 little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir) 2009-06-24 15:13:42 +00:00
Ralf Becker
975bfa0f56 "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:48:17 +00:00
Ralf Becker
b075a5ad66 "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:59:42 +00:00
Klaus Leithoff
1c1d486ba9 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:44:40 +00:00
Ralf Becker
57041b9509 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:48:23 +00:00
Ralf Becker
313dc8244b fix for php5.3, which by default seems NOT include content of $_COOKIE in $_REQUEST (request_order php.ini variable) 2009-06-07 15:53:19 +00:00
Ralf Becker
dd7d9c3ecb "Fixed not working async wrapper under SUSE ($_ENV is NOT set)" 2009-06-03 08:28:51 +00:00
Ralf Becker
b6f1745f34 merged r27170: rpm_post_install 2009-05-30 20:19:02 +00:00
Ralf Becker
03ab69e696 "add system-charset to keys of tree-wide cache, if not utf-8, as content depends on charset!" 2009-05-30 09:18:53 +00:00
Ralf Becker
c598e1a3a0 "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:06:18 +00:00
Ralf Becker
37c1edcdd9 backported r27142 (egw_vfs::mount() for setup) 2009-05-28 11:36:58 +00:00
Klaus Leithoff
ed7f82f798 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-27 07:15:16 +00:00
Ralf Becker
77d42d1ef8 "re-added (depricated) php4 constructor, as it get's called by some old apps" 2009-05-26 17:27:17 +00:00
Ralf Becker
28ea1bb74c "fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])" 2009-05-26 11:57:09 +00:00
Ralf Becker
a305a7fbbf merged setup-cli related bugfixes 27105, 27106 and 27109 2009-05-25 07:00:46 +00:00
Klaus Leithoff
87137a2f71 introducing htmlpurifier as default HTML cleaning tool 2009-05-20 11:36:36 +00:00
Klaus Leithoff
93d9dcade9 configurable favicon, configurable vfs image store for images, logos, icons 2009-05-20 07:55:47 +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
42f85c4a56 "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:24:21 +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
9ddad091e3 adding .ico as image/x-ico 2009-05-18 12:57:49 +00:00