Commit Graph

20 Commits (master)

Author SHA1 Message Date
Jacob Windle f8aa81be8d Implement blocking functionality after certain count of visits, added tests 2019-01-27 21:29:10 -05:00
Jacob Windle 9bb57aebfe Updating some documentation, README 2019-01-27 11:58:48 -05:00
Jacob Windle 7dd14cbd06 Split database code into it's own module 2019-01-27 11:53:17 -05:00
Jacob Windle e26986770d Corrected sqlite queries, added function to init or update row 2019-01-27 11:44:00 -05:00
Jacob Windle 8ffb1a0522 Figuring out how best to update the database 2019-01-27 09:17:08 -05:00
Jacob Windle 06a5b7e561 Initial functions for dealing with the database 2019-01-27 09:06:39 -05:00
Jacob Windle 3f7ce3f521 Removing old imports 2019-01-26 13:31:42 -05:00
Jacob Windle 2151a236d3 Working request forwarding/piping responses back 2019-01-26 13:12:04 -05:00
Jacob Windle 2f102b06c3 Pipe the request directly 2019-01-26 11:18:31 -05:00
Jacob Windle 8612ee9ee4 Removing unnecessary parsing from code, prefer piping directly 2019-01-26 11:09:39 -05:00
Jacob Windle 89bd9f9005 Working on forwarding HTTP requests 2019-01-26 10:19:25 -05:00
Jacob Windle 9cae2a9bad Documentation, adding comments and removing old console.log statemenets 2019-01-26 08:14:42 -05:00
Jacob Windle cb120763e1 Properly parse request headers, use trim for leading whitespace 2019-01-26 08:09:48 -05:00
Jacob Windle 771ee83fd4 Bring in winston for logging, upgrade to async/await for promises 2019-01-26 07:48:38 -05:00
Jacob Windle 7357d52eed Adding a logging method to the HttpRequest class, since this is a proxy 2019-01-24 22:29:05 -05:00
Jacob Windle 33ceceaea9 Working httpRequest parsers 2019-01-24 22:20:17 -05:00
Jacob Windle 95e8d830a0 Setting up jest to run 2019-01-24 22:13:48 -05:00
Jacob Windle c7c1bb5392 Starting HTTP parsing 2019-01-24 22:07:42 -05:00
Jacob Windle ea45d63909 Got socket.on working 2019-01-24 20:43:49 -05:00
Jacob Windle 99dcd841ed First commit 2019-01-24 19:54:48 -05:00