Timeline
Not logged in

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

91 check-ins using file src/diffcmd.c version 387c4b714b

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
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: b8731485b0 user: florian tags: trunk
04:50
Merge the revamped Copy Buttons. check-in: 63712b631c 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: e58112a4f3 user: drh tags: trunk
19:35
Improved captcha screen. Less clutter. Easier for first-time visitors to digest. check-in: 6c8c93a5f7 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: 60a9fac4e1 user: drh tags: trunk
2025-08-13
15:48
Allow the mimetype query parameter for non-CGI content in /ext. check-in: 639b96b9ad 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: 2bc2f7249c 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: b7f2c9f329 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: 32c3a210c8 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: c6265bb3a7 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: 7d4af37f39 user: stephan tags: trunk
2025-08-06
10:30
Show numstat-style statistics in the 'Changes' section of /info and friends. check-in: 18151a8615 user: danield tags: trunk
06:29
Fill in more help for fossil user whoami command. Leaf check-in: aef4a2c023 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: 441264b759 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: 0ea8703b60 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: 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
04:59
Typo fix in help output, noted [forum:/forumpost/af1ee76f78 | on the forum]. check-in: 0d94d71d25 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: cf6c15bb28 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: 941f67a83e user: danield tags: gui-diff-numstat
2025-07-30
17:48
Fix a compiler warning in the previous check-in. check-in: a8ef11b63c user: danield tags: trunk
17:26
Show numstat-style statistics in the 'Changes' section of /info and friends. check-in: 25e156c9b7 user: danield tags: gui-diff-numstat
17:14
Add the test-generate-uuid command. check-in: 062bb67c03 user: danield tags: trunk
16:54
Update the built-in SQLite to the latest trunk version for testing. check-in: 104c079dcd user: drh tags: trunk
2025-07-28
02:32
Merge from trunk. check-in: 53010e9688 user: brickviking tags: bv-infotool
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 implementat... 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
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... check-in: 86cc923de4 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: 8dbcf2acba 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:9959d2d9d9be22d2 | forum post 9959d2d9d9be22d2]. This is simpler. check-in: 756ad2f23c 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: 780d3b2fe3 user: stephan tags: xfer-login-card
03:03
Doc touchups. check-in: aa36afc52c user: stephan tags: xfer-login-card
02:41
Update the change log and sync.wiki for the login card additions. check-in: edfa01d9d2 user: stephan tags: xfer-login-card
02:20
Doc improvements and internal API renaming for clarity. No functional changes. check-in: 286110dec0 user: stephan tags: xfer-login-card
01:12
Remove some debug output. check-in: d1b7be2ff8 user: stephan tags: xfer-login-card
2025-07-23
23:31
Remove some xfer login process debug output. check-in: 815a84cbcc 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: 439af9348b user: stephan tags: xfer-login-card
17:39
Add the x-fossil-xfer-login header check in one additional place. With the help of the included debug output, the login problem seems to be caused by CGI (only) instances not reading the inbound HTTP headers. My attempts to make it do have, so far, only triggered HTTP 500 responses. (Edit: i'd forgotten that CGIs don't get headers. The headers are ... check-in: 6c900645ea user: stephan tags: xfer-login-card
16:01
Replace a call to mprintf() with fossil_strdup(). Leaf check-in: 44e5125f8f user: danield tags: gen-uuid
15:58
Minor optimization: replace calls to mprintf("%s", X) with fossil_strdup(X). check-in: 4c3e1728e1 user: danield tags: trunk
2025-07-22
22:53
Add some debugging 'message' cards to help trace how the remote is handling the login. check-in: 21be2978af user: stephan tags: xfer-login-card
18:11
Remove some dead code. Add some internal docs. Add a couple of const qualifiers to help me reason through the xfer payload buffer's lifetime. check-in: 459d0cbbc7 user: stephan tags: xfer-login-card
17:52
Remove lots of debug output. Replace a couple of mprintf() with fossil_strdup() and a couple free() with fossil_free(). Milestone: libfossil has successfully logged in to this version of fossil. check-in: 1078a123c1 user: stephan tags: xfer-login-card
15:53
Doc typo fixes. check-in: 2250a684cc user: stephan tags: xfer-login-card
15:51
Set g.syncInfo.bLoginCardHeader=1 if that inbound header is detected, rather than delaying it until the /xfer handling. Internal doc additions. check-in: 4fc13c5c88 user: stephan tags: xfer-login-card
15:41
Enable the HTTP login header if the xfer server-version is high enough, analog to the same check for the client-version. check-in: bc3ad94411 user: stephan tags: xfer-login-card
15:12
Get sync working from both login card forms and add a temporary --login-card-header CLI flag to force it to emit the HTTP header form of the card in output requests. If all is well, this checkin should be able to push to the canonical repo, despite their differences. check-in: 042560df54 user: stephan tags: xfer-login-card
02:32
The previous checkin left me unable to push because (of course) the remote trunk doesn't know how to use the login card header. This checkin disables, via a macro toggle, the use of that header on outbound sync requests. check-in: cb42278d84 user: stephan tags: xfer-login-card
02:16
For testing purposes only, unconditionally use the X-Fossil-Xfer-Login HTTP header for sync requests, rather than add it to the payload (which seems to work okay). This is primarily so that apples-to-apples comparisons can be made in libfossil's testing, and will be reverted (or applied conditionally) once the libfossil side is working. check-in: ff942066d5 user: stephan tags: xfer-login-card
2025-07-21
23:45
Move the X-Fossil-Xfer-Login header check to the correct end of the connection. It is receiving these from libfossil tests but is failing to validate them, but that may well be a bug in that brand new downstream code. check-in: b49c9b3685 user: stephan tags: xfer-login-card
19:47
Update sync.wiki for [12cc5bbf227e3]. check-in: a4c5a2a961 user: stephan tags: xfer-login-card
19:39
Do not allow more than one login card in the sync protocol. check-in: 12cc5bbf22 user: drh tags: xfer-login-card
18:42
Replace an mprintf() with fossil_strdup(). check-in: 73a2bd06b1 user: stephan tags: xfer-login-card
18:40
And this time compile before committing. check-in: a62ffc1922 user: stephan tags: xfer-login-card
18:38
Enable an /xfer login card to be delivered via the X-Fossil-Xfer-Login HTTP header, which is expected to be in the same format as the sync protocol's login card. The purpose of this is to simplify generation of the login card from non-fossil(1) clients, namely libfossil. This is untested until libfossil can generate such cards (it's just missing a ... check-in: cfddded40e user: stephan tags: xfer-login-card
17:16
Account for [638b7e094b899a] when building with --json, as reported in [forum:9acc3d0022407bfe | forum post 9acc3d0022]. check-in: c6f0d7aecd user: stephan tags: trunk
13:20
Remove FossilUserPerms::Query, as it's unused and its designated capabilities letter 'q' collides with ModTkt. It's been there since 2011-09-14 but went unnoticed until today when that struct was emacs-macro-reformatted into libfossil and triggered a duplicate case value for the letter 'q'. check-in: 638b7e094b user: stephan tags: trunk
12:23
Sync with trunk. check-in: e17d35e796 user: florian tags: standard-cli-colors
12:16
Sync with trunk. check-in: 75244ee4fd user: florian tags: diff-keyboard-navigation
12:14
Sync with trunk. check-in: a2a1e4a7dc user: florian tags: timeline-keyboard-navigation
2025-07-15
20:11
Update the built-in SQLite to the latest trunk version, for testing. check-in: 01855974c9 user: drh tags: trunk
08:16
Move the mark->rid assignment down one block to avoid setting it if we're not going to use it for the 'b' and 'c' mark cases. Leaf check-in: c2d25c42f9 user: stephan tags: git-parse-mark-fix
08:13
A proposed, but also unproven, patch for the git export parse_mark() issues discussed in [forum:906c248f2f79de41 | forum thread 906c248f2f]. check-in: 076c8def28 user: stephan tags: git-parse-mark-fix
2025-07-14
17:31
Add mentions in changes.wiki and signing.md that SSH-signed artifacts are "ignored" by fossil versions prior to 2.26, as suggested in [forum:9348885dd6 | forum post 9348885dd6]. check-in: 3f8d014f99 user: stephan tags: trunk
13:13
Add the -l and -x options to the test-filezip command. check-in: 932d351ea5 user: drh tags: trunk
2025-07-13
20:57
Update the (undocumented) test-filezip command so that the ZIP archvie it creates has correct timestamps. check-in: 6368fce274 user: drh tags: trunk
2025-07-09
21:54
improve whatis output when lising checkins contain some file artifact by showing on which branch belong the checkin. (just like the /whatis webpage) check-in: d3896c2acd user: mgagnon tags: trunk
14:16
Update the change log for version 2.27 check-in: a403e11b6f user: drh tags: trunk
13:52
Update the built-in SQLite to a version that fixes a possible UAF following OOM. check-in: a6d506ecc4 user: drh tags: trunk
13:46
Do not give unnecessary clues to user anonymous (which is the login used by most attack robots) that something has gone wrong inside of Fossil. check-in: c66b038cae user: drh tags: trunk
13:01
Fix the non-standard %q format specifier in Fossil's custom printf() implementation so that the precision refers to the number of input characters, not the number of output characters. check-in: 0971536165 user: drh tags: trunk
2025-07-08
20:35
Update the built-in SQLite to the latest trunk version for testing. check-in: d62593b787 user: drh tags: trunk
2025-07-07
15:16
PoC for the previous check-in: use UUIDs for project-code and server-code. check-in: e38c068029 user: danield tags: gen-uuid
15:11
Add a function for generating a random (v4) UUID and a test command using it. check-in: 9472f708c9 user: danield tags: gen-uuid
2025-07-05
11:35
On the 'user capabilities changed' notification, correct /setup_uedit?uid=... to /setup_uedit?id=... check-in: c786b19094 user: stephan tags: trunk
2025-07-04
22:21
Use an experimental SQLite (the latest from the empty-table-optimizations branch that includes the EXISTS-to-JOIN optimization), to see how the new SQLite performs under real-world load. Closed-Leaf check-in: ec10b57f0a user: drh tags: experimental-sqlite
2025-07-03
16:33
Squished a stray character accidentally left behind by [1fd407f61a], noted on the forum. check-in: 2b4a8b4c73 user: wyoung tags: trunk
2025-07-02
10:55
Add a confirmer wrapper around the forum post close/reopen button to help avoid accidental closing of posts via mis-clicks, per /chat discussion. check-in: 751dbe28ce user: stephan tags: trunk
2025-06-30
17:00
Merge the latest SQLite enhancements from upstream, for testing. check-in: bcbf150dc2 user: drh tags: trunk
2025-06-28
23:59
Update the built-in SQLite to the latest trunk version. check-in: cdaec3a431 user: drh tags: trunk
20:58
Require at least an "anonymous" login in order to access the /blame and similar pages. Rationale: Those pages can be expensive to compute, depending on parameters. And lately we've had millions of robot requests to /blame. By requiring at least an "anonymous" login, that should reduce the number of robots. Any nobody really needs to see /blame... check-in: f51e8d36cb user: drh tags: trunk
2025-06-27
10:11
Correct the starting clone_seqno in sync.wiki (1 instead of 0). check-in: bbc4b70275 user: stephan tags: trunk
2025-06-25
10:25
Small additions and a broken link fix in sync.wiki. check-in: 22191108aa user: stephan tags: trunk
2025-06-24
16:46
Update the built-in SQLite to the latest from upstream. check-in: 07a16b7933 user: drh tags: trunk
2025-06-23
16:54
Update the built-in SQLite to the latest trunk version. check-in: 746a9636ab user: drh tags: trunk
13:53
Add SQL errors as a new logfile message category. check-in: e3c6e011be user: drh tags: trunk
2025-06-22
10:35
(Grammar) Correction for diffcmd help text. check-in: e879d1ef2c user: brickviking tags: trunk