summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2008-11-11Display comments from the database.Jozef Selesi
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-11Move scaffolding code out of the comments controller to welcome.php.Jozef Selesi
2008-11-11Change Album and Photo controllers to set the user object as a global ↵Tim Almdal
variable; change the header so it links to the user controllers; and add the user controllers which don't do anything.
2008-11-11Reset PasswordHash.php to its original state and exclude it from the ↵Tim Almdal
file_structure_test
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-10Use select_list() to allow for a single assert_equal in our tests.Bharat Mediratta
2008-11-10Use alternate form of ORM::factory to reduce code.Bharat Mediratta
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-10Comment creation controller, helper and test. Add comments from the scaffold.Jozef Selesi
2008-11-10Remove Auth moduleTim Almdal
2008-11-10Prevent direct script access.Jozef Selesi
2008-11-10The start of the login functionality. It shows the login popup but doesn't ↵Tim Almdal
do anything else. Just got tire of my changes being clobbered :-)
2008-11-10uninstall and reinstall the comment module, tooBharat Mediratta
2008-11-09Chain away temporary variablesBharat Mediratta
2008-11-09Fix line endings.Jozef Selesi
2008-11-09Install/uninstall support for the comment module. Missing from the previous ↵Jozef Selesi
commit.
2008-11-08Allow in-place editing in the info block.Bharat 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-08Standardize on a format for exceptions messages new Exception("@todo ↵Tim Almdal
ERROR_MESSAGE");
2008-11-0844 --> E_DATABASE_ERRORBharat Mediratta
2008-11-08Remove inappropriate commentsBharat Mediratta
2008-11-08The start of an authentication module. This provides the installation and a ↵Tim Almdal
basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module.
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-06Uninstall/reinstall modules in the right order and catch exceptions (fixes ↵Bharat Mediratta
test failures)
2008-11-05add installation unit tests and corrected a problem where the groups_users ↵Tim Almdal
pivot table was not populated.
2008-11-05better instructions/error handlingChris Kelly
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-05Move Google Maps block off into its own gmaps module.Bharat Mediratta
2008-11-05Item Info block is now off into the info module. Yay!Bharat Mediratta
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).
2008-11-05Tags are now off in their own module, hooray!Bharat Mediratta
2008-11-05The carousel block is now off into its own module. TheBharat Mediratta
sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray!
2008-11-04Lots of new stuff!Bharat Mediratta
Replace theme HTML with *almost* the latest stuff from the mockups. (it doesn't include r18467 yet). Our theme format is now modelled after WordPress / Habari's style where you have one entry point per type (eg: album.php) which can load up whatever parts it needs (eg: $theme->display("header")) Created album and photo helpers which have create() functions that form the base of our new API, along with tests for them. Created our own version of the ORM_MPTT since the existing versions were too buggy and unsupported to depend upon. Only has a minimal implementation so far, and the tests are not yet committed. Added path(), thumbnail_path() and resize_path() to Item_Model Extended the scaffolding to allow you to add lots of photos/albums into your hierarchy. Deleted modules/mptt -- we're not going to use this anymore.
2008-11-04Add a test to detect tabs in our code, and convert all tabs to spacesBharat Mediratta
so that the test passes.
2008-11-04White space correctionTim Almdal
2008-11-03Uninstall/reinstall core on every test run (for now).Bharat Mediratta
2008-11-03Make the unit_test database config the default so that our test runs don't Bharat Mediratta
mess up the real database.
2008-11-02Create some basic infrastructure:Bharat Mediratta
* item model (contains basic item info, similar to the gx version) * module model (has info about each module and which version of it is installed) * added a very basic unit test to verify that we can create an instance of item * Updated our test controller to require a unit_test db config and call core::install if it hasn't been done already. New pattern: * core/helpers/core_installer.php creates core_installer helper. When we install a new module you call xxx_installer::install(), and when you want it to go away, you do xxx_installer::uninstall() Create
2008-11-02replace a tab with the appropriate number of spacesTim Almdal
2008-11-01Fix all our preambles to make the preamble test pass.Bharat Mediratta
2008-11-01Improve formattingBharat Mediratta
2008-11-01Remove all html::specialchars(); we're not getting rendered in aBharat Mediratta
browser.
2008-11-01Exclude demo testsBharat Mediratta
2008-11-01Set up unit test framework. Tweak configuration so that it only runs inBharat Mediratta
command line mode, and expects to put data into test/var. Create a module to wrap it that generates a nice text-only view of the output.
2008-10-31Merge over vendor code.Bharat Mediratta
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595