Fossil

Timeline
Login

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

74 check-ins using file src/printf.c version 59069b0f75

2024-09-03
11:45
Correct handling of keyboard-based diff scrolling. Closed-Leaf check-in: 0ef89983b8 user: stephan tags: diff-scroll-sync
11:16
Integrate checkbox to toggle side-by-side sync scrolling and persist the setting across pages/apps using localStorage/sessionStorage. Currently applies to /info, /vinfo, /vdiff, /wikiedit, /fileedit. The alignment of the toggle isn't _quite_ right on the /*edit pages but that's difficult to fix without using flex layout, which introduces a rat's tail of further fixes. check-in: 564a64027a user: stephan tags: diff-scroll-sync
2024-08-31
20:26
Re-integrate side-by-side diff sync scrolling in the /wikiedit and /fileedit diff views. check-in: 3765b46475 user: stephan tags: diff-scroll-sync
2024-08-25
17:48
Change an assert() to a fossil_fatal() to make the error message appear in the web UI. check-in: 3aad57dd7c user: florian tags: diff-word-wrap
05:17
Exempt diff line numbers and diff marks (separators) from text selections and have click-and-drag selection include only the most recently clicked side for side-by-side (split) diffs. check-in: abd3bca70e user: florian tags: diff-word-wrap
2024-08-24
08:52
Update the built-in SQLite to the latest version 3.47.0 alpha. check-in: e17b8da855 user: stephan tags: trunk
2024-08-23
22:29
Strip almost 1100 lines from extsrc/cson_amalgamation.c which aren't used in this fossil-specific build of that API. check-in: 1bb9c77489 user: stephan tags: trunk
22:18
Latest upstream extsrc/cson_amalgamation.*, and update src/json*.c, to squelch warnings from OpenBSD. check-in: 40a14c1deb user: stephan tags: trunk
20:51
Replace calls to strcpy() with a tree-local strcpy() clone to squelch unwarranted link-time warnings when building on OpenBSD. There is still one strcpy() instance in the upstream extsrc/shell.c. check-in: c0b9b4487f user: stephan tags: trunk
19:54
New admin-only page /setup_uinfo that shows combined information from the USER and SUBSCRIBER tables about a single user. Give a hyperlink to this page when a timeline delivered to an admin says "by user". check-in: 24eb182248 user: drh tags: trunk
16:14
Fix typo in the previous comment that prevented from recognizing login cookies. check-in: dfce2f2b8f user: drh tags: trunk
16:10
More information about cookies on the /cookies page. check-in: 10949f5300 user: drh tags: trunk
15:53
Minor typo fix in a comment. check-in: 8581e376c3 user: drh tags: trunk
15:42
Improved instructions for setting a common captcha-secret across a login-group on the /setup_login_group page. check-in: 404f15501b user: drh tags: trunk
14:43
Add the ability to rotate the captcha-secret, setting up a new secret that is common to all members of a login-group. check-in: acfaf4e48e user: drh tags: trunk
13:55
Allow for multiple captcha-secret values. The primary is still 'captcha-secret'. Backups are in 'captcha-secret-N' where N is a small integer. The backups are only valid for 6 hours. This allows the captcha-secret to be changed without disrupting anonymous logins and/or captcha dialogs that are in progress when the secret changes. check-in: 8659d84aff user: drh tags: trunk
13:23
For 'update --dry-run', remind the user that no file changes have occurred.' check-in: 06a72cea3a user: danield tags: trunk
13:05
Fix missing "return" in the new fossil_strdup_nn() routine from the previous check-in. check-in: a04d18198d user: drh tags: trunk
13:00
Move the fossil_strdup() implementation from import.c over to util.c where it belongs. Add a new fossil_strdup_nn() that mimics the behavior of mprintf("%s",...), only faster. check-in: 0c9dff644e user: drh tags: trunk
12:18
Micro-cleanups in diff-scrolling JS. check-in: 261469e753 user: stephan tags: diff-scroll-sync
10:41
Add documentation about internal data structures (specifically, the CONFIG table entries used and what they mean) on the login-group setup page. check-in: 5bb4cee5ec user: drh tags: trunk
09:50
Improvements to the /setup_login_group configuration page. check-in: 4420efdf32 user: drh tags: trunk
09:17
Security fix in [7df48cb2995cd775]: Only give the user an anonymous login if anonymous logins are enabled. check-in: d6bbf550e7 user: drh tags: trunk
08:58
If two or more repositories on the same host are part of a login-group (example: https://fossil-scm.org/home and https://fossil-scm.org/forum) and a user is logged into one of those repositories as an actual user (not as anonymous) but does not have an account on the other repository, grant the user an automatic "anonymous" login on the other repository where they do not have an account. check-in: 7df48cb299 user: drh tags: trunk
06:02
Remove 'display: inline-block' from insertion and deletion marks to get more natural word-wrapping. Try whether the previous, precisely calculated line height and padding values also work to extend the background color to the entire line height. check-in: b912690fc4 user: florian tags: diff-word-wrap
05:21
Fix a JS ternary operator precedence bug to mess up later loaded diff context. check-in: 18c5117b11 user: florian tags: diff-word-wrap
2024-08-22
22:48
Improvements to the robot-detection captcha. check-in: 66b111aa42 user: drh tags: trunk
20:10
When a user correctly enters the captcha for /ityaar, do not change their login to anonymous if they are already logged in. check-in: 160126c043 user: drh tags: trunk
19:05
On the /login page, for logged-in users add a link to /cookies. check-in: 6a20a34a6c user: stephan tags: trunk
2024-08-21
14:30
Reinstate synchronized scrolling in side-by-side diff views. TODOs include adding a checkbox to toggle this on and off, and (possibly) reintegrating this with /wikiedit and /fileedit diff views. check-in: 3ef1d06bd6 user: stephan tags: diff-scroll-sync
11:36
Rename some JS vars for clarity. No functional changes. check-in: abeb57d28e user: stephan tags: trunk
10:29
Avoid deleting Unix socket files via atexit() from forked HTTP responses, as reported in [forum:11c9b27397|forum post 11c9b27397]. check-in: e0236194d8 user: stephan tags: trunk
09:20
/shun page: fix a typo reported in the forum and make the unshunned message more legible (not dark-on-dark) in the eagle and darkmode skins. check-in: dee17d9c1b user: stephan tags: trunk
2024-08-17
16:03
First draft to implement word-wrap for web UI diffs. The list of TODO items can be found on the branch wiki page. check-in: faf4b4718d user: florian tags: diff-word-wrap
2024-08-16
19:28
Make sure Fossil is run with a version of SQLite that include the order-by-subquery optimization, to avoid a performance problem. check-in: 668fefe796 user: drh tags: trunk
19:24
Fix the query in the compute_youngest_ancestor_in_branch() routine so that it has an ORDER BY to make it safe. The new order-by-subquery optimization in SQLite turns that ORDER BY into a no-op, so there is no performance impact. check-in: 60debc7ed7 user: drh tags: trunk
19:06
Update the built-in SQLite to the latest trunk version that includes the order-by-subquery optimization. check-in: a8aaed4216 user: drh tags: trunk
2024-08-15
14:11
Add a /robots.txt page - useful only when Fossil is deployed as a stand-alone server instead of as a sub-component to a larger website. check-in: cadfcba32c user: drh tags: trunk
13:02
Always apply the robot-restrict setting to self-declared robots. check-in: 398ea9e425 user: drh tags: trunk
2024-08-14
09:17
Add timeline-hard-newlines to CONFIGSET_SKIN in an attempt to resolve [forum:23d58b1b67|forum post 23d58b1b67]. Bring /json/config up to date with the central config option list. check-in: 89388d4c60 user: stephan tags: trunk
2024-08-11
21:31
Fix the query for the new /taglist page so the "Most Recent" is the time of the object being tagged, not the tag itself. check-in: ac446f27ed user: drh tags: trunk
21:26
Improved /taglist page. check-in: 239a3fa34e user: drh tags: trunk
2024-08-10
17:49
Update the built-in SQLite to the latest version 3.47.0 alpha. This SQLite has all of the fixes that are going into the 3.46.1 release, and so the purpose of this update is to beta test those fixes. check-in: dc15083b9a user: drh tags: trunk
2024-08-09
12:13
Tell file_issocket() to always return 0 on Windows builds, as reported in [forum:a41fe3d6d0c97b43|forum post a41fe3d6d0c97b43]. check-in: ba884453e5 user: stephan tags: trunk
10:32
Doc touchups in /chat. No code changes. check-in: 7141427370 user: stephan tags: trunk
2024-08-08
12:10
Fix misinteraction of the chat send command and the chat search index. check-in: 892dfd2b55 user: stephan tags: trunk
00:28
The "fossil chat send" mechanism was broken by check-in [fc853823b2218a76] (chat history) because of changes to chat_create_tables(). This fixes the issue. check-in: a913716b4c user: drh tags: trunk
2024-08-06
22:35
The new zebra-striped table styling in the default skin was not targeting /wiki docs, only .wiki embedded docs, leaving them unstyled. check-in: 072a860909 user: wyoung tags: trunk
20:39
Enhancements to unix-domain socket support for "fossil server": (1) Change the command-line option to "--socket-name FILENAME" for creating the unix socket. (It was formerly --unix-socket.) (2) Add new command-line options "--socket-mode MODE" and "--socket-owner USER" or "... USER:GROUP" to set permissions and ownership on the new socket. (3) Attempt to unlink the socket from the filesystem upon exit. check-in: effdadadd0 user: drh tags: trunk
20:36
Get the build working on Windows again. Closed-Leaf check-in: d474c95d5a user: drh tags: unix-sockets
20:30
Get --socket-owner working. check-in: efc7475e18 user: drh tags: unix-sockets
17:22
Changed a fatal error message speaking of the TCP socket's port number in a call to a function that may now use a Unix socket instead. check-in: 28de3fab86 user: wyoung tags: unix-sockets
15:00
Change --unix-socket to --socket-name. Add --socket-mode and --socket-owner. Mostly working, accept that --socket-owner seemingly has no effect, even though the fchown() return 0. There is currently a debugging printf() in that line of code. This is an experimental check-in. check-in: 9f71e5cc02 user: drh tags: unix-sockets
2024-08-05
20:23
Add the --unix-socket option to the "fossil server" command. check-in: 7fc2902126 user: drh tags: trunk
15:10
Replace the JavaScript-based side-by-side diff view with a CSS Grid, as discussed in [forum:93398561d3986c41|forum post 93398561d3986c41]. check-in: 71e9ca7869 user: stephan tags: trunk
2024-08-03
19:54
Remove a redundant comment from the previous checkin. No code changes. check-in: 4172bcdcea user: stephan tags: trunk
19:49
/chat: when downloading a file via chat which has a text/... mimetype but it looks_like_binary(), change the mimetype to application/octet-stream. See code comments for the motivation behind this. check-in: 87edfb0a48 user: stephan tags: trunk
2024-08-01
13:23
Fix to "fossil patch apply": When the patch involves an ADDED_BY_MERGE file, take care to not truncate the content of that file. check-in: 764c50aeff user: drh tags: trunk
2024-07-31
19:54
Resolve the awkward misalignment of consecutive diff chunks, thanks to a hint from [forum:85ab14eecd|forum post 85ab14eecd]. Closed-Leaf check-in: c5a4fe54ec user: stephan tags: sbs-diff-css
11:14
In the diff chunk loader, remove stray calls to the JS code which was removed in [61fd1e841fd]. check-in: ac965480d4 user: stephan tags: sbs-diff-css
11:06
Remove approx. 150 lines of JS related to diff layout and syncronous scrolling. check-in: 61fd1e841f user: stephan tags: sbs-diff-css
10:57
Correct the placement of the right-side line number column in sbs diffs. check-in: 15139fa821 user: stephan tags: sbs-diff-css
2024-07-30
12:44
Tweak the sync command help text to clarify that the URL argument may instead be a configured remote name, as suggested in [forum:24c658568a|forum post 24c658568a]. No functional changes. check-in: d919a33c11 user: stephan tags: trunk
12:35
For the 'all' command, accept any of (set, setting, settings) for the settings command, per /chat discussion. check-in: 939e8c4076 user: stephan tags: trunk
12:03
Initial go at using CSS grid layout for side-by-side diffs, rather than using JS to dynamically fit the columns. See discussion at [forum:93398561d3986c41|forum post 93398561d3986c41]. check-in: 375f2af484 user: stephan tags: sbs-diff-css
10:56
Spell out "setting" in loadmgmt.md. [forum:/forumpost/7485b4bf89|Forum post 7485b4bf89]. check-in: d90990701d user: drh tags: trunk
2024-07-29
22:39
The sublist of robot defenses under security audit should use a,b,c,... not 1,2,3,... check-in: 1e4202dec7 user: drh tags: trunk
22:37
Show a summary of robot defenses on the security audit page. check-in: 9018c6f22a user: drh tags: trunk
13:15
Fix the test-captcha sequence so that it remembers it is doing a test and does not try to set the anonymous login on a successful captcha. check-in: 3771f2d635 user: drh tags: trunk
12:45
Add the glob_multi_match() interface that allows checking against a comma-separated list of GLOB patterns without having to compile the list first. check-in: dc86831179 user: drh tags: trunk
12:19
Fix the default-csp setting to conform to the spec: Use the default CSP if the setting is an empty string. check-in: 6b5606d832 user: drh tags: trunk
11:58
Previous check-in does not work. Change it so that the backoffice is not even attempted if the database is in read-only mode. check-in: 503354d1ca user: drh tags: trunk
11:50
Drop all database protection when starting the backoffice. check-in: 5d3f71b0f7 user: drh tags: trunk
11:25
Report the phase of operation in error log messages. check-in: 49f676e3b3 user: drh tags: trunk