summaryrefslogtreecommitdiff
path: root/core/tests/File_Structure_Test.php
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-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-04-06Exclude lib/swfupload from our scan pathsBharat Mediratta
2009-02-07The start of the exif module. so I can merger the exifer libraryTim Almdal
2009-01-19Fix up various little things to get File_Structure_Test to pass.Bharat Mediratta
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-11Remove path normalization, the current normalization code didn't go far ↵Andy Staudacher
enough anyway.
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-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-16Make the profiler output more legible by adding some padding to the table.Bharat Mediratta
2008-12-08Ignore gallery_unit_test/views/kohana_*.phpBharat Mediratta
2008-11-26Some code audit fixes and adding some directory separator normalization code ↵Andy Staudacher
to make it work on Windows as well.
2008-11-20Limit File_Structure_Test to only apply the regex expression if views is ↵Tim Almdal
contained in the path name.
2008-11-19Change the regex to assert true for files that match the pattern ↵Tim Almdal
"#/views/.*?(\.html|mrss)\.php$#"
2008-11-19Change the view_files_end_in_html_dot_php_test to ↵Tim Almdal
view_files_correct_suffix_test and change it to also accept mrss as a valid suffix
2008-11-11Reset PasswordHash.php to its original state and exclude it from the ↵Tim Almdal
file_structure_test
2008-11-10Add a test to make sure that we have no windows-style line endings.Bharat Mediratta
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-02Ignore view files in no_trailing_closing_php_tag_test since they will ↵Bharat Mediratta
occasionally end in tags like <?= this ?>
2008-11-01Add a test to verify that we have the right preamble on files.Bharat Mediratta
2008-11-01Clean up tests a bit.Bharat Mediratta
2008-11-01Add a new test to verify that view files end in .html.phpBharat Mediratta
2008-11-01Add first test; this verifies that we leave the ?> off at the end of PHP files.Bharat Mediratta