Commit Graph
488 Commits
Author SHA1 Message Date
Seth Schoen 8da998b4ae sample use of logger :-) 2012-11-18 20:34:19 -08:00
Seth Schoen 14caa100d8 Merge branch 'master' of ssh://github.com/research/chocolate 2012-11-18 20:32:13 -08:00
Seth Schoen ef8d3b661e add logging function 2012-11-18 20:31:58 -08:00
Eric 5cc5418da2 Merge branch 'master' of github.com:research/chocolate 2012-11-18 23:30:40 -05:00
Eric 2655029d5e Make NcursesLogger only show last set of lines
You would think ncurses would already do this for the infobox,
but apparently this is not true. You would also think we wouldn't
have to write any more word-wrap code after 1980, but apparently
this too is not true.
2012-11-18 23:29:04 -05:00
Seth Schoen 99a679209c make daemons say what they are 2012-11-18 20:27:04 -08:00
Seth Schoen 91c36318d7 make hostname lowercase before checking 2012-11-18 20:22:42 -08:00
Peter Eckersley c6780679f4 Synchronise tabulation 2012-11-18 20:06:48 -08:00
Peter Eckersley fffb5df59b Issue payment challenges for top 10,000 domains
(As measured by either the Alexa or Quantcast lists, which are remarkably
divergent)
2012-11-18 20:06:43 -08:00
James Kasten 8a795cbc32 Merge branch 'master' of github.com:research/chocolate 2012-11-18 22:53:55 -05:00
James Kasten 51d108f648 Made payment process loop 2012-11-18 22:52:47 -05:00
Seth Schoen 6bf1cef04d names_list, not names 2012-11-18 19:49:40 -08:00
Seth Schoen b66e24ce2a say what names this request applied to 2012-11-18 19:49:12 -08:00
Seth Schoen 052644c2e4 surely the user will want to know how much money they paid :-) 2012-11-18 19:44:38 -08:00
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