]> git.plutz.net Git - cgilite/log
cgilite
3 years agouser account functions
Paul Hänsch [Thu, 16 Sep 2021 00:01:40 +0000 (02:01 +0200)]
user account functions

3 years agofunction new_session to force session update, limit session cookies to _BASE path
Paul Hänsch [Wed, 15 Sep 2021 23:57:47 +0000 (01:57 +0200)]
function new_session to force session update, limit session cookies to _BASE path

3 years agoallow suppression of default session cookie
Paul Hänsch [Mon, 13 Sep 2021 10:48:33 +0000 (12:48 +0200)]
allow suppression of default session cookie

3 years agoSTRING encodes empty values as backslash for easyer `read`ing of TAB-DBs, UNSTRING...
Paul Hänsch [Mon, 13 Sep 2021 10:37:12 +0000 (12:37 +0200)]
STRING encodes empty values as backslash for easyer `read`ing of TAB-DBs, UNSTRING produces trailing newline for consistent output of encoded \n, obsoleted `sed` $UNSTRING code

3 years agotypo in cli parsing
Paul Hänsch [Sun, 12 Sep 2021 23:39:42 +0000 (01:39 +0200)]
typo in cli parsing

3 years agoSet _EXEC _DATA and _BASE variables
Paul Hänsch [Fri, 27 Aug 2021 13:23:07 +0000 (15:23 +0200)]
Set _EXEC _DATA and _BASE variables

3 years agomuch faster hex decode function
Paul Hänsch [Tue, 24 Aug 2021 13:35:40 +0000 (15:35 +0200)]
much faster hex decode function

3 years agosimpler lock algorithm using files
Paul Hänsch [Mon, 23 Aug 2021 15:29:30 +0000 (17:29 +0200)]
simpler lock algorithm using files

3 years agoimproved gonzo mac if openssl is unavailable
Paul Hänsch [Mon, 2 Aug 2021 10:23:04 +0000 (12:23 +0200)]
improved gonzo mac if openssl is unavailable

3 years agobugfix: faulty check in update and append
Paul Hänsch [Mon, 26 Jul 2021 22:55:39 +0000 (00:55 +0200)]
bugfix: faulty check in update and append

3 years agobugfix: parameter passing in cgilite_value calls
Paul Hänsch [Mon, 26 Jul 2021 22:55:04 +0000 (00:55 +0200)]
bugfix: parameter passing in cgilite_value calls

3 years agoportability GNU `date` / Busybox `date`
Paul Hänsch [Mon, 26 Jul 2021 13:08:44 +0000 (15:08 +0200)]
portability GNU `date` / Busybox `date`

3 years agoFix: prevent horizontal rule from masking 2nd order heading
Paul Hänsch [Sun, 25 Jul 2021 02:52:35 +0000 (04:52 +0200)]
Fix: prevent horizontal rule from masking 2nd order heading

3 years agoenable pipe/argument choice for more functions
Paul Hänsch [Sat, 24 Jul 2021 20:07:39 +0000 (22:07 +0200)]
enable pipe/argument choice for more functions

3 years agomd: heading identifiers
Paul Hänsch [Thu, 8 Jul 2021 22:36:52 +0000 (00:36 +0200)]
md: heading identifiers

3 years agomd: handle DOS line breaks
Paul Hänsch [Wed, 7 Jul 2021 12:50:32 +0000 (14:50 +0200)]
md: handle DOS line breaks

3 years agomd: task lists
Paul Hänsch [Wed, 7 Jul 2021 12:10:24 +0000 (14:10 +0200)]
md: task lists

3 years agoHTML escaping, switchable HTML processing
Paul Hänsch [Wed, 7 Jul 2021 11:55:31 +0000 (13:55 +0200)]
HTML escaping, switchable HTML processing

3 years agomd: inline HTML
Paul Hänsch [Tue, 6 Jul 2021 23:26:12 +0000 (01:26 +0200)]
md: inline HTML

3 years agobugfix: stop condition in HTML block
Paul Hänsch [Tue, 6 Jul 2021 16:50:39 +0000 (18:50 +0200)]
bugfix: stop condition in HTML block

3 years agomd: verbatim html block, md: allow emphasis before punctuation
Paul Hänsch [Mon, 5 Jul 2021 13:19:59 +0000 (15:19 +0200)]
md: verbatim html block, md: allow emphasis before punctuation

3 years agomd: image embedding, completing support for basic markdown
Paul Hänsch [Fri, 2 Jul 2021 11:15:30 +0000 (13:15 +0200)]
md: image embedding, completing support for basic markdown

3 years agomd: horizontal rules
Paul Hänsch [Thu, 1 Jul 2021 16:12:00 +0000 (18:12 +0200)]
md: horizontal rules

3 years agomd: allow hard line breaks; md extension: ignore embedded underscores
Paul Hänsch [Thu, 1 Jul 2021 14:54:12 +0000 (16:54 +0200)]
md: allow hard line breaks; md extension: ignore embedded underscores

3 years agotodo items
Paul Hänsch [Tue, 29 Jun 2021 17:28:32 +0000 (19:28 +0200)]
todo items

3 years agoinclude markdown processor
Paul Hänsch [Tue, 29 Jun 2021 16:58:24 +0000 (18:58 +0200)]
include markdown processor

3 years agotry automatic switching to busybox for uuencode and sha256sum
Paul Hänsch [Sat, 15 May 2021 10:56:33 +0000 (12:56 +0200)]
try automatic switching to busybox for uuencode and sha256sum

3 years agobugfix: fix error when reading literal "+" char from storage
Paul Hänsch [Wed, 14 Apr 2021 15:48:06 +0000 (17:48 +0200)]
bugfix: fix error when reading literal "+" char from storage

3 years agobasic print styles
Paul Hänsch [Sat, 20 Mar 2021 12:25:36 +0000 (13:25 +0100)]
basic print styles

3 years agoset foreground color where background color is set
Paul Hänsch [Sat, 6 Mar 2021 23:02:51 +0000 (00:02 +0100)]
set foreground color where background color is set

3 years agoremove obsolte escape functions
Paul Hänsch [Sat, 13 Feb 2021 21:27:50 +0000 (22:27 +0100)]
remove obsolte escape functions

3 years agointroduce functions for cookie based cryptographically signed session variables
Paul Hänsch [Sat, 13 Feb 2021 21:06:49 +0000 (22:06 +0100)]
introduce functions for cookie based cryptographically signed session variables

3 years agointroduce simple DBM module
Paul Hänsch [Sat, 13 Feb 2021 21:04:59 +0000 (22:04 +0100)]
introduce simple DBM module

3 years agouse debug function for error output
Paul Hänsch [Sat, 13 Feb 2021 21:03:38 +0000 (22:03 +0100)]
use debug function for error output

3 years agochange border of input elements
Paul Hänsch [Wed, 10 Feb 2021 12:56:30 +0000 (13:56 +0100)]
change border of input elements

3 years agoexperimental: basic set of css rules
Paul Hänsch [Tue, 9 Feb 2021 20:45:55 +0000 (21:45 +0100)]
experimental: basic set of css rules

3 years agosimplified mac function and cookie format
Paul Hänsch [Tue, 9 Feb 2021 20:44:39 +0000 (21:44 +0100)]
simplified mac function and cookie format

3 years agoprefer hmac for session security
Paul Hänsch [Sat, 6 Feb 2021 11:20:43 +0000 (12:20 +0100)]
prefer hmac for session security

4 years agoinclude guard for main script, prevent double read of post data
Paul Hänsch [Wed, 18 Nov 2020 22:35:54 +0000 (23:35 +0100)]
include guard for main script, prevent double read of post data

4 years agomime types for streaming formats
Paul Hänsch [Thu, 12 Nov 2020 11:13:17 +0000 (12:13 +0100)]
mime types for streaming formats

4 years agoprevent line breaks in debug message
Paul Hänsch [Wed, 4 Nov 2020 12:36:33 +0000 (13:36 +0100)]
prevent line breaks in debug message

4 years agotry reading session key from post before trying cookie
Paul Hänsch [Wed, 4 Nov 2020 12:06:36 +0000 (13:06 +0100)]
try reading session key from post before trying cookie

4 years agoescape CR and TAB in URLs
Paul Hänsch [Wed, 30 Sep 2020 08:32:35 +0000 (10:32 +0200)]
escape CR and TAB in URLs

4 years agoavoid confusion regarding carriage return when escaping HTML (especially in textarea)
Paul Hänsch [Mon, 7 Sep 2020 01:51:22 +0000 (03:51 +0200)]
avoid confusion regarding carriage return when escaping HTML (especially in textarea)

4 years agorudimentary debug function
Paul Hänsch [Wed, 24 Jun 2020 10:02:33 +0000 (12:02 +0200)]
rudimentary debug function

4 years agomore escapes for use in html-sh and HTTP headers
Paul Hänsch [Tue, 9 Jun 2020 18:11:26 +0000 (20:11 +0200)]
more escapes for use in html-sh and HTTP headers

4 years agolimit escaping to necessary characters, more readable output, much faster escaping...
Paul Hänsch [Mon, 8 Jun 2020 13:36:40 +0000 (15:36 +0200)]
limit escaping to necessary characters, more readable output, much faster escaping functions

4 years agobugfix: allow empty query string
Paul Hänsch [Wed, 3 Jun 2020 09:14:32 +0000 (11:14 +0200)]
bugfix: allow empty query string

4 years agoimproved handling of Connection header
Paul Hänsch [Tue, 2 Jun 2020 22:55:25 +0000 (00:55 +0200)]
improved handling of Connection header

4 years agoquicker path sanitizing
Paul Hänsch [Tue, 2 Jun 2020 18:00:04 +0000 (20:00 +0200)]
quicker path sanitizing

4 years agosanitizing and security
Paul Hänsch [Tue, 2 Jun 2020 02:49:55 +0000 (04:49 +0200)]
sanitizing and security

4 years agoupdated copyright line
Paul Hänsch [Wed, 27 May 2020 02:30:15 +0000 (04:30 +0200)]
updated copyright line

4 years agospeed improvements
Paul Hänsch [Wed, 27 May 2020 02:10:20 +0000 (04:10 +0200)]
speed improvements

4 years agoallow empty script headers
Paul Hänsch [Tue, 26 May 2020 23:12:29 +0000 (01:12 +0200)]
allow empty script headers

4 years agobugfix, STRING and UNSTRING input like "foo[bar]"
Paul Hänsch [Wed, 29 Jan 2020 18:03:50 +0000 (19:03 +0100)]
bugfix, STRING and UNSTRING input like "foo[bar]"

4 years agofaster STRING and UNSTRING functions
Paul Hänsch [Wed, 29 Jan 2020 17:22:44 +0000 (18:22 +0100)]
faster STRING and UNSTRING functions

4 years agodot termination done right (fix bug from last commit)
Paul Hänsch [Tue, 10 Dec 2019 00:12:50 +0000 (01:12 +0100)]
dot termination done right (fix bug from last commit)

4 years agointroduce . as stop sign to prevent parsing text as attributes
Paul Hänsch [Mon, 9 Dec 2019 23:41:48 +0000 (00:41 +0100)]
introduce . as stop sign to prevent parsing text as attributes

4 years agoallow configuration of session timeout, make timestamp variable reusable
Paul Hänsch [Sat, 30 Nov 2019 12:30:49 +0000 (13:30 +0100)]
allow configuration of session timeout, make timestamp variable reusable

5 years agokill program on connection loss
Paul Hänsch [Thu, 21 Nov 2019 00:50:57 +0000 (01:50 +0100)]
kill program on connection loss

5 years agoBugfix (security): fail session id check on undetermined condition
Paul Hänsch [Thu, 30 May 2019 11:50:13 +0000 (13:50 +0200)]
Bugfix (security): fail session id check on undetermined condition

5 years agofunction for providing file transaction IDs
Paul Hänsch [Thu, 9 May 2019 14:03:22 +0000 (16:03 +0200)]
function for providing file transaction IDs

5 years agoportable sed invocations
Paul Hänsch [Thu, 9 May 2019 13:35:36 +0000 (15:35 +0200)]
portable sed invocations

5 years agoportable sed invocations
Paul Hänsch [Thu, 4 Apr 2019 12:19:49 +0000 (14:19 +0200)]
portable sed invocations

5 years agoMerge branch 'master' of plutz.net:cgilite
Paul Hänsch [Thu, 4 Apr 2019 12:09:45 +0000 (14:09 +0200)]
Merge branch 'master' of plutz.net:cgilite

5 years agokey listing functions: GET_KEYS() POST_KEYS() REF_KEYS()
Paul Hänsch [Thu, 4 Apr 2019 12:07:46 +0000 (14:07 +0200)]
key listing functions: GET_KEYS() POST_KEYS() REF_KEYS()

5 years agodo not close non-closing html tags
Paul Hänsch [Thu, 4 Apr 2019 12:06:51 +0000 (14:06 +0200)]
do not close non-closing html tags

5 years agoescaping features
Paul Hänsch [Tue, 26 Feb 2019 21:48:31 +0000 (22:48 +0100)]
escaping features

6 years agoid checker for correct slopecode
Paul Hänsch [Tue, 20 Nov 2018 13:28:26 +0000 (14:28 +0100)]
id checker for correct slopecode

6 years agovarious refinements in new modules
Paul Hänsch [Sun, 18 Nov 2018 20:59:01 +0000 (21:59 +0100)]
various refinements in new modules

6 years agomake session cookies http only
Paul Hänsch [Sun, 18 Nov 2018 19:47:10 +0000 (20:47 +0100)]
make session cookies http only

6 years agofunctions for logging and session handling
Paul Hänsch [Sun, 18 Nov 2018 19:30:00 +0000 (20:30 +0100)]
functions for logging and session handling

6 years agoMerge branch 'master' of git.plutz.net:cgilite
Paul Hänsch [Mon, 12 Nov 2018 01:38:30 +0000 (02:38 +0100)]
Merge branch 'master' of git.plutz.net:cgilite

6 years agobugfix: allow GET/POST values starting with - (dash)
Paul Hänsch [Mon, 12 Nov 2018 01:38:08 +0000 (02:38 +0100)]
bugfix: allow GET/POST values starting with - (dash)

6 years agobugfix: header assembly with $BR variable set correctly
Paul Hänsch [Sat, 11 Aug 2018 12:35:30 +0000 (14:35 +0200)]
bugfix: header assembly with $BR variable set correctly

6 years agoindependence from GNU `sed`, set CR and BR without forking subshell
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

6 years agoallow override of file type
Paul Hänsch [Sun, 22 Jul 2018 13:26:41 +0000 (15:26 +0200)]
allow override of file type

6 years agobugfix: pipeline use for STRING()
Paul Hänsch [Wed, 18 Jul 2018 14:28:40 +0000 (16:28 +0200)]
bugfix: pipeline use for STRING()

6 years agohuge speed gain for GET() and POST()
Paul Hänsch [Wed, 18 Jul 2018 02:31:33 +0000 (04:31 +0200)]
huge speed gain for GET() and POST()

6 years agodual use string functions (argument and pipe), make scripts of sed based functions...
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

6 years agoslight simplicity/speed regain in URL()
Paul Hänsch [Tue, 17 Jul 2018 01:31:37 +0000 (03:31 +0200)]
slight simplicity/speed regain in URL()

6 years agokeep / in URL coded path
Paul Hänsch [Tue, 17 Jul 2018 01:24:10 +0000 (03:24 +0200)]
keep / in URL coded path

6 years agostrip multi slash sequences in PATH function
Paul Hänsch [Tue, 17 Jul 2018 01:16:06 +0000 (03:16 +0200)]
strip multi slash sequences in PATH function

6 years agomake "checked" and "selected" keywords interchangeable
Paul Hänsch [Tue, 17 Jul 2018 00:06:10 +0000 (02:06 +0200)]
make "checked" and "selected" keywords interchangeable

6 years agohandlineg of <select multiple>
Paul Hänsch [Mon, 16 Jul 2018 23:24:49 +0000 (01:24 +0200)]
handlineg of <select multiple>

6 years agobigfix: handling of [foo].bar
Paul Hänsch [Mon, 16 Jul 2018 23:22:51 +0000 (01:22 +0200)]
bigfix: handling of [foo].bar

6 years agosupport for "selected" keyword, improved handling of "checked"
Paul Hänsch [Mon, 16 Jul 2018 22:59:51 +0000 (00:59 +0200)]
support for "selected" keyword, improved handling of "checked"

6 years agominor optimisation
Paul Hänsch [Mon, 16 Jul 2018 10:21:13 +0000 (12:21 +0200)]
minor optimisation

6 years agolocalize fucntion variables
Paul Hänsch [Mon, 16 Jul 2018 08:46:38 +0000 (10:46 +0200)]
localize fucntion variables

6 years agofix: PATH function removed all directory parts shorter than two characters (pattern...
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 . ;-)

6 years agoescape spaces in stored data for easyer use with `read`
Paul Hänsch [Sun, 15 Jul 2018 19:06:28 +0000 (21:06 +0200)]
escape spaces in stored data for easyer use with `read`

6 years agosuppress error message from mkdir
Paul Hänsch [Sun, 15 Jul 2018 15:28:50 +0000 (17:28 +0200)]
suppress error message from mkdir

6 years agobugfix: allow positive return of LOCK()
Paul Hänsch [Sun, 15 Jul 2018 15:25:35 +0000 (17:25 +0200)]
bugfix: allow positive return of LOCK()

6 years agoinclude guards for function libraries
Paul Hänsch [Sun, 15 Jul 2018 14:04:23 +0000 (16:04 +0200)]
include guards for function libraries

6 years agolocking functions
Paul Hänsch [Sun, 15 Jul 2018 12:07:22 +0000 (14:07 +0200)]
locking functions

6 years agounfinished storage engine
Paul Hänsch [Sat, 14 Jul 2018 20:14:39 +0000 (22:14 +0200)]
unfinished storage engine

6 years agotypo
Paul Hänsch [Thu, 5 Jul 2018 15:53:26 +0000 (17:53 +0200)]
typo

6 years agopath cononicalization function (works on non-exist pathes unlike realpath)
Paul Hänsch [Thu, 5 Jul 2018 12:40:11 +0000 (14:40 +0200)]
path cononicalization function (works on non-exist pathes unlike realpath)

6 years agoremove obsolete sed processing of response headers
Paul Hänsch [Wed, 4 Jul 2018 22:20:25 +0000 (00:20 +0200)]
remove obsolete sed processing of response headers

6 years agoyet slightly shorter version + removed debugging
Paul Hänsch [Wed, 4 Jul 2018 22:09:26 +0000 (00:09 +0200)]
yet slightly shorter version + removed debugging