Commit graph

721 commits

Author SHA1 Message Date
Joshua Sherman
161d0e5051 Stubbed out Profiler tests 2014-01-04 11:33:13 -05:00
Joshua Sherman
bf817d52f4 HTML class tests
Wrote tests and dropped the ol' XHTML "self-closing" tags. Also fixed a bug with closing tags when no content was present.
2014-01-04 10:15:56 -05:00
Joshua Sherman
f0b5bfa459 Form class tests and updates
Still rockin' that XHTML4 nonsense. Updates to HTML5 (sans self closing tags) and added tests.
2014-01-03 23:45:52 -05:00
Joshua Sherman
13e9507b49 Dropped PHP <5.5 in travis. 2014-01-03 19:09:46 -05:00
Joshua Sherman
dd2e6994fa New test classes
Forgot to commit them it seems.
2014-01-03 19:08:53 -05:00
Joshua Sherman
ff226a3cf9 MOAR TESTS
Had to half ass the AYAH test because it was throwing too many errors w/o an actual API key. Testing the error scenarios in the methods themselves and not the results from AYAH.
2014-01-03 19:00:38 -05:00
Joshua Sherman
c87779b9d2 Tests for gravatar class 2014-01-03 18:17:06 -05:00
Joshua Sherman
0cb3489054 Added back 5.4 and 5.3 as acceptable failures.
Don't really need them but figured why the hell not.
2014-01-03 17:53:49 -05:00
Joshua Sherman
ff44cd0e17 Cleaned up longhand arrays, added Profanity tests 2014-01-03 17:52:24 -05:00
Joshua Sherman
5678e75fbd Tinychat API has been dropped, dropping class. 2014-01-03 17:46:45 -05:00
Joshua Sherman
967f4c1e64 Added HHVM to testing 2014-01-03 13:16:11 -05:00
Joshua Sherman
6e9736f030 Finished up tests for Dynamic class
Switched closure compiler to a composer version for ease of use when doing CI testing
2014-01-03 00:22:58 -05:00
Joshua Sherman
17752f71b3 More composer stuff, updated compile / minify logic
Now using composer installed apps for less and scss files.
2014-01-02 22:39:19 -05:00
Joshua Sherman
bfa35794b5 Cleaned up old code and wrote more tests
Log class is fully tested, Dynamic class is nearly complete but I wanted to see what Travis would bark about regarding LESS and SASS
2014-01-02 18:16:15 -05:00
Joshua Sherman
3fee938c2a Stubbed out and wrote some tests
Will code tests for the stub files in the AM.
2014-01-02 01:17:25 -05:00
Joshua Sherman
5308f4ea6c Number and File class tests 2014-01-02 00:56:20 -05:00
Joshua Sherman
e9456600a7 Sort and Time class tests 2014-01-02 00:09:58 -05:00
Joshua Sherman
007ebef6e6 Distance class tests 2014-01-01 23:03:08 -05:00
Joshua Sherman
2f0472fbf3 Browser class tests 2014-01-01 22:37:05 -05:00
Joshua Sherman
6ff2889270 Moved testing TODO 2013-12-31 12:51:26 -05:00
Joshua Sherman
7a4f992210 Added TODO and new tests
Catching up the existing tests to include any new functionality that hasn't had a test written yet.
2013-12-31 11:08:19 -05:00
Joshua Sherman
9b1feda909 Added support for custom maintenance templates. 2013-12-31 10:56:31 -05:00
Joshua Sherman
5a15c791c5 Finished up Controller tests for existing functionality 2013-12-31 10:39:21 -05:00
Joshua Sherman
efa8f77eba More tests 2013-12-30 23:29:52 -05:00
Joshua Sherman
ec4d771440 Expanded sanity check to hopefully pass tests
Travis is failing and barking about an undefined index "cache". Found the one place I'm referencing it without checking it first and added an isset(). Not failing locally so perhaps it's an issue with PHP 5.5.6 in comparison to 5.5.7 or some other nuance I'm not aware of.
2013-12-30 18:11:42 -05:00
Joshua Sherman
c0dbb39bda More tests
Also, found that damn newline that was being output.
2013-12-30 17:13:22 -05:00
Joshua Sherman
64dc006b5f Documented some stuff, refactoring some other stuff
Moved re-used object instances to the Object class and added object loader logic to the constructor.
2013-12-30 15:47:13 -05:00
Joshua Sherman
74f0adb4f8 Disabled some tests as I figure out the issue, detroyed 5.4 support. 2013-12-30 00:46:29 -05:00
Joshua Sherman
54471c361b So much refactoring... 2013-12-30 00:38:13 -05:00
Joshua Sherman
03e613d380 Reworked README a bit to include PHP 5.4+
... for now, muahahahahaha
2013-12-29 13:32:23 -05:00
Joshua Sherman
7f37abc527 Cleaned up test includes a bit
Probably want to include an autoloader at some point. Also added PHP 5.3 and 5.4 to the test list, 5.3 outta fail, unsure about 5.4
2013-12-29 13:16:21 -05:00
Joshua Sherman
19a211cf6a More refactoring, ditching old code
Added a new 404 system which checks for templates/__shared/404.phtml (module-less bare in mind) and falls back to a generic Apache-ish Not found page with PICKLES shout out. Added some more assumptions (login page is always /login a/k/a the login.php module) also there's no way to customize which template is used for the 404. Removed some code that was no longer used in the Security class.
2013-12-29 12:52:13 -05:00
Joshua Sherman
09d1744910 Refactoring old code
More like removing old code. Added some memento notes for myself in there.
2013-12-28 18:41:56 -05:00
Joshua Sherman
6a1056306f Dropped old Display classes
RSS isn't ported yet but I have a copy to work from
2013-12-28 16:26:12 -05:00
Joshua Sherman
064b4d9f55 Reworked Controller around new Display class 2013-12-28 16:23:42 -05:00
Joshua Sherman
4c0632cb4c Cleaned up whitespace 2013-12-28 16:23:27 -05:00
Joshua Sherman
a050c7d031 Hacked in some public variables
Very hacky, switched variables to public and added a catch in the __get method to assign to the right place for the variables that modules are using (instead of having to update all of the modules in the wild)
2013-12-28 16:22:22 -05:00
Joshua Sherman
a4bf33cce2 If no request, assume 'home' module
Eliminates the need to define a default module in the config.
2013-12-28 16:21:24 -05:00
Joshua Sherman
e0228a9e8a Updated to use composer.json
Throwing errors about my command, figured it's best to just use the same thing I'm using locally. Really hope that this is something that can be done.
2013-12-28 02:09:53 -05:00
Joshua Sherman
e70f31c711 Moved to composer installed vfsSteam
Seems the issue was namespacing this whole time.
2013-12-28 02:08:10 -05:00
Joshua Sherman
fd157c23bc Just a bit more... 2013-12-28 01:54:21 -05:00
Joshua Sherman
054ac575e1 Debugging stuff 2013-12-28 01:52:00 -05:00
Joshua Sherman
a1d9f87a4f More tweaking. 2013-12-28 01:49:52 -05:00
Joshua Sherman
5d14f78d29 More hacking to get vfsStream to load in Travis 2013-12-28 01:44:30 -05:00
Josh Sherman
2dad337c8d Fixed composer require command 2013-12-28 01:39:33 -05:00
Josh Sherman
6b0fed32c6 Added dependencies
Added a hack to work locally for me. May move to using composer to obtain / install vfsStream just didn't like the "vendor" directory, will look into using a custom directory so it can be hidden git ignored.
2013-12-28 01:36:08 -05:00
Josh Sherman
7c4e939e6e Added status image and proper script in config
Expecting a failure due to PEAR dependencies failing.
2013-12-28 01:24:16 -05:00
Josh Sherman
6bca74f155 Added travis config 2013-12-28 01:17:00 -05:00
Josh Sherman
07a95a7508 Built out new Display class with tests
Not hooked up to the Controller yet, wanted to get Travis setup.
2013-12-28 01:13:02 -05:00
Josh Sherman
99a04865e8 Fixed existing tests
Just some small tweaks to get all of the tests passing again. Functionality changed and the tests were not kept up to date.
2013-12-26 15:01:05 -05:00