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

200 check-ins occurring around e449cb09c18004ed.

Setup and Admin users that are in the subscriber table were getting email alerts only if they had explicit moderator capabilities set. Those with bare "s" or "a" weren't getting notified. (check-in: 1d3dd1d9 user: wyoung tags: trunk)
Enable the chronological forum display for all users able to read the forum. Make chronological the default display mode for mobile devices, as determined by the user-agent string. (check-in: c720327a user: drh tags: trunk)
When clicking on a username in the timeline, link to a timeline that shows *all* events for that user. In other words, override the display-cookie y= query parameter by providing an explicit y=a query term. (check-in: 6313d0a8 user: drh tags: trunk)
Update the built-in SQLite to the 3.25.2 release candidate, for testing. (check-in: 5fdd5312 user: drh tags: trunk)
Update to Fossil 2.7 (check-in: 9d067b61 user: jan.nijtmans tags: openssl-1.1)
Version 2.7 (check-in: 9aa9ba8b user: drh tags: trunk, release, version-2.7)
Typo fix (Closed-Leaf check-in: b6c490ce user: tangent tags: libbind-ns-alternative)
Added a check for ns_parserr(), which we currently don't know how to find on OpenBSD. This also fixes a logic error in auto.def which would cause the warning that this feature won't be compiled to not be given. (check-in: f99e7632 user: wyoung tags: libbind-ns-alternative)
Removed the "Linux" platform test from the DNS MX stuff in src/smtp.c. You should always test for features, not platforms, and we've now got the feature tests we need to replace this too-broad platform test. (check-in: 5358fe95 user: wyoung tags: libbind-ns-alternative)
Replaced the call to the undocumented ns_name_uncompress() function with dn_expand(), which is documented, at least on OpenBSD, and it's shorter. Then made ns_name_uncompress() and __ns_name_uncompress() fallbacks for this, with suitable autosetup tests for all of it. (check-in: d0fb5ac7 user: wyoung tags: libbind-ns-alternative)
Fix to previous for CentOS 7. (check-in: c7640b38 user: tangent tags: libbind-ns-alternative)
The previous checkin on this branch prevented src/smtp.c from both building and linking because the code previously assumed that it could only build against libresolv for MX lookups and such on Linux, but the checkin gave it enough slack to *attempt* to build on macOS. This checkin prevents that from happening if run on stock macOS, but if you install libbind via Homebrew, it also opens up the possibilty to biuld against it for the first time. It's a complicated sequence of checks due to the way libbind interacts with the stock libresolv. This means we have yet more reason to want to test this widely before merging it to trunk. (check-in: 4d9970f6 user: wyoung tags: libbind-ns-alternative)
Added autosetup checks for alternative libraries and names for the res_query() and ns_*() functions that module smtp.c previously depended on finding in libresolv/glibc. Checking it in on a branch because it needs multiplatform testing. This version solves the problem originally reported on the forum by Andy Goth, being that the current trunk doesn't build on CentOS 5. (check-in: ed3b1e4d user: wyoung tags: libbind-ns-alternative)
Add build directories to ignore-glob. (Leaf check-in: bddd4961 user: ashepilko tags: build-ignore-glob)
Second attempt at blockquote styling, this time restricting it to forum posts only. (Previous: [2190f86c324d0]) (check-in: c285cd08 user: wyoung tags: trunk)
Fix the indented paragraph on the homepage. (check-in: 0d7ac90d user: drh tags: trunk)
Avoid unnecessary quoting of ASCII characters 34 and 39 in the markdown formatter. (check-in: 7950dc22 user: drh tags: trunk)
Back out the block-indentation CSS change from check-in [2190f86c324d0f57fa4f8]. (check-in: eae0a982 user: drh tags: trunk)
Replaced the "hasOwnProperty" test for CSS transition support in the animated hamburger menu JS code with a better test that not only works on old IE but also on some truly ancient versions of SeaMonkey, Firefox, Chrome, etc. (check-in: ee074372 user: wyoung tags: trunk)
Updates to the change log for the upcoming 2.7 release. (check-in: 450e8723 user: drh tags: trunk)
Update the built-in SQLite to version 3.25.1. (check-in: c5abb962 user: drh tags: trunk)
Fix the default CSS for the "columns" class to avoid breaking column breaks within a single <li> element. (check-in: 51da3966 user: drh tags: trunk)
Fixed the test in the default skin's js.txt so that it will work on IE8 and below. See code comment for rationale. (check-in: e54095f9 user: wyoung tags: trunk)
Allow /sitemap to accept the popup query parameter as GET as long as the incoming request is from the same origin. This is probably sufficient to prevent revealing URLs to robots. And the use of GET seems to be more in keeping with the REST idea. (check-in: 2804c71a user: drh tags: trunk)
The POST request by the hamburger menu must set the right content type of application/x-www-form-urlencoded in order to pass the popup=1 query parameter. (check-in: ee0f77df user: drh tags: trunk)
Backout of [e0cc10f03e518831]: Bring back default windows builds with OpenSSL 1.3 (check-in: 9e03e513 user: jan.nijtmans tags: openssl-1.1)
Add docs on using IDE for Fossil development. (check-in: 7d2be6f8 user: ashepilko tags: cmake-ide)
Merge updates from trunk. (check-in: 2269309f user: ashepilko tags: cmake-ide)
Ignore errors in the clean target commands. (check-in: 27c7a491 user: ashepilko tags: trunk)
Backout of [115544e97517f447]. Unbreaks the SSL enabled build for MSVC on Windows, due to OpenSSL build system changes that are not accounted for by the check-in. Also, there were crashes with MinGW produced binaries using OpenSSL 1.1.1. (check-in: e0cc10f0 user: mistachkin tags: trunk)
Added a missing db_finalize() call in /json/branch/list which led to a downstream segfault via an invalid/destructed Stmt handle. (check-in: e45789ee user: stephan tags: trunk)
Add the "fossil branch current" command to the 2.7 change log. (check-in: fc977f14 user: drh tags: trunk)
Add the "fossil branch current" command. Also rearrange the code and the help text for the "fossil branch" command so that the various subcommands are in alphabetical order. (check-in: 3b0a1f4e user: drh tags: trunk)
Wiki markup fixes in the recent edits to the www/ doc (check-in: 07943152 user: wyoung tags: trunk)
Removed a paragraph stranded by the email docs reorg several checkins ago. (check-in: ba35b5ff user: wyoung tags: trunk)
Fixed a typo (check-in: 692aceed user: wyoung tags: trunk)
Added colored shading, more padding, and a thick left border to
elements in the default skin. This is based on some custom styling that Florian Balmer has been doing for quoted text on the forum lately, but the styling is rather different. It affects all such elements, not just those in forum posts, since I couldn't see a good reason to restrict it: it should be equally valuable in wiki and embedded doc articles as well.
(check-in: 2190f86c user: wyoung tags: trunk)
Updated the documentation permuted index to include a grammar fix checked in with the previous checkin. (check-in: d8d979fe user: wyoung tags: trunk)
Reworked the documentation for email alerts to put all the information in a single document: a) Moved the "quick email setup" material from the document into ``; b) linked to that moved material from its original location; c) greatly expanded the material previously present in the `` document; c) merged the `` document into ``, so we don't have to link out to two separate documents which previously partially repeated each other. This pass also fixed a number of grammar errors and broken links. (check-in: 2ef70be2 user: wyoung tags: trunk)
Replaced the WIP and indefinite future paragraphs in www/ with definite statements now that we're approaching release. (check-in: 05b40829 user: wyoung tags: trunk)
Docker: upgrade to fedora 28, and use https in stead of http to retrieve fossil source code. Use fedora versions of Tcl in stead of building our own. (check-in: edc31f46 user: jan.nijtmans tags: trunk)
Make sure that Fossil is always compiled with SQLite >= 3.25.0. Add mention of TLS 1.3 to changelog. (check-in: d0dcf908 user: jan.nijtmans tags: trunk)
add support for TLS 1.3, when compiled with OpenSSL 1.1.1 (LTS). Windows build adapted to use OpenSSL 1.1.1 by default. Still compiles and runs with older OpenSSL as well (check-in: 115544e9 user: jan.nijtmans tags: trunk)
Rerun mkindex.tcl to get an updated permutedindex.html file. (check-in: ce1d61ac user: drh tags: trunk)
Added www/ to the documentation index. (check-in: 7bd7b2c6 user: wyoung tags: trunk)
Increase the version number to 2.7. (check-in: 4559373c user: drh tags: trunk)
Update the built-in SQLite to the 3.25.0 release. (check-in: 048a6f80 user: drh tags: trunk)
Fix a typo. (check-in: 4b562158 user: ashepilko tags: trunk)
Describe the debugging options. (check-in: d364933a user: ashepilko tags: cmake-ide)
Merge updates from trunk. (check-in: f59c9ecb user: ashepilko tags: cmake-ide)
Update the change log. (check-in: d78f1f3c user: drh tags: trunk)
Removed the anti-robot defense stand-down call from the default skin's new footer JS: that's handled server-side now with /sitemap?popup=1. (check-in: 7d5ff435 user: wyoung tags: trunk)
Added copyright and license comment to the top of the new skins/default/js.txt file. (check-in: 972ae10b user: wyoung tags: trunk)
Avoided a divide by 1000 by changing a value formerly specified in floating point seconds to be specified in milliseconds, so we don't need the arithmetic. (check-in: 1d5eea66 user: wyoung tags: trunk)
Moved a single-use variable interpolation inline with its use point. Also improved some comments. (check-in: 56db6170 user: wyoung tags: trunk)
Documentation updates for custom TH1 commands. (check-in: 874a4dac user: mistachkin tags: trunk)
merge trunk (Closed-Leaf check-in: 368c78a8 user: jan.nijtmans tags: openssl-1.1)
Compile openssl with option no-weak-ssl-ciphers (or -DOPENSSL_NO_WEAK_SSL_CIPHERS) Update custum Makefile.mingw (check-in: 58b7b4e5 user: jan.nijtmans tags: trunk)
The default skin requires 1200px or more before the "wideonly" class is displayed. (check-in: 68f4c2b0 user: drh tags: trunk)
Fixes to the new script element of skins. (check-in: c22b71df user: drh tags: trunk)
Add a hamburger menu that brings up an overlaid /sitemap to the default skin. (check-in: 9c887998 user: drh tags: trunk)
Split out the javascript for the default skin into the separate skin-script property. (Closed-Leaf check-in: 72cfbf70 user: drh tags: js-hamburger-menu)
Merge in the ability to define a script for a skin. (check-in: 666c4f9a user: drh tags: js-hamburger-menu)
Add the styleScript TH1 command to enabling including the script element of the skin in-line in the header or footer. (Closed-Leaf check-in: dc88a533 user: drh tags: skin-script)
Add the new "script" element to skins, accessible as /script.js. The idea is to put the hamburger menu javascript from the js-hamburger-menu branch in this script element, rather than inlining it in the footer. But I am not certain that is the best way to go so this change is parked on a branch for now. (check-in: e5dbc612 user: drh tags: skin-script)
Update the built-in SQLite to the first 3.25.0 release candidate. (check-in: ed84acb6 user: drh tags: trunk)
Added a guard on the use of CSS transitions so it falls back to a non-animated menu pull down if they appear not to be available on the current browser. Also added a check for the existence of the hamburger menu item in case the skin admin diked it out, and did a few other minor tweaks to the footer JS code. (check-in: 5d9a3454 user: wyoung tags: js-hamburger-menu)
Timing tweaks: made "hide borders" hack occur about the same time as the CSS transition finishes, and increased the menu show delay still further to make it work for Firefox. (check-in: 7bb68023 user: wyoung tags: js-hamburger-menu)
Changed hamburger menu drop-down menu from 33% of the screen width to 90%: it works better on small screens, and it allows the sitemap to go multi-column on wider screens. Also added some right-side padding to balance the padding added for
    on the left.
(check-in: e76a243d user: wyoung tags: js-hamburger-menu)
Removed the
    and moved the multicolumn styling applied to it down to the
      , since it is already a block level element, so we don't need a div wrapper on it. And then there's the real reason, which is that we want the multicolumn styling to work on the drop-down hamburger menu version as well.
(check-in: 0d391a1b user: wyoung tags: js-hamburger-menu)
Increased the transition delay to make the initial drop-down animation happen in Firefox 62. (check-in: 8918a8a8 user: wyoung tags: js-hamburger-menu)
Using CSS transitions to mimic jQuery's slideUp/Down() transitions. This probably restricts browser compatibility still further above the XHR issue noted in the earlier checkin on this branch. According to MDN, we're probably restricted to IE 10+ with this, and maybe not even that due to not using vendor-specific extensions for the transitional browser versions. (check-in: 90bd6675 user: wyoung tags: js-hamburger-menu)
Converted JS hamburger button menu code to use standard JS only, no jQuery.

Temporarily lost the animation with this change: I'm checking this in separately to make the difference between this and the jQuery version clearer.

Not sure how portable it is yet; I wouldn't be surprised if it broke on old IE, since we're using xhr.onload instead of the horrid mess that is xhr.onreadystatechange. (check-in: 113ba3d9 user: wyoung tags: js-hamburger-menu)

Merged in trunk improvements (check-in: 96b1a9ca user: wyoung tags: js-hamburger-menu)
Reverted [59c7ca0509]: drh says we can't use jQuery. Also, there was a syntax error that sent all hyperlinks to the honeypot in some conditions. (check-in: 5a62b395 user: wyoung tags: js-hamburger-menu)
Update the built-in SQLite to the latest 3.25.0 alpha version for testing. (check-in: 48171b66 user: drh tags: trunk)
The hyperlinks in the hamburger menu drop-down still had the anti-robot defense activated. Defeated it. (check-in: 571df2e8 user: wyoung tags: js-hamburger-menu)
Converted src/href.js to jQuery as a demonstration: the code's nearly half the size, and it's clearer as a result. (check-in: 59c7ca05 user: wyoung tags: js-hamburger-menu)
Typo fix; patch by jungleboogie in forum post ID 775e4c0771. (check-in: c8ef388b user: wyoung tags: trunk)
Fixed a bug in the onclick handler for the new hamburger button which allowed the browser to follow our empty 'a href="#"' link. For some reason, Chrome only did this sometimes, not always, which lead to me thinking it was some kind of race condition. (check-in: e806e5c4 user: wyoung tags: js-hamburger-menu)
Ajaxy animated drop-down menu on clicking a new hamburger button in the default skin, as requested by drh on the forum:

Initial version uses jQuery loaded from Google Hosted APIs for ease of development. (check-in: d7c43c5a user: wyoung tags: js-hamburger-menu)

Avoid column breaks inside a top-level bullet in the /sitemap. (check-in: dc5e06ff user: drh tags: trunk)
Added more info on quoting rules in Tcl/TH1 to the doc (check-in: 30e9ccd5 user: wyoung tags: trunk)
Fixed some grammar and spelling in the doc. (check-in: 40787f50 user: wyoung tags: trunk)
Do away with compiler warning about uninitialized variable. (check-in: af39da6d user: andybradford tags: trunk)
Calling db_end_transaction() from the early-exit code paths of setup_skin_admin() to avoid "Transaction started at ./src/skins.c:466 never commits" complaints with some types of Admin -> Skins edits. (check-in: 1c0b78b4 user: wyoung tags: trunk)
Merged wrap-run_in_checkout branch down to trunk. (check-in: 49e86fe0 user: wyoung tags: trunk)
The test harness now skips all tests done in the Fossil source repo checkout directory while there are uncommitted changes because that will affect the behavior of fossil status, fossil diff, etc., which in turn tends to create false positives in test harness code that checks for changes in fossil command output. (Closed-Leaf check-in: 78ec6838 user: wyoung tags: wrap-run_in_checkout)
Partially reverted one of the run_in_checkout replacements in test/th1.test: it was inside a foreach loop, which means the test for whether we're inside the Fossil repo checkout was being done 26 times. This is not only inefficient, it spammed the output with "Skipping test blabla..." lines. Now doing a manual check outside the loop and skipping the in-repo tests silently inside the loop. (check-in: 3cb1b4f0 user: wyoung tags: wrap-run_in_checkout)
Fixed a Tcl syntax error checked in with [33efa2fa]. (Yay dynamic languages that run the code even if it's syntactically invalid. P'tui!) (check-in: 4315d464 user: wyoung tags: wrap-run_in_checkout)
The new test_block_in_checkout proc in tester.tcl was not setting the CODE and RESULT global variables when it skipped a test, so there was a chance that a test would end up checking the prior values and throw a false positive. (check-in: 2aaee484 user: wyoung tags: wrap-run_in_checkout)
Fixed a Tcl logic error committed with [33efa2fa]. (check-in: 02430597 user: wyoung tags: wrap-run_in_checkout)
Extracted the logic that was in tester.tcl's new outside_fossil_repo proc to the global level which just saves the result to a global variable so the logic doesn't have to be re-run for each test that relies on it. The result doesn't change from one call to the next, as you'd hope for a proc without parameters. (check-in: 1a4e87dc user: wyoung tags: wrap-run_in_checkout)
Replaced most of the direct calls to run_in_checkout from within the test suite with one of two wrapper functions that skip those tests when you run "make test" outside a Fossil repository checkout directory, such as from a directory containing an unpacked source release tarball. (The two remaining direct calls to that proc from test/*.test are preceded by a check that skips the whole file they're in, since that whole file does nothing else.) This is being checked in on a branch because it is not yet thoroughly tested, yet I need the checkpoint. (check-in: 33efa2fa user: wyoung tags: wrap-run_in_checkout)
The -quiet flag passed by default to tester.tcl can now be overridden by passing TESTFLAGS to make. Before, there was no way to set -verbose this way because "-quiet -verbose" means the same thing as "-quiet". (check-in: 401a4c3d user: wyoung tags: trunk)
Cached the result of "$tcl_platform(platform) eq "windows"" in test/tester.tcl and replaced all of the repetitions of this expression with a test of the variable. (check-in: 2e4143aa user: wyoung tags: trunk)
Removed a debug message accidentally checked in. (check-in: 8eadf4c4 user: wyoung tags: trunk)
Merged tclsh-macos down to trunk. (check-in: ee2ffe35 user: wyoung tags: trunk)
Fixed an incorrect Tcl string comparison checked in with [e449cb09]. (Closed-Leaf check-in: c94617b5 user: wyoung tags: tclsh-macos)
Explained "Why can't we use Jim Tcl for the test suite?" in the auto.def comment above the check for a suitable tclsh version. Basically, I tried it and then documented a few of the resulting failures. (check-in: 91eaef61 user: wyoung tags: tclsh-macos)
After autosetup checks for the existence of tclsh in the PATH, it now checks whether it's at least version 8.6, because macOS is still shipping 8.5, despite it being nearly 6 years old. If we find an old tclsh, try to find the Homebrew tcl-tk package, and use that version instead. This is not a macOS or Homebrew specific change in principle: we can extend this logic for other systems to find their best Tcl/Tk version, as needed.

On systems where autosetup is used, this only affects "make test". There are other uses of tclsh in this tree which may also benefit from our PATH discoveries, but this checkin doesn't update those.

This checkin also doesn't try to address similar problems on other platforms, such as the "TCLSH = tclsh" line in Makefile.mingw. (check-in: e449cb09 user: wyoung tags: tclsh-macos)

In the file browser, limit the maximum number of columns to be the number of files, so that a single file is never split across two columns. (check-in: e585c3e6 user: drh tags: trunk)
Noted the responsive design changes to the default skin in the change log. Expanded on the forum and alerts feature items. Changed all the past-tense verbs to present tense to match the rest of the items and the prevailing style in past change log entries. (check-in: 6f87b4af user: wyoung tags: trunk)
Added "overflow-y: hidden;" to the CSS for the default skin to prevent some browsers (Chrome, Firefox, and Safari on macOS, at least) from adding a vertical scroll bar to the navbar. This was only necesasry on this skin because of the recently-added "overflow-x: auto" style, which tells the browser to clip or horizontally-scroll the navbar if the screen width isn't sufficient to show the whole thing; previously in this skin, and currently in all other skins, this condition causes the navbar to wrap to the next line, which looks particularly bad on the default skin. I believe this then made these browsers calculate some extra space for a possible horizontal scroll bar, which then ran the layout engine out of space, so it included the vertical bar just in case. This may be macOS specific, due to the scroll bar hiding behavior introduced several OS release back. (check-in: e8783b9a user: wyoung tags: trunk)
Add 1em of left padding to multi-column unordered lists. This extra padding is necessary to get Chrome and Edge to display the bullets on second and subsequent columns. (check-in: c429bb79 user: drh tags: trunk)
Make the sitemap show in multiple columns on wide-screen browsers. (check-in: 894cff0a user: drh tags: trunk)
Remove the n=200 query parameter from the timeline link on the /sitemap. (check-in: f1e6cc13 user: drh tags: trunk)
Login and subscription forms work better on mobile. (check-in: 27769be9 user: drh tags: trunk)
Render captchas in a smaller font that works better on mobile. (check-in: 75c89def user: drh tags: trunk)
Fix an unterminated transaction in the /admin_th1 page. (check-in: 447d2732 user: drh tags: trunk)
Less vertical space on the default menus and title. (check-in: 96938c42 user: drh tags: trunk)
In the default skin, adjust the labels in the menu bar depending on screen width. (check-in: 306f8ffd user: drh tags: trunk)
Changes to the CSS for the default skin so that it works better on mobile. (check-in: c565732f user: drh tags: trunk)
Improvements to the skin editor. (check-in: bd2bf81c user: drh tags: trunk)
Fix the "Public Pages" setting so that the initial part of the path that identifies a particular repository is ignored. (check-in: d6cd1477 user: drh tags: trunk)
Omit the Forum Search at the top of the /forum page if search is disabled. (check-in: d4281bbc user: drh tags: trunk)
Fix hyperlinks for extra pages on the /sitemap so that they correctly resolve to the root of the repository. (check-in: 96fbcd13 user: drh tags: trunk)
Fix to the configuration page for the License link in /sitemap. (check-in: ace123b7 user: drh tags: trunk)
Enhancements to the /sitemap page. New configuration options to add optional entries to the /sitemap page. (check-in: 6898b3e7 user: drh tags: trunk)
Merge the email.c-to-alerts.c refactor. (check-in: fc5c7d26 user: drh tags: trunk)
Change the name of the "email.c" source file into "alerts.c". Make corresponding changes to various interfaces. (Closed-Leaf check-in: cfbbc537 user: drh tags: refactor-alerts)
Silence warning about unused variable (check-in: 2f72c1fb user: andygoth tags: trunk)
Add the ability to delete users to the /setup_uedit webpage. (check-in: 1e5cdd35 user: drh tags: trunk)
Attempt to make the /subscribe and /alerts forms less confusing. (check-in: 6d04bab4 user: drh tags: trunk)
Update the built-in SQLite to the latest 3.25.0 alpha version, for testing. (check-in: 57e80ad2 user: drh tags: trunk)
Improvements to the capability listing page: /setup_ucap_list (check-in: 8689cf8b user: drh tags: trunk)
Updates to the "How The Download Page Works" document. (check-in: 498cfbf7 user: drh tags: trunk)
Disallow inline javascript unless protected by a nonce. (check-in: ff747b51 user: drh tags: trunk)
Try to start a new write transaction before updating the VCACHE table. This will hopefully prevent occasional "database is locked" errors when browsing the documentation. (check-in: 03979823 user: drh tags: trunk)
Fixed some Markdown-isms just checked into www/ (check-in: 34a3bc12 user: wyoung tags: trunk)
Assorted improvements to the "Skin Setup" section of (check-in: 04d4bde1 user: wyoung tags: trunk)
Clarity fixes to the Email Alerts capability paragraph of (check-in: d6e5754d user: wyoung tags: trunk)
Remove unnecessary execute bit (check-in: cabc447c user: andygoth tags: trunk)
Correct markdown reference documentation on optional outermost | characters (check-in: 08e4371b user: andygoth tags: trunk)
Applied the new CSP nonce to the <script> tags in the header for the Enhanced Original, Eagle, and Xekri skins, else the clock in the upper right breaks and Chrome gives an error about the CSP violation. (Closed-Leaf check-in: b9d86ed2 user: wyoung tags: csp-nonce)
Update JSON code to account for new capabilities. Also, the 'setup' and 'admin' capabilities should imply 'debug'. (check-in: 3f12d406 user: mistachkin tags: trunk)
Coloring the hyperlinks to the newest forum posts from /forum with a dimmer and less saturated version of the normal hyperlink color in the default skin, to test the new div.forumPosts selector. Other skins to be updated later if this is approved. (check-in: 86ff84da user: wyoung tags: trunk)
Merge enhancements from trunk. (check-in: 17b9ecbe user: drh tags: csp-nonce)
Merged forum-skin-links branch to trunk. (check-in: 91c2b1b6 user: wyoung tags: trunk)
Added new CSS class forumPosts to the
containing the list of posts on the /forum page so that skins can target elements of this list differently than others. One immediate use for this is styling read threads differently via a:visited styling. Currently, only one of the stock skins ships with an unconditional a:visited change, so that all links show in the same color regardless of their state. That's fine in most areas of the UI, but in the forum, a skin developer may want something special, so we need a way to mark them differently. This
was already using the broadly-used "fileage" style, but we don't want changes to a:visited and such to affect all other users of fileage, so we need a unique style to this page.
(check-in: 77782490 user: wyoung tags: trunk)
Merge trunk. Undo unintended changes in previous commit (check-in: 5583448c user: jan.nijtmans tags: openssl-1.1)
Add configurations "enable-capieng" (use Windows Certificate Store) and "no-weak-ssl-ciphers" (disable RC4 support) (check-in: b5a11142 user: jan.nijtmans tags: openssl-1.1)
Do not try to run backoffice if not connected to a valid repository. (check-in: 3f5b2549 user: drh tags: trunk)
Merge trunk. Update to Beta 7 of OpenSSL 1.1.1 (pre release 9, with TLS 1.3 support !!!) (check-in: cbdbc0a0 user: jan.nijtmans tags: openssl-1.1)
Add the meta-viewport header to the repository list page. (check-in: bb7c2d91 user: drh tags: trunk)
Put all javascript inline using a nonce. Disallow 'unsafe-inline' CSP for javascript. (check-in: 89c40851 user: drh tags: csp-nonce)
Fix a unfinalized query in the /admin_log page. (check-in: 6022ad49 user: drh tags: trunk)
Dynamic number of columns on the /help page, based on screen width (check-in: 1d495e89 user: drh tags: trunk)
Add 10% more horizontal space in columns of the file browser /dir page. (check-in: 0acb670e user: drh tags: trunk)
For timeline graphs on narrow screens, set the rail pitch to its minimum value to conserve horizontal space. (check-in: e63da90d user: drh tags: trunk)
When displaying a timeline on a narrow screen, move the date to the third column to make the first column narrower. (check-in: 8fc7c1b1 user: drh tags: trunk)
Fix harmless compiler warnings. (check-in: 02bd5941 user: drh tags: trunk)
Make all webpages more mobile-friendly. There are still many tweaks possible, but it seems to basically work now. (check-in: 9131af26 user: drh tags: trunk)
Enable responsive design by default on all skins. (Closed-Leaf check-in: 466744aa user: drh tags: mobile)
Add automatic columnation of the capabilities in the /setup_uedit screen. (check-in: 4f4956f8 user: drh tags: mobile)
On the flat /dir webpage, automatically adjust the number of columns based on the screen width. (check-in: 50698a3c user: drh tags: mobile)
Simple changes to the default CSS and Header that seem to help Fossil work better on mobile by avoiding menu wraps. (check-in: 5fb04081 user: drh tags: mobile)
Fix the /setup_smtp page so that it edits the routing table sensibly. (check-in: 5416287d user: drh tags: trunk)
Add the /emailoutq page, accessible only by the administrator. (check-in: ca732777 user: drh tags: trunk)
Break out the user configuration pages into a separate "setupuser.c" source file. (check-in: a49ed35b user: drh tags: trunk)
Improvements to privilege processing and the "Security Audit" page /secaudit0. (check-in: 397d23c1 user: drh tags: trunk)
Allow + signs in email addresses. Added a comment to link to a source giving the true limit on legal characters in email addresses, which are currently far less restrictive than our newly-expanded limits. (check-in: 1bfd7903 user: wyoung tags: trunk)
Enhance the backoffice to automatically purge stale entries from the emailblob table, if that table exists. (check-in: 4c7edd4c user: drh tags: trunk)
Do not put "Return-Path:" headers in notification emails to be sent. That is a violation of standards as only the receiving SMTP server should add the Return-Path header. Instead, include a custom X-Fossil-From: header that downstream software can use (if desired) to set the envelope header of the message. (check-in: 731836b8 user: drh tags: trunk)
For email notifications abound events from a single user (such as individual forum post notifications) make the From: address be a "noreply" hash based on the users human-readable name or handle. Always include a Return-Path: field in the header that is the email-self setting, to be used by MTUs that need to bounce the message. (check-in: 475c9d11 user: drh tags: trunk)
Do not show posts that are awaiting moderation to users without moderator privilege unless they are the same user that generated the post in the first place. (check-in: 16c42a08 user: drh tags: trunk)
Update the built-in SQLite to the latest trunk version which includes the fix for EXPLAIN QUERY PLAN for the query that runs the /forum page. (check-in: f8994f89 user: drh tags: trunk)
Adjust the /forum page so that it for users without forum moderator privilege, it pretends that unmoderated posts do not exist, and for user with moderator privilege it paints an "Awaiting Moderator Approval" message on posts that need moderation. (check-in: ef7f85ee user: drh tags: trunk)
Fix the /forum page so that it links to the most recent post. (check-in: b0ae37c0 user: drh tags: trunk)
Improved locality of a variable. No functional change. (check-in: 09103fd2 user: wyoung tags: trunk)
Posts are now hidden on the /forum page if they're marked as private (i.e. needing moderator attention) and they were posted by another user, except when the user is a moderator.

(Closed because a different method was implemented on trunk.) (Closed-Leaf check-in: 779eaaae user: wyoung tags: hide-post-if-needmod)

Replaced a declare-and-init line pair with a single define-with-value line. No functional change. (check-in: 8f47c3f6 user: wyoung tags: trunk)
Fix the hextoblob() function so that does not report out-of-memory if the size of the input string is zero bytes. This fixes the instances of "out-of-memory" reports when accessing the /alerts page without an argument. (check-in: 5519c6b8 user: drh tags: trunk)
Fixes to the /webmail screen (check-in: a24de3f9 user: drh tags: trunk)
Add comments to the /register page implementation. No logic changes. (check-in: a4419c6c user: drh tags: trunk)
Do not issue a warning about duplicate branch names when doing a --private check-in. (check-in: d7e45aae user: drh tags: trunk)
Improved title on on the /forum page. (check-in: dbd96b2c user: drh tags: trunk)
On the main /forum screen, provide the new n= and x= query parameters to enable access to older threads. (check-in: aff20904 user: drh tags: trunk)
On the "Recent Threads" page (/forum) show the number of messages and the duration of each thread. (check-in: a50dfe6f user: drh tags: trunk)
Improvements to self-register (the /register page) so that it works correctly for users how are already subscribers and enter the subscriber email. (check-in: 4c43f2cd user: drh tags: trunk)
Remove an db_begin_transaction() that had no matching db_end_transaction(). (check-in: b2fca3dd user: drh tags: trunk)
Change the default markup language for Forum to Markdown. (check-in: 5f3cb278 user: drh tags: trunk)
Update to openssl-1.0.2p (check-in: 38638cfc user: jan.nijtmans tags: trunk)
Don't use "file nativename" in makemake.tcl, because it gives a different win/Makefile.msc when run on UNIX (check-in: af80be5c user: jan.nijtmans tags: trunk)
Changed all of the "sendmail -t" commands to "sendmail -ti" to make it ignore lines containing only a dot; we use EOF to signal "end of message," so we don't need the second signal. This is separate from the smtp.c fix in [51740ce45f]: that's only used when Fossil speaks directly to an SMTP server, where a leading dot is treated somewhat differently than the lone dot rule for sendmail(1)'s stdin.

This problem with leading dots was diagnosed by gumblex, /forumpost/4290f75ba1. (check-in: 8c0ec30b user: wyoung tags: trunk)

URL fix (check-in: 6787aac9 user: wyoung tags: trunk)
The blob-to-SMTP encoding logic was not strictly following RFC 5321 in that it was only dealing with the lone dot on the line case, doubling it to prevent the SMTP server from interpreting that as end-of-message. It missed the case where, if anything follows the dot, SMTP drops the leading dot, so you must also double the leading dot in that case. Basically, you always double a leading dot, regardless of line length.

This only affects Fossil's direct-to-SMTP email sending case, not those that send via a piped command or via DB. That is dealt with later in [8c0ec30bc3]. (check-in: 51740ce4 user: wyoung tags: trunk)

Covered capability 7 in the document, and made several improvements to the "Using the Moderation Feature" section. (check-in: 31631b75 user: wyoung tags: trunk)
Assorted minor improvements to the www/ document. The major one is re-emphasizing the need to give capability 7 to some user or user category. Ask me how I came to think this necessary. :) (check-in: 3e75a683 user: wyoung tags: trunk)
Typo fix (check-in: c3d9c8e0 user: wyoung tags: trunk)
More tweaks (check-in: 26424763 user: wyoung tags: trunk)
Assorted improvements to the document, mainly to the new moderation material. (check-in: c1be5508 user: wyoung tags: trunk)
Added the "How Moderation Works" section to www/, and improved the newly-renamed "Using the Moderation Feature" section as a result. (check-in: 812dd52c user: wyoung tags: trunk)
Added "id"s to every header tag in the document, so you can create links to sub-sections. (check-in: 03c298dc user: wyoung tags: trunk)
Fixed a few references to MIME type "text/x-fossil" in the fileformat document. It's "text/x-fossil-wiki" everywhere else. (check-in: e00cdbe7 user: wyoung tags: trunk)
Add /forum link to sitemap if user has RdForum capability (check-in: 5ad7222f user: wyoung tags: trunk)
Merge the fix to the login-by-email-address patch. (check-in: 9b4e157b user: drh tags: trunk)
URL fix in (check-in: 542c5576 user: wyoung tags: trunk)
Update wording to match documentation. (Closed-Leaf check-in: cbfbfa8c user: mistachkin tags: updNewCaps)
Added the "Moderation" section to www/ (check-in: e06e7f84 user: wyoung tags: trunk)