cvs: pear /Perm_LiveUser package.php package.xml

From: Date: Wed, 28 Apr 2004 20:37:08 +0000
Subject: cvs: pear /Perm_LiveUser package.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18917@lists.php.net to get a copy of this message
arnaud Wed Apr 28 16:37:08 2004 EDT Modified files: /pear/Perm_LiveUser package.php package.xml Log: * update packae script and xml file

http://cvs.php.net/diff.php/pear/Perm_LiveUser/package.php?r1=1.44&r2=1.45&ty=u Index: pear/Perm_LiveUser/package.php diff -u pear/Perm_LiveUser/package.php:1.44 pear/Perm_LiveUser/package.php:1.45 --- pear/Perm_LiveUser/package.php:1.44 Wed Apr 28 05:49:57 2004 +++ pear/Perm_LiveUser/package.php Wed Apr 28 16:37:08 2004 @@ -7,71 +7,10 @@ require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; -$version = '0.11.0'; +$version = '0.11.1'; $notes = <<<EOT - - only disconnect when the disconnect option is set to true (default: null) - - fixed bug in call in init() in combination with direct passing of handle and password - - added ability to set the login/logout method to false to disable the feature - - login/logout method can now be post, get and request (the last one is new) - - fixed all the examples, should be mostly bug free now, method => get is now - used in logout, example 5 uses the newly added method singleton, all sql files - were updated and work now after they broke when last release was made. - - two_letter_name in liveuser_languages and right_define_name in liveuser_rights - were made unique in perm_db.sql - - change all quote() to quoteSmart() in DB container since quote() is deprecated - as of DB 1.6, so new dependancy of DB 1.6 is added. - - added ability to pass and array as the value of the owner_user_id parameter - in checkRightLevel() - - if you use addUser in the admin perm containers then you have to state the - auth container name else you get error msg back - - SHA1 encryption option added, PHP4.3 is needed if SHA1 encryption is used - - RC4 encryption added, Crypt_RC4 must be installed to use this - - added function getUser to all Auth containers in /Admin, this function gets - all info requested for given user and returns it in a array. - - _getPermUserId made public, now is getPermUserId Perm containers in /Admin - also added getAuthUserId in the same Perm containers - - customFields have been added to addUser and editUser (also in Admin class) - Note type is optional for DB, thus it's needed for MDB and MDB2, - we recommend that you use type even though you use DB, so if you change to MDB[2], - it will be no problem for you. - usage example for Admin class: - \$custom = array( - array('name' => 'name', 'value' => 'asdf', 'type' => 'text'), - array('name' => 'email', 'value' => 'fleh@example.com', 'type' => 'text') - ); - - \$user_id = \$admin->adduser('johndoe', 'dummypass', true, null, null, null, \$custom); - using the auth container straight would be: - \$user_id = \$admin->addUser('johndoe', 'dummypass', true, null, null, - null, \$custom); - - Admin Class - - addUser now works with DB/MDB/MDB2 - - removeUser now works with DB/MDB/MDB2 - - updateUser now works with DB/MDB/MDB2 - - getUser now works with DB/MDB/MDB2 - - searchUser now works with DB/MDB/MDB2 - - Please test the Admin class for us and report any issue that you encounter if any. - Note. it's still experimental. - - - customFields have been added to addGroup, editGroup and getGroups and this is used in - the same way as customFields for addUser/editUser - - checkRight() and checkRightLevel() both return the level of the given right or false - - checkRightLevel() can now check multiple right id's similar to how checkRight() can - - Admin Class - - tweaked setAdminContainers() method - - fixed issues with non numeric keys in \$this->_conf['authContainers'] in - side setAdminAuthContainer() and setAdminContainers() - - applied several fixes to auth getUsers() to fix the custom field support - - expanded filter support in perm getUsers() to also allow group_id filtering - - made group_id param option in perm removeUserFromGroup() - - Removed group_define_name from perm_db.sql and from code since this was apart of the - old language system. - - fixed remember me (bug #570) and unified remember me passing - - database container can now accept an options array - - fixed a bug in readGroupRights() which would result in lower level's - potentially overwriting higher levels + - minor fixes on the examples EOT; $description = <<<EOT http://cvs.php.net/diff.php/pear/Perm_LiveUser/package.xml?r1=1.96&r2=1.97&ty=u Index: pear/Perm_LiveUser/package.xml diff -u pear/Perm_LiveUser/package.xml:1.96 pear/Perm_LiveUser/package.xml:1.97 --- pear/Perm_LiveUser/package.xml:1.96 Wed Apr 28 05:49:57 2004 +++ pear/Perm_LiveUser/package.xml Wed Apr 28 16:37:08 2004 @@ -69,72 +69,11 @@ </maintainer> </maintainers> <release> - <version>0.11.0</version> + <version>0.11.1</version> <date>2004-04-28</date> <license>LGPL</license> <state>beta</state> - <notes> - only disconnect when the disconnect option is set to true (default: null) - - fixed bug in call in init() in combination with direct passing of handle and password - - added ability to set the login/logout method to false to disable the feature - - login/logout method can now be post, get and request (the last one is new) - - fixed all the examples, should be mostly bug free now, method =&gt; get is now - used in logout, example 5 uses the newly added method singleton, all sql files - were updated and work now after they broke when last release was made. - - two_letter_name in liveuser_languages and right_define_name in liveuser_rights - were made unique in perm_db.sql - - change all quote() to quoteSmart() in DB container since quote() is deprecated - as of DB 1.6, so new dependancy of DB 1.6 is added. - - added ability to pass and array as the value of the owner_user_id parameter - in checkRightLevel() - - if you use addUser in the admin perm containers then you have to state the - auth container name else you get error msg back - - SHA1 encryption option added, PHP4.3 is needed if SHA1 encryption is used - - RC4 encryption added, Crypt_RC4 must be installed to use this - - added function getUser to all Auth containers in /Admin, this function gets - all info requested for given user and returns it in a array. - - _getPermUserId made public, now is getPermUserId Perm containers in /Admin - also added getAuthUserId in the same Perm containers - - customFields have been added to addUser and editUser (also in Admin class) - Note type is optional for DB, thus it's needed for MDB and MDB2, - we recommend that you use type even though you use DB, so if you change to MDB[2], - it will be no problem for you. - usage example for Admin class: - $custom = array( - array('name' =&gt; 'name', 'value' =&gt; 'asdf', 'type' =&gt; 'text'), - array('name' =&gt; 'email', 'value' =&gt; 'fleh@example.com', 'type' =&gt; 'text') - ); - - $user_id = $admin-&gt;adduser('johndoe', 'dummypass', true, null, null, null, $custom); - using the auth container straight would be: - $user_id = $admin-&gt;addUser('johndoe', 'dummypass', true, null, null, - null, $custom); - - Admin Class - - addUser now works with DB/MDB/MDB2 - - removeUser now works with DB/MDB/MDB2 - - updateUser now works with DB/MDB/MDB2 - - getUser now works with DB/MDB/MDB2 - - searchUser now works with DB/MDB/MDB2 - - Please test the Admin class for us and report any issue that you encounter if any. - Note. it's still experimental. - - - customFields have been added to addGroup, editGroup and getGroups and this is used in - the same way as customFields for addUser/editUser - - checkRight() and checkRightLevel() both return the level of the given right or false - - checkRightLevel() can now check multiple right id's similar to how checkRight() can - - Admin Class - - tweaked setAdminContainers() method - - fixed issues with non numeric keys in $this-&gt;_conf['authContainers'] in - side setAdminAuthContainer() and setAdminContainers() - - applied several fixes to auth getUsers() to fix the custom field support - - expanded filter support in perm getUsers() to also allow group_id filtering - - made group_id param option in perm removeUserFromGroup() - - Removed group_define_name from perm_db.sql and from code since this was apart of the - old language system. - - fixed remember me (bug #570) and unified remember me passing - - database container can now accept an options array - - fixed a bug in readGroupRights() which would result in lower level's - potentially overwriting higher levels</notes> + <notes> - minor fixes on the examples</notes> <deps> <dep type="pkg" rel="ge" version="1.6" optional="yes">DB</dep> <dep type="pkg" rel="ge" version="1.1.4" optional="yes">MDB</dep> @@ -231,13 +170,13 @@ <file role="doc" name="testarea.php"/> </dir> <!-- docs/examples/example3 --> <dir name="example4"> + <file role="doc" name="conf.php"/> <file role="doc" name="demodata.sql"/> <file role="doc" name="error-page.tpl.php"/> <file role="doc" name="finish.inc.php"/> <file role="doc" name="functions.js"/> <file role="doc" name="index.html"/> <file role="doc" name="loginform.tpl.php"/> - <file role="doc" name="main.inc.php"/> <file role="doc" name="news_change.php"/> <file role="doc" name="news_change.tpl.php"/> <file role="doc" name="news_new.php"/> @@ -251,6 +190,7 @@ <file role="doc" name="admin.php"/> <file role="doc" name="admin.tpl"/> <file role="doc" name="admin_example.php"/> + <file role="doc" name="conf.php"/> <file role="doc" name="config.inc.php"/> <file role="doc" name="create_db.sql"/> <file role="doc" name="home.php"/> @@ -304,72 +244,76 @@ </release> <changelog> <release> + <version>0.11.1</version> + <date>2004-04-28</date> + <license>LGPL</license> + <state>beta</state> + <notes> - minor fixes on the examples</notes> + </release> + <release> <version>0.11.0</version> <date>2004-04-28</date> <license>LGPL</license> <state>beta</state> - <notes> - only disconnect when the disconnect option is set to true (default: null) - - fixed bug in call in init() in combination with direct passing of handle and password - - added ability to set the login/logout method to false to disable the feature - - login/logout method can now be post, get and request (the last one is new) - - fixed all the examples, should be mostly bug free now, method =&gt; get is now - used in logout, example 5 uses the newly added method singleton, all sql files - were updated and work now after they broke when last release was made. - - two_letter_name in liveuser_languages and right_define_name in liveuser_rights - were made unique in perm_db.sql - - change all quote() to quoteSmart() in DB container since quote() is deprecated - as of DB 1.6, so new dependancy of DB 1.6 is added. - - added ability to pass and array as the value of the owner_user_id parameter - in checkRightLevel() - - if you use addUser in the admin perm containers then you have to state the - auth container name else you get error msg back - - SHA1 encryption option added, PHP4.3 is needed if SHA1 encryption is used - - RC4 encryption added, Crypt_RC4 must be installed to use this - - added function getUser to all Auth containers in /Admin, this function gets - all info requested for given user and returns it in a array. - - _getPermUserId made public, now is getPermUserId Perm containers in /Admin - also added getAuthUserId in the same Perm containers - - customFields have been added to addUser and editUser (also in Admin class) - Note type is optional for DB, thus it's needed for MDB and MDB2, - we recommend that you use type even though you use DB, so if you change to MDB[2], - it will be no problem for you. - usage example for Admin class: - $custom = array( - array('name' =&gt; 'name', 'value' =&gt; 'asdf', 'type' =&gt; 'text'), - array('name' =&gt; 'email', 'value' =&gt; 'fleh@example.com', 'type' =&gt; 'text') - ); - - $user_id = $admin-&gt;adduser('johndoe', 'dummypass', true, null, null, null, $custom); - using the auth container straight would be: - $user_id = $admin-&gt;addUser('johndoe', 'dummypass', true, null, null, - null, $custom); - - Admin Class - - addUser now works with DB/MDB/MDB2 - - removeUser now works with DB/MDB/MDB2 - - updateUser now works with DB/MDB/MDB2 - - getUser now works with DB/MDB/MDB2 - - searchUser now works with DB/MDB/MDB2 - - Please test the Admin class for us and report any issue that you encounter if any. - Note. it's still experimental. - - - customFields have been added to addGroup, editGroup and getGroups and this is used in - the same way as customFields for addUser/editUser - - checkRight() and checkRightLevel() both return the level of the given right or false - - checkRightLevel() can now check multiple right id's similar to how checkRight() can - - Admin Class - - tweaked setAdminContainers() method - - fixed issues with non numeric keys in $this-&gt;_conf['authContainers'] in - side setAdminAuthContainer() and setAdminContainers() - - applied several fixes to auth getUsers() to fix the custom field support - - expanded filter support in perm getUsers() to also allow group_id filtering - - made group_id param option in perm removeUserFromGroup() - - Removed group_define_name from perm_db.sql and from code since this was apart of the - old language system. - - fixed remember me (bug #570) and unified remember me passing - - database container can now accept an options array - - fixed a bug in readGroupRights() which would result in lower level's - potentially overwriting higher levels</notes> + <notes>- only disconnect when the disconnect option is set to true (default: null) +- fixed bug in call in init() in combination with direct passing of handle and password +- added ability to set the login/logout method to false to disable the feature +- login/logout method can now be post, get and request (the last one is new) +- fixed all the examples, should be mostly bug free now, method =&gt; get is now + used in logout, example 5 uses the newly added method singleton, all sql files + were updated and work now after they broke when last release was made. +- two_letter_name in liveuser_languages and right_define_name in liveuser_rights + were made unique in perm_db.sql +- change all quote() to quoteSmart() in DB container since quote() is deprecated + as of DB 1.6, so new dependancy of DB 1.6 is added. +- added ability to pass and array as the value of the owner_user_id parameter + in checkRightLevel() +- if you use addUser in the admin perm containers then you have to state the + auth container name else you get error msg back +- SHA1 encryption option added, PHP4.3 is needed if SHA1 encryption is used +- RC4 encryption added, Crypt_RC4 must be installed to use this +- added function getUser to all Auth containers in /Admin, this function gets + all info requested for given user and returns it in a array. +- _getPermUserId made public, now is getPermUserId Perm containers in /Admin + also added getAuthUserId in the same Perm containers +- customFields have been added to addUser and editUser (also in Admin class) + Note type is optional for DB, thus it's needed for MDB and MDB2, + we recommend that you use type even though you use DB, so if you change to MDB[2], + it will be no problem for you. + usage example for Admin class: + $custom = array( + array('name' =&gt; 'name', 'value' =&gt; 'asdf', 'type' =&gt; 'text'), + array('name' =&gt; 'email', 'value' =&gt; 'fleh@example.com', 'type' =&gt; 'text') + ); + $user_id = $admin-&gt;adduser('johndoe', 'dummypass', true, null, null, null, $custom); + using the auth container straight would be: + $user_id = $admin-&gt;addUser('johndoe', 'dummypass', true, null, null, + null, $custom); +- Admin Class + - addUser now works with DB/MDB/MDB2 + - removeUser now works with DB/MDB/MDB2 + - updateUser now works with DB/MDB/MDB2 + - getUser now works with DB/MDB/MDB2 + - searchUser now works with DB/MDB/MDB2 + Please test the Admin class for us and report any issue that you encounter if any. + Note. it's still experimental. +- customFields have been added to addGroup, editGroup and getGroups and this is used in + the same way as customFields for addUser/editUser +- checkRight() and checkRightLevel() both return the level of the given right or false +- checkRightLevel() can now check multiple right id's similar to how checkRight() can +- Admin Class + - tweaked setAdminContainers() method + - fixed issues with non numeric keys in $this-&gt;_conf['authContainers'] in + side setAdminAuthContainer() and setAdminContainers() + - applied several fixes to auth getUsers() to fix the custom field support + - expanded filter support in perm getUsers() to also allow group_id filtering + - made group_id param option in perm removeUserFromGroup() +- Removed group_define_name from perm_db.sql and from code since this was apart of the + old language system. +- fixed remember me (bug #570) and unified remember me passing +- database container can now accept an options array +- fixed a bug in readGroupRights() which would result in lower level's + potentially overwriting higher levels</notes> </release> <release> <version>0.10.1</version>
« previous php.pear.cvs (#18917) next »