Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-13 | Gee it's May already. Update copyright to 2009. | Bharat Mediratta | |
2009-03-19 | Rejigger the way we do reinstalls while Kohana is running. | Bharat Mediratta | |
core_installer::install() now takes an $initial_install param that allows us to enforce that we're doing a clean install. Use this in both the scaffolding and the unit test code. Greatly simplify the scaffolding uninstall/reinstall code. | |||
2009-03-17 | Fix correctness issue if there are no tables (list_tables will return null) | Bharat Mediratta | |
Clean out the module caches directly now that the module loading robustness code is gone. | |||
2009-02-24 | Fix bootstrap / installation issue for unit test framework: | Andy Staudacher | |
Install user module before installing other modules. E.g. local_import's installation routine depends on the user module to be installed. | |||
2009-01-20 | Use xxx_test as the default database name. This means that we no | Bharat Mediratta | |
longer have to manually tweak database.php, yay! | |||
2009-01-08 | Windows fixes: Use mkdir($path, 0777, true) instead of the unportable ↵ | Andy Staudacher | |
system("mkdir -p $path") | |||
2009-01-01 | Change 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-22 | Remove module.info from infrastructure modules that are effectively | Bharat Mediratta | |
libraries that would ship with the core. Refactor welcome.php to use the newly refactored module::available() | |||
2008-12-22 | Change the way that we track modules. | Bharat Mediratta | |
Each module now has a "module.info" file that has information about the module, including the core. We can display the installed version, and the version in the code. Also take a first shot at a modules admin page. | |||
2008-12-20 | Fix a problem with magenta | Bharat Mediratta | |
2008-12-16 | Dump out the stack trace on errors. | Bharat Mediratta | |
2008-12-16 | TEST_MODE always exists now, so check its value, don't rely on its existence ↵ | Bharat Mediratta | |
to know that we're in test mode. | |||
2008-12-16 | Colorize test output | Bharat Mediratta | |
2008-12-13 | Reload modules *after* we blow away the database to flush out caches | Bharat Mediratta | |
2008-12-12 | Refaactor module::install() and module::uninstall() out of the | Bharat Mediratta | |
scaffolding and unit test code so that we can use it consistently. This fixes an issue where adding a module was not refreshing the statically cached module list causing the test framework to break. | |||
2008-12-12 | Pass list of test dirs into Unit_Test::_constructor() as an argument | Bharat Mediratta | |
instead of modifying the config. | |||
2008-12-11 | whee, more ascii art | Bharat Mediratta | |
2008-12-08 | Some minor beautification. | Bharat Mediratta | |
2008-12-08 | moved erro page from unit_test to gallery_unit_test | Felix Rabinovich | |
2008-12-04 | Fix up the test framework to work now that we're only loading installed modules | Bharat Mediratta | |
via the autoloader. | |||
2008-12-03 | Put the output in pretty ASCII boxes. | Bharat Mediratta | |
2008-12-03 | Make sure that the dev is not using the same db for tests as they are for ↵ | Bharat Mediratta | |
production (this one's for you, valiant!) | |||
2008-12-03 | Drop the database and rm -rf test/var instead of calling uninstall on | Bharat Mediratta | |
all modules. This guarantees a clean start w/out worrying about weirdness in the uninstaller code. | |||
2008-12-03 | Rename generic test.php to gallery_unit_test.php to make navigation to this ↵ | Bharat Mediratta | |
file a little easier | |||
2008-11-28 | Rename module::get_list() to module::installed() | Bharat Mediratta | |
2008-11-26 | Clean tag creation | Tim Almdal | |
2008-11-26 | Actually call uninstall! | Bharat Mediratta | |
2008-11-25 | Correct call to undefined uninstall_modules method. Should have been ↵ | Tim Almdal | |
_uninstall_modules | |||
2008-11-25 | Dynamically locate modules to install for test | Tim Almdal | |
2008-11-25 | Modify the test controller to call tag_installer::install and uninstall | Tim Almdal | |
Created the first tag unit test | |||
2008-11-10 | Remove the complexity of a interface driven user management module | Tim Almdal | |
2008-11-10 | Early look at the User/Auth module refactoring. It will look for a driver ↵ | Tim Almdal | |
based on the contents of the user/config/user.php file. And load that driver based on the User_Driver interface. There is a default User_Gallery_Driver class that will provide the actual interface implementation. Replacing this driver will allow a completely different user and authentication implementation to be used... hopefully will reduce issues with embedding and other user management systems. Removed from unit tests so they will still run. | |||
2008-11-10 | Remove Auth module | Tim Almdal | |
2008-11-10 | uninstall and reinstall the comment module, too | Bharat Mediratta | |
2008-11-08 | The start of an authentication module. This provides the installation and a ↵ | Tim Almdal | |
basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module. | |||
2008-11-06 | Uninstall/reinstall modules in the right order and catch exceptions (fixes ↵ | Bharat Mediratta | |
test failures) | |||
2008-11-05 | add installation unit tests and corrected a problem where the groups_users ↵ | Tim Almdal | |
pivot table was not populated. | |||
2008-11-05 | better instructions/error handling | Chris Kelly | |
2008-11-04 | Add a test to detect tabs in our code, and convert all tabs to spaces | Bharat Mediratta | |
so that the test passes. | |||
2008-11-04 | White space correction | Tim Almdal | |
2008-11-03 | Uninstall/reinstall core on every test run (for now). | Bharat Mediratta | |
2008-11-03 | Make the unit_test database config the default so that our test runs don't | Bharat Mediratta | |
mess up the real database. | |||
2008-11-02 | Create some basic infrastructure: | Bharat Mediratta | |
* item model (contains basic item info, similar to the gx version) * module model (has info about each module and which version of it is installed) * added a very basic unit test to verify that we can create an instance of item * Updated our test controller to require a unit_test db config and call core::install if it hasn't been done already. New pattern: * core/helpers/core_installer.php creates core_installer helper. When we install a new module you call xxx_installer::install(), and when you want it to go away, you do xxx_installer::uninstall() Create | |||
2008-11-02 | replace a tab with the appropriate number of spaces | Tim Almdal | |
2008-11-01 | Fix all our preambles to make the preamble test pass. | Bharat Mediratta | |
2008-11-01 | Improve formatting | Bharat Mediratta | |
2008-11-01 | Remove all html::specialchars(); we're not getting rendered in a | Bharat Mediratta | |
browser. | |||
2008-11-01 | Exclude demo tests | Bharat Mediratta | |
2008-11-01 | Set up unit test framework. Tweak configuration so that it only runs in | Bharat Mediratta | |
command line mode, and expects to put data into test/var. Create a module to wrap it that generates a nice text-only view of the output. |