Fossil

Timeline
Login

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

200 most recent check-ins by user stephan

2021-03-04
11:18
Removed the reduced opacity from the 'active' menu item in darkmode skin. It just looks a bit odd. ... (check-in: a0f30a58 user: stephan tags: trunk)
03:53
Added diff toggles to the /vinfo page, per forum feedback. ... (check-in: ddb2124a user: stephan tags: trunk)
2021-03-03
17:28
The various diff-rendering pages now have toggles to show/hide individual diffs, as discussed in 0f751ad9c8. ... (check-in: 877246cf user: stephan tags: trunk)
17:24
leaves command now shows the branch point of each leaf, as discussed in 5e52d31d2e. ... (check-in: d21e3c5a user: stephan tags: trunk)
10:17
Added Look & Feel tasks to the GSoC list. ... (check-in: ea2f26aa user: stephan tags: trunk)
2021-03-02
15:33
When a page with skin=X&once generates its style.css link, append skin=X&once to that lnik so that it gets the proper skin when style.css is loaded (asynchronously). Renamed the skin=_repo (reset to site-specific skin) to skin= (blank name), per /chat discussion. ... (check-in: 10dfd9e5 user: stephan tags: trunk)
15:01
When skin=X query parameter is processed, if a param named 'once' is also set then apply the skin change but do not save it to the cookie, as per /chat discussion. The intent is mainly to facilitate the development of docs using both light- and dark-mode skins at the same time, which is somewhat painful when the cookie constantly gets overwritten. ... (check-in: 7db18bfe user: stephan 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:23
Minor doc clarification. ... (check-in: c05ec7d9 user: stephan tags: skin-preference-cookie)
07:21
Minor doc correction. ... (check-in: 2d6bb6e9 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)
04:04
Removed the min/max height on the diff toggles to slightly improve the layout flow. ... (Closed-Leaf check-in: 42205f9c user: stephan tags: diff-view-toggle-poc)
03:51
Moved the diff toggle button to the right of the diff header line, per forum feedback. Changed the button to a checkbox. Removed the arbitrary heuristics regarding which diffs to show/hide by default - they are now all on by default. ... (check-in: f9d29b97 user: stephan tags: diff-view-toggle-poc)
2021-03-01
17:35
Proof of concept/demo for toggle buttons on individual diff views on the /info diff views, as discussed in 0f751ad9c8. ... (check-in: cfdd6665 user: stephan tags: diff-view-toggle-poc)
13:34
Removed BLOB_SEEK_END from the API, per /chat discussion, as it was unused and appeared to have a semantic discrepancy vis-a-vis fseek() and SEEK_END. ... (check-in: 6fc730e0 user: stephan tags: trunk)
03:00
Merged in trunk. ... (Closed-Leaf check-in: ab047b62 user: stephan tags: leaves-command-branched-from)
2021-02-25
10:12
Removed an if() condition in content_put_ex() which was possible back in 2007 but is no longer possible. Updated the surrounding content to reflect current reality. ... (check-in: dad521bb user: stephan tags: trunk)
05:56
Typo fix in /setup_timeline and the same fix in an internal API doc. Same typo exists in shell.c, but that's upstream 3rd-party code. ... (check-in: c8021e99 user: stephan tags: trunk)
2021-02-24
19:24
Typo fixes in fileedit-page.md ... (check-in: d400f403 user: stephan tags: trunk)
04:59
Checkin [188ffef2] inadvertently caused one particular graceful failure to degrade to a non-graceful failure (a failed assert()). This checkin resolves that. ... (check-in: 7a985a3d user: stephan tags: trunk)
00:24
Micro-touchups to the is-not-relational doc. (Its name really should be shortened to not-relational.md, but we already have links to the longer name out in the wild.) ... (check-in: 213160c7 user: stephan tags: trunk)
00:14
Minor rewording/clarification in fileformat.wiki. ... (check-in: 7ebe73ff user: stephan tags: trunk)
2021-02-23
21:33
Minor technote tag footnote and a typo fix. ... (check-in: b1600a22 user: stephan tags: trunk)
02:48
sha3sum command now exits with an error if it cannot open a requested file, per discussion at 9cc4028627. ... (check-in: bda90774 user: stephan tags: trunk)
2021-02-22
12:23
Added a missing 'return this'. ... (check-in: 4ce90f01 user: stephan tags: trunk)
06:48
Documented several special-case rules for certain cards as footnotes in the fileformat.wiki card summary table. ... (check-in: a3bfeb85 user: stephan tags: trunk)
04:35
As a safety precaution against changes made in [ecb705359a] and [b8c1d429cb], content_deltify() now explicitly checks whether its main input RID refers to a phantom and skips further work if it is. ... (check-in: 188ffef2 user: stephan tags: trunk)
03:33
Technote counterpart fix of [ecb705359a]. ... (check-in: b8c1d429 user: stephan tags: trunk)
03:09
Corrected wiki crosslinking's check for an older version of the page, as detailed in dfd85f0b00. Rebuild is required to correct wiki timeline entries. ... (check-in: ecb70535 user: stephan tags: trunk)
2021-02-19
17:39
Minor additions to gsoc-ideas.md. ... (check-in: 8b453eb2 user: stephan tags: trunk)
2021-02-18
23:14
Typo fix. Removed a block of commented-out pikchr. ... (check-in: 269788eb user: stephan tags: trunk)
23:11
Permuted index: Added the word relational to the fossil-is-not-relational.md description so that that page can be more easily found in the index. ... (check-in: c17054a5 user: stephan tags: trunk)
13:54
API doc typo fix. ... (check-in: 9eed26b0 user: stephan tags: trunk)
2021-02-16
18:53
darkmode skin: cleaned up centering of hamburger menu. ... (check-in: daf8ab95 user: stephan tags: trunk)
2021-02-15
18:24
Use main-branch setting, instead of hard-coded trunk, for determining whether a given leaf should show its branch point, per forum feedback. ... (check-in: 0d5349cd user: stephan tags: leaves-command-branched-from)
16:40
Sigh - another fix from having edited the post-processed source. ... (check-in: 39067976 user: stephan tags: leaves-command-branched-from)
16:38
Fixed breakage caused by editing the post-processed source code rather than the original (emacs followed a gcc compiler error there). ... (check-in: bbb808ca user: stephan tags: leaves-command-branched-from)
16:36
Moved a misplaced mprintf() and added a missing free() from the previous commit. ... (check-in: ad9e8b99 user: stephan tags: leaves-command-branched-from)
16:27
Experimentally added branched-from info to the leaves output, as discussed in forum:/forumpost/5e52d31d2e. ... (check-in: 0b41f332 user: stephan tags: leaves-command-branched-from)
15:50
Internal API additions in symbolic_name_to_rid(). ... (check-in: 20391d1e user: stephan tags: trunk)
2021-02-12
18:17
darkmode CSS: added horizontal scrollbar on pre.udiff, needed for diffs of wiki edits. ... (check-in: 7e2bc084 user: stephan tags: trunk)
16:42
Email alerts now show the type of wiki operation (add/edit/remove) for wiki edits and no longer render the magic internal timeline comment prefix character in the alert. ... (check-in: 7fcfa933 user: stephan tags: trunk)
14:31
Fixed mis-quoting of wiki page changes in the timeline CLI (/timeline was unaffected). They were including the (user: X) bit in the quotes for the page name. ... (check-in: 336d83e3 user: stephan tags: trunk)
12:59
Fixed a broken link in fossil-is-not-relational.md. ... (check-in: 5b427370 user: stephan tags: trunk)
03:45
Added fossil-is-not-relational.md. ... (check-in: 8da2f2ae user: stephan tags: trunk)
2021-02-10
22:13
This seems to fix the missing is-sorted check in manifest_parse(), but (A) it needs more testing and (B) could use a better error message than the one it ends up generating. Edit: WARNING: fixing this will cause control artifacts which previously passed (but should not have) to fail. ... (check-in: 2e7a0aac user: stephan tags: manifest-sort-check)
21:21
Corrected the order of the N- and P-cards on edits made to technotes. See /forumpost/74fd8dac3a for details. ... (check-in: 1cd6c545 user: stephan tags: trunk)
14:25
Added 'L' pseudo-capability character to indicate is-logged-in, for use with th1 capexpr. Removed hard-coded addition of login/logout menu entries in skin headers, delegating them to the mainmenu setting, and added Login/Logout entries to the default mainmenu value. ... (check-in: e5240c97 user: stephan tags: trunk)
13:02
caps/ref.html: modified inlined table header style to be readable in dark-mode skins (eagle, xekri, darkmode). ... (check-in: 5d8e5eeb user: stephan tags: trunk)
12:44
Khaki skin: fixed login/logout links in the header (were missing the $home URL prefix). ... (check-in: 9a8361f6 user: stephan tags: trunk)
12:15
ardoise skin: updated security audit table colors. darkmode skin: added .wideonly/.desktoponly. ... (check-in: 39ce70a1 user: stephan tags: trunk)
2021-02-07
13:02
Typo fix in alerts config page. ... (check-in: 391eb1ce user: stephan tags: trunk)
09:56
/chat: added client-local day-of-week to the message time strings. Y-M-D seems awful noisy, per chat room consensus, but we also have code for that if we decide otherwise. A couple code-adjacent internal cleanups. ... (check-in: 65be3231 user: stephan tags: trunk)
2021-02-06
19:04
Minor skintxt2config cleanups. ... (check-in: 324154e8 user: stephan tags: trunk)
16:31
skintxt2config: exit with code 0 if --help is explicitly requested. ... (check-in: b3d51b97 user: stephan tags: trunk)
16:26
Added tools/skintxt2config.c. ... (check-in: 35db28eb user: stephan tags: trunk)
11:50
Doc formatting fixes from /forumpost/a924078381. ... (check-in: 3c8831ec user: stephan tags: trunk)
06:58
Help text: swapped a few more long/short flags to short/long for consistency. ... (check-in: ba7b4317 user: stephan tags: trunk)
05:20
Added --mainmenu flag to the http command, as the Windows impl passes on its flags to that command. ... (Closed-Leaf check-in: 32ab3d23 user: stephan tags: mainmenu-override)
05:12
Windows: escape --mainmenu's argument before passing it on to child ui process. ... (check-in: d059d620 user: stephan tags: mainmenu-override)
04:48
Corrected potential mishandling of memory ownership in the previous commit. ... (check-in: d6e698c2 user: stephan tags: mainmenu-override)
04:40
Restructured how --mainmenu value is saved. Added support for it to Windows server, but that is untested. ... (check-in: 852be6d4 user: stephan tags: mainmenu-override)
2021-02-05
10:36
Added ui/server/cgi --mainmenu FILE option, and CGI wrapper script mainmenu: option, to override the mainmenu setting, similar to how --skin/skin: overrides the skin. ... (check-in: bcca0910 user: stephan tags: mainmenu-override)
03:51
Minor reordering of diff command help, per forum suggestion. ... (check-in: dd131913 user: stephan tags: trunk)
03:21
Merged in help-full branch, which adds help --everything flag, and fixed another bit of safe-html setting docs so that they work with the HTML help text export. ... (check-in: 89e5ac19 user: stephan tags: trunk)
03:17
Replaced raw SCRIPT and STYLE tag references in the safe-html docs with non-tag formulations because the tags break the HTML-format help text conversion. ... (Closed-Leaf check-in: 0ac9052c user: stephan tags: help-full)
2021-02-04
04:11
diff help text: noted that -N is just an alias for --verbose, to help avoid confusion reported in /forumpost/e7311328be. ... (check-in: bfd1a682 user: stephan tags: trunk)
2021-01-30
04:01
Added checkbox to reset mainmenu to its default value, per discussion at forumpost/5ab3ce6c45. ... (check-in: 8af3d425 user: stephan tags: trunk)
01:39
Typo fix reported in the forum. ... (check-in: f8c42aba user: stephan tags: trunk)
2021-01-27
04:38
Added a note that capexpr was first introduced in 2.15. ... (check-in: 70cb4fe5 user: stephan tags: trunk)
2021-01-26
17:53
th1 docs: added new capexpr and marked (anycap, hascap, anoncap) as deprecated. ... (check-in: 82882146 user: stephan tags: trunk)
2021-01-18
04:32
Added --no-print-result flag to test-th-source to suppress output of final result, as the default behavior sometimes causes duplicate output of the last expression. ... (check-in: 817c6434 user: stephan tags: trunk)
2021-01-14
11:15
Fixed a couple C99-isms reported at /forumpost/487f05e382. ... (check-in: a7af387d user: stephan tags: trunk)
2021-01-13
13:23
Added missing help text reference to --type f (forum post) in timetype --type flag. ... (check-in: 40799f8b user: stephan tags: trunk)
2021-01-10
11:40
Updated the 'common commands' list in fossil.1 (man page) to match the current help output. ... (check-in: 603e9b38 user: stephan tags: trunk)
2021-01-08
06:22
Updated chat alert sounds from @sdr, lengthened to the point that FF can play them except that it's still being weird with bflat3.wav. Minor doc fixes. ... (check-in: c4179f45 user: stephan tags: trunk)
2021-01-06
13:00
chat: home/end navigation buttons now unconditionally start toggled off, as they're rarely useful. ... (check-in: b19081f3 user: stephan tags: trunk)
05:40
chat: reconnected the audible-alert persistent toggle to the new way of storing the sound file config. ... (check-in: 2f0bf9da user: stephan tags: trunk)
2021-01-05
14:02
It's 2021 now, not 2020. ... (check-in: d0e81e59 user: stephan tags: trunk)
14:00
Removed the reference to the unversioned table from the chat alert list generation, since that table is optional and the alerts are currently disabled (problem reported in /forumpost/f3a522489b. Removed mention of the configurable alerts from chat.md. ... (check-in: 381ad0c8 user: stephan tags: trunk)
12:49
chat: switched back to binary notification sound on/off, without sound file selection, per chatroom discussion. The the file selection bits are simply if'd out. Removed alerts/g-minor-triad.wav per request. ... (check-in: 1469c150 user: stephan tags: trunk)
06:40
chat: fixed the 'may user delete this message?' check, which was comparing an incorrect property. Corrected response handling for remote deletion, broken by API changes made since it was implemented. ... (check-in: 0fffa63b user: stephan tags: trunk)
05:40
Removed an unnecessary level of if(...). ... (check-in: 2d329da1 user: stephan tags: trunk)
05:26
Changed a link from relative to absolute to resolve broken link report from /forumpost/f428a9a9ce. ... (check-in: ca0eabfd user: stephan tags: trunk)
05:19
Moved chat audio notification files to src/alerts, per chatroom discussion. Chat audio is now configurable using a selection of builtin WAV files and audio files stored in /uv/alert-sounds/*.XYZ (==ogg, wav, mp3). The addition of a selection list means that closing the chat settings popup now requires tapping either a popup entry or the settings button - tapping in the page body won't do it because that handling collides with the selection list event handling. ... (check-in: 4c34053c user: stephan tags: trunk)
05:11
Fixed /builtin to be able to deliver binary content. ... (check-in: be936254 user: stephan tags: trunk)
2021-01-04
14:58
Chat docs: added notes about client-side message deletion and clarified hyperlink parsing a bit. ... (check-in: a6177fd4 user: stephan tags: trunk)
14:15
chat: the 'New message...' toast now includes a button which scrolls to the bottom of the message area. ... (check-in: e85b679d user: stephan tags: trunk)
14:04
chat: trim() leading/trailing spaces from message text before trying to send them. ... (check-in: b1d44f9e user: stephan tags: trunk)
12:22
Removed reference to now-removed chat-received.wav. ... (check-in: f51da629 user: stephan tags: trunk)
03:26
Minor cleanups in the chat-internal settings API and menu. ... (check-in: def06dc6 user: stephan tags: trunk)
2021-01-03
12:59
Downsampled plunk.wav to 8k, shrinking it to 6kb. ... (check-in: 327a82f7 user: stephan tags: trunk)
12:41
chat: when enabling audio notification, play the notification sound after a half-second delay. Slimmed down the option menu buttons a bit. ... (check-in: 729e1fc5 user: stephan tags: trunk)
11:08
chat: added preliminary audio notification support (may require toggling that capability on for a given server in the browser). Center-aligned chat error messages and removed the 'fossil' user name from them, for compatibility with upcoming timeline-style notifications. Added wav files to the binary-glob versioned setting. ... (check-in: 99caeec6 user: stephan tags: trunk)
2021-01-02
19:06
Improved chat.js error reporting a bit. Connection errors for send and history-fetch ops are now reported as error-style messags in the chat feed. ... (check-in: a08dfbab user: stephan tags: trunk)
06:05
In chat multi-line mode, the 'placeholder' text now mentions that Ctrl-Enter sends the message. ... (check-in: 16ba05da user: stephan tags: trunk)
05:26
Extended the is-json-mode check in [e0b51eb2e7] to include the 'http' command when looking for repolist-style paths. ... (check-in: bc593ea0 user: stephan tags: trunk)
03:06
Updated link to the public JSON API docs. ... (check-in: acda62f5 user: stephan tags: trunk)
02:56
Extended [dd490d17bec777c4] to also apply to the 'ui' command to resolve a JSON-mode assertion which happens when running ui --repolist reported at https://fossil-scm.org/forum/forumpost/2cc2bbd4a2. ... (check-in: e0b51eb2 user: stephan tags: trunk)
2020-12-30
05:15
chat: multi-line mode and chat-only-mode toggles are now locally persistent. ... (check-in: e2935846 user: stephan tags: trunk)
2020-12-29
23:24
Reworded uvlist table summary, per forum suggestion /forumpost/8e3c4ae3d8 and personal itch. ... (check-in: 5797c7e8 user: stephan tags: trunk)
16:49
Minor doc typo. ... (check-in: 47655d39 user: stephan tags: trunk)
04:18
chat: send and poll can now report if the session is logged out, and client-side poll stops looping if that condition is detected. Both cases emit a message in the message area, from user 'fossil', with the CSS class 'error' and a link to the login page with a redirect back to the chat page. ... (check-in: 3c0c8954 user: stephan tags: trunk)
00:37
Replaced use of a deprecated DOM API. ... (check-in: b06442a6 user: stephan tags: trunk)
00:27
Added new 'chat' perm to /json/cap response. ... (check-in: e06315f9 user: stephan tags: trunk)
2020-12-28
09:46
Chat: fixed +1 being added to Date.getDate() call (copy/paste error). ... (check-in: 5fab875d user: stephan tags: trunk)
08:59
chat: when loading older messages, return scroll point to the position it was at when load was started, per chat room request. ... (check-in: 49cc6f28 user: stephan tags: trunk)
08:54
chat: replaced the (approximate) messages-since-hidden count in the page title (i.e. browser tab label) to an asterisk so that users don't feel compelled to verify that number against what they actually see in the list (which differs at times). ... (check-in: 0a5fd03e user: stephan tags: trunk)
02:55
chat: removed some dead code. If URL parameter ping=### is seen, assuming we're running from the 'chat' CLI command and automatically start up in chat-only mode. ... (check-in: b111d1ca user: stephan tags: trunk)
00:23
chat: corrected the scroll position tracking when toggling single/multi-line mode to work from arbitrary points within the scroll area. ... (check-in: 0f59fba0 user: stephan tags: trunk)
2020-12-27
22:01
chat: when toggling between single/multi-line mode, retain the message area scroll position, insofar as its size allows for (e.g. might not work if the history is too short to scroll). ... (check-in: 423ee810 user: stephan tags: trunk)
21:22
Refactored the calc-elem-effective-height routine into the fossil.dom API for reuse elsewhere. Fixed (arguably) a minor layout quirk in the chat input field in multi-line mode. ... (check-in: 299fd690 user: stephan tags: trunk)
20:33
chat: reworked the auto-resize algorithm to account for elements which "incorrectly" report a height of 0. Experimentally removed the 2em bottom gap at the end of the message reportedly required by Safari. ... (check-in: cdc6dec7 user: stephan tags: trunk)
18:56
chat: improved the 'is previous message currently visible' calculation for the 'should we scroll?' heuristic. ... (check-in: b3f2eee5 user: stephan tags: trunk)
18:29
chat: seem to have eliminated the tiny dead-zone between the label and checkbox in the settings menu. ... (check-in: dc8f3a36 user: stephan tags: trunk)
18:00
Doc typo reported in the forum. ... (check-in: 1221a579 user: stephan tags: trunk)
17:44
Doc typo fix reported in the forum. ... (check-in: 988c5998 user: stephan tags: trunk)
17:42
Chat: hide message home/end buttons by default in portrait mode and add a menu toggle for them, and swapped the button positions (seems more natural). Minor tweak to the div.content resize algo to make use of CSS calc(). ... (check-in: deb9963a user: stephan tags: trunk)
09:56
Some flicker reduction when batch loading chat messages. Minor chat layout tweaks. ... (check-in: 5e046b64 user: stephan tags: trunk)
09:37
Added an ARIA role=alert to the fossil.toast.message/warning/error() popup, per form request. Toast API doc corrections. ... (check-in: 23d6b457 user: stephan tags: trunk)
09:05
chat: ARIA-related attribute changes suggested in the forum. ... (check-in: ca7aae80 user: stephan tags: trunk)
08:32
chat: added buttons to jump to top/bottom of message list. Added a huge margin under the input area because Safari demands it. Improved the div.content auto-resize calculation to get a more precise fit. ... (check-in: 24080827 user: stephan tags: trunk)
07:45
chat: auto-scrolling of other peoples' posts into view works based on a heuristic of whether the *previous* post is in view or not (else we assume the user is back in the history), with the notable caveat that posts with inlined images play havok with this, in part because loading of images is async and we race against it. Moved the #debugMsg element out of div.content to keep it from unduly influencing our layout. ... (check-in: 6c28d7d6 user: stephan tags: trunk)
07:03
chat: fixed mis-scroll when toggling chat-only mode. Re-re-introduced the img preview size cap. ... (check-in: b09f7e99 user: stephan tags: trunk)
06:48
chat: next round of Safari-friendly baby steps, developed in conjunction with Safari user mgagnon via chat session. ... (check-in: a1161fa9 user: stephan tags: trunk)
04:50
chat: reintegrated partial changes from [b0ab6cbd3] and [670732a6]: remove skin-induced div.content margins in chat-only mode and cap image preview size to avoid screen overflow. Moved #dbgMessage element out of the way at app startup to avoid it potentially influencing our flexbox layout, and include that element in the to-hide list for chat-only mode. Edit: Martin G. reports that this one also causes Grief with Safari, but in different ways that before. ... (Closed-Leaf check-in: 7c3cf7a1 user: stephan tags: no-joy)
04:30
chat: re-integrated JS-based div.content resizer to do approximately what the preferred 'vh' CSS units would, but upon which Safari apparently chokes. Message area now gets a scrollbar. This works reasonably well on FF/Chrome on both Linux and Android. The jury is still out on Safari. Edit: Martin G. confirmed this one also suffers from the "collapsing messages" problem on Safari. ... (check-in: d488f5c6 user: stephan tags: no-joy)
03:39
Eliminated top-down chat mode altogether in an attempt to eliminate some complexity and cruft. Re-added the toast-on-new-invisible-message from [0a00a103]. ... (check-in: 421d6570 user: stephan tags: trunk)
01:58
chat: Safari has a severe allergic reaction to CSS vh units, so calculate the size of the affected DOM element in JS code at app startup and when the window resizes. ... (Closed-Leaf check-in: 8747d85e user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
01:07
CSS tweaks to attempt to counter some Safari message spacing problems - cannot test locally. Also limit the chat image preview to 40% of the viewport width/height, to avoid it taking up the whole screen for a large image. ... (check-in: 670732a6 user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
00:32
Force bottom-up chat mode, now that the toggle is removed but it might still be set in some localStorage storage. ... (Closed-Leaf check-in: a6650eb7 user: stephan tags: chat-safari-breaks-here)
00:27
Remove skin-installed div.content max-width limitations when running in chat-only mode, and expand to the full width. ... (check-in: b0ab6cbd user: stephan tags: chat-safari-breaks-here)
00:22
Disabled the top-down/bottom-up chat toggle, per chat discussion. Removed explicit setting of div.content margins, in chat,except in chat-only mode, so that we honor skin-level margin settings (resolves layout breakage in Xekri skin). ... (check-in: 22b0faad user: stephan tags: chat-safari-breaks-here)
2020-12-26
23:57
Found what seems to be a more or less viable solution for the chat layout in which the input area is effectively sticky while not actually being so. New messages do not scroll to the start of the list except for when a user locally posts a message, but instead, if a new message arrives and is scrolled out of view, a toast is shown to gently alert the user that a new message has arrived. ... (check-in: 0a00a103 user: stephan tags: chat-safari-breaks-here)
22:09
Disabled automatic scrolling when a new chat message arrives, as it is unnecessary when the user input fields are not sticky. To revisit later with sticky input fields. ... (check-in: b75ce865 user: stephan tags: trunk)
22:01
Added a CSS class to the xekri skin to keep the chat settings menu from having a transparent background. ... (check-in: 12b53919 user: stephan tags: trunk)
21:26
Added lmtime to www/chat.md and typo fix. ... (check-in: 92d74f8f user: stephan tags: trunk)
20:57
chat: disable line-wrap on the message tabs. Removed an extraneous duplicated style entry. ... (check-in: adc90d82 user: stephan tags: trunk)
20:47
Typo fix. Moved chat.file to the end of the schema, per forum suggestion. ... (check-in: fd73e79b user: stephan tags: trunk)
20:33
Lowercased 'zulu' per chat discussion. ... (check-in: c7a017e1 user: stephan tags: trunk)
20:33
chat: removed extraneous T from sender-local timestamp. ... (check-in: 16b8e480 user: stephan tags: trunk)
20:30
Removed invalid Z suffix from the new lmtime string. ... (check-in: 7d4a3248 user: stephan tags: trunk)
20:26
Only apply sender-local time if it's in the message (older messages do not have it). ... (check-in: f2a58f10 user: stephan tags: trunk)
20:24
Integrated client-local timestamp into chat so that participants can see the local time in their colleagues' time zones. ... (check-in: 3c5e2bad user: stephan tags: trunk)
19:43
Added lmtime (local mtime) parameter to /chat-send calls, per chat discussion. ... (check-in: 152ac599 user: stephan tags: trunk)
18:08
Changed how chat-only mode figures out which elements to hide to account for skins which replace div.content with their own element. ... (check-in: e390b95b user: stephan tags: trunk)
18:03
Laxened up CSS selectors for div.content to account for skins which move that element into a sub-element. ... (check-in: 553ce288 user: stephan tags: trunk)
17:55
chat app now explicitly sets the body.chat CSS class, to account for skins which include a BODY tag in their header and therefore do not get one injected by the style API. ... (check-in: feaa3b16 user: stephan tags: trunk)
17:22
chat: disabled sticky mode of the input area for the time being due to grief in conjunction with message scrolling. When toggling between bottom/top modes, scroll to the input area. ... (check-in: ba3ebf0d user: stephan tags: trunk)
17:07
Removed some debug output. When toggling between bottom-up/top-down chat, scroll to the input widget (which flips between the top and the bottom of the page). ... (check-in: 34547542 user: stephan tags: trunk)
16:54
Typo fix which led to an exception and caused the timestamp popups to misbehave. ... (check-in: fc4782e7 user: stephan tags: trunk)
16:39
Worked around a browser-dependent scrolling quirk and fixed a logic bug in the recent PopupWidget.installHideHandlers() API change which caused the timestamp popups not to close. ... (check-in: 322627ed user: stephan tags: trunk)
16:21
Disabled a dangling part of the search for a solution for the bottom-scrolling problem. ... (Closed-Leaf check-in: 7f4000a6 user: stephan tags: chat-mode-bottom-up)
16:20
Disabled position:sticky on the input area when in bottom-up chat mode pending resolution of a scrolling misbehaviour for messages with IMG tags. IMG.src is loaded async, so the scrolling is actually working but loading of the IMG.src is then pushing the message back down behind/under the input field. ... (check-in: 8e12b61b user: stephan tags: chat-mode-bottom-up)
15:40
Implement bottom-up and top-down chat layouts in chat-only mode and normal mode. There is a minor scroll-on-new-message quirk or two to resolve, but it otherwise seems to work. ... (check-in: dfc20f42 user: stephan tags: chat-mode-bottom-up)
13:46
Chat docs: minor typos and additions. ... (check-in: 10085418 user: stephan tags: trunk)
01:37
Settings menu now closes if a click or ESC happens outside of the menu. ... (check-in: 1f000368 user: stephan tags: chat-mode-bottom-up)
01:31
Initial go at a "bottom-up" (mobile-like) layout for chat, but it is only active in chat-only mode where we have more control over the layout. The default mode works like before, top-down. There are still minor usability/scrolling issues left to resolve but it seems to essentially work. ... (check-in: cffd66ff user: stephan tags: chat-mode-bottom-up)
2020-12-25
23:38
CSS docs and line-wrapped the new settings icon data URL. No functional changes. ... (check-in: ca42098a user: stephan tags: trunk)
22:37
Removed some dead CSS. ... (Closed-Leaf check-in: c9ca5198 user: stephan tags: chat-widget-rework)
22:35
chat: refactored the messages from fieldsets to a custom widget. ... (check-in: 852bda77 user: stephan tags: chat-widget-rework)
21:36
Reformulate the LEGEND elements to include an embedded anchor tag as an attempt to working around Safari's inability to click a LEGEND element. Edit: this approach didn't work - same effect as before on Safari. ... (Closed-Leaf check-in: 73c8ccd3 user: stephan tags: chat-safari-ts-popup)
20:48
chat: removed now-obsolete error checking for Date() parsing. Edit: moved from trunk and closed - an as-yet-unidentified Date() problem persists on Safari. ... (Closed-Leaf check-in: 379b4689 user: stephan tags: no-joy)
19:20
chat: added 'role'='button' attribute to various non-button button-like elements, per forum request. ... (check-in: 6506b6de user: stephan tags: trunk)
17:52
chat: added toggles for single/multi-line input (non-persistent) and monospace message font (persistent - affects message bodies and text input fields). ... (check-in: 9d24a284 user: stephan tags: trunk)
16:08
chat internal cleanups in prep for upcoming changes. Possibly fixed the cosmetic bug where the titlebar says '(0) ...' after receiving an empty list of messages in response to an auto-reconnect after a timeout. ... (check-in: e52d0fd5 user: stephan tags: trunk)
15:27
Chat settings menu tweaks based on chat session feedback. ... (check-in: 9e797bf9 user: stephan tags: trunk)
14:58
Added chat setting chat-inline-images: specifies whether /chat images default to display inline or as download links. Various code-adjacent tweaks. ... (check-in: 9d86a4af user: stephan tags: trunk)
13:00
When chat is in chat-only mode, the input area is now sticky at the top of the window. This required a bit of hackery involving its background color to keep it from being transparent (which causes the chat messages to be visible through it). ... (check-in: 429e5a9b user: stephan tags: trunk)
11:32
chat setting: toggle whether 'my' messages are on the right or left, with the default depending on whether the window is wider than it is tall. ... (check-in: f1e91a20 user: stephan tags: trunk)
11:06
Moved chat.c inline CSS style to default.css. Various chat layout tweaks. ... (check-in: 467dbc8f user: stephan tags: trunk)
10:04
Added settings popup to chat. Currently only 1 setting - toggling the page header/footer on/off. ... (check-in: 617e23be user: stephan tags: trunk)
09:39
chat.js restructuring/cleanup - no functional changes. ... (check-in: 12682568 user: stephan tags: trunk)
2020-12-24
22:21
chat poll again uses "quiet" error handling to avoid posting toast error messages when it times out (which it does every 10 minutes or so when idle). ... (check-in: b6de299b user: stephan tags: trunk)
22:07
chat message deletion: admins now have both delete local and delete global options, in case they want to remove something from local view without deleting it for all users. ... (check-in: b12d69d9 user: stephan tags: trunk)
20:18
Initial impl of buttons to load older chat messages. The UI code is a bit more involved than might seem necessary, but is so largely because it needs to avoid UI/ajax race conditions. ... (check-in: 6d676f6e user: stephan tags: trunk)
08:10
chat: revert title to its originalv alue when the tab becomes active after having been inactive. ... (check-in: 0c0be4b7 user: stephan tags: trunk)
08:07
Chat: if the current tab is not active when a message arrives, update the title to show the new message count. When the tab is active, revert the title. Note that deletions currently count towards new events, but that's arguable. ... (check-in: d7959205 user: stephan tags: trunk)
07:19
chat: ported in the hyperlink and @username parser from the older chat.tcl script. This is an intermediary workaround until we decide how/whether to do server-side markup handling. ... (check-in: c5095283 user: stephan tags: trunk)
06:18
Removed some debug output. ... (check-in: f315268e user: stephan tags: trunk)
05:58
Added UI to delete chat posts (tap on the message header). Made a change to the semantics of when fossil.PopupWidget's refresh() callback is triggered to account for the common case of having to show() the popup twice in a row without a hide() in between. ... (check-in: b7f106da user: stephan tags: trunk)
05:03
Initial impl for chat message deletion. The ajax bits are in place and message deletion propagates to other connected clients (if the message is owned by the poster or the user is an admin) but there's not currently a user interface. TODO: add related controls to the same popup used for the message timestamps. ... (check-in: 24727611 user: stephan tags: trunk)
2020-12-23
23:27
Several internal cleanups in chat app, e.g. replace document.createXYZ with simpler fossil.dom API. Eliminate assignment to innerHTML, which is widely considered unsafe. ... (check-in: 68da2459 user: stephan tags: trunk)
22:58
chat: minor UI refinements. ... (check-in: 8eb01c31 user: stephan tags: trunk)
22:16
Chat: disable pasting of text when then input field does NOT have focus and fix complete overwriting of input field when pasting and it DOES have focus. Whether or not we should paste to that field when it does not have focus is debatable and possibly violates the Principle of Least Surprise. ... (check-in: 87ff8fe3 user: stephan tags: trunk)
15:18
chat: when pasting an image and a file is already selected, make sure to clear out that selected file state to avoid conflicting data. ... (check-in: 63ec4a5b user: stephan tags: chatroom-dev)
15:12
chat: improved visual notification of drag/drop into the file input selector. ... (check-in: d5210076 user: stephan tags: chatroom-dev)
15:00
chat: reworked the drag/drop bits to take advantage of Firefox and Chrome already supporting drag/drop onto a file input element. ... (check-in: 7e48953c user: stephan tags: chatroom-dev)
14:21
Made chat drop zone smaller by replacing its text with a helplet button. Added 'chat' table to the list of those NOT nuked by rebuild. ... (check-in: 85939ffc user: stephan tags: chatroom-dev)
10:41
Added a Cancel button to the drag/drop file/image field to clear the pending blob. Still need to hook it up to interact with the file input field, but that will have to wait a bit. ... (check-in: 018084c5 user: stephan tags: chatroom-dev)
10:28
Chat style tweaks. ... (check-in: 3e956a23 user: stephan tags: chatroom-dev)
10:23
chat: added drag/drop support for files. Images get previewed like those pasted from the clipboard. ... (check-in: 4c0146f1 user: stephan tags: chatroom-dev)
08:43
Removed some dead code. Updated some docs. ... (check-in: cf789fa7 user: stephan tags: chatroom-dev)
08:33
Chat clipboard paste: pasted text, regardless of event target, now goes to the input field and pasted images, regardless of the event target, now go into the image-submit slot. ... (check-in: 02fa19aa user: stephan tags: chatroom-dev)
08:21
Fixed incorrect chatMessage.fsize value being served with the message list JSON. ... (check-in: 8f736e84 user: stephan tags: chatroom-dev)
07:59
Rescoped the chat timestamp popup widget into a deeper scope (less visible/leaky). Moved the duplicated click-somewhere-to-close-popup handlers into PopupWidget.installClickToHide() method. ... (check-in: 6bccbc20 user: stephan tags: chatroom-dev)
07:45
Simplified some JSON quoting in chat.c. Bypass the paste-from-clipboard handling if the paste target is the input text field, to avoid a console-level error when the text cannot be parsed as an image. TODO: figure out how to handle the paste-image case properly when the event target is the text input field. ... (check-in: 2fe8d7c4 user: stephan tags: chatroom-dev)
07:12
Seem to have resolved the broken download names for chat-posted files. ... (check-in: b604154c user: stephan tags: chatroom-dev)
07:09
Implemented paste image into chat from clipboard. Fixed posted file download link but the files download with the same name as their message ID, which isn't very friendly. Not sure how to resolve that bit. ... (check-in: eb7845f3 user: stephan tags: chatroom-dev)