Commit Graph

309 Commits

Author SHA1 Message Date
Eli Barzilay
ed8cd4b37f re-add the log file option
svn: r12536
2008-11-20 12:15:53 +00:00
Eli Barzilay
44ae506526 typo
svn: r12534
2008-11-20 11:59:37 +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
827b76cb6f return a thunk that can kill the web server
svn: r12532
2008-11-20 09:54:05 +00:00
Eli Barzilay
beea721bc4 Use the new web-server's `serve/servlet' for the status servlet.
svn: r12531
2008-11-20 09:48:03 +00:00
Eli Barzilay
e0ac6dd80f get rid of unused argument
svn: r12486
2008-11-18 12:05:15 +00:00
Eli Barzilay
be97f1db72 svn: r12485 2008-11-18 12:01:46 +00:00
Eli Barzilay
dfd62c1e92 removed redundant double-quotes from error messages
svn: r12465
2008-11-17 01:13:43 +00:00
Eli Barzilay
61d747dc96 hack around namespace-variable-value problem
svn: r12441
2008-11-14 05:02:28 +00:00
Eli Barzilay
f4f559fc3b use namespace-variable-value for !defined, and add !syntax
svn: r12433
2008-11-13 22:19:33 +00:00
Eli Barzilay
4f904c3b4b fix use of (now gone) servlet-url->url-string/no-continuation
svn: r12432
2008-11-13 22:16:01 +00:00
Eli Barzilay
f278926617 protect more ways of creating a sandbox
svn: r12361
2008-11-09 05:14:53 +00:00
Eli Barzilay
714031c1d6 status.ss is always in the web directory, so people can modify it more easily
svn: r12337
2008-11-06 22:17:18 +00:00
Eli Barzilay
9745240831 adapt to new web-server configuration
svn: r12336
2008-11-06 22:05:50 +00:00
Eli Barzilay
dba3ba8591 improved error message, some reformatting
svn: r12335
2008-11-06 22:05:13 +00:00
Eli Barzilay
33bfa42df4 nice memory printout
svn: r12052
2008-10-17 08:36:29 +00:00
Eli Barzilay
ec506bc5e3 reorganize code a little
svn: r12049
2008-10-17 01:36:14 +00:00
John Clements
44ff646c50 fixed incorrect change of appendbang to append, added test/exn
svn: r12041
2008-10-15 07:35:45 +00:00
Eli Barzilay
a51ea08cb4 fix a bug, when there is no user field
svn: r11982
2008-10-09 01:33:35 +00:00
Eli Barzilay
9f3161cf24 doc clarifications
svn: r11961
2008-10-07 14:14:23 +00:00
Eli Barzilay
d2bd4c050e * Added (module <lang>) as a specification for using
`make-module-evaluator' accepting only modules with the specified
  language.
* Fix a bug with deciding on how to convert values for printing.
* Improved code in checker.ss.

svn: r11955
2008-10-06 21:44:23 +00:00
Eli Barzilay
856fb22152 use 'infinity instead of +inf.0 for pretty-print
fix error messages to use ~e instead of ~s

svn: r11887
2008-09-27 02:19:47 +00:00
Eli Barzilay
989a17ede4 added master
svn: r11884
2008-09-26 20:40:11 +00:00
Eli Barzilay
e328ad4136 stupid typo
svn: r11878
2008-09-25 20:41:39 +00:00
Eli Barzilay
0c6b7c4e26 fix typo
svn: r11876
2008-09-25 19:57:33 +00:00
Eli Barzilay
9373be4b3d some macro cleanup
svn: r11874
2008-09-25 19:21:01 +00:00
Eli Barzilay
7695ee44e3 added !eval and documented it
svn: r11873
2008-09-25 19:17:50 +00:00
Eli Barzilay
8380372d46 oops
svn: r11869
2008-09-25 08:43:11 +00:00
Eli Barzilay
18d0028d35 Added `guess' as a fake teachpack. See additional note in
"overridden-collects/readme.txt".

svn: r11866
2008-09-25 07:05:48 +00:00
Eli Barzilay
b465a25656 teachpacks -> requires (keep :teachpacks for compatibility)
svn: r11865
2008-09-25 06:26:18 +00:00
Eli Barzilay
516647216d some more stuff about text related options
svn: r11862
2008-09-25 00:34:23 +00:00
Eli Barzilay
d981ea63ec fix the make-evaluator call
svn: r11861
2008-09-24 23:23:19 +00:00
Eli Barzilay
95526fbc5a formatting
svn: r11860
2008-09-24 20:38:57 +00:00
Eli Barzilay
6bb96f95b0 minor
svn: r11859
2008-09-24 20:14:56 +00:00
Eli Barzilay
ea52bc06ad more clarifications
svn: r11854
2008-09-24 19:02:34 +00:00
Eli Barzilay
06baadf3a8 clarify the docs for text-related options
svn: r11853
2008-09-24 18:41:49 +00:00
Eli Barzilay
956e290b03 use mred-text in the instructions for starting the server
svn: r11847
2008-09-24 04:01:59 +00:00
Eli Barzilay
056ca07a7f avoid showing the lock thread
svn: r11824
2008-09-20 13:53:22 +00:00
Eli Barzilay
23c4073c44 clarification
svn: r11817
2008-09-19 02:37:25 +00:00
Eli Barzilay
5072b8d0c4 clarification
svn: r11816
2008-09-19 01:08:35 +00:00
Eli Barzilay
b8c1988ada clarification
svn: r11811
2008-09-18 19:47:29 +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
0dfca67442 clarify https-port-number in the quickstart section
svn: r11803
2008-09-18 16:28:25 +00:00
Eli Barzilay
8b2bf40f55 reorganize docs into separate files
svn: r11802
2008-09-18 16:24:35 +00:00
Eli Barzilay
bb1e10bd1c forgot to include this too
svn: r11801
2008-09-18 15:14:53 +00:00
Eli Barzilay
011301e80d some fixes, put stuff in common.ss
svn: r11800
2008-09-18 15:12:35 +00:00
Robby Findler
db9c864d0f svn: r11798 2008-09-18 13:38:52 +00:00
Robby Findler
c7e4af29c6 more little typo fixes
svn: r11797
2008-09-18 13:26:15 +00:00
Robby Findler
4600e4639e svn: r11796 2008-09-18 13:17:48 +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
78632e178d svn: r11682 2008-09-12 15:23:05 +00:00
Stevie Strickland
12bcac14d3 Converting utils.ss and checker.ss to scheme/base.
svn: r11633
2008-09-10 17:59:24 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
e22b4c47e3 back to braces, with #:indent
svn: r9937
2008-05-22 23:51:13 +00:00
John Clements
ffd865a33f changed { to [ in verbatim
svn: r9932
2008-05-22 22:08:50 +00:00
John Clements
0a51641563 fixed hook export problem
svn: r8960
2008-03-12 19:20:44 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Eli Barzilay
9283d92264 typos
svn: r8855
2008-03-03 06:04:03 +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
John Clements
0103f9a4d4 changed square bracket to curly to allow compilation
svn: r8728
2008-02-19 18:12:15 +00:00
Eli Barzilay
87dd133746 more fixes
svn: r8722
2008-02-19 13:25:23 +00:00
Eli Barzilay
d5f3d8e440 leftover
svn: r8721
2008-02-19 12:39:23 +00:00
Eli Barzilay
5937a488ea * removed useless name from info
* docs build into user-specific directory so they're not a problem
  with not including this in the distribution.
* misc doc improvements
* renamed handin-server.ss to main.ss
* basic operation is fine with v4

svn: r8716
2008-02-19 08:27:09 +00:00
Eli Barzilay
0f99e937fd many imrovements
svn: r8706
2008-02-18 19:44:13 +00:00
Eli Barzilay
9c77909710 use @verbatim{...}
svn: r8699
2008-02-18 10:49:20 +00:00
John Clements
ee52cafdf8 added scribble docs
svn: r8686
2008-02-16 10:23:16 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
59b5f3a727 removed unused doc.txt entries from info.ss files
svn: r8529
2008-02-04 20:31:04 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
233d148a56 fix sandbox settings (global, not local to first thread)
svn: r7515
2007-10-17 03:07:31 +00:00
Eli Barzilay
a0872ee5ed remove accidental debugging line
svn: r7418
2007-09-27 02:32:57 +00:00
Eli Barzilay
e0e9e18091 dont normalize the file path, so its ok to use a symlink for the solution file (pointing to a file that cannot be retrieved by itself)
svn: r7417
2007-09-27 02:32:10 +00:00
Eli Barzilay
07d6df5ab4 show a bad-access file in the log
svn: r7411
2007-09-25 04:24:30 +00:00
Eli Barzilay
11881c683d typos
svn: r7381
2007-09-18 17:57:57 +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
John Clements
297aa4d4b0 added line about uncommenting certain fields
svn: r7323
2007-09-12 16:51:31 +00:00
Matthew Flatt
551a9e9dcc fix another magic string in handin server
svn: r7214
2007-08-29 20:41:19 +00:00
Eli Barzilay
34765705a5 remove unused binding
svn: r7153
2007-08-23 16:18:38 +00:00
Matthew Flatt
258490c8ad fix timeout manager and replace regexp-based path manipulation with a call to find-relative-path
svn: r7128
2007-08-20 19:06:26 +00:00
Matthew Flatt
a626d25acd handin-server updates for v371
svn: r7122
2007-08-19 18:56:50 +00:00
Jay McCarthy
bec7331eae Standardizing names
svn: r6418
2007-05-30 22:01:17 +00:00
Jay McCarthy
6ac2665af9 Stream-lining web-server configuration sub-system
svn: r6417
2007-05-30 21:37:13 +00:00
Jay McCarthy
e9cc4026b9 Separating web-server signatures
svn: r6391
2007-05-29 21:29:46 +00:00
Eli Barzilay
30a27b1d8b better sandbox input
svn: r5905
2007-04-09 11:11:22 +00:00
Eli Barzilay
c6f377aca8 better output specs and implementation
svn: r5903
2007-04-09 09:15:25 +00:00
Eli Barzilay
433c9a57ec new sandbox in mzlib
svn: r5873
2007-04-06 08:56:23 +00:00
Eli Barzilay
3d0a581f88 per-expression limits
svn: r5828
2007-03-26 01:21:44 +00:00
Eli Barzilay
7cdbe98749 path args to security guards can be #f
svn: r5821
2007-03-25 02:37:51 +00:00
Eli Barzilay
b2f68b7c28 two missing exports
svn: r5819
2007-03-24 10:39:32 +00:00
Eli Barzilay
524e341398 expiration automatically redirects to restart, more time
svn: r5815
2007-03-23 04:55:50 +00:00
Eli Barzilay
8537d50620 session expired message
svn: r5814
2007-03-23 00:56:48 +00:00
Eli Barzilay
3824a55ea9 coverage handler
svn: r5784
2007-03-18 04:30:45 +00:00
Eli Barzilay
b11d6c4ae9 midsing newline
svn: r5545
2007-02-03 02:47:11 +00:00
Eli Barzilay
8dde1e2c69 bugfix
svn: r5491
2007-01-29 01:57:48 +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
952a50906c check that we did not have any skipped values in wrap-evaluator
svn: r5449
2007-01-24 19:01:41 +00:00
Eli Barzilay
7c253a2dcf typo
svn: r5448
2007-01-24 09:53:42 +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
fba4f23c3b * Added `sandbox-override-collection-paths' to allow a local library overrides
* Added a `overridden-collects' direectory 
* Forbid `exit' from use code
* Note about stderr not being redirected

svn: r5439
2007-01-23 20:18:16 +00:00
Eli Barzilay
4370b361b6 provide log-line
svn: r5433
2007-01-23 03:35:05 +00:00
Eli Barzilay
90786886a0 improved code, replace read/write specs by a generic permissions parameter
svn: r5432
2007-01-23 02:22:13 +00:00
Eli Barzilay
57e2eb0362 * Added sandbox-read-ok-paths' and sandbox-write-ok-paths' to customize the
default security guard
* Automatically add non-collects paths that are needed to load teachpacks and
  the langauge module.

svn: r5429
2007-01-22 19:54:51 +00:00
Eli Barzilay
2636dbd368 added i/o controlling
svn: r5420
2007-01-20 22:20:23 +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
16db731ca2 PR8492
svn: r5383
2007-01-18 07:59:56 +00:00
Eli Barzilay
58c15c32da fixed namespace+eventspace tricky bug
svn: r5363
2007-01-16 06:41:30 +00:00
Eli Barzilay
237506faed fixed bug with evaluation of uncovered exprs
svn: r5362
2007-01-16 06:18:04 +00:00
Eli Barzilay
d570c1c0bd typo
svn: r5361
2007-01-16 04:34:13 +00:00
Eli Barzilay
3dae5ee445 typo
svn: r5360
2007-01-16 04:30:10 +00:00
Eli Barzilay
f0a958e45b misc
svn: r5359
2007-01-16 04:28:32 +00:00
Eli Barzilay
cf67b9672a Made it easier to use `get-uncovered-expressions', fix use in checker.ss
svn: r5358
2007-01-16 02:35:15 +00:00
Eli Barzilay
6df2f54ac6 * rename with-limits -> call-with-limits
* add a with-limits macro

svn: r5357
2007-01-16 02:28:48 +00:00
Eli Barzilay
c98b4a15b2 * Factored out and generalized sandbox code for standalone testing
* Renamed "extra-utils.ss" to "checker.ss"

svn: r5356
2007-01-16 02:21:29 +00:00
Eli Barzilay
3cf7d2a55e no need for mk-args
svn: r5352
2007-01-14 04:24:44 +00:00
Eli Barzilay
ade44ab9c5 removed more test-boxes code
svn: r5348
2007-01-13 05:03:39 +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
9e78a08d6e removed test-suite related code
svn: r5302
2007-01-10 17:47:13 +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
f286073792 typo
svn: r5269
2007-01-08 23:19:24 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Eli Barzilay
a9446922ab closer to new unit code
svn: r5019
2006-12-04 07:32:30 +00:00
Eli Barzilay
cdabc3a38d improving code, adding an identifier to log messages, closer to new unit code
svn: r5017
2006-12-04 07:10:25 +00:00
Eli Barzilay
2f9a43cd42 use new code, now that the web-server is fixed
svn: r4938
2006-11-23 20:33:00 +00:00
Jay McCarthy
91aaeb95f5 ELI
svn: r4905
2006-11-21 03:58:09 +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
Ryan Culpepper
870eba1f15 Fixed PR 8324
attached (lib "cached-image-snip.ss" "mrlib") into user namespace
  refactored namespace creation code

svn: r4567
2006-10-12 20:11:13 +00:00
Jay McCarthy
703a5e8fc9 privacy
svn: r4385
2006-09-19 16:19:12 +00:00
Eli Barzilay
92c5debbc1 make log output correspond to what the user sees
svn: r4350
2006-09-16 04:49:07 +00:00
Eli Barzilay
0ea1b98548 note about creating a .plt for auto-updating
svn: r2954
2006-05-16 19:35:23 +00:00
Eli Barzilay
74307c1aef * catch configuration error in extra-utils
* clarified !test macro

svn: r2866
2006-05-05 20:08:25 +00:00
Matthew Flatt
33bea30acc fix config for latest web server
svn: r2809
2006-04-27 02:27:56 +00:00
Eli Barzilay
16f01a1109 {quick,merge}sort -> sort
svn: r2569
2006-04-01 12:24:15 +00:00
Eli Barzilay
d328e461be :names-checker can have a filename list
svn: r2513
2006-03-27 03:58:19 +00:00
Eli Barzilay
e5db23bed1 dont use code-inspector for evaluating submissions
svn: r2327
2006-02-28 01:46:03 +00:00
Eli Barzilay
c34a75443e use a new code inspector for safer eval
svn: r2319
2006-02-26 02:49:24 +00:00
Eli Barzilay
0bfecf5fb5 added a substitution for the submission directory
svn: r2247
2006-02-15 23:11:15 +00:00