Also use the now global hash_digits() function in src/info.c, and set the copy length limit to FOSSIL_HASH_DIGITS_URL for consistency with the copy buttons on the tooltips.
check-in: 710229e7 user: florian tags: copybtn.js-demonstration

Demonstration of the copybtn.js module beyond tooltips: add a copy button near the full-length hash of check-ins on the /info page, to copy only the hash prefix when clicked.
check-in: 46f91da1 user: florian tags: copybtn.js-demonstration

Add the "data-copylength" attribute to control the length of the copied text. (Rationale: Allow copying just the shortened hash prefixes from elements displaying the full-length hashes, because the short forms are preferred when building command-lines or URLs, and because the full-length hashes are already much easier to copy.)
check-in: 2e17a063 user: florian tags: tooltip-copyhash

Move the code to setup the "Copy Hash" icon to a separate function, and link the icon to the target element through a "data-copytarget" attribute, so that "Copy Hash" icons could be added in other places than just tooltips.
check-in: 54f0ae78 user: florian tags: tooltip-copyhash

Add a "Copy Hash" icon to the tooltip, to copy the hash or branch name of the underlying element to the clipboard. See the wiki page linked to this branch for more information.
check-in: 371943c9 user: florian tags: tooltip-copyhash

Ensure the close timer is started for tooltips belonging to nodes instead of rails, and prevent an out-of-bounds array access for double-clicks outside of rails.
check-in: d57c1a79 user: florian tags: tooltip-experiments

Improved computation of the rail mapper for timelines on a branch.
If the branch is across two or more rails, then all rails of that
branch are moved to the left as far as practical.
check-in: d19df616 user: drh tags: trunk

Auto-close the tooltip after a timeout, if the mouse pointer is no longer over the associated element. The auto-close timeout is elapsed (and the tooltip closed instantly) if the mouse pointer is over another element, paused (and reset) as long as the mouse pointer is over the tooltip, and cancelled (and the tooltip kept open) if the mouse pointer is moved back over the same element.
check-in: 3d5903ce user: florian tags: tooltip-experiments

For timelines of a particular branch, try to put the target branch on the left
side of the graph, before "trunk". Trunk comes second.
Closed-Leaf
check-in: b39d8d69 user: drh tags: selected-branch-on-left

Add a new test case to the graph-test-1.wiki file that verifies that when
a fork occurs, the longest chain of check-ins occurs directly above the
fork. That test case is currently failing and needs to be fixed.
check-in: cfadf71f user: drh tags: trunk

Experimental change to have the tooltip appear automatically after a "dwell timeout", in addition to mouse clicks. See the wiki page linked to this branch for more information.
check-in: bba53370 user: florian tags: tooltip-experiments

Classic styling for the tooltip (grey shadow, also works with dark backgrounds) and the hyperlink (blue and underlined, to indicate it can be clicked).
check-in: cdb85ba9 user: florian tags: tooltip-experiments

Make the "click to show tooltip" action more "discoverable" with a changing mouse cursor, similar to the timeline nodes. This example uses the "pointer" cursor, but the "help" cursor may also be an option.
check-in: 8b8eaad8 user: florian tags: tooltip-experiments

Check-in [344a3331d34d896776] breaks the build when using openssl-1.0.1 so
back it out for now. (Added:) The content is correct, but this check-in
shows an unexpected merge. I don't know yet if the extra merge is a bug in
fossil or a PBKAC. This check-in was originally to trunk but is now moved
to a branch.
check-in: 8ac66ef3 user: drh tags: bad-merge

Improvements to branch linkage from the tooltip. Branch linkage now works
even from a file history graph. And the source check-in is always
highlighted in the linked timeline.
check-in: a27ca27f user: drh tags: tooltips

Improvements to the timeline graph layout: (1) Use a dotted vertical line
to indicate a gab of one or more check-ins in a branch. (2) Do not necessarily
draw branch lines all the way to the top or bottom of the page. Leave space
for the rail to be reused by other branches.
check-in: d14590db user: drh tags: trunk

When attempting to determine the Fossil user information, do not smash the global URL information which may contain an alternate URL used for sync operations (e.g. when using 'fossil sync --once'). This fixes the ability to work offline and synchronize with a USB thumbdrive ala sneaker-net.
check-in: b9e36291 user: mistachkin tags: trunk

Add tooltips to more elements. Click to jump to the branch displayed by
the tooltip - except clicking no a node toggles the node selection on and off
as it always has.
check-in: 804dbe0d user: drh tags: tooltips

Change redirect handling so that (1) status codes 307 and 308 are recognized
as redirects in addition to 301 and 302 and (2) the remote URL is only changed
if it encounters a permanent redirect (301 or 308).
check-in: f2ca4491 user: drh tags: trunk

Add the %j formatting directive to the customized printf() inside of
Fossil. The %j format generates a string with appropriate backslash
escapes so that the string can be part of a Javascript string literal.
check-in: 5e9c1d5e user: drh tags: trunk

When deleting a user via /setup_uedit, also disapprove any pending-moderation entries for users which are no longer in the user table. This is programmatically simpler than only removing entries for the removed user but (potential corner case) would also disapprove pending modreq entries if a user account is renamed while moderation of their content is pending.
Closed-Leaf
check-in: b14cf3bc user: stephan tags: moderate-disapprove-on-user-delete

Create new branch named "moderate-disapprove-on-user-delete" (ooops - all these years and i never realized that "branch new" automatically creates a new empty commit!)
check-in: a0595089 user: stephan tags: moderate-disapprove-on-user-delete

Attempts at improving timeline graphs to be more intuitive and informational.
For this check-in, add the TIMELINE_XMERGE property to disable merge lines
to non-graph nodes. Then disable TIMELINE_DISJOINT for branch graphs.
check-in: f6d74f16 user: drh tags: graph-improvements

Fix the anti-robot logic so that auto-hyperlink-mouseover actually works
and so that the "mouseover" setting sent down to javascript is determined
only by the setting on the Access page.
check-in: 37f23f37 user: drh tags: trunk

Improved rendering of the graphs on the /thisdayinhistory page. More
generally, improved rendering of multiple graphs on the same page that
omit the TIMELINE_DISJOINT flag.
check-in: 8e2b8b02 user: drh tags: trunk

When attempting to determine the Fossil user information, do not smash
the global URL information which may contain an alternate URL used for
sync operations (e.g. when using "fossil sync --once"). This fixes the
ability to work offline and synchronize with a USB thumbdrive ala
sneaker-net.
check-in: 7063b1a3 user: andybradford tags: offline-sync

Make full use of the new file_tempname() in "fossil diff" with both --from and
--to options. Improve file_tempname() to allow for a suggested differentiator
tag.
check-in: 1dd2527f user: drh tags: trunk

On a "fossil git export", run appropriate "git update-ref" commands to make
sure that all refs/heads point to the latest check-ins for the branch, even
in cases there the branch has been renamed on the Fossil side by a tag.
check-in: ab68afe9 user: drh tags: trunk

(cherry-pick): Clean up the detection of BIO_ADDR_hostname_string by removing redundant definitions; apparently autosetup has a feature which automatically creates a define with HAVE_ prepended for whatever function is intended to be detected.
check-in: 9ef58dcf user: jan.nijtmans tags: branch-2.8

Applied a fix to fossil-autocomplete.bash posted on the forum, said to
avoid adding a space to the end of an autocompleted path:
https://fossil-scm.org/forum/forumpost/7ba4a4c495
check-in: 99ad7fc3 user: wyoung tags: trunk

Sync and Clone HTTP requests omit the extra /xfer path element from the
end. This should work fine with all versions of Fossil server published
since 2010, but might require that the /xfer path element be added manually
to the URL for server instances that predate check-in [94bb313444b0165e].
check-in: 19c60b7f user: drh tags: trunk

The abbreviated certbot command didn't work here on my first Let's
Encrypt renewal after writing the tls-nginx.md document, so changed
that advice to use the full-strength form.
check-in: dadd1342 user: wyoung tags: trunk

Clean up the detection of BIO_ADDR_hostname_string by removing redundant
definitions; apparently autosetup has a feature which automatically
creates a define with HAVE_ prepended for whatever function is intended
to be detected.
check-in: 3d827943 user: andybradford tags: trunk

Several improvements to the image-format-vs-repo-size experiment and the
report documenting it: dropped the first 3 columns of data to make the
bar chart clearer; drawing the bar chart on a transparent BG in case
it's used on a page with a non-white BG, as with a selected Fossil forum
post; added axis labels; added a run time calculation to the expensive
first step; fixed a few syntax problems that prevent the Python code
from compiling on Python 3; documented some problems with running it under
Anaconda on macOS; better documented the notebook's dependencies; many
clarifications to the experimental report text.
check-in: 41e5237a user: wyoung tags: trunk

If the login fails during a clone or sync, fail the command immediately rather
than reprompting for a new password, as the sync is going to eventually fail
anyhow.
check-in: e4ca60cd user: drh tags: trunk

Moved the section on stunnel configuration from www/server.wiki to
www/ssl.wiki, adding links from one to the other. Also changed all
remaining references to "SSL" in server.wiki to "TLS".
check-in: 355c16a5 user: wyoung tags: trunk

Wiki formatting fix pass on www/server.wiki in preparation for more
substantial changes: removed all explicit <p> tags where they don't
affect rendering; changed all <a name...><h2> with <h2 id=...>; added
whitespace; moved <blockquote> tags down to their own line since they're
key to the page layout.
check-in: 3406f0eb user: wyoung tags: trunk

Only showing the file name extension to MIME type map page on the
sitemap if the accessing user has an ability to check in named files.
I can't see how anyone else would care what that table contains.
check-in: 71d66284 user: wyoung tags: trunk

Removed the Markdown and Wiki help page links from the Help section of
the sitemap when the accessing user has no ability to create content in
those formats: no wiki, ticket, or forum creation capability, no checkin
rights, and no Admin rights.
check-in: 7ff6d5b0 user: wyoung tags: trunk