Commit Graph

4974 Commits

Author SHA1 Message Date
Ralf Becker
e50bd2e966 "re-added copyright and author of the old phpgwapi/inc/class.sessions(_php4).inc.php, I missed last night" 2008-08-08 06:02:45 +00:00
Ralf Becker
88827a3f3d using new egw_session::init_handler() 2008-08-07 21:14:00 +00:00
Ralf Becker
907e24d227 Refractured session handling in eGW:
- DONT UPDATE ON A PROCUDTION SYSTEM (for the next few days)!
- eGW support from now on only php session handling
- custom session handlers (like the memcache one) can now be
  implemented as classes and dont need to change any other code
- the class get's autoloaded and the name need to be configured 
  eg. in the header.inc.php as $egw_info[server][session_handler]
- session restore is now enabled by default (it's way faster and
  works well with php5.1+)
- a db-bases session handler follows soon
2008-08-07 21:12:44 +00:00
Ralf Becker
e568a02b2e new constructor, which can be passed the connection-data as an array 2008-08-07 20:38:57 +00:00
Ralf Becker
81e1887e24 not used 2008-08-07 20:37:00 +00:00
Klaus Leithoff
94a263caf7 applied ralfs changes to templates/idots/class.idots_framework.inc.php to jerryr 2008-08-07 11:13:54 +00:00
Ralf Becker
0e4244b440 "removed onchange attribute on password which caused the creation of 2 sessions in konqueror, it seems to be unneccessary in FF, IE and konq anyway" 2008-08-07 09:11:20 +00:00
Ralf Becker
38bb1c75ca "fixed topmenu to not query every info again" 2008-08-06 07:33:36 +00:00
Ralf Becker
4db172a6c2 - dont update the session dla, for the xajax notifications query, as it
stops sessions from timing out
- hook to be called when sessions get terminated
2008-08-05 11:36:06 +00:00
Ralf Becker
7ce97ba699 - .ics extension for todos and events
- new GroupDAV v2 component-set attribute for collections
- getlastmodified & getcontentlength properties for infolog propfind
- fixed propfind on a single infolog entry to return just that entry
- getcontenttype of vevent and vtodo collection returns extra component
2008-08-04 19:08:09 +00:00
Ralf Becker
49f86c41c3 PHPGW_SERVER_ROOT/phpgwapi/inc --> EGW_API_INC 2008-08-04 10:59:06 +00:00
Klaus Leithoff
cb8cd0f3e6 when having multiple lines descriptions in contacts or calendar, these are not correctly encoded in vcard.
The problem seems to be line [784] of trunk/phpgwapi/inc/horde/Horde/iCalendar.php
$value = str_replace($this->_newline, '\n', $value);
When removing this line, the description value is correct on the client.

I could not find any sideffects during my tests, if some clients have
problems with this, I assume this would then have to be fixed at a higher
level, because the current state with this line just causes broken output.

From wikipedia regarding Linebreaks in QuotedPrintable:
If the data being encoded contains meaningful line breaks, they must be encoded as an ASCII CR LF sequence, not as their original byte values

Vcard extract without the reported line code:
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1=0D=0ADesk 2=0D=0A=0D=0A

Vcard extract with the reported line of code
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1\nDesk 2\n\n

pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:42:19 +00:00
Klaus Leithoff
16cb2097fc Some Devices (Nokia S60) ignore the entire vcard, if the vcard contains
formal error.

This breaks sync for single contacts from egw to client.
example: photo in addressbook without blank line after the property value.
This way the devices are not compliant with RFC2426 (Vcard Version 3)
5. Differences From vCard v2.1
[...]
. Inline binary content must be "B" encoded and folded. A blank
line after the encoded binary content is no longer required.
[...]
This was pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:18:49 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Oscar Manuel Gómez Senovilla
a8865daa7d tracker #1664 2008-08-03 19:01:49 +00:00
Ralf Becker
d90ce31491 hook to intercept session creation 2008-07-30 13:29:19 +00:00
Ralf Becker
31e49bef04 Moved translation of 'site configuration' to phpgwapi/common to not
translate it in every app (differently)
2008-07-30 08:39:56 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Ralf Becker
ac38fe77ff "fixed problem of under some conditions not loaded adodb classes for php4-restore" 2008-07-29 12:13:07 +00:00
Ralf Becker
5b705e6bc6 fixed bugs report by Frank Becker on the german list and some more I
noticed while working on it:
- memory size error, when renaming a file after posting the list (eg.
  clicking on home icon)
- renaming (moving) one file on an existing filename, put the file in an
  inaccessible state
- renaming more then once, did not work
--> ToDo: add some ajax to notify the user, when he tries to overwrite
an other file while renaming one
2008-07-27 18:58:41 +00:00
Ralf Becker
b40382df80 exception handler for xajax and ability to use static methods as ajax callbacks eg. filemanager_ui::ajax_check_something 2008-07-27 12:48:39 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Stefan Becker
134692b51c fixed that IE 6 Bug, that selectboxes are shown in the left Menu with a frame workaround. Sponsored by Karl Knauber Holding 2008-07-25 14:48:06 +00:00
Stefan Becker
c9fda6abcf "fix for IE 6 pngbugfix, some images where not displayed after turning on the Bugfix. E. g. in the clander oder infolog. Sponsored by Karl Knauber Holding " 2008-07-25 10:24:20 +00:00
Klaus Leithoff
42e4f1facd egw_async: handling the ##last-check-run## problem during restore. The line will be skipped. 2008-07-25 09:37:15 +00:00
Oscar Manuel Gómez Senovilla
bf36524009 Updated spanish translation for trunk 2008-07-25 08:07:35 +00:00
Oscar Manuel Gómez Senovilla
753c766eff Pending translations for trunk 2008-07-24 19:00:41 +00:00
Klaus Leithoff
832d65ab70 fix for a PHP Warning: preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: nothing to repeat at offset 14 in
phpgwapi/inc/class.egw_index.inc.php on line 183
not sure why it occurs, but the fix works around it and seems not to break anything
2008-07-24 12:56:11 +00:00
Stefan Becker
1999c90df4 "fix for JScalendar, to bei schown, under under the Menupoint \" Grant Access\"" 2008-07-23 13:59:16 +00:00
Stefan Becker
1569576645 "Patch for IE 6/7 checking if the Calendar Element is loaded" 2008-07-22 14:04:23 +00:00
Stefan Becker
ffd9cdd47f "Patch for IE 6/7 style setting for textarea (default Style), description Tab is not too Big and geratingscrollbars " 2008-07-22 11:55:54 +00:00
Stefan Becker
8727151c9a PNG Bugfix for IE 6 is working on IE 7 (browsercheck) 2008-07-21 14:40:54 +00:00
Ralf Becker
16c5ce05ac fixed "There's NO ADOdb object!" error in DB backup/restore via
setup-cli.php
2008-07-21 09:40:58 +00:00
Ralf Becker
95d15246b5 fixed not working SyncML, if NTLM auth is enabled: now both working together 2008-07-17 06:55:47 +00:00
Ralf Becker
9374ade6f5 "reverted SyncML part of my NTLM commit from yesterday, as it breaks SyncML: session::verify() is necessary to restore the eGW session (it's NOT used to verify the session)" 2008-07-17 05:51:46 +00:00
Ralf Becker
b5c28fba48 1. NTLM Single Sign ON
NTLM SSO removes Windows users on a PC, which is a member of a Windows
domain and who are logged into that domain, from the need to explicitly log
into eGW.  They simply point IE to the eGW URL (eg. http://domain.com/egroupware/)
and start working. They can of cause explicitly log out and log in as an
other user.
For more information look at the README at
http://www.egroupware.org/viewvc/trunk/phpgwapi/ntml/README

2. different authentication for SyncML and/or GroupDAV
You can now use eg. an external auth provider for the login via the
WebGUI (eg. ADS) and the passwords stored in SQL for SyncML.
2008-07-16 09:29:13 +00:00
Ralf Becker
5477c71045 "silenced autoloaded class ..." 2008-07-15 06:48:59 +00:00
Klaus Leithoff
9dfa6f6d4c Since having problems with the new phpmailers EncodeQP function and its Char and Line/WordWrap Handling, I reintroduce the functionality of the old
class.
2008-07-08 08:38:56 +00:00
Ralf Becker
510f9baf94 "KAddressbook still has problem with self URL in propfind of /addressbook/ collection contains GroupDAV resourcetype, disabling it only for KAddressbook " 2008-07-08 05:52:04 +00:00
Ralf Becker
4296d0c31f dont avoid empty fields, as some are required by vCard, eg. FN 2008-07-04 11:22:25 +00:00
Régis Leroy
b68e7f0041 missing closedir, can lead to Too many open files bugs 2008-07-02 07:57:13 +00:00
Ralf Becker
21c9e960df not the problem is fixed AND setup is still working :-) 2008-06-27 09:44:48 +00:00
Ralf Becker
e89917f860 reverting my last commit, as it breaks app update/install in setup 2008-06-27 09:40:32 +00:00
Ralf Becker
f82bdd9492 "fix for error in setup-cli: egw_minimal::__get: There's NO ADOdb object!" 2008-06-26 20:27:18 +00:00
Ralf Becker
50b5c16a5d "Streamwrapper allowing to use a global variable as stream" 2008-06-26 11:34:04 +00:00
Klaus Leithoff
ecd3948175 some improvements for the smtp class regarding TLS protocoll 2008-06-20 10:51:59 +00:00
Klaus Leithoff
88f99c5eb6 importing the new class.phpmailer.php as class.phpmailer.inc.php v2.1 for PHP5 and adapting eGroupWare specific changes 2008-06-19 16:25:23 +00:00
Klaus Leithoff
a43593c431 importing the new class.smtp.php v2.1 for PHP5 and adapting eGroupWare specific changes 2008-06-19 16:21:54 +00:00
Klaus Leithoff
e5f5feddf1 enable the use of the active mailprofile (if set) 2008-06-19 11:44:31 +00:00
Régis Leroy
4dfa864be1 bad french translation of search -> bug in ajax_widget detecting search string 2008-06-17 14:34:27 +00:00
Ralf Becker
bdf7f84a23 fix for bug #1261: PostgreSQL: eGW ignores setting to dont care about case sensitive usernames 2008-06-07 08:25:28 +00:00
Ralf Becker
70e540d71b constants for the capabilities array, easier lookup in IDEs, table name aliaes to eg. move some tables to other databases 2008-06-07 08:24:18 +00:00
Ralf Becker
4edd90a8bf "removed php < 5.1 fallback function" 2008-06-05 07:42:21 +00:00
Klaus Leithoff
b0fe8d229e -patch by Jon Crawford to enable ssl connections for smtp
(phpgwapi/inc/class.phpmailer.inc.php )
 example: hostname: ssl://smtp.servername.country
	  port: 465
2008-06-03 09:30:44 +00:00
Ralf Becker
a5a7c2d30e Additional password crypt types for ldap:
- MD5_CRYPT (9 char salt prefixed with $1$)
- BLOWFISH_CRYPT (16 char salt prefixed with $2$)
- EXT_CRYPT (9 char salt, no prefix)
2008-05-31 06:25:04 +00:00
Ralf Becker
45f895d048 "use static html methods" 2008-05-31 06:03:34 +00:00
Ralf Becker
bb08afcc9f "API change caused already-obsoleted call to sessions_::create() to fail.
Thanks to Peter Goerzen <pgoerzen(at)hustlerturf.com>"
2008-05-31 05:47:26 +00:00
Ralf Becker
e2b84e8c32 dont try oids for new postgres versions 2008-05-30 07:08:19 +00:00
Ralf Becker
2d1b53b835 "using standard md5() instead of hash('md5',...), as it's only a pecl extension" 2008-05-27 20:02:56 +00:00
Stefan Becker
aa4e4be631 "add Country Code for Montenegro and Servibia" 2008-05-27 11:28:00 +00:00
Ralf Becker
ae044a9a08 allow to instanciate the historylog with a given user or 0 for
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Ralf Becker
62ca85a1b8 "phpdoc file header and __constuct()" 2008-05-24 06:59:35 +00:00
Ralf Becker
17b8868698 "shorten index names longer or equal to 64 chars for all db types" 2008-05-24 06:37:19 +00:00
Ralf Becker
f7bb40b8a4 "docu und todo update" 2008-05-20 05:16:49 +00:00
Ralf Becker
9f30e824b0 enforce a certain strength of uid, as some clients set quite weak ones) 2008-05-20 04:59:26 +00:00
Ralf Becker
3f6d4f41c2 "- call_user_func requires php5.2 and we want to be php5.1 compatible
- also allowing handler to not define an extra_properties method"
2008-05-18 19:16:33 +00:00
Ralf Becker
a659e4eb6b propagate base_uri and debug level to handlers 2008-05-17 12:54:26 +00:00
Ralf Becker
9008414fff "- array2string() to format arrays (or objects) as string, eg. for error_log()
- allow apps to specify their own autoload handler, only tried after the standard one does not find the class"
2008-05-17 07:34:16 +00:00
Ralf Becker
dfc7176959 "- correct handling of depth: 0 in /
- initialise $files['files'] = array() to quiten some warning if propfind returns nothing"
2008-05-17 07:05:57 +00:00
Ralf Becker
6d37a25089 "returning the supportedlock property causes Windows DAV provider and Konqueror to not longer work" 2008-05-13 13:13:38 +00:00
Ralf Becker
fe054923e6 "REALM constant" 2008-05-13 08:34:19 +00:00
Ralf Becker
dd787255fb "fixed bug in webdav upload, found by skyfredox(at)hotmail.com" 2008-05-13 05:50:11 +00:00
Ralf Becker
48352f6963 "dont return mountpoints (like eg. /apps) twice" 2008-05-10 21:47:16 +00:00
Ralf Becker
5cfc38b4f6 moved webdav handler in the root dir, as its now a general service and not only used by filemanager 2008-05-10 21:15:46 +00:00
Ralf Becker
f0f056420f "return only the self URL for propfind on app folder with depth 0" 2008-05-10 20:32:03 +00:00
Ralf Becker
0afb2d0324 pricipals and groups collection for WebDAV Acl, to improve support for Apple iCal, you can now use http://domain.com/egroupware/groupdav.php/pricipals/username as account-url in iCal 2008-05-10 20:15:02 +00:00
Ralf Becker
496f8b9c1a "extra param to session::create() to not create a session, eg. for GroupDAV clients know to not support cookies, eg. Apple's iCal" 2008-05-10 20:04:37 +00:00
Ralf Becker
6d274a7aca "switching of error_log in _parseDateTime()" 2008-05-10 19:00:31 +00:00
Ralf Becker
4885518b88 autoloading of addressbook classes 2008-05-10 12:06:15 +00:00
Ralf Becker
8578525e00 groupdav app (without own dir) 2008-05-08 20:50:46 +00:00
Ralf Becker
6587e340fc Some modifications required by CalDAV 2008-05-08 20:33:09 +00:00
Ralf Becker
d2e9143213 First version of new CalDav/CardDAV/GroupDAV access for calendar and
addressbook (infolog will follow).
CalDAV is tested so far with lightning 0.8 and Apple's iCal. Please note
that both distinguish between iCalServer and CalDAV!
The URL is currently http://domain.com/egroupware/groupdav.php/calendar/
2008-05-08 20:31:32 +00:00
Ralf Becker
3a5b24dfda "fixed bug reported by matsie(at)terra.es: fatal error on ical export in calendar:
was cased by browser/inc/class.browser.inc.php having top priority in autoloading, which was never intended"
2008-05-06 05:57:21 +00:00
Ralf Becker
f6a883713f locking for eGW's WebDAV (and later on CalDAV).
no recursive (depth infinit) locks atm.
2008-05-01 11:44:55 +00:00
Ralf Becker
9df4251058 "- fixed bug introduced with r25260: connection charset for PDO connection was not longer set, causing utf8 filenames written to mysql, which thinks we are talking latin1 (mysql default)
- also fixed wrong DSN for mysqlt"
2008-04-30 19:00:14 +00:00
Ralf Becker
a3a7503c0f "new static hook methods (class::method) are navitvly supported from php5.2.3+ on, so we need to add some compatibility for our required php5.1
"
2008-04-27 11:55:11 +00:00
Ralf Becker
86368a1903 uid and etag (optimistic locking) for addressbook 2008-04-25 19:06:15 +00:00
Ralf Becker
4ecce4f5ae allow all php callables (eg. "class::method" for static calls) for ExecMethod, ExecMethod2 and as methodstring for hooks 2008-04-25 18:54:06 +00:00
Ralf Becker
a8b924696f removed some depricated and as far as I know nowhere used methods and make many functions static 2008-04-25 18:52:33 +00:00
Ralf Becker
46325b070c fixed fatal error happening on some installs when deleting a dir in sqlfs 2008-04-24 15:19:42 +00:00
Ralf Becker
92c1bf9bfa "also check if the required classes are set for the session restore, fixes a problem with groupdav" 2008-04-22 10:11:49 +00:00
Ralf Becker
80367bb943 removed not longer used old vfs classes and the first stream_wrapper (oldvfs://), I have not yet droped the vfs table, to give the update script more testing with the change to restore 2008-04-21 17:38:39 +00:00
Ralf Becker
9e838a4068 fixed infinit recursion on deleting entries with linked files, first reported by Peter Goerzen 2008-04-21 16:55:52 +00:00
Ralf Becker
1eb9acec27 enable sqlfs_stream_wrapper to run under setup 2008-04-21 15:37:11 +00:00
Ralf Becker
cf4cd2aa3f restore current egw_vfs::$is_root and egw_vfs::$user 2008-04-21 15:36:30 +00:00
Ralf Becker
0080dc39f0 special mkdir of links_stream_wrapper, so the entry dirs do not inherit the other read/browse rights from the app dir 2008-04-21 11:06:45 +00:00
Ralf Becker
2a1d86911b allow to call download url with an vfs-url instead of an path 2008-04-21 11:05:34 +00:00
Ralf Becker
ae821396b5 "removed static use of schema_proc, error reported by Thomas Hoth <thomas(at)familie-hoth.de> on the german list" 2008-04-21 05:11:36 +00:00
Ralf Becker
a5b58e57e8 "allow to use link, redirect, redirect_link, invalidate_session_cache static" 2008-04-20 19:31:51 +00:00