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
302f400dcb
Removed some leftover debug code
2014-09-28 06:51:35 -04:00
Josh Sherman
372ba2812b
Feeling frisky, added PHP 5.3 back to the tests
...
Curious if I'd be able to get back to PHP 5.3 compatibility to an extent.
2014-09-27 23:04:51 -04:00
Josh Sherman
59817fa5c4
That abridged README
...
Cut all the bullshit out so I could write out a better README once the system
is back to being stable and tested.
2014-09-27 22:55:12 -04:00
Josh Sherman
4af10e0fb6
Cleaning up a bit
...
The plan is to drop this file entirely and move the logic off to the config
class itself which will be instantiated by the router.
2014-09-27 22:36:03 -04:00
Josh Sherman
79f8da8c45
Namespaced the fuck out of Pickles
2014-09-27 22:28:15 -04:00
Josh Sherman
48c5289060
Moved files and added namespaces
2014-09-27 17:57:07 -04:00
Josh Sherman
8a1ac4fb47
Worked through basic authentication
2014-09-27 16:40:41 -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
bdb4ca8ff0
Renamed secure flag to https
2014-09-27 14:02:52 -04:00
Josh Sherman
53d8ab1137
Added powered by pickles header
2014-09-27 14:01:04 -04:00
Josh Sherman
20aff31b94
Moved validate logic into resource
...
I couldn't find a single scenario where I was using the Validate class in my
site level code. Dropped the overhead of calling a static class method multiple
times on a page by moving the logic in the Resource class. Also changed the
response to always return the errors as parameter => array. This allows a
developer to choose if they want to display one error or all of the errors.
2014-09-27 12:06:33 -04:00
Josh Sherman
50ea072929
Added password_hash
filter
...
Defaulting to PASSWORD_DEFAULT, will expand to other options if the need arises.
2014-09-27 11:47:29 -04:00
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