summaryrefslogtreecommitdiff
path: root/core/tests
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
2009-05-26Ignore index.local.phpBharat Mediratta
2009-05-18Update filtersBharat Mediratta
2009-05-18update PasswordHash pathBharat Mediratta
2009-05-18Restructure the code preamble checking tests to check all PHP files,Bharat Mediratta
not just the ones that we created ourselves.
2009-05-17Update preamble test to list all broken files at onceBharat Mediratta
2009-05-17Update tests to reflect the new code that allows changing file and directory ↵Bharat Mediratta
names
2009-05-16Don't allow albums/photos/movies to end in "." because it risksBharat Mediratta
securit issues (and so Kohana won't route them, see http://dev.kohanaphp.com/issues/684). Partial fix for ticket #248.
2009-05-16Don't allow the various ::create() methods to take "/" in the name.Bharat Mediratta
2009-05-16Item_Model::rename() cannot accept new filenames that contain "/"Bharat Mediratta
2009-05-16Implement Item_Model::rename(), with unit tests.Bharat Mediratta
2009-05-14Updated to match r20797Bharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-11Save and Restore the $_POST variable in tests that manipulate it soTim Almdal
other tests don't fail unexpectedly
2009-05-06Fix for ticket #72Tim Almdal
2009-04-06Exclude lib/swfupload from our scan pathsBharat Mediratta
2009-04-05Add a weight column to the items model. Change the album ordering toTim Almdal
use this as the default instead of id. This prepares the way for manual reordering in the organize functionality.
2009-03-25Fix unit tests where the albums, resizes and thumbs directory wereTim Almdal
being deleted. Fix for ticket #182
2009-03-18Fix for ticket 142: Choose plural form "other" for count == 0 (unless the ↵Andy Staudacher
locale has a specific plural form for zero)
2009-03-17Fix minor correctness issuesBharat Mediratta
2009-03-12Attempt to reduce the chance of replacing text in sql statements thatTim Almdal
is not a table name (but contained in braces) with the database prefix by building and maintaining a cache of database tables and prefixes.
2009-03-11Fix the test failures. If albums are created manually instead ofTim Almdal
calling album::create, then the default sourt column needs to be set to id.
2009-03-11Fix the test, with the addition of the additional fields required byTim Almdal
album sort order change.
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27Replace the string [table_name] with {$prefix}table_name. SlowlyTim Almdal
working through setting up the database access to support table prefixes. (Ticket#68) Before going ahead, just wanted to check this approach... whatcha think?
2009-02-27Remove commented codeTim Almdal
Correct unbalanced brackets
2009-02-26Removed raw update sql and replaced it with Database::update(...)Tim Almdal
calls. (ticket #68)
2009-02-24Fix i18n create table sql (forgot to change core_install.php)Andy Staudacher
2009-02-12Change i18n message key to include the plural form (to ensure that it's ↵Andy Staudacher
truly unique).
2009-02-10style fixes (style for method names, style for vars in locale.php)Andy Staudacher
2009-02-09Add local localization functionality. Local = no means to upload / download ↵Andy Staudacher
translations to a translation server yet. - Added an outgoing_translations table to store translations from the local translation UI. - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority. - Not handling plural strings in the translations UI yet.
2009-02-09Adding translation UI. Not backed by any model yet (submissions are ignored).Andy Staudacher
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166).
2009-02-08Fix a bug that I think I introduced in my last sendmail refactor whereBharat Mediratta
I inverted the expectations on the result from mail() causing image uploads to fail (even though the mail gets sent!)
2009-02-08Use the ORM method delete_all to remove selected records from theTim Almdal
database instead of calling the Database::query with raw sql.
2009-02-08rollback r20001-r19998, r19995. This may require a reinstallTim Almdal
2009-02-07The start of the exif module. so I can merger the exifer libraryTim Almdal
2009-02-07Changed the way album and photo creation guards against duplicateTim Almdal
names. Added similiar code to insure that path names are not duplicated.
2009-02-05Move test-related extensions to Sendmail into a subclass that we onlyBharat Mediratta
use in the test code (Sendmail_For_Test).
2009-02-02Fix sendmail tests (had mismatch between configured header separator and ↵Andy Staudacher
expected results)
2009-01-29Add support for pretty urls. So now instead of urls like:Bharat Mediratta
http://example.com/gallery3/index.php/albums/2 http://example.com/gallery3/index.php/photos/9 You'll see urls like: http://example.com/gallery3/index.php/Family/Weddings http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
2009-01-28Create a sendmail library to wrap the call to the system sendmailTim Almdal
facility. Something quirky is happening in the first test, see comment in code, but I couldn't figure it out. Left a @todo for now.
2009-01-23Add support for parenthetical grouping to Database queries. Turns outBharat Mediratta
that this is something they kind of want for Kohana :-) Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070
2009-01-19Fix up various little things to get File_Structure_Test to pass.Bharat Mediratta
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).