Commit graph

142 commits

Author SHA1 Message Date
Josh Sherman
8e60e9d553 Dropped date utility class
Only had one function and it was referencing the time class. Moved date tests
to the time tests because it seemed like a more comprehensive set of tests.
2014-10-07 09:33:21 -04:00
Josh Sherman
e45e1251e1 Added auth test, cleaned up directory 2014-10-04 07:24:57 -04:00
Josh Sherman
4c55c25f00 Cleared out instances 2014-10-03 06:33:55 -04:00
Josh Sherman
1a589efe12 Added config loading 2014-10-03 06:30:02 -04:00
Josh Sherman
908fff2193 Dropped php -a as it is hanging HHVM 2014-10-03 06:21:21 -04:00
Josh Sherman
823fe0759a Updated to only inject on non-HHVM
Saw someone else's .travis.yml that opted to not put those extension lines into
the INI when running on HHVM. Worth a shot!
2014-10-03 06:17:54 -04:00
Josh Sherman
ab6623d6fb Trying to debug hhvm
Added php -i to see where the php.ini file lives, the one I read about on
Github doesn't allow me to write to it.
2014-10-03 06:10:45 -04:00
Josh Sherman
c61a49f8a7 Fixed version check 2014-10-03 06:03:19 -04:00
Josh Sherman
bbf392f45f Still tweaking towards HHVM 2014-10-02 22:01:59 -04:00
Josh Sherman
c7a6852a3d Working on script. 2014-10-02 21:55:16 -04:00
Josh Sherman
cd05384a6d Made script executable. 2014-10-02 21:49:28 -04:00
Josh Sherman
5b2f483fa5 Added script to set up extension
As per https://github.com/travis-ci/travis-ci/issues/2523 it appears that the
php.ini on hhvm is in a different place. Created a script to write the
extensions to the right php.ini based on the environment.
2014-10-02 21:47:01 -04:00
Josh Sherman
31f4c32fb0 Reworked test to check for PHP version
`password_hash` is PHP 5.5. Instead of adding the sanity check in the code,
I've opted to put it in the test to ditch the overhead of having to make that
check for every request.
2014-10-02 21:34:09 -04:00
Josh Sherman
5ce36537a6 Renamed bootstrap file 2014-10-02 21:11:23 -04:00
Josh Sherman
d884f5a3df Finished up tests 2014-10-02 20:54:12 -04:00
Josh Sherman
4167d99623 Fixed deleting a file
Not sure when this became an issue, but attempting to delete a file that ends
with / will result in an error on OS X
2014-10-02 18:15:48 -04:00
Josh Sherman
90c4c53294 Fixed up the config again 2014-10-02 17:54:59 -04:00
Josh Sherman
c9ffe4c8bf Fixed config in tests 2014-10-02 17:44:00 -04:00
Josh Sherman
b48b73d064 Dropped SITE_PATH 2014-10-02 17:41:06 -04:00
Josh Sherman
a41ee7c2d2 Fixed config loading 2014-10-02 17:34:25 -04:00
Josh Sherman
c8d97aac26 Reworking database tests 2014-10-02 07:28:12 -04:00
Josh Sherman
07ed22c58f Fixed up resource class' tests 2014-10-02 07:02:29 -04:00
Josh Sherman
173136ddce Finished up Profiler and test coverage 2014-10-02 06:42:16 -04:00
Josh Sherman
9e65b2cfc2 Spruced up profiler, need to finish up tests 2014-10-01 22:08:11 -04:00
Josh Sherman
506ff1fd45 Unit tests for the Object class 2014-09-30 22:24:10 -04:00
Josh Sherman
88a4375dd5 Wrapped up unit tests on Config class 2014-09-30 15:58:16 -04:00
Josh Sherman
725d952192 Reworked config class, working on unit tests 2014-09-30 07:21:52 -04:00
Josh Sherman
f2f1cbc166 Dropped validate test
All tests were moved to the RouterTest class
2014-09-28 21:51:06 -04:00
Josh Sherman
f62d12f35b Dropped dupe test 2014-09-28 21:50:28 -04:00
Josh Sherman
aea1bae3bf Working on tests for Resource 2014-09-28 21:49:49 -04:00
Josh Sherman
6c173cdc89 Working on tests for the Resource class.
Got a bunch more validation rules to port over.
2014-09-28 09:47:54 -04:00
Josh Sherman
3b8eddc7b5 Dropped status code method
The function `http_response_code` was added in PHP 5.4 which deprecated the
code I had written. Dropped functionality and tests and updated code to use the
new function.
2014-09-28 08:36:14 -04:00
Josh Sherman
da379d0849 Knocked out unit tests for the new Router 2014-09-28 08:24:02 -04:00
Josh Sherman
273af98883 Renamed bootstrap
Made it caps to go along with all of the existing test names
2014-09-28 07:43:28 -04:00
Josh Sherman
0cfc2c7979 Moved tests and updated to use namespaces 2014-09-28 07:31:02 -04:00
Josh Sherman
718f8d64bb Working on basic auth and dropped log class
I personally haven't used it in years so I'm just getting to the mindset that
it's not a very useful piece of functionality. Nginx can easily log all of your
requests and any time I need to troubleshoot SQL (not all that often) I do it
directly without using the class.
2014-09-27 15:37:41 -04:00
Josh Sherman
7108c2c440 Dropped security groups 2014-09-26 07:34:11 -04:00
Josh Sherman
6097e29aef Cleaning up tests 2014-09-26 07:31:04 -04:00
Josh Sherman
d7ad1d148e Dropped deprecated tests 2014-09-25 23:29:05 -04:00
Josh Sherman
39d5b8d40b Cleaned up unit tests
Wanted to get back to the point that the tests were running and not erroring.
2014-09-25 23:11:29 -04:00
Josh Sherman
1381fd82a0 Dropped other classes we don't need any longer 2014-09-24 23:33:03 -04:00
Josh Sherman
0fdf2149be Dropped markup logic
Dropped the display / template rendering layer. API-first, converting to be a
lean mean data driven machine.
2014-09-24 23:24:36 -04:00
Josh Sherman
1718bc27a6 Dropped gravatar method
Seems I had a method in the string class that referenced the now removed
gravatar API wrapper. Dropped the method and the associated test.
2014-09-24 07:24:56 -04:00
Josh Sherman
0090adef7c Dropped AYAH
Going to merge into my AYAH library eventually. For now just need to remove it
2014-09-23 22:52:22 -04:00
Josh Sherman
5f2eaead10 Moved Google Profanity API to it's own repo
It can be found at https://github.com/joshtronic/php-googleprofanity
2014-09-23 22:19:45 -04:00
Josh Sherman
67be4e0889 Dropped Gravatar class
Gone but not forgottten, the class now lives in
https://github.com/joshtronic/php-gravatar
2014-09-23 20:58:12 -04:00
Josh Sherman
2f2dd0d8b8 Moved placehold.it class to it's own repo
Decoupling API wrappers from PICKLES. New location for the API is
https://github.com/joshtronic/php-placeholdit
2014-09-23 20:02:40 -04:00
Josh Sherman
93ee7356b2 Dropped asset minification
Been moving away from using this functionality in favor of either Grunt or
Gulp. Dropped functionality for minification of CSS and JS but left the dynamic
reference logic intact. This will be moved to the HTML class eventually and
expanded to support the generation of the HTML tags as well as injecting the
URI with a timestamp.
2014-09-23 18:22:56 -04:00
Josh Sherman
617eb21614 Converted tabs to spaces. 2014-09-13 17:06:28 -04:00
Josh Sherman
3e08d173a1 Cleaned up issues with phpunit 4.2.x 2014-09-13 16:43:29 -04:00