Commit Graph

207 Commits

Author SHA1 Message Date
Pim Snel
c9482613a8 Seperation of login.php into: login logic, template set specific logic, and template with HTML
The active files are now:
egroupware/login.php
egroupware/phpgwapi/templates/idots/login.inc.php
egroupware/phpgwapi/template/idots/login.tpl
2006-10-15 16:19:19 +00:00
Pim Snel
f05140f303 add langcode to registration link 2006-10-10 21:49:13 +00:00
Ralf Becker
d6b7fc3c35 phpgw_setcookie --> egw_setcookie and removing old code - I have no idea what is was supposed to do 2006-09-27 07:10:43 +00:00
Lars Kneschke
74b9b2c9fa remember the login referer. That allows us to redirect to this page, after login the user out. 2006-08-23 13:50:02 +00:00
Cornelius Weiß
177d729959 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:12:39 +00:00
Cornelius Weiß
b97f701d05 added an optinal check for a save^tm password (criterias as in MS-Windows) 2006-03-13 21:56:28 +00:00
Cornelius Weiß
59e89a180d fix for registration app 2005-11-26 14:31:16 +00:00
Ralf Becker
e9381364ef use translated language-name if availible 2005-11-14 23:44:31 +00:00
Ralf Becker
e2e0fd6446 Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
Ralf Becker
822e08e0ff if no domain selectbox, only store the logindomain, if its realy set 2005-10-10 07:55:38 +00:00
Ralf Becker
2a05447886 fixed domain-selection via url 2005-10-09 12:02:24 +00:00
Ralf Becker
c76d9cf8b1 no need to instanciate the session object twice 2005-07-17 21:33:51 +00:00
Miles Lott
a1e8f71b22 Formatting cleanup; Removed stray whitespace, especially from the end of some files; Convert api arrays to egw/egw_info 2005-07-08 05:00:14 +00:00
Ralf Becker
532309aeb7 fixed login.php again: all improvments and changes since 1.0.0 where lost !!!
Please merge your changes and not just copy them !!!
2005-06-20 08:48:39 +00:00
Cornelius Weiß
0c758b2a46 - readded 'auth via coockie' code which was deletet by last commit from mipmip
- readded the 'tricks' to make the ":" dissapear on switched off selectboxes
2005-06-15 22:12:35 +00:00
Pim Snel
1d68ccb070 replace hardcoded links to home.php with links to home/index.php 2005-06-15 11:16:27 +00:00
Cornelius Weiß
aa15d03fee php5 fix 2005-06-13 14:58:49 +00:00
Cornelius Weiß
e70ba22f00 corrected typho remeber --> remember. 2005-05-11 18:54:34 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Ralf Becker
d7f1458d1a new header-template to:
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00
Ralf Becker
bdbb84975a 1) sending a content-type header to overwrite apaches default charset
2) submitting the form, if someone changes the language after entering user and password
2005-03-03 09:01:24 +00:00
viniciuscb
fe03c956d3 Fix: Added support for e-mail in user_id. 2004-11-03 21:30:48 +00:00
shrykedude
e999260d52 Really hide domain selection when not needed; UI cleanup of Login button 2004-10-13 14:49:03 +00:00
Pim Snel
f85bc9cd52 Applied patch from Jeff Kymer,
Add extra documentation in login.php
Make better lay-out in login.tpl
2004-09-28 08:51:50 +00:00
Ralf Becker
e03ae3acdd fixed handling of @'s in user-names 2004-08-21 15:22:56 +00:00
Ralf Becker
56d6430de2 moved (optional) language selection befor the user-name and automaticaly reload the page, if the user changed the language 2004-07-11 09:42:54 +00:00
Ralf Becker
c0f4f45767 sorting languages alphabeticaly 2004-07-10 11:20:10 +00:00
Ralf Becker
759d1d4f17 fixed bug with not working language-selection and SQL error because of empty session-id in phpgw_app_session 2004-07-09 15:17:04 +00:00
Ralf Becker
5fb282b58b fix for bug [ 945880 ] session expiration and logout 2004-05-03 13:52:09 +00:00
Ralf Becker
dfdfaad414 implemented automatical forwarding into eGW after a login was necessary, because no session existed 2004-04-14 11:52:16 +00:00
Ralf Becker
f437556000 read the images from the login-template-set, not the (maybe not even set) users template-set 2004-03-23 10:28:15 +00:00
Ralf Becker
1a4e00bd63 added a (optional) language-select-box, eg. for demo-sites 2004-03-21 21:20:05 +00:00
Ralf Becker
24331610a9 fixed:
- logo can be given now as URL or filename (in phpgwapi/templates/default/images)
- the logo url dont need a leading http://, if its not present, it will be added automaticaly (you can enter a https url)
- re-enabled autoload of lang-files, it can be disabled in Admin->Site configuration
2004-03-21 14:58:04 +00:00
Lars Kneschke
f94019a0c3 fix for bug [ 899867 ] Broken login page in RC3 2004-02-26 08:31:08 +00:00
Lars Kneschke
a295b5b852 disable cookie check 2004-01-28 09:27:00 +00:00
shrykedude
54c6b6acc1 Check if cookies enabled when required by admin setting; Typo fixes 2004-01-28 06:05:25 +00:00
Lars Kneschke
d4555f763c bumped version to 0.9.11 to enable language uk
temporarly disabled auto load of languages
2004-01-20 06:00:51 +00:00
Miles Lott
a7ed74c97d Ensure getimagesize() is run on the real file location 2004-01-17 17:28:28 +00:00
Miles Lott
b07762a86c spellcheck 2004-01-17 14:59:40 +00:00
Pim Snel
498bd2bf45 fixed display of wrong logo 2004-01-16 14:23:35 +00:00
Miles Lott
4dfab4ca47 Just to ensure that the initial Template object is not created 2004-01-10 14:47:10 +00:00
Pim Snel
0ac079849b added registration link that appears when settings are positive 2003-12-13 03:55:30 +00:00
Miles Lott
cbd6475c42 Fix for http auth - $_POST['passwd'] not set in this case 2003-12-11 13:14:47 +00:00
Miles Lott
e74021fc3c Oops, forgot to include 2003-11-26 13:51:58 +00:00
Miles Lott
f1b4d8ea6a Special case for empty or bad header.inc.php file 2003-11-25 23:03:59 +00:00
Lars Kneschke
68ed62c6f8 make http auth login and sqlssl login working again
Fix for BUG [ 844013 ] "http" authentication failes
2003-11-18 22:03:34 +00:00
Miles Lott
8f3c33c686 Add passing of account type to session->create (this is a user-only login page) 2003-11-16 12:15:38 +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
Lars Kneschke
01dd797dd9 respect the template from when loging in 2003-10-26 17:01:51 +00:00
Ralf Becker
7abb19b143 added message to login: account is expired 2003-10-16 14:55:12 +00:00
Ralf Becker
f32c6a2e23 Changed login to use only one template with and without domain-selectbox. As everything is identical, but that one box. 2003-10-15 12:55:48 +00:00
shrykedude
89e281008c fixed error message display to be HTML 4.01 compliant 2003-10-05 05:55:36 +00:00
Ralf Becker
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
Ralf Becker
d47f0e7739 move the lang-autoload into the translation_sql class 2003-10-04 13:36:11 +00:00
Ralf Becker
060311ab7d fixed prob with login-scree-message and no cookie 2003-09-23 21:26:58 +00:00
Lars Kneschke
719ebac10c detect user language 2003-09-18 05:06:03 +00:00
Lars Kneschke
c80df96eca detect users first language 2003-09-18 05:04:06 +00:00
Ralf Becker
582faaec62 - loginscreen-message defaults now to the 'en' one if the lang-specific one is not set
- fixed login.php to show translated messages again
2003-09-15 08:41:57 +00:00
Ralf Becker
4159fa6be6 use common::image to find the logo now 2003-09-15 08:10:53 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +00:00
Ralf Becker
6e69545b4b added config-switch to disable autoload of langfiles
plus daves fix for register_globals off
2003-08-10 10:11:43 +00:00
ceb
298c0d03ae fix 2003-06-17 13:23:42 +00:00
Ralf Becker
fca4944ab3 imported kneckes fix in .16 (dont show a single @) 2003-05-29 07:49:12 +00:00
Ralf Becker
cce3d68984 http-auth fix - thanks ManxPower 2003-05-24 11:54:24 +00:00
Ralf Becker
a09ccfb730 merged sesson-functions for .16, incl. the brute-force stuffe and cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:18:58 +00:00
Ralf Becker
02033b80c8 removed a debug output, thanks to sigurdne 2003-04-01 09:58:47 +00:00
Ralf Becker
a0925f7505 2 changes:
- newer lang-files get now installed automaticaly when a user log's in
- Czech is added to the supported lang's
==> phpgwapi version updated to 0.9.14.002

fixed multidomain-select-box
2003-03-22 01:33:24 +00:00
ceb
b4e4be334b update xslt 2002-10-26 00:33:22 +00:00
ceb
b9f2dba2b3 update xslt 2002-10-25 22:34:04 +00:00
ceb
d94b0a9ffe update to use xslt *** HEAD IS CURRENTLY BROKEN *** 2002-10-25 03:04:28 +00:00
ceb
fed918c353 update msgbox 2002-10-20 00:34:12 +00:00
ceb
4dcc52af4c added theme_selection 2002-10-19 20:44:40 +00:00
ceb
e72d00ace1 update 2002-10-19 14:33:32 +00:00
ceb
9841ed6250 ported login to use xslt tpls and css 2002-10-18 21:45:46 +00:00
ceb
f06877a2ac update msgbox to use xslt 2002-10-18 00:21:54 +00:00
ceb
5490271c27 fix for apache2 2002-10-15 00:11:16 +00:00
Miles Lott
c60fbfd183 do not set cookies if not using cookies 2002-08-12 00:57:51 +00:00
seek3r
0e2e0f5446 fixed design to allow for backwards compatibility 2002-05-31 18:13:07 +00:00
seek3r
4004c9a4e1 updated so that login page will destroy frames, cleaned up various other issues like better lang support in msgbox, now langs trailing char can be turned off. several other improvements 2002-05-31 08:29:19 +00:00
seek3r
4a2729a720 massive and sweeping change to the link() function, the way the app loads up, to a single templates class instance, to a new template set structure which automaticly handles frames support. We will have much cleanup to do to get apps working again and have them following the new guidelines 2002-05-30 09:47:09 +00:00
seek3r
de3fcb1c70 updated wit new msgbox 2002-05-27 08:22:12 +00:00
seek3r
0975a7736a auto-redirect to setup if missing header.inc.php 2002-02-17 08:07:38 +00:00
jengo
12615164e2 This should get rid of problems with passing $phpgw_info in the query string for good ... 2001-12-05 16:00:39 +00:00
Miles Lott
cae7b6a7ff globals 2001-11-23 21:04:06 +00:00
Ralf Becker
96689fbfca change to enable to login by hiting return after password
(as talked with seek3r)
2001-10-06 08:12:33 +00:00
jengo
1dc787e40d Started working on allowing md5 passwords to be sent from login.php 2001-10-02 05:38:35 +00:00
Miles Lott
37213f0c30 More adjustments to ensure login works with register_globals Off, also tested
on php3 and php4 with register_globals On.
2001-09-06 08:27:22 +00:00
Miles Lott
9d60e7f2ac Use correct version of the $login variable, we want the one functions.inc.php has touched 2001-08-23 03:48:28 +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
jengo
5865ab4694 - Fixed default app not working
- Removed some uneeded crap
2001-07-14 09:26:43 +00:00
jengo
148708750d Added template variable so people can use the registration app with a link to it 2001-07-01 12:57:39 +00:00
jengo
370f7f0cab Fixed parse error on PHP 4.0.0 2001-05-23 00:11:08 +00:00
jengo
11e95e9661 The header files now controls the template set to be used for login, applied some source formating, and minor code cleanup 2001-05-11 10:02:34 +00:00
Miles Lott
478a6fd4bf Remove some stray spaces 2001-05-01 09:15:40 +00:00
count
10d92835c1 some clarification 2001-04-25 22:25:35 +00:00
count
ccb4342e88 SQL + SSL Certificate authentication for Apache + mod_ssl
provides fallback for auth_sql authentication and expects certificate
chain verification by mod_ssl. See http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6
2001-04-25 22:01:52 +00:00
skeeter
dff440505a This should now be compatible for NON-Latin charsets. 2001-03-27 18:31:07 +00:00
jengo
e06637e4b7 Possiale fix for link() 2001-03-09 01:03:32 +00:00
Miles Lott
8942b434a9 Adjust link call to new spec 2001-03-08 13:18:15 +00:00
jengo
7b3a8e038b Fixed lang support AGAIN! Also, reformated the file 2001-02-27 12:49:10 +00:00