Commit Graph

57 Commits

Author SHA1 Message Date
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
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
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
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
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
f286073792 typo
svn: r5269
2007-01-08 23:19:24 +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
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
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
Eli Barzilay
d328e461be :names-checker can have a filename list
svn: r2513
2006-03-27 03:58:19 +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
1f7cffecae changing the output file prefix changes some other defaults
svn: r1867
2006-01-19 09:54:00 +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
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
03cde66969 Make it possible to control the current timeout.
svn: r1046
2005-10-11 19:38:37 +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
b6e2853d2c better description
svn: r892
2005-09-21 04:36:55 +00:00
Matthew Flatt
3c487a849b better timeout error message, doc revisions
svn: r865
2005-09-16 19:48:58 +00:00
Eli Barzilay
b28a6df99b * Added functionality for checking coverage information
* Submissions are opened with line counting

svn: r853
2005-09-14 18:23:05 +00:00
Eli Barzilay
8b5832a24d Improved status servlet.
svn: r830
2005-09-10 18:54:04 +00:00
Eli Barzilay
690c4b2517 semaphore for cleanup, configurable error messages
svn: r827
2005-09-10 10:00:52 +00:00
Eli Barzilay
9fbf8f47eb Completed cleaup facility
svn: r821
2005-09-09 22:21:54 +00:00