Fossil

Timeline
Login

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

118 check-ins using file src/alerts.c version 72ec947b

2024-09-03
11:45
Correct handling of keyboard-based diff scrolling. ... (Closed-Leaf check-in: 0ef89983 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: 564a6402 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: 3765b464 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: 3aad57dd 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: abd3bca7 user: florian tags: diff-word-wrap)
2024-08-23
13:23
For 'update --dry-run', remind the user that no file changes have occurred.' ... (check-in: 06a72cea user: danield tags: trunk)
13:05
Fix missing "return" in the new fossil_strdup_nn() routine from the previous check-in. ... (check-in: a04d1819 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: 0c9dff64 user: drh tags: trunk)
12:18
Micro-cleanups in diff-scrolling JS. ... (check-in: 261469e7 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: 5bb4cee5 user: drh tags: trunk)
09:50
Improvements to the /setup_login_group configuration page. ... (check-in: 4420efdf user: drh tags: trunk)
09:17
Security fix in [7df48cb2995cd775]: Only give the user an anonymous login if anonymous logins are enabled. ... (check-in: d6bbf550 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: 7df48cb2 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: b912690f user: florian tags: diff-word-wrap)
05:21
Fix a JS ternary operator precedence bug to mess up later loaded diff context. ... (check-in: 18c5117b user: florian tags: diff-word-wrap)
2024-08-22
22:48
Improvements to the robot-detection captcha. ... (check-in: 66b111aa 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: 160126c0 user: drh tags: trunk)
19:05
On the /login page, for logged-in users add a link to /cookies. ... (check-in: 6a20a34a 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: 3ef1d06b user: stephan tags: diff-scroll-sync)
11:36
Rename some JS vars for clarity. No functional changes. ... (check-in: abeb57d2 user: stephan tags: trunk)
10:29
Avoid deleting Unix socket files via atexit() from forked HTTP responses, as reported in forum post 11c9b27397. ... (check-in: e0236194 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: dee17d9c 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: faf4b471 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: 668fefe7 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: 60debc7e 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: a8aaed42 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: cadfcba3 user: drh tags: trunk)
13:02
Always apply the robot-restrict setting to self-declared robots. ... (check-in: 398ea9e4 user: drh tags: trunk)
2024-08-14
09:17
Add timeline-hard-newlines to CONFIGSET_SKIN in an attempt to resolve forum post 23d58b1b67. Bring /json/config up to date with the central config option list. ... (check-in: 89388d4c 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: ac446f27 user: drh tags: trunk)
21:26
Improved /taglist page. ... (check-in: 239a3fa3 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: dc15083b user: drh tags: trunk)
2024-08-09
12:13
Tell file_issocket() to always return 0 on Windows builds, as reported in forum post a41fe3d6d0c97b43. ... (check-in: ba884453 user: stephan tags: trunk)
10:32
Doc touchups in /chat. No code changes. ... (check-in: 71414273 user: stephan tags: trunk)
2024-08-08
12:10
Fix misinteraction of the chat send command and the chat search index. ... (check-in: 892dfd2b 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: a913716b 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: 072a8609 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: effdadad user: drh tags: trunk)
20:36
Get the build working on Windows again. ... (Closed-Leaf check-in: d474c95d user: drh tags: unix-sockets)
20:30
Get --socket-owner working. ... (check-in: efc7475e 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: 28de3fab 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: 9f71e5cc user: drh tags: unix-sockets)
2024-08-05
20:23
Add the --unix-socket option to the "fossil server" command. ... (check-in: 7fc29021 user: drh tags: trunk)
15:10
Replace the JavaScript-based side-by-side diff view with a CSS Grid, as discussed in forum post 93398561d3986c41. ... (check-in: 71e9ca78 user: stephan tags: trunk)
2024-08-03
19:54
Remove a redundant comment from the previous checkin. No code changes. ... (check-in: 4172bcdc 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: 87edfb0a 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: 764c50ae user: drh tags: trunk)
2024-07-31
19:54
Resolve the awkward misalignment of consecutive diff chunks, thanks to a hint from forum post 85ab14eecd. ... (Closed-Leaf check-in: c5a4fe54 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: ac965480 user: stephan tags: sbs-diff-css)
11:06
Remove approx. 150 lines of JS related to diff layout and syncronous scrolling. ... (check-in: 61fd1e84 user: stephan tags: sbs-diff-css)
10:57
Correct the placement of the right-side line number column in sbs diffs. ... (check-in: 15139fa8 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 post 24c658568a. No functional changes. ... (check-in: d919a33c 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: 939e8c40 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 post 93398561d3986c41. ... (check-in: 375f2af4 user: stephan tags: sbs-diff-css)
10:56
Spell out "setting" in loadmgmt.md. Forum post 7485b4bf89. ... (check-in: d9099070 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: 1e4202de user: drh tags: trunk)
22:37
Show a summary of robot defenses on the security audit page. ... (check-in: 9018c6f2 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: 3771f2d6 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: dc868311 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: 6b5606d8 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: 503354d1 user: drh tags: trunk)
11:50
Drop all database protection when starting the backoffice. ... (check-in: 5d3f71b0 user: drh tags: trunk)
11:25
Report the phase of operation in error log messages. ... (check-in: 49f676e3 user: drh tags: trunk)
10:54
Add (dir,tree) to the suggested robot-restrict value, per /chat discussion. ... (check-in: c8777eeb user: stephan tags: trunk)
2024-07-28
23:34
Improve the captcha that pops up when a robot is suspected. The captcha page now loads in place of the suspicious request, without needing to redirect. ... (check-in: 1958448c user: drh tags: trunk)
22:21
Remove the LI discs from the /tree view, as discussed in forum post 915412fb926ffccb. ... (check-in: d84eef54 user: stephan tags: trunk)
2024-07-27
19:11
Updates to the recommended value for the robot-restrict setting. ... (check-in: de7bf23a user: drh tags: trunk)
17:28
Simplified interaction on the honeypot. Humans can prove themselves with just two simple clicks when the auto-captcha setting is enabled. ... (check-in: 0e675ad3 user: drh tags: trunk)
14:30
Only apply the complex-request restriction to pages listed in the robot-restrict setting. Deprecate the robot-limiter and robot-allow settings. ... (check-in: cee1af5a user: drh tags: trunk)
10:31
In the default skin, disable the 'disc' view of UL/LI elements for the /dir page. Reported in forum post 915412fb92. ... (check-in: 61e62c02 user: stephan tags: trunk)
10:20
A redirect to the honeypot due to robot complex-request detection also sets the "fossil-goto" cookie with the original URL. If a real users proceeds to login, then a redirect to the complex-request occurs as soon as the login completes. ... (check-in: aa4159f7 user: drh tags: trunk)
2024-07-26
17:49
Add the complex-requests-from-robots limiter. ... (check-in: 1a0b3043 user: drh tags: trunk)
10:49
When doing a "fossil open URL" such that the repository is first cloned and then opened, leaving the repository as a file in the check-out, make sure the repository pathname in VVAR is relative, so that the entire check-out can be moved without breaking the link to the repository. See forum thread f2f5ff2e35031612. ... (check-in: 6e04d9cb user: drh tags: trunk)
05:02
Fixed a typo reported on the forum. ... (check-in: 1b719694 user: wyoung tags: trunk)
2024-07-24
14:47
Update the built-in SQLite to the latest 3.47.0 alpha, including the percentile() and median() extensions in the CLI. Update to the latest Pikchr version. ... (check-in: 4a26cb95 user: drh tags: trunk)
2024-07-23
12:27
Revert a /chat change, introduced in [be01315c86cd2f7d], which causes the Send button to trigger a preview update if the current view is the preview. In practice that's annoying, as the shift-enter and the preview button do the same thing and this change forces a separate click to leave preview mode. ... (check-in: ec6fbe98 user: stephan tags: trunk)
2024-07-22
23:44
Upgrade autosetup to upstream version 0.7.1+. Tested on 3 Linux variants with no regressions. ... (check-in: 370c2639 user: stephan tags: trunk)
23:40
Explicit checkin of autosetup/autosetup-test-tclsh, which the previous checkin again curiously overlooked. Possibly a bug in libfossil's handling of exec-bit-only changes. ... (Closed-Leaf check-in: 5eb29539 user: stephan tags: autosetup-0.7.1)
23:39
Explicit checkin of autosetup/autosetup-test-tclsh, which the previous checkin curiously overlooked. ... (check-in: 5354f5a2 user: stephan tags: autosetup-0.7.1)
23:30
Upgrade autosetup from 0.6.9 to 0.7.1+. Seems to work but need to try it on more systems before merging. ... (check-in: dacbf76c user: stephan tags: autosetup-0.7.1)
2024-07-20
11:43
Consistently use a dash in '--no' options, preserving the no-dash variant for compatibility where it exists. ... (Leaf check-in: d03ed299 user: danield tags: no-x-dash-options)
10:34
Revise a query associated with /tree so that it runs a little faster. ... (check-in: 0e2930f8 user: drh tags: trunk)
2024-07-19
12:53
Add the --nosync option to commands "commit", "merge", and "branch create". See forum thread 592513119fdae69c. ... (check-in: e8a21ab4 user: drh tags: trunk)
2024-07-18
10:22
Wider columns on the /help page, so that longer command names do not overflow the available column width. ... (check-in: b919738d user: drh tags: trunk)
2024-07-15
16:42
Update the TLS doc to mention the use of the Windows root certificates (intented more as a reminder from a non-tech-writer and non-security-expert to properly document the feature once more people have used it and not reported any problems). ... (check-in: b8b22d79 user: florian tags: trunk)
10:42
Reduce the WARNING that the Windows root certificates cannot be loaded to a NOTICE and output it on the same channel as the "Unable to verify SSL cert from ... accept this cert and continue (y/N/fingerprint)?" prompt. ... (check-in: 5d993d54 user: florian tags: trunk)
2024-07-13
08:23
Amend the previous commit: Display a warning on failure to load the Windows root certificates, which may be helpful until the feature has proven to work well. Add a hint how to list the Windows root certificates. Use consistent code style. ... (check-in: de6a0594 user: florian tags: trunk)
2024-07-12
17:50
Enable OpenSSL to use the Windows certificate store. ... (check-in: 6fc64abe user: florian tags: trunk)
2024-07-09
17:30
Use the chat-timeline-user setting when formatting results for chat searches. ... (check-in: 02349c87 user: dan tags: trunk)
15:20
Use the long date format for all messages in the chat search dialog, not just those that match the current query. ... (check-in: 2a3a32ed user: dan tags: trunk)
00:19
Fix for checkin --verbose error reported in forum post 9cd41258f9. Problem introduced in [caa6ad39db443929]. ... (check-in: 77e1f867 user: stephan tags: trunk)
2024-07-08
23:24
Document the empty-string case for the server/ui --skin flag and cgi skin: directive. ... (check-in: 699b9ca5 user: stephan tags: trunk)
2024-07-06
09:33
/chat: when tapping on a #NNNN reference, if the referred-to message is not loaded in the local history then search the chat history for message #NNNN. ... (Leaf check-in: 347084af user: stephan tags: markdown-tagrefs)
2024-07-04
11:06
Minor tweaks to www/unverse.wiki, based roughly on forum feedback. ... (check-in: 2f6d1202 user: stephan tags: trunk)
00:05
Update the built-in SQLite to the latest trunk version for testing. ... (check-in: cd508204 user: drh tags: trunk)
2024-07-03
15:01
Add the application/sql mime type to doc.c. ... (check-in: 7c76c6aa user: stephan tags: trunk)
12:55
Merge trunk into the markdown-tagrefs branch to begin experimentation with tying chat #NNN references into the new search capabilities. ... (check-in: 5e26fd4c user: stephan tags: markdown-tagrefs)
12:38
Add /chat history search. ... (check-in: fc853823 user: stephan tags: trunk)
10:26
Apply the logic in/around [ec68aaf42536b4fb] to the chat search so that it does not abort, and generate an error log entry, when given characters which fts5 does not like. ... (Closed-Leaf check-in: b698ba99 user: stephan tags: fts5-chat-search)
09:35
Remove the incomplete @tag support. Add some sample inputs to the branch/markdown-tagrefs page. ... (check-in: 4d7c408f user: stephan tags: markdown-tagrefs)
09:16
Merge trunk into markdown-tagrefs branch. ... (check-in: 9d3ca32e user: stephan tags: markdown-tagrefs)
2024-07-02
12:04
Chat help text cleanups and add a FIXME regarding connection failure (as opposed to HTTP-level errors) while polling for new chat messages (which is not a new problem, but is one which came up while working on fts5-chat-search). ... (check-in: 4711a8c4 user: stephan tags: fts5-chat-search)
11:23
Add a mention of /chat search to the change log. ... (check-in: 874a1bb9 user: stephan tags: fts5-chat-search)
11:10
Merge the latest trunk enhancements into the fts5-chat-search branch. ... (check-in: b35b293d user: drh tags: fts5-chat-search)
11:03
If the chat search request has an HTTP error, report it. It currently fails without any useful information, beyond the HTTP code, if the query triggers a prepare() error, but that's at least no longer silently failing. ... (check-in: 5ae93fd2 user: stephan tags: fts5-chat-search)
10:33
Add chat search for message by ID using search term #NNNN. ... (check-in: 34493500 user: stephan tags: fts5-chat-search)
09:22
/chat: use the historical timestamp format for main-feed messages and ISO-8601 for search results. Misc. internal cleanups. ... (check-in: 3c53bd32 user: stephan tags: fts5-chat-search)
2024-07-01
18:40
Clean up some harmless stray tokens. ... (check-in: 417bb150 user: stephan tags: fts5-chat-search)
18:36
Ensure that chat search results get placed in the proper parent DOM element (this fixes some layout unsightliness). Remove the DOM elements related to loading more search result context when they have no more results to load. ... (check-in: 2e8f1a9a user: stephan tags: fts5-chat-search)
17:25
Teach /chat search to use the same tokenizer as the main search index, defaulting to porter if the main search index is off, and reindex chat if the tokenizer is changed. The search config should arguably be expanded to provide the option of disabling chat search altogether, but that is beyond today's ambitions. Minor search result layout tweaks but there are still some fixes to do there. ... (check-in: 778efb30 user: stephan tags: fts5-chat-search)
15:49
Do not filter out the chat-robot messages from /chat search, per feedback. ... (check-in: b5281f4e user: stephan tags: fts5-chat-search)
15:22
Use temporary triggers, instead of normal schema triggers, to populate the fts index. Fossil disables schema triggers to prevent malicious uses. ... (check-in: 21d9ea4a user: dan tags: fts5-chat-search)
11:31
Replace the /chat attach button SVG with the corresponding Unicode 6.0 glyph. Not sure why we didn't do that in the first place, as all of the other buttons use emoji icons. ... (check-in: 74479fb5 user: stephan tags: fts5-chat-search)
11:24
Increase the size of the /chat attach button image and fix it to be rescaled in non-dark themes. ... (check-in: ae0940db user: stephan tags: fts5-chat-search)
08:54
Add clear-search option to chat search and code-adjacent cleanups. ... (check-in: be01315c user: stephan tags: fts5-chat-search)
08:32
Remove the lingering JS code for the /chat-search page removed in [e1f6c7f589b4]. ... (check-in: 39496a32 user: stephan tags: fts5-chat-search)
08:11
Remove the now-superfluous /chat-search page. Preliminarily switch to long-format time strings in /chat messages, but that's up for reworking as we decide how we want to handle those. ... (check-in: e1f6c7f5 user: stephan tags: fts5-chat-search)
08:09
Typo fix in /alerts help text. ... (check-in: 62a76161 user: stephan tags: fts5-chat-search)