]> git.plutz.net Git - serve0/log
serve0
7 months agoSquashed 'cgilite/' changes from 970afda..9e5394e
Paul Hänsch [Wed, 11 Oct 2023 21:06:04 +0000 (23:06 +0200)]
Squashed 'cgilite/' changes from 970afda..9e5394e

9e5394e typo
a004238 do not require class=search for input of type=search
fb015c8 allow link/image src pattern with whitespace, avoid confusion with comment
1e12e80 force ALT-text for images
41642aa link and image syntax allowing whitespace URLs, repace use of non-posix gensub()
31cfd89 change order of precedence (HTML binds more than link brackets)
880ed14 css: avoid search button overflow, always center h1
211f2ee export _DATE variable
b846014 bugfix: recognize center and left aligned pipe tables
8928c6e independent macro extension
4c361b1 allow bullet symbol as list marker (for copy/paste from office documents)
4ee910d bugfix: do not accidentally start list blocks at second order
8e5ffff bugfix: do not consume multiple paragraphs in list start
3055b17 LICENSE CHANGE: CGIlite is now under ISC License!
d4da2a5 bugfix: endless loop in _startlist because of lacking indention removal
fc3451c discriminate between different list markers
8822843 unified list code
8e79399 allow block lists (again)
cc08744 reduce use of non-posix gensub
3d2d975 simpler block nesting, fix: h2 after paragraph
ca22f37 fix: block nesting in lists
1f4a5e2 fix: task list unsure
fc47d5d improved lists
0d64190 style for definition lists, adjusted list padding
0c5f738 style for line-block
887a68a tidy up variable declarations, remove additional line break after headline
ae55f6f introducing definition lists!
1cf0dab markdown: avoid adding newlines to blockquote, css: style for blockquote
854547d headline atttributes
b4a3f6a heading text in id
33570b0 block level prefix to avoid repeating headline IDs
516bc32 nesting of <section> in block elements
925f042 unified headline function
9b2f590 bugfix do not escape # character in link references
d45722a Omit link IDs in nested headings, to prevent ambiguous IDs
e6442fb EXPERIMENTAL: <section> wrapping for Headlines
d0b1c70 bugfix: HEX_DECODE for prefixes looking like shell patterns
8ce6dce bugfix: do not accidentally strip white spaces from code spans
c4ba9cc Include backtick (`) in URL escape handling
d61539c bugfix: prevent endless loop in HEX_DECODE, copy non-hex-digits unchanged
8fd595c translatable user dialogs
30435ff list padding, to prevent bullets floating into elements to the left
628929d Security: put backslash-escaped characters through HTML escaping
2ea88f7 Compatibility: Grid Tables section now compatible with posix/busybox awk
0f8f663 performance: avoid process forking
d45e2c8 wiki style links: portability regex fix
fa6be3f Allow headerless grid tables
f9f5356 allow empty alt text in images
019a9ea Extension: Arrows
01dadd7 enable block element Macros
697a1bb extesion: introduce <figure>-wrapped images as block elements
a8a5ea5 bugfix: enable image links
ffe17ca W3C Validator compliance: introduce separate function for escaping URL references, omit superfluous trailing slashes (e.g. in <br />)

git-subtree-dir: cgilite
git-subtree-split: 9e5394e58e45e0601cd41976bd5e5c865cfba008

17 months agoSquashed 'cgilite/' changes from 6bdb2db..970afda
Paul Hänsch [Sun, 13 Nov 2022 21:26:12 +0000 (22:26 +0100)]
Squashed 'cgilite/' changes from 6bdb2db..970afda

970afda inline image attributes, wiki style links
9a07596 bugfix/typo: correct transformation of header fields into web server variable names
5038774 escape CR and BR in HTML output (as previously specified)
e02243e table style
74f16aa bugfix: allow trailing white space in indented code
175ea96 bugfix anchor links starting with # character
dfadf30 bugfix: prevent white space lines from becoming code blocks
e619859 anchor links for headlines, bugfix: continue block processing right after tables
aa80431 Implemented pandoc grid tables
9bb2256 Implemented Pipe Tables
d1bb79c bugfix in recognition of fenced code block attributes
d09c1c1 ordered list of mime types, additional pdf and text types
cc4a446 styling classes for task list, additional task list status

git-subtree-dir: cgilite
git-subtree-split: 970afdafe1d1125607c10d3e410abae8d2244392

23 months agoSquashed 'cgilite/' changes from 1d27862..6bdb2db
Paul Hänsch [Sun, 22 May 2022 18:13:13 +0000 (20:13 +0200)]
Squashed 'cgilite/' changes from 1d27862..6bdb2db

6bdb2db style for search button
7680549 variable expiration times, clickable invitation links
38314fd detect https/http schema for invite links
98d46bf export user variables
b3075fd allow email quicklinks, bugfix pattern extractor in all inline links
d4b1cb4 variable $UID is reserved in bash and cannot be used
49a67fe metadata blocks
b406efc avoid odd margins in list items
2092bc6 user passphrase update, improved username form
2f3c712 allow invitation without email, allow setting user page url
e5e180a "cgilite_headers" among export variables
6cc62de reset header variables when processing multiple requests
b2b268b corrected paragraph splitting and hr/h2 distinction
33cd660 faster hexdecode for mixed data (e.g. post-data)
6fe824f API CHANGE: do not set session cookie automatically
a8f5776 enable pandoc fenced divs, and fenced code attributes
fabbc00 make hr tag visible again
47295e6 bugfix: prevent HTML injection in reference style link titles
882f37d markdown support for external macro plugin

git-subtree-dir: cgilite
git-subtree-split: 6bdb2dbf2cc57ab1938def5b678cbfe669f2d3b2

2 years agoSquashed 'cgilite/' changes from 6147b0e..1d27862
Paul Hänsch [Tue, 16 Nov 2021 12:08:19 +0000 (13:08 +0100)]
Squashed 'cgilite/' changes from 6147b0e..1d27862

1d27862 bugfix URL escaping for ? and %

git-subtree-dir: cgilite
git-subtree-split: 1d27862fc4c0ced76afb8bdfa04a9ab0f50208ef

2 years agoSquashed 'cgilite/' changes from b191eb8..6147b0e
Paul Hänsch [Tue, 16 Nov 2021 03:29:40 +0000 (04:29 +0100)]
Squashed 'cgilite/' changes from b191eb8..6147b0e

6147b0e faster HTML and URL functions

git-subtree-dir: cgilite
git-subtree-split: 6147b0e50cd364e198e1a95061da781763a2b215

2 years agoSquashed 'cgilite/' changes from 5a44f82..b191eb8
Paul Hänsch [Mon, 15 Nov 2021 16:12:16 +0000 (17:12 +0100)]
Squashed 'cgilite/' changes from 5a44f82..b191eb8

b191eb8 export application globals
dba2d39 idmap functions
f477dc5 better data-layer / UI-layer abstraction in user functions

git-subtree-dir: cgilite
git-subtree-split: b191eb8df453e7e1877443d75214f8b89ee96eaf

2 years agoSquashed 'cgilite/' changes from af27357..5a44f82
Paul Hänsch [Tue, 19 Oct 2021 15:11:10 +0000 (17:11 +0200)]
Squashed 'cgilite/' changes from af27357..5a44f82

5a44f82 allow server site message page to confirm registration
24df501 perform _BASE striping outside of internal web server
343a22a cleaner display of activation link, include port number in activation link
f6fa7fb strip _BASE path from PATH_INFO variable
6c1784b user invite function, handle invite/registration expire, always allow registration of first user

git-subtree-dir: cgilite
git-subtree-split: 5a44f82326f28410194e75a587c6a625842a94f7

2 years agoSquashed 'cgilite/' changes from 6bfa64b..af27357
Paul Hänsch [Sat, 2 Oct 2021 19:39:39 +0000 (21:39 +0200)]
Squashed 'cgilite/' changes from 6bfa64b..af27357

af27357 bugfix tooltips
7459611 improved markup for styling
9451cdd min-height for textarea
84a16dd unambiguous cookie path when destroying user session

git-subtree-dir: cgilite
git-subtree-split: af27357b013bf25c762dabe45733b9402ad581f8

2 years agoSquashed 'cgilite/' changes from a76f6a5..6bfa64b
Paul Hänsch [Fri, 24 Sep 2021 10:19:22 +0000 (12:19 +0200)]
Squashed 'cgilite/' changes from a76f6a5..6bfa64b

6bfa64b automatically swap in confirmation dialog for registration
5d5fc0f fix in email syntax and confirm path
d468e35 ignore automatic files from modules
5a714a2 syntax fixes, minor sanity checks
142f5b0 user account functions
d6e0c1a function new_session to force session update, limit session cookies to _BASE path

git-subtree-dir: cgilite
git-subtree-split: 6bfa64b084ea028f9078f679a4a77ffc57e02361

2 years agoSquashed 'cgilite/' changes from 9884092..a76f6a5
Paul Hänsch [Mon, 13 Sep 2021 17:38:52 +0000 (19:38 +0200)]
Squashed 'cgilite/' changes from 9884092..a76f6a5

a76f6a5 allow suppression of default session cookie
bcca3c0 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

git-subtree-dir: cgilite
git-subtree-split: a76f6a5931782adbae717678f8f92569ed0d5bcb

2 years agoSquashed 'cgilite/' changes from 2218e82..9884092
Paul Hänsch [Sun, 12 Sep 2021 23:39:56 +0000 (01:39 +0200)]
Squashed 'cgilite/' changes from 2218e82..9884092

9884092 typo in cli parsing

git-subtree-dir: cgilite
git-subtree-split: 988409298c9635afb1c6751f3fe15981b5d94ae3

2 years agoSquashed 'cgilite/' changes from dcab989..2218e82
Paul Hänsch [Sun, 12 Sep 2021 17:46:40 +0000 (19:46 +0200)]
Squashed 'cgilite/' changes from dcab989..2218e82

2218e82 Set _EXEC _DATA and _BASE variables

git-subtree-dir: cgilite
git-subtree-split: 2218e82add4c42ca6ec30c49e0b9cded4dc1e14f

2 years agoSquashed 'cgilite/' changes from 07b4b96..dcab989
Paul Hänsch [Tue, 24 Aug 2021 13:38:52 +0000 (15:38 +0200)]
Squashed 'cgilite/' changes from 07b4b96..dcab989

dcab989 much faster hex decode function

git-subtree-dir: cgilite
git-subtree-split: dcab9893c3e08b2ad0d0e9246b8ceefc3d40b9f8

2 years agoSquashed 'cgilite/' changes from 38702db..07b4b96
Paul Hänsch [Mon, 23 Aug 2021 15:29:52 +0000 (17:29 +0200)]
Squashed 'cgilite/' changes from 38702db..07b4b96

07b4b96 simpler lock algorithm using files

git-subtree-dir: cgilite
git-subtree-split: 07b4b96f662c7649130701b27865a851488ee2f7

2 years agoSquashed 'cgilite/' changes from b65a5ae..38702db
Paul Hänsch [Mon, 23 Aug 2021 12:34:20 +0000 (14:34 +0200)]
Squashed 'cgilite/' changes from b65a5ae..38702db

38702db improved gonzo mac if openssl is unavailable
8be65ce bugfix: faulty check in update and append
904badc bugfix: parameter passing in cgilite_value calls
4a04dc4 portability GNU `date` / Busybox `date`
76395d4 Fix: prevent horizontal rule from masking 2nd order heading
52e7985 enable pipe/argument choice for more functions

git-subtree-dir: cgilite
git-subtree-split: 38702dbb48387609925572f2269b222f87eb9c1a

2 years agoSquashed 'cgilite/' changes from c207699..b65a5ae
Paul Hänsch [Mon, 12 Jul 2021 15:37:53 +0000 (17:37 +0200)]
Squashed 'cgilite/' changes from c207699..b65a5ae

b65a5ae md: heading identifiers
b089a33 md: handle DOS line breaks
fa3afea md: task lists
cd49a5c HTML escaping, switchable HTML processing
4f5d122 md: inline HTML
fcdebd0 bugfix: stop condition in HTML block
987f4ef md: verbatim html block, md: allow emphasis before punctuation
1218334 md: image embedding, completing support for basic markdown
c1eb795 md: horizontal rules
b2cf4a3 md: allow hard line breaks; md extension: ignore embedded underscores
4f6c3fe todo items
3d2264c include markdown processor
80b3d8c try automatic switching to busybox for uuencode and sha256sum

git-subtree-dir: cgilite
git-subtree-split: b65a5aecf5675a87f47f0888e90ceea5dbfb219c

3 years agoSquashed 'cgilite/' changes from 4b913ff..c207699
Paul Hänsch [Wed, 14 Apr 2021 15:48:25 +0000 (17:48 +0200)]
Squashed 'cgilite/' changes from 4b913ff..c207699

c207699 bugfix: fix error when reading literal "+" char from storage
e7e354d basic print styles

git-subtree-dir: cgilite
git-subtree-split: c207699d7f39ce4bf96139e25da61e13cb94be4c

3 years agoSquashed 'cgilite/' changes from 49b4c44..4b913ff
Paul Hänsch [Sat, 6 Mar 2021 23:03:39 +0000 (00:03 +0100)]
Squashed 'cgilite/' changes from 49b4c44..4b913ff

4b913ff set foreground color where background color is set

git-subtree-dir: cgilite
git-subtree-split: 4b913ff67dee69b06224a77249baaef030565c8e

3 years agoSquashed 'cgilite/' changes from a836764..49b4c44
Paul Hänsch [Sat, 13 Feb 2021 21:29:59 +0000 (22:29 +0100)]
Squashed 'cgilite/' changes from a836764..49b4c44

49b4c44 remove obsolte escape functions
47a1cf6 introduce functions for cookie based cryptographically signed session variables
e3e5c0d introduce simple DBM module
8070ac9 use debug function for error output
13c2995 change border of input elements
31fd9a7 experimental: basic set of css rules
6212086 simplified mac function and cookie format

git-subtree-dir: cgilite
git-subtree-split: 49b4c44fb341804acf0165105e2234c2e57d1a67

3 years agoSquashed 'cgilite/' changes from a1caf91..a836764
Paul Hänsch [Sat, 6 Feb 2021 11:26:57 +0000 (12:26 +0100)]
Squashed 'cgilite/' changes from a1caf91..a836764

a836764 prefer hmac for session security

git-subtree-dir: cgilite
git-subtree-split: a836764660cf5db4cc02ffd9ea1ddb30aaa432f5

3 years agoSquashed 'cgilite/' changes from b8cec22..a1caf91
Paul Hänsch [Mon, 4 Jan 2021 17:34:35 +0000 (18:34 +0100)]
Squashed 'cgilite/' changes from b8cec22..a1caf91

a1caf91 include guard for main script, prevent double read of post data
147c722 mime types for streaming formats
1caf684 prevent line breaks in debug message
06a4763 try reading session key from post before trying cookie
1462517 escape CR and TAB in URLs
00ba4b0 avoid confusion regarding carriage return when escaping HTML (especially in textarea)
238f0f8 rudimentary debug function

git-subtree-dir: cgilite
git-subtree-split: a1caf91a5e6ab2d13790ec6a0c1eaf2b4030a0e8

3 years agoSquashed 'cgilite/' changes from 5b013b6..b8cec22
Paul Hänsch [Tue, 9 Jun 2020 18:12:33 +0000 (20:12 +0200)]
Squashed 'cgilite/' changes from 5b013b6..b8cec22

b8cec22 more escapes for use in html-sh and HTTP headers
4a73c71 limit escaping to necessary characters, more readable output, much faster escaping functions

git-subtree-dir: cgilite
git-subtree-split: b8cec2270b5917e96f57d72c4d1ad96471cad3d3

3 years agoSquashed 'cgilite/' changes from f0383ee..5b013b6
Paul Hänsch [Wed, 3 Jun 2020 17:52:42 +0000 (19:52 +0200)]
Squashed 'cgilite/' changes from f0383ee..5b013b6

5b013b6 bugfix: allow empty query string
7e6d863 improved handling of Connection header
87f88f1 quicker path sanitizing
06edc60 sanitizing and security
73550e0 updated copyright line
5a99761 speed improvements
7335b73 allow empty script headers

git-subtree-dir: cgilite
git-subtree-split: 5b013b64b7bbc9a62775ed861e9c8b34ffb3dfaa

4 years agoSquashed 'cgilite/' content from commit f0383ee
Paul Hänsch [Mon, 6 Apr 2020 14:42:15 +0000 (16:42 +0200)]
Squashed 'cgilite/' content from commit f0383ee

git-subtree-dir: cgilite
git-subtree-split: f0383eeb634ce1ae71bfb409a9bc25d84b6d79e9