Commit Graph

13 Commits

Author SHA1 Message Date
Andy Staudacher
38e1eef547 Some code audit fixes and adding some directory separator normalization code to make it work on Windows as well. 2008-11-26 20:21:39 +00:00
Tim Almdal
4c587bdb01 Limit File_Structure_Test to only apply the regex expression if views is contained in the path name. 2008-11-20 05:24:24 +00:00
Tim Almdal
c8dc84d502 Change the regex to assert true for files that match the pattern "#/views/.*?(\.html|mrss)\.php$#" 2008-11-19 22:39:44 +00:00
Tim Almdal
8825687d03 Change the view_files_end_in_html_dot_php_test to view_files_correct_suffix_test and change it to also accept mrss as a valid suffix 2008-11-19 22:20:23 +00:00
Tim Almdal
9f261213a5 Reset PasswordHash.php to its original state and exclude it from the file_structure_test 2008-11-11 06:21:21 +00:00
Bharat Mediratta
7a1b2b0ca7 Add a test to make sure that we have no windows-style line endings. 2008-11-10 15:33:55 +00:00
Bharat Mediratta
605d2de336 Lots of new stuff!
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-04 21:24:42 +00:00
Bharat Mediratta
ade1650846 Add a test to detect tabs in our code, and convert all tabs to spaces
so that the test passes.
2008-11-04 05:22:06 +00:00
Bharat Mediratta
2f151cf39f Ignore view files in no_trailing_closing_php_tag_test since they will occasionally
end in tags like <?= this ?>
2008-11-02 21:56:14 +00:00
Bharat Mediratta
06174a4f74 Add a test to verify that we have the right preamble on files. 2008-11-01 22:42:59 +00:00
Bharat Mediratta
6f98bd445a Clean up tests a bit. 2008-11-01 22:05:08 +00:00
Bharat Mediratta
a7f22994ed Add a new test to verify that view files end in .html.php 2008-11-01 18:45:25 +00:00
Bharat Mediratta
60fbea6fd0 Add first test; this verifies that we leave the ?> off at the end of PHP files. 2008-11-01 10:47:00 +00:00