summaryrefslogtreecommitdiff
path: root/modules/user/helpers
AgeCommit message (Collapse)Author
2008-11-26Ignore errors from dropping view columns from the items table.Bharat Mediratta
2008-11-26Clean tag creationTim Almdal
2008-11-26Add support for marking users as "admin"Bharat Mediratta
2008-11-26Add support in the scaffolding for adding users to groups, adding andBharat Mediratta
removing users and groups.
2008-11-26group::create() and group::delete() now manage the view_## columns inBharat Mediratta
the items table. Convert installer over to using new creation API.
2008-11-26Create user/group create/delete functions and have the scaffolding use them.Bharat Mediratta
2008-11-22Move all block callbacks from View::block_type() toBharat Mediratta
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
2008-11-21Use the new block mechanism to insert user related content into the html pagesTim Almdal
2008-11-20Add a @todo to change user "joe" in the future.Bharat Mediratta
2008-11-18First iteration of REST controller refactoring. RESTful controllers that ↵Jozef Selesi
refer to collections should now have plural names and there should be only one controller per resource. Updated existing classes that implement REST_Controller. The routing now works like this: GET /controller -> controller::_index() POST /controller -> controller::_create() GET /controller/id -> controller::_show() PUT /controller/id -> controller::_update() DELETE /controller/id -> controller::_delete() GET /form/edit/controller/resource_id -> controller::_form() GET /form/add/controller/data -> controller::_form()
2008-11-18Synchronize the model rules with the database definitions and vice-versa.Tim Almdal
2008-11-16Add _method=put to the edit formBharat Mediratta
Properly implement User_Controller::_put()
2008-11-16Create Forge::add_rules_from() which pulls validation rules from the model andBharat Mediratta
associates them with the form. This replaces the various _add_validation_rules() functions in the user and comment modules. Move user edit form into user helper for consistency with the comment module. Implement missing _form method in the user controller.
2008-11-16create a regular user and make scaffolding assign owner to logged in userFelix Rabinovich
2008-11-15Destroy the session on logout, don't just delete the user.Bharat Mediratta
2008-11-15Delete the user from the session when uninstalling the user moduleBharat Mediratta
2008-11-14change the display name to a varcharTim Almdal
2008-11-13Create module helper and refactor all the code that creates, updatesBharat Mediratta
and deletes modules into it.
2008-11-13Login is now working, but you can't logoutTim Almdal
2008-11-12Remove user_password class and move the functionality into the user helper classTim Almdal
2008-11-11Added some functionality to the user helper class (to check if the user is ↵Tim Almdal
logged in) and changed the header to use the helper class
2008-11-11Correct some missing properties and change the user_model to have a set ↵Tim Almdal
function so the password is hashed as part of the model
2008-11-11New user module with password support. This supports the same password ↵Tim Almdal
mechanism as g1 and g2 to facilitate a migration.
2008-11-10Remove the complexity of a interface driven user management moduleTim Almdal
2008-11-10Early look at the User/Auth module refactoring. It will look for a driver ↵Tim Almdal
based on the contents of the user/config/user.php file. And load that driver based on the User_Driver interface. There is a default User_Gallery_Driver class that will provide the actual interface implementation. Replacing this driver will allow a completely different user and authentication implementation to be used... hopefully will reduce issues with embedding and other user management systems. Removed from unit tests so they will still run.
2008-11-09Chain away temporary variablesBharat Mediratta
2008-11-08Create permanent owner_id column in the item table, and use a softBharat Mediratta
relationship to bind the two. To do this, I overrode __get in Item_Model so that $item->owner returns the appropriate User_Model.
2008-11-08Adding user (owner) to items; info moduleFelix Rabinovich
2008-11-0844 --> E_DATABASE_ERRORBharat Mediratta
2008-11-08Change how the modules table doesn't exist is caught. In running unit test, ↵Tim Almdal
sometimes i would get the message "There was an SQL error: Table 'gallery3_unittest.modules' doesn't exist - ...." and sometimes I would get the message "Table modules does not exist in your database." In both cases the error code was 44.
2008-11-05add installation unit tests and corrected a problem where the groups_users ↵Tim Almdal
pivot table was not populated.
2008-11-05actually delete the same tables as we createadTim Almdal
2008-11-05Rename logon_name to name, name to display_name and remove the external id fieldTim Almdal
2008-11-05The start of the user module. At this point, it shows up on the scaffolding ↵Tim Almdal
screen and you can install and uninstall it. Which creates the tables, defines 2 groups (adminstrator, registered) and one user (admin).