Commit Graph

493 Commits

Author SHA1 Message Date
mainzelm 28cd440b4e Re-implement session timeouts using a hash table mapping session ids
to timeouts and let the surveillance thread walk the table to find
outdated surflets. The previous implementation was nothing but bogus.
2006-08-02 15:23:32 +00:00
mainzelm 8a2351a190 Fix handling of session timeouts by using the session-id as the only
key.
2006-08-01 15:19:19 +00:00
eknauel ef819fa581 Add structure `surflets/send-xml' which provides `send-xml/finish' and
`send-xml/suspend'.  These functions produce XML output rather than
HTML.
2006-07-10 12:02:39 +00:00
interp d0ffff7057 bindings.scm 2005-12-05 15:06:37 +00:00
sperber 7d6b83e370 Add record discloser for request objects. 2005-06-10 09:52:00 +00:00
mainzelm 91da112ec1 Use Sunterlib's rt-modules implementation instead of our own. 2005-05-03 12:39:31 +00:00
sperber ae51c20165 Typo fix: "occured" -> "occurred" 2005-04-14 08:53:44 +00:00
interp 8959781279 Adapt to new server layout. File is only meant for developing. 2004-09-24 13:54:58 +00:00
interp 584c946850 remove debug output 2004-09-24 13:50:49 +00:00
interp 902a34ae01 really remove that POST-bindings-cache bug 2004-09-24 13:49:05 +00:00
interp f0ca612665 Remove bug that inhibited POST cache to shrink 2004-09-24 11:28:49 +00:00
interp 46d17a3ee4 Export forgotten MAKE-TEXT in simple-surflet-api. 2004-07-29 17:15:46 +00:00
interp bfb4068c9a Correct typo surlfets... -> surflets/input-fields. 2004-07-29 08:23:56 +00:00
interp 7cb5d680d4 Use sxml->low-level-sxml instead of pre-post-order in sxml->string to reduce connection points. 2004-07-28 20:59:55 +00:00
interp bc9e540be7 Remove wrong comment. 2004-07-28 20:20:50 +00:00
interp cb95474d95 Export RESET-SURFLET-CACHE! in surflet-handler/surflets. 2004-07-27 14:19:44 +00:00
interp fee49612ce Let surflets/my-sessions export SET-SESSION-LIFETIME! 2004-07-27 13:45:26 +00:00
interp 10ca480e4c Correct error message in make-http-response. 2004-07-21 20:38:00 +00:00
interp 6d6f34ae78 minor change: make clear Scheme value of not annotated checkbox depends on standard transformer. 2004-07-21 20:33:37 +00:00
interp 2268fe3231 Parameterize over error message in make-simple-default-setter 2004-07-21 20:31:30 +00:00
interp 15f07f8d4a Design change: transformer of non-multi input-fields get two
arguments: the input-field *and* the binding value (not only the
binding value)

Rational: (a) transformers of non-multi input-fields can now access the
attribute field of the input-field record, (b) there is no real reason
why to treat multi and non-multi input-fields differently in respect
to their transformer arguments (keep design simple).

Updates of current surflets only necessary if they create their own
non-multi input-fields (with make-input-field).  Example surlfets
calculate.scm and calculate-cb.scm updated as well as standard HTML
input-fields provided by the SUrflets.
2004-07-21 20:09:37 +00:00
interp 299a4ef815 add explaining comment 2004-07-21 19:07:50 +00:00
interp d62e069710 use (cdr head) instead of (cdar cache), it's clearer 2004-07-21 18:59:18 +00:00
interp 582e07bb18 remove forgotten debug output from previous commit 2004-07-21 18:56:56 +00:00
interp f23cd71100 use symbol to search in browser headers 2004-07-21 18:56:03 +00:00
vibr e4a887d491 Revert last commit. 2004-05-24 15:54:58 +00:00
vibr a2a656ad99 1.0->1.1: updated status codes 2004-05-24 15:42:13 +00:00
vibr 1bd77d4b10 added comments 2004-05-17 16:42:45 +00:00
vibr 96216b243d answer HTTP/1.0 for requests with unknown HTTP-version 2004-05-17 16:39:17 +00:00
interp 7a04cf81d5 Omit warning message if INFOPATH is not set. 2004-05-12 19:28:17 +00:00
interp e13ad264bc Omit warning message if MANPATH is not set. 2004-05-12 19:28:04 +00:00
interp 1fe7ec1e6f Moving SUrflets webserver to top level,
adjusting startup scripts and documentation accordingly.
Replaced index.html (small & no content) by index2.html.
2004-02-02 17:49:37 +00:00
mainzelm ed74e197ee The annotation of an address is not put into the URL so URI escaping
it is superfluous and wrong.
2004-02-02 17:37:01 +00:00
mainzelm b65323b81b URI escape address annotations 2004-02-02 10:24:05 +00:00
mainzelm ff5bca073d Added a missing port argument. 2004-02-02 10:22:21 +00:00
interp 5ece0109b1 another todo task (tell about cygwin) 2004-01-22 00:48:11 +00:00
interp 63d708b219 Move SUrflet howto into main documentation.
Merge 2 decls.tex together.
Drawback: can't use url package anymore.
2004-01-17 01:35:16 +00:00
interp 25e03fe5e4 More example files for the surflet howto. 2004-01-15 03:47:39 +00:00
interp 721fee4e07 More howto. Draft like version. 2004-01-15 03:46:27 +00:00
interp 05a17e07d7 Use own decls.tex for HowTo. Might merge with doc/decls.tex in the future. 2003-11-21 19:10:12 +00:00
interp 8baad2666f Initial version of How To Use SUrflets.
Needs still some additions.
2003-11-21 19:09:36 +00:00
interp 52e0a557e2 Some example files mentioned in the howto. 2003-11-21 19:09:12 +00:00
interp 07ef3aa5c2 SSAX (and we) need this patch to work. 2003-11-21 19:05:54 +00:00
interp 25fa9fbca5 Make it a bit more portable.
Change default port from webcache to http-alt.
2003-11-21 19:05:02 +00:00
interp 73dfefd439 Exclude some LaTeX files 2003-11-21 19:03:54 +00:00
interp c2109e2e67 Adjust MAKE-RESUME-URL and
DEFAULT-MAKE-SESSION-TIMEOUT-TEXT to surflets that are
in subdirectories.
2003-11-18 20:25:59 +00:00
mainzelm 217596b510 Return text/css for files with .css extension. 2003-10-24 08:16:07 +00:00
interp c42a467ce5 Sorry for the messed up previous commits. Here are the collected messages:
Insert forgotten point to argument list of MAKE-SELECT, making the last
arguments optional. This was the reason for a "bug" in admin-surflet.scm.

Remove bug from MAKE-SELECT;
  MAKE-SELECT used the wrong argument name in calls to
  make-multiple-select or make-single-select, respectively.
2003-08-01 18:00:51 +00:00
interp 0ffbe611dc Sorry for the messed up previous commits. Here are the collected messages:
* Use "Internal Error" instead of "Bad Gateway" as the surflet handler is not a
gateway.
* Thus, rename BAD-GATEWAY-ERROR-RESPONSE to BAD-SURFLET-ERROR-RESPONSE.
Move SESSION-ADJUST-TIMEOUT from SEND/SUSPEND to RESUME-URL where it belongs to.
Let SET-SESSION-DATA! raise an error, if the instance isn't alive anymore (instead of returning #t or #f).
Add small comment to RESET-SESSION-TABLE!
Remove unused variable in DELETE-CONTINUATION!
Remove superfluous FILE-NAME-NON-DIRECTORY from RESUME-URL, as RESUME-URL-IDS uses this anyway.
Small change in error message in MAKE-HTTP-RESPONSE.
2003-08-01 17:59:27 +00:00
interp 64ef783d8d `cat ~/diff-sunet/$num/log` 2003-08-01 17:41:11 +00:00