|
ec80734625
|
Add http status codes and save dummy error into the mstch context.
|
2017-05-14 03:38:41 +01:00 |
|
|
4d31323bb1
|
Redirect to error.cgi when saving fails.
Not working yet, still getting there.
|
2017-05-12 22:46:54 +01:00 |
|
|
73707c2ad0
|
Revert "Pass the ResponseFactory object down to the Response itself."
This reverts commit 3bc6c56c03 .
|
2017-05-12 22:18:03 +01:00 |
|
|
3bc6c56c03
|
Pass the ResponseFactory object down to the Response itself.
|
2017-05-12 09:36:01 +01:00 |
|
|
10da75caf5
|
Remove parameters from Response's constructor.
They can safely be defaulted and derived classes can
change their preferences later inside their constructor
if they need to.
|
2017-05-12 09:18:49 +01:00 |
|
|
f286507edf
|
Delay fast subsequent pasties from the same IP.
|
2017-05-11 18:50:56 +01:00 |
|
|
9e63a648a1
|
Protect against fast flooding from the same ip.
|
2017-05-11 09:48:18 +01:00 |
|
|
ed1343bd7b
|
Pass the istream to read_post instead of assuming std::cin.
|
2017-05-10 20:42:42 +01:00 |
|
|
cd1be59cfa
|
Pass the output stream and cgi_env to Response.
Mask the fact that they are globals, because I need
to be able to pass different classes in order to be
able to write unit tests for response classes.
|
2017-05-06 19:48:44 +01:00 |
|
|
8980a1d1ff
|
I don't really need to store the page name in the base class.
|
2017-05-06 19:16:57 +01:00 |
|
|
e1687c96ff
|
Split tawashi into lib+executable to enable unit testing
|
2017-05-04 19:52:18 +01:00 |
|