Fossil

Timeline
Login

Timeline

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

656 check-ins using file src/diff.tcl version df2532fd

2024-01-09
18:13
Add tests for fossil update. ... (check-in: 78f3ec4c user: preben tags: testing-improvements)
2024-01-08
09:26
Update pre-commit-warnings-fossil-1 test for running in a fossil checkout without changes. ... (check-in: 0aebc116 user: preben tags: testing-improvements)
2024-01-04
18:03
Add test for Cygwin in rewrite-test-output.tcl. Best results are achieved if testing using fossil.exe instead of just fossil. ... (check-in: c8633580 user: preben tags: testing-improvements)
2024-01-02
22:36
Add a check box to enable searching help pages via the admin UI. ... (Leaf check-in: faf70431 user: preben tags: search-help-pages)
2023-12-17
05:49
When resuming a clone, delete the previous setup user so it can be reset. This also handles the case where a new --admin-user is passed in. ... (check-in: b86d4da5 user: andybradford tags: clone-resume)
2023-12-15
21:10
When rewriting test output, also mask SQLite hash and version. ... (check-in: 7da44faa user: preben tags: testing-improvements)
2023-12-14
19:08
Disable the backoff is in unversioned tests. PArticularly using Cygwin, it can cause test-framework errors for this test and any subsequent tests as the repository cannot be cleaned up if a backoffice process is sleeping. ... (check-in: 7bb273e4 user: preben tags: testing-improvements)
13:51
Fix a number of unversioned tests under cygwin by letting he fake editor convert windows paths to unix paths. ... (check-in: 84d86ba6 user: preben tags: testing-improvements)
13:45
Fix unversioned-1 test under cywing, when testing using fossil.exe. ... (check-in: f313c19e user: preben tags: testing-improvements)
13:41
Fix th1-globalState-15 test under cygwin. ... (check-in: 2060a49f user: preben tags: testing-improvements)
13:38
Fix test th1-tcl-9 under cywing if testing using fossil.exe. ... (check-in: 04ddc700 user: preben tags: testing-improvements)
2023-12-13
08:49
When testing, remove _fossil in temporary home for cygwin. ... (check-in: 71d8cf46 user: preben tags: testing-improvements)
2023-12-11
21:26
Improve on [c028f36de8] and list tests skipped tests due to require_no_open_checkout. ... (check-in: 7a666efb user: preben tags: testing-improvements)
21:23
Before starting tests, switch to tempHomePath. This avoids require_no_open_checkout errors if you start the test inside a checkout (actual tests are done in a temporary repository/checkout anyway). ... (check-in: 381f1ecb user: preben tags: testing-improvements)
21:10
Let th1-docs test run in a test repo by copying the file we need. This avoids running the test in the actual development checkout. ... (check-in: f1f5c4ce user: preben tags: testing-improvements)
20:43
Set FOSSIL_USER in json tests to sort user related output consistently if run as a different user. Eases test result comparisons. ... (check-in: 68ae97d4 user: preben tags: testing-improvements)
20:26
More thorough test output rewrite script. Add an -extra option that cleans up further to make comparisons between e.g. Windows and Unix like systems easier. When testing with -verbose, this gives easy comparable results across Unix like and Windows systems. ... (check-in: 04243843 user: preben tags: testing-improvements)
2023-12-08
15:30
Limit the scope to the error condition to clone operations only for now. ... (check-in: 29e9e84a user: andybradford tags: clone-resume)
14:33
Only output clone retry warning if there is another round to go. ... (check-in: bdd22578 user: andybradford tags: clone-resume)
14:20
The rebuilt string is only regenerated if the manifest changes, so use the mtime of when the rebuild is done instead. ... (check-in: a92fddc0 user: andybradford tags: clone-resume)
13:52
If the clone is interrupted by the user this should constitute an error condition. ... (check-in: 2c8ad9a4 user: andybradford tags: clone-resume)
2023-12-07
19:57
Improvements to the diff algorithm. See forum thread 515e0d43425d7164 for discussion. ... (check-in: a45c7f0a user: drh tags: trunk)
2023-12-05
14:12
Clean up signal includes. ... (check-in: e6da7f08 user: andybradford tags: clone-resume)
2023-12-03
21:36
The th1-expr-3 test revealed that Th_SetResultInt() could produce incorrect result for INT_MIN. Ensure that -1*iVal is positive for all values and remove unsiged casts. Seems a common optimisation problem with gcc on various verisons from 10 through 13 on Linux, NetBSD and OmniOS on various architectures. ... (Closed-Leaf check-in: 4a98d2aa user: preben tags: th-int-min-errors)
20:28
Include termio.h to determine terminal width on OmniOS. Uses __EXTENSIONS__ in line with detection of solaris like systems in auto.def. ... (Closed-Leaf check-in: 32428f12 user: preben tags: omnios-terminal-width)
14:06
In auto.def, set CFLAGS and LDFLAGS with LIBs as further tests may need them. ... (Closed-Leaf check-in: adcbb252 user: preben tags: auto-def-compilation-flags)
2023-12-02
18:30
Use a new pragma requested only in the first clone cycle to track the rebuilt time on the remote server to be able to error out if the rids are rebuilt before resuming a clone. This is currently just a fossilized string but it could instead be a hash of the components to make it more like a "code". Requesting the pragma only at the beginning does not account for the possibility that a rebuild will happen after the clone begins. I find that scenario highly unlikely, but grant that it might be possible. If the remote server does not yet support the pragma the client falls back to using the remote server-code. ... (check-in: 7f116a43 user: andybradford tags: clone-resume)
2023-12-01
22:37
Typo corrections in comments only. No change in functionality. ... (check-in: a8b6fdc8 user: andybradford tags: trunk)
21:22
Just write the value the first time it is seen since there is no need to have the value during the sync (yet). ... (check-in: 15b166df user: andybradford tags: clone-resume)
21:14
Prevent resuming a clone from a different server by preserving the remote server-code and comparing on resume. This is a crude heuristic to determine whether or not it is likely that the remote server still has the same rids. A better heuristic may be to probe the server for known rids that have been received (e.g. each clone seqno that is sent by the server could be recorded and then probed with a pragma request by the client later on). ... (check-in: aa54ea41 user: andybradford tags: clone-resume)
20:31
Prevent the resuming of a clone that does not have the product code. ... (check-in: 63af8da3 user: andybradford tags: clone-resume)
20:17
Minor style change. ... (check-in: d8207954 user: andybradford tags: clone-resume)
20:12
Skip all finalizing until the clone is complete. ... (check-in: 9fa25cd7 user: andybradford tags: clone-resume)
17:55
Try to handle some error conditions better. First, if the clone's first sync didn't bring down any artifacts there isn't likely any point in continuing. Second, if on resuming a clone no artifacts were received, abort. Third, check if the project-code has changed earlier (this might be detected even earlier when the client receives the "push" card). ... (check-in: 17f3408f user: andybradford tags: clone-resume)
04:12
Minor correction in comment. No change in functionality. ... (check-in: 4fdc41bd user: andybradford tags: clone-resume)
03:58
Shorten warning message to fit in a terminal without wrapping. ... (check-in: 5bb6d261 user: andybradford tags: clone-resume)
03:53
Verify that the project-code on resume hasn't changed per discussion in forum post d1a2ed56271602fa and rollback changes if they are different. ... (check-in: ee5b9420 user: andybradford tags: clone-resume)
2023-11-30
06:26
Defer rebuilding the database until the clone is complete. This prevents a lot of unnecessary rebuilding while there aren't enough artifacts to make it worth it. ... (check-in: 333a89bf user: andybradford tags: clone-resume)
04:01
Catch SIGINT during sync so that when pressing ctrl-c during a clone of a large repository it doesn't dispose of all the progress that was made during, thus enabling resume from an user interrupt. When the handler returns, the last sync will complete and then exit the loop. ... (check-in: ad2e1485 user: andybradford tags: clone-resume)
2023-11-29
04:32
Merge in latest from trunk. ... (check-in: 5d12d426 user: andybradford tags: clone-resume)
2023-11-28
22:05
Tiny documentation fix: an extra space before argument to the '--base-rcvid' hook test option made the argument appear on the line describing the option. ... (check-in: cb283ca5 user: km tags: trunk)
19:31
Use signed char for two json timeline functions that may return -1. ... (Closed-Leaf check-in: c42dee86 user: preben tags: signed-chars)
14:58
Fix sort order in json_page_finfo() on systems where char is unsigned. ... (check-in: fd288be3 user: preben tags: signed-chars)
2023-11-27
10:28
Fix typos in unvers.wiki. ... (check-in: 22ee43db user: danield tags: trunk)
06:19
Take advantage of the fact that the seqno is recorded and automatically resume up to three times if failure is encountered. ... (check-in: bc0a4c60 user: andybradford tags: clone-resume)
06:14
Check for valid value from return of function. ... (check-in: 2f0aac8c user: andybradford tags: clone-resume)
2023-11-26
19:07
Fix previous commit: Just fixing amend breaks subsequent tests. As tests should not need input, move the code to the test/tester.tcl. ... (Closed-Leaf check-in: 3b37f7d9 user: preben tags: test-fixes-2.24)
18:18
The amend tests may fail on narrow terminals on systems where the terminal size can be determined when tclsh is running (for me, all but Windows). Closing stdin causes fossil not to wrap output. To avoid fossil complaining about file descriptor zero (which is now used on some systems), temproarily open the script readonly. ... (check-in: 1cb0d57d user: preben tags: test-fixes-2.24)
17:52
Fix merge_renames-13-3 on macOs as the expected a filename under /tmp but the result was under the normalized /private/tmp directory. ... (check-in: f0444376 user: preben tags: test-fixes-2.24)
16:48
Fix json tests that no longer reflects default capabilities for anonymous. ... (check-in: 9ba74ae0 user: preben tags: test-fixes-2.24)
2023-11-25
16:42
Update [4f9cfebf18]: indent the verbatim merge conflict markers in the merge1.test script to avoid check-in warnings for this branch. ... (check-in: 3fc08b76 user: florian tags: test-fixes-2.24)
15:56
Remove description of unsupported option that was removed with [298ccff06c487d035a7] from "fossil all rebuild" command. No change in functionality. ... (check-in: 33fa9155 user: andybradford tags: trunk)
2023-11-24
23:51
Do away with the --resume flag as it is mostly redundant and can be assumed by the presence of the recorded clone_seqno. Suggested by Warren Young in forum post 4bcbb41aab2538d4. ... (check-in: b0a60d8f user: andybradford tags: clone-resume)
22:14
Need to reset the server-code so that the user password is correct. Might as well also reset the project-code. ... (check-in: 61e0ced9 user: andybradford tags: clone-resume)
21:39
Implement the ability to resume a clone that has failed. This is a variation on the attempt made in [ec26471439] that was never completed. The significant difference in the use of the "clone protocol" which uses cfile cards to complete the synchronization rather than the "sync protocol" which takes much longer using the file card. ... (check-in: ee710cc1 user: andybradford tags: clone-resume)
12:59
Update the built-in SQLite to version 3.44.2. ... (check-in: 3f977856 user: drh tags: trunk)
2023-11-22
20:22
Update the built-in SQLite to version 3.44.1. ... (check-in: 2edeeee4 user: drh tags: trunk)
2023-11-20
19:16
On the activity report page, make sure the graph bar with the expected changes for the current week/month is not displayed on a separate line. ... (check-in: 698dc59e user: florian tags: trunk)
18:57
Do not separate timeline entries by an empty line when using custom formatting strings. ... (check-in: 256983fd user: danield tags: trunk)
17:07
Add a button to review a list of hashes to shun. As discussed in 1d54d9965c7e4c00, fossil may accept 40 byte abbreviated hashes from command output, when the intention is to shun the real 64 byte hash. ... (Closed-Leaf check-in: d5c8235c user: preben tags: shun-list-review)
2023-11-19
11:42
Improved description on /timeline pages that make use of tl= or rl=. ... (check-in: e03200e5 user: drh tags: trunk)
2023-11-18
20:41
Add new tl= and rl= query parameters to /timeline ... (check-in: 2288b742 user: drh tags: trunk)
2023-11-17
18:05
Update th1-tcl tests to reflect change from XML style closing hr/ tag to just hr in HTML from change [f5482a0a79]. ... (check-in: 1c637a49 user: preben tags: test-fixes-2.24)
17:47
Add script to rewrite test output for easier comparison of output from different runs.

Invoked with tclsh, the script reads either a file argument or stdin and writes to stdout. ... (check-in: b3f89945 user: preben tags: testing-improvements)

17:44
When testing, sort glob results for consistent test ordering across OSes. ... (check-in: 7fc504d1 user: preben tags: testing-improvements)
17:42
In the symlinks test, this used to require allow-symlinks being set before testing. With the current temporary repositories, it is safe to enable allow-symlinks locally. ... (check-in: dc1836ed user: preben tags: testing-improvements)
17:41
In the th1-docs test, the dirty checkout should be done in the fossil checkout, not the current directory (which the dirty_ckout variable reflects). ... (check-in: 62838cc7 user: preben tags: testing-improvements)
17:39
In unversioned test, cloning with --save-http-password avoid password prompts on macOs, OpenBSD and Linux. ... (check-in: 85b3a600 user: preben tags: testing-improvements)
17:37
List skipped tests in the final summary. ... (check-in: c028f36d user: preben tags: testing-improvements)
17:36
Switch out of temporary test repos to avoid require_no_open_checkout errors when using -keep. ... (check-in: 41f7e90c user: preben tags: testing-improvements)
17:31
When testing, indicate that there was failures using exit code 1. ... (check-in: d92c23d7 user: preben tags: testing-improvements)
2023-11-16
21:27
The symlinks tests are all concerned with files accessed through symlink traversal which has not been allowed for quite a while (I think [4d445ead] is the last change that enforced this).

The test changes now check the reverse condition: traversing symlinks should not work.

To carry out the tests, ensure allow-symlinks is set in the local repo. ... (check-in: d30cd073 user: preben tags: test-fixes-2.24)

19:04
Update transfer summaries in unversioned tests. Summaries changed in [2b8ac4d15b] and [0b7af9d865]. ... (check-in: b94d8c44 user: preben tags: test-fixes-2.24)
12:23
Honour global web-browser setting if running fossil ui with a path to a repository. ... (check-in: 200247bc user: preben tags: trunk)
12:16
Add more information when user encounters an Unresolved RID condition. ... (Closed-Leaf check-in: c04e494d user: preben tags: unresolved-rid-explanation)
2023-11-15
12:26
Add diff test cases for added/deleted files indicated by /dev/null. ... (Closed-Leaf check-in: 33174a3b user: preben tags: diff-deleted-files)
2023-11-14
21:29
Move an invariable test outside a while loop. ... (check-in: b87bd729 user: danield tags: trunk)
20:17
Add search for help pages. ... (check-in: f0b96089 user: preben tags: search-help-pages)
19:38
Add test case for side-by-side xdiff. ... (Closed-Leaf check-in: 54adcdb2 user: preben tags: long-diff-fix)
19:11
Looping over too many triples also seems theoretically possible in contextDiff(). ... (check-in: 8ba47b1c user: preben tags: long-diff-fix)
19:03
An extra long diff may occur in side-by-side or html mode as discussed in [forum post 49cc60131b](https://fossil-scm.org/forum/forumpost/49cc60131b).

When enumerating mxr triples, looping over multiple triples may exceed mxr. ... (check-in: 3c9472e5 user: preben tags: long-diff-fix)

16:14
Enable searching of wiki titles. ... (check-in: a402dd2a user: preben tags: trunk)
2023-11-13
07:40
Fix usage wording for the branch command. ... (check-in: 8e8d1f06 user: danield tags: trunk)
2023-11-11
17:59
Check if markdown paragraphs contains lists. Fixes issue reported in b598ac56defddb2a. ... (check-in: a8782f33 user: drh tags: trunk)
17:49
Suppress compiler warnings associated with jimtcl on OpenBSD. ... (check-in: cd040d1a user: drh tags: trunk)
2023-11-10
14:41
Increase the version number to 2.24 to start the next development cycle. Begin the change log for 2.24. ... (check-in: 9b642594 user: drh tags: trunk)
14:14
Add the x= query parameter to /timeline. Satisfies ticket [208e3fc206af9b61]. ... (check-in: cad7c10b user: drh tags: trunk)
2023-11-07
09:57
Test amend-tag-2.2 expects a case insensitive sorted list of tags since [3500dbfd84]. ... (check-in: 3a463e8f user: preben tags: test-fixes-2.24)
2023-11-05
13:41
Add a comment how to run just a subset of tests. ... (check-in: f5d79188 user: florian tags: test-fixes-2.24)
12:55
Fix th1.test: changed trace log output; changed HTML header; new TH1 commands. ... (check-in: 2660ad0f user: florian tags: test-fixes-2.24)
12:52
Fix stash.test: changed markers for RENAMED files. ... (check-in: cb9106b2 user: florian tags: test-fixes-2.24)
12:50
Fix settings-repo.test: versionable settings can have comments starting with #. ... (check-in: 1d615c9b user: florian tags: test-fixes-2.24)
12:47
Fix settings.test: added new settings. ... (check-in: 2c626bc9 user: florian tags: test-fixes-2.24)
12:46
Fix revert.test: changed markers for RENAMED files. ... (check-in: 4023c799 user: florian tags: test-fixes-2.24)
12:42
Fix merge_warn.test: warning about missing common ancestor changed to merge conflict warning. 👀 ... (check-in: c38c0ff7 user: florian tags: test-fixes-2.24)
12:40
Fix merge_renames.test: warning about missing common ancestor changed to merge conflict warning; changed markers for RENAMED files. 👀 ... (check-in: 34abaf01 user: florian tags: test-fixes-2.24)
12:31
Fix merge4.test: changed merge conflict warnings. ... (check-in: 6c230e88 user: florian tags: test-fixes-2.24)
12:30
Fix merge3.test: changed merge conflict warnings. ... (check-in: 3e619100 user: florian tags: test-fixes-2.24)
12:25
Fix merge1.test: changed merge conflict warnings. (NOTE: this check-in contains files with merge conflict warnings.) ... (check-in: 4f9cfebf user: florian tags: test-fixes-2.24)
2023-11-02
19:40
Improvements to "fossil sync" help text. ... (check-in: 88871c02 user: drh tags: trunk)
19:37
For the "fossil sync" command if the -v option is repeated, then the HTTP_VERBOSE flag is set on the http_exchange() call, resulting in additional debugging output for the wire protocol. ... (check-in: 80896224 user: drh tags: trunk)
12:44
Check if markdown paragraphs contains lists. Fixes issue reported in b598ac56defddb2a. ... (Closed-Leaf check-in: 25028896 user: preben tags: markdown-multiple-sublists)
2023-11-01
18:56
Version 2.23 ... (check-in: 47362306 user: drh tags: trunk, release, version-2.23)
14:13
Update the built-in SQLite to version 3.44.0. ... (check-in: 72e14351 user: drh tags: trunk)
2023-10-29
22:52
Update the built-in SQLite to the first 3.44.0 release candidate, for testing. ... (check-in: e4d2c1d1 user: drh tags: trunk)
22:20
Replicated the server load aveage limit on the robot-defenses configuration page. ... (check-in: a72e9e18 user: drh tags: trunk)
19:19
Fix typos in and otherwise improved the docs for the "fossil all set" command. ... (check-in: 67094bc2 user: drh tags: trunk)
2023-10-26
10:53
Suppress compilation warnings for jimsh0 in autosetup-find-tclsh.

OpenBSD compilation warnings (sprintf(), strcpy() and rand()) goes to stdout and ./configure then uses the warnings as part of the path to execute. ... (Closed-Leaf check-in: c8a1cfb6 user: preben tags: openbsd-jimsh0-warnings)

2023-10-25
14:52
Let "fossil ui repo.fossil" use the web-browser setting, if set. ... (Closed-Leaf check-in: 55985643 user: preben tags: fossil-ui-web-browser)
12:52
Clarity pass on the definition of "Project" in the glossary, removing redundancies and simplifying the illlustrative examples. Also clarified the purpose of the bullet points after each definition. ... (check-in: db667463 user: wyoung tags: trunk)
12:19
Fix the password reset request form so that it passes CSRF security tests. ... (check-in: ce8598b6 user: drh tags: trunk)
11:47
Small tweaks to the gitusers doc ... (check-in: 3bfae230 user: wyoung tags: trunk)
2023-10-24
20:53
Remove stray JS console debug output. No functional changes. ... (check-in: 03bb48a3 user: stephan tags: trunk)
20:27
Attempt to prevent forum FORM elements from a double-submit via stray double-clicks on the various submit buttons, as reported in forum post 6bd02466533aa131. ... (check-in: 600f1713 user: stephan tags: trunk)
12:04
Update the built-in SQLite to the first 3.44.0 beta, for testing. ... (check-in: 39bcd310 user: drh tags: trunk)
2023-10-23
10:44
Remove all calls to sprintf() from makeheaders and mkversion in order to appease prudish compilers. ... (check-in: 8c7bf450 user: drh tags: trunk)
10:21
Update the built-in SQLite to the latest 3.44.0 alpha yet again. This time, also remember to include the "shell.c" source file from SQLite that includes the removal of an "sprintf()" call, thereby avoiding scary MacOS warnings. ... (check-in: 6ac01531 user: drh tags: trunk)
01:47
Squished a potential null pointer dereference in th.c caught by ubsan. ... (check-in: 39cac072 user: wyoung tags: trunk)
01:17
Replaced a few sprintf() calls with sqlite3_snprintf() to squish warnings from Clang on macOS when configured with extra debugging. (These warnings don't normally appear.) There is one left in extsrc/shell.c which needs fixing upstream. ... (check-in: dfa41afe user: wyoung tags: trunk)
00:56
Reworked the handling of "./configure --with-zlib=FOO", yielding several benefits:
  • FOO can now point to both a flat directory as before or to a directory one level up with lib/ and include/ subdirs, as zlib installs to when configured with a --prefix, fixing an issue reported on the forum.
  • The old method would check the default paths before trying what you gave it, preventing local overrides when you know the platform version isn't what you want and you've built from source, then pointed Fossil at the replacement. It isn't always safe or advisable to remove the platform version in this case merely to get Fossil's configuration script to move on and obey your explicit directive.
  • The old method checked for the header and the library in a single step, resulting in unhelpful configure output, requiring that one dig through config.log to figure out what happened.
... (check-in: 9d0b52e2 user: tangent tags: trunk)
2023-10-22
23:46
Update the built-in Fossil to a newer 3.44.0 alpha that fixes the 8-byte alignment problem with duplicated Expr objects, as well as other minor fixes. ... (check-in: 128e5030 user: drh tags: trunk)
2023-10-21
21:38
Update the built-in SQLite to the first 3.44.0 alpha, for testing. ... (check-in: b0db6ddb user: drh tags: trunk)
2023-10-20
16:45
For 'timeline --verbose' with some formatting options, display the list of changed files closer to the check-in info block. ... (check-in: 7e63c86e user: danield tags: trunk)
2023-10-18
12:14
Rename policy setting for private merges to 'unpublished.' ... (Leaf check-in: f2322d90 user: preben tags: warn-on-merging-private-branch)
2023-10-17
11:27
Remove old warning-policy definition. ... (check-in: 1b010f01 user: preben tags: warn-on-merging-private-branch)
2023-10-16
14:37
Add warning-policy setting functionality. ... (check-in: af73acb2 user: preben tags: warn-on-merging-private-branch)
14:33
Implement propagating settings that are sent to clients that pull. The warning-policy is used as example, but not yet applied. ... (check-in: f812fedc user: preben tags: warn-on-merging-private-branch)
2023-10-06
10:41
Simplify handling of /dev/null with external diff commands in [fd359387ca], reveting to using existing temp file naming convention. Also avoids attempting to remove non-temporary files. ... (check-in: be3eb3b8 user: preben tags: diff-deleted-files)
2023-10-05
14:09
With fossil commit -v, indicate added or deleted files in diff output, too. ... (check-in: 30559adb user: preben tags: diff-deleted-files)
13:26
With external diff command, use /dev/null for added or deleted files. Implemented for Unix as I am unsure how Windows diff tools would deal with NUL. ... (check-in: fd359387 user: preben tags: diff-deleted-files)
12:17
After fossil rm, do not read content from disk with fossil diff. This way, fossil diff output reflects what would be committed. ... (check-in: e9379731 user: preben tags: diff-deleted-files)
11:57
Consistently use /dev/null in diff output for added and deleted files. ... (check-in: 200dcdcd user: preben tags: diff-deleted-files)
2023-10-02
12:46
Warn user of before merging private to public, or afterwards with --force. ... (check-in: f3fef43c user: preben tags: warn-on-merging-private-branch)
11:38
Prompt user to publish artifacts when merging a private branch into a public branch. ... (check-in: c0767912 user: preben tags: warn-on-merging-private-branch)
2023-09-29
13:35
merge in hash-admin-user-password ... (check-in: 593e801b user: preben tags: trunk)
13:35
merge in fts-ticket-updates ... (check-in: c0d402fe user: preben tags: trunk)
13:35
merge in fossil-settings-value-only ... (check-in: 0d4a31a9 user: preben tags: trunk)
13:35
merge in find-options-last-arg-fix ... (check-in: ad0b5f0e user: preben tags: trunk)
13:33
merge in filter-branch-ls-by-user ... (check-in: d6cdd955 user: preben tags: trunk)
12:53
Fix self-registration bug created by the enhanced CSRF defense changes. ... (check-in: 6ae99418 user: drh tags: trunk)
06:56
Fixing the long opt broke final short option if expected argument is not present. ... (Closed-Leaf check-in: d8b23d71 user: preben tags: find-options-last-arg-fix)
2023-09-28
18:59
Handle --opt=arg as final command line argument, discussed in a90b5ebd36f4c134. ... (check-in: 9ac38481 user: preben tags: find-options-last-arg-fix)
18:39
Use verify_all_options() with fossil branch ls/lsh. ... (Closed-Leaf check-in: 34e0f681 user: preben tags: filter-branch-ls-by-user)
17:58
Fix find_option() error and badly type --users in argument test. ... (check-in: 119cc37a user: preben tags: filter-branch-ls-by-user)
17:16
Add branch ls --users to list users participating in branches. ... (check-in: 4615e207 user: preben tags: filter-branch-ls-by-user)
14:15
Update to the change log. ... (check-in: e3e28f43 user: drh tags: trunk)
14:13
Changing a setting to an empty string is now the same as unsetting that value, in most cases. Settings that are exceptions to the rule are marked with the "keep-empty" flag. Fix for the issue reported by forum post a17b5fa51d607e3d. ... (check-in: 1f6ae1ef user: drh tags: trunk)
14:08
Minor tweaks to the hash color test page. ... (check-in: 19799565 user: drh tags: trunk)
13:51
The "branch ls" command should flag private branches with -R. ... (check-in: 016f6c5e user: drh tags: trunk)
13:43
Remove an unnecessary while() loop. ... (check-in: 225abb37 user: drh tags: trunk)
13:38
Mark closed leaves with an X on the timeline graph. ... (check-in: 57bea365 user: drh tags: trunk)
13:18
branch ls should also flag private branches with -R. ... (Closed-Leaf check-in: fcb40ac9 user: preben tags: branch-ls-private-fix)
11:40
Reword branch ls description for --self ... (check-in: d66ccf64 user: preben tags: filter-branch-ls-by-user)
10:42
Filter branch ls output by user with check-ins on the branches. ... (check-in: d0f15a1b user: preben tags: filter-branch-ls-by-user)
2023-09-27
19:43
Remove while(1) loop made redundant by [239b4c1362]. ... (Closed-Leaf check-in: f36e8886 user: preben tags: redundant-while-loop)
15:17
Check-mark alternative for closed branches. ... (Closed-Leaf check-in: 62ab3a1d user: preben tags: indicate-closed-branches-in-timeline)
11:24
Draw an X instead of a horizontal line. Uses SVG as attempts with characters differed wildly among browsers. ... (check-in: 63785bd9 user: preben tags: indicate-closed-branches-in-timeline)
05:28
Make the horisontal line for lcosed leafes thinner. ... (check-in: 6c27f413 user: preben tags: indicate-closed-branches-in-timeline)
2023-09-26
13:03
Allow styling leaves of closed branches in /timeline. ... (check-in: e042be53 user: preben tags: indicate-closed-branches-in-timeline)
11:04
Update FTS when creating/updating tickets. Also avoids a stray row with rid 0. ... (Closed-Leaf check-in: fb5d53ec user: preben tags: fts-ticket-updates)
10:20
Generate output at the end of get_stext_by_mimetype() instead of within conditional branches. ... (Closed-Leaf check-in: 3105a0c5 user: preben tags: search-wiki-titles)
10:18
Allow searching for wiki page titles as discussed in 31d8831c2d9809fa. ... (check-in: e6b8cc9f user: preben tags: search-wiki-titles)
2023-09-25
15:47
If the value of a setting is changed into an empty string, then unset it, except for the rare setting that has the new keep-empty property. ... (Closed-Leaf check-in: b9bbb8d7 user: drh tags: unset-empty-settings)
2023-09-19
22:03
Correction of simple typos in patch usage text. ... (check-in: 9b10bf45 user: mgagnon tags: trunk)
11:59
Fix formatting for the help text of the 'branch' command. ... (check-in: 132af984 user: danield tags: trunk)
11:41
Improvements to documentation for the "patch" command. ... (check-in: 14ebbe9d user: drh tags: trunk)
11:31
Improvements to help-text HTML formatting. ... (check-in: ccc780f5 user: drh tags: trunk)
11:19
Updates to the change log. ... (check-in: 5afa42e4 user: drh tags: trunk)
10:42
Fix a harmless compiler warning in SQLite. This is a direct edit to the imported sqlite3.c file, which will be overwritten the next time we update SQLite. But that's ok since the warning is fixed in the SQLite tree too. ... (check-in: ead5a95b user: drh tags: trunk)
2023-09-18
22:27
Whitespace fix in previous ... (check-in: f8bec8f7 user: wyoung tags: trunk)
22:26
Removal of the Tcl example in §5.5 of the containers doc left hanging references in the Python example in a few places. ... (check-in: 40e537e9 user: wyoung tags: trunk)
22:10
Added §5.6 to the containers doc, "Email Alerts," explaining how to get email alerts out by use of the included tools/email-sender.tcl script and the "write mail to DB" feature since the default option (sendmail -ti) won't work by default and it wouldn't be appropriate to make it work besides. This then obviated the earlier half-baked advice on injecting a Tcl environment into the container; the essential point is adequately made by the Python example, so there is no point trying to rescue this plan. ... (check-in: 616a37f4 user: wyoung tags: trunk)
20:43
Merge the CSRF-defense enhancements into trunk. ... (check-in: 920ace17 user: drh tags: trunk)
17:13
Omit the SameSite=strict specifier for the login cookie, since that prevents users from clicking a hyperlink on an email notification and then going directly to the relevant page and getting logged in. ... (Closed-Leaf check-in: fc5b49e9 user: drh tags: csrf-defense-enhancement)
15:36
Set the "SameSite=strict" value on cookies (used for authentication) as a further defense-in-depth against CSRF attacks. ... (check-in: bc643c32 user: drh tags: csrf-defense-enhancement)
15:24
Fix forum-post approval buttons so that they send the CSRF token. ... (check-in: bf9974cf user: drh tags: csrf-defense-enhancement)
15:10
More intensive use of the Synchronizer Token Pattern for CSRF defense. ... (check-in: 0a66be2b user: drh tags: csrf-defense-enhancement)
14:32
Strengthen CSRF requirements for the skin editor. ... (check-in: 6912636d user: drh tags: csrf-defense-enhancement)
14:29
Cleanup forms on the skin editor page. ... (check-in: 5feae3fd user: drh tags: csrf-defense-enhancement)
14:13
Stronger CSRF token based on a SHA1 hash of the login cookie. ... (check-in: ff3746c4 user: drh tags: csrf-defense-enhancement)
13:18
Try to simplify and rationalize the defenses against cross-site request forgery attacks. A hodgepodge of techniques have been used in the past. This changes attempts to make everything work more alike and to centralize CSRF defenses for easier auditing. ... (check-in: 88a402fe user: drh tags: csrf-defense-enhancement)
2023-09-14
08:25
Add the ability for 'branch list' to filter the branches that have/have not been merged into the current branch. ... (check-in: 8ff63db2 user: danield tags: trunk)
08:04
Update the built-in SQLite to version 3.43.1. ... (check-in: 1fea5c2c user: danield tags: trunk)
2023-09-11
21:42
Untangled some awkward grammar in the new doc section ... (check-in: 383f6d4f user: wyoung tags: trunk)
21:39
Backed off on the strength of the disapprobation in the new "Converting Repositories on Windows" doc section, being both unnecessary and possibly wrong. ... (check-in: 3e464b02 user: wyoung tags: trunk)
08:16
Added the "Converting Repositories on Windows" section to the inout doc to cover a problem case involving PowerShell and to give solutions. ... (check-in: 19c347b4 user: wyoung tags: trunk)
2023-09-10
17:34
Fix a bug in [1ef6499a9af8] which caused resolution of certain builtin symbolic names to not resolve. ... (check-in: 7faa1f4e user: stephan tags: trunk)
12:46
Help text typo fix from forum post 987bf1b023. ... (check-in: 0fd4bde7 user: stephan tags: trunk)
2023-09-09
15:09
Add missing mention of forum search in fts-config command. Reported in forum post 6eb7cec6aa. ... (check-in: 71b591af user: stephan tags: trunk)
15:05
Correct inability to use certain commands after doing (open --empty), as reported in forum post 04f86a038c and caused by [4d8c30265b]. ... (check-in: 1ef6499a user: stephan tags: trunk)
2023-09-08
11:43
test-delta-apply help test fix reported in forum post 4c3f5658eb. ... (check-in: dd620944 user: stephan tags: trunk)
2023-09-01
11:36
Eliminate duplicate folders on the /dir page when using the Ardoise skin, caused by [32297dde2bee23] and reported by Martin G. in /chat. ... (check-in: dedfb13b user: stephan tags: trunk)
05:48
Eliminate duplicate folders on the /dir page when using the Blitz skin, caused by [32297dde2bee23] and reported by Martin G. in /chat. ... (check-in: b6bb4a62 user: stephan tags: trunk)
2023-08-31
12:20
Show the complete CGI environment in the error log on a 418 hack attempt error. ... (check-in: 0204f4aa user: drh tags: trunk)
2023-08-30
19:42
Improvements to the tools/codecheck1.c injection-attack static analyzer tool. ... (check-in: 2afff83e user: drh tags: trunk)
19:21
Add new example pikchr to /pikchrshow. ... (check-in: ff1c48a9 user: stephan tags: trunk)
2023-08-29
09:15
On the /dir page, move the file/dir icons so that they are clickable, per request in forum post 65a3bd20f98980b2. ... (check-in: 32297dde user: stephan tags: trunk)
2023-08-27
19:01
On the /docdir page, omit the submenu and other page decorations. ... (check-in: 0313f0f9 user: drh tags: trunk)
18:42
Add the /docdir page which is an alias for /dir with the "dx" query parameter. ... (check-in: 5d7e153f user: drh tags: trunk)
18:15
Add the "dx" query parameter to the "dir" page, which if present causes links to file to use /doc instead of /file. ... (check-in: d4d10c01 user: drh tags: trunk)
2023-08-23
15:57
New Pikchr that fixes text positioning on negative thickness lines. ... (check-in: 2bdd36e4 user: drh tags: trunk)
15:36
Update Pikchr to support zero-thickness objects. ... (check-in: 8ed25a31 user: drh tags: trunk)
2023-08-20
18:07
Update the built-in zlib library to version 1.3. ... (check-in: f1f1d6c4 user: drh tags: trunk)
10:00
Carry forward [368d97869b] to the zlib 1.3 update. (The upstream ticket for [368d97869b] is commented as "Incorporated" and closed, see https://github.com/madler/zlib/issues/684, but doesn't seem to have landed in the zlib release package.) ... (Closed-Leaf check-in: d8f4247b user: florian tags: zlib-update)
09:58
Carry forward [0f8bae079e] to the zlib 1.3 update. ... (check-in: 65583e5b user: florian tags: zlib-update)
09:42
Update the built-in zlib to version 1.3, released on August 18, 2023. According to check-ins [eea86cee3a] and [511ad59ae3], all files from the doc/ and contrib/ada/ subdirectories are excluded. ... (check-in: 97016e7e user: florian tags: zlib-update)
2023-08-18
14:15
Update the built-in SQLite to the latest 3.43.0 beta for testing. ... (check-in: b5aa9f8a user: drh tags: trunk)
13:03
Added "unicode61" to search setup usage message ... (check-in: 9965e1d8 user: wyoung tags: trunk)
12:17
Add fts-config tokenizer unicode61 option. Prompted by forum post a4bfcff66548a1ff. ... (check-in: e180dbb4 user: stephan tags: trunk)
2023-08-14
21:09
Make sure the EmailEvent object is completely zeroed whenever it is allocated. ... (check-in: 33877fa5 user: drh tags: trunk)
2023-08-12
19:24
Update the built-in Pikchr to fix the "same" operator flow-control bug reported on the Pikchr forum. ... (check-in: c21423eb user: drh tags: trunk)
12:24
Update the built-in SQLite to the latest 3.43.0 beta for testing. ... (check-in: 16ee3953 user: drh tags: trunk)
2023-08-08
11:26
Disable rc_reload in the example rc(8) script in the OpenBSD docs. Reloading is unsupported by Fossil such that 'rcctl reload fossil' kills the process. Suggested by James Cook: 73520532dd. ... (check-in: f0e1d0c9 user: mark tags: trunk)
2023-08-05
21:18
Two new notification options: "n" means to be notified for new forum threads only and "r" means to be notified for forum posts that are a reply to a post made by the user. ... (check-in: d4361f6a user: drh tags: trunk)
17:40
Disallow user-choosen UserIDs that begin with "anonymous" or other reserved names. ... (check-in: a7e9dd53 user: drh tags: trunk)
16:55
Fix a typo in a comment. ... (check-in: 19e6905c user: drh tags: trunk)
16:09
Minor wording changes on the /unsubscribe page. ... (check-in: 37f929e3 user: drh tags: trunk)
2023-08-04
13:27
Update the built-in SQLite to fix a bug in json_remove(). This probably does not affect Fossil, but better safe than sorry. ... (check-in: d3c850cf user: drh tags: trunk)
2023-08-03
14:34
Remove an overly aggressive call to cgi_check_for_malice() on the /login page. ... (check-in: 57d3dbb1 user: drh tags: trunk)
12:23
Update to the change log. ... (check-in: 928bac99 user: drh tags: trunk)
11:50
Update the built-in SQLite to the latest code from the SQLite trunk, as a beta test of SQLite. ... (check-in: 23cb5373 user: drh tags: trunk)
2023-07-31
15:20
Update the stale metrics at the bottom of www/aboutdownload.wiki. ... (check-in: c9614f1b user: stephan tags: trunk)
2023-07-28
16:18
Avoid a potential 32-bit integer overflow when doing a diff on large files with large differences. ... (check-in: 5882e9e8 user: drh tags: trunk)
2023-07-25
12:35
Updates to the change log. Various spelling and grammar fixes. ... (check-in: e6569d3f user: danield tags: trunk)
2023-07-24
11:58
Deal with two C++-style comments. No functional changes. ... (check-in: 99ab5cd8 user: danield tags: trunk)
2023-07-23
20:28
Show file sizes the the treeview. Other file browser enhancements. ... (check-in: 73fe442a user: drh tags: trunk)
20:27
Improved CSS for the size field of tree-view. ... (Closed-Leaf check-in: 06ab6d9c user: drh tags: filesize-listings)
19:57
Use the files_of_checkin virtual table to generate the file listings on the /dir page, instead of a bunch of C code that was written before files_of_checkin was invented. ... (check-in: 15d9d5b0 user: drh tags: filesize-listings)
2023-07-22
14:29
Add the option to sort files by size in the tree-view. ... (check-in: dedae5a1 user: drh tags: filesize-listings)
2023-07-21
23:02
Display file sizes in /dir and /tree, as per request in forum post 2a0cd67e77. ... (check-in: fb0b7fe1 user: danield tags: filesize-listings)
2023-07-18
13:36
Improved defense against denial-of-service caused by hackers pounding Fossil with repeated requests that contain SQL injection attempts. If SQL injection is attempted, return a "Begone, Knave!" page with status code 418. ... (check-in: 57f1e872 user: drh tags: trunk)
2023-07-17
12:31
Fix should have gone on the verify-options-cgi branch, not on trunk. ... (Closed-Leaf check-in: d276fd9b user: drh tags: verify-options-cgi)
12:28
Make sure query parameter "t" is marked as isFetched even if it is renamed from "r". ... (check-in: 2b72f337 user: drh tags: trunk)
12:18
In /raw and /secureraw, ensure that the "m" and "at" vars are fetched before the malice check. Typo fix in cgi.c. ... (check-in: 83015b0d user: stephan tags: verify-options-cgi)
12:13
Improvements to the algorithm for detecting likely SQL injection text. ... (check-in: 5d6efeee user: drh tags: verify-options-cgi)
11:44
Improve the error log message for 418 responses so that it includes the name of the offending query parameter. Require whitespace around keywords when trying to detect SQL. ... (check-in: ef1702fd user: drh tags: verify-options-cgi)
2023-07-16
20:55
Fix typo on the 418 status code name. ... (check-in: f39c878f user: drh tags: verify-options-cgi)
20:47
Add calls to cgi_check_for_malice() on many more web pages. Log all 418 responses to the error log. ... (check-in: 40266bf9 user: drh tags: verify-options-cgi)
10:35
Rename verify_all_options_cgi() to cgi_check_for_malice(). Add more comments explaining what the function is intended for. Add calls to cgi_check_for_malice() to a few new webpages. ... (check-in: 5a8063a8 user: drh tags: verify-options-cgi)
2023-07-15
13:57
Add verify_all_options_cgi(), which works similarly to verify_all_options() but only fails if it finds CGI GET/POST arguments which (A) have not been fetched via P(), PD(), or similar, and (B) fail cgi_value_spider_check(). Currently only applied on the /ci page. ... (check-in: a065940a user: stephan tags: verify-options-cgi)
2023-07-13
12:13
Reconcile a test in the FTS search with its original intent in [196dfedf7fc]; reported in forum post fa13ae06d. ... (check-in: e8821162 user: danield tags: trunk)
2023-07-10
12:59
The "fossil repack" command should run VACUUM if either new compression opportunities were found *or* if the freelist count is positive. ... (check-in: 4d9ede80 user: drh tags: trunk)
12:50
In the fts-config command and on the /srchsetup page, show how much space is used by the full-text index. ... (check-in: 5c5e5492 user: drh tags: trunk)
2023-07-09
03:13
Show default value of settings that have a default in 'fossil help SETTING' output. These values are otherwise only documented in the source code. ok stephan, danield ... (check-in: 1e1a319e user: mark tags: trunk)
2023-07-08
18:22
Remove some now-stale auto.def documentation. ... (check-in: bb66461f user: stephan tags: trunk)
18:13
Resolve inadvertent fork caused by two exact-same-second check-ins. ... (check-in: 5cf0da6e user: stephan tags: trunk)
18:11
Update the built-in SQLite to a new version that includes proper "LL" suffixes on all 64-bit integer literals. ... (check-in: 06fb3f81 user: drh tags: trunk)
18:11
Replace --no-compile-commands configure flag with --compile-commands. i.e. make the feature explicitly opt-in, as the automatic guess is breaking builds on some platforms. ... (check-in: 7e9a242b user: stephan tags: trunk)
18:08
Replace --no-compile-commands configure flag with --compile-commands. i.e. make the feature explicitly opt-in, as the automatic guess is breaking builds on some platforms. (Edit: rolling back - contains inadvertent test edits.) ... (Closed-Leaf check-in: fb116a20 user: stephan tags: mistake)
14:36
Update the built-in SQLite to the latest 3.43.0 alpha for testing. ... (check-in: 65c6bda8 user: drh tags: trunk)
2023-07-07
18:23
The cpnode table used for cherrypick timelines should be a TEMP table. ... (check-in: 2478837b user: drh tags: trunk)
11:55
JSON API: mention 'priorName' of renamed files in status report

As discussed with Stephan in /chat. File objects in the renamed case possess a 'priorName' property in addition to the 'name' reported in all cases. ... (check-in: f8d6e8c1 user: mark tags: trunk)

03:17
URL fixes in recent sync.wiki edit ... (check-in: 6fd7e00d user: wyoung tags: trunk)
2023-07-04
18:00
Updates to the sync protocol documentation. ... (check-in: e57613dc user: drh tags: trunk)
2023-07-01
16:51
Update (json status) docs for [771e592b4c59]. ... (check-in: 2868a0ec user: stephan tags: trunk)
16:06
give 'json status' the same rename treatment as recent status work

As reported by larrybr on the forum: 9e9778f2e6, 'fossil json status' reports renamed _and_ edited files as only renamed. This change reports such cases as both edited and renamed, and displays the filename prior to being renamed as well as the renamed path. We now also update the vfile table before generating the status report to ensure the current checkout state is reported. ... (check-in: 771e592b user: mark tags: trunk)

2023-06-30
07:28
Update documentation: check-in name 'start:' can be chained as well. ... (check-in: 36adf66b user: danield tags: trunk)
2023-06-28
12:40
report renamed state when file is both edited and renamed

In `fossil {changes,status}` and the commit description shown in the editor with `fossil commit`, show the original and renamed path annotation if the file has been renamed and edited. Prior to this, the file was only reported as edited, which can be confusing. Reported by James Cook 5a4c530e6b. Discussed with stephan@ and danield@, plus some forum members. While here, make sure we honour the relative-paths setting/option when displaying the original pathname in the renamed case. ... (check-in: ca9d0ddf user: mark tags: trunk)

2023-06-23
22:15
Check-in [bdde964e06128a02] got the test for text/html exactly backwards. ... (check-in: c6115dbf user: drh tags: trunk)
17:40
Unconditionally disable compile_commands.json generation for out-of-tree builds, in an attempt to work around a problem reported in forum post d19061d09a8179. ... (check-in: 35f3e5bf user: stephan tags: trunk)
16:34
Do not show the Close button on forum posts which are pending moderation. ... (check-in: 355a81be user: stephan tags: trunk)
12:29
Use the new octet_length() SQL function in place of length() where it is appropriate to do so. ... (check-in: 604e1a67 user: drh tags: trunk)
11:43
Update the built-in SQLite to the first check-in that supports the octet_length() SQL function so that we can use that function in the Fossil implementation. ... (check-in: 9f8e9cbd user: drh tags: trunk)
2023-06-22
17:09
Do not allow caching of generated HTML content, as such content will usually contain a nonce which ought not be repeated. ... (check-in: bdde964e user: drh tags: trunk)
13:49
enable importing multiple git repos into one fsl repo

This fixes an issue reported by James Cook in d162b6e2dc. Previously, we assumed the fx_git table does not exist when creating a new import, thus the previously untested use case of importing multiple new (read: not incremental) git repos into the same fossil repo failed at this assumption. While here, document the persistent nature of attributions in the import cmd help text; previously, this was only in the online docs: /doc/trunk/www/inout.wiki ... (check-in: 47fb3ddc user: mark tags: trunk)

11:01
Allow more than ~128 MiB in a blob ;) ... (check-in: 1c2c0a1f user: danield tags: trunk)
10:47
Add checks to ensure that Blob allocation sizes are within a legal max range, failing if they're too big, to address 'uv add' misbehavior reported in forum post d5cd3e3c19. ... (check-in: 6efd4194 user: stephan tags: trunk)
08:46
merge build system compilation database generation

Tested on OpenBSD 7.3-current and macOS Ventura 13.4 by me, and also on some Linux machines by stephan@

This automatically generates a compile_commands.json file on machines that support the -MJ clang compiler option, which can be consumed by language server clients. ... (check-in: 91f0f00f user: mark tags: trunk)

2023-06-20
18:44
Avoid logging errors associated with the inability to access the database specified for outgoing email. ... (check-in: 2787a454 user: drh tags: trunk)
2023-06-19
17:37
Rework the elimination of the trailing comma in compile_commands.json to be more platform-portable. ... (Closed-Leaf check-in: 49c53e0b user: stephan tags: compile_commands.json)
13:54
Fix a bug in repo_list_page() that manifests only on 32-bit builds on big-endian CPUs. ... (check-in: 42076cab user: drh tags: trunk)
13:10
Update the built-in SQLite to the latest 3.43.0 alpha code in order to fix compiler warnings on old PPC macs. ... (check-in: aaf6abf6 user: drh tags: trunk)
2023-06-18
23:20
Update documentation to "fossil patch" and "fossil ui" to talk about the algorithm used for locating the fossil executable on the remote host. ... (check-in: d22e2b38 user: drh tags: trunk)
19:58
Omit the PATH= argument to SSH for "fossil patch push/pull" and "fossil ui" when the --fossilcmd option is used. ... (check-in: a35522f8 user: drh tags: trunk)
15:37
Get the -MJ ... flags working for the in-binary objects and generate the top-level compile_commands.json. ... (check-in: e330509c user: stephan tags: compile_commands.json)
13:58
More work on compile_commands.json support. This does not work because the approach of extending CFLAGS with the -MJ flag is incompatible with the build process's use of different compilers for the in-tree tools vs the files compiled as part of the fossil binary. On systems with both gcc and clang, the former group may get built with cc (==gcc) yet inherit -MJ via CFLAGS, breaking the build. This approach appears to be a dead end, but checking it in for later analysis. ... (check-in: 0e6ad145 user: stephan tags: compile_commands.json)
11:16
Initial *incomplete* attempt at integrating compile_commands.json support, for code editors which support it. This is a copy/paste port from the libfossil tree, but lacks one final piece which is difficult to emulate in POSIX make (as opposed to GNU make). Build file changes only, no code changes. ... (check-in: 49278746 user: stephan tags: compile_commands.json)
03:12
fix import handling of git repositories with renamed files

Reported by James Cook in 2b857ded1b: renamed files were shown as a deletion and an addition. This was because the optional 3rd and 4th field in the manifest's F card to indicate renames were omitted, despite having parsed these data from the git fast-export marks. ... (check-in: 7ab1e118 user: mark tags: trunk)

00:46
Always print the SSH command used to implement "fossil patch push/pull". No longer require the -v option to see the ssh command. This is in the interest of full disclosure - letting the operator know what Fossi is doing behind the scenes. ... (check-in: 97ec767f user: drh tags: trunk)
00:22
For the "fossil ui remote:/" and the "fossil patch push/pull" commands, when going over SSH, add the argument "PATH=$HOME/bin:$PATH" to the command line so that the "fossil" executable can be found in the users home directory. This is important on system like Mac where the default PATH for SSH consists of only unwritable directories. ... (check-in: 8cb11640 user: drh tags: trunk)
2023-06-17
20:51
Mention the "all" option in the documentation for "autosync" ... (check-in: 4e7b08c3 user: drh tags: trunk)
14:10
add "renamed" annotation to renamed and changed files in /info

As per James Cook's report in 2b857ded1b, the /info page provided no hint that a renamed and modified file had been renamed, only modified. This slightly changes the annotation to make it clear the file was also renamed. Discussed with larrybr and stephan in /chat. Slight tweak on stephan's suggested phrasing.

ok stephan@ ... (check-in: 495a4d71 user: mark tags: trunk)

2023-06-16
08:15
Update auto.def to MINIMUM_SQLITE_VERSION 3.43.00 to match [2abb23dba8bdc5db]. ... (check-in: cbd27f23 user: stephan tags: trunk)
2023-06-15
19:12
Fix a gap positions vs. adjacent chunks positions mix-up in the diff context loader. The test case to reveal this bug is the 2nd gap of commit diff [d6ddd5bcfa]. Congrats again to Stephan for this smart code! ... (check-in: 8347c4ad user: florian tags: trunk)
12:21
To avoid unnecessary clutter in the error log, do not write timeout message to the error log for timeouts that occur during web-page reply and that use less than one second of CPU time. ... (check-in: af2f7d17 user: drh tags: trunk)
11:58
Use the new timediff() function of SQLite 3.43.0 to refactor the "Duration of Project" line on the /stat page to be "Project Age". ... (check-in: 2abb23db user: drh tags: trunk)
11:26
Document the --errorlog command-line option to "fossil ui". ... (check-in: 1e64c2c1 user: drh tags: trunk)
2023-06-14
14:37
Add the ability for 'branch list' to filter the branches that have/have not been merged into the current branch, per forum request. ... (Closed-Leaf check-in: d6ddd5bc user: danield tags: branch-list-merged-unmerged)
14:29
Remove a longtime obsolete comment in the branch listing routine. ... (check-in: ebe81aa1 user: danield tags: trunk)
2023-06-12
18:24
Update the built-in SQLite to the latest trunk version that fixes a harmless compiler warning. ... (check-in: f8a29b2e user: drh tags: trunk)
09:20
Correct previous check-in to fail fatally if the CSRF check fails. ... (check-in: 37dfb4c8 user: stephan tags: trunk)
08:53
Add a CSRF check for the forum post Close/Re-open button. ... (check-in: 619d5144 user: stephan tags: trunk)
2023-06-10
19:12
Adjust forum-closure docs to match the previous check-in. ... (check-in: 420d6e77 user: stephan tags: trunk)
19:03
Remove the superfluous Close Post option from the forum edit page. ... (check-in: b2f00717 user: stephan tags: trunk)
12:29
Add some docs about closing forum posts to www/forum.wiki. When replying to a post, to not show the Close option at the bottom of the page (as it would apply to the response, which cannot be closed because it has no hash). ... (check-in: c2b38f0a user: stephan tags: trunk)
09:16
Add ability to "close" forum posts. ... (check-in: 673dc38f user: stephan tags: trunk)
09:03
Resolve null-pointer deref when reading an empty .fossil-settings/empty-dirs, reported in forum post 9ff6a143fc. ... (check-in: b1dc25e1 user: stephan tags: trunk)
2023-06-07
12:07
Initial version of the /setup_forum page. ... (Closed-Leaf check-in: b370c189 user: stephan tags: forumpost-locking)
2023-06-06
19:38
Add the forum-close-policy boolean config setting. If true, forum moderators may close/re-open forum posts, as well as reply to closed posts. ... (check-in: 162fc1e6 user: stephan tags: forumpost-locking)
10:52
merge command help text cleanups, based on forum feedback. ... (check-in: edd08ef4 user: stephan tags: trunk)
00:46
Improved documentation of "fossil all whatis" ... (check-in: 401711d4 user: drh tags: trunk)
2023-06-05
19:01
Add the "fossil all whatis" command. ... (check-in: 54849681 user: drh tags: trunk)
2023-06-03
10:27
Fixed a typo in an error message ... (check-in: f25da6ec user: wyoung tags: trunk)
08:59
Merge trunk into markdown-tagrefs branch and resolve conflict. ... (check-in: fdd3fe21 user: stephan tags: markdown-tagrefs)
08:49
Merge trunk into forumpost-locking branch. ... (check-in: 8e7de26a user: stephan tags: forumpost-locking)
2023-06-01
18:02
Admin users have a link in /forumthread to show the hash of all artifacts associated with that thread. ... (check-in: 83928d8a user: drh tags: trunk)
17:18
Increase the version number to 2.23 in order to start the next development cycle. ... (check-in: 9f857c2d user: drh tags: trunk)
2023-05-31
15:26
Version 2.22 ... (check-in: 66ee0beb user: drh tags: trunk, release, version-2.22)
2023-05-29
12:44
Enhance the /reports page to include sub-categories "Merge Check-ins" and "Non-merge Check-ins". ... (check-in: d4058f78 user: drh tags: trunk)
12:44
Improved documentation for the /reports page. Add the latest /reports enhancements to the change log. ... (Closed-Leaf check-in: f71657d5 user: drh tags: non-merge-activity-report)
12:01
Fix an issue with the report labels for merge and non-merge check-ins. ... (check-in: 385d6d14 user: drh tags: non-merge-activity-report)
11:40
Enhance the /reports page to show two new sub-types of activities: "Merge Check-ins" and "Non-merge Check-ins". ... (check-in: 37a80fbf user: drh tags: non-merge-activity-report)
2023-05-27
15:54
Do not allow non-alpha numeric ascii characters into the search pattern. Convert all such characters into a single space. ... (check-in: 196dfedf user: drh tags: trunk)
15:48
Do not allow the "." character inside of FTS5 search strings. ... (Closed-Leaf check-in: 8a7609b1 user: drh tags: typo)
15:02
Fix the captcha-audio page so that it works even without a seed value. ... (check-in: a1178d57 user: drh tags: trunk)
2023-05-26
10:27
Improved documentation of the /reports webpage. Add recent enhancements of /reports to the change log. ... (check-in: 5dc3d2f1 user: drh tags: trunk)
00:43
Also show the projection number of events for the by-week activity report. ... (check-in: 09ca77f7 user: drh tags: trunk)
00:18
In the by-month and by-year reports, for the row that shows the current year or month, included a dashed box that shows the event count projected to the end of the current month or year. ... (check-in: 42ce541d user: drh tags: trunk)
2023-05-23
20:30
Enhancements to SEE integration. ... (check-in: f41cf035 user: mistachkin tags: trunk)
13:47
Remove unused and unreachable code from the activity report generators. Also add extra newlines in the generated HTML so that it is easier to read. ... (check-in: 0b33be99 user: drh tags: trunk)
02:44
Slight alteration of branch renaming help text to clarify functionality based on discussion in forum post 45cdd8874ce1654a. ... (check-in: e053682a user: andybradford tags: trunk)
2023-05-22
23:54
Improved the documentation for quote parsing in globs. ... (check-in: 609bf98b user: wyoung tags: trunk)
23:46
Fix to the prior commit: editing lost a closing "*/" in a comment, yet it compiled with only a warning, and I missed the warning. ... (check-in: c5d287b6 user: wyoung tags: trunk)
22:54
Updated all of "fossil help *-glob" output to refer to the syntax docs instead of repeating the parsing rules in each setting, incorrectly. (If URLs in help output are verboten, then we need to repeat the rules *correctly* in each setting's help.) ... (check-in: 7dc0433b user: wyoung tags: trunk)
22:30
Added a few named anchors to the globs doc, added a mention of the new empty-dirs handling, and improved the internal MD markup style. ... (check-in: b293b265 user: wyoung tags: trunk)
22:23
Brought the globs doc back into line with the underlying implementation, and to mention the new treatement of the empty-dirs setting's value. ... (check-in: 2c0b70eb user: wyoung tags: trunk)
22:11
Switched the empty-dirs setting handler from a one-off parser to glob_create() both so we get consistent behavior across the settings and because glob_create() allows quoted whitespace, needed when asking it to create directories with spaces in them. Addresses this forum report. ... (check-in: f12609fc user: wyoung tags: trunk)
21:32
Updated the function comment on glob_create() to match what it actually does. ... (check-in: c43205d7 user: wyoung tags: trunk)
21:27
Replaced a complicated bit of logic with something slighlty less complicated, having the same effect. The glob parser used a mix of second-clause for-loop testing and internal break and continue checks without any other internal processing inside the loop. Combining all of this into a single expression requires the line to wrap (bad for clarity) but it does make clear all of the conditions required for this loop to continue iterating. I think it's a net improvement in clarity, though the margin is admittedly small. Testing shows no regression in functionality, limiting this non-functional change to a style improvement. ... (check-in: b8789239 user: wyoung tags: trunk)
21:07
Reworked the prior commit's changelog entry to be more accurate and to match preexisting style. ... (check-in: 8ce70b4c user: wyoung tags: trunk)
21:00
Fixed a symmetry problem in the vfile.chnged implementation: it had an explicit check for when a file used to be a regular file and was replaced by a symlink pointing to the same content, but it didn't then check for the inverse case. Since the size and hash checks become nonsense when both files aren't of the same type (whether symlinks or regular files) we have to check for this case, too, else the only way to get the "UNLINK" output from "fossil status" required trickery.

See this forum post for a test case and the trick previously needed to get Fossil to report "UNLINK" as a file's change status. ... (check-in: 4cca9033 user: wyoung tags: trunk)

2023-05-21
16:56
More changes. ... (Closed-Leaf check-in: a62181b4 user: mistachkin tags: enhSee)
03:37
Merge updates from trunk. ... (Leaf check-in: e3df21cd user: mistachkin tags: th1Hash)
2023-05-20
01:53
Fixes to tracing. ... (check-in: 0de3d907 user: mistachkin tags: enhSee)
00:25
Some changes for Windows. ... (check-in: 119f9713 user: mistachkin tags: enhSee)
2023-05-18
23:24
Comment fixes. ... (check-in: 1ff19a46 user: mistachkin tags: enhSee)
21:15
Enhancements to SEE integration. ... (check-in: d72ab729 user: mistachkin tags: enhSee)
17:02
Update Pikchr to omit the artifical enlargement of "mono" text. ... (check-in: b1c0409a user: drh tags: trunk)
16:49
Update the built-in Pikchr to the version that supports "mono". There is an issue with the WASM module yet to be resolved. ... (check-in: 43eefe66 user: drh tags: trunk)
03:31
Fix another compiler warning. ... (check-in: 9182b85b user: mistachkin tags: trunk)
03:04
Fix harmless compiler warnings. ... (check-in: 586967cc user: mistachkin tags: trunk)
01:38
Update custom MinGW makefile. ... (check-in: fcc5a552 user: mistachkin tags: trunk)
2023-05-17
02:01
Update another potentially misleading reference to wiki format in check-in comments. ... (check-in: 0f6526cb user: stephan tags: trunk)
01:55
Add a note that check-in comments currently assume fossil-wiki text format. Prompted by forum post 485ae77a61d04a26. ... (check-in: d6de7f2e user: stephan tags: trunk)
2023-05-16
12:49
Update the built-in SQLite to version 3.42.0. ... (check-in: b2d5aa8a user: drh tags: trunk)
2023-05-15
16:43
Potential fix for [746a5106f92287036c12c945d9d7358a1263301e]. ... (check-in: d6a4ab22 user: stephan tags: trunk)
2023-05-13
20:47
Translate the Accept-Language HTTP header into the HTTP_ACCEPT_LANGUAGE CGI var. This part is missing from [7e77e29d1646]. ... (check-in: 926a27c6 user: stephan tags: trunk)
18:31
Moved the "sync is all-or-nothing" section of the gitusers doc above the autosync section. The order of those two isn't important, and it's better that autosync flow immediately into the new "reset" section without this as a digression. ... (check-in: b47b96a0 user: wyoung tags: trunk)
18:30
Clarity pass on the new material in the Autosync section of the gitusers doc. ... (check-in: cc55044b user: wyoung tags: trunk)
14:21
Add HTTP_ACCEPT_LANGUAGE to the environment vars passed on to /ext CGIs, per request in forum post 6674089de55e25cc. ... (check-in: 7e77e29d user: stephan tags: trunk)
14:07
Correct mishandling of -tk, -by, etc. flags to the (patch diff) subcommand. ... (check-in: c55f0d91 user: stephan tags: trunk)
2023-05-12
16:50
Account for emscripten change which broke pikchr-worker.js: stackAlloc() now requires explicit export. ... (check-in: fc8d306a user: stephan tags: trunk)
14:05
Added a link from the new "git reset" example in the intro of the gitusers doc to the new section where we address the matter. ... (check-in: 84955715 user: wyoung tags: trunk)
13:32
Clarity pass on the autosync section of the gitusers doc ... (check-in: 80963ffe user: wyoung tags: trunk)
13:21
Added a new section "Resetting the Repository" to the gitusers doc, following and relying on the two recently-updated sections. ... (check-in: bd7b1099 user: wyoung tags: trunk)
12:26
Update the built-in SQLite to the latest 3.42.0 beta for testing. ... (check-in: b2a29bf4 user: drh tags: trunk)
12:19
Added a motivating example to the "Autosync" section of the gitusers doc, showing why it's better to let the software system resolve conflicts asynchronously than to force Alice and Bob to fight it out, moving the synchronization point out into the human-time workflow. ... (check-in: 8975e8da user: wyoung tags: trunk)
11:38
Clarified the "Sync Is All-or-Nothing" section of the gitusers doc, adding a reference to the cap-theorem doc and dropping the "eventually-consistent" buzzword to explain *why* it's all-or-nothing. ... (check-in: 35b2307f user: wyoung tags: trunk)
2023-05-11
12:28
Made the msmtp mention in the alerts doc more concrete now that we have a verified tester. ... (check-in: ea74c83a user: wyoung tags: trunk)
2023-05-10
18:40
Removed all of the XML-style " />" tag closing markers on empty tags such as "hr", "br", and "input" to placate modern HTML5 validators. That's the doctype we declare, not XHTML, so we should conform. (Besides which, the XHTML dream is dead.) ... (check-in: f5482a0a user: wyoung tags: trunk)
17:51
Small fix to previous ... (check-in: 5537d9c2 user: wyoung tags: trunk)
17:50
Replaced use of the obsolete (because presentational) "center" tag in the docs with CSS equivalents. ... (check-in: 4d21ec88 user: wyoung tags: trunk)
17:36
Added an alt attribute on the home page's Fossil logo ... (check-in: ccf117fe user: wyoung tags: trunk)
17:23
Fixed a manual section numbering duplication in the delta encoding algorithm doc. ... (check-in: d83f2490 user: wyoung tags: trunk)
17:20
A prior edit to the quickstart doc left a vestigial version of the "Making and Committing Changes" section behind, resulting in duplicate information and a second h2 section with the same fragment ID. Some differences existed between the two presentations, so merged them rather than nuke the smaller (presumably older) one outright. ... (check-in: 39beee4c user: wyoung tags: trunk)
17:02
In an effort to make www/* source documents read as cleanly as their rendered counterparts, replaced nearly all use of HTML "p" tags, relying instead on the Wiki and Markdown markup features to achieve the same appearance. The only uses remaining are:
  • in Markdown nested lists, where blank lines should render the list items as separate paragraphs just as at the list's top level; since it does not, if you want a line break, you either have to wrap the item in "p" tags or do the double-br hack.
  • in Wiki where blank lines within a list give you a separate list in the HTML output; this is fine for bullet lists, but with numbered lists it causes the numbering to restart unless you do the same sort of manual HTML workaround as with the prior item
  • in plain HTML docs and wiki docs between "nowiki" tags

In many places, this cleanup gets rid of pointless stray "p" tags, placating HTML verifiers. ... (check-in: 1fd407f6 user: wyoung tags: trunk)

15:32
Stray character deleted ... (check-in: 0cb4f1fc user: wyoung tags: trunk)
14:20
Replaced use of HTML "p" tags in the fiveminutes.wiki doc with hard line breaks, letting the wiki language add the same "p" tags on output. Replaced some of them with "tt" tags instead to make command text stand out from the prose. Added "tt" tags elsewhere for consistency. ... (check-in: 262eb510 user: wyoung tags: trunk)
2023-05-09
21:44
Fix sub-command parsing in order to have the "gdiff" subcommand of the "patch" command working. ... (check-in: ec782260 user: mgagnon tags: trunk)
2023-05-08
14:12
Display FQDN on sync only when the verbose flag is on. ... (check-in: cc34f3cf user: danield tags: trunk)
2023-05-06
20:21
Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". ... (check-in: a0b0d8f9 user: wyoung tags: trunk)
19:48
Set permissions on /bin/fossil inside the container to 755, not 700. Docker doesn't care since it runs everything as virtual-root, but Podman does. Also, it complicates the extraction of a static binary since you probably didn't want it set to 700 root:root out on the host, too. ... (check-in: 260efac1 user: wyoung tags: trunk)
19:04
Assorted cleanups to the Dockerfile: disentangled use of /tmp for building and creation of the eventual contents of /etc, dropped an unnecessary directory hierarchy level, removed an unused variable, whitespace fixes, etc. No functional change. ... (check-in: f9bd6273 user: wyoung tags: trunk)
05:41
Typo squish in the server doc section's index page ... (check-in: 4158e5e2 user: wyoung tags: trunk)
2023-05-05
14:40
Update the built-in SQLite to the latest 3.42.0 beta for testing. ... (check-in: 71ed8cbd user: drh tags: trunk)
12:56
For sync operations, also display the FQDN of the remote, if available. ... (check-in: 99b09b94 user: danield tags: trunk)
2023-05-03
13:23
Add SUMMARY and DETAILS HTML elements to the list of allowable wiki/markdown tags, per request in forum post f9559dbac03810. ... (check-in: 35df3e6a user: stephan tags: trunk)
11:03
Made the URL matcher more specific in the nginx doc when showing how to get long expiration times on URLs known to yield unchanging content so we can drop the warning about it affecting URLs more likley to change. Added a second example for images, CSS, JS and such to show how you might handle these differently, addressing the core issue by example than by prose warning. ... (check-in: f77ab197 user: wyoung tags: trunk)
10:00
Added a bit more advice about caching to previous, and fixed a whitespace problem. ... (check-in: 4d5a6477 user: wyoung tags: trunk)
09:56
Improved the caching configuration recommended in the nginx doc to show the option for immutable content service for /artifact, /doc, /file, and /raw URLs, which are likely to contain hashes that make the URLs unique identifiers for particular versions of the referenced content. ... (check-in: 1d0d6986 user: wyoung tags: trunk)
07:08
Tiny tweaks to the systemd doc ... (check-in: 0835ec45 user: wyoung tags: trunk)
06:23
Added a paragraph to the unvers doc on the "y" capability. ... (check-in: faffd271 user: wyoung tags: trunk)
06:17
Modernized the URL format in the unvers doc: using an actual (reserved) domain name instead of the vague "domain", showing it as "https" since "http" is widely deprecated, and using "tt" tags around it to make it stand out from the surrounding sans-serif text and to prevent it from breaking across word-wrap boundaries. ... (check-in: d1a3dda6 user: wyoung tags: trunk)
06:15
Edit pass on the unvers.wiki doc, primarily to replace passive voice phrasing with active voice. Made a few clarifications and grammar tweaks atop that. ... (check-in: fef0ade9 user: wyoung tags: trunk)
2023-05-02
16:17
Update the change log with all the most recent enhancements. ... (check-in: 13c5e417 user: drh tags: trunk)
2023-05-01
20:43
Update the built-in SQLite to the first 3.42.0 alpha version for testing. ... (check-in: a6cc3da4 user: drh tags: trunk)
2023-04-25
22:09
Converted the hand-crafted footnotes in the "Image Format vs Fossil Repo Size" doc to use the new Markdown affordance. ... (check-in: 389e3fb9 user: wyoung tags: trunk)
2023-04-24
14:33
Clarify that backslashes in the help text of commands/webpages must be escaped for correct processing by mkindex.c. ... (check-in: 5c8f5575 user: danield tags: trunk)
2023-04-22
18:53
Enhance the s= query parameter (search) on /timeline so that it also searches the forum post content if the vfx query parameter is present. ... (check-in: ea688fa6 user: drh tags: trunk)
16:01
Add the oldestfirst boolean query parameter to the /timeline page. ... (check-in: ee8d34f5 user: drh tags: trunk)
15:18
Fix a pointless limitation in /timeline that prevented a= and b= from working if the u= query parameter was used. The limitation appears to be a copy/paste error dating from 2014. ... (check-in: 2925484c user: drh tags: trunk)
14:46
Tweak the previous commit and put extra headers at the end. ... (check-in: 39192715 user: florian tags: trunk)
10:47
Update dependencies in the MSVC makefile so that changes to command help texts and built-in files are picked up. ... (check-in: c2f56d2b user: florian tags: trunk)
10:38
Update the makemake.tcl script to match the checked-in versions of the generated makefiles. ... (check-in: 3e83c6a9 user: florian tags: trunk)
2023-04-20
16:21
Fix build by escaping the backslash in the help text of test-strip-comment-lines. ... (check-in: cbfaec58 user: danield tags: trunk)
12:12
Mention comments in the document about glob patterns. ... (check-in: 9558bf82 user: danield tags: trunk)
12:02
In versioned settings, make again possible for globs to begin with a hash by escaping it (i.e. such lines should start with '\#'). ... (check-in: 6d2dbf98 user: danield tags: trunk)
2023-04-19
11:56
Improved the systemd guide's points about `podman generate systemd`. ... (check-in: ac30c2d9 user: wyoung tags: trunk)
11:55
A few more small tweaks to the containers doc ... (check-in: 117cf4ff user: wyoung tags: trunk)
11:39
Reordered a few sections in the container customization section to flow better and reduce redundancy. ... (check-in: bb189d17 user: wyoung tags: trunk)
11:29
Moved the sectio about elaborating the container runtime layer down into the section of the doc where we talk about other customizations. Its prior location was because it was a tangent off a prior point, but it's just as easy to jump down via hyperlink. Assorted other small improvements while in there. ... (check-in: 301d4f21 user: wyoung tags: trunk)
10:45
Add supporting comment lines in versioned settings to the changelog. ... (check-in: 4ed98a99 user: danield tags: trunk)
07:19
Allow comment lines (starting with '#') in versioned settings. ... (check-in: ef633d4b user: danield tags: trunk)
01:46
Produce merge conflict mark during merge when file exist in current version and in version to be merged, but not in common ancestor. ... (check-in: 7c75e47b user: mgagnon tags: trunk)
00:46
Add an admin/debug flag to the forum which enables the user to skip sending of notifications for a given new post or edit. ... (check-in: 3f6aa946 user: stephan tags: trunk)
00:44
Only honor the fpsilent flag if the user has g.perm.Debug, to avoid that malicious parties inject that flag via the browser dev tools. ... (Closed-Leaf check-in: b8ab407f user: stephan tags: forum-skip-notification)
00:29
Prototype/proof-of-concept implementation of an admin flag for the forum which tells it to not send email notifications for a given edit or new post. ... (check-in: 65062c29 user: stephan tags: forum-skip-notification)
2023-04-18
17:47
Extend FTS index support to enable selection of different tokenizers, to support searching of Chinese content. ... (check-in: 0e5d27fe user: stephan tags: trunk)
17:45
Add FTS tokenizer selection to the /srchsetup page. ... (Closed-Leaf check-in: 9e52f8c0 user: stephan tags: fts5-trigram)
2023-04-17
21:50
Merge latest changes from trunk. ... (Closed-Leaf check-in: 88a76afc user: mgagnon tags: merge-conflict-when-no-file-on-pivot)
20:13
Replace another leftover use of the word 'stemmer' and clean up end-of-line whitespace in the change log. ... (check-in: bcff4d81 user: stephan tags: fts5-trigram)
18:35
Replace a leftover use of the word 'stemmer' and add mention of the trigram tokenizer to the change log. ... (check-in: 6a085807 user: stephan tags: fts5-trigram)
17:25
Initial (and incomplete) work to extend FTS5 search to support the trigram tokenizer, per forum post bc458aea069c29ae5d. TODO is the addition of the trigram option in the UI-level search configuration. ... (check-in: 06c99b83 user: stephan tags: fts5-trigram)
2023-04-16
13:13
Merge trunk into forumpost-locking branch. ... (check-in: 0af37104 user: stephan tags: forumpost-locking)
2023-04-14
15:31
Squelch an unitialized var warning from gcc 12.2.1 on Alpine Linux. ... (check-in: 3783a24e user: stephan tags: trunk)
2023-04-13
07:01
Typo fix in capabilities.c, reported in forum. ... (check-in: 0df0586a user: danield tags: trunk)
2023-04-10
20:23
Update the built-in SQLite to the latest trunk version for testing. ... (check-in: 2eb2077c user: drh tags: trunk)
08:46
Do not save the password for syncing operations if the user denied the save password prompt or if the FOSSIL_SECURITY_LEVEL environment variable is ≥1. ... (check-in: 2916ec97 user: florian tags: trunk)
2023-04-03
18:58
Allow comment lines (starting with '#') in versioned settings. ... (Closed-Leaf check-in: fc2a4dcc user: danield tags: allow-versioned-settings-comments)
2023-04-01
16:49
Added the CENGINE abstraction between `docker` and `podman` in the Makefile's container convenience targets. ... (check-in: 72d82404 user: wyoung tags: trunk)
16:41
Removed all the "BBXVER" stuff in the containers doc now that we aren't fetching the BusyBox sources and building a custom version to install outside the jail. ... (check-in: b1416554 user: wyoung tags: trunk)
15:52
Update the built-in SQLite to the latest trunk version (pre-3.42.0) for testing. ... (check-in: 2516fca7 user: drh tags: trunk)
2023-03-31
18:49
Updated the Podman docs to no longer talk about all the "sudo" stuff we used to have to do to get it to build and run. There are no more mknod calls to fail in that rootless environment. ... (check-in: 779cb8fd user: wyoung tags: trunk)
2023-03-30
18:14
Updated the container size info in the Fossil v Git doc to track recent developments. ... (check-in: 283b1a42 user: wyoung tags: trunk)
14:51
Commit [cda5d6a7] invalidated the BusyBox steps in the Tcl and Python examples in §3.2 of the containers doc. ... (check-in: ddcdc6f3 user: wyoung tags: trunk)
08:15
Update the list of versionable settings in the documentation. ... (check-in: 0f9224e9 user: danield tags: trunk)
2023-03-28
13:29
Using "FROM busybox" in the second stage of the Dockerfile instead of "FROM scratch" plus a copy of the busybox.static binary installed via APK in the first stage. We're throwing this layer away in the third stage, so the difference is immaterial. This simplifies things without losing anything we care about. ... (check-in: cda5d6a7 user: wyoung tags: trunk)
00:02
Post-sleep edit pass on the new material in §3.2 of the containers doc. ... (check-in: d21fb267 user: wyoung tags: trunk)
2023-03-27
13:41
Add the ft=TAG query parameter to /timeline which, in combination with d=Y shows all descendants of Y up to TAG. Implementation of enhancement request [eadfb8c2ffa9fe03]. ... (check-in: 64f141fc user: drh tags: trunk)
07:24
Refined the Tcl and Python examples in the new §3.2 of the container doc. ... (check-in: 9baa4423 user: wyoung tags: trunk)
06:33
Switched to a split ENTRYPOINT/CMD scheme for launching the Fossil server in the container. The immediate need is so we override lower-level ENTRYPOINTs provided by mix-in layers, but it's more correct generally. ENTRYPOINT says this is the hard-coded purpose of the container, and CMD gives the arguments to that command. The split is therefore between the mandatory parts and the parts the user might want to override without needing to write their own Dockerfile. ... (check-in: deb99e22 user: wyoung tags: trunk)
04:59
The container now uses BusyBox only in the build and setup stages, leaving just the static Fossil binary in the final stage, plus absolute necessities like a /tmp directory.

This removes the justification for the custom BusyBox configuration, which then means we can use Alpine's busybox-static package in the second stage, saving a bunch of network I/O and build time.

That in turn means we no longer have any justification for jailing the Fossil binary, since there's nothing extra left inside the container for it to play with. Doing this required bumping the Dockerfile syntax back up from 1.0 to 1.3 to get the "COPY --chmod" feature; tested it in Podman, which has had it for two years now.

Doing all of this simplifies the Dockerfile and its documentation considerably. As a bonus, it builds quicker, and it's nearly a meg lighter in compressed image form. Especially for the case of using the container as a static "fossil" binary builder, this is nothing but win. ... (check-in: 79ac06a5 user: wyoung tags: trunk)

2023-03-26
23:54
Do not render "Check-ins" button within a submenu of /tktview, /tkthistory, /tkttimeline and /info pages, unless a user actually has a capability to read check-ins. This should prevent confusion and save some screen space. ... (check-in: c04c814e user: george tags: trunk)
2023-03-24
15:22
For the bt=Y query parameter in /timeline that is used in conjunction with p=X, if Y is a tag then search backwards in time for Y beginning with X. Fix for ticket [ed62a4d35332595a]. ... (check-in: 507ebd8b user: drh tags: trunk)
10:21
Comment and whitespace tweaks ... (check-in: 81c30ab9 user: wyoung tags: trunk)
08:27
Switched from a Dockerfile "ADD" command to wget for the BusyBox source tarball because, surprisingly, BuildKit pulls the URL unconditionally under the logic that it can't know whether to cache the pulled data until it has a copy to compare against! This not only means you pull the BusyBox source tarball for each container build even though it's tagged and thus cannot possibly change, it puts a load on GitHub which then causes it to begin throttling each pull, making your local builds slower and slower when iterating on a change set, as in the prior set of commits. By pushing the URL down into a wget command, we cause BuildKit to see an unchanging shell script line (assuming $BBXURL keeps its default) so it *does* cache the pulled layer. ... (check-in: ac955594 user: wyoung tags: trunk)
08:13
Another fixup to the nojail patch to track the previous. (Can't reliably create these patches without having a committed version to diff against, alas.) ... (check-in: c9e4b3d2 user: wyoung tags: trunk)
08:07
Dropped our canned /etc/os-release file entirely, recommending instead that those who need a VM-like container image switch the second stage from "scratch" to one of Google's "distroless" images, which provide that and more. That in turn gets rid of the need for the dummied up /usr/bin and /run, which simplifies the mainstream case. ... (check-in: d778a023 user: wyoung tags: trunk)
07:43
Updated the nojail patch so it applies cleanly atop all these recent Dockerfile changes. No functional change; merely tracks changes in the context parts of the diff. ... (check-in: 2bdd5819 user: wyoung tags: trunk)
07:03
Tiny clarity tweaks to the Dockerfile. No functional change. ... (check-in: 591e3eb9 user: wyoung tags: trunk)
05:23
Removed a reference to /etc/os-release from stage 2 of the Dockerfile. Commit [4cb5c03e] took care of stage 1 only. ... (check-in: 4b41a7f8 user: wyoung tags: trunk)
05:20
Switched from "adduser" and "addgroup" commands for setting up the "fossil" user to direct echo-into-output, same as we already do for the root user. We had to to it for root since the BusyBox implementation of adduser/addgroup won't create these files if they're missing, but that meant we had two different ways of creating users and groups. This not only removes a weak dependency, it's more consistent. ... (check-in: fff11fc6 user: wyoung tags: trunk)
05:17
Added the interactive debugging shell command to the Quick Start section of the containers doc for easy cut-and-paste. ... (check-in: 2f014407 user: wyoung tags: trunk)
2023-03-23
18:03
URL and whitespace fixes to previous. ... (check-in: 9e73519c user: wyoung tags: trunk)
16:40
The /etc/os-release workaround for nspawn's pickiness has caused the feature to go into negative ROI territory. Ripped it out of the mainstream process and made it a manual step for those who need it, in the hopes that this will cause fewer ongoing problems than leaving it as it is. ... (check-in: 4cb5c03e user: wyoung tags: trunk)
15:51
Dropped declaration of Dockerfile syntax version from 1.4 to 1.0. Put it at 1.4 when we were using heredocs, a feature that went from experimental to stable at that version, then failed to drop it back when we replaced the use of heredocs with externally generated files to regain Podman compatibility. ... (check-in: 5b62bfe1 user: wyoung tags: trunk)
15:42
Linked to the Dockerfile from the top of the containers doc. ... (check-in: 2210c15d user: wyoung tags: trunk)
14:52
Use a more appropriate link in the above document. ... (check-in: aacd3714 user: danield tags: trunk)
14:48
Correct two broken links in the 'Fossil vs. Git' document. ... (check-in: f8baa04b user: danield tags: trunk)
2023-03-19
14:25
CSS tweak for disabled submit buttons in darkmode skin, based on forum feedback. ... (check-in: 081194bb user: stephan tags: trunk)
2023-03-17
12:28
Update the built-in SQLite to the first 3.41.2 beta, for testing. ... (check-in: 36b17e51 user: drh tags: trunk)
11:50
CSS tweaks for the Blitz and Aroise skins to make it more apparent when Submit buttons are disabled. Based on forum post 4cbd254480d00dd2. ... (check-in: c0f62386 user: stephan tags: trunk)
2023-03-16
02:08
Produce merge conflict mark during merge when file exist in current version and in version to be merged, but not in common ancestor.

Related forum discussion including test script: f035bbc8461da6d2. ... (check-in: 04e1674c user: mgagnon tags: merge-conflict-when-no-file-on-pivot)

2023-03-15
12:42
A blitz skin forum CSS tweak from 224044aa2d8d2 to give visited links in the thread list a slightly different color. ... (check-in: 68e9acb8 user: stephan tags: trunk)
10:40
(x)diff --context N, where N is a negative value, is now treated as infinite, per off-list feature request. ... (check-in: 16d3d8b0 user: stephan tags: trunk)
10:35
Forum listing CSS tweaks prompted by 3d350d67b6e836. ... (check-in: 0aae0ef5 user: stephan tags: trunk)
2023-03-14
17:18
Add the --out option to the "cat" command to specify an output file - only if a single historical file is requested. ... (check-in: 8975472d user: danield tags: trunk)
14:16
Slight CSS tweak to the darkmode skin's forum listing, based on forum post 9a6f4c039d82, intended to make the have-been-visited links stand out a bit better. ... (check-in: d2c93a41 user: stephan tags: trunk)
14:07
Correct a directory name in skins/README.md which was made invalid via code restructuring. ... (check-in: e6ef1977 user: stephan tags: trunk)
2023-03-13
20:58
Renamed the new "Capabilities" glossary entry to "Capability" since we shouldn't be using a plural top-word entry even though they're defined, transported, stored, and otherwise treated as a group. Also replaced a use of this word in its own definition. ... (check-in: d3f45814 user: wyoung tags: trunk)
20:44
Moved the "snapshot" term in the glossary down into a footnote because it's got assorted problems, making it a much worse overall synonym for "version" even than "UUID". ... (check-in: 733ef88a user: wyoung tags: trunk)
19:54
Expanded the "version/revision/UUID/snapshot" discussion in the glossary into a separate term since these aren't strict synonyms for "check-in", the definition which previously hosted this topic. ... (check-in: 58030a78 user: wyoung tags: trunk)
19:00
Added a new glossary item "Capabilities" to introduce the term and distinguish it from "Permissions", and made several changes to the referenced document to reinforce this distinction and explain why we bother to make it. ... (check-in: 23b91f37 user: wyoung tags: trunk)
2023-03-12
21:10
Add a note to 'fossil uv' help that sync requires 'y' permissions on the remote. ... (check-in: 2eef3acd user: stephan tags: trunk)
2023-03-11
23:49
Give the correct way to figure out the temporary directory used under Windows. ... (check-in: 4e688dc0 user: danield tags: trunk)
13:10
Show the argv array on the /test_env page if the requestor is Admin. ... (check-in: 4350f326 user: drh tags: trunk)
11:23
Minor code re-org of previous checkin. ... (check-in: 2a4b604d user: stephan tags: trunk)
11:05
Add a 'Max' field to the forum thread list, analog to the one in /timeline, and remember that value as part of the display prefs cookie. Per request in forum post 113ee6f241b84403. ... (check-in: 2ee93fc0 user: stephan tags: trunk)
2023-03-10
23:06
In the Windows server document, provide a command to get the temporary path location as used by Fossil. ... (check-in: 1f184d0e user: danield tags: trunk)
19:48
Revise "Fossil as a Windows Service" page to provide tip on avoiding poor interaction with virsus scanning. ... (check-in: 6b43913e user: larrybr tags: trunk)
19:17
Improvements to the new security-audit feature that shows the command-line that launched the process that generated the web page. ... (check-in: 5caa3c5c user: drh tags: trunk)
18:13
Show the command-line on the security-audit page. ... (check-in: 5ab5469a user: drh tags: trunk)
15:40
On Windows, write the temporary server files to a subfolder, allowing for easier exclusion from antivirus scanning. ... (check-in: 364337be user: danield tags: trunk)
2023-03-09
16:23
Update the built-in SQLite to the first 3.41.1 beta, for testing. ... (check-in: 782a7f98 user: drh tags: trunk)
2023-03-07
15:40
Remove superfluous makeheaders-targeted declaration of markdown() from markdown.c, since this made it appear twice in the generated header files. ... (check-in: bb583b0c user: danield tags: trunk)
14:23
Change default anonymous user perms for new repos from 'hmnc' to 'hz', per discussion at forum post c6326072f3e6b270 and /chat. ... (check-in: ddabf09f user: stephan tags: trunk)
13:00
Make the no-op rendering callbacks in backlink.c type-compatible with the declarations in mkd_renderer, doing away with a theoretically possible undefined behavior and the related compiler cast warnings. ... (check-in: d3434fd8 user: danield tags: trunk)
12:40
CSS tweak to make long hashes wrap in narrow /chat views. ... (check-in: 8a401c20 user: stephan tags: trunk)
2023-03-03
14:34
Resolve incorrect value being sent with the SMTP EHLO header when sending notification mails, per discussion in forum post f183ab47a7beee47. ... (check-in: e7a5b985 user: stephan tags: trunk)
13:05
Minor updates to the schema docs for the tagxref table. No functional changes. ... (check-in: 3037be63 user: stephan tags: trunk)
2023-03-02
20:20
Refactor the "repack" command to call extra_deltification() routine directly. ... (check-in: 9c1f486f user: drh tags: trunk)
17:24
The recommendation to configure Fossil with the --static flag is semi-obsolete, and the following advice to look further down in the same document for the Docker workaround was wholly obsolete since moving all of this into the dedicated containers.md doc. Fixed all this up, and linked to the "why" answers on Stack Overflow about all of this in a few more places. ... (check-in: d282e42c user: wyoung tags: trunk)
17:13
Merge trunk into forumpost-locking branch. ... (check-in: 27c3423e user: stephan tags: forumpost-locking)
14:10
Prototype for one approach to linking forum posts to other artifacts (initially check-ins). Adds the --forumpost HASH flag to the ci command, which adds a forumpost/FULL-HASH tag to the checkin for later use in /info and forum post views. For ease of use, this probably needs to be adapted to map only to the first version of a forum post, as is done in the forumpost-locking branch, once that branch is merged with trunk. ... (Closed-Leaf check-in: 3e5d23da user: stephan tags: ci-link-formpost)
10:26
An equivalent of the patch proposed in forum post f183ab47a7beee47 to resolve the argument sent to smtp EHLO, reducing it from an email address to the domain part of the address. ... (Closed-Leaf check-in: be4815b1 user: stephan tags: smtp-ehlo)
2023-02-28
05:41
The /zip and /tarball built-in help now makes clear that the VERSION/ part of the URL is optional to help avoid confusions like we're seeing in the forum post that sparked this sequence of improvements. ... (check-in: 4717db33 user: wyoung tags: trunk)
2023-02-27
12:31
Make similar improvements to the documentation for /zip and /sqlar. ... (check-in: 9eadac20 user: drh tags: trunk)
12:25
Attempt to clarify the documentation of the /tarball URI. ... (check-in: 7cd1ebd0 user: drh tags: trunk)
2023-02-25
22:14
Correct 2.21 change log link to point to 2.21 instead of 2.20. ... (check-in: 1eb545a1 user: stephan tags: trunk)
22:11
Update version to 2.22 for the next dev cycle. ... (check-in: e13f7ca4 user: stephan tags: trunk)
20:44
Documentation for "fossil all remote". ... (check-in: 6ad6c559 user: drh tags: trunk)
19:23
Version 2.21 ... (check-in: f9aa4740 user: drh tags: trunk, release, version-2.21)
2023-02-24
23:39
Move forumpost close/re-open controls around. Add, if appropriate, a Close/Re-open button to the thread view, but only for the currently-selected post. ... (check-in: ecc324b6 user: stephan tags: forumpost-locking)
23:38
In /admin_log, add rowid DESC to the ORDER BY so that entries with the same timestamp predictably sort newest-first. ... (check-in: 914c6b5a user: stephan tags: forumpost-locking)
17:14
Fix a harmless compiler warning in gzip.c. ... (check-in: 9b05cad1 user: drh tags: trunk)
2023-02-23
18:47
Fix a harmless compiler overflow warning. ... (check-in: 2fd158fc user: danield tags: trunk)
2023-02-22
06:09
Minor CSS tweaks to closed forum posts. ... (check-in: 3078ff46 user: stephan tags: forumpost-locking)
04:46
Rework forumpost closure to always apply to the first artifact in an edit chain to enable consistent behavior across the whole chain and responses to arbitrary versions within that chain. Add rudimentary UI elements for closing/re-opening posts, but their layout needs to be revisited (noting that they need to be in a separate form from the main editor so that closing/re-opening introduces only a smalll control artifact instead of a whole forumpost artifact). ... (check-in: cc6ca4e1 user: stephan tags: forumpost-locking)
00:09
Clarified one of the 2.21 changelog entries. (Started as fixing a typo.) ... (check-in: 86c4e6bf user: wyoung tags: trunk)
2023-02-21
23:34
Update the built-in SQLite to the 3.41.0 release. ... (check-in: 6d88833f user: drh tags: trunk)
10:30
Initial (untested) code for creating the control artifact for closing and re-opening forum threads. Extend test-forumthread's tree view to show thread closure. ... (check-in: 32fc62e6 user: stephan tags: forumpost-locking)
09:52
Add db_add_unsent() and replace numerous "INSERT OR IGNORE INTO unset" statements with that. ... (check-in: 98d4ee73 user: stephan tags: forumpost-locking)
08:47
Coding style tweaks. ... (check-in: 9fc70f6f user: stephan tags: forumpost-locking)
03:58
Correct inability of forum users to delete their own pending-moderation posts. ... (check-in: 19333c8a user: stephan tags: trunk)
03:49
Closed forum threads can no longer be edited by non-admins. Fix broken ability of non-builtin users to delete their own pending-moderation post. UI controls for closing/reing-open threads are still TODO. ... (check-in: 8f02c1d4 user: stephan tags: forumpost-locking)
01:58
Add capability to determine whether a given sub-thread inherits a lock from a parent. Re-label "locked" to "closed" per /chat feedback. ... (check-in: 464f4d17 user: stephan tags: forumpost-locking)
00:52
Initial bits for "locking" forum (sub)threads using a "closed" tag. This currently affects the display but does not hinder edits made via malicious misuse because the pieces needed for such validation do not yet have access to the relevant ForumPost objects. ... (check-in: 4d664bfe user: stephan tags: forumpost-locking)
2023-02-20
14:58
Change the typedef of u32 in search.c so that it works in older PPC macs. ... (check-in: f82caec5 user: drh tags: trunk)
2023-02-17
14:57
Fix a multitude of harmless compiler warnings. ... (check-in: 53db40e6 user: drh tags: trunk)
14:37
A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (Closed-Leaf check-in: c71f711e user: stephan tags: compiler-warnings)
2023-02-15
11:26
Reverted half of commit [4ad86dd5]: it incorrectly moved a CSS style instead of copying it to where it also needed to be. The user-visible effect was that centered Pikchrs varied in size according to their size and complexity, which meant that elements that should've been the same size weren't. ... (check-in: 5ad62aba user: wyoung tags: trunk)
05:16
Cleaned up a few inconsistencies in the Pikchrs in the branching doc in an attempt to fix the smaller-and-smaller diagram size problem currently occuring in this doc. ... (check-in: 239fb5b1 user: wyoung tags: trunk)
2023-02-14
20:54
Updated the PBKDF2 recommendations in the backup doc to track recent changes in best practice due to all these GPU computing fleets coming online. Added a few paragraphs explaining the limits to all of this and why we chose the passphrase lengths we did as examples. ... (check-in: 6a3d6fa6 user: wyoung tags: trunk)
11:42
Update the built-in SQLite to the latest 3.41.0 beta for testing. ... (check-in: 7b505774 user: drh tags: trunk)
2023-02-10
17:38
Add a PD_NoBot() check to /timeline, based on spider attack records. ... (check-in: 3fa6f8f0 user: stephan tags: trunk)
2023-02-09
21:00
Update the change log. ... (check-in: a64ef5ef user: drh tags: trunk)
20:09
Add the "repack" command as an alias for "rebuild --compress-only". ... (check-in: dd6a88da user: drh tags: trunk)
19:45
The extra-delta-compression step now reports the number of new deltas added and the bytes of storage space saved using those deltas. ... (check-in: 59e21eb3 user: drh tags: trunk)
16:16
Updates to the change log. ... (check-in: 7449a10f user: drh tags: trunk)
2023-02-08
16:59
Further improvements to the attack-spider detection mechanism. ... (check-in: eb7fad0c user: drh tags: trunk)
16:41
As a performance optimization, only do the SQL-injection detection for user "nobody". Improved comment on cgi_value_spider_check() to better explain what this subsystem is all about. ... (check-in: 00ae2391 user: drh tags: trunk)
16:32
Test command for the SQL-injection detection routine. Possible performance improvements as well. ... (check-in: d3cb62f7 user: drh tags: trunk)
14:54
Update the built-in SQLite to use the latest 3.41.0 alpha version that includes new efforts to silence nuiscance compiler warnings. ... (check-in: 05fa1c3c user: drh tags: trunk)
13:35
Fix a couple of -Wextra compiler warnings. ... (check-in: 3afeef3f user: danield tags: trunk)
2023-02-07
16:50
Rename AntiSpider to NoBot, for brevity's sake. ... (check-in: fa279798 user: stephan tags: trunk)
16:48
Rename P_NoSQL and PD_NoSQL to P(D)_AntiSpider to make their intent clearer and the names more generic. ... (check-in: 91d13592 user: stephan tags: trunk)
16:28
Merge spider-sql-detection branch into trunk, per /chat discussion. ... (check-in: 534c10f6 user: stephan tags: trunk)
16:24
Apply the spider SQL check to the diff URL argument of the /vdiff page. Improve some related docs. ... (Closed-Leaf check-in: 936c122f user: stephan tags: spider-sql-detection)
16:18
Inititial draft of an attempt to intercept certain SQL injection attacks recently seen made against fossil repos. Its effect can be seen by visiting: /vdiff?from=trunk&to=trunk&w=drop ... (check-in: 61a608a2 user: stephan tags: spider-sql-detection)
2023-02-06
13:37
Make the --nossl and --nocompress server options available for CGI requests. ... (check-in: 39152623 user: florian tags: trunk)
2023-02-03
15:59
Fix another harmless compiler warning reported by Clang-15. ... (check-in: de184889 user: danield tags: trunk)
15:15
Attempt to fix various harmless compiler warnings reported by Clang-15. ... (check-in: e486a0ac user: drh tags: trunk)
14:59
Update the built-in SQLite to the latest trunk version that attempts to fix various harmless compiler warnings reported by the new Clang-15. ... (check-in: ea57625d user: drh tags: trunk)
14:32
Add the /deltachain page, indented for analysis of the delta compression and future improvements to that algorithm. There are links to the delta chain on the /timeline and /finfo when the showid query parameter is used. ... (check-in: 00c62a11 user: drh tags: trunk)
07:21
prefill the tktnew page email field with user emailaddr

If the logged-in user has a valid email address in their contact-info, use it to prefill the email field in the /tktnew page when submitting a new ticket. As discussed in /chat, enhance the Fossil builtin find_emailaddr() SQL function--suggested by wyoung@--to parse strings for well-formed email addresses not necessarily wrapped in <...>. Requested by jose i cabrera on the forum. ... (check-in: f974583f user: mark tags: trunk)

00:31
Enable SELECT statements for the ticket_schema_auth() authorizer. This is required for the new FTS5 search and the fts5_api_from_db() routine. ... (check-in: 3fe8a8cd user: drh tags: trunk)
2023-02-01
14:35
Do not export private artifacts to git. ... (check-in: fbd3b583 user: danield tags: trunk)
2023-01-31
10:41
Use a faster query when checking for private artifacts. ... (Closed-Leaf check-in: 25a6ba26 user: danield tags: git-export-omit-private)
10:11
Do not export private artifacts to git. ... (check-in: 40abd839 user: danield tags: git-export-omit-private)
10:07
Small correction in the usage text for 'fossil git'. ... (check-in: 1aa3188e user: danield tags: trunk)
2023-01-27
20:42
Add a link to the /intermap page for Interwiki Map keywords on the setup menu. ... (check-in: bb189a15 user: drh tags: trunk)
15:40
Update the built-in SQLite to the latest 3.41.0 alpha, for testing of SQLite. ... (check-in: 0f30113b user: drh tags: trunk)
2023-01-26
01:46
Refactor how the IF NOT EXISTS check is performed on the repository.admin_log table, per request from drh. ... (check-in: 2da6010b user: stephan tags: trunk)
2023-01-25
13:59
More updates f() to f(void). ... (check-in: 46ddf0e8 user: danield tags: trunk)
00:30
More updates of func decls f() to f(void). ... (check-in: 5dd632eb user: stephan tags: trunk)
00:25
More updates of func decls f() to f(void). ... (check-in: 9c5952be user: stephan tags: trunk)
2023-01-24
21:25
Upgrade FTS search from v4 to v5. ... (check-in: c3c4ef16 user: stephan tags: trunk)
19:01
Add initial infrastructure for being able to resolve 'ckout' uniformly in certain contexts, per /chat discussion. ... (check-in: 4d8c3026 user: stephan tags: trunk)
16:34
Make all variable declarations C89 compliant. ... (Leaf check-in: 462eb0cc user: drh tags: ui-local-diff)
14:36
The search logic now works correctly (I think) regardless of whether the repository uses a legacy FTS4 index or a newer FTS5 index. This allows the Fossil binary to be upgraded on systems without disrupting the search feature and without requiring a search index rebuild. The search index is automatically upgraded to FTS5 the next time the search index is rebuilt. ... (Closed-Leaf check-in: a07e6b87 user: drh tags: search-fts5)
03:59
Wrapping a few calls to vfile_check_signature() from the new local diff code in unprotect/pop call pairs to squish a DB protection error. ... (check-in: 1b3ef05e user: wyoung tags: ui-local-diff)
03:29
Brought the ui-local-diff branch up to date relative to trunk. It isn't a simple merge, primarily due to all the changes to /vdiff and /fdiff made over the past 2 years. It seems to work as well as it originally did, but it isn't ready to merge down to trunk as-is. ... (check-in: 76fa1657 user: wyoung tags: ui-local-diff)
03:26
Remove some end-of-line whitespace. No functional changes. ... (check-in: 8307133b user: stephan tags: search-fts5)
03:18
Replaced a standalone "diffFlags" variable in the /fdiff handler with use of the new DiffConfig.diffFlags member. No functional change, just a code cleanup found while working on another branch. Making it on trunk to keep that branch's diffs minimal. ... (check-in: 65d97f23 user: wyoung tags: trunk)
02:57
Replace FTS4 with FTS5, per forum post d05b1855aa. This has been only lightly tested and might require a repo rebuild (or that we rename the associated tables/views rather than recycle them). ... (check-in: c1933caf user: stephan tags: search-fts5)
2023-01-23
00:12
Add /json/settings/get and set APIs, per discussion in forum post 04b7159d63d4abe4. ... (check-in: a80f2748 user: stephan tags: trunk)
2023-01-22
22:01
Remember the chosen type of artifacts that are shown at /timeline page as a display preference. This amends the initial behavior introduced on 2017-11-29 with the 'sticky-timeline-style' branch. ... (check-in: 61bd0c9b user: george tags: trunk)
18:35
Fix appearance of a chat-only view: eliminate redundant gap between the vertical scrollbar and the right edge of a window. ... (check-in: d3c0206e user: george tags: trunk)
2023-01-21
12:14
Merge trunk into markdown-tagrefs branch. ... (check-in: baf038b1 user: stephan tags: markdown-tagrefs)
11:40
Make diff --checkin VERSION capable for working from outside of a checkout. ... (check-in: 8e8e0269 user: stephan tags: trunk)
10:50
Improve scroll width calculation for unified diffs. ... (check-in: 7a76111f user: florian tags: trunk)
01:13
Remove bootstrap skin, per discussion in forum post aa02d7443d446211. Clients with that skin selected will automatically be switched to the default. ... (check-in: e1ef9347 user: stephan tags: trunk)
2023-01-20
10:42
Simplify the loop to enumerate table columns to the left. ... (Closed-Leaf check-in: faadb48d user: florian tags: udiff-hscroll)
04:25
Add /json/settings/set. Replace several free() calls with fossil_free(). Work around json_send_response() being called twice in some CLI-based cases. ... (Closed-Leaf check-in: 4d2aeb29 user: stephan tags: json-settings-command)
00:11
Add docs for /json/settings. ... (check-in: f302b9bc user: stephan tags: json-settings-command)
2023-01-19
23:44
Roll back a broken part of [f3d3d1be59728b5dde702a] which caused only versioned settings' values to be fetched. ... (check-in: c7221a2e user: stephan tags: json-settings-command)
23:38
Correct (non-)fetching of sensitive properties for (non-)Setup users. ... (check-in: f3d3d1be user: stephan tags: json-settings-command)
23:32
Restructure /json/settings/get output from an array of objects to a map of objects, keyed on setting name, per forum discussion. ... (check-in: d0bf9682 user: stephan tags: json-settings-command)
12:15
Firefox ≠ Chromium ... (check-in: dbffb2fa user: florian tags: udiff-hscroll)
11:52
Compensate for the outer border. ... (check-in: 2c0d4352 user: florian tags: udiff-hscroll)
11:36
More accurate scroll width calculation for unified diffs (looks better for SQLite diffs with up to 5-digit line numbers). ... (check-in: 337b297c user: florian tags: udiff-hscroll)
02:55
For sensitive settings, always explicitly set value and valueSource to null for non-setup users (or if they aren't set), to avoid the possibility of downstream clients perhaps picking up inherited properties in their place, depending on their programming environment. ... (check-in: 451cda04 user: stephan tags: json-settings-command)
02:39
Extend /json/settings/get with a version=X flag indicating the check-in version to check for versionable flags in before falling back to either the checkout or repository. List sensitive properties for all users but elide their values for non-setup users (previously they were elided altogether for non-setup users). ... (check-in: fd405e95 user: stephan tags: json-settings-command)
01:01
Add missing 'void' to no-arg function decls and impls throughout the JSON API. (In my defense: the distinction between f(void) and f() was unknown to me at the time that code was written.) ... (check-in: 632dfd26 user: stephan tags: json-settings-command)
2023-01-18
00:54
Initial prototype of the /json/settings/get command/page, per discussion in forum post 04b7159d63d4abe4. ... (check-in: 29e5bb00 user: stephan tags: json-settings-command)
00:47
Fix a memory leak of the path to a versioned-setting file in print_setting(). ... (check-in: c76b0019 user: stephan tags: trunk)
2023-01-17
20:40
Small fix to the nojail patch; accidentally lost the [80faedbc] change in the shuffle. ... (check-in: 7a6cf9dd user: wyoung tags: trunk)
20:37
Removed the two "mknod" calls from the Dockerfile in the nojail patch used by Podman rootless containers. Not only is the build user not allowed to run mknod in that case, there will be a /dev tree mapped into the container, causing the commands to fail due to these two basic dev nodes preexisting. ... (check-in: d97a8fb1 user: wyoung tags: trunk)
20:35
No longer running "fossil" with a relative path ("bin/fossil") at the end of the Dockerfile, but instead relying on the hard-coded PATH defined a few sections prior. This allows the same command to work for both the rootful and rootless cases since moving the binary into /usr/bin/fossil to placate nspawn. Before, it was /jail/bin vs /bin, so the difference netted out to nothing. ... (check-in: 80faedbc user: wyoung tags: trunk)
20:32
Fixed a copy-paste error in the Podman sections of the container doc: was using "docker" commands instead of "podman" in a few places. That'll work for people who aliased them, but it's confusing. ... (check-in: 6eefa9b0 user: wyoung tags: trunk)
06:29
Removed use of UPX in the container build process. It complicates the build for a tiny gain while breaking ARM builds. We worked around the ARM-on-ARM case earlier, but it also breaks x86 cross-compilation on ARM. Images are already compressed, and while `upx -9` is stronger compression than whatever Docker Engine is using, it's a small advantage. This does mean the static executable isn't compressed any more on x86, but if you want that, you can UPX it afterward. ... (check-in: da545c9e user: wyoung tags: trunk)
05:28
Generating the /etc/os-release file for the OCI container using autosetup at configure time rather than from a build arg in the Dockerfile at image creation time. This lets us back out the use of heredocs in the Dockerfile, which isn't supported in Podman at all as of this writing and under Docker requires use of BuildKit rather than the legacy "docker build" mechanism.

The primary consequence of doing it this way is that the Fossil version number in that generated file becomes the configure-time version, unconditionally. The old way let you override the FSLVER variable at image build time and have that value put into the os-release file. Under this new scheme, you now have to run "/jail/bin/fossil version" to find out what version of Fossil got baked into the image. ... (check-in: ec8ef573 user: wyoung tags: trunk)

2023-01-16
18:14
Update the built-in SQLite to the latest 3.41.0 alpha version in order to silence harmless compiler warnings and for general testing of SQLite. ... (check-in: cdd89e2d user: drh tags: trunk)
15:37
Roll back the part of [71a2d68a7a113e7c] which automatically updates the user display prefs cookie, per /chat discussion. Updating the cookie once again requires an explicit udc URL arg or setting the skin, which implies udc. This fixes the problem that a timeline link from the /reports page persistently sets the default timeline entry count to the value used by that report. ... (check-in: 5feac634 user: stephan tags: trunk)
2023-01-13
18:38
Backout change on "login-group join" command which broke the usage of it outside an opened checkout (using -R flag). Change usage text to match the command behavior properly when using the -R flag. ... (check-in: edf03559 user: mgagnon tags: trunk)
16:52
Modernized several old fossil-scm.org URLs, changing "http" to "https" where absolute URLs are necessary, and using site-relative URLs otherwise. Also found and fixed a reference to fossil-scm.hwaci.com, which doesn't seem to resolve any more. ... (check-in: 143f1db7 user: wyoung tags: trunk)
16:35
Removed pointless "udc=1" parameters from a few Fossil file links from the docs. ... (check-in: 40d912ae user: wyoung tags: trunk)
14:55
Remove ":443" from the end of the hostname for HTTPS requests. ... (check-in: add3f520 user: drh tags: trunk)
14:34
Use the hostname as the report IP when doing SSH synchronization. ... (check-in: 0b7af9d8 user: drh tags: trunk)
13:09
Documentation and change-log updates. ... (check-in: a90d3aa1 user: drh tags: trunk)
2023-01-11
18:07
Enable horizontal scrolling for individual text blocks in unified diffs. Forum Post 91c3e7854c and the following. ... (check-in: 603816d2 user: florian tags: trunk)
07:56
Enable horizontal scrolling for individual text blocks in unified diffs. ... (Closed-Leaf check-in: 15ba7e61 user: florian tags: udiff-hscroll)
03:06
merge latest change from trunk. ... (Closed-Leaf check-in: 5d5911e6 user: mgagnon tags: no_ssh_sync_ip_resolve)
02:51
Make proxy setting "system" by default to use http_proxy environment variable. Closer to old behavior and conform with most programs on Unix-like system. ... (check-in: 8f9f2cb7 user: mgagnon tags: trunk)
2023-01-09
13:25
Help text improvements for diffcmd.c. ... (check-in: e1b51150 user: danield tags: trunk)
13:06
Further consistency improvements in docs for various commands. ... (check-in: 2512d2d4 user: km tags: trunk)
05:16
add new entry to related work links and polish markup

Add 'fsl', a tcl wrapper, to inspired projects; prompted by John Rouillard on the forum. While here, remove redundant markup and articles. ... (check-in: b4b8dc32 user: mark tags: trunk)

2023-01-07
20:58
Updates to the change log to discuss recent enhancements. ... (check-in: 7173a1b1 user: drh tags: trunk)
20:37
Submenu buttons linking all of the logging pages. ... (check-in: aae2b775 user: drh tags: trunk)
20:18
Make admin_log entries for password changes. ... (check-in: c9c7e8c1 user: drh tags: trunk)
17:06
Enhance the new /resetpw page so that it honors the redirect-to-https setting. ... (check-in: 3b1e8a0e user: drh tags: trunk)
15:36
Add the ability to enable users to request an email message that contains a special secure hyperlink that they can follow to reset their password. ... (check-in: 07bfe3fe user: drh tags: trunk)
15:35
Go to the login page after a successful self-service password reset. ... (Closed-Leaf check-in: 837f2758 user: drh tags: self-service-password-reset)
15:18
Improved comments. Extra defensive code. ... (check-in: d860e2b5 user: drh tags: self-service-password-reset)
14:25
Initial complete implementation of self-password-reset. Just need refinement and a security audit before merging to trunk. ... (check-in: 41bb73e9 user: drh tags: self-service-password-reset)
11:58
Add a non-functioning place-holder button to request a password reset to the /register page. ... (check-in: 5c62a2c3 user: drh tags: self-service-password-reset)
00:03
Add the /resetpw web page. The name argument must contain a hash that proves knowledge of the old password and that limits the valid lifetime of the argument. ... (check-in: ac86dfa0 user: drh tags: self-service-password-reset)
2023-01-06
21:33
Do not try to resolve the IP from the hostname when syncing using ssh:// protocol. Ssh may use the provided name as an alias defined in ~/.ssh/config which may not be resolvable or even resolve to an unrelated ip. This change can potentially avoid long timeout during name resolution failure. Equivalent to [52f08008e2790a81]. ... (check-in: e5c5622d user: mgagnon tags: no_ssh_sync_ip_resolve)
14:27
Oops, somehow one dash in `--file` got lost in 92d3fdba73a44c4c. ... (check-in: 0bf2eaaf user: km tags: trunk)
14:25
Minor adjustments in description of the `--file` option for `whatis`. ... (check-in: 92d3fdba user: km tags: trunk)
14:03
Allow writes to the accesslog table to record a login attempt even if the request is not from the same origin. This is needed in case a query request url it typed in manually but there is a cookie with login credentials that the browser adds automatically. ... (check-in: e31c2c01 user: drh tags: trunk)
13:10
Add the 'dont-commit' setting as a safety against accidental commits, per request in forum post 291f9af918. ... (check-in: 884436ce user: danield tags: trunk)
13:04
Fix a bug in the 'commit' command that made it ignore the 'forbid-delta-manifests' setting. ... (check-in: ead01b6f user: danield tags: trunk)
12:59
Fix the /chat-send page so that it works even with the recent same-origin security enhancements. ... (check-in: 4ba37b1c user: drh tags: trunk)
08:34
update related work page: Add Inskinerator as per forum post from wyoung@, the Makeheaders tool, and the new Sapling version control system. ... (check-in: be6d71dd user: mark tags: trunk)
2023-01-05
19:49
Add support for "fossil remote" and "fossil sync --all" to the "fossil all" command. ... (check-in: 693b950b user: drh tags: trunk)
17:21
Add the "-f|--file" flag to the "whatis" command which consist to search for any other files in the repo with the exact same content as the given file. ... (check-in: a821cbf5 user: mgagnon tags: trunk)
2023-01-03
20:13
Added named anchors to the "Image Format vs Fossil Repo Size" doc so I can refer to one in particular. ... (check-in: 7de2410f user: wyoung tags: trunk)
2023-01-02
16:12
When applying a patch, if the file rename fails, make that just a warning not a fatal error, as the warning might be due to file renames on a prior merge. Fix for ticket [21037bfc1296dabc]. ... (check-in: f0133846 user: drh tags: trunk)
15:52
Initialize the output blob in the test-delta-apply command. ... (check-in: dd9b3161 user: drh tags: trunk)
13:00
Show the value of g.zLocalRoot on the /test_env page. ... (check-in: 3df5d40c user: drh tags: trunk)
2022-12-31
18:51
Fix another case where PROTECT_READONLY needs to be relaxed even though the request not from the same origin. ... (check-in: 03e21b9c user: drh tags: trunk)
12:21
Fix stray character in the change log. ... (check-in: fbcd9a77 user: drh tags: trunk)
12:16
Fix more cases where updates to the SUBSCRIBER table should be allowed to occur even if not a request from the same origin. ... (check-in: f33976f7 user: drh tags: trunk)
2022-12-30
22:18
Correct mis-pluralization of 'new ticketss' in the timeline, per report in forum post e711cb860a. ... (check-in: 7c2c4457 user: stephan tags: trunk)
21:12
Improved comment on the db_obscure() routine. No functional code changes. ... (check-in: aa1a0b31 user: drh tags: trunk)
20:54
Security enhancement: Do not store the passwords for remote URLs directly, but instead store the sha1_shared_secret() encoding of those passwords. It is the SHA1 encoding that gets transmitted to the server anyhow, so we might as well just store that. The SHA1 encoding cannot be used to log in. The password is still protected using obscure() even though it is now a SHA1 hash. ... (check-in: 41ba6ea7 user: drh tags: trunk)
16:32
Show the parent-project-* CONFIG entries (if they exist) with the "fossil remote config-data" command. When parsing a URL, if the URL comes from the CONFIG table, remember the CONFIG table entry that supplied the password. ... (check-in: 6d0083ad user: drh tags: trunk)
12:26
Fix minor typos in the diff source code. ... (check-in: 4e169542 user: drh tags: trunk)
11:53
If there is a need to do lazy updates of the full text index during a request that is not from the same origin, then allow database writes for the duration of that update. Also, allow changes to USER and CONFIG tables when explicitly authorized by db_unprotect() even if the request that prompted the change is not from the same origin. ... (check-in: 8e85d6ca user: drh tags: trunk)
2022-12-29
21:09
All writes to the subscriber table to update the last contact time even if the request is not from the same origin. ... (check-in: db162628 user: drh tags: trunk)
20:09
Improved comments on the SQL protection subsystem. ... (check-in: 0aa3483f user: drh tags: trunk)
19:49
Only apply the PROTECT_READONLY restriction to the "repository", "configdb", and "localdb" database files. ... (check-in: b4e00621 user: drh tags: trunk)
19:39
Fix the new read-only-repo security mechanism so that it enables write access when necessary. ... (check-in: f8363db8 user: drh tags: trunk)
18:56
Add messages to the error log if the authorizer blocks an SQL statement for security reasons. This change requires a bug fix in SQLite and so it also includes the latest trunk version of SQLite. ... (check-in: 3d8bb63a user: drh tags: trunk)
17:00
Make the repository database read-only if an HTTP request is not from the same origin. This is not required for security. It is just an extra layer of defense. ... (check-in: 7c71f00a user: drh tags: trunk)
2022-12-25
16:17
A minor fix to the previous check-in. ... (check-in: abfec4dd user: george tags: trunk)
14:24
Use URI extensions rather than name= query parameters on key ticket hyperlinks. ... (check-in: 5f22b960 user: drh tags: trunk)
2022-12-21
12:07
Change spelling for check-in, check-out, and related words. ... (check-in: bc36fdcf user: danield tags: trunk)
11:52
Merge in help consistency improvements. ... (Closed-Leaf check-in: 526b0a54 user: danield tags: check-in-spelling)
09:31
Improved consistency for --help option descriptions. ... (check-in: 2e56ef4e user: km tags: trunk)
09:00
Improved consistency for --help option descriptions: begin with uppercase letter; do not use a period at the end of short-ish sentences. ... (Closed-Leaf check-in: de684083 user: km tags: spelling-fixes)
2022-12-20
14:21
A couple of corrections to the [2213a0eb2d413f|previous /secaudit0 addition]. ... (check-in: 43601b3d user: george tags: trunk)
09:53
Correct a small bit of internal-doc misinformation reported in forum post 9ed20acf6a. ... (check-in: dd67906c user: stephan tags: trunk)
09:46
Change spelling for check-in and similar ... (check-in: d9c4321e user: danield tags: check-in-spelling)
05:14
Move TH1/Tcl settings into their own configsets. ... (Leaf check-in: 5d784cf3 user: mistachkin tags: cfgSetTh1)
05:00
Unbreak MinGW build to account for deletions in zlib 1.2.13. ... (check-in: a24a790f user: mistachkin tags: trunk)
02:01
Make /secaudit0 page aware of the Tcl integration opportunities. ... (check-in: 2213a0eb user: george tags: trunk)
2022-12-16
21:47
Updated the macOS sidebar in the backups.md doc to cover Ventura. ... (check-in: a55042a0 user: wyoung tags: trunk)
2022-12-15
16:19
Re-add zlib link flags inadvertently removed via the new --disable-sockets flag. ... (Leaf check-in: 613834f6 user: stephan tags: optional-sockets)
15:50
Add support for disabling sockets in auto.def. This is not wired up to anything else yet. ... (check-in: d8609e1e user: js tags: optional-sockets)
15:39
Update the built-in SQLite to the latest 3.41.0 alpha that includes various query planner enhancements. This is done in order to test the enhancements to SQLite, to help ensure that they are working correctly in a real-world application. ... (check-in: 7010ce23 user: drh tags: trunk)
2022-12-14
13:03
Fix help text for the 'artifact' command. ... (check-in: 98b80e42 user: danield tags: trunk)
2022-12-12
16:12
Add support for omitting some ticket events from the default timeline view. Filtering is defined by the 'ticket-hidden-expr' option added to the /tktsetup_timeline page. Filtering is bypassed if this expression is unset or if the "Unhide" checkbox (at the timeline's submenu) is checked. See forum thread 4c49b2ad661c for discussion. ... (Leaf check-in: 452805c2 user: george tags: tkt-hidden-expr)
2022-12-07
17:39
Merge enhancements to file labels in Tk diff frontend ... (check-in: f7c0657b user: Torsten tags: trunk)
2022-12-02
15:27
new branch for enhancements to Tk diff frontend: labeling of file origin (version, repo, working file etc.) in the left and right pane header ... (Leaf check-in: c90ee4bf user: Torsten tags: diff-tk-frontend)