summaryrefslogtreecommitdiff
path: root/core/tests
AgeCommit message (Collapse)Author
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).
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