Commit graph

10174 commits

Author SHA1 Message Date
Seth Schoen
e66a8d54c3 make "thank you" page nicer too 2012-11-18 19:36:49 -08:00
Seth Schoen
5e3a03bd73 make font monospaced for credit card number 2012-11-18 19:31:23 -08:00
Seth Schoen
c5f475c6fc try to improve spacing again 2012-11-18 19:15:26 -08:00
Seth Schoen
a5ad017c72 change spacing slightly 2012-11-18 19:13:31 -08:00
James Kasten
946c6e584c Add check for when no names are specified, and none were found in config 2012-11-18 21:33:28 -05:00
James Kasten
03d9bf5093 quick fix proceed_msg send 2012-11-18 21:19:48 -05:00
James Kasten
3cb9b39590 Merge branch 'master' of github.com:research/chocolate 2012-11-18 21:13:27 -05:00
James Kasten
e33af11d11 Fixed overwritten challenge error which caused issuance error 2012-11-18 21:13:08 -05:00
Seth Schoen
98b4898c8f remove dead code 2012-11-18 17:58:00 -08:00
Seth Schoen
674adbf9af add credit card type selector 2012-11-18 17:57:30 -08:00
Seth Schoen
5921f4878b actually we assume this is a GET, not a POST! 2012-11-18 17:56:22 -08:00
Seth Schoen
0d3e0bd72c actually these references should be relative to the web root 2012-11-18 17:06:33 -08:00
Seth Schoen
708677dd65 improved payment form 2012-11-18 17:02:28 -08:00
Seth Schoen
8e4e2af1fa this is a simple key, not a hash 2012-11-18 16:47:58 -08:00
Seth Schoen
647abf8e3c send abbreviated URL for payments, not using session ID 2012-11-18 16:43:07 -08:00
James Kasten
06beedb343 Remove glitchy restart 2012-11-17 04:54:56 -05:00
James Kasten
cb80d8576c fixed gen_https_names bug 2012-11-17 04:35:45 -05:00
James Kasten
be0408dc24 add check to gen_https_names to make sure domains contains a list of strings 2012-11-17 04:34:06 -05:00
James Kasten
db52caa7e9 init logger before configurator 2012-11-17 04:06:36 -05:00
Seth Schoen
9f2a49705f the client is calling cleanup() on this challenge type too 2012-11-17 01:03:36 -08:00
Seth Schoen
c6fd758acf here, the attempt to log the fact that the session succeeded caused the daemon to crash (!) 2012-11-17 00:58:45 -08:00
Seth Schoen
44e6383171 another example of "self.id" that should be "session" 2012-11-17 00:55:33 -08:00
Seth Schoen
ab2bb1d6d7 server didn't realize "payment" was a valid state! 2012-11-17 00:50:22 -08:00
Seth Schoen
9c30f984b9 maybe I shouldn't just have copied and pasted this code from the corresponding sanity check in chocolate.py 2012-11-17 00:44:43 -08:00
Seth Schoen
e3c819178f actually the URL in a payment challenge is element #0 of the data (which is a list) 2012-11-17 00:41:01 -08:00
Seth Schoen
56411b57a8 embed text of reason into format string 2012-11-17 00:38:16 -08:00
Seth Schoen
36fd86cf80 this, too, is an instance method 2012-11-17 00:37:14 -08:00
Seth Schoen
1c0bfd714b this is always an instance method 2012-11-17 00:35:57 -08:00
Seth Schoen
c8428de0a6 it looks like dialog must also be imported here 2012-11-17 00:34:21 -08:00
Seth Schoen
978bc03777 repeat of unicode/str incompatibility problem 2012-11-17 00:32:03 -08:00
Seth Schoen
466ff0e525 this is a boolean value, not a string 2012-11-17 00:26:23 -08:00
Seth Schoen
f759e26e58 add $@ to pass command line arguments through to daemons 2012-11-16 14:45:31 -08:00
James Kasten
72501d04bf push restart after recovery in case there is habitual server error 2012-11-16 17:16:06 -05:00
James Kasten
f00a668e38 modify client hashcash parameter to be reasonable 2012-11-16 16:45:29 -05:00
James Kasten
bc024d02c5 minor payment challenge protocol fixes 2012-11-16 16:34:34 -05:00
James Kasten
a5791f0f8d Modified client conform to new payment challenge protocol 2012-11-16 15:41:33 -05:00
Seth Schoen
2845c8f1f5 two CSR sanity-checking todo items 2012-11-15 23:31:28 -08:00
Seth Schoen
4a62ac88d5 destroy destroy 2012-11-15 23:29:00 -08:00
Seth Schoen
c0ad6ac5da tell the client when payment is required by sending payment challenge 2012-11-15 21:52:56 -08:00
Seth Schoen
911cd4318f explain why payment-daemon.py is separate from payment.py 2012-11-15 21:38:12 -08:00
Seth Schoen
85b1a872ab automatically start up payment daemon 2012-11-15 21:35:21 -08:00
Seth Schoen
c3f23f62d2 put session into payment state after verifying dvsni if policy calls for a payment 2012-11-15 21:34:00 -08:00
Seth Schoen
47fd709853 policy to trigger requiring payment 2012-11-15 21:30:05 -08:00
Seth Schoen
c23ac10584 sanity check, then go to issue state in response to payment message 2012-11-15 21:23:43 -08:00
Seth Schoen
8e8d15a0b2 further playing with payment form 2012-11-15 21:17:08 -08:00
Seth Schoen
ddbf37b75e experimenting with placeholder form 2012-11-15 21:09:17 -08:00
Seth Schoen
d62aaf9d13 make payment form not actually try to submit CC number 2012-11-15 20:56:48 -08:00
Seth Schoen
adc2a62735 two-step payment process with atrocious HTML form 2012-11-15 15:03:57 -08:00
Seth Schoen
b3be68ba67 process payment request from end-user web browser 2012-11-15 14:46:45 -08:00
Seth Schoen
f3935fac9e catch GET parameter 2012-11-15 14:33:15 -08:00