3592 Commits

Author SHA1 Message Date
Lonnie Ezell
1cb074f561 Remove stray single group tests. 2015-10-30 09:59:53 -05:00
Lonnie Ezell
fbcc074798 More content negotiation love and starting tests on it. 2015-10-30 09:57:46 -05:00
Lonnie Ezell
e90438109a Response decked out with methods for sending to browser, and convenience methods for some headers, including cache control, date and last-modified. 2015-10-29 00:23:04 -05:00
Lonnie Ezell
9ddfd3a0f9 Fleshing out our response class. 2015-10-28 22:35:53 -05:00
Lonnie Ezell
4a401f15a2 REmoving now invalid test. 2015-10-28 00:43:31 -05:00
Lonnie Ezell
bf0b19ea69 Allow messages to have bodies 2015-10-28 00:20:11 -05:00
Lonnie Ezell
6f734acbfc Testing protocol in Message 2015-10-27 23:48:12 -05:00
Lonnie Ezell
7b3e981882 INitial message testing. 2015-10-27 23:44:21 -05:00
Lonnie Ezell
e14c449d32 Add test bootstrap to load in CI autoloader and more necessities. 2015-10-27 22:55:00 -05:00
Lonnie Ezell
1fb4e23d23 Finishing refactoring messages out of requests. 2015-10-27 21:41:02 -05:00
Lonnie Ezell
8978b079c8 Moving some data to an HTTPMessage class since it will be used by both Requests and Responses. 2015-10-27 09:51:14 -05:00
Lonnie Ezell
803fd12565 Moving tests to reflect the HTTPLite change. 2015-10-27 09:12:35 -05:00
Lonnie Ezell
3a718944db Rnaming our HTTPLite classes to HTTP namespace. 2015-10-27 09:12:00 -05:00
Lonnie Ezell
b52cbef591 Some basic tests for IncomingRequest. Needs additional, but unsure how to test some of it just yet. 2015-10-26 22:28:05 -05:00
Lonnie Ezell
4a09269189 Patching up some Request object issues and more tests on it. 2015-10-26 22:01:53 -05:00
Lonnie Ezell
7fb5c0079b Early tests for Request class. 2015-10-25 23:30:37 -05:00
Lonnie Ezell
fc9f3ec477 Better filtering on paths, including removing dot segments. 2015-10-23 11:03:02 -05:00
Lonnie Ezell
2a8ca0ad94 Appropriate password security for URI class. 2015-10-23 10:22:33 -05:00
Lonnie Ezell
9f8b17994e URI can now work with queries, and filters them. Quite a few more URI tests. 2015-10-23 00:05:14 -05:00
Lonnie Ezell
5d20990f40 Fixing the createURISTring method of URI to build a correct URI string. 2015-10-22 22:29:17 -05:00
Lonnie Ezell
9c3ba25b1c Refactoring the DI tests for the new config style. 2015-10-22 08:55:31 -05:00
Lonnie Ezell
db3fe51727 Fix up our Autoloader tests with the revised config methods. 2015-10-22 00:34:12 -05:00
Lonnie Ezell
e91b5a97f9 Load the main app config to get permittedURIChars and uriProtocol. 2015-10-18 23:07:03 -05:00
Lonnie Ezell
09b8e8be84 Get some basic URI stuff working and tested. 2015-10-18 22:49:38 -05:00
Lonnie Ezell
6628a70958 Fixing our DI tests to work with new config methodology. 2015-09-30 23:26:44 -05:00
Lonnie Ezell
0e8ec77798 Change the sanitization to a whitelist instead of a blacklist. Typically safer. 2015-09-30 23:10:18 -05:00
Lonnie Ezell
8d026a60ef Fixing some testing errors due to refactoring. 2015-09-27 23:52:26 -05:00
Lonnie Ezell
0031f5624e Basic router tests for working with closures. 2015-09-27 23:35:11 -05:00
Lonnie Ezell
453af98b17 Tests the basics of the router matching controller/method and back-referenced placeholders. 2015-09-27 23:24:33 -05:00
Lonnie Ezell
9be2183368 Fleshing out the Router. Large chunks borrowed from CI3 for this. We can always upgrade to something else later if we need to. 2015-09-26 00:16:04 -05:00
Lonnie Ezell
fffff73e8b Modify the way that HTTP verbs work with routes to match CI3. 2015-09-24 22:28:14 -05:00
Lonnie Ezell
e4130e1823 Implementing the RouterCollection's map method. 2015-09-22 22:32:36 -05:00
Lonnie Ezell
b88287cd7c Getting a start on the routing system. 2015-09-22 15:05:25 -05:00
Lonnie Ezell
b3a402a268 Refactor Autoloader to move the classmap into it's own registered autoload function to reduce the complexity of logic in our autoloader and get us closer to raw PHP. 2015-09-14 22:40:49 -05:00
Lonnie Ezell
b2751ed1ca Refactor to use the Autoloader as a 'single' from the DI container so it can be accessed later and namespaces can be added if needed. 2015-09-14 09:28:28 -05:00
Lonnie Ezell
c2dc173aa1 Refactoring DI to read the config file correctly. 2015-09-14 09:25:50 -05:00
Lonnie Ezell
4ca722025e Removing addClass and removeClass from Autoloader because simply using require() elsewhere makes more sense. 2015-09-14 09:01:51 -05:00
Lonnie Ezell
69f054475c Added support for autoloading in legacy libraries and models directories. 2015-09-11 23:45:06 -05:00
Lonnie Ezell
f1ddcaf8a4 Can now add and remove classes and namespaces in the Autoloader. 2015-09-11 23:30:29 -05:00
Lonnie Ezell
4e2e6419d9 Tests and bugfixes on Timer. 2015-09-10 13:50:51 -05:00
Lonnie Ezell
179ce7b003 Basic tests for Autoloader. 2015-08-30 23:13:47 -05:00
Lonnie Ezell
77fc23faae Initial tests for DI Container. 2015-08-28 23:08:36 -05:00