]>
src.bluestatic.org Git - isso.git/log
Robert Sesek [Tue, 14 Aug 2007 03:46:05 +0000 (03:46 +0000)]
Fixing "method not found" for BSApp::GetType()
* Input.php:
(BSInput::escape)
Robert Sesek [Tue, 14 Aug 2007 03:44:27 +0000 (03:44 +0000)]
Renaming BSRegister to BSApp and moving Register.php to App.php
Robert Sesek [Tue, 14 Aug 2007 03:42:12 +0000 (03:42 +0000)]
Updating the unit tests for preparation of renaming BSRegister to BSApp
Robert Sesek [Tue, 14 Aug 2007 03:38:41 +0000 (03:38 +0000)]
Changing the registry part of BSRegister to be a new inner class called BSVariableRegistry
* Register.php:
(BSRegister::__construct): Instantiate a new instance of BSVariableRegistry
(BSRegister::Registry): New method
(BSRegister::Register): Removed
(BSRegister::Unregister): Removed
(BSRegister::Get): Removed
(BSRegister::GetType): Removed
(BSRegister::GetAll): Removed
(BSVariableRegistry): New class
* docs/UnitTest/RegisterTest.php: Updated the unit test for the new BSRegister functionality
Robert Sesek [Tue, 14 Aug 2007 02:54:08 +0000 (02:54 +0000)]
Remvoing all the methods in BSRegister that handle error reporting
* Register.php:
(BSRegister::Message): Removed
(BSRegister::_errorHandler): Removed
(BSRegister::ExplainErrorReporting): Removed
Robert Sesek [Tue, 14 Aug 2007 01:59:04 +0000 (01:59 +0000)]
Switching from calls to trigger_error() to throwing generic exceptions for client implementation errors
* Installer.php
* Template.php
* PrinterBaseElement.php
* PrinterTableElement.php
* PrinterRootElementTable.php
* Mail.php
Robert Sesek [Tue, 14 Aug 2007 01:49:38 +0000 (01:49 +0000)]
Suppress errors in connecting via MySQLi
* DbMySqlI.php:
(BSDbMySqlI::_connect): Suppress the errors in our call to mysqli_connect
Robert Sesek [Tue, 14 Aug 2007 01:48:27 +0000 (01:48 +0000)]
Renaming the transaction*() methods to just be the type of transaction statement to send, and removing savepoint support
* DbMySql.php
* DbMySqlI.php
* Db.php
* DbPostgreSql.php
Robert Sesek [Tue, 14 Aug 2007 01:44:39 +0000 (01:44 +0000)]
Removing a call to _error in DbMySql.php because it's no longer needed with exceptions
* DbMySql.php:
(DbMySql::_selectDb)
Robert Sesek [Tue, 14 Aug 2007 01:42:55 +0000 (01:42 +0000)]
Adding database unit tests and in the Db module, use a new DatabaseException class intead of triggering errors
Robert Sesek [Fri, 3 Aug 2007 18:30:16 +0000 (18:30 +0000)]
Don't quote certain MySQL values
Robert Sesek [Fri, 3 Aug 2007 18:02:31 +0000 (18:02 +0000)]
Updating create_schema.php to work with the new ISSO3 stuff
Robert Sesek [Sat, 28 Jul 2007 18:33:43 +0000 (18:33 +0000)]
- Switch to using Exception in Xml.php, Register.php, and Input.php
- We now have a fully working test suite again
Robert Sesek [Sat, 28 Jul 2007 18:16:35 +0000 (18:16 +0000)]
Our test suite is now done with PHPUnit, although it's rather broken
Robert Sesek [Sat, 28 Jul 2007 17:43:46 +0000 (17:43 +0000)]
* tools/ISI_PHPUnit2_Output_HTML_Listener.php: Removed because we added it already.
Robert Sesek [Sat, 28 Jul 2007 17:42:38 +0000 (17:42 +0000)]
Removing the pconnect option from BSDb and it's children.
* Db.php:
(BSDb::connect): Removing the $pconnect paramater
(BSDb::_pConnect): Removed.
* DbMySql.php:
(BSDbMySql::_pConnect): Removed
* DbMySqlI.php:
(BSDbMySqlI::_pConnect): Removed
* DbPostgreSql.php:
(BSDbPostgreSql::_pConnect): Removed
Robert Sesek [Sat, 28 Jul 2007 17:37:32 +0000 (17:37 +0000)]
Starting to migrate from SimpleTest to PHPUnit.
* docs/UnitTestReport.php: Renamed to SimpleTestReporter
* docs/UnitTest/AllTests.php: Changing the path to the test reporter, see above.
* docs/PHPUnitTestReporter.php: Added
Robert Sesek [Sun, 15 Jul 2007 19:33:01 +0000 (19:33 +0000)]
Adding the results of testing with PHP5
Robert Sesek [Sun, 15 Jul 2007 18:53:27 +0000 (18:53 +0000)]
Adding PDO tests
Robert Sesek [Sun, 15 Jul 2007 18:50:23 +0000 (18:50 +0000)]
Moving imported tools into the tools/ directory
Robert Sesek [Sun, 15 Jul 2007 18:48:53 +0000 (18:48 +0000)]
Merging the php520 tests from the branch
Robert Sesek [Sun, 15 Jul 2007 18:43:55 +0000 (18:43 +0000)]
Importing tools to ISSO
Robert Sesek [Sat, 14 Jul 2007 23:14:27 +0000 (23:14 +0000)]
Adding date tests
Robert Sesek [Sat, 14 Jul 2007 22:48:54 +0000 (22:48 +0000)]
Adding a few tests of PHP5's new features
Robert Sesek [Sat, 14 Jul 2007 22:39:12 +0000 (22:39 +0000)]
Branching the ISSO3 trunk in experimenting with the new features of PHP 5.2.0
Robert Sesek [Fri, 13 Jul 2007 05:08:00 +0000 (05:08 +0000)]
Merging changes from the 2.1.x branch back to trunk (r860-862)
Robert Sesek [Fri, 13 Jul 2007 05:00:49 +0000 (05:00 +0000)]
In mail.php, we don't want to double encode fields so in send() create local variables instead of using object properties
Robert Sesek [Sat, 7 Jul 2007 23:50:46 +0000 (23:50 +0000)]
Change Mail::_encodeHeaderValue() to use regexp instead of a for() loop
Robert Sesek [Sat, 7 Jul 2007 23:36:24 +0000 (23:36 +0000)]
Adding Mail::_encodeHeaderValue()
Robert Sesek [Sat, 7 Jul 2007 22:41:16 +0000 (22:41 +0000)]
In xml.php, the default should be utf8 and when using it, we don't want to call utf8_encode()
Robert Sesek [Wed, 13 Jun 2007 23:17:30 +0000 (23:17 +0000)]
In BSApi::fetch(), remove the code that populated BSApi->values[] with the objdata result
Robert Sesek [Wed, 13 Jun 2007 23:16:05 +0000 (23:16 +0000)]
Adding a verify_unique() method to BSApi
Robert Sesek [Wed, 13 Jun 2007 23:06:37 +0000 (23:06 +0000)]
In Api.php, TYPE_NOCLEAN no longer exists as it was replaced with TYPE_NONE
Robert Sesek [Wed, 13 Jun 2007 23:05:49 +0000 (23:05 +0000)]
Modifying the error handling system in BSApi so that errors generated from validating data that's only used to fetch are ignored
Robert Sesek [Wed, 13 Jun 2007 22:53:34 +0000 (22:53 +0000)]
In BSRegister::RequiredModules, we forgot a word in the error message
Robert Sesek [Tue, 1 May 2007 00:17:12 +0000 (00:17 +0000)]
Removing the Markdown parser because we don't need it really
Robert Sesek [Sun, 22 Apr 2007 06:15:28 +0000 (06:15 +0000)]
Optimizing BSFunctions::Random() ever so slightly so we only need one loop instead of many
Robert Sesek [Sat, 21 Apr 2007 21:23:47 +0000 (21:23 +0000)]
- In Pagination::constructPageNav() we added the $addParam paramter to not force adding the ? or & onto the end of $baselink
- Fixed "Call to undefined method BSInput::input_clean()"
Robert Sesek [Mon, 9 Apr 2007 00:18:25 +0000 (00:18 +0000)]
Remove a potential warning in BSRegister::_errorHandler() due to an array index
Robert Sesek [Wed, 4 Apr 2007 02:52:30 +0000 (02:52 +0000)]
Don't call intval() on the percentages because then we can end up with bad data sets
Robert Sesek [Wed, 4 Apr 2007 02:40:20 +0000 (02:40 +0000)]
Removing BSTemplate database-driven system in place of BSTemplateFs (which is now called BSTemplate) because we never use database-driven templates any more, but rather file templates with database caching
Robert Sesek [Wed, 4 Apr 2007 01:46:09 +0000 (01:46 +0000)]
Rewrote the <lang> tag parser in BSTemplate::_parsePhrases():
- Now the indices in the tag actually correspond to the appropriate argument
- It looks a lot cooler?
Robert Sesek [Wed, 4 Apr 2007 00:49:11 +0000 (00:49 +0000)]
Added BSFunctions::Substring() that doesn't take in a length, but rather an end position
Robert Sesek [Tue, 3 Apr 2007 20:06:32 +0000 (20:06 +0000)]
Added a system to extract the link map...
Robert Sesek [Tue, 3 Apr 2007 19:31:17 +0000 (19:31 +0000)]
Added support for horizontal rules in Markdown
Robert Sesek [Tue, 3 Apr 2007 19:24:28 +0000 (19:24 +0000)]
Markdown parser in progress....
Robert Sesek [Sun, 1 Apr 2007 20:35:22 +0000 (20:35 +0000)]
We forgot to close a <p> tag in MarkdownTest::testParagraphs()
Robert Sesek [Sun, 1 Apr 2007 19:19:14 +0000 (19:19 +0000)]
More small fixes to the Markdown unit test
Robert Sesek [Sun, 1 Apr 2007 08:04:44 +0000 (08:04 +0000)]
Fix the DateTest uni test do it doesn't break in DST
Robert Sesek [Sun, 1 Apr 2007 07:58:10 +0000 (07:58 +0000)]
Fixing a few bugs with the Markdown unit test
Robert Sesek [Sun, 1 Apr 2007 07:36:11 +0000 (07:36 +0000)]
Added an empty Markdown.php file and a skeleton BSMarkdown class. Complete unit test for the Markdown parser is done.
Robert Sesek [Wed, 28 Mar 2007 03:42:56 +0000 (03:42 +0000)]
Adding a test method for the debug list
Robert Sesek [Sun, 25 Mar 2007 19:01:17 +0000 (19:01 +0000)]
Fixed another problem where there would be DB function-not-found errors if the cache table wouldn't be enabled
Robert Sesek [Mon, 19 Mar 2007 18:16:39 +0000 (18:16 +0000)]
Fixing makepo.sh.php to actually use deep directories
Robert Sesek [Mon, 19 Mar 2007 05:50:04 +0000 (05:50 +0000)]
People without PHP's short tags on will get some weird results with the installer module...
Robert Sesek [Sat, 17 Mar 2007 15:39:07 +0000 (15:39 +0000)]
Fixed a bug in Mail that was fixed on trunk: in send() we change the global headers ($this->headers) and that creates a problem if we want to change the from address, etc. So in send() no longer change that variable.
Robert Sesek [Thu, 15 Mar 2007 03:11:21 +0000 (03:11 +0000)]
Removing the Router and RouterController system because it's not very cross-platform and cross-server friendly
Robert Sesek [Sun, 11 Mar 2007 23:17:14 +0000 (23:17 +0000)]
Updating makepo.sh.php to reflect the new way ScanDir() works
Robert Sesek [Tue, 27 Feb 2007 03:34:46 +0000 (03:34 +0000)]
Do the same thing of allowing multiple connections in our call to mysql_connect() from r828 on the 2.1.x branch
Robert Sesek [Tue, 27 Feb 2007 03:33:51 +0000 (03:33 +0000)]
In our call to mysql_connect(), allow us to open multiple connections to the database server.
Robert Sesek [Wed, 21 Feb 2007 04:49:45 +0000 (04:49 +0000)]
Why was this capitalized?
Robert Sesek [Wed, 21 Feb 2007 04:48:29 +0000 (04:48 +0000)]
The transaction methods need to be renamed in order to fully implement the Db abstract class
Robert Sesek [Sun, 18 Feb 2007 06:47:40 +0000 (06:47 +0000)]
Fix BSXml to work in accordance with the unit test; apparently utf8_encode() isn't necessary
Robert Sesek [Sun, 18 Feb 2007 06:26:04 +0000 (06:26 +0000)]
Bad unit test... need to actually set the UTF-8 flag in BSXml::Parse()
Robert Sesek [Sun, 18 Feb 2007 06:19:34 +0000 (06:19 +0000)]
- Fixing the unit tests to actually work and the same with code coverage
- Added an XmlTest
Robert Sesek [Sun, 18 Feb 2007 05:30:19 +0000 (05:30 +0000)]
trigger_error() should kill the script: don't exit on our own accord
Robert Sesek [Sun, 18 Feb 2007 04:43:47 +0000 (04:43 +0000)]
Removing old files that we no longer use
Robert Sesek [Sun, 18 Feb 2007 03:34:38 +0000 (03:34 +0000)]
BSPrinter::_Instance() needs to be static
Robert Sesek [Sat, 17 Feb 2007 23:30:00 +0000 (23:30 +0000)]
Added an additional parsing step in which curly braces are parsed into PHP code no matter what, so that way we can use all kinds of cool functions in them
Robert Sesek [Sat, 17 Feb 2007 22:50:30 +0000 (22:50 +0000)]
Refactoring to keep in line with our naming standards
Robert Sesek [Sat, 17 Feb 2007 19:29:54 +0000 (19:29 +0000)]
Check that database caching is enabled before we run off and try to insert templates into the database...
Robert Sesek [Sat, 17 Feb 2007 18:52:00 +0000 (18:52 +0000)]
We don't need the _standardDeviation() and _arrayAverage() functions anymore
Robert Sesek [Sat, 17 Feb 2007 18:51:35 +0000 (18:51 +0000)]
Line graphing is done!
Robert Sesek [Sat, 17 Feb 2007 18:32:45 +0000 (18:32 +0000)]
We can now actually graph lines and points in GraphLine
Robert Sesek [Sat, 17 Feb 2007 18:32:06 +0000 (18:32 +0000)]
Moved the output buffering stuff from the graph() function to _imageFlush() so that other graphing systems can use it
Robert Sesek [Sat, 17 Feb 2007 03:56:55 +0000 (03:56 +0000)]
- Moving some important things (like painting a blank canvas and allocating common colors) to BSGraph from BSGraphPie
- We can now properly label our axes in BSGraphLine, though we don't show any points
Robert Sesek [Fri, 16 Feb 2007 22:50:30 +0000 (22:50 +0000)]
Adding the beginnings of the GraphLine system
Robert Sesek [Thu, 15 Feb 2007 03:17:50 +0000 (03:17 +0000)]
Merging the changes for the database-driven template caching system from r809 on the 2.1.x branch back to the trunk
Robert Sesek [Thu, 15 Feb 2007 02:26:59 +0000 (02:26 +0000)]
Added a very nifty caching system for filesystem templates. Apparently, the main most time is spent in the actual processing of templates (parsing language and conditionals). This system works by polling the database cache (which stores the fully compiled templates) and checks to make sure that the filesystem files aren't actually updated. If they are, it updates the cache, and if they aren't it just returns the database copy. The process only works on templates called in cache() and not in lazy-loading in fetch().
Robert Sesek [Thu, 25 Jan 2007 01:51:26 +0000 (01:51 +0000)]
Make the error message that occurs when a database is invalid actually work right
Robert Sesek [Tue, 26 Dec 2006 23:19:06 +0000 (23:19 +0000)]
We need to implode() the query trace to fully complete the merge back
Robert Sesek [Tue, 26 Dec 2006 23:16:18 +0000 (23:16 +0000)]
Merging the query debug block from TRUNK back to the 2.1.x branch
Robert Sesek [Tue, 26 Dec 2006 02:44:56 +0000 (02:44 +0000)]
BSRouter::_invokeController() should be private
Robert Sesek [Tue, 26 Dec 2006 02:43:11 +0000 (02:43 +0000)]
We have to use call_user_func() in BSRegisteR::_error()
Robert Sesek [Tue, 26 Dec 2006 02:29:58 +0000 (02:29 +0000)]
Controller directories can now be prefixed
Robert Sesek [Tue, 26 Dec 2006 00:29:50 +0000 (00:29 +0000)]
Renaming printer_navigation.php to PrinterNavigation.php
Robert Sesek [Tue, 26 Dec 2006 00:29:27 +0000 (00:29 +0000)]
- Updated printer_navigation.php to get BSPrinterNavigation, however this will be changing to become a more well-suited system
- Added realm support to BSPrinter, and by extension BSPrinterRootElementPage
Robert Sesek [Tue, 26 Dec 2006 00:10:23 +0000 (00:10 +0000)]
Moving the unit test stuff to the docs/ folder
Robert Sesek [Tue, 26 Dec 2006 00:04:00 +0000 (00:04 +0000)]
Renaming graph_pie.php to GraphPie.php
Robert Sesek [Tue, 26 Dec 2006 00:03:37 +0000 (00:03 +0000)]
- Added abstract class BSGraph
- Updated the pie grapher to have BSGraphPie
Robert Sesek [Mon, 25 Dec 2006 23:36:43 +0000 (23:36 +0000)]
In BSRegister::RequiredModules(), because some classes are static, also check to make sure that the class isn't defined so that they aren't ignored in the checking
Robert Sesek [Mon, 25 Dec 2006 23:35:57 +0000 (23:35 +0000)]
Renaming printer_css.php to PrinterCss.php
Robert Sesek [Mon, 25 Dec 2006 23:35:22 +0000 (23:35 +0000)]
Retrofitted BSPrinterCss
Robert Sesek [Mon, 25 Dec 2006 23:20:53 +0000 (23:20 +0000)]
Unifying the way we do singleton so we don't have to think about which method to use internally in these classes
Robert Sesek [Mon, 25 Dec 2006 23:17:57 +0000 (23:17 +0000)]
Capitalizing printer.php's filename
Robert Sesek [Mon, 25 Dec 2006 23:16:26 +0000 (23:16 +0000)]
Create BSPrinter to handle CSS stylesheet linking and language information so individual pages don't keep track of it
Robert Sesek [Mon, 25 Dec 2006 22:58:46 +0000 (22:58 +0000)]
Add accesskey support to BSPrinterBaseElement
Robert Sesek [Mon, 25 Dec 2006 22:55:50 +0000 (22:55 +0000)]
- Added BSPrinterTableElement::RowTextarea()
- Added textarea support to BSPrinterBaseElement
Robert Sesek [Mon, 25 Dec 2006 22:43:44 +0000 (22:43 +0000)]
- BSPrinterTableElement::RowSubmit() now will ignore buttons if they're null
- Implemented BSPrinterRootElementPage:: Redirect(), ::Message(), ::Confirm, ::Error
- Added onClick properties to BSPrinterBaseElement
Robert Sesek [Mon, 25 Dec 2006 21:14:50 +0000 (21:14 +0000)]
The constructor can now take a variable number of arguments as children