s2cgi

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2022-01-14
03:33
Tweaks to get s2cgi.lib.bash working in /bin/sh mode. Leaf check-in: 7556cef064 user: stephan tags: trunk
2022-01-13
19:07
Do not load dummy routing file by default. check-in: b041b5b44b user: stephan tags: trunk
2021-11-16
07:12
Year-old s2cgi tweaks which have been laying around on my drive unnoticed. Adds skinless route option and removes cgi.request.serverPort (don't recall why, though). Let's check them in and see if they work. check-in: 9332197b51 user: stephan tags: trunk
07:00
Removed no-longer-supported -H flag from s2sh invocation. check-in: a4e1716cd5 user: stephan tags: trunk
2020-12-12
17:53
Accommodated fossil's incorrect SERVER_NAME value (which currently includes the port number but should not). check-in: 46b8bcf4d3 user: stephan tags: trunk
09:45
Some tinkering with the cgi.request vars for compatibility with fossil's /ext CGI support. check-in: b0e1d348ea user: stephan tags: trunk
2020-11-12
11:55
Removed unused/incomplete skin/widget APIs. check-in: cadd07260d user: stephan tags: trunk
2020-08-28
05:27
Performance tweak: increased sweep interval and eliminated vacuuming. check-in: dda2e46d4f user: stephan tags: trunk
2020-07-22
08:22
Added sameSite property to the cookie template. check-in: 12bae1c937 user: stephan tags: trunk
2020-04-24
09:24
Moved sweep interval config into top s2cgi script. Accommodated flags change in require.s2. check-in: 9af39aef06 user: stephan tags: trunk
2020-04-23
17:34
Increased s2sh sweep interval, which improves performance notably (by about a 3rd, in completely unscientific tests, when fetching all morbad cards). Edit: that's a lie: i was testing using the wrong server. In any case, increasing the default sweep interval is known to improve performance a bit. check-in: 55f1987ff7 user: stephan tags: trunk
2020-04-22
14:04
Minor internal cleanups. check-in: 9dec5aaa01 user: stephan tags: trunk
2020-03-12
19:02
Minor internal cleanups. check-in: 0352904e51 user: stephan tags: trunk
2020-02-09
14:35
Minor efficiency hack in cgi.regcomp and cgi.regcompJS. check-in: d7ed3f3072 user: stephan tags: trunk
2020-01-31
20:34
Accommodated regex API additions. check-in: 2e07457ddf user: stephan tags: trunk
2020-01-18
05:44
Accommodate addition of s2.PathFinder.tokenizePath(). check-in: b0931867a1 user: stephan tags: trunk
2020-01-16
15:32
Doc additions and method name typo fixes in code which has never actually been triggered. check-in: 8b0700efa1 user: stephan tags: trunk
00:25
Doc typos and some internal cleanups which have been sitting on my local drive for a couple months. check-in: 7242cf2628 user: stephan tags: trunk
2019-11-09
01:50
Added 401() to require.d/s2cgi/basicJsonOutputHandler.s2. check-in: 0567e0e2d4 user: stephan tags: trunk
01:33
Const correctness tweak. check-in: 307a9daf44 user: stephan tags: trunk
2019-11-08
22:16
Forced loading of the widgets API in the test script. check-in: 682f0a3422 user: stephan tags: trunk
2019-07-26
10:26
Disabled loading of widget-handling code, as it's currently unused. check-in: 8a59e96c6e user: stephan tags: trunk
2019-07-23
19:18
Syntax error fix for as-yet-unused code. check-in: 27bfaf54b3 user: stephan tags: trunk
12:46
doc typo fix. check-in: f6f69cb856 user: stephan tags: trunk
2019-07-19
07:05
Added option to supply an error message to one output handler. check-in: 5a98e64201 user: stephan tags: trunk
2019-07-13
05:26
s2cgi now, when using require.s2, installs itself as a pseudo-module to simplify the lives of require.s2 modules. Moved some commonly-used app-side functionality into a new require.s2 module. check-in: ab7c1b63cd user: stephan tags: trunk
00:39
Added --s2.require flag: tells s2cgi to import require.s2 (as s2.require) at startup. check-in: 192af31458 user: stephan tags: trunk
2019-06-07
23:21
Added cgi.createAppDbGetter() when sqlite3 is enabled. check-in: e60b4e4eed user: stephan tags: trunk
2019-05-03
21:08
removed an unused var. check-in: 36124ef096 user: stephan tags: trunk
2018-11-25
08:55
Routing and module loading tweaks. Disabled require.s2 (we don't currently need it). check-in: a50593a9d9 user: stephan tags: trunk
07:03
Module loading updates. check-in: d1f4d59952 user: stephan tags: trunk
05:20
Accommodated module reorg. check-in: 672b4b2a79 user: stephan tags: trunk
2018-11-24
22:06
Reworked the glob/regex routing to consolidate globs, POSIX regexes, and JS regexes into one routing list so that they can intermix. check-in: 26ec90f9c5 user: stephan tags: trunk
2018-11-18
04:53
Added --cgi.sqlite3 flag to enable loading of sqlite3 module independent of session support. check-in: 391712cbde user: stephan tags: trunk
2018-11-17
18:43
Renamed main.s2 to s2cgi.s2. check-in: 1b4ac596ef user: stephan tags: trunk
2018-11-16
16:32
minor bootstrapping cleanups. check-in: 3ed7b3b59c user: stephan tags: trunk
2018-11-15
21:38
Minor internal refactoring. Fixed #403 route handling for localServerModeOnly routes. check-in: accfae96db user: stephan tags: trunk
14:17
Renamed s2sh binary to s2sh.bin. check-in: 3cca1b6f04 user: stephan tags: trunk
2018-11-12
23:27
typo fix. check-in: 331a3dcb43 user: stephan tags: trunk
2018-11-08
11:16
Added a makefile for the db. check-in: f7a2973a53 user: stephan tags: trunk
02:00
Added cgi.setFileLastModified() and the 'self' route renderer. check-in: b137539b17 user: stephan tags: trunk
2018-11-07
18:27
Tinkered with the QUERY_STRING values to test out the new GPC parsing. check-in: b50a36f026 user: stephan tags: trunk
13:52
Renamed cgi.getRoute() to cgi.getRouteModel(), added new cgi.getRoute() which returns a Route instance. check-in: 8abf9404b9 user: stephan tags: trunk
13:50
Modernized index.cgi slightly. check-in: 262e2b6d32 user: stephan tags: trunk
00:10
Routing cleanups and refactoring. check-in: 669bc71cb8 user: stephan tags: trunk
2018-11-06
21:24
ooops: removed /usr/bin/env call in error output. check-in: 8b9638b0d8 user: stephan tags: trunk
18:45
Fixed default cgi.config.localServerMode value. check-in: ef3a8683cb user: stephan tags: trunk
15:20
Expanded session support to use the session cookie name in a new cgi_session.skey column, to allow multiple apps to have independent sessions by using different cookie names. check-in: 2b29cff2a3 user: stephan tags: trunk
15:20
test.sh now supports passing a /request/path to it. check-in: 3ce63507dc user: stephan tags: trunk
13:45
Made session cookie name and path configurable via CLI flags. check-in: 1656bc7d72 user: stephan tags: trunk