Fossil

Changes On Branch skin-preference-cookie
Login

Changes On Branch skin-preference-cookie

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

Changes In Branch skin-preference-cookie Excluding Merge-Ins

This is equivalent to a diff from 4de677dc to 7fed83c9

2021-03-02
13:55
Alternative skins can be determined by the "skin" field of the display preferences cookie. The "skn_X" mechanism is removed. (check-in: 33394207 user: drh tags: trunk)
08:54
Updated changes.wiki to replace skn_X references with skin=X. (Closed-Leaf check-in: 7fed83c9 user: stephan tags: skin-preference-cookie)
08:09
Corrected ability to be able to select the repository's configured skin, rather than just built-ins. (check-in: 5289ab2a user: stephan tags: skin-preference-cookie)
07:11
Skin selection is now stored in the user display prefs cookie and can be modified from any page by passing the skin=xyz URL parameter. Gets trumped by /draftX URI or --skin CLI flag or skin: CGI config setting. Removed /skn_XYZ URI handling. /skins page now uses the new mechanism for skin selection. UDC is now rendered on every page if it was modified during that request, regardless of the 'udc' URL parameter. See discussion at /forumpost/4d3a10c72a. (check-in: 71a2d68a user: stephan tags: skin-preference-cookie)
2021-03-01
20:54
Change the algorithm for detecting when a user agent is a narrow-screen mobile device to the algorithm recommanded at https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#mobile_device_detection. (check-in: 4de677dc user: drh tags: trunk)
20:37
If the diff type (unified vs. side-by-side) is not specified by a query parameter or cookie, then determine the diff type based on the "preferred-diff-type" setting, if there is one, or on a guess whether or not the requesting agent is a mobile device based on the User-Agent parameter in the HTTP request. (check-in: 29bab274 user: drh tags: trunk)

Changes to src/branch.c.

Changes to src/cgi.c.

Changes to src/cookies.c.

Changes to src/descendants.c.

Changes to src/finfo.c.

Changes to src/info.c.

Changes to src/main.c.

Changes to src/skins.c.

Changes to src/style.c.

Changes to src/tag.c.

Changes to src/timeline.c.

Changes to www/changes.wiki.