Commit Graph

19 Commits

Author SHA1 Message Date
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
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
aa824d8e05 remove web-base-dir which does not make any sense now
svn: r12533
2008-11-20 11:42:28 +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
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
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
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
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
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