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

178 check-ins by user wyoung

Several improvements to the discussion of building against OpenSSL in www/ check-in: 48b74fce user: wyoung tags: trunk
Markdownism fixes in previous check-in: 39825691 user: wyoung tags: trunk
Noted that linking Fossil to an OpenSSL built from source opens the user to the "no root certs" problem previously solved in www/ check-in: c563be15 user: wyoung tags: trunk
Clarified the "build from source" option for linking Fossil to a non-platform version of OpenSSL. check-in: 1e21abda user: wyoung tags: trunk
Assorted improvements to www/ check-in: e629c1b7 user: wyoung tags: trunk
Expanded the discussion of OpenSSL options in www/, mainly adding advice on installing it via package managers. The new OpenSSL discussion in now points to this, rather than to the next section level up, as in the prior checkin. check-in: a13820dc user: wyoung tags: trunk
Expanded the section on --with-openssl=none in www/ to explain why adding that option is a bad idea, what to do instead, and to point to the newly expanded OpenSSL discussion in www/ for more information. check-in: 4f810279 user: wyoung tags: trunk
Fixed a Markdown-ism in previous check-in: 485eda76 user: wyoung tags: trunk
Updated www/ to cover the new "Redirect to HTTPS" setting and to add recovery methods for the case where enabling it causes a redirect loop. check-in: 226b14fc user: wyoung tags: trunk
Updated the Security-Audit page to better handle the change from the old https-login setting to the new redirect-to-https setting. check-in: 37918a1f user: wyoung tags: trunk
Swapped Let's Encrypt's advice for ssl_ciphers in the nginx TLS config for Qualys SSL Labs' advice. check-in: 8f2ec292 user: wyoung tags: trunk
Typo fix check-in: 83c902be user: wyoung tags: trunk
Linked the new TLS + nginx guide to an nginx blog on enabling HSTS. check-in: 30d577a7 user: wyoung tags: trunk
Assorted improvements to the TLS/SSL docs. check-in: 43166dcd user: wyoung tags: trunk
Pointing to evergreen "TLS/HTTPS/SSL Documentation Maintenance" thread from www/ check-in: 872d3957 user: wyoung tags: trunk
Largely rewrote www/, it being 7 years since the last update, during which time much has changed in TLS land. Added the initial version of www/ as a companion article to it, since the topic is too deep to get into within Finally, added a new script, tools/fslsrv, referred to by, since it's too big to put inline within the article. check-in: 062d2bf6 user: wyoung tags: trunk
Added a hyperlink from the "upgrade to Fossil 2.1 or later" recommendation at the top of the hash policy document to the "Installing" section of the Quick Start document. check-in: f392fac7 user: wyoung tags: trunk
Fixed an errant use of a Markdown hyperlink in a Fossil wiki document. check-in: 15cbb09d user: wyoung tags: trunk
Updated the Debian Stretch speculation bit at the end of the hashpolicy document with latest results from the forum thread. check-in: 9d673f04 user: wyoung tags: trunk
Updated the hash policy document, mainly to put it in past tense and to cover the current situation. check-in: df8baf94 user: wyoung tags: trunk
Updated the paragraph on SHA1 hashes in www/ to also talk about SHA3-256. check-in: ac2c2c77 user: wyoung tags: trunk
Fixed a use of fclose() on a handle opened with popen(), noticed by Stephan Beal. check-in: 1f4b4fcb user: wyoung tags: trunk
The new blockquote tinting feature of the default skin now works in the forum post editor screen as well, not just in the forum post display screen. check-in: 19bb3b88 user: wyoung tags: trunk
Typo fix check-in: 572574d1 user: wyoung tags: trunk
Assorted small improvements to check-in: eadf2644 user: wyoung tags: trunk
The recent change that allows Admin-only users to edit the skin affected the setup.c side of things only: there were also several bits in skins.c that checked for g.perm.Setup, so an Admin-only user couldn't actually do anthing useful. check-in: 7b58c6fd user: wyoung tags: trunk
Added the "Setup-Only Features" section to check-in: 8ec908d1 user: wyoung tags: trunk
Added www/ to the permuted index check-in: 969380a5 user: wyoung tags: trunk
Added the document explaining the differences between the Setup and Admin user capabilities, and offering a philosophical argument for why these distinctions are drawn as they currently are. check-in: 2056e9f7 user: wyoung tags: trunk
Granted access to /setup_timeline to Admin users as well as Setup users. check-in: cd8c5df5 user: wyoung tags: trunk
Typo fix check-in: 91e8c121 user: wyoung tags: trunk
The /setup_adunit, /setup_logo, and /setup_skin pages now give full rights to Admin-only users, not just to Setup users, since it seems sensible for a Setup user to delegate cosmetic matters to "mere" Admins. Closed-Leaf check-in: a4265ae8 user: wyoung tags: setup-delegates-cosmetics-to-admin
The /setup page can now be seen by both Admin and Setup users, as requested by drh via private email. The set of links shown is culled for Admin-only users. Also changed some comments to match the code with respect to Admin vs Setup capability. The only change to user capability interpretation in this checkin is to the /setup page. check-in: 7d034d34 user: wyoung tags: trunk
The /setup_modreq page was limited to Setup users, but since it controls what users with Moderator capability can do, made it available to Admin users as well. check-in: 6242e24d user: wyoung tags: trunk
Found several more pages protected with "!g.perm.Setup && !g.perm.Admin" guards: changed them all to "!g.perm.Admin" only for the same reason as [558952c8]. check-in: 42c3364f user: wyoung tags: trunk
The /secaudit0 page was checking for both Admin and Setup capabilities, which means it was only accessible to users with Setup users, since that is the only class that can have both capabilities. Since it's documented as being available to Admin users, changed the logic to allow access to Admin *OR* Setup users. check-in: 558952c8 user: wyoung tags: trunk
Merged login-on-post branch to trunk check-in: c0e384cf user: wyoung tags: trunk
Another attempt to fix non-constant format complaint. Closed-Leaf check-in: 725630f3 user: wyoung tags: login-on-post
Fix to previous for the "non-constant format" complaint from some compilers. I can't see what they're yelling about, but this fixes it. check-in: 095333fc user: wyoung tags: login-on-post
The "New Thread" button in /forum is no longer restricted to those with forum write capability: if you lack it, we now send you to the login page instead. Without this, users without the capability to post are left looking in through the window of a building without obvious doors. This change pairs especially nicely with the self-registration feature, but it doesn't require it, since /login also allows anonymous login, which should be enabled for Fossil forums on sites where non-users are expected to visit. check-in: cdb7f3b9 user: wyoung tags: login-on-post
Fixed an off-by-one error in the error log header printer, resulting in the day number being for the next day past the call time. Bug diagnosis and fix from check-in: cf9b44a9 user: wyoung tags: trunk
Applied a patch by forum user vor0nwe to allow the WYSIWYG wiki page editor to work in the face of the new CSP restrictions on inline JavaScript. The patch and explicit license for inclusion in Fossil are here: check-in: 543cdd47 user: wyoung tags: trunk
Removed a period at the end of a sentence ending in a URL to avoid the need for cleverness in URL handling to get the correct document to open. (Affects "fossil help grep" output.) Problem noticed by jungleboogie on the forum, /forumpost/13332107cc.) check-in: fac3d6b0 user: wyoung tags: trunk
Added a nonce attribute to the <script> tag for the inline JavaScript backing the WYSIWYG wiki editor feature. Without this, modern browsers throw a CSP violation. check-in: 12a90ff4 user: wyoung tags: trunk
Bolded the card letters in and normalized 'X card' vs 'X-card' vs '"X" card' to make it easier to search for a given card type in the document. check-in: a1437b24 user: wyoung tags: trunk
Added the mv/rm files change to the 2.7 changelog check-in: be1bc912 user: wyoung tags: trunk
Fixed an HTML typo in the /help page, reported by "Z03": ( check-in: 1f4a9eb9 user: wyoung tags: trunk
Avoided a crash in Fossil > Admin > Notification > Send Announcement triggered when no subscribers are set up, causing it to fail on Submit if you tell it to send the announcement to all subscribers. The check also guards against sending such things before email alerts are set up. In either case, the "Send Announcmeent" page gives an error pointing you to the docs, rather than a form that cannot be successfully submitted. check-in: ea646955 user: wyoung tags: trunk
Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. check-in: f6502e8c user: wyoung tags: trunk
Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. check-in: 729360ec user: wyoung tags: trunk
Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless. check-in: f08a09ca user: wyoung tags: trunk
Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm. check-in: ba71b359 user: wyoung tags: trunk
Added -DUSE_LINENOISE to Makefile.classic, since it's built into Fossil, and that build system has no way to find or use libedit or libreadline intead. check-in: 15e1dcd0 user: wyoung tags: trunk
Listed the actual differences between fossil grep options and those defined by POSIX in www/ check-in: d5499091 user: wyoung tags: trunk
Added a spec reference to POSIX grep, and fixed a typo. check-in: 9fc411ab user: wyoung tags: trunk
Expanded a few of the sections in the new www/ doc check-in: f984d331 user: wyoung tags: trunk
URL fix check-in: 186748ff user: wyoung tags: trunk
Moved the documentation for Fossil's grep implementation out of src/regexp.c into a new document with greatly-expanded content, www/, which is now referenced both from the source code and in the output for "fossil help grep". check-in: 2e1775e2 user: wyoung tags: trunk
Added an entry for `fossil grep` to the www/ file in the 2.7 section. Somehow this addition wasn't noted prior to the release. check-in: 9e1faa02 user: wyoung tags: trunk
Merged branch libbind-ns-alternative: I haven't found any platform where this won't build. It doesn't enable libbind or use libresolv better on every platform where it might possibly work, but at the very least it avoids build errors everywhere I've tried it. check-in: 71c298f3 user: wyoung tags: trunk
"New Message" -> "New Thread" in forum. check-in: e11d3917 user: wyoung tags: trunk
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
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
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
Second attempt at blockquote styling, this time restricting it to forum posts only. (Previous: [2190f86c324d0]) check-in: c285cd08 user: wyoung 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
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
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
Added www/ to the documentation index. check-in: 7bd7b2c6 user: wyoung 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
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 wrapping 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
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
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
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
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
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
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
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
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
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
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
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
URL fix in check-in: 542c5576 user: wyoung tags: trunk
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
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
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
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
Added initial version of www/ document and a link to it from the front page. check-in: 4ed14b1f user: wyoung 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
Grammar tweak in the Fossil vs. Git document. check-in: ce4fb80e user: wyoung tags: trunk
Fixed an h2 -> h3 header level in the Fossil vs. Git document. check-in: 3b02193a user: wyoung tags: trunk
Grammar fix check-in: ec059849 user: wyoung tags: trunk
Rewrote the autoreconfigure explanation comment. It was confusing and contained errors. check-in: 50844e5c user: wyoung tags: trunk
Removed the GNU make conditional around the new autoreconfigure dependency rule in the top-level Apparently we have users using some other make, perhaps BSD make. Since the conditional only prevents autoreconfigure in the "make clean" case, where it is a minor annoyance, it's not important to work out how to retain this in a non-GNU make world. check-in: 454e1193 user: wyoung tags: trunk
Merged in an upstream improvement from Autosetup addressing GH issue in a different output file. That in turn requires an adjustment to our new autoreconfigure feature to avoid a make(1) loop. Closed-Leaf check-in: 1d549aa8 user: wyoung tags: wy-autoreconfig
Small path fix to the new autoreconfigure Makefile rule. check-in: b923d800 user: wyoung tags: wy-autoreconfig
Automatically re-configuring (same as "make reconfig") when, src/, or one of the autosetup files changes. This should avoid the need to recommend to people "re-run configure" whenever they call "fossil update" on this tree. check-in: c649ba27 user: wyoung tags: wy-autoreconfig
Added "reconfig" target to the top-level Makefile, which uses an autosetup feature to re-run configure with the same options you gave manually. check-in: fd33b6a4 user: wyoung tags: wy-autoreconfig
Moved the check for iconv(3) in -liconv up within auto.def. If it happens after the checks for OpenSSL on certain macOS configurations, autosetup can be fooled into believing it doesn't need -liconv on that platform. This checkin splits up the group of cc-check-functions calls, so the moved call is now documented as to why its segregated. check-in: e6f64f5e user: wyoung tags: trunk
Assorted tweaks to new Platform Quirks section of www/ after re-reading it. check-in: a53d3b7d user: wyoung tags: glob-docs
Replaced the Platform Quirks section of the www/ document with a modified version of what I (Warren Young) posted to the mailing list, the differences answering Ross Berteig critiques of the original version. check-in: 0a51f1bf user: wyoung tags: glob-docs