UserAuth Mini-App
Project History / Change Log
This has been an on-going project, various developers.
- 1.January 2008 - tomcode - UserAuth Mini-App Version 0.9.2t7
- JamesD reported : application bugs when using case sensitive user names
- controllers/install.php: changed collation of db fields from default(latin1_swedish_ci) to latin1_general_cs
- table ci_users field username
- table ci_users field password
- table ci_groups field groupname
- table ci_remember_me_login field username
- controllers/install.php: added the index groupname to table ci_groups
- updated static pages
- config.php no longer has Cookie Related Variables doubled
- views/usergroups/user_form.php: minor cosmetic changes
- controllers/install.php: changed collation of db fields from default(latin1_swedish_ci) to latin1_general_cs
- fixed bug : deleted users stayed logged when rememberMe enabled
- libraries/Userauth.php method check()
now logs out deleted users - models/usergroup_model.php method method removeUser()
now deletes remberMe entries for deleted user - models/remember_me.php method method removeRememberMe()
now accepts a username as parameter
removes now not only the active rememberMe
but with passed username all entries for that user
- libraries/Userauth.php method check()
- JamesD reported : application bugs when using case sensitive user names
- 1.January 2008 - tomcode - patch update_database.php
- Controller to update the database for running systems
- 1.January 2008 - tomcode - patch CI Session
- simplified copie_and_paste_for_config.php
- Took out the static page
- CI session cookies are now encrypted
- 30.November 2007 - tomcode - UserAuth Mini-App Version 0.9.2t6
- AofC reported : RememberMe bugs
Some fixes:- Userauth.php method check() : added rememberMe check before logout
- remember_me.php model checkRememberMe() (thanks AofC) : additional check on expired rememberMe
- updated static pages
- updated config.php to CI 1.5.4
- the language folder is now inside the application folder
- the install instructions are now on the front page
- AofC reported : RememberMe bugs
- 30.November 2007 - tomcode - patch CI Session
- Under Apache 2 / PHP 5.2 Native Session bugs
I switched to CI's Session class and added some fixes:- Added library MY_Session.php class extending CI's session class, to add Flash var functionality
- Userauth.php constructor : check whether native Session is used
- Under Apache 2 / PHP 5.2 Native Session bugs
- 27.February 2007 - tomcode - UserAuth Mini-App Version 0.9.2t52
- Adaption for CI 1.5.2
Started up with a fresh CI 1.5.2 copy- Config folder: Changed the values in autoload, config, database, routes
to the userauth settings - Adaption of Native Session, description on Wiki,
Native session | EE Wiki Modifications for Version 1.5
native_session => Session - Adaption of the other libraires, inspired by a forum post of wcheewai
ua_authorize => Authorize
lang_detect => Lang_detect
userauth => Userauth - Languages :
- Updated the language files with 1.5.2 files
- took out Finnish and Spanish
Spanish: ftp_lang is missing
Finnish, did not find a 1.5 version
- Updated the documentation
- Config folder: Changed the values in autoload, config, database, routes
- Fixes
- (now) Authorize.php
function permitted(), two else statements were missing
function isRole(), call of class variables: added missing this - user_group_model.php
dbprefix issue function _joinTables(): no more manual prefix for db->join()
- (now) Authorize.php
- MiniApp
- template view: Took out an entry of the language Dropdown menu:
'detect' => $this->lang_detect->browserLanguage(),
does not make sense to me - usergroups controller editUser and addUser:
corrected validation rule
refuses now (like intended) passwords longer than 40 chars - Straightened out the default.css, gives now good result in Firefox and IE,
logout screen still causes problem in IE 6 - added a new page for the ChangeLog
- added a new page to check some functions of the user_group_model
- template view: Took out an entry of the language Dropdown menu:
- Adaption for CI 1.5.2
- 6 November '06 - Peccavio - UserAuth Mini-App Version 0.9.2
- General cleanup of html (W3C valid issues)
- Thanks Thomas Traub for contribution- Changed doctype to xhtml 1.0 Transitional
- Updated userauth.css
- Corrected html of multiple pages
- Corrected treatment of xml:lang
- User select of language can be disabled
- Updated Spanish, German and French
- Added Finnish language Support
- Thanks xet7
- General cleanup of html (W3C valid issues)
- 30 October '06 - Peccavio - UserAuth Mini-App Version 0.9.1
- Updated Polish language files
- bug fix - Corrected model and action names in files- controllers/install
- views/usergroups/group_form
- views/usergroups/user_form
- 29 October '06 - Peccavio - UserAuth Mini-App Version 0.9.0
- Role based permissions configurable, ua_config
- Installer & models supports db tables prefix
- Added Language support for Polish (Thanks Hubi)
- Multi-lingual tables, forms and templates
- Cookie based, User selectable language
- Browser Language Detection library file
- Elliminated the depricated script folder
- Corrected CI's Unit Test Language files
- 18 September '06 - Peccavio - UserAuth Mini-App Version 0.8
- Rewrite of userauth lib, SQL refactored into Models
- All Models, Active Record to allow use of alternate db.
- 15 September '06 - Peccavio - UserAuth Mini-App Version 0.7
- Configurable, Inactive Login Expiration
- Added Language support for Spanish (Thanks ReynierPM)
- 6 September '06 - Peccavio - UserAuth Mini-App Version 0.6
- Test version with "Remember Me" disabled
- 3 September '06 - Peccavio - UserAuth Mini-App Version 0.5
- Bug Fix, Remember Me interfering - user/group queries
- Userauth_model split up, user/group & remember me - Userauth lib - ("SET lastlogin='".date("Y-m-d H:i:s")."' ".)
- Updated Role based User Management - scripts/ua_roles.php
- Internationalization incorporated for UserAuth
* Thanks Thomas Traub (tomcode.com) contribution
- Current support - English, French & German
- Bug Fix, Remember Me interfering - user/group queries
- 1 September '06 - Peccavio - UserAuth Mini-App Version 0.4
- Refactored menu from template into scripts/menu.php
- Added Authenication Error Handler (user/auth_error)
- Role based User Management - scripts/ua_roles.php
- renamed scripts/template_display.php to util.php
- Removed $siteroot from template, now default.css
- Documentation Update
- Misc. code cleanup
- 28 August '06 - Peccavio - UserAuth Mini-App Version 0.3
- Fixed startup problem at initial installation (not finding db)
- 27 August '06 - Peccavio - UserAuth Mini-App Version 0.2
- Refactor: scripts/template_display() & misc. cleanup of dist
- 26 August '06 - Peccavio - UserAuth Mini-App Version 0.1
Project announced - 1 Aug- Mini-App Framework - Peccavio (George)
- Native_session - Seele
- "Remember Me" - Derek (dallard)
- 25 July '06 - Peccavio - migrated Derek's code into PHP 4
- 14 July '06 - Derek presented an adaptation of Craig's UserAuth.
His User/Group admin page's UI restricts user to single user group.
This offering was stripped from a work project and required PHP5
- 26 March '06 - Craig's UserAuth code from his
pet project.
This lib uses ACL & Groups, Users can belong to multiple Groups