Fossil

Timeline
Login

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

50 most recent check-ins that include changes to files matching 'src/*'

2025-08-16
00:36
Add the "timelineX" tag to robot-restrict processing. Move /honeypot over to the captcha.c file and have it use the resources found there. ... (Leaf check-in: 54afc94c user: drh tags: robot-restrict-simplified)
2025-08-15
23:46
Convert the g.isHuman variable into g.isRobot. ... (check-in: 6422bca1 user: drh tags: robot-restrict-simplified)
23:18
Simplifications to the logic that tries to keep robots out. ... (check-in: 02adced1 user: drh tags: robot-restrict-simplified)
19:58
Add /zip and /tarball pages to the robot-squelch mechanism. ... (Leaf check-in: 661991aa user: drh tags: trunk)
19:07
Add the "robot-squelch" defense against bot-nets. Still incomplete, but sufficient to hold off the latest attacks. ← This is me! ... (check-in: de66eeaa user: drh tags: trunk)
18:49
Bug fix in the new cgi_is_qp() routine of the previous check-in. ... (Closed-Leaf check-in: ef57ecf2 user: drh tags: robot-squelch)
18:47
Further improvements to the squelch captcha. ... (check-in: 055908da user: drh tags: robot-squelch)
16:21
Slightly more sophisticated captcha. ... (check-in: a10e785d user: drh tags: robot-squelch)
15:11
Merge trunk enhancements into the robot-squelch branch. ... (check-in: a46ffe0f user: drh tags: robot-squelch)
15:06
Add a really simple captcha - the user just has to press a button. ... (check-in: b3337295 user: drh tags: robot-squelch)
13:55
Prototyping new defenses against bot-nets ... (check-in: 3f4885a9 user: drh tags: robot-squelch)
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: f9547c7c user: stephan tags: relaxed-clone-permissions)
05:10
Update [6c8c93a5f7] to fix redirects to the captcha screen and set the keyboard focus to the password input field if there's no user ID input field. ... (check-in: b8731485 user: florian tags: trunk)
04:50
Merge the revamped Copy Buttons. ... (check-in: 63712b63 user: florian tags: trunk)
2025-08-14
21:01
The "/login?anon=2" page demonstrates the captcha even if the user is currently logged in. ... (check-in: e58112a4 user: drh tags: trunk)
19:35
Improved captcha screen. Less clutter. Easier for first-time visitors to digest. ... (check-in: 6c8c93a5 user: drh tags: trunk)
12:46
Reduce the timeout for anonymous logins to 1 hours. Add the IP address to the anonymous login cookie. ... (check-in: 60a9fac4 user: drh tags: trunk)
2025-08-13
15:48
Allow the mimetype query parameter for non-CGI content in /ext. ... (check-in: 639b96b9 user: drh tags: trunk)
2025-08-12
15:27
Use equal horizontal spacing for normal and "flipped" Copy Buttons (where the latter are positioned after the text to be copied). The idea is for the buttons to be tied to "their" text without spaces in between, resulting in a somewhat narrower spacing to emphasize the connection, but to have normal HTML whitespace on the other side. ... (Closed-Leaf check-in: 2bc2f724 user: florian tags: copybtn.js-responsive)
15:20
Add some higher-specificity CSS declarations to prevent dark-mode skins from overriding the relevant styles of the Copy Button layout, so users don't need to sync their skin customizations with the changes on this branch. ... (check-in: b7f2c9f3 user: florian tags: copybtn.js-responsive)
15:04
Revamp the Copy Buttons for a more responsive user experience. See the wiki page linked to this branch for more details. ... (check-in: 32c3a210 user: florian tags: copybtn.js-responsive)
2025-08-10
10:28
Raise an error when trying to insert an unversioned file if the file size would cause the database row to exceed SQLITE_LIMIT_LENGTH. ... (check-in: c6265bb3 user: drh tags: trunk)
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: 7d4af37f user: stephan tags: trunk)
2025-08-06
10:30
Show numstat-style statistics in the 'Changes' section of /info and friends. ... (check-in: 18151a86 user: danield tags: trunk)
06:29
Fill in more help for fossil user whoami command. ... (Leaf check-in: aef4a2c0 user: brickviking tags: user-whoami)
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: 441264b7 user: stephan tags: trunk)
2025-08-03
22:47
Attempt to augment the "attempt to write a readonly database" error from Fossil by listing all databases it is using that are read-only. ... (check-in: 0ea8703b user: drh tags: trunk)
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: 1c9d5cd8 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 thread a174e200b018abbd. ... (check-in: a06df610 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: 4bb41f92 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 thread 82ac9af1533f78f7. ... (check-in: 2a39681a user: stephan tags: trunk)
04:59
Typo fix in help output, noted on the forum. ... (check-in: 0d94d71d user: wyoung tags: trunk)
04:50
Added the --verbose|v flag to the test-looks-like-utf8 command so that one can find out why a command like "fossil ci" is considering an input known to be text as "binary", then fix it. ... (Leaf check-in: cf6c15bb user: wyoung tags: verbose-looks-like)
2025-07-31
12:50
Shorten line statistics text for the benefit of devices with limited screen width. ... (Closed-Leaf check-in: 941f67a8 user: danield tags: gui-diff-numstat)
2025-07-30
17:48
Fix a compiler warning in the previous check-in. ... (check-in: a8ef11b6 user: danield tags: trunk)
17:26
Show numstat-style statistics in the 'Changes' section of /info and friends. ... (check-in: 25e156c9 user: danield tags: gui-diff-numstat)
17:14
Add the test-generate-uuid command. ... (check-in: 062bb67c user: danield tags: trunk)
2025-07-28
02:32
Merge from trunk. ... (Leaf check-in: 53010e96 user: brickviking tags: bv-infotool)
2025-07-27
11:58
When unversioned content is saved, add an entry to the admin log. ... (check-in: 7991defa 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: 18628904 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: 9789e1dc user: stephan tags: xfer-login-card)
15:08
Extend the login card mode version check to include the date and time. It is currently still set to 2.27.1, but if/when merged then the version would need to be reverted to 2.27.0 and the version/date/time check will need to be set to compare against the trunk version from immediately before the merge. This needs more testing but looks like it will resolve the "post-2.26 trunk" incompatibility. ... (check-in: 86cc923d user: stephan tags: xfer-login-card)
2025-07-24
05:26
Remove the now-obsolete parsing of the X-Fossil-Xfer-Login HTTP header. ... (check-in: 8dbcf2ac user: stephan tags: xfer-login-card)
05:10
Use a Cookie, instead of a custom HTTP header and/or URL param, to send the sync login header, as suggested in forum post 9959d2d9d9be22d2. This is simpler. ... (check-in: 756ad2f2 user: stephan tags: xfer-login-card)
03:16
Previous checkin should not have compiled - clean rebuild uncovered a stale dep. Re-map the fLoginCardMode to a bitmask so that it's possible to tell when multiple paths toggle that on, and which paths they were. ... (check-in: 780d3b2f user: stephan tags: xfer-login-card)
02:41
Update the change log and sync.wiki for the login card additions. ... (check-in: edfa01d9 user: stephan tags: xfer-login-card)
02:20
Doc improvements and internal API renaming for clarity. No functional changes. ... (check-in: 286110de user: stephan tags: xfer-login-card)
01:12
Remove some debug output. ... (check-in: d1b7be2f user: stephan tags: xfer-login-card)
2025-07-23
23:31
Remove some xfer login process debug output. ... (check-in: 815a84cb user: stephan tags: xfer-login-card)
20:56
Account for CGI-hosted fossil instances by sending the xfer login card as a URL argument. This is somewhat inelegant but works around their inability to read HTTP headers. This version is still more verbose than it needs to be, and requires more testing for compatibility with trunk fossil versions. ... (check-in: 439af934 user: stephan tags: xfer-login-card)