summaryrefslogtreecommitdiff
path: root/core/tests
AgeCommit message (Collapse)Author
2009-01-15Changing t() placeholder syntax from {{replace_me}} to %replace_me.Andy Staudacher
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-13Models should be named in adjective_noun form to make pluralizatoinBharat Mediratta
more intuitive. Renamed Translations_Incoming to Incoming_Translation to suit.
2009-01-11Remove path normalization, the current normalization code didn't go far ↵Andy Staudacher
enough anyway.
2009-01-11MySQL strict fix for Item_Model test. Set all fields that have no default value.Andy Staudacher
2009-01-11Fix ORM MPTT tests for MySQL strict mode (can't omit Iten type in inserts, ↵Andy Staudacher
it doesn't have a default value).
2009-01-11Fix Access_Helper tests for MySQL strict mode (can't omit Iten type in ↵Andy Staudacher
inserts, it doesn't have a default value).
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