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

200 check-ins occurring around ca732777c4a0c165.

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)
Assorted tweaks and improvements to the new email alerts material in www/ (check-in: 4326f76f user: wyoung tags: trunk)
Added the "Email Notification" section to the document. (check-in: 6b275203 user: wyoung tags: trunk)
Coding style tweak. (Closed-Leaf check-in: 52b9caa5 user: mistachkin tags: login-with-email)
Update JSON code to account for new capabilities. Also, the 'setup' and 'admin' capabilities should imply 'debug'. (check-in: 7ce44fab user: mistachkin tags: updNewCaps)
Added forumSel adjustment advice to (check-in: 0194fb67 user: wyoung tags: trunk)
The periodic "updateClock()" call made in the header for several of the built-in skins (Eagle, Enhanced1, and Xekri) violates the new stricter CSP, since it requires a JS eval. We don't need an eval here: we can pass the function's name literally to window.setTimeout instead, which treats it as a Function object, which doesn't need to be eval'd. (check-in: eac15b4c user: wyoung tags: trunk)
Added the "Enable Forum Search" section to www/ (check-in: cc5d2e1f user: wyoung tags: trunk)
Zeroed a pointer in its declaration to squish a warning from GCC 4.8.4 on Ubuntu 14.04 about use of a potentially uninitted pointer. I don't think it's actually possible for the current code to use the pointer in the window between its declaration and first use, but I think we can afford the extra machine instruction this will cost us. (I assume newer GCCs are smart enough to analyze this situation correctly, which is why the warning hasn't been squished earlier.) (check-in: 892781cb user: wyoung tags: trunk)
Fix to checkin [8c91be8b], which was intended to allow the user to log in with the email found in the contact info field of the user table. That checkin is fine as far as it goes, but it only works if the caller doesn't subsequently try to use the passed user name for anything else, since it isn't actually a user name. This checkin causes the low-level login checking function to re-point the user name pointer at the actual login name discovered while scanning for matching email addresses. (check-in: 33522ff4 user: wyoung tags: login-with-email)
Try to put the human name of the person who posted on the From: line of email notifications for new forum posts. (check-in: ad419331 user: drh tags: trunk)
Be sure to send forum event notifications in chronological order. (check-in: b4602502 user: drh tags: trunk)
Also remember the name the user for webmail. (check-in: 800cd27d user: drh tags: trunk)
Fix the webmail screen so that it remembers the folder that is being viewed. (check-in: e0377d04 user: drh tags: trunk)
Fix the /forum webpage so that it works even if the forumpost table does not exist in the repository. (check-in: d73c5fd2 user: drh tags: trunk)
Allow login using either the username or the first email address found in the USER.INFO column. Note that it might be useful to create an index on user(find_emailaddr(info)) to make this efficient in the case where there are many rows in the user table. (check-in: 8c91be8b user: drh tags: trunk)
Add the find_emailaddr() SQL function. (check-in: 8a20d41f user: drh tags: trunk)
Remove an unused function from the backoffice.c. This problem only comes up on Windows as the function call was contained within #ifdef _WIN32. (check-in: 2d732f40 user: drh tags: trunk)
Fix an unfinalized prepared statement in the "fossil bisect ui" command. (check-in: 148d4b66 user: drh tags: trunk)
Improvements to formatting in generated emails to make them appear less like spam. Suggestions from "gahr" on the forum. (check-in: 27404ad0 user: drh tags: trunk)
Take care that a bug in the email alert sender results in missed alerts rather than an endless cascade of duplicate alerts. (check-in: 164c3d1a user: drh tags: trunk)
Minor improvements to (check-in: 635d2f63 user: wyoung tags: trunk)
Tightned up the login-groups sub-section of the SSO section in (check-in: 60c586d7 user: wyoung tags: trunk)
Tightened up the MTA point in www/, and added a bit about digest delivery. (check-in: b51d6212 user: wyoung tags: trunk)
More feature rah-rah in www/, plus better formatting. (check-in: cce5da16 user: wyoung tags: trunk)
Clarity pass on the forum capability names in www/ to match nomenclature on the Admin -> Users page. (check-in: 2490bfba user: wyoung tags: trunk)
Added point about multiple copies of each matching post in web search results to the doc. (check-in: 89ab99e3 user: wyoung tags: trunk)
Go ahead and permanently remove the backoffice timeout mechanism, as it seems clear we will not have a use for it moving forward. (check-in: 4db38487 user: drh tags: trunk)
Disable backoffice timeouts. This is a temporary measure to avoid a horrible bug in which a timeout causes the email notification sending process to exit before recording the fact that notifications have already been sent, and thus causing the same notifications to be sent again on the next backoffice cycle, and so forth over and over and over. (check-in: 628d63c4 user: drh tags: trunk)
Enhance the /register page so that it also does email subscriptions if that is enabled for self-registered users. (check-in: 2e308280 user: drh tags: trunk)
More SSO discussion improvements in (check-in: bc303c0e user: wyoung tags: trunk)
More tweaks to the doc (check-in: 5d75504a user: wyoung tags: trunk)
Small tweak to the advice for "reader" category capability for forums (check-in: ea67aade user: wyoung tags: trunk)
Added the "Skin Setup" section to the new document (check-in: 3ec8f0a9 user: wyoung tags: trunk)
Expanded the SSO discussion in the new document (check-in: dd0a2dd3 user: wyoung tags: trunk)
Fixed some incorrect uses of Markdown backticks in a document declared as wiki format. (check-in: 76ca1f82 user: wyoung tags: trunk)
Link fix in previous (check-in: be74f259 user: wyoung tags: trunk)
Several improvements to the new document (check-in: f85bc326 user: wyoung tags: trunk)
Typo fix (check-in: 15b20343 user: wyoung tags: trunk)
Fixed some Markdown formatting problems in www/ Made a few minor grammar tweaks while in there. (check-in: 30716e3c user: wyoung tags: trunk)
Fix the backoffice processes on unix so that they close file descriptors 0, 1, and 2 and reopen them on /dev/null, so as not to interfere with parent processes in any way. Restore the default of backoffice-nodelay back to off. Remove the /test-backoffice-lease webpage, which did not work correctly. (check-in: c09b2512 user: drh tags: trunk)
Remove the /test-backoffice-lease webpage, since it doesn't really work correctly. Use only the "fossil test-backoffice-lease" command moving forward. We can wrap that command in a Wapp script if necessary. (Closed-Leaf check-in: b6aadace user: drh tags: backoffice-full-close)
Set the default backoffice-nodelay back to off. (check-in: 353a4e12 user: drh tags: backoffice-full-close)
A simpler method of ensuring that backoffice does not cling to the standard input and output. (check-in: 8c52c674 user: drh tags: backoffice-full-close)
In the backoffice process, close the 0, 1, and 2 file descriptiors and reopen them as /dev/null, on unix. (check-in: 6865fb72 user: drh tags: backoffice-full-close)
Added initial version of www/ document and a link to it from the front page. (check-in: 4ed14b1f user: wyoung tags: trunk)
If the "fds" query parameter is provided, then the /test-backoffice-lease webpage shows the open file descriptors. (check-in: 918e1ddd user: drh tags: trunk)
Turn backoffice-nodelay on by default. (check-in: af599d6a user: drh tags: trunk)
Add the /test-backoffice-lease web page. (check-in: 4a544e5d user: drh tags: trunk)
Make sure the backoffice has all file descriptors closed before it starts. (check-in: 15f85cfd user: drh tags: trunk)
Add table sorting to the subscriber list. (check-in: 988cf44d user: drh tags: trunk)
Added Forum navbar before Tickets in all skins that had such a link, pointing to /forum if the user is anonymous and has capability 2 or 3, or is logged in and has any capabilities in 2-6 inclusive. (Closed-Leaf check-in: 4344f806 user: wyoung tags: forum-skin-links)
Adjust the homepage to point to the new forum instead of to the legacy mailing lists. (check-in: ec88836d user: drh tags: trunk)
Add initial documentation about email alerts. Remove obsolete forum features from the "fossil config" command. (check-in: 62411f37 user: drh tags: trunk)
Update internal Unicode character tables, used in regular expression handling, from version 10.0 to 11.0. (check-in: 1aff43a7 user: jan.nijtmans tags: trunk)
Fix the build on unix. (check-in: 88240d4d user: drh tags: trunk)
More enhancements to backoffice diagnostics. (check-in: 864a6f39 user: mistachkin tags: trunk)
Add documentation about the backoffice. (check-in: c6522a0f user: drh tags: trunk)
Fix the MSVC specific link flags. (check-in: 27c4e7b0 user: ashepilko tags: cmake-ide)
Fix some compiler warnings. (check-in: 250fc00d user: mistachkin tags: trunk)