Commit Graph

671 Commits

Author SHA1 Message Date
interp 071b59a99f Hopefully last restructuring. 2003-01-19 11:03:14 +00:00
interp bee74b3867 More restructuring. 2003-01-19 10:31:16 +00:00
interp 7c33c9ba08 minor restructuring 2003-01-19 09:47:15 +00:00
interp dfe5c56163 Add comment about serving the servlets' source.
(We and the browsers cannot handle .SCM files.)
2003-01-18 17:56:18 +00:00
interp 0bd2a7b254 Remove debug output. 2003-01-18 17:22:57 +00:00
interp c2bb9ae9e8 Remove bug from previous commit: write out to outport. 2003-01-18 17:18:19 +00:00
interp b7133f4393 Add finalizer to remove temporary session files. 2003-01-18 15:02:22 +00:00
mainzelm 48290e2f83 + Expand lots of acronyms.
+ Some renamings
2003-01-17 18:29:47 +00:00
interp 104802b3ae Reindent. 2003-01-17 17:48:20 +00:00
interp 4183ec85ce Add bang after set-... commands. 2003-01-17 17:47:31 +00:00
interp 05b7af0986 READ-LINE does the job as well as READ-CRLF-IO, so kick CRLF-IO. 2003-01-17 17:40:30 +00:00
interp 92d760a1cd Tell browser not to cache supples by an HTTTP header. 2003-01-17 17:39:07 +00:00
mainzelm b77a20674c Make message-type and message-class an enumerated type. 2003-01-16 20:08:14 +00:00
mainzelm 1087695e37 Use our own md5 library to generate MD5 sum instead of calling an external program. 2003-01-16 16:40:51 +00:00
sperber b81da26fdc Don't allow a file name as the "log" argument to FTP-CONNECT---the
library never bothered closing the port anyway.
2003-01-16 13:55:13 +00:00
sperber 6af4ba85de Fix RFC URL. 2003-01-16 13:42:04 +00:00
sperber 5513b85f7d Add copyright line for me. 2003-01-16 13:40:23 +00:00
sperber a4766e2abd Return (VALUES) instead of the reply text for many procedures, lest
someone actually try to use that information.
2003-01-16 13:38:21 +00:00
sperber 2f5d5a1f53 Remove obsolete comments. 2003-01-16 13:34:58 +00:00
sperber 6b21a05636 Add COPY-PORT->PORT-BINARY, COPY-PORT->PORT-ASCII, and
COPY-ASCII-PORT->PORT to FTP-INTERFACE.
2003-01-16 13:33:39 +00:00
sperber 54ece65f35 Support passive mode in FTP. 2003-01-16 13:32:43 +00:00
sperber ec42abd6db Factor PARSE-PORT-ARG out of FTPD into FTP-LIBRARY (in preparation of
passive mode support in FTP).
2003-01-16 13:09:14 +00:00
mainzelm df9cd86232 Minor renamings. 2003-01-16 13:07:14 +00:00
interp c02cb068af right-justify ids 2003-01-16 12:58:01 +00:00
interp 422a1db09f Add note about danger of killing / deleting current continuation.
Add current session's id and current session's continuation's id in
this message.
2003-01-16 12:53:10 +00:00
sperber bba9c34744 - rename FTP-TYPE -> FTP-SET-TYPE!
- use enumerated type for argument of FTP-SET-TYPE!
2003-01-16 12:52:16 +00:00
interp d54645f39b Update list of return links. 2003-01-16 12:50:14 +00:00
sperber 2ebb8d0e0f Replace remaining uses of FORMAT. 2003-01-16 12:45:55 +00:00
sperber 1f0bd725cf Elided FTP-LOGIN from FTP-INTERFACE. 2003-01-16 12:43:41 +00:00
sperber bd368af1dc Don't gratuitously parse ~/.netrc. 2003-01-16 12:39:36 +00:00
sperber bb84449320 - call FTP-LOGIN from FTP-CONNECT
- don't store login and password in connection record
- don't try to use password if USER succeeds already
- allow port (instead of file) for logging
- fix protocol bugs between FTP-LS/FTP-DIR and FTP-BUILD-COMMAND-STRING
2003-01-16 12:36:27 +00:00
interp c9c7eb0a90 Make add examples look the same. 2003-01-16 12:09:49 +00:00
interp 0656602636 Improve handling of gnuplot executable.
(`which` at startup, check for executable)
2003-01-16 11:10:38 +00:00
sperber 1b5098bea0 Lower-case silly "IN." 2003-01-16 10:58:02 +00:00
sperber fddc9bda46 Prettify FTP-LOG. 2003-01-16 10:55:15 +00:00
sperber d07bf7beae Revamp FTP-GET, FTP-PUT, and FTP-APPEND: always take remote file name
as argument and an ACT procedure which acts on the data input/output
port.
2003-01-16 10:51:40 +00:00
sperber 3be94a89e4 Split out FTP-LIBRARY from FTPD; it contains data-shuffling procedures
which are useful for the client as well.
2003-01-16 10:34:39 +00:00
sperber f0448cb34f Have FTP-LS and FTP-DIR returns list of directory lines rather than
printing the directory to (current-output-port).
2003-01-16 10:21:59 +00:00
sperber 101109e785 Fix FTP-SIZE to read reply until the end of the string. 2003-01-16 10:18:22 +00:00
sperber a4810b4cae Rename all those ugly "OUT"s to "out". 2003-01-16 10:03:04 +00:00
sperber 697ed851b8 - fix handling of multi-line replies
- redo FTP-MODIFICATION-TIME and FTP-PWD without regexps
2003-01-16 10:01:28 +00:00
sperber 1a0099230c Rewrite reply code testing with predicates instead of regexps. 2003-01-16 09:40:34 +00:00
sperber 045ded0d30 Rewrite FTP-BUILD-PORT-STRING in terms of FORMAT-INTERNET-HOST-ADDRESS
and FORMAT-PORT.
2003-01-16 09:23:05 +00:00
sperber 30f6f2a0a6 Reanem "response" -> "reply" in accordance with RFC 959. 2003-01-16 09:16:29 +00:00
sperber a138b994ba More comment and indentation fixes. 2003-01-16 09:12:10 +00:00
sperber 3da9d2019d ange-ftp -> EFS (in comments) 2003-01-15 15:41:45 +00:00
sperber fcbc62f29e Fix some mis-indentations of RECEIVE. 2003-01-15 15:40:33 +00:00
sperber f7ca3d5393 Use READ-CRLF-LINE instead of READ-LINE.
(FTP is TELNET-based.)
2003-01-15 15:39:13 +00:00
sperber 9109ecaaf6 Remove comments that have moved to the documentation. 2003-01-15 15:37:22 +00:00
interp 02f9f60e99 + Add code to remove forgotten temporary file.
+ Add note about time of profiling.
+ Don't show profiling pictures anymore. The server can't show them anyway.
Instead provide a link to the pbm file.
2003-01-15 14:42:32 +00:00
mainzelm 46f357d47d nph-responses don't carry a status code so simply guess it to be
(status ok) when generating the log file.
2003-01-15 14:07:57 +00:00
mainzelm 7e274597a4 Fix handling of "npg-" scripts by using make-nph-response. 2003-01-15 14:03:30 +00:00
mainzelm 7170593056 Use number->status-code to generate status-code from the code returned
in the CGI header.
2003-01-15 14:02:02 +00:00
mainzelm 06121b3972 Added number->status-code. 2003-01-15 13:37:05 +00:00
sperber ec99930213 Rename HTTP-URL-FRAG-ID to HTTP-URL-FRAGMENT-IDENTIFIER. 2003-01-15 12:19:45 +00:00
mainzelm f9474b7a16 Replaced define-record by define-record-type 2003-01-15 12:17:54 +00:00
sperber 3f398e3ba7 Re-indent. 2003-01-15 11:00:22 +00:00
sperber 608bb395f2 Rename "userhost" to "server" according to RFC 2396. 2003-01-15 10:59:46 +00:00
sperber e090e1bd44 Add PARSE-HTTP-URL-STRING procedure to URL structure. 2003-01-15 10:36:16 +00:00
sperber b85f09212e Indentation and comment fixes. As usual, fix Olin's atrocious
line-breaking of IFs.
2003-01-15 10:32:35 +00:00
sperber abc0cdb34d Indentation and typo fixes.
In particular, fix Olin's atrocious line-breaking of IFs.
2003-01-15 10:17:43 +00:00
sperber 8800f37a3b - fix bug: PARSE-URI couldn't handle ? and # in the same URI
- use fixed URI-RESERVED-SANS-= instead of computing
  (char-set-delete uri-reserved #\=)
  each time PARSE-URI is called
2003-01-15 10:14:06 +00:00
sperber 8ed2a48176 Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
SPLIT-URI.

Also fix paren typo from earlier commit.
2003-01-14 15:02:07 +00:00
sperber 62c597e7ec Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
SPLIT-URI.
2003-01-14 15:01:21 +00:00
sperber d882315133 - elide documentation that's moved to uri.tex
- remove RESOLVE-URI
  (Whatever it was supposed to do (and we don't know what it was
  supposed to do), it didn't work, and there are no known clients for
  it.)
2003-01-14 14:40:57 +00:00
sperber e2d36f3922 Remove RESOLVE-URI. 2003-01-14 14:39:55 +00:00
sperber a5bdc8743e Remove comments that have been integrated into the documentation. 2003-01-14 13:53:24 +00:00
sperber 9dac2674b4 Introduce new response type :HTTP-NPH-RESPONSE for nph-... CGI
scripts.
2003-01-14 13:23:29 +00:00
interp da98e19193 Force the result of the servlet to be printed into a string-port.
The servlet programmer is (nearly) unaware of this.

This removes the problem that arises if send/suspend is called in HTTPD
while transmitting data to the browser.
2003-01-14 11:27:42 +00:00
sperber 9a9d91fe92 Don't look at (getenv "PATH") when determining the PATH set for the
CGI script.
2003-01-10 13:31:06 +00:00
sperber 722135a77e Remove obsolete comment. 2003-01-10 13:30:36 +00:00
sperber 5880441b02 Add implementation of NAME->STATUS-CODE.
Tag export of STATUS-CODE as :SYNTAX.
2003-01-10 09:57:41 +00:00
sperber 86b0639a7f Rename MAKE-HTTP-ERROR-RESPONSE -> MAKE-ERROR-RESPONSE to be
consistent with MAKE-RESPONSE.
2003-01-10 09:52:35 +00:00
sperber 26de50f074 Don't set REMOTE_HOST---we set REMOTE_ADDR, and that's enough
according to the CGI spec.  (REMOTE_HOST required that we do a DNS
lookup.)
2003-01-09 16:02:40 +00:00
sperber 0754b74963 Replace integer HTTP status codes by finite record type instances. 2003-01-09 15:05:30 +00:00
sperber 9b11ac1572 Remove %... procedure brain-damage from RFC822 code and use optional
arguments instead.
2003-01-09 13:23:50 +00:00
sperber 788b75caf0 Add HTTPD structure with all the stuff actually needed to call the
entry point.
2003-01-09 12:59:43 +00:00
sperber 978f28680e Parameterize RMAN-HANDLER over locations of the various binaries. 2003-01-07 14:38:02 +00:00
sperber 7f5219220b Remove stray DECLINE which would shut down the server in the face of
internal server errors.
2003-01-07 13:40:34 +00:00
sperber db72d0f439 Remove obsolete uses of ERROR-PACKAGE. 2003-01-07 12:32:52 +00:00
sperber b5e07aef54 Remove -OBSOLETE packages; we're incompatible with the old SUnet
anyway, and there's little reason to keep compatibility packages for
the rest.
2003-01-07 12:18:27 +00:00
sperber 186e9de56c Streamline structure declarations
- remove some more uses of Olin records
- remove uses of BIG-SCHEME/BIG-UTIL
- subset all uses of SRFI 1, 13, 14
2003-01-07 12:16:33 +00:00
mainzelm 9146cb5780 Use with-lock to obtain/release-locks. 2002-12-29 19:10:10 +00:00
mainzelm c43a8b8f35 Copy with-lock from scsh into sunet-utilities. 2002-12-29 19:09:37 +00:00
mainzelm 7fc87572bb Last commit accidentally commented out REMOTE_HOST. 2002-12-29 17:52:26 +00:00
mainzelm e3ef1280c4 Correct leftover from the fork-based implementation: adjust port-buffering of socket's input port. 2002-12-29 17:49:06 +00:00
mainzelm bfab4cc710 Correct leftover from the fork-based implementation: stdin of the CGI
script must be the socket's input port.
2002-12-29 17:47:41 +00:00
mainzelm e7aa14ee73 cache contents of resolv.conf 2002-12-22 13:45:38 +00:00
mainzelm f0dbc7acba Add missing parameter to format in maybe-open-logfile. 2002-12-20 07:53:43 +00:00
mainzelm 6156c77161 Put port for logging into session. 2002-12-19 17:11:38 +00:00
mainzelm 63ca4e7c09 Use fork-thread to start new threads to inherit syslog resource. 2002-12-19 16:33:13 +00:00
mainzelm b5c286e935 Import handle-fatal-error in httpd-logging. 2002-12-19 14:34:55 +00:00
mainzelm 8b6d244f0e Protect dns-lookup-ip with a fatal error handler. 2002-12-19 14:30:39 +00:00
mainzelm 5a20cc1e0a Moved handle-fatal-error.scm from httpd/ to lib/ 2002-12-19 14:27:31 +00:00
sperber 1b13998c69 Fix opened structures for DNS.
(DNS would bomb due to a conflict for DELETE between BIG-UTIL and
SRFI-1.)
2002-12-17 16:32:16 +00:00
mainzelm 34a2ace724 + Temporary fix in this-host-address: close the socket obtained from
port->socket.

+ read-crlf-line doesn't accept a timeout and it would be nonsense in
  copy-ascii-port->port anyway.
2002-12-11 10:05:50 +00:00
interp 4bee3e42f5 Update links to new 'add' scheme servlets. 2002-12-08 18:46:45 +00:00
interp f4cca95296 Version of add form:
Uses SIMPLE-SERVLET-API.
2002-12-08 18:45:58 +00:00
interp a7357dc1a4 Rename add2.scm to add-servlet.scm
Version of add form:
"Full featured" version: uses both HTML generating and support for
input-fields in forms.
2002-12-08 18:13:59 +00:00
interp 98ff465d73 Rename add.scm to add-html.scm
Version of add form:
Uses SEND-HTML/SUSPEND and SEND-HTML/FINISH with the HTML-generation tool
from serlvets (that is built with Oleg's SSAX)
2002-12-08 18:12:34 +00:00
interp 5879a83b9a "Raw" version of add form:
Uses only tools of servlet-handler/servlets.
2002-12-08 18:10:15 +00:00
interp 7f7eb610d8 use SCHEME-WITH-SCSH instead of SCSH and SCHEME 2002-12-08 15:49:27 +00:00
interp d705974612 Remove checkbox-bug 2002-12-07 22:27:02 +00:00
interp 4606552c2b rename INSTANCE to SESSION and SESSION to INSTANCE 2002-12-07 22:26:40 +00:00
mainzelm 0b57b16fe9 Use select-port-channels. TCP works now. 2002-12-06 12:52:23 +00:00
mainzelm 7e6da5347e + Complete parsing for /etc/resolv.conf
+ use search or domain field from resolv.conf to determine FQDNs
2002-12-03 16:02:17 +00:00
sperber 29fc6b1b9d Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in POP3. 2002-12-03 10:55:08 +00:00
sperber 0db1d98d53 Remove comments about portability. 2002-12-03 10:52:15 +00:00
sperber 9b272be2b7 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in NETRC. 2002-12-03 10:50:26 +00:00
sperber fe96c5f2b2 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in FTP. 2002-12-03 10:44:48 +00:00
sperber 6faaa49692 Remove obsolete comments about compatibility. 2002-12-03 10:41:49 +00:00
sperber 905ad326c2 Synchronize copyright statements. 2002-12-03 10:41:04 +00:00
interp 1e93e430ed + add navigation links
+ typo corrected
2002-12-02 08:58:24 +00:00
interp 77cd3e0d28 REQUEST:URL --> REQUEST-URL 2002-12-02 08:44:02 +00:00
interp ffa8ad13ae remove unused SERVLET-PREFIX option. 2002-12-02 08:42:37 +00:00
interp ba04964918 fix typo in SERVLETS' open-clause 2002-12-02 08:39:10 +00:00
mainzelm 543dbdf9ab DNS needs srfi-1 2002-11-29 17:08:57 +00:00
mainzelm 5f88c27382 + Removed *debug*
+ some renamings
+ explained nomenclature
2002-11-29 17:08:14 +00:00
sperber 4e859bc92a - renamed USERHOST:xxx to USERHOST-xxx
- renamed HTTP-URL:xxx to HTTP-URL-xxx
2002-11-29 14:56:58 +00:00
sperber 68b1f0c386 Fix typo from structure name normalization commit. 2002-11-29 14:49:46 +00:00
sperber 641b8129ba Renamed REQUEST:xxx to REQUEST-xxx. 2002-11-29 14:49:22 +00:00
sperber b45c23df44 More structure name normalization. 2002-11-29 14:42:02 +00:00
sperber 61c8b7fba2 Use SCHEME-WITH-SCSH throughout. 2002-11-29 14:37:39 +00:00
sperber 4bf3bcb238 Clean up ftpd:
- open fewer structures
- clarify relationship between OPTIONS and SESSION
- use an ordinary fluid for OPTIONS
- pass FTPD-OPTIONS record into FTPD instead of some random arguments
- ...
2002-11-29 14:27:52 +00:00
mainzelm cbb4609c3a Replaced posix regexp strings by sre expressions. 2002-11-27 09:36:21 +00:00
sperber 2442e88ab7 Renamed HTTPD-REQUEST to HTTPD-REQUESTS, now conforming to Scheme 48
convention.
2002-11-26 12:52:39 +00:00
mainzelm 5f3582d017 + Reworked condition signalling
+ TCP almost works
+ Cleanup
2002-11-25 16:47:00 +00:00
mainzelm 6cc2305e6b Start of rewrite using select. 2002-11-19 22:41:37 +00:00
interp 4c3bde22fa Add several features like
+ extras page
+ shield energy
+ construction time calculation
+ hostname resolving
+ comments
+ some others I cannot remember

[Sorry for the bundled commit, my ISP went down again.]
2002-11-17 14:38:38 +00:00
interp 9816e1c1ed + let arms be specified
+ add extra order page
+ add data about spaceship classes
2002-11-15 15:49:02 +00:00
interp 393ea38bb8 introduce data structure for spaceship class' boundary data 2002-11-15 12:52:58 +00:00
interp a0e331636c Remove stupid error generating code. Hit me. 2002-11-15 12:32:50 +00:00
interp 4570e42eeb bigger application 2002-11-09 18:26:26 +00:00
interp 8e22009ca1 Add another error handler in the reset from to catch errors occuring
while running the servlet (perhaps with restored continuations).
2002-11-09 18:25:20 +00:00
interp fb75cd4efe Add infrastructure for saving default values in get-results. 2002-11-09 17:17:14 +00:00
interp 5e0e6abcb7 update description of INPUT-FIELD-VALUE and insert one for RAW-INPUT-FIELD-VALUE 2002-11-09 16:46:59 +00:00
interp 2d97ef42bc remove sub-attribute-bug from select and radio input fields 2002-11-09 16:46:26 +00:00
interp 5770918384 Remove debug output 2002-11-07 20:42:06 +00:00
interp 223c1da086 Rename TRY-INPUT-FIELD-VALUE --> INPUT-FIELD-VALUE and
INPUT-FIELD-VALUE --> RAW-INPUT-FIELD-VALUE simultanously.
Thus, the WITH-FATAL-ERROR-HANDLER wrappers are not needed anymore.
2002-11-07 20:41:35 +00:00
interp a03e5914da new TRY-INPUT-FIELD-VALUE returns #f, if INPUT-FIELD-VALUE fails 2002-11-07 14:11:05 +00:00
interp 555af5225d removed bug in MAKE-YES-NO 2002-11-05 22:20:59 +00:00
interp d4ea641e14 comment added 2002-11-05 22:20:47 +00:00
interp 45a4c810a1 Create HTML page before creating response object.
This enables the possibility to nest calls to the SEND-HTML/SUSPEND and
similar, but disables the access to the HTTPD-OPTIONS (that wasn't granted
anyway, currently). This makes the add.scm servlet working again.
2002-11-05 21:32:58 +00:00
interp 47a60a26d3 Redesigning error catching machinery.
Now no malicious servlet should be able to let the server crash.
2002-11-05 10:21:15 +00:00
interp 2ab106745a Get rid of a bug. Filtering of instances is disabled to achieve this. 2002-11-03 18:15:53 +00:00
interp 1374c4a8a6 Rename some procedure to get references clear and to remove a small bug 2002-11-03 18:00:12 +00:00
interp d026036bf3 Simple servlet api adopted from PLT. Example included 2002-11-03 17:43:58 +00:00
interp 9815824581 remove small typo from MAKE-PASSWORD 2002-11-03 17:42:27 +00:00
interp 4d7d5b08cd Don't just say "#f" if you don't have an adminstrator's mail address. Be
explicit.
2002-11-03 14:41:43 +00:00
interp 2800b21fea Browser caching may be a reason for wrong servlet request. Tell them
about it.
2002-11-03 14:37:53 +00:00
interp a49fbee71f Change argument order in EXTRACT-BINDINGS and EXTRACT-SINGLE-BINDING to
fit the one of the equivalent PLT procedure.
2002-10-26 15:40:26 +00:00
interp 26683bd822 * Move error handling of the servlets to the right point, i.e. after
the reset.
* Remove redirect 'feature'. It is not well tought out.
2002-10-26 15:35:20 +00:00
interp ddae6cfb3c cache GET-BINDINGS-RESULTS' results of POST requests with weak-pointers 2002-10-26 15:20:56 +00:00
interp 588dc93ddf + PMB is an uncompressed format---use smaller size.
+ Put the image in the image directory (we know, where we are...).

 Unfortunately, the server does not report the image type well, so
 the picture is usually not displayed by the browser (or the format is
 not understood). Anyway, it may be downloaded.
2002-10-22 16:05:18 +00:00
interp 03da4f6e05 Use image directory for gnuplot output. 2002-10-22 16:01:25 +00:00
interp fc7a6f3719 Let pictures be created in the PBM format instead of the PNG format, because
some installations of gnuplot cannot produce PNG, though it is a web
standard. The PBM files may be converted to other file formats using the
PBMPLUS package from http://www.acme.com/software/pbmplus/, including PNG.
2002-10-22 15:34:59 +00:00
interp 25976c1f39 export ADJUST-TIMEOUTdon't need defrec-package anymore 2002-10-21 08:42:09 +00:00
interp 163e250b89 Some versions using callback.More will come soon. To be improved. 2002-10-21 08:41:00 +00:00
interp 13c001841b Various changes and improvements, namely:
+ added links to previous menus
+ removed some typos
+ admin-servlets:
  + make unload all work
  + improved machine-user dialog
+ calculate.scm:
  + numbers are restored, if operator is changed

Sorry for this packed commit, but my ISP went down on weekend.
2002-10-21 08:38:46 +00:00
interp 4925801b9e use DEFINE-RECORD-TYPE instead of DEFINE-RECORD 2002-10-21 08:34:12 +00:00
interp 86df9aac58 minor changes 2002-10-21 08:26:50 +00:00
interp d02d0e19d2 use DEFINE-RECORD-TYPE instead of DEFINE-RECORD 2002-10-21 08:25:58 +00:00
interp f0106b48e7 add `source' directory
Note: The MIME type reported by CORE is wrong and irritates Netscape.
2002-10-21 08:24:58 +00:00
interp fa61699155 MAKE-UPPER-INPUT-FIELD --> MAKE-HIGHER-INPUT-FIELD 2002-10-09 15:25:14 +00:00
interp e29d3d750a more comfortable 2002-10-09 15:22:50 +00:00
interp 044c27e292 make forms POSTing 2002-10-09 15:14:54 +00:00
interp db331ad0e3 Wrap error-handler around calls to LAUNCH-NEW-INSTANCE and RESUME-URL
in SERVLET-HANDLER.  This will catch most errors, but will fail on
some, e.g. procedure called with wrong number of arguments. As far as
I see, the problem is the underlying error reporting system of
Scsh/Scheme48. Maybe I'm wrong.
2002-10-09 15:12:33 +00:00
interp 900f552ee1 Wrap error-handler around calls to LAUNCH-NEW-INSTANCE and RESUME-URL.
This will catch most errors, but will fail on some, e.g. procedure
called with wrong number of arguments. As far as I see, the problem is
the underlying error reporting system of Scsh/Scheme48. Maybe I'm
wrong.
2002-10-09 15:11:55 +00:00
interp 9e5d62aa77 In MAKE-NUMBER-INPUT-FIELD set default value field only if default
text is given.
2002-10-05 11:58:52 +00:00
interp 12b2b96582 remove some superfluous comments/code 2002-10-04 15:56:58 +00:00
interp 23dfce1dc7 add further configurable option: cache servlets 2002-10-04 15:51:51 +00:00
interp a920462ba1 Use preserved-thread-fluids for the options. With this, the stay the
same between to calls to the servlet-handler.
2002-10-04 15:51:04 +00:00
interp 9fb5c80f65 let MAKE-CHECKBOX-INPUT-FIELD accept a further argument: checked or
not
2002-10-04 15:29:50 +00:00
interp fbc10a2f63 mention and explain high order HTML tags 2002-10-04 15:11:41 +00:00
interp b625901bd1 parameters to input field creators are optional on their own 2002-10-04 14:33:27 +00:00
interp 7b81dbdd98 SERVLET-FORM accepts a method specifier:
SERVLET-FORM return-address [method] [attributes] [elements]
2002-10-04 14:31:28 +00:00
interp a6b499426a + Interface to MAKE-SELECT-INPUT-FIELD has changed
+ Add word space after `i.e.' and `e.g.'
2002-10-04 14:07:46 +00:00
interp 85b0d91475 MAKE-SELECT-INPUT-FIELD can now create select input fields with multiple
selections. INPUT-FIELD-VALUE will always return a (possible empty) list in
the multiple case.
2002-10-04 13:56:46 +00:00
interp eef78201f0 ignore latex help files 2002-10-03 13:35:16 +00:00
interp 67d1587e72 first shot to a docu of servlets 2002-10-03 13:33:41 +00:00
interp 08eee1915b If URL in SHOW-OUTDATED is #f, no reload address is shown. 2002-10-03 13:28:31 +00:00
interp 29abe30461 let MAKE-NUMBER-INPUT-FIELD accept a default value 2002-10-03 12:28:36 +00:00
interp 47424d504f Hit me! 2002-10-03 12:02:47 +00:00
interp 7c3ca073dd let EXTRACT-BINDINGS return strings, not bindings 2002-10-03 11:58:27 +00:00
interp f981b2505a export SEND in servlets 2002-10-03 11:20:05 +00:00
interp ab9c1ef642 example using servlet-data 2002-10-03 01:25:47 +00:00
interp 04ba0986d3 let forms do POST requests by default (currently unchangeable) 2002-10-03 00:45:41 +00:00
interp 091f5ab590 prepare for POST requests 2002-10-03 00:18:10 +00:00
interp 30aca350b9 feature servlet-data added 2002-10-03 00:15:44 +00:00
interp f9f854ef85 add possibility to serve non-Scheme files 2002-10-02 23:47:07 +00:00
interp 4899ff0453 bug removal; add data table to result output 2002-10-02 23:45:35 +00:00
interp 20ff8816a9 + feature: return-addresses; lets servlets give more than one possible
address for the next step
+ plain-html: leaves given text untouched, like quote in scheme
              don't call it quote, because it is too similar to the
	      HTML's tag <q> (that stands for 'quote')
2002-10-02 20:28:39 +00:00
interp 61896c1238 use MAKE-ADDRESS to generate return addresses 2002-10-02 20:15:54 +00:00
interp 9203e245bf Don't use callbacks -- use several submit buttons or special return addresses. 2002-10-02 19:13:14 +00:00
interp d690a7a24e don't use callbacks, but two submit-buttons 2002-10-02 18:22:19 +00:00
interp 74acc71447 add INPUT-FIELD-BINDING 2002-10-02 18:22:01 +00:00
interp d56d7f9fce add proper error handling on wrong inputs 2002-10-02 15:14:53 +00:00
interp a01015cc44 + internal restructuring
+ nicer interface
2002-10-02 13:39:55 +00:00
interp 1f8d1d4762 don't need sort anymore 2002-10-02 13:38:56 +00:00
interp cc681e0a69 MAKE-SELECT-INPUT-FIELDS --> MAKE-SELECT-INPUT-FIELD 2002-10-02 13:37:41 +00:00
interp 03eeb86a5f factor out transformers 2002-10-02 12:02:56 +00:00
interp c85bcfc502 + serlvet administration tool
Note that the picture generation in admin-profiling.scm
  currently fails because of current restrictions in the
  servlet-handler (that cannot serve data files).
  No error capturing on wrong input in input-fields.
2002-10-01 17:44:58 +00:00
interp d3827d8e72 some renames, some more exports in SERVLET-HANDLER/ADMIN 2002-10-01 17:42:06 +00:00
interp e68b320eb0 allow default text for text input fields 2002-10-01 17:40:08 +00:00
interp fa350f02bf + thread-based *options*
+ INSTANCE-DELETE! --> DELETE-INSTANCE!
+ access to continuations (GET-CONTINUATIONS, DELETE-CONTINUATION!)
2002-10-01 17:39:39 +00:00
interp bed81261f4 open output data file truncated 2002-10-01 17:37:47 +00:00
interp 02169de482 really rename PLUGIN --> SERVLET 2002-10-01 12:36:50 +00:00
interp 85e75950a3 rename PLUGIN --> SERVLET 2002-10-01 12:33:39 +00:00
interp 349402b7cc use PATH-LIST->FILE-NAME for file name assembling 2002-10-01 12:22:37 +00:00
interp a09d10850e SERVLET-HANDLER now accepts a second argument, the prefix for redirections 2002-10-01 12:12:03 +00:00
interp 62ed566572 adjust to recent code writing: more export in SERVLET-HANDLER/ADMIN, some import to SERVLET-HANDLER 2002-10-01 12:10:58 +00:00
interp 4fdd1cdbbb OUTDATER added; URL tag accepts more text fields now 2002-10-01 12:10:15 +00:00
interp 1ac0705aae + longer instance lifetime
+ GET-INSTANCES returns all instances as an alist
+ let SEND/SUSPEND terminate correctly if instance has died in the meanwhile
  (may happen while administrating servlets)
2002-10-01 12:08:42 +00:00
interp 3e9486573a adapt to recent change in creating form input fields 2002-09-30 15:58:50 +00:00
interp 516d8221d7 adapt to recent change in creating form input fields 2002-09-30 15:25:59 +00:00
interp 2579598783 + servlet-handler/admin structure gives runtime
access to servlet-handler options
+ several constructors for form input fields
2002-09-30 14:43:15 +00:00
interp db6b607d0f in ftpd: use signature calculus to get access to scsh's OPEN-OUTPUT-FILE instead of relying on the import order 2002-09-30 10:42:34 +00:00
interp fc6f2c5a1a small correction 2002-09-30 07:58:20 +00:00
interp 30e66edc61 + longer standard instance lifetime
+ instance lifetime adjusted when new continuation is launched
+ GET-LOADED-PLUGINS and UNLOAD-PLUGIN
+ small bug fixes
2002-09-30 07:53:00 +00:00
interp d6c4304f45 callbacks get the REQUEST, not the BINDINGS 2002-09-29 16:42:53 +00:00
interp aa7bcc6186 + add option instance-lifetime along with some functions
+ add instance surveillance thread that kills instance after
  a period of time
2002-09-29 15:20:36 +00:00
interp bfbeb49125 add CACHE-PLUGINS? option 2002-09-29 13:43:39 +00:00
interp 06c8b5ea5d add GET-BINDINGS: gets bindings out of REQUEST 2002-09-29 13:43:08 +00:00
interp bdf62cbf05 make options LOGFILE and DNS-LOOKUP? thread-safe 2002-09-28 12:38:57 +00:00
interp 6a090fba6b change load order of scheme and scsh in ftpd to get access to scsh's open-output-file 2002-09-28 12:37:42 +00:00
interp b8a1ec9024 some short hint added 2002-09-27 17:31:35 +00:00
interp aaa5283e0b byte input widget 2002-09-27 17:30:11 +00:00
interp 0b6e68a2c0 added upper-input-field type 2002-09-27 17:29:31 +00:00
interp 37aac43aa9 add calculator example 2002-09-27 15:32:39 +00:00
interp 52566ea00a FORM -> SERVLET-FORM 2002-09-27 15:32:05 +00:00
interp db3c5ef04e + small calculator
+ shows usage of
 ++ callbacks (two submitbuttons)
 ++ creation of own input fields
2002-09-27 15:31:26 +00:00
interp 376a8b1a70 remove superfluous line 2002-09-27 15:25:15 +00:00
interp 99fb8f3e32 + major change in internal representation of forms and its elements
+ SERVLET-FORM now introduces a special form with our input-fields
+ servlet-forms may be nested
2002-09-27 15:24:44 +00:00
interp 9c6db22736 export input-field primitives from servlets 2002-09-27 15:19:42 +00:00
interp 3fcaa99239 register session before loading plugin to be able to create callbacks in plugin 2002-09-27 15:04:36 +00:00
interp e667dedcc2 remove debug output 2002-09-26 12:59:54 +00:00
interp 7dde62cd1a Be more flexible with paths; use $SUNETHOME and $SSAXPATH if set or
reasonable default values if not.
In particular, work around the dependency of config on cwd.
2002-09-26 12:13:01 +00:00
interp 1abbed29f0 renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS 2002-09-25 17:01:00 +00:00
interp c28d6cf153 renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS 2002-09-25 13:02:31 +00:00
interp 9f2754cff5 first shot on servlet's new form interface 2002-09-24 16:56:00 +00:00
interp 8e4a0c2872 remove incongruousnesses of previous accident commit 2002-09-24 09:12:58 +00:00
interp fba9e1a4d3 a simple adding servlet; doing a lot by hand 2002-09-24 09:03:30 +00:00
interp 0b2a59b6ef utilities for servlet plugins on higher level 2002-09-24 09:01:26 +00:00
interp 9328d1fa82 small brace typo 2002-09-24 08:47:33 +00:00
interp 0d9b85d156 extend plugin-utilities structure (send-html/suspend, etc.) 2002-09-24 08:19:41 +00:00
interp 8f67c75101 add possibility to clear instance table remotely (may go away in the
future)
2002-09-24 08:15:21 +00:00
sperber 91b2f35f0d Don't print a space after ":" in RFC 822 headers. 2002-09-22 15:43:29 +00:00
sperber c0281e834a Rename "path handler" -> "request handler". 2002-09-22 15:41:41 +00:00
interp 74e26ddeb5 add conditions to servlet-handler's open clause 2002-09-21 20:20:29 +00:00
interp 1a1d4f86a0 minor change in comments 2002-09-21 20:19:30 +00:00
interp 4d9f45c1bd remove FIXMEs:
* respect presence of threads - use locks for table accesses
  (*instance-table*, continuation-table, *plugin-table*)
  * return 404 Not found if servlet does not exist
  * neglect POST request (will do this later)
  * reload plugin if timestamp has changed
2002-09-21 20:18:49 +00:00
interp be308133d2 opens packages and structures for servlet-server in right order
note: needs (r5rs-) SSAX to be present
2002-09-20 19:25:20 +00:00
interp a66cd239c9 * slim example web-server
* create an example web-server using servlets in httpd/servlets
  (the servlet files from the example web-server moved there)
2002-09-20 19:23:17 +00:00
interp abd747a49b * use Oleg's SSAX (SSAX->HTML et al.)
* add continuation counter in servlet-handler, thus the generated continuation
  urls are a bit more human readable.
2002-09-19 11:16:29 +00:00
interp 78e8cb3777 use lock while creating temp-file 2002-09-18 15:33:42 +00:00
interp 911c56e668 change to srfi-27 for random bits 2002-09-18 15:32:41 +00:00
interp ac880e4491 move reset calls forward 2002-09-18 08:57:28 +00:00
mainzelm e8463d7005 Turn error hierarchie upside down. 2002-09-16 16:16:04 +00:00
interp f6d1babc7b added structures:
* shift-reset
* profiling

changed:
open profiling and shift-reset in servlet-handler
2002-09-14 16:48:59 +00:00
interp 7c5de69604 add triggers for profiling and cache flushing (this may go away in the future) 2002-09-14 16:43:58 +00:00
interp e857b32057 add comment 2002-09-14 16:42:52 +00:00
interp 4ae31efbb2 use shift/reset 2002-09-14 16:42:24 +00:00
interp 04b7adbd89 usage info and comments 2002-09-14 16:36:42 +00:00
interp d38f8225fb small space profiling utilities 2002-09-14 16:35:34 +00:00
interp 793ee8cc2f get shift-reset from scsh and modify it to be thread-local 2002-09-14 16:10:14 +00:00
mainzelm 84a92fb2b5 Removed duplicate sentence in comment. 2002-09-13 09:18:34 +00:00
interp d5b2b448d9 first shot on adding servlets to HTTPD 2002-09-13 07:21:19 +00:00
interp becf14ce30 move global variables in httpd-logging to preserved-thread-fluids 2002-09-05 10:55:30 +00:00
sperber f9060d992a Redo:
revision 1.38
date: 2002/09/02 09:02:27;  author: sperber;  state: Exp;  lines: +1 -5
Remove crud from SMTP-INTERFACE.

which was accidentally backed out by:

revision 1.40
date: 2002/09/02 14:34:31;  author: interp;  state: Exp;  lines: +7 -2
make MY-REPORTED-FQDN fit for lots of virtual hosts
2002-09-05 09:39:46 +00:00
sperber cfc8d84aad Use DNS for FQDN determination in SMTP. 2002-09-05 09:38:37 +00:00
sperber 1cfa3e3595 Shift FQDN determination code from HTTPD-CORE to DNS. 2002-09-05 09:25:42 +00:00
sperber 6486df6080 "ange-ftp" -> "EFS" in comment. 2002-09-05 08:57:51 +00:00
sperber ca4839af8f Remove list of imported structures, which was out-of-date anyway. 2002-09-05 08:57:21 +00:00
sperber ed04d43b65 NeXTstep is dead. 2002-09-05 08:55:58 +00:00
sperber 490a22d724 More file extension mappings. 2002-09-05 08:51:27 +00:00
interp 5746c2b149 send bug report only on non-os-errors 2002-09-04 14:01:34 +00:00
interp 688d576b96 Send bug report to client, if we encounter an internal error
(e.g. testing new handler)
2002-09-04 10:38:14 +00:00
interp 65e8af2952 send error output to stdout (= to client) 2002-09-04 10:29:12 +00:00
interp 794412df5a use HTTP-STATUS/OK constant instead of integer 200 2002-09-03 13:33:43 +00:00
interp 80257c0822 make more pleasent error messages 2002-09-03 12:45:39 +00:00
interp 1694d372c5 report BAD-GATEWAY error instead INTERNAL-ERROR 2002-09-03 11:55:53 +00:00
interp 443e321cc8 rename URI-LIKE? to URI-HAS-PROTOCOL? 2002-09-03 08:45:59 +00:00
interp a33b7405a5 move CLF log to SEND-HTTP-RESPONSE and log correct status code 2002-09-02 14:49:24 +00:00
interp 0ab5c48cfc make MY-REPORTED-FQDN fit for lots of virtual hosts 2002-09-02 14:34:31 +00:00
interp 27f6bb4dbd remove debug output 2002-09-02 14:33:06 +00:00
interp 9baec4fbf0 Handle `Location:' and `Status:' headers of CGI program's output correctly. 2002-09-02 13:43:03 +00:00
interp ff56fa6ec1 Add redirection feature to web-server: If the handler returns with the
return code HTTP-STATUS/REDIRECT, the server creates a new request out of
the redirection response and recalls the handler to serve the request.
You can use MAKE-REDIRECTION-RESPONSE to create this special response.
2002-09-02 13:42:10 +00:00
sperber 4ef633af08 Fix RFC URL reference. 2002-09-02 09:24:38 +00:00
sperber b6ff601949 Remvoec rud from SMTP-INTERFACE. 2002-09-02 09:02:27 +00:00
sperber 0fa5f630e3 Make SEND-MAIL-VIA-SMTP accept a headers argument. 2002-09-02 09:02:14 +00:00
sperber 1b0bce77e6 Reformat multi-line IFs to have the consequent on a separate lines. 2002-09-02 08:47:32 +00:00
sperber 4aa41b038f Use CRLF-IO in a few more instances. 2002-09-02 08:39:10 +00:00
sperber 56cd7c9f2e Remove SMTP-INTERNALS structure. 2002-09-02 08:38:50 +00:00
sperber 060d0f8076 Remove FILTER-MAP from smtp.scm and use the FILTER-MAP from SRFI 1
instead.
2002-09-02 08:36:42 +00:00
sperber e6009cad13 Rename (misnomed) SENDMAIL to SEND-MAIL-VIA-SMTP and make it accept a
FROM argument.
Fix some transaction bugs in its implementation.
Remove %SENDMAIL, now superfluous.
2002-09-02 08:35:09 +00:00
sperber 7a54991212 Trivially convert the macros to procedures.
Fix a bunch of bugs where a transaction would be closed prematurely
and/or repeatedly.
2002-09-02 08:21:44 +00:00
interp 9602104a8c output directly to socket:outport in emit-man-page 2002-08-30 12:04:27 +00:00
interp f94396a54e look if file is executable 2002-08-29 14:53:44 +00:00
interp ecd5afadbe remove debug output
newline to output-port `out'
2002-08-29 14:34:38 +00:00
interp 50fa27f993 adapt to new response philosophy (not tested yet) 2002-08-29 14:05:55 +00:00
interp 7ca34fa270 * adapt rman-gateway to new response philosophy
* add rman-gateway to example server
* add init proc to http-test in start-web-server
2002-08-29 10:51:47 +00:00
interp 5bced0b8f7 remove introduced but nerving signal stuff from handlers 2002-08-29 08:32:39 +00:00
interp 62b3307fb2 * new response body: :HTTP-READER-WRITER-BODY
* hand over SOCKET:INPORT to SEND-HTTP-RESPONSE
* apply this to seval-handler
2002-08-28 16:44:07 +00:00
interp 57c6710012 * map socket inport to handler inport (allows POST requests)
* remove FIXME from seval
* add seval example to example web-server
2002-08-28 15:56:14 +00:00
interp a2aed3280e adapt seval-handler to new response philosophy
FIXME: problems with input port in POST request
2002-08-28 15:41:52 +00:00
interp 7fd23a0ceb let handler exit if error occurs 2002-08-28 15:40:32 +00:00
interp e877336d0a send extra headers from script's output 2002-08-28 10:10:45 +00:00
interp c5c67ec837 add delete-headers to rfc822, that removes a header entry 2002-08-28 10:10:00 +00:00
interp 542fea9f55 adpat cgi-server to new response philosophy
NOTE: There's a FIXME left: nph- scripts won't work at all currently.
2002-08-28 09:54:40 +00:00
interp fd2d2bc79c clean up dns lookup call 2002-08-27 13:48:30 +00:00
sperber 013c7bd5b3 Adjust use of TILDE-HOME-DIR-HANDLER. 2002-08-27 09:45:05 +00:00
sperber 3b6b813965 Move NULL-PATH-HANDLER from HTTPD-FILE-DIRECTORY-HANDLERS-INTERFACE to
HTTPD-BASIC-HANDLERS.
2002-08-27 09:42:02 +00:00
sperber c97bbfc1db Move MAKE-HTTP-ERROR-RESPONSE from HTTPD-CORE to HTTPD-RESPONSES.
Elide REALLY-MAKE-HTTP-ERROR-RESPONSE in the process.
2002-08-27 09:39:05 +00:00
sperber f5b7f76bd6 Fix HOME-DIR-HANDLER and TILDE-HOME-DIR-HANDLER. 2002-08-27 09:32:12 +00:00
sperber 4c98437ce0 Fix typo in SEND-HTTP-RESPONSE. 2002-08-27 09:28:09 +00:00
sperber c668e35e05 HOSTNAME -> HOST-NAME 2002-08-27 09:05:16 +00:00
sperber aeeeea79c1 Add copyright notice. 2002-08-27 09:03:22 +00:00
interp 19a97d0b35 let sunet-version-identifier be a string 2002-08-26 16:36:53 +00:00
interp 755b715a77 * move dotdot-check and copy-inport->outport to sunet-utilities
* open necessary packages in various structures
2002-08-26 16:36:25 +00:00
interp d8c1e7f0ad fixing system-fqdn 2002-08-26 15:33:22 +00:00
sperber 52036a75ad Revive comment section from older version. 2002-08-26 15:15:02 +00:00
sperber e397f2520e R4RS -> R5RS 2002-08-26 15:14:10 +00:00
sperber 079ce2731a Add copyright notice. 2002-08-26 15:12:06 +00:00
interp 6f2c0d7991 eliminating ecm-utilities, code partial moved to sunet-utilities 2002-08-26 14:49:17 +00:00
sperber 5efcb2923e Fix RFC URL. 2002-08-26 14:48:43 +00:00
sperber 2c5791a133 Be more careful about opening SCSH and SRFI-14 in FTPD. 2002-08-26 14:13:23 +00:00
sperber 05f6e48d8a Fix some logging nits. 2002-08-26 14:13:04 +00:00
sperber 7460d8009f Add a MAKE-HTTPD-OPTIONS combinator for a more visually pleasant
layout for HTTPD-OPTIONS constructors.
2002-08-26 13:10:57 +00:00
sperber 3b298aadcc Remove old code from Gäbe Engelhart. 2002-08-26 11:46:27 +00:00
sperber 2f5f46cb5f Replace all instances of STRING-LIB by SRFI-13. 2002-08-26 11:45:08 +00:00
sperber 1a1dcebbd0 Remove HTTP-CONSTANTS / http/constants.scm. 2002-08-26 11:44:02 +00:00
sperber 35f79521d8 Fold -obsolete.scm files into packages.scm. 2002-08-26 11:39:25 +00:00
sperber 541113a4f0 Fold text-generation.scm (which was down to a few lines) into core.scm. 2002-08-26 11:21:53 +00:00
sperber e8b7ef763f Remove Olin's import notes which are bound to be inaccurate by now.
Fix a few RFC URLs.
2002-08-26 11:18:44 +00:00
sperber af95d497af Properly handle HEAD requests.
Properly handle HTTP 0.9 requests.
2002-08-26 11:11:40 +00:00
sperber 038947a515 Open SRFIs instead of CHAR-SET-LIB and STRING-LIB. 2002-08-26 10:54:03 +00:00
sperber 6f7cd467f1 Adopt proper RFC terminology:
"reply" -> "response"
"reply code" -> "status code"
2002-08-26 09:59:14 +00:00
sperber d1438eb4a8 Rework the API of path handlers:
Path handlers must now return a response object similar to the
response objects of the PLT web server, encapsulating headers, mime
type, status code, and so on.

A response object in turn can contain an encoding of a body.  The only
presently supported body type is a procedure which just prints the
body.

Other changes:
- split file-dir-handler.scm out from handlers.scm
- moved the ICON-NAME constructor parameters for file handlers to the
  options
- removed input/output port redirections and work with paths
  explicitly
2002-08-26 09:46:11 +00:00
sperber d6f81777c8 Elide some potentially harmful newlines. 2002-08-26 09:33:36 +00:00
interp 1236b3dccd adapted to new logging facility of httpd 2002-08-26 08:26:08 +00:00
interp a6f10bc87d adapting to new httpd logging facility 2002-08-26 08:15:43 +00:00
interp 60df692033 bug removing (...parenthesised...) 2002-08-24 17:45:37 +00:00
interp 0119532744 changes in my-reported-fqdn:
* respect change in arguments between different calls before handing out
  cached value
* make its use safe in thread context
2002-08-24 17:26:56 +00:00
interp b20f9a49b7 import sunet-utilities to httpd-core (oops) 2002-08-24 17:07:35 +00:00
interp 1ea2e0f8e7 remove bug from my-reported-fqdn 2002-08-24 16:46:34 +00:00
interp 514d61b986 moving proc socket-address->string from ftpd internal to sunet-utilities exports 2002-08-24 16:43:26 +00:00
interp 5f654f5fc3 use char-set:digit instead of deprecated char-set:numeric 2002-08-23 15:44:40 +00:00
interp ed4ad0798f use dns-lookup-ip before using host-info for fqdn 2002-08-23 15:41:06 +00:00
interp a2c39de2b9 adding dns-lookup to ftpd logging 2002-08-22 17:12:08 +00:00
interp 64d4705ab3 * export selector and transformer of resolve-ip? field in httpd-options
* import dns to httpd-logging
* add dns-lookup facility to logging
2002-08-22 16:40:10 +00:00