Commit Graph

276 Commits

Author SHA1 Message Date
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
0aab34154a Update handin-server docs. 2010-05-11 00:31:28 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
e9c0ba7398 do a post-redirect-get to avoid the usual problems
svn: r18317
2010-02-24 11:15:37 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Stevie Strickland
8bc420da4c The contract on sequencer:make requires arguments that conform to
dispatcher/c, which #f does not.

svn: r17958
2010-02-03 16:39:18 +00:00
Eli Barzilay
b33455dc8e case-fold username in servlet when needed
svn: r17591
2010-01-10 04:12:48 +00:00
Eli Barzilay
b50ae83a27 switch from scheme to scheme/base
svn: r17472
2010-01-03 21:24:39 +00:00
Eli Barzilay
3727ec4f9a better text
svn: r17459
2010-01-01 20:59:04 +00:00
Robby Findler
17937627e1 clarified the message docs
svn: r17458
2010-01-01 20:35:30 +00:00
Eli Barzilay
d5f1f59d77 The `https-port-number' configuration is meaningless, removed and
replaced with `use-https' which defaults to #t.  If the web server is
disabled, run a tiny "server" that spits out a message -- to avoid
students complaining that something is broken.

Configuration files with `https-port-number' will throw an error, and
should be upgraded.

svn: r17450
2009-12-31 07:43:23 +00:00
Eli Barzilay
237682244c The embedded web server works now on the same port as the handin server.
Small change to protocol: the client should send "handin" first

svn: r17448
2009-12-31 07:17:18 +00:00
Eli Barzilay
c7653ad43b still, should return the web server controller function
svn: r17435
2009-12-30 11:24:09 +00:00
Eli Barzilay
de80d826df report after the web server started
svn: r17434
2009-12-30 11:20:05 +00:00
Eli Barzilay
66aa708427 use log-line for connection errors, announce shutting down and kill web-server when it happens
svn: r17433
2009-12-30 11:01:36 +00:00
Eli Barzilay
1d7f3ff2f4 better messages, clarify comment
svn: r17431
2009-12-30 04:16:32 +00:00
Eli Barzilay
2e4926ebb3 Remove code that serves static files, it's not doing anything anyway if
the servlet is used for all paths.

svn: r17429
2009-12-29 16:09:04 +00:00
Eli Barzilay
8aa62e22b2 * Move namespace specs back to main code, and pass them through a
`#:namespace' keyword
* More robust error handler -- use the url that initiated the
  interaction

svn: r17428
2009-12-29 16:02:59 +00:00
Eli Barzilay
d4a3cb3a10 moved new code to a separate file
svn: r17424
2009-12-28 22:26:32 +00:00
Eli Barzilay
fa13292033 reorganize web-starting code, to make it possible to separate it
svn: r17423
2009-12-28 22:14:26 +00:00
Eli Barzilay
38a7fcceec no need for #:indices too
svn: r17422
2009-12-28 22:05:41 +00:00
Eli Barzilay
e813d1aa8b no need for the runtime path too
svn: r17421
2009-12-28 22:04:45 +00:00
Eli Barzilay
8d246defb5 Removed #:stateless?', #:stuffer', and mime stuff, since they were the
defaults.

svn: r17420
2009-12-28 22:02:24 +00:00
Eli Barzilay
e15f8b06f4 removed old version of the code
svn: r17419
2009-12-28 22:00:23 +00:00
Eli Barzilay
976e208d05 Implemented the functionality of `serve/servlet', to get a hold on the
`tcp@' argument

svn: r17418
2009-12-28 21:56:06 +00:00
Eli Barzilay
98c2e2d3a6 more minor stuff
svn: r17417
2009-12-28 19:23:33 +00:00
Robby Findler
0dbbb5d73d tried to give a hint when people get confused the way I just did
svn: r17416
2009-12-28 18:39:28 +00:00
Eli Barzilay
a297f940d4 improved error message
svn: r17415
2009-12-28 18:35:19 +00:00
Eli Barzilay
211530e9df minor
svn: r17414
2009-12-28 18:32:31 +00:00
Robby Findler
590cf99637 added the port number to the startup messsage (this helped me figure out hwat I'd done wrong, so I thouht it generally useful)
svn: r17413
2009-12-28 18:25:27 +00:00
Robby Findler
19bcc4da54 suggested a regexp that allows hyphens in people's real names, and fixed a typo
svn: r17411
2009-12-28 16:41:58 +00:00
Eli Barzilay
5aea2eeca3 * A little better layout for configuration reading code
* Improved comment about it
* Use `raise-user-error' to avoid redundant context printout
* Check that the configuration content is a proper alist

svn: r16338
2009-10-16 14:01:43 +00:00
Eli Barzilay
e64bfff4f3 comment
svn: r16326
2009-10-15 15:59:37 +00:00
Eli Barzilay
4773d2cefd fix magic search
svn: r16298
2009-10-12 16:53:04 +00:00
Matthew Flatt
31f4d5c9af minor handin-server doc fixes
svn: r16290
2009-10-09 15:23:06 +00:00
Eli Barzilay
99dba452fc check that the user field is actually there
svn: r16264
2009-10-07 05:36:00 +00:00
Eli Barzilay
e164607633 finally got rid of those annoying context printouts, which actually came from the web server
svn: r16263
2009-10-07 05:30:05 +00:00
Eli Barzilay
f7dc640f55 try to deal with silencing context output in a different way
svn: r16204
2009-10-01 21:11:14 +00:00
Eli Barzilay
5a186c7e08 fix dealing with prompt printout
svn: r16203
2009-10-01 21:10:44 +00:00
Eli Barzilay
8a4aeb32ee lots of improvements
svn: r16196
2009-10-01 07:43:23 +00:00
Eli Barzilay
3086800c91 * Try to avoid showing the context when ssl-accept fails -- this happens
often when students do mistakes, and the context output is useless in
  those cases.
* Set the current directory to the server directory, so the certificate
  files can be loaded

svn: r16195
2009-10-01 05:30:27 +00:00
Eli Barzilay
a2565bb873 Get rid of `combine-outputs' which isn't working well: since it's a
thread, then when mzscheme dies (for example, when there's an error
starting the server) it will kill the thread before it shows any output,
so nothing is shown.  Instead, write to both ports directly.

svn: r16194
2009-10-01 05:26:48 +00:00
Eli Barzilay
36ed847081 typo in DFlag
svn: r16178
2009-09-30 03:50:58 +00:00
Eli Barzilay
d160ead670 when the config file cannot be read, report the error message too
svn: r16177
2009-09-30 02:55:01 +00:00
Eli Barzilay
67df72ec1a describe how to create the distributable archive
svn: r16176
2009-09-30 02:49:50 +00:00
Eli Barzilay
9a89b7ad08 typo
svn: r16175
2009-09-30 02:10:58 +00:00
Eli Barzilay
d39959ce1f * Instead of an error when the users file doesn't exist, just show a
warning in the log file.
* Use 'timestamp for reading preference files.

svn: r16174
2009-09-30 02:10:17 +00:00
Eli Barzilay
a04517452f new require format
svn: r15861
2009-09-03 00:16:35 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
John Clements
4ebac5d343 removed call to string->path
svn: r14439
2009-04-06 21:42:23 +00:00