12954 Commits

Author SHA1 Message Date
Lonnie Ezell
56ee8b18f5 Restrain docs width for better readability. Especially on larger monitors. 2015-11-08 23:15:41 -06:00
Lonnie Ezell
2d84f6871f More IncomingRequest docs work. 2015-11-08 23:11:11 -06:00
Lonnie Ezell
ea969510f7 Links should always stay primary color. No visited colors in docs. Also - reformat for ease of use... 2015-11-08 23:10:33 -06:00
Lonnie Ezell
4c0fa8a6c9 Merge branch 'develop' of https://github.com/lonnieezell/CodeIgniter4 into develop 2015-11-08 22:52:40 -06:00
Lonnie Ezell
8eea37631d Small tweak to request class for when passing arrays. 2015-11-08 22:24:55 -06:00
Mat Whitney
23ec9e0c25 Fixed CURLRequest exception message
- Fixed exception message per comment from @ivantcholakov
- Added spaces around '=' when defining default values for parameters
2015-11-06 07:52:08 -08:00
Lonnie Ezell
a88b048192 More docs work. 2015-11-05 23:30:26 -06:00
Lonnie Ezell
8c5f05ff4d Fixing naming of is_secure method to match standards. 2015-11-05 22:29:04 -06:00
Lonnie Ezell
2e27415ad7 More docs for HTTP layer. 2015-11-05 22:28:37 -06:00
Lonnie Ezell
a6a3ca4142 Starting on Request / Response docs. 2015-11-05 00:44:51 -06:00
Lonnie Ezell
237112a150 Renaming OutgoingRequest to CURLRequest to better describe what it will do. 2015-11-04 23:17:06 -06:00
Lonnie Ezell
058820e55d More docs work. 2015-11-04 22:55:54 -06:00
Lonnie Ezell
6ad2c9a6e3 Converting the rest of the existing md user guide files to rst. 2015-11-03 22:32:22 -06:00
Lonnie Ezell
bca4c7ecf5 Tweaking some doc files. 2015-11-02 23:35:13 -06:00
Lonnie Ezell
53c2e2f6ff More old doc files. 2015-11-02 22:22:00 -06:00
Lonnie Ezell
ffb1d3bebf Also need the theme for the documentation. 2015-11-02 22:19:21 -06:00
Lonnie Ezell
81b15affb8 Bringing over user guide sphinx stuff. 2015-11-02 22:16:37 -06:00
Lonnie Ezell
6238904aa2 More testing and refining of the Negotiation mechanism for messages. 2015-11-02 21:51:32 -06:00
Lonnie Ezell
28d805810c NegotiateMedia can support a strict or loose match. 2015-11-01 23:40:12 -06:00
Lonnie Ezell
2677d79871 NegotiateMedia command can recognize types and subtypes now. 2015-11-01 23:36:11 -06:00
Lonnie Ezell
0e37359211 Correctly determine precedence of header values when negotiating. 2015-11-01 22:49:05 -06:00
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
283fccd9f9 Beginnings of content-negotiation system. Mainly needs match() method fleshed out to better handle wildcards. 2015-10-30 00:44:57 -05:00
Lonnie Ezell
c715296801 Refactor how and when headers are populated for incoming requests. 2015-10-29 23:13:32 -05:00
Lonnie Ezell
29249129ff Fix for getting headers. 2015-10-29 22:57:35 -05:00
Lonnie Ezell
aba44e55ee Mental note. 2015-10-29 08:36:50 -05:00
Lonnie Ezell
3016ec0c6b Modify main output to actually use the Response object. 2015-10-29 08:35:25 -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
9e9a438a5b Move isCLI and isAJAX methods to IncomingRequest. 2015-10-28 00:41:37 -05:00
Lonnie Ezell
9a5fb9257a For incoming requests, set the Message body from php input. Useful for PUT and other requests, as well as JSON data. 2015-10-28 00:40:22 -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
f785b62673 Adding travis button to readme. 2015-10-27 21:58:12 -05:00
Lonnie Ezell
5ee308ba76 Initial TravisCI setup. 2015-10-27 21:56:35 -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
eeb1287d51 Modifying Request and Response namespaces in Controller. 2015-10-27 09:15: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
da68403967 Removing older HTTP libs. 2015-10-27 09:05:46 -05:00
Lonnie Ezell
6af6d9bf11 Tidying up the autoloaders classmap. 2015-10-26 23:20:25 -05:00
Lonnie Ezell
54c752eefd We now have a base controller which simply provides the Request and Response objects as part of it. 2015-10-26 23:16:56 -05:00
Lonnie Ezell
493bf34cc2 Created RequestInterface and implemented through the chain. 2015-10-26 23:16:26 -05:00
Lonnie Ezell
417139d606 Allow CLI requests to be called. This may not survive long but we will see... 2015-10-26 22:53:08 -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