]> git.plutz.net Git - webpoll/log
webpoll
5 weeks agoSquashed 'cgilite/' changes from 3a4544b..ac4031b
Paul Hänsch [Sun, 13 Apr 2025 12:41:00 +0000 (14:41 +0200)]
Squashed 'cgilite/' changes from 3a4544b..ac4031b

ac4031b allow `check` function for field indexes
290cc67 bugfix: avoid endless loops for some incomplete matches
32b4555 split/modify some regexes for compatibility with old mawk implementations
9b019ee simpler reex for matching email links (again, for portability )
898d470 optimized emphasis regex for performance in mawk
42028f5 improved tests for nested emphasis
98df52b modify regexes for use in mawk
b6f82bc avoid recursion in _block function to increase compatibility
c46fa28 avoid some recursion vor better compatibility and performance
1744198 test wiki links and some full pages
b329161 bugfix Wiki Links, bugfix regex syntax
1653669 compatibility changes: no gensub function
7ba97e6 include mawk tests
61d13e2 tests for references and macros
fd3f517 additional tests
d8f6cff additional checks, check different awk implementations
ccc93a0 minor fix: in fenced divs and fenced code blocks, omit empty class attribute
71c7ca6 additional checks, minor "bug"fix: no newline befor definition lists (for consistency)
3d649b9 more tests
798cbf8 test cases for markdown processor
67422ab fix faulty call of HTML function
7f444e3 new function RXLITERAL() for escaping regex characters
ad6888a style support for <label class=button>
1a733d6 debug function
397847d offer invitation links if email is not required
9c46b3c Bugfix: use HTML() escapes in most links instead of double escaping via URL()
a48f202 bugfix: accidental regex range
6c55826 allow dashes in metadata names
58aab92 awk port of some cgilite functions
d7b1281 bugfix: incorrect call of `DB2 "" new`
426dac5 fix auto detection of sender address
0591b08 Bugfix: faulty email address check
e7fcaf2 json export function
e1c0b4b more consistent db2/json structure and jpath selector
0a8a851 get json values via jpath
b8a4246 read json data into recursive DB2 structure
6ab6900 more reliable include path
8f729b0 db23 - simple in-memory key-value DB api
51f6906 updated copyright notices
04871f7 bugfix: faulty validation in user_update made pw change impossible

git-subtree-dir: cgilite
git-subtree-split: ac4031bc57b6ae56ecaba5af2b0f9cfd5a13ceb2

15 months agoSquashed 'cgilite/' changes from 9a07596..3a4544b
Paul Hänsch [Tue, 6 Feb 2024 15:16:46 +0000 (16:16 +0100)]
Squashed 'cgilite/' changes from 9a07596..3a4544b

3a4544b Fix broken range requests when running in dash
bfef1a0 allow autocomplete in login form
0f62500 avoid overflow of long links
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 />)
970afda inline image attributes, wiki style links

git-subtree-dir: cgilite
git-subtree-split: 3a4544b251d7ca6192b3ff7c635a0f1f2efe8285

2 years agoSquashed 'cgilite/' changes from 5038774..9a07596
Paul Hänsch [Wed, 27 Jul 2022 12:01:29 +0000 (14:01 +0200)]
Squashed 'cgilite/' changes from 5038774..9a07596

9a07596 bugfix/typo: correct transformation of header fields into web server variable names

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

2 years agoSquashed 'cgilite/' changes from a76f6a5..5038774
Paul Hänsch [Wed, 27 Jul 2022 10:58:14 +0000 (12:58 +0200)]
Squashed 'cgilite/' changes from a76f6a5..5038774

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
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
1d27862 bugfix URL escaping for ? and %
6147b0e faster HTML and URL functions
b191eb8 export application globals
dba2d39 idmap functions
f477dc5 better data-layer / UI-layer abstraction in user functions
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
af27357 bugfix tooltips
7459611 improved markup for styling
9451cdd min-height for textarea
84a16dd unambiguous cookie path when destroying user session
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: 5038774f89b33ecd03e407898e9d57d38245b5bb

3 years agoSquashed 'cgilite/' changes from 2218e82..a76f6a5
Paul Hänsch [Mon, 13 Sep 2021 17:29:46 +0000 (19:29 +0200)]
Squashed 'cgilite/' changes from 2218e82..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
9884092 typo in cli parsing

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

3 years agoSquashed 'cgilite/' changes from dcab989..2218e82
Paul Hänsch [Fri, 27 Aug 2021 13:25:40 +0000 (15:25 +0200)]
Squashed 'cgilite/' changes from dcab989..2218e82

2218e82 Set _EXEC _DATA and _BASE variables

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

3 years agoSquashed 'cgilite/' changes from 8be65ce..dcab989
Paul Hänsch [Thu, 26 Aug 2021 00:43:16 +0000 (02:43 +0200)]
Squashed 'cgilite/' changes from 8be65ce..dcab989

dcab989 much faster hex decode function
07b4b96 simpler lock algorithm using files
38702db improved gonzo mac if openssl is unavailable

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

3 years agoSquashed 'cgilite/' changes from 4a04dc4..8be65ce
Paul Hänsch [Mon, 26 Jul 2021 22:56:29 +0000 (00:56 +0200)]
Squashed 'cgilite/' changes from 4a04dc4..8be65ce

8be65ce bugfix: faulty check in update and append
904badc bugfix: parameter passing in cgilite_value calls

git-subtree-dir: cgilite
git-subtree-split: 8be65ce87fa07416c4d923cdc358ad885e49aaf7

3 years agoSquashed 'cgilite/' changes from 52e7985..4a04dc4
Paul Hänsch [Mon, 26 Jul 2021 13:10:28 +0000 (15:10 +0200)]
Squashed 'cgilite/' changes from 52e7985..4a04dc4

4a04dc4 portability GNU `date` / Busybox `date`
76395d4 Fix: prevent horizontal rule from masking 2nd order heading

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

3 years agoSquashed 'cgilite/' changes from b65a5ae..52e7985
Paul Hänsch [Sat, 24 Jul 2021 20:08:41 +0000 (22:08 +0200)]
Squashed 'cgilite/' changes from b65a5ae..52e7985

52e7985 enable pipe/argument choice for more functions

git-subtree-dir: cgilite
git-subtree-split: 52e798535235e32bd536c3275d25aa7fda65f27d

3 years agoSquashed 'cgilite/' content from commit b65a5ae
Paul Hänsch [Thu, 15 Jul 2021 13:50:31 +0000 (15:50 +0200)]
Squashed 'cgilite/' content from commit b65a5ae

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