]>
git.plutz.net Git - cgilite/log
Paul Hänsch [Wed, 29 Jan 2020 18:03:50 +0000 (19:03 +0100)]
bugfix, STRING and UNSTRING input like "foo[bar]"
Paul Hänsch [Wed, 29 Jan 2020 17:22:44 +0000 (18:22 +0100)]
faster STRING and UNSTRING functions
Paul Hänsch [Tue, 10 Dec 2019 00:12:50 +0000 (01:12 +0100)]
dot termination done right (fix bug from last commit)
Paul Hänsch [Mon, 9 Dec 2019 23:41:48 +0000 (00:41 +0100)]
introduce . as stop sign to prevent parsing text as attributes
Paul Hänsch [Sat, 30 Nov 2019 12:30:49 +0000 (13:30 +0100)]
allow configuration of session timeout, make timestamp variable reusable
Paul Hänsch [Thu, 21 Nov 2019 00:50:57 +0000 (01:50 +0100)]
kill program on connection loss
Paul Hänsch [Thu, 30 May 2019 11:50:13 +0000 (13:50 +0200)]
Bugfix (security): fail session id check on undetermined condition
Paul Hänsch [Thu, 9 May 2019 14:03:22 +0000 (16:03 +0200)]
function for providing file transaction IDs
Paul Hänsch [Thu, 9 May 2019 13:35:36 +0000 (15:35 +0200)]
portable sed invocations
Paul Hänsch [Thu, 4 Apr 2019 12:19:49 +0000 (14:19 +0200)]
portable sed invocations
Paul Hänsch [Thu, 4 Apr 2019 12:09:45 +0000 (14:09 +0200)]
Merge branch 'master' of plutz.net:cgilite
Paul Hänsch [Thu, 4 Apr 2019 12:07:46 +0000 (14:07 +0200)]
key listing functions: GET_KEYS() POST_KEYS() REF_KEYS()
Paul Hänsch [Thu, 4 Apr 2019 12:06:51 +0000 (14:06 +0200)]
do not close non-closing html tags
Paul Hänsch [Tue, 26 Feb 2019 21:48:31 +0000 (22:48 +0100)]
escaping features
Paul Hänsch [Tue, 20 Nov 2018 13:28:26 +0000 (14:28 +0100)]
id checker for correct slopecode
Paul Hänsch [Sun, 18 Nov 2018 20:59:01 +0000 (21:59 +0100)]
various refinements in new modules
Paul Hänsch [Sun, 18 Nov 2018 19:47:10 +0000 (20:47 +0100)]
make session cookies http only
Paul Hänsch [Sun, 18 Nov 2018 19:30:00 +0000 (20:30 +0100)]
functions for logging and session handling
Paul Hänsch [Mon, 12 Nov 2018 01:38:30 +0000 (02:38 +0100)]
Merge branch 'master' of git.plutz.net:cgilite
Paul Hänsch [Mon, 12 Nov 2018 01:38:08 +0000 (02:38 +0100)]
bugfix: allow GET/POST values starting with - (dash)
Paul Hänsch [Sat, 11 Aug 2018 12:35:30 +0000 (14:35 +0200)]
bugfix: header assembly with $BR variable set correctly
Paul Hänsch [Thu, 2 Aug 2018 11:51:17 +0000 (13:51 +0200)]
independence from GNU `sed`, set CR and BR without forking subshell
Paul Hänsch [Sun, 22 Jul 2018 13:26:41 +0000 (15:26 +0200)]
allow override of file type
Paul Hänsch [Wed, 18 Jul 2018 14:28:40 +0000 (16:28 +0200)]
bugfix: pipeline use for STRING()
Paul Hänsch [Wed, 18 Jul 2018 02:31:33 +0000 (04:31 +0200)]
huge speed gain for GET() and POST()
Paul Hänsch [Tue, 17 Jul 2018 20:04:02 +0000 (22:04 +0200)]
dual use string functions (argument and pipe), make scripts of sed based functions available in variable
Paul Hänsch [Tue, 17 Jul 2018 01:31:37 +0000 (03:31 +0200)]
slight simplicity/speed regain in URL()
Paul Hänsch [Tue, 17 Jul 2018 01:24:10 +0000 (03:24 +0200)]
keep / in URL coded path
Paul Hänsch [Tue, 17 Jul 2018 01:16:06 +0000 (03:16 +0200)]
strip multi slash sequences in PATH function
Paul Hänsch [Tue, 17 Jul 2018 00:06:10 +0000 (02:06 +0200)]
make "checked" and "selected" keywords interchangeable
Paul Hänsch [Mon, 16 Jul 2018 23:24:49 +0000 (01:24 +0200)]
handlineg of <select multiple>
Paul Hänsch [Mon, 16 Jul 2018 23:22:51 +0000 (01:22 +0200)]
bigfix: handling of [foo].bar
Paul Hänsch [Mon, 16 Jul 2018 22:59:51 +0000 (00:59 +0200)]
support for "selected" keyword, improved handling of "checked"
Paul Hänsch [Mon, 16 Jul 2018 10:21:13 +0000 (12:21 +0200)]
minor optimisation
Paul Hänsch [Mon, 16 Jul 2018 08:46:38 +0000 (10:46 +0200)]
localize fucntion variables
Paul Hänsch [Sun, 15 Jul 2018 19:54:36 +0000 (21:54 +0200)]
fix: PATH function removed all directory parts shorter than two characters (pattern .. and . ;-)
Paul Hänsch [Sun, 15 Jul 2018 19:06:28 +0000 (21:06 +0200)]
escape spaces in stored data for easyer use with `read`
Paul Hänsch [Sun, 15 Jul 2018 15:28:50 +0000 (17:28 +0200)]
suppress error message from mkdir
Paul Hänsch [Sun, 15 Jul 2018 15:25:35 +0000 (17:25 +0200)]
bugfix: allow positive return of LOCK()
Paul Hänsch [Sun, 15 Jul 2018 14:04:23 +0000 (16:04 +0200)]
include guards for function libraries
Paul Hänsch [Sun, 15 Jul 2018 12:07:22 +0000 (14:07 +0200)]
locking functions
Paul Hänsch [Sat, 14 Jul 2018 20:14:39 +0000 (22:14 +0200)]
unfinished storage engine
Paul Hänsch [Thu, 5 Jul 2018 15:53:26 +0000 (17:53 +0200)]
typo
Paul Hänsch [Thu, 5 Jul 2018 12:40:11 +0000 (14:40 +0200)]
path cononicalization function (works on non-exist pathes unlike realpath)
Paul Hänsch [Wed, 4 Jul 2018 22:20:25 +0000 (00:20 +0200)]
remove obsolete sed processing of response headers
Paul Hänsch [Wed, 4 Jul 2018 22:09:26 +0000 (00:09 +0200)]
yet slightly shorter version + removed debugging
Paul Hänsch [Wed, 4 Jul 2018 22:05:58 +0000 (00:05 +0200)]
shorter version of webserver response builder
Paul Hänsch [Wed, 4 Jul 2018 21:39:41 +0000 (23:39 +0200)]
Handle arbitrary status response codes in builtin web server
Paul Hänsch [Wed, 4 Jul 2018 09:48:56 +0000 (11:48 +0200)]
correct tomestamp format for cookie expiration, empty response for redirect
Paul Hänsch [Mon, 2 Jul 2018 15:26:31 +0000 (17:26 +0200)]
State Content-Length in error responses to allow connection reuse
Paul Hänsch [Mon, 2 Jul 2018 13:15:26 +0000 (15:15 +0200)]
enable connection reuse in builtin web server
Paul Hänsch [Mon, 2 Jul 2018 11:37:46 +0000 (13:37 +0200)]
auto recognize inetd mode, enabling use with busybox nc -ll
Paul Hänsch [Mon, 2 Jul 2018 01:04:55 +0000 (03:04 +0200)]
fix builtin header parsing
Paul Hänsch [Sun, 1 Jul 2018 21:55:14 +0000 (23:55 +0200)]
typos
Paul Hänsch [Sun, 1 Jul 2018 21:46:16 +0000 (23:46 +0200)]
static file serving supporting byte-ranges and If-Modified-Since header
Paul Hänsch [Sat, 30 Jun 2018 17:51:19 +0000 (19:51 +0200)]
unified function for %hex unescaping
Paul Hänsch [Thu, 28 Jun 2018 10:23:56 +0000 (12:23 +0200)]
Remove debug lines
Paul Hänsch [Thu, 28 Jun 2018 10:22:09 +0000 (12:22 +0200)]
Unify header function for use with external web servers
Paul Hänsch [Thu, 21 Jun 2018 14:00:29 +0000 (16:00 +0200)]
forking cgilite into separate project
paul [Thu, 21 Jun 2018 11:37:36 +0000 (11:37 +0000)]
function for reading http headers
svn path=/trunk/; revision=70
paul [Sun, 3 Jun 2018 13:09:09 +0000 (13:09 +0000)]
stub support for multiline comments (e.g. css/js embedding)
svn path=/trunk/; revision=69
paul [Sun, 3 Jun 2018 13:08:34 +0000 (13:08 +0000)]
Fix for content-length and cookie variables
svn path=/trunk/; revision=68
paul [Sat, 26 May 2018 15:23:34 +0000 (15:23 +0000)]
basic inetd support
svn path=/trunk/; revision=67
paul [Sat, 12 May 2018 23:39:10 +0000 (23:39 +0000)]
shorthand html
svn path=/trunk/; revision=66
paul [Thu, 5 Apr 2018 12:18:58 +0000 (12:18 +0000)]
prevent browsers from caching pages (which are usually generated)
svn path=/trunk/; revision=65
paul [Thu, 22 Mar 2018 15:41:39 +0000 (15:41 +0000)]
documentation fo STORE function
svn path=/trunk/; revision=64
paul [Thu, 22 Mar 2018 15:22:54 +0000 (15:22 +0000)]
file handling functions
svn path=/trunk/; revision=63
paul [Mon, 12 Mar 2018 12:17:44 +0000 (12:17 +0000)]
send http status code when redirecting
svn path=/trunk/; revision=62
paul [Wed, 21 Feb 2018 15:32:43 +0000 (15:32 +0000)]
make forms available by default
svn path=/trunk/; revision=61
paul [Wed, 21 Feb 2018 15:28:44 +0000 (15:28 +0000)]
helper for writing html forms
svn path=/trunk/; revision=60
paul [Sat, 9 Dec 2017 20:20:16 +0000 (20:20 +0000)]
when redirecting send status code as specified in CGI
svn path=/trunk/; revision=59
paul [Thu, 9 Nov 2017 03:35:08 +0000 (03:35 +0000)]
transform hex to oct for posix compatibility in printf
svn path=/trunk/; revision=58
paul [Wed, 8 Nov 2017 15:55:43 +0000 (15:55 +0000)]
bugfix: do not expect query strings to start with "?"
svn path=/trunk/; revision=57
paul [Wed, 8 Nov 2017 15:24:05 +0000 (15:24 +0000)]
force http status code with redirect
svn path=/trunk/; revision=56
paul [Tue, 16 May 2017 09:44:38 +0000 (09:44 +0000)]
posix collection of cgi functions, additional functions
svn path=/trunk/; revision=55
paul [Mon, 15 May 2017 05:42:01 +0000 (05:42 +0000)]
posix collection of chi functions, initial commit
svn path=/trunk/; revision=54
paul [Sun, 19 Mar 2017 19:08:06 +0000 (19:08 +0000)]
cgi conformant 404s
svn path=/trunk/; revision=53
paul [Tue, 17 Jan 2017 13:02:25 +0000 (13:02 +0000)]
honour treeroot variable in file serving
svn path=/trunk/; revision=52
paul [Tue, 17 Jan 2017 12:43:38 +0000 (12:43 +0000)]
perform read test on file, not just permission check
svn path=/trunk/; revision=51
paul [Sat, 14 Jan 2017 07:05:32 +0000 (07:05 +0000)]
quicker (and simpler) validation functions
svn path=/trunk/; revision=50
paul [Mon, 28 Nov 2016 22:20:52 +0000 (22:20 +0000)]
better support for atomic chunk output
svn path=/trunk/; revision=49
paul [Mon, 28 Nov 2016 18:53:33 +0000 (18:53 +0000)]
support serving of symlinked files
svn path=/trunk/; revision=48
paul [Mon, 28 Nov 2016 14:40:06 +0000 (14:40 +0000)]
expand PATH before double dot check
svn path=/trunk/; revision=47
paul [Mon, 28 Nov 2016 14:39:18 +0000 (14:39 +0000)]
allow ./-_ in urlsafe function
svn path=/trunk/; revision=46
paul [Sat, 26 Nov 2016 16:16:49 +0000 (16:16 +0000)]
rudimantary support for byte ranges
svn path=/trunk/; revision=45
paul [Sat, 26 Nov 2016 16:16:15 +0000 (16:16 +0000)]
always include debug functions, conditional handler selection
svn path=/trunk/; revision=44
paul [Thu, 24 Nov 2016 14:36:46 +0000 (14:36 +0000)]
fill REQUEST_URI variable
svn path=/trunk/; revision=43
paul [Thu, 24 Nov 2016 14:35:59 +0000 (14:35 +0000)]
16bit linefeeds as specified in RFC
svn path=/trunk/; revision=42
paul [Wed, 9 Nov 2016 15:34:27 +0000 (15:34 +0000)]
use proper cgi for response headers, switch cache machanism to timestamps
svn path=/trunk/; revision=41
paul [Tue, 8 Nov 2016 17:28:44 +0000 (17:28 +0000)]
account for Different CGI variable naming in apache
svn path=/trunk/; revision=40
paul [Tue, 8 Nov 2016 13:47:08 +0000 (13:47 +0000)]
conform to standard by sending cache information with 304 response
svn path=/trunk/; revision=39
paul [Tue, 11 Oct 2016 15:19:53 +0000 (15:19 +0000)]
Bugfix: keep last post element without appending empty element
svn path=/trunk/; revision=38
paul [Mon, 10 Oct 2016 12:48:41 +0000 (12:48 +0000)]
Bugfix: last post element was omitted due to recent changes
svn path=/trunk/; revision=37
paul [Mon, 10 Oct 2016 12:04:45 +0000 (12:04 +0000)]
in server mode: serve static files from data dir
svn path=/trunk/; revision=36
paul [Thu, 6 Oct 2016 21:29:30 +0000 (21:29 +0000)]
externalize stabndalone server mode into file
svn path=/trunk/; revision=35
paul [Thu, 6 Oct 2016 21:28:16 +0000 (21:28 +0000)]
use CRLF line breaks
svn path=/trunk/; revision=34
paul [Thu, 6 Oct 2016 21:24:06 +0000 (21:24 +0000)]
limit stdin consumption to content length
svn path=/trunk/; revision=33
paul [Sun, 2 Oct 2016 00:34:38 +0000 (00:34 +0000)]
introdue standalone capabilities
svn path=/trunk/; revision=32
paul [Sat, 18 Jun 2016 16:31:44 +0000 (16:31 +0000)]
add line break variable
svn path=/trunk/; revision=31
paul [Wed, 11 May 2016 12:42:45 +0000 (12:42 +0000)]
allow pages to insert http headers
svn path=/trunk/; revision=30