Fossil

Timeline
Login

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

50 most recent check-ins by user stephan

2025-12-11
20:11
Re-scope a var in /chat, noticed while looking up the answer to an off-list question about its keystroke handling. No functional change. check-in: 9c2741ec92 user: stephan tags: trunk
2025-11-28
18:11
/chat: slight size tweak to try to avoid message truncation in zoom mode. When switching views, ensure that any zoomed widget is moved back where it needs to be so that, e.g. visiting the config view while zooming does not cause the message to locally disappear. check-in: 5d71561e20 user: stephan tags: trunk
2025-11-27
14:11
The various /chat Delete buttons misinteract with zoom mode's moving-around of the message widget within the DOM, so hide those buttons in zoom mode. check-in: 1c75007627 user: stephan tags: trunk
14:00
Tapping the Zoom button on a zoomed messages now unzooms it (same as the Close Zoom button). check-in: 24e050a0be user: stephan tags: trunk
13:53
Add a Zoom option to the message toolbar in /chat, the intent of which is to enable viewing of pikchrs which render illegibly small. check-in: 72d93e8ccf user: stephan tags: trunk
13:51
Get the message widget content stretching in zoom mode. Update the change log. Closed-Leaf check-in: a45b75c0bd user: stephan tags: chat-zoom-msg
13:16
Initial work on the /chat option to zoom a single message into its own view, the idea being that it will render pikchrs larger. The initial bits are in place but i've yet to find the CSS combination which will get the message widget to stretch out in the zoom view. check-in: ff297e1a35 user: stephan tags: chat-zoom-msg
2025-11-24
16:53
Add some change statuses missing from /json/status, as reported in [forum:1e835e6a79|forum post 1e835e6a79]. Update the vfile.chnged docs to reflect values added since they were last updated. check-in: 6112d90106 user: stephan tags: trunk
13:39
Add some text to /chat config which suggests enabling all of the Editing options insofar as they don't misinteract with the user's specific browser or software keyboard. check-in: 54272f72a1 user: stephan tags: trunk
2025-11-15
07:51
Make -? an alias for -help. To the best of mine and grep's knowledge, this does not collide with a -? flag in any commands. check-in: 30eb891227 user: stephan tags: trunk
2025-11-03
20:39
Add a note to the email-listid setting help text and editor entry that this value is required for unsubscribe links to work. In /secaudit0, emit a warning if notifications are enabled but email-listid is empty. This is in response to [forum:1245b69cfa09c26e|forum post 1245b69c]. check-in: 0151018383 user: stephan tags: trunk
2025-10-21
14:38
Add (open --reopen REPOFILE), based on a /chat discussion with Martin G., Brickviking, and Richard, and prompted by [forum:bac6213f6e59f1f9|forum post bac6213f6e59f1f9]. This simply forwards that usage to the test-move-repository command. check-in: ae8a45c7a7 user: stephan tags: trunk
13:49
Revert two small sections of [4c3e1728e1b1a9cb] for cases which are not compatible with fsl_strdup()'s passing-on of NULL values. Found while investigating a presumably unrelated crash. check-in: 20adff9572 user: stephan tags: trunk
13:06
Remove a bogus assert which could trigger on an anonymous clone. check-in: ecf44a280d user: stephan tags: trunk
2025-10-10
17:16
Add a checkbox to ticket pages which have multiple comments to reverse the order of the comments, per an off-list request. Making this visible requires resetting the ticket edit/view templates to their defaults or integrating equivalent edits into local versions of those templates. check-in: cc09064f5c user: stephan tags: trunk
2025-10-09
18:22
stash drop help tweak suggested in [forum:d5c5c0f980|forum post d5c5c0f980]. check-in: e2783d0789 user: stephan tags: trunk
09:34
In the timeline, replace a hard-coded 'trunk' with a db_get('main-branch'), as suggested in [forum:61450a0395|forum post 61450a0395] (this time in the correct branch). check-in: cc5ffebb51 user: stephan tags: trunk
09:33
In the timeline, replace a hard-coded 'trunk' with a db_get('main-branch'), as suggested in [forum:61450a0395|forum post 61450a0395]. Closed-Leaf check-in: 263c51941a user: stephan tags: tktview-newest-first
2025-10-07
20:04
Remove some debug output. check-in: 52586ea6f9 user: stephan tags: tktview-newest-first
19:46
Experimentally add a JS toggle to the /tktview comment list to show the comment history in reverse order (newest first). This toggle only appears if JS is available and is persistent on the client. It was added per an off-list request from Steve Landers. check-in: 531668f5b1 user: stephan tags: tktview-newest-first
2025-09-11
10:17
Add a missing return in cgi_fread() for builds without FOSSIL_ENABLE_SSL. check-in: 1cd8163045 user: stephan tags: trunk
2025-09-02
12:52
Minor internal doc updates. No code changes. check-in: 65448438e8 user: stephan tags: trunk
12:51
Change the link to fnc to use its new canonical home, fnc.sh, as pointed out by Florian in the forum. check-in: accce714cc user: stephan tags: trunk
2025-09-01
17:17
Finish writing a doc sentence started in the previous checkin. check-in: 7a3d6d7057 user: stephan tags: trunk
16:58
Add a CSRF check to /chat-send. check-in: 4caa8cb9ff user: stephan tags: trunk
15:37
Reject all GET/COOKIE vars in which the values contain control characters. check-in: 0c1419a466 user: stephan tags: trunk
15:27
An alternate approach to [ae8fc0e0b5e6] which instead rejects all GET and COOKIE values which, after decoding, contain any control characters. We have(?) no(?) use cases where control characters are legitimately needed for GET/COOKIE values. Closed-Leaf check-in: c61ae84cab user: stephan tags: no-ctrl-chars
2025-08-22
15:49
When deleting cookies via /cookies, use a path of "/" for ROBOT_COOKIE. The alternative would be to set that cookie to be repo-local (i.e. set its path to g.zTop), which would be unfortunate for servers which host many fossils. check-in: 55c972103f user: stephan tags: trunk
2025-08-21
14:13
Add /reports to the default robot-restrict setting. check-in: 12d871a00a user: stephan tags: trunk
2025-08-17
19:38
Wrap the robot_restrict() JS check in an onload handler so that it won't run until the external resources (namely style.css) are loaded. check-in: e5991efb68 user: stephan tags: trunk
17:47
Because this new check is too fast to see the progress indicator, make the final result label more explicit. check-in: b6cf0c2052 user: stephan tags: robotck-instant
15:37
Move the z-level style into default.css, in case the adversaries read inlined STYLE tags (which now, in hindsight, seems more likely to me). Change the HTTP result code from robot_proofofwork() to a non-200 code, the hope being that the adversaries will stop on a non-200 code. check-in: c7ad43638d user: stephan tags: robotck-instant
15:00
Remove some dead code from /chat. check-in: 144c5dbe00 user: stephan tags: trunk
14:52
Correct a mis-calculation of fontSize for /chat attachments which use the Embed checkbox. check-in: e3f0dcc325 user: stephan tags: trunk
13:21
Add a comment explaining why document.body's z-level is explicitly set to 0. Remove some EOL whitespace. check-in: 7c57a20ebd user: stephan tags: robotck-instant
12:52
Add (stash rename) to the changelog. check-in: c834adb656 user: stephan tags: trunk
12:50
Add (stash rename) subcommand to change the label associated with a stash entry. check-in: 1aaa6fc58d user: stephan tags: trunk
12:29
Fix the previous checkin to actually compute the work value. This slows it down by a tiny fraction of a second but it's still effectively instant. This calculation can be moved up a level into the C code to turn this back into an instant operation, but leaving it on the client seems like a reasonable choice. check-in: c27cfa9f60 user: stephan tags: robotck-instant
12:10
An experiment in reducing the proof-of-work to a single operation. (This description is intentionally vague.) check-in: b765e65267 user: stephan tags: robotck-instant
2025-08-16
10:10
Correct the signature of an extern decl of fossil_strndup(), as reported in [forum:21ac5f59a0 | forum post 21ac5f59a0]. check-in: d546932976 user: stephan tags: trunk
2025-08-15
12:32
Allow /xfer to service anonymous clones if they have any of the Clone, Zip, or Read permissions. This is a temporary measure, as described in the code's comments. Closed-Leaf check-in: f9547c7c84 user: stephan tags: relaxed-clone-permissions
2025-08-07
19:46
Add an assert() in a block which cannot happen. It survives 'reconstruct', so we can probably remove the block, but leaving it around for a while seems prudent. check-in: 7d4af37f39 user: stephan tags: trunk
2025-08-04
23:58
Add a NULL check where a change from [4c3e1728e1b1a9cb] inadvertently changed the semantics from NULL=="" to NULL==NULL, triggering a null pointer deref via backlinks parsing. Triggered by rebuild when encountering a tag with no value. check-in: 441264b759 user: stephan tags: trunk
2025-08-03
11:31
Eliminate a superfluous allocation and have freepass() zero out its storage to avoid a duplicate free() in the very off chance that it's ever called twice. These are cleanups made in passing, not fixing known problems. check-in: 1c9d5cd81d user: stephan tags: trunk
2025-08-02
17:56
Add the (user whoami) subcommand, which figures out who you are via db_find_and_open_repository(). In response to [forum:a174e200b018abbd | forum thread a174e200b018abbd]. check-in: a06df610c9 user: stephan tags: user-whoami
2025-08-01
13:03
Fix diff -tk's handling of the file list when the Reload button is tapped and the list of files is changed. Problem reported in /chat. check-in: 4bb41f9242 user: stephan tags: trunk
12:08
Change all datetime() calls in tktsetup.c to use toLocal() as their second argument so that they display in the configured timezone. This should resolve [forum:82ac9af1533f78f7 | forum thread 82ac9af1533f78f7]. check-in: 2a39681ad1 user: stephan tags: trunk
2025-07-27
11:58
When unversioned content is saved, add an entry to the admin log. check-in: 7991defa6f user: stephan tags: trunk
11:07
Teach the sync protocol how to work with an out-of-band login card, saving an extra server-side copy of the sync content which is required only to account for an inlined login card. i.e. it saves RAM, potentially lots of it. The new login card mechanism is instead transported via an HTTP header. This also, not coincidentally, simplifies implementation of the login card in non-fossil(1) clients which are currently learning to speak the sync protocol. check-in: 18628904c3 user: stephan tags: trunk
2025-07-25
18:47
Do not add the sync login cookie unless we know the remote supports it. It's harmless in that case but it doesn't need to be there. Rename the login cookie from the unweildy x-f-x-l (X-Fossil-Xfer-Login) to x-f-l-c (X-Fossil-Login-Card) because the former is unsightly. Closed-Leaf check-in: 9789e1dce7 user: stephan tags: xfer-login-card