Commit Graph

166 Commits

Author SHA1 Message Date
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
Miles Lott
2460cbbf09 GLOBALize log message call 2001-09-03 04:13:52 +00:00
skeeter
8f7eb4e77f A few missed GLOBALS. 2001-09-02 07:18:28 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
51fd39fac2 Fix auth check on xmlrpc.php, modify sessions verify/destroy to optionally
accept sessionid/kp3
2001-08-23 02:54:25 +00:00
Miles Lott
4201c27997 This is either a php3 fix or a nasty workaround 2001-08-21 19:54:09 +00:00
Miles Lott
dddf896338 Semi-major adjustement with the goal of removing the register_globals requirement;
Silence possible error if line# is not sent to errorlog class (often); This was
tested with the setting on again and seems to work
2001-08-21 18:34:56 +00:00
Miles Lott
b2ef2fb0e5 Undo oops in session->verify_server() and make soap auth/verify work 2001-08-18 21:32:22 +00:00
Miles Lott
d247b25603 Disable acl on verify_server() 2001-08-18 13:34:10 +00:00
Miles Lott
21e323111d Add create_server() verify_server() for the 'special' needs they have 2001-08-15 03:54:15 +00:00
skeeter
cd2676a3a6 Cleaned up an extra warning that was being generated when cache_phpgw_info was turned off. 2001-08-11 14:50:15 +00:00
jengo
3c64f8fc3e Started adding in some eventlog reporting 2001-08-05 09:54:44 +00:00
skeeter
2c726647f5 Small fix for php3 support. 2001-07-28 13:10:17 +00:00
Lars Kneschke
bfa73cc185 modified link() to allow also a array as second parameter 2001-07-22 21:28:38 +00:00
Lars Kneschke
2992926f96 changed the order of the link values, the sessionid is now the last one
now you can place the cursor over the link, and the important values
2001-07-22 20:39:11 +00:00
jengo
68577e4d12 - Moved access log over to 3 tier design\n- edit / view account hooks now support 3 tier design\n- Added view account access history to view account (via hook)\n- Added nexmatchs to access log\n 2001-07-13 07:02:34 +00:00
skeeter
f6c3126a54 Fix for caching and ['apps']. 2001-07-10 03:50:38 +00:00
jengo
59874ad788 SF Feature Request #428390 - Added option to not check the IP of sessions for those behind load balancing proxys 2001-07-08 04:05:10 +00:00
jengo
393a9924dd If the menuaction variable is present, it will now add that for the session_action, this is meant for the 3 teir design 2001-07-01 22:26:47 +00:00
skeeter
c635b8226a Small enhancements to cache. 2001-06-22 01:22:22 +00:00
skeeter
f069e2fb06 Caching has been reworked and added back in. 2001-06-22 00:49:32 +00:00
jengo
8831087537 Added base64 encodeing to fix invaild char in passwords 2001-06-21 08:31:07 +00:00
skeeter
7e3a1199e6 Cleanups for warning messages. 2001-06-17 16:55:04 +00:00
skeeter
51e871070c Fixes to work with the new crypto class. 2001-06-16 19:04:44 +00:00
jengo
cbb3d833ea Removed some of the phpgw_info cache code 2001-06-07 00:33:48 +00:00
jengo
baeb691505 Added a few transactions 2001-06-04 01:07:23 +00:00
jengo
37bd9763fa Added feature to drop the previous login into appsessions, this way developer can find out how long its been since they last logged in.
- Formating in sqlssl
- Fixed change_password() in sqlssl not being correct and based on older versions
2001-06-03 17:58:12 +00:00
skeeter
6c511bdf96 Small cleanups for warnings. 2001-05-15 04:21:16 +00:00
skeeter
da47c29c24 fixes a few warnings. 2001-05-13 04:08:01 +00:00
skeeter
03a0805371 Possible fix for SF Bug #417865. 2001-05-08 23:20:13 +00:00
jengo
99ff1cb575 Added account expires feature 2001-05-02 09:06:14 +00:00
Lars Kneschke
0b67363747 removed debug output 2001-04-16 17:45:19 +00:00
Lars Kneschke
424ba9c7e6 added some debug output 2001-04-15 22:11:08 +00:00
Lars Kneschke
a6ff8d02a3 removed debug output 2001-04-15 21:52:53 +00:00
Lars Kneschke
2890047713 we did a double serialize, that's bad!!!! i was searching the whole day. but
maybe i'm a bad coder! :)
2001-04-15 21:49:50 +00:00
skeeter
d13a6b11c9 trying to gain speed effeciencies. 2001-03-31 14:40:52 +00:00
jengo
609f855217 Added session_dla field to phpgw_app_sessions to make sure things get cleaned up 2001-03-31 08:11:41 +00:00
skeeter
7d197afd49 Stream lined the getuser_ip() usage in create(). 2001-03-24 18:07:00 +00:00
skeeter
e7a9f708bc set the default account_id again 2001-03-21 06:05:44 +00:00
skeeter
30bae00dc9 set the default account_id again 2001-03-21 06:00:06 +00:00
skeeter
93c2a3f15d set the default account_id again 2001-03-21 05:51:33 +00:00
skeeter
9a3cf6f1f7 Created ['user']['account_id'] as a default user if nothing found 2001-03-21 05:28:00 +00:00
el_latino
30e8f6e58b Fix for bug [ #406681 ] function read_group_names() not exist, thx to Patrick Naubert <patrickn@tygerteam.com> 2001-03-12 15:09:00 +00:00
jengo
6deda7f240 Cleaned up how link() works, it should work with different styles of webserver_url now 2001-03-08 08:44:57 +00:00
skeeter
faab4e668e didn't handle retrieving structures from appsession properly 2001-03-04 04:13:54 +00:00
jengo
c3e29775ab Added the session_flags column to phpgw_sessions 2001-02-28 15:56:47 +00:00
Lars Kneschke
1f844318f6 make session working again 2001-02-25 20:47:29 +00:00
Lars Kneschke
a835a9b1e6 moved session stuff from squirrelmail to teh api 2001-02-24 23:39:22 +00:00
Lars Kneschke
ed50495e1a made appsession working again 2001-02-24 22:56:31 +00:00
jengo
ab36b7bb85 Fixed appsessions() not returning the users password correctly 2001-02-20 06:50:36 +00:00
skeeter
97056a2ad6 fix for call to appsession() 2001-02-18 22:29:49 +00:00
el_latino
195f02657b Fri, 16 Feb 2001 20:43:03 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtal.com>

  A mising ' in class.sessions.inc.php
2001-02-16 20:47:36 +00:00
el_latino
01e47441d9 Fri, 16 Feb 2001 20:22:46 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtual.com>

 Fixed the s/'/"/g problem on class.sessions.inc.php that make this class non ANSI-SQL complilant
2001-02-16 20:28:11 +00:00
jengo
401d02fe7d Just some silly formating 2001-02-12 19:21:45 +00:00
Lars Kneschke
16856ebc2b reverted my changes at appsession() 2001-02-12 13:43:37 +00:00
skeeter
6694dca315 fix for pgsql not liking the " instead of \' 2001-02-12 12:22:29 +00:00
Lars Kneschke
b9efe46355 removed cvs conflicts 2001-02-12 09:11:49 +00:00
Lars Kneschke
c2c5993f1a removed cvs conflicts 2001-02-12 09:06:25 +00:00
skeeter
996f25f84e fix for pgsql and the "" 2001-02-11 15:16:49 +00:00
skeeter
a411f728ee cosmetics 2001-02-10 18:14:38 +00:00
jengo
d5e4f4b587 Added the session_action field, so admin can watch what users are working on. Just your basic big brother stuff ... 2001-02-10 15:14:14 +00:00
jengo
f6540f93c4 Fixed sessions not giving the users password back from appsessions and made all of references to time() work off a variable set at the begining of the function 2001-02-09 04:45:44 +00:00
jengo
617c270598 Possiable fix for cache not updating when submitting preferences 2001-02-08 05:41:05 +00:00
jengo
d61f3e5b4d Change the mcrypt encryption to use md5(sessionid . kp3 . static number) instead of just kp3 2001-02-08 05:39:39 +00:00
jengo
eac8fd0b93 The users password is now stored in a seperate entry in appsessions(), and fixed kp3 not working as it should. Since mcrypt is only accepting the first 32 charaters, passing extra data before kp3 was making it the same encrypted values every single time 2001-02-08 05:13:43 +00:00
jengo
fcb18dbb03 Caching the phpgw_info array is now a server option 2001-02-08 04:59:19 +00:00
jengo
29baf10107 The caching of the phpgw_info array now works on or off ... 2001-02-08 04:52:57 +00:00
jengo
2ebd03ec7d Started moving the cache for the phpgw_info array over to appsessions() .... some things aren't working correclty yet. mainly preferences 2001-02-08 04:42:44 +00:00
Lars Kneschke
a2355179a0 fixing parser errors 2001-02-07 22:25:57 +00:00
seek3r
1ba6eb78d2 Moving large chunks of code around so that the functions.inc.php file is the main file to getting data loaded into the phpgw_info array. Basicly functions is the file to follow to see whats being loaded and where. We will need to add a bunch of debugging flags throught this file so that debugging can be turned on and the path can easily be followed. 2001-02-07 20:22:17 +00:00
jengo
1054c949b4 Fixed session->update_session_info() should only be called if its for the current session 2001-02-07 15:27:19 +00:00
jengo
df7ef82a06 Fixed last login information not being updated 2001-02-07 13:19:09 +00:00
jengo
aaedec89bf Removed some no longer needed comments 2001-02-07 13:07:09 +00:00