Commit graph

922 commits

Author SHA1 Message Date
Josh Sherman
3861bfc571 Dropped the filter class
Will revisit if there's ever a need to have access to it directly. Until then
it will find it in the Resource class.
2014-09-27 11:33:53 -04:00
Josh Sherman
141ac693cb Dropped response class
Seems pointless to have class that had a single method that basically contained
all of the shit that the resource already had and knew. Moved respond() method
to the response class and moved all of the response validation logic and errors
from the router to the response class.
2014-09-27 11:25:45 -04:00
Josh Sherman
a749c80d93 Added variable filtering and validation
Validation logic was existing but it was reworked to abstract out checking for
required fields initially and then sanity checks after the fact. Filters are
applied before validation but after checking existence. No support for _PUT and
_DELETE at the moment as those do not exist as super globals natively in PHP.
2014-09-27 08:13:05 -04:00
Josh Sherman
0ad0754726 Module -> Resource 2014-09-27 05:28:14 -04:00
Josh Sherman
824faffcc6 Stubbing out some new classes 2014-09-26 07:36:50 -04:00
Josh Sherman
7108c2c440 Dropped security groups 2014-09-26 07:34:11 -04:00
Josh Sherman
7f297b06f5 Put in a note about 404s 2014-09-26 07:33:32 -04:00
Josh Sherman
6097e29aef Cleaning up tests 2014-09-26 07:31:04 -04:00
Josh Sherman
bdb16009c1 Simplified the travis config a bit 2014-09-26 05:52:40 -04:00
Josh Sherman
2445f2f339 Added phpunit.xml
Was still typing in the full command to run phpunit from time to time. Can
now just run unit tests by running phpunit without any config flags
2014-09-26 05:49:49 -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
ebc5584660 Merge branch '2.0' 2014-09-25 21:50:26 -04:00
Josh Sherman
26e913a3d9 Dropped Dynamic Class
Pretty sure we don't need it anymore. Could come back up in the future when an
API is returning URIs for static assets and they are being cached and it's not
being flushed correctly.
2014-09-25 21:48:13 -04:00
Josh Sherman
d5a2753c20 Reworked error handling. 2014-09-25 21:33:43 -04:00
Josh Sherman
69b14085b4 Module -> Resource
Dropping those dated naming conventions
2014-09-25 20:57:05 -04:00
Josh Sherman
94f46fc583 Controller -> Router, Display -> Response
Just gutting the brains of this thing.
2014-09-25 20:55:11 -04:00
Josh Sherman
17d19728e3 Update README.md
Tweaked buttons
2014-09-25 10:06:11 -04:00
Josh Sherman
98f03c2a76 Merge pull request #49 from waffle-iron/master
waffle.io Badge
2014-09-25 10:03:04 -04:00
Josh Sherman
b67269a202 Dropped that dirty dirty XML support. 2014-09-25 09:27:59 -04:00
Josh Sherman
2fa2b6ad03 Started gutting logic from the Controller and Display classes. 2014-09-24 23:57:39 -04:00
Josh Sherman
1381fd82a0 Dropped other classes we don't need any longer 2014-09-24 23:33:03 -04:00
Josh Sherman
e299d268c8 Setting headers and shit 2014-09-24 23:26:00 -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
eba206556c Set up return structure. 2014-09-24 22:28:34 -04:00
Making GitHub Delicious.
aaa4a0fa16 add waffle.io badge 2014-09-24 07:57:17 -06: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
60ab001833 Updated composer deps 2014-09-24 00:07:41 -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
c88d469e18 Rolled back to vfsStream v1.3.0
Moved to v1.4.0 and my tests started to fail. Locked version until I get around
to figuring out what changed and fix my code to accommodate
2014-09-23 18:01:06 -04:00
Josh Sherman
55f45b8d8f Merge branch 'master' of github.com:joshtronic/pickles 2014-09-23 07:23:36 -04:00
Josh Sherman
6c7b81aeb4 Cleaned up formatting a bit
Had a few lines that were way too long.
2014-09-23 07:23:07 -04:00
Josh Sherman
3701971894 Dropped autoload require
Thinking this may bork the test suite because it won't be able to fine ayah.
This is just part of the move towards having a local copy of pickles in the
project installed and managed by composer. Also retabbed the composer json.
2014-09-21 22:08:13 -04:00
Josh Sherman
702414b694 Updated dependencies and dropped most version numbers
There's no point in defining version numbers prematurely. I'll update with
exact versions as the need arises. At the moment `dev-master` outta be good
enough.
2014-09-20 15:43:15 -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
Josh Sherman
0c40241b45 Finishing out the phpunit version. 2014-09-13 16:15:28 -04:00
Josh Sherman
891d08d7ad Eventually... 2014-09-13 16:10:32 -04:00
Josh Sherman
cc8da12327 Still trying to get uopz to load correctly. 2014-09-13 15:32:38 -04:00
Josh Sherman
07863a5a84 Dropped absolute version paths 2014-09-13 15:23:04 -04:00
Josh Sherman
60a6cfa2bf Removed a tab
How'd that get in there? ;)
2014-09-13 15:07:47 -04:00
Josh Sherman
e340593cd0 MOAR EXTENSIONS
Added additional paths to see which one will stick. Should move to a setup
script that sniffs the environment and injects the correct version.
2014-09-13 15:06:39 -04:00
Josh Sherman
1405ede86f Rehashing path 2014-09-13 14:54:44 -04:00
Josh Sherman
8b024c17d9 Still no dice, went back to just appending zend_ 2014-09-13 14:49:49 -04:00
Josh Sherman
9867789060 Dropped appending zend_ to the file. 2014-09-13 12:15:52 -04:00
Josh Sherman
c56aadd6e6 Updated sed to write to a new file and then mv 2014-09-13 12:13:50 -04:00