Commit Graph

276 Commits

Author SHA1 Message Date
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
Eli Barzilay
23249ced6f warn agains file loss on multi-file submissions
svn: r2227
2006-02-15 05:49:05 +00:00
Eli Barzilay
c7db581701 Added the updater, with instructions on how to turn it on.
svn: r2219
2006-02-13 22:42:57 +00:00
Eli Barzilay
af6b88d062 Added rudimentary support for multi-file submissions.
svn: r2210
2006-02-13 17:39:02 +00:00
Eli Barzilay
3e7e50d5f8 added untabify
svn: r2172
2006-02-08 17:14:21 +00:00
Eli Barzilay
7efb1e0db6 fix sorting of "hw1a" "hw1b" etc
svn: r1868
2006-01-19 13:04:41 +00:00
Eli Barzilay
1f7cffecae changing the output file prefix changes some other defaults
svn: r1867
2006-01-19 09:54:00 +00:00
Eli Barzilay
6108f2dafd typo in log message
svn: r1865
2006-01-19 06:35:07 +00:00
Eli Barzilay
9e6f6a67b0 removed debugging line
svn: r1849
2006-01-17 20:24:44 +00:00
Eli Barzilay
b1442e74c4 deal with :eval? properly
svn: r1846
2006-01-17 10:40:06 +00:00
Eli Barzilay
665a396d6b type
svn: r1824
2006-01-13 13:01:32 +00:00
Eli Barzilay
c311a402bc added plaintext password option
svn: r1823
2006-01-13 12:38:47 +00:00
Eli Barzilay
3cd38a3d25 it is now possible to have hidden user fields
svn: r1809
2006-01-12 00:21:45 +00:00
Eli Barzilay
26531d4405 if there is no config file, use defaults instead of throwing an error
svn: r1807
2006-01-11 21:47:52 +00:00
Eli Barzilay
88a6f81a50 use an empty input port for all evaluations
svn: r1547
2005-12-07 00:52:33 +00:00
Eli Barzilay
1297aa36f0 Catch errors when retrieving files.
svn: r1327
2005-11-16 17:08:18 +00:00
Eli Barzilay
42ba923c45 better error on hangup
svn: r1307
2005-11-14 06:20:33 +00:00
Eli Barzilay
c88354bb17 small fixes
svn: r1295
2005-11-12 16:08:46 +00:00
Eli Barzilay
2047a756c7 svn: r1278 2005-11-11 02:37:25 +00:00
Eli Barzilay
e2c19981e2 svn: r1277 2005-11-11 00:34:02 +00:00
Eli Barzilay
8c6cebc45c user checker that uses a team file dynamically
svn: r1261
2005-11-08 23:23:08 +00:00
Eli Barzilay
f359af27b3 svn: r1179 2005-10-30 12:23:47 +00:00
Eli Barzilay
d044b06b27 deal with eof a little better
svn: r1071
2005-10-13 18:43:27 +00:00
Eli Barzilay
03cde66969 Make it possible to control the current timeout.
svn: r1046
2005-10-11 19:38:37 +00:00
Eli Barzilay
f30e285be4 Make `with-watcher' deal with timeouts if not in 3m,
removed timeout from `run-server'.

svn: r1040
2005-10-11 05:36:32 +00:00
Eli Barzilay
778075ac2a Add support for text boxes, xml boxes, and scheme boxes.
svn: r1030
2005-10-09 04:59:10 +00:00
Eli Barzilay
dff3e69814 dont ignore checker body if not evaluating submission
svn: r1029
2005-10-09 02:51:29 +00:00
Eli Barzilay
af24612618 reorganize text
svn: r1028
2005-10-09 02:45:13 +00:00
Eli Barzilay
ec66204e56 added defaults
svn: r1027
2005-10-09 01:06:31 +00:00
Eli Barzilay
e323d15247 * Added a (message "..." 'final) that can be used to leave a message when
handin is done.
* Added `add-header-line' and a `:user-error-message' option to extra-utils.ss

svn: r1025
2005-10-09 00:56:06 +00:00
Eli Barzilay
bedb4235c3 make LOG available for user code
svn: r1023
2005-10-08 03:38:02 +00:00
Eli Barzilay
6afc5dd4e5 Added the ability to have pre- and post-checkers.
Added and documented extra-utils.ss.

svn: r1009
2005-10-07 14:38:09 +00:00
Eli Barzilay
6d152fb925 * The protocol is changed, so its identifier is changed for safety
(from 'original to 'ver1).
* The client gets the list of extra fields from the server (when the
  dialog is used for the first time), the full-name, ID, and email
  fields are now part of this description which is in the server
  configuration file
* The network protocol has a generic initial part when clients set
  arbitrary key/values that are later used for actual actions
* In the submission dialog, there is a checkbox that makes it retrieve
  the submitted work instead of sending a new one.  The retrieved
  contents will pop up in a new DrScheme frame.  The file that is
  retrieved is the newest WXME file that is found in the student's
  main submission directory.
* The hack of returning a list from the checker is not needed now --
  it is possible to send text messages that are displayed on the
  handin dialog and it is also possible to send message-boxes and get
  the result that the client returns after getting the user response.
  This is a much better generalization of the single final popup that
  was enabled by the list hack.
* When registering, a second password for verification is required.
* It is now possible to edit any information field, with a
  configuration entry that locks by default any such changes.
* It is now possible to standard Unix encrypted passwords instead of
  MD5 hashes -- so a "users.ss" can be made from a plain /etc/passwd
  file.

svn: r995
2005-10-06 06:32:25 +00:00
Eli Barzilay
a3fae4a355 oops, still using the same protocol
svn: r893
2005-09-21 04:41:51 +00:00