Commit Graph

5266 Commits

Author SHA1 Message Date
Klaus Leithoff
00dc88fbf6 refine purify definition to allow for anchor tags 2009-11-24 08:21:03 +00:00
Ralf Becker
c548730132 "let new method hooks fail gracefully if hook class-file does not exists (like the old hooks do, eg. if app got removed)" 2009-11-16 09:43:56 +00:00
Ralf Becker
bf71e587d2 less high logo 2009-11-13 08:37:04 +00:00
Klaus Leithoff
b13d33580b revert changes from r28263 as it would allow for cross site scripting 2009-11-05 11:31:47 +00:00
Klaus Leithoff
ace390a7a3 fixing a problem regarding the activation of links encoded with htmlspecialchars 2009-11-05 08:35:49 +00:00
Klaus Leithoff
54c8e21c61 bugfix groupmembers of groups got lost, while renaming accounts 2009-11-04 11:20:20 +00:00
Klaus Leithoff
e5335026ec make sure there is a wordboundary after script, while testing for malicious code (as text like < blabla description blabla > triggered the expunge of the text 2009-11-02 11:46:46 +00:00
Klaus Leithoff
8a6fc34c88 backport of Christian Binders patch: little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset, ported to handle config as well 2009-11-02 10:52:29 +00:00
Ralf Becker
d6a4cd43a0 epl logo instead EGroupware 1.6 one 2009-10-30 09:01:51 +00:00
Ralf Becker
909231f047 "removed unnecessary check for NOT allowed apps of anon user from session::verify, as there's an other one in egw::verify_session throwing an exception, which can be used to handle the situation better" 2009-10-25 17:29:03 +00:00
Ralf Becker
22d6b9d95b "fixed hook signature to always be an array (even if user code only supplys a location-string)" 2009-10-20 07:12:54 +00:00
Ralf Becker
10f92d5ecc Backporting default+forced prefs for all apps 2009-10-19 18:24:49 +00:00
Ralf Becker
d1859f90e6 Backport of r28140-2, r28156 to EPL-9.1:
- using iterator to query AB in chunks of 500 entries
- Brief: t header (no 404 for missing props)
2009-10-19 08:58:49 +00:00
Ralf Becker
2904c203ad "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:42:55 +00:00
Ralf Becker
2ff75cfb5e "- fixed error prefenting updating of locks
- added constant do enable debuging of locks"
2009-10-13 21:08:27 +00:00
Ralf Becker
162d7407a0 - improved access to other users calendar/addressbooks
- backported autoindex for GET requests on collections
2009-10-03 10:30:54 +00:00
Klaus Leithoff
0cbfb4df1c fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich 2009-10-02 09:06:36 +00:00
Klaus Leithoff
3e3c72ab50 added copy and paste block to fckeditor to all egwconfig configurations, if not available 2009-10-01 10:31:28 +00:00
Ralf Becker
c9f380eb1e "fixed not working egw_link::set_cache" 2009-09-29 09:59:53 +00:00
Klaus Leithoff
e6d832da22 added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised 2009-09-28 15:12:08 +00:00
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