Commit Graph

13 Commits

Author SHA1 Message Date
Robby Findler
279e5aa0d9 move the captcha checking code inside the handler
that deals with expected networking errors

closes PR 13205
2012-11-22 10:35:51 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
ef915d0d3a Add a popup question in case there's a captcha challenge.
See in-code comments for how this is just a rough feature to be used if
needed (and improved when it becomes necessary).  That can just as well
go to the FIXME of using a string constant.
2011-06-01 17:40:25 -04:00
Eli Barzilay
18d40dca3c Use `post-impure-port' to submit the bugreport, and check the resulting
HTTP status for an error code.

If there was an error, then render the HTML like other errors, so the
user can now hit back and try to fix things.
2011-06-01 16:43:50 -04:00
Eli Barzilay
c82d8cea32 Refactor the error handling code, making it more uniform for all error cases. 2011-06-01 16:42:15 -04:00
Eli Barzilay
4276898a67 * Refactor bug-related url construction
* Add captcha url (unused, yet)

* The second argument to `call/input-url' can be a one-argument function
  since the call doesn't send it any headers.

Still needs to be done: check the HTTP response for an error status, and
make it fail as a result (currently it just assumes that any response is
fine, which can change in case of a captcha failure).  Then, add a
captcha challenge if one is found, otherwise ignore.
2011-05-31 17:36:51 -04:00
Robby Findler
95b6f149fa adjust the close callback so that it knows what state the bug report window is in
closes PR 11773

merge to the release, please
2011-04-16 21:10:20 -05:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Robby Findler
2043b4ad6f various bug report form changes and fixes
- show discard-all-bug-reports menu item as long as there is at least one bug report
- move the close-and-save button to the left-hand side of the dialog
- ask about discarding bug reports when clicking the close box
- working dealing with empty bug reports
- the 'finished' stage of the bug report form sets the focus to the close button

  closes PR 11644
  closes PR 11645
  closes PR 11638
  closes PR 11640
2011-01-20 17:21:11 -06:00
Robby Findler
0542d3ca70 added support for saving bug reports (for ease of offline submission)
also cleaned up a bunch of little things in the bug report implementation:
 - the abort had race conditions
 - formatted the collections a little bit better (hopefully)
 - broke the implementation up into multiple files
 - fixed broken interaction with drracket (the drracket frame mixin is now being used properly)
2010-12-14 19:14:33 -06:00
Robby Findler
08d7a43c08 Rackety 2010-12-09 15:50:18 -06:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00