Commit Graph

138 Commits

Author SHA1 Message Date
Miles Lott
08b61a050e Fix for multiple domains via xml-rpc to ensure the correct domain 2005-08-14 17:01:30 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
b883eca49d new auth_ads class:
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Ralf Becker
6b2eb04274 $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}'] 2005-03-04 11:30:00 +00:00
Ralf Becker
9a6b90e78f 1) enabled DB support additionaly for:
- Oracle via oci8 or odbc extension
- MsSql via odbc extension
2) added checks for the neccesary extension incl. loading them if they are not loaded by default: db extensions and session extension. This is now consitent wiht check_install.
3) sessions class tries now to load the php session extension and silently fallbacks to db-sessions
2005-02-25 07:45:37 +00:00
Ralf Becker
b313272616 fallback to db sessions if php's session extension is not loadable, atm. you get cryptic errors, bugs in the bugtracker and mails on the list ;-) 2005-02-21 07:57:41 +00:00
viniciuscb
78ac3f7122 Fix: Added support for e-mail in user_id. 2004-11-03 21:37:01 +00:00
Ralf Becker
257251fe00 fix for bug [ 1022807 ] users with some login names can't login 2004-09-08 13:16:54 +00:00
Ralf Becker
e109e8c320 removed destroying of the crypto object if the session-verification fails, as it leads to problems in sitemgr creation of anonymous sessions and it get cleaned up anyway by the shutdown function 2004-08-27 18:21:28 +00:00
Ralf Becker
d868007dac fixed some of our sessions problems:
- [ 1015846 ] Registering session MySQL query error
- handlich of timed out sessions for php4 sessions was wrong
==> I can't reproduce any more sessions probs, either with db nor php4 sessions
2004-08-27 13:17:25 +00:00
Ralf Becker
7e1da8f7ad 1) fix for cookie domain, when using a proxy which rewrites the host-name
2) also applied Benjamins fix for the link function from the 1.0 branch - thought I dont know what it fixes ;-)
2004-07-31 10:14:52 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
3b94536b99 setcookie seems not to like domain-names without dots (it does not set the cookie at all, in that case). Leaving the domain-name empty, get setcookie to set the domain without dot by itself (its the default) ... 2004-04-27 07:54:56 +00:00
Ralf Becker
ffd1de75c6 fixed the not-always-working patch of 1.26 2004-04-19 10:08:06 +00:00
Lars Kneschke
94a05b4690 patch from Matthew Galgoci to make cookies work also with domain names
with more then 2 parts(hostname.domainname.de)
2004-04-13 05:28:01 +00:00
Ralf Becker
a88b08f274 dont log anonymous sessions 2004-04-02 17:24:31 +00:00
Ralf Becker
3ca724bf61 limit login-name in accesslog to 30 chars as the column is created in table 2004-03-28 14:58:45 +00:00
Ralf Becker
1417a115f6 fixed typo 2004-03-21 16:23:38 +00:00
Miles Lott
300badbfec Cleanup other cases of PHP_OS testing for WINNT 2004-01-28 13:34:47 +00:00
Miles Lott
5794ca4cc1 intval() -> (int) 2003-12-13 15:03:23 +00:00
Ralf Becker
db60c7314d fix for debian woody's php-version 2003-11-14 21:53:41 +00:00
Ralf Becker
ad48945359 fix for multidomain-install without domain-selectbox 2003-11-14 17:43:49 +00:00
Ralf Becker
0d250b0c82 fix to allow @ in usernames if no (only one) eGW-domain is used 2003-11-13 23:15:55 +00:00
Ralf Becker
24d302ea8b - fixed the annoying php4-sessions bug
- it was introduced by changes lars merged from dave (phpGW) ;-)
- of cause php4 sessions work in eGW without sending cookies, if this is disabled in admin->site configuration
2003-10-25 11:37:36 +00:00
shrykedude
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
Ralf Becker
9384c24217 fixed php4-sessions to work with xmlrpc, our sessionid is now identical to the php4 sessionid 2003-10-21 10:46:33 +00:00
Ralf Becker
7abb19b143 added message to login: account is expired 2003-10-16 14:55:12 +00:00
Miles Lott
7d999cd13c Moved inclusion of extension classes after definition of extended class, for php5 (and 3 ;) ) 2003-10-16 10:27:34 +00:00
Ralf Becker
7818d9902d phpGroupWare --> eGroupWare in login blocked message 2003-10-14 09:32:39 +00:00
Ralf Becker
90331f1b45 fix to allow '=' in urls and a lot of space to tab conversation in skwashd's comments 2003-09-21 14:04:13 +00:00
Lars Kneschke
aa9a35f4d3 spelling error 2003-09-11 04:53:29 +00:00
Ralf Becker
ef850c835b disableling the click_history til someone starts useing it 2003-09-06 10:52:42 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
8d77552935 merged dave's php4.1+ change from .16 2003-05-24 12:21:42 +00:00
Ralf Becker
b03789273e killed some left-over debug-messages 2003-05-19 13:34:33 +00:00
Ralf Becker
53b8b8844f merged sesson-functions for .16, incl. cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:16:58 +00:00
skeeter
10077bcb4c I think this is nothing more than a formatting change. 2002-01-05 02:24:10 +00:00
seek3r
70261207f3 added php4 sessions class and added it as an option 2002-01-02 14:32:22 +00:00
Miles Lott
06dc27229c Changes for hopefully better handling of the global crypto object; remove
calls to common class functions and setting of common class vars;
2001-12-27 15:48:42 +00:00
Miles Lott
816b7e2d47 Do not decrypt and return if no data in db (decrypt returning garbage) 2001-12-26 05:24:51 +00:00
Miles Lott
9f98fbb9a8 crypto update; remove (un)serialize from common (en/de)crypt; add checks for
data type to crypto (en/de)crypt; add optional debugging to crypto; add call
to db_addslashes in appsession; silence file_exists calls in one common class
function per skeeter
2001-12-20 16:19:55 +00:00
Miles Lott
45468509d6 Disable a couple of functions 2001-12-13 06:23:42 +00:00
Miles Lott
fa7193d2d4 Wrap log object in is_object for apps that can't use this for some reason 2001-12-06 17:56:38 +00:00
Miles Lott
5f7dbf2b08 formatting 2001-12-03 21:47:13 +00:00
Miles Lott
ad28fc933c php3 array fix 2001-11-14 13:07:06 +00:00
skeeter
3b0bf20d6b Fix for bug #471251. 2001-11-10 23:34:19 +00:00
jengo
efd42b032f Allowing update_dla() to be called from XML-RPC 2001-11-09 03:03:40 +00:00
jengo
1dc787e40d Started working on allowing md5 passwords to be sent from login.php 2001-10-02 05:38:35 +00:00
jengo
bba0ba2eb7 - Fixed destroy() not killing the correct session
- Passing the sessionid and kp3 is now required, to make sure its the correct session
- Removed deleting cookies, which is done by logout.php ... its redundent
2001-09-28 21:39:42 +00:00
skeeter
8a13e1c52b A couple of cleanups when logging errors to a file. 2001-09-18 03:48:38 +00:00