Commit Graph

3547 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
2e659817a0 "implemented dir() and scandir() for egw_vfs" 2009-05-16 08:23:14 +00:00
Ralf Becker
2408fbb0c9 "implemented dir() and scandir() for egw_vfs" 2009-05-16 08:22:20 +00:00
Ralf Becker
308ac6df8c "allow to use now() beside current_timestamp, as Postgres backups contain it and it's easier to remember anyway" 2009-05-15 07:19:09 +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