Timeline
Not logged in

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

132 check-ins using file src/file.c version 9a76e1a44a

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
10:54
Add (dir,tree) to the suggested robot-restrict value, per /chat discussion. check-in: c8777eeb43 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: 1958448c6e user: drh tags: trunk
22:21
Remove the LI discs from the /tree view, as discussed in [forum:915412fb926ffccb|forum post 915412fb926ffccb]. check-in: d84eef54be user: stephan tags: trunk
2024-07-27
19:11
Updates to the recommended value for the robot-restrict setting. check-in: de7bf23a90 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: 0e675ad32c 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: cee1af5a37 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:915412fb92|forum post 915412fb92]. check-in: 61e62c02a1 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: aa4159f781 user: drh tags: trunk
2024-07-26
17:49
Add the complex-requests-from-robots limiter. check-in: 1a0b304307 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:/forumpost/f2f5ff2e35031612|forum thread f2f5ff2e35031612... check-in: 6e04d9cbd4 user: drh tags: trunk
05:02
Fixed a typo [forum:/forumpost/0356ab78b6 | reported on the forum]. check-in: 1b71969475 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: 4a26cb95d5 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: ec6fbe9863 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: 370c263964 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: 5eb2953921 user: stephan tags: autosetup-0.7.1
23:39
Explicit checkin of autosetup/autosetup-test-tclsh, which the previous checkin curiously overlooked. check-in: 5354f5a2d6 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: dacbf76c8a user: stephan tags: autosetup-0.7.1
2024-07-20
10:34
Revise a query associated with /tree so that it runs a little faster. check-in: 0e2930f8e5 user: drh tags: trunk
2024-07-19
12:53
Add the --nosync option to commands "commit", "merge", and "branch create". See [forum:/forumpost/592513119fdae69c|forum thread 592513119fdae69c]. check-in: e8a21ab43c 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: b919738dc5 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: b8b22d795e 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: 5d993d5439 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: de6a059493 user: florian tags: trunk
2024-07-12
17:50
Enable OpenSSL to use the Windows certificate store. check-in: 6fc64abe34 user: florian tags: trunk
2024-07-09
17:30
Use the chat-timeline-user setting when formatting results for chat searches. check-in: 02349c875d 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: 2a3a32edea user: dan tags: trunk
00:19
Fix for checkin --verbose error reported in [forum:9cd41258f9|forum post 9cd41258f9]. Problem introduced in [caa6ad39db443929]. check-in: 77e1f8670d 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: 699b9ca54d 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: 347084af90 user: stephan tags: markdown-tagrefs
2024-07-04
11:06
Minor tweaks to www/unverse.wiki, based roughly on forum feedback. check-in: 2f6d120261 user: stephan tags: trunk
00:05
Update the built-in SQLite to the latest trunk version for testing. check-in: cd50820410 user: drh tags: trunk
2024-07-03
15:01
Add the application/sql mime type to doc.c. check-in: 7c76c6aa73 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: 5e26fd4c10 user: stephan tags: markdown-tagrefs
12:38
Add /chat history search. check-in: fc853823b2 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: b698ba9942 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: 4d7c408f52 user: stephan tags: markdown-tagrefs
09:16
Merge trunk into markdown-tagrefs branch. check-in: 9d3ca32ef7 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: 4711a8c4dd user: stephan tags: fts5-chat-search
11:23
Add a mention of /chat search to the change log. check-in: 874a1bb920 user: stephan tags: fts5-chat-search
11:10
Merge the latest trunk enhancements into the fts5-chat-search branch. check-in: b35b293def 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: 5ae93fd23f user: stephan tags: fts5-chat-search
10:33
Add chat search for message by ID using search term #NNNN. check-in: 3449350042 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: 3c53bd325a user: stephan tags: fts5-chat-search
08:19
For the previous check-in, disable the submit button rather than use alert(). check-in: fe24713a27 user: danield tags: trunk
2024-07-01
18:40
Clean up some harmless stray tokens. check-in: 417bb15064 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: 2e8f1a9a15 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 bu... check-in: 778efb30f7 user: stephan tags: fts5-chat-search
15:49
Do not filter out the chat-robot messages from /chat search, per feedback. check-in: b5281f4e61 user: stephan tags: fts5-chat-search
15:44
For /uvlist, check if any file has been chosen before submitting the form. check-in: 4a8a7742da user: danield tags: trunk
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: 21d9ea4ade 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: 74479fb593 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: ae0940db82 user: stephan tags: fts5-chat-search
08:54
Add clear-search option to chat search and code-adjacent cleanups. check-in: be01315c86 user: stephan tags: fts5-chat-search
08:32
Remove the lingering JS code for the /chat-search page removed in [e1f6c7f589b4]. check-in: 39496a32e6 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: e1f6c7f589 user: stephan tags: fts5-chat-search
08:09
Typo fix in /alerts help text. check-in: 62a7616184 user: stephan tags: fts5-chat-search
2024-06-30
15:44
Add context-loading buttons to /chat search. check-in: 884214d0e3 user: stephan tags: fts5-chat-search
15:11
Basic /chat search is working, but it's missing the load-more-context buttons and appropriate timestamps. Checking in for purposes of dogfooding it on my server. check-in: 7561498cf7 user: stephan tags: fts5-chat-search
13:57
Hook up the event handlers for the /chat search UI. Next up: run the search. check-in: 7f745aa647 user: stephan tags: fts5-chat-search
13:06
Main UI of chat history search for /chat, without the actual search functionality. check-in: 80b869acf9 user: stephan tags: fts5-chat-search
12:22
Fix the 'rebuild' command by adding the missing columns to the schema. check-in: cb3421c493 user: tsbg tags: trunk
11:43
Replace some hard-coded /chat-search styles with project-conventional CSS classes. Minor layout tweaks. check-in: 3b84b4f8c6 user: stephan tags: fts5-chat-search
11:25
Teach stylesheet_url_var() to use the style_set_current_page() value, if set, instead of g.zPage, so that style_set_current_page() can be used to force closely-related pages (namely /chat and /chat-search) to use the same style.CurrentPageName.css, to avoid having to duplicate style sheets. Remove the now-unnecessary style.chat-search.css and port ... check-in: 3bf2275393 user: stephan tags: fts5-chat-search
10:47
Ensure that that the chatfts1 table and triggers are created in the repository db, rather than the main db, else it breaks when running via the ui command (where the checkout is the main db). check-in: cdbdaee642 user: stephan tags: fts5-chat-search
09:59
Extend test-chat-formatter to be able to render both wiki and markdown. check-in: 09ee2c8e71 user: stephan tags: fts5-chat-search
09:25
Elide the chat-timeline-user's entries from /chat-search results. We would ideally elide those from the fts index altogether, but that name can be changed at any time and such a change would leave the fts update trigger out of sync. check-in: 1d64640ec7 user: stephan tags: fts5-chat-search
2024-06-29
22:32
In the /uvlist upload process, use %h instead of %s to render the newly-uploaded file's name. check-in: d1b0ccf157 user: stephan tags: trunk
12:57
Explain what to do in case of SQL errors when creating a new Fossil repository with the '--template' option. Closed-Leaf check-in: be0c4615f6 user: tsbg tags: rebuild-fix
12:54
Add missing columns to the schema during rebuild. check-in: f302d31fd4 user: tsbg tags: rebuild-fix
2024-06-25
18:10
Add ability to upload unversioned files via the /uvlist page. check-in: 2d4fd55fee user: stephan tags: trunk
11:59
Typo and clarity fixes to the new fpp doc. Leaf check-in: 2194b4d13b user: wyoung tags: fpp
09:33
Ensure that the unversioned table exists if an upload is triggered via /uvlist. Closed-Leaf check-in: 3aa57a20b7 user: stephan tags: uv-upload
06:30
Update to the latest pikchr in order to fix the bug in "with .start at ..." positioning. check-in: 390e00134e user: drh tags: trunk
2024-06-24
20:52
Add new page /chat-search, for searching chat history. check-in: 89f82e6603 user: dan tags: fts5-chat-search
20:44
Add a mention of the /uvlist file-upload feature to the change log. check-in: 77fb3d07a8 user: stephan tags: uv-upload
17:22
Finish(?) /uvlist file upload feature. check-in: ecfdf53537 user: stephan tags: uv-upload
06:09
Ensure that the pattern string for search is all lower-case, so that FTS5 keywords like NOT and AND cannot cause confusion and errors. check-in: ec68aaf425 user: drh tags: trunk
02:40
Correct the FDD acronym to be FPP, as it should be. check-in: ce73819d0e user: drh tags: fpp
2024-06-23
19:12
Initial sketch of the ability to upload a new /uv file via an HTML form, per off-list user request. The form is not yet handled. check-in: 152cc642e7 user: stephan tags: uv-upload
18:38
Small help text fix in the unversioned command. check-in: bdc8b4a406 user: stephan tags: trunk
08:31
Capture the idea of "Fossil Push Policy" proposal in a document so that it can be debated and discussed. check-in: 344fd46df0 user: drh tags: fpp
2024-06-19
18:26
Fix a bug in git-export in which the \n at the end of manifest.uuid is omitted. check-in: fc8d476aca user: drh tags: trunk
2024-06-18
05:20
Use auto-coloring for private branches, instead of applying the orangeish default `#fec084', so colors play better with skins and the `fossil publish' command. check-in: ee82746517 user: florian tags: trunk
2024-06-14
00:06
Temporary fix for a bad query plan caused by issues in SQLite. See [forum:/forumpost/6900455c28dcd3da|forum post 6900455c28dcd3da]. check-in: 9866c97b35 user: drh tags: trunk
2024-06-11
18:44
Update the built-in SQLite to a version from the exists-to-join branch in the SQLite source tree, in order to beta-test the exists-to-join optimization. Fossil uses EXISTS operators in the WHERE clause of queries in many places and is therefore a good test case. check-in: b58b30512e user: drh tags: trunk
2024-06-09
10:53
Typo fixes reported in [forum:10167c5f79|forum post 10167c5f79]. check-in: 382a61e327 user: stephan tags: trunk
2024-06-06
08:33
In case the originating IP address for an artifact is missing, display it as 'unknown'. check-in: dbc9e48ebf user: danield tags: trunk
2024-06-05
15:12
Fix the 'describe' command to use only direct ancestors, and add a safety limit on the recursive CTE. check-in: 1cc2da2ee0 user: danield tags: trunk
2024-06-03
06:46
Resolve memory leaks in the SVN import which can cause large imports to hit OOM, reported in [forum:bb19df2426679bfc|forum thread bb19df2426679bfc]. check-in: 93266c5151 user: stephan tags: trunk
2024-05-30
17:24
Update the built-in SQLite to the latest pre-release trunk 3.47.0 for testing. check-in: 44f067d2ad user: drh tags: trunk
11:17
Switch to the msteveb linenoise fork and update to the trunk sqlite3 shell.c to account for that change, per /chat discussion. check-in: d6f8f324ef user: stephan tags: trunk
2024-05-27
13:06
Add the --ii option to the "fossil bisect run" command. check-in: 93c918b6dd user: drh tags: trunk
12:32
Fix the REGEXP operator in SQL so that it returns false if the RHS is not a valid regular expression, rather than raising an error. This prevents strange error pages from being returned if a hacker submits a request that includes an invalid regular expression. check-in: c50da2eaa4 user: drh tags: trunk
11:45
Add a couple missing the's to [d2e89721b3965a7c19bc]. check-in: dcb55e6731 user: stephan tags: trunk
11:43
Make the error message from [05ae1fe2fedcec7] more informative. check-in: d2e89721b3 user: stephan tags: trunk
11:28
Call fossil_fatal() in svn import when trying to import an empty blob, rather than stepping on NULL later. Reported in [forum:15d4b242bda2a108|forum post 15d4b242bda2a108]. check-in: 05ae1fe2fe user: stephan tags: trunk
10:33
Add the "Hacks" and "Non-hacks" log filters. Accessible by admins only. check-in: d700ebff8e user: drh tags: trunk
09:56
Add robustness to decoding of query parameters on the /wdiff page. check-in: 8839378fb0 user: drh tags: trunk
2024-05-26
20:18
Add image/jp2 to the mime types, per forum request. check-in: 2669f492cd user: stephan tags: trunk
2024-05-23
14:52
Add mention of recent enhancements to the change log. check-in: 1bbb0b1316 user: drh tags: trunk
14:26
Update the built-in SQLite to the 3.46.0 release. check-in: 253fc1df76 user: drh tags: trunk
2024-05-21
11:18
Update the built-in SQLite to the first 3.46.0 release candidate. check-in: 2ba99c273b user: drh tags: trunk
2024-05-18
14:12
Relax constraints on PATHINFO names such that the "fossil ui /" command can be used if some repositories have non-ASCII filenames. Response to [forum:/forumpost/ec3ab5b1f5|forum post ec3ab5b1f5]. check-in: 362a7b7c9d user: drh tags: trunk
2024-05-15
21:11
In /chat, add a config option to audibly notify only for the first message received when the tab is not visible, and then remain silent until chat is visited again. check-in: df86fa3357 user: stephan tags: trunk
14:54
Add options to the 'tag' command to list tag values, as suggested by [forum:d4fb9400f9|forum post d4fb9400f9]. check-in: ea1b76bc9a user: danield tags: trunk
2024-05-10
10:02
Fix an uninitialized variable bug introduced by [a080751e5c370833]. check-in: de8f8ceb93 user: drh tags: trunk
2024-05-09
20:55
Fix an uninitialized variable in the previous check-in. check-in: 6e68958586 user: drh tags: trunk
20:52
Change the name of the "cherry-pick" command to "cherrypick", though retain "cherry-pick" as an alias. Extend the "cherrypick" and "merge" commands so that they will accept multiple check-ins to be merged in all in one go. check-in: 67fe38c4fe user: drh tags: trunk
2024-05-08
12:27
Add the d2=, p2=, and dp2= query parameters to /timeline. check-in: a080751e5c user: drh tags: trunk
11:59
Import SQLite 3.46.0-beta-1 for testing. check-in: c09fea3299 user: drh tags: trunk
2024-05-04
11:26
file_directory_size() now unconditionally skips the magic "." and ".." entries. This does not affect current uses of the routine but a proposed patch provided in [forum:383838fbd0b6c881|forum post 383838fbd0b6c881] would be awkwardly affected by them. check-in: 3cb7d39e12 user: stephan tags: trunk