summaryrefslogtreecommitdiff
path: root/core/tests
AgeCommit message (Collapse)Author
2009-01-11Fix all file structure issues (tabs, bad preambles, etc).Bharat Mediratta
Note: installer/install.php is now on the "direct access" list.
2009-01-11Allow .txt.php viewsBharat Mediratta
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08First step of i18n refactoring:Andy Staudacher
- Using DB table translations_incomings as translations storage (file cache to be added) - Removed overly complex i18n code which will be unnecessary with the future compiled cache files - Added t() as a translation function (global refactoring from _() to t() to follow)
2009-01-08module::event now takes an unlimited number of argsBharat Mediratta
added module::incr_var() ftw.
2009-01-04Make sure that create/update/delete fail without CSRF.Bharat Mediratta
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2008-12-31PhotoID -> PhotoId for consistencyBharat Mediratta
2008-12-31Fix a bug where we were accidentally allowing view permissions whenBharat Mediratta
allowing or resetting permission further down in the tree. This bug was introduced when I refactored the view permission cache into the items table. Updated test to catch it.
2008-12-31Fully implement the view_full permission.Bharat Mediratta
2008-12-26Add module::clear_var()Bharat Mediratta
2008-12-25Split Items_Controller_Test into Photos and Albums testsBharat Mediratta
2008-12-23Change photo::create() and album::create() to take ORM instancesBharat Mediratta
instead of ids.
2008-12-22Update Selenium IDE test case file names.Chad Kieffer
2008-12-21Removed my local dev url.Chad Kieffer
2008-12-20Add "created" and "updated" timestamps to the items table.Bharat Mediratta
2008-12-18I'm tired of clicking. Here are a few Selenium IDE tests.Chad Kieffer
2008-12-17Change the album thumbnail/resize from _album.jpg to .album.pjgBharat Mediratta
because the leading underscore confuses the Kohana router.
2008-12-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter)..
2008-12-16Make the profiler output more legible by adding some padding to the table.Bharat Mediratta
2008-12-16Fix a bug where we were not deleting the .htaccess file on access::reset()Bharat Mediratta
2008-12-16Create and delete .htaccess files based on the view permissions forBharat Mediratta
the group::everybody() user.
2008-12-16Permission only function on albums.Bharat Mediratta
2008-12-15Update to reflect changes in Kohana ORM relationship code.Bharat Mediratta
Now you must call ORM::save() after ORM::add() and ORM::remove().
2008-12-13Fix a bug where parent permissions were not getting inherited to newlyBharat Mediratta
created albums and photos.
2008-12-13Make sure that access::can fails if the item is not loadedBharat Mediratta
2008-12-13Set the resize and thumbnail maximum dimension into the module vars tableTim Almdal
2008-12-12Move the view permission cache directly into the item table for efficiency. ↵Bharat Mediratta
Unit tests ftw!
2008-12-12New scaffold images. Landscape, portrait, square.Chad Kieffer
2008-12-12Get rid of all pseudo users and pseudo groups, while preserving allBharat Mediratta
other functionality. This makes our user/group and access code fully consistent.
2008-12-11Correct testTim Almdal
2008-12-11Change the name of the implmentation of module parameters to module varsTim Almdal
2008-12-10Create a module parameter table. This will be useful if a module wants to ↵Tim Almdal
store information, but is not enough to warrant a table of its own
2008-12-10Change all access API methods to take ORMs instead of ids. This willBharat Mediratta
minimize reloading objects from the database.
2008-12-09Move code to delete users and add/remove users from groups into theBharat Mediratta
model.
2008-12-09move user::delete() to User_Model::delete()Bharat Mediratta
2008-12-09Add access::can() which verifies that the user belongs to a group that has theBharat Mediratta
given permission.
2008-12-08Rename access::can() to access::group_can()Bharat Mediratta
2008-12-08Ignore gallery_unit_test/views/kohana_*.phpBharat Mediratta
2008-12-08Refactor Menu code to create allow you to create menus using aBharat Mediratta
chainable factory interface and retrieve them by ids. Streamlined the HTML creation code a little bit in the process, moved the basic menu functionality into Theme_View and created the option to have different menus other than site_navigation().
2008-12-08Restructure Menu processing to respect the differnent types of menu items ↵Tim Almdal
(Menu's, Menu_Link, Menu_Dialog)
2008-12-07Merge gallery3/branches/menus back into gallery3/trunkTim Almdal
2008-12-07Finish writing unit tests for Access. No bugs found!Bharat Mediratta
2008-12-07Change ORM_MPTT::add_to_parent() to take an ORM instead of an id soBharat Mediratta
that it's consistent with ORM_MPTT::move_to()
2008-12-07Rename moveTo to move_to and extend the test a bit.Bharat Mediratta
2008-12-05* Add a moveTo unit testTim Almdal
* Pass the module::event(..., $data) by reference to the handlers
2008-12-04Improvements to access helper.Bharat Mediratta
o Rename access::remove_group() to access::delete_group() for consistency. o Wrote more unit tests o Tests found a bug in access::remove_item() .. yay!
2008-12-04Implement ORM_MPTT::delete() properly.Bharat Mediratta
Inline ORM_MPTT::_grow() for now Rewrite ORM_MPTT tests to be domain specific; they no longer use album/photo helpers.
2008-12-04Rename Directory_Helper_Test to Dir_Helper_TestBharat Mediratta
2008-12-04Replace grow_test and constrict_test with add_hierarchy_test andBharat Mediratta
delete_hierarchy_test. Our tests will be more robust if we test the public API and not the internal private functions. If we get to the point where we have to test the private functions, we should probably move those functions into their own separate class with a public API.