Commit Graph

147 Commits

Author SHA1 Message Date
Nathan Osman
2c48893ec7 Fix target name when building on Windows. 2017-07-08 13:02:28 -07:00
Nathan Osman
a77badb827 Fix failing test for QObjectHandler. 2017-07-07 22:35:25 -07:00
Nathan Osman
91ca9c82f7 Rename tests to conform with class names. 2017-07-07 22:29:08 -07:00
Nathan Osman
61d219721e Move everything into the QHttpEngine namespace. 2017-07-07 21:56:09 -07:00
Nathan Osman
6fea4fbd61 Update build scripts. 2017-07-07 21:22:19 -07:00
Nathan Osman
396168a0dd Update comment block and #include lines. 2017-07-07 20:57:57 -07:00
Nathan Osman
fd7e7e9603 Rename classes to match filenames. 2017-07-07 20:44:43 -07:00
Nathan Osman
2fdf8fac71 Rename source files. 2017-07-07 18:49:40 -07:00
Nathan Osman
e68c0b0f11 Rename most classes to remove the 'Q' prefix. 2017-07-07 18:29:50 -07:00
Nathan Osman
0197444a83 Remove all uppercase headers. 2017-07-07 16:53:03 -07:00
Nathan Osman
aa6650f6df Escape arguments for copy_if_different. 2017-05-16 11:43:06 -07:00
Nathan Osman
eca6097858 Removed extra newline. 2017-03-25 19:37:40 -07:00
Nathan Osman
48967c398b Add test for QProxyHandler. 2016-12-13 00:26:42 -08:00
Nathan Osman
651fb87314 Regenerate private key and cert because OS X was choking on them for some stupid reason. 2016-10-29 01:16:22 -07:00
Nathan Osman
0c22530acc Add test for SSL. 2016-10-28 22:15:14 -07:00
Nathan Osman
cf3932529a Add QLocalAuth class. 2016-10-15 20:50:11 -07:00
Nathan Osman
482a67733f Finish moving JSON code into QHttpSocket. 2016-10-14 16:11:29 -07:00
Nathan Osman
f059e9bc66 Move JSON output functionality to socket. 2016-10-14 14:14:06 -07:00
Nathan Osman
4cfbec7c6c Rename QHttpSocket::QQueryStringMap and QHttpSocket::QHttpHeaderMap. 2016-10-13 17:34:46 -07:00
Nathan Osman
5968739f03 Add JSON utility functions to QObjectHandler. 2016-10-13 15:33:55 -07:00
Nathan Osman
c1fc8a115d Remove all JSON marshalling code from QObjectHandler. 2016-10-13 00:38:39 -07:00
Nathan Osman
6edf9f4c89 Add HTTP basic authentication. 2016-10-11 21:29:06 -07:00
Nathan Osman
6df88ad4aa Implement middleware. 2016-10-11 20:23:21 -07:00
Nathan Osman
e35fdbde78 Fix comparison issue with QIByteArray and improve performance by inlining all methods. 2016-10-11 13:07:09 -07:00
Nathan Osman
8304e03c6d Minor formatting and documentation updates. 2016-10-10 13:49:34 -07:00
Nathan Osman
17e8b4e8aa Merge pull request #10 from Kuraisu/range-support 2016-10-10 13:21:14 -07:00
Aleksey Yermakov
7e7ec8c7af Add partial content support to QFilesystemHandler. 2016-10-10 18:00:17 +03:00
Aleksey Yermakov
f7290e0cb9 Added QHttpRange class and tests.
This class will be used for support of partial content requests.
2016-10-09 22:43:29 +03:00
Nathan Osman
a700e854b8 Fix compilation issues on MSVC2013. 2016-10-08 16:08:00 -07:00
Nathan Osman
f73a7659f1 Add tests for new-style connection syntax. 2016-10-08 12:28:57 -07:00
Nathan Osman
bf4ca27cc7 Update tests for QObjecHandler. 2016-10-08 01:47:30 -07:00
Nathan Osman
b901757731 Completely rewrite QObjectHandler to be more flexible. 2016-10-07 23:02:16 -07:00
Nathan Osman
d20c1d33a9 Fix incorrect parameter for QHttpParser test. 2016-10-06 22:58:13 -07:00
Nathan Osman
7c460edb57 Completely reorganize the library, moving up to Qt 5.4, using C++11 where reasonably possible, and reorganizing the includes. 2016-10-06 21:50:45 -07:00
Nathan Osman
c6cb5d274b Switch to using QMultiMap for headers and added new typedef for query string. 2016-10-05 00:34:14 -07:00
Nathan Osman
b39b18be6c Add ability to modify status code. 2016-10-04 19:51:48 -07:00
Nathan Osman
7edb26c433 Add ability to specify method for slot handlers. 2016-10-04 16:48:57 -07:00
Nathan Osman
9bcb80bf1b Switched to copy_if_different flag. 2015-07-18 23:57:30 -07:00
Nathan Osman
9d213f8f58 Fixed typo. 2015-07-18 23:45:52 -07:00
Nathan Osman
3bd3752530 Attempted to fix issue with running tests on Windows. 2015-07-18 23:36:25 -07:00
Nathan Osman
3f51d915ad Ensured that unit tests run in the directory containing the QHttpEngine library. 2015-07-18 17:14:22 -07:00
Nathan Osman
150f6b257f Minor adjustments to a couple of tests. 2015-07-18 16:43:37 -07:00
Nathan Osman
9195376c37 Converted project name to uppercase. 2015-07-17 13:27:09 -07:00
Nathan Osman
a60cfc8ab4 Moved all of the header files to a separate directory. 2015-07-17 12:42:25 -07:00
Nathan Osman
b616f20f83 Added basic test for QLocalFile. 2015-07-14 22:50:59 -07:00
Nathan Osman
ae88219c3f Added QHttpHandler::addRedirect() method and appropriate unit tests. 2015-07-14 10:00:19 -07:00
Nathan Osman
ae2f14c9eb Added test for file data to QFilesystemHandler tests. 2015-07-09 18:23:48 -07:00
Nathan Osman
1eefc63ca4 Added the stop() slot to QIODeviceCopier. 2015-07-09 14:58:24 -07:00
Nathan Osman
2205fb4166 Merged the QHttpHandler abstract base class with the QSubHandler class. 2015-07-08 19:31:00 -07:00
Nathan Osman
71bc6fc73e Minor improvements to QFilesystemHandler. 2015-07-08 17:42:41 -07:00