Commit Graph

41 Commits

Author SHA1 Message Date
Eli Barzilay
d32400dd76 More racketizations 2010-09-13 02:35:22 -04:00
Eli Barzilay
6b471afcfd Racketized handin-server 2010-09-12 02:22:59 -04:00
Matthew Flatt
967ac7275f change default handin file suffix 2010-08-25 06:04:27 -06:00
Matthew Flatt
7ee7106b2d fix handin-server reloading for ss<->rkt 2010-08-19 15:50:59 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06: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
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
5a186c7e08 fix dealing with prompt printout
svn: r16203
2009-10-01 21:10:44 +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
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
4e4bb810b0 use scheme instead of mzscheme
svn: r13336
2009-01-31 16:23:40 +00:00
Eli Barzilay
f2fb56d07f when there is an error in loading, just log it, so the code can be fixed instead of killing the server
svn: r13287
2009-01-26 20:55:36 +00:00
Eli Barzilay
aa824d8e05 remove web-base-dir which does not make any sense now
svn: r12533
2008-11-20 11:42:28 +00:00
Eli Barzilay
056ca07a7f avoid showing the lock thread
svn: r11824
2008-09-20 13:53:22 +00:00
Eli Barzilay
bafb87990d create directories that are specified but missing, use open-output-nowhere
svn: r11810
2008-09-18 19:42:30 +00:00
Eli Barzilay
d44850f515 check handin-server directory exists
svn: r11807
2008-09-18 19:13:25 +00:00
Eli Barzilay
42e33b7d94 minor tweaks
svn: r11710
2008-09-13 00:51:21 +00:00
Stevie Strickland
f7cd4784de Need the #:exists keyword here.
svn: r11704
2008-09-12 22:43:58 +00:00
Eli Barzilay
5541890dd5 yet more v4-isms
svn: r11684
2008-09-12 15:41:34 +00:00
Eli Barzilay
0c0630d50d more v4-isms
svn: r11683
2008-09-12 15:30:38 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
John Clements
f851905ba1 typo
svn: r8732
2008-02-19 21:03:04 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
13e706e817 make it possible to not run the https server (which is also the default now)
svn: r7378
2007-09-18 14:33:55 +00:00
Eli Barzilay
433c9a57ec new sandbox in mzlib
svn: r5873
2007-04-06 08:56:23 +00:00
Eli Barzilay
b11d6c4ae9 midsing newline
svn: r5545
2007-02-03 02:47:11 +00:00
Eli Barzilay
a742c67ab6 really solve the cycle, show config only when *re*loading
svn: r5489
2007-01-29 01:36:29 +00:00
Eli Barzilay
aa685ff9c4 break cycle
svn: r5488
2007-01-29 01:28:11 +00:00
Eli Barzilay
7bf793352c log lines when reloading modules or configuration
svn: r5487
2007-01-29 01:16:04 +00:00
Eli Barzilay
2698bf52fb * checker modules are reloaded when the file changes, so there is no
longer any need to restart the server.
* Added a 'hook-file option that specifies a module providing a
  generic hook.  Useful for notifications when important things
  happen, but can be used for anything.  Reloaded on change too.

svn: r5463
2007-01-26 06:51:36 +00:00
Eli Barzilay
9673f7e703 removed the tweaker hack for a solution that creates a new exception
svn: r5446
2007-01-24 07:52:51 +00:00
Eli Barzilay
4229e29035 * memory-limit also forbids large allocations now, remove warning
* rename `current-run-status' -> `set-run-status'
* coverage should work fine with non-textual submissions
* added `current-error-message-tweaker', "checker.ss"-based checkers now use it
  to show which expression caused an error ("handin-server.ss" uses
  `tweak-error-message').  (This feature is a hack, and currently undocumented)

svn: r5415
2007-01-19 10:03:54 +00:00
Eli Barzilay
1a2cd87dd4 doc improvements, added an optional environment variable for the server root directory
svn: r5336
2007-01-12 19:34:55 +00:00
Eli Barzilay
812997204f * Main change: added active-dirs' and inactive-dirs' as configuration options
instead of moving directories.
* Don't show solutions in active assignments, also check that when downloading
  files.
* Improved (no `suffix:') error messages for errors that users should
  eventually see.

svn: r5331
2007-01-12 07:40:24 +00:00
Eli Barzilay
8af562f7a1 use configuration keys dynamically
svn: r5303
2007-01-10 18:16:51 +00:00
Eli Barzilay
76773d289e * poll & re-read configuration file
* cache configuration values

svn: r5301
2007-01-10 17:02:58 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Eli Barzilay
3b9770c76a * New log facility is actually working
* New configuration options to set output log, log file, and web log file
* Centralized dealing with configuration options (including conversions and
  defaults)

svn: r4890
2006-11-20 09:07:07 +00:00
Eli Barzilay
42327b10e6 improved coverage information facility
svn: r4886
2006-11-19 10:31:06 +00:00
Eli Barzilay
c19e157b48 * New logging facility: simply use current-error-port as a logging output
- uses a plain prefix-style log
  - does not save the log to log.ss (customization options will be coming up)
* Use that in the status servlet too
* Renamed `LOG' to `log-line'
  (it is now just printing to the current error port)
* Reformatted doc.txt, and some code
* Always use Content-Disposition, with `inline' for non-wxme files
* Moved run-status to private

svn: r4831
2006-11-13 01:24:34 +00:00
Eli Barzilay
fd4627095c some reformatting and reorganization
svn: r4828
2006-11-12 10:38:59 +00:00