Fossil

Timeline
Login

Timeline

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

53 check-ins using file src/setup.c version b022038dda

2020-12-26
16:21
Disabled a dangling part of the search for a solution for the bottom-scrolling problem. ... (Closed-Leaf check-in: 7f4000a62c 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: 8e12b61b50 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: dfc20f4297 user: stephan tags: chat-mode-bottom-up)
01:37
Settings menu now closes if a click or ESC happens outside of the menu. ... (check-in: 1f00036884 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: cffd66ffe9 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: ca42098af0 user: stephan tags: trunk)
23:02
Do not use <fieldset> and <legend> as Safari does not allow one to bind 'click' events. ... (check-in: 6849bb0b6b user: drh tags: trunk)
22:37
Removed some dead CSS. ... (Closed-Leaf check-in: c9ca5198be user: stephan tags: chat-widget-rework)
22:35
chat: refactored the messages from fieldsets to a custom widget. ... (check-in: 852bda77bd user: stephan tags: chat-widget-rework)
22:13
Improved linkage to the chat documentation. ... (check-in: f5ab4888c2 user: drh tags: trunk)
22:08
Improved introduction to "forum.wiki" ... (check-in: 44ab80ea2b user: drh tags: trunk)
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: 73c8ccd3a7 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: 379b4689c8 user: stephan tags: no-joy)
20:30
For the chat function, the server-to-client JSON uses strict ISO8601 time strings, including the "T" in the middle and the "Z" at the end. ... (check-in: 13c95f0c75 user: drh tags: trunk)
19:20
chat: added 'role'='button' attribute to various non-button button-like elements, per forum request. ... (check-in: 6506b6de43 user: stephan tags: trunk)
19:12
Improvements to chat documentation. ... (check-in: e525317e63 user: drh 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: 9d24a28490 user: stephan tags: trunk)
16:09
First attempt at documentation for Fossil chat. ... (check-in: bcfdc1a106 user: drh 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: e52d0fd5ce user: stephan tags: trunk)
15:27
Chat settings menu tweaks based on chat session feedback. ... (check-in: 9e797bf9bf 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: 9d86a4af61 user: stephan tags: trunk)
14:36
In the default skin, add a Chat menu item for wide screens if Chat is enabled for the user. ... (check-in: 8049da83c4 user: drh 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: 429e5a9bde user: stephan tags: trunk)
12:09
Change /chat-poll so that it times out after 7 minutes. This prevents the server from timing out the request and generating errors in the log. ... (check-in: 08533f9095 user: drh 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: f1e91a200a user: stephan tags: trunk)
11:06
Moved chat.c inline CSS style to default.css. Various chat layout tweaks. ... (check-in: 467dbc8fd7 user: stephan tags: trunk)
10:04
Added settings popup to chat. Currently only 1 setting - toggling the page header/footer on/off. ... (check-in: 617e23bea3 user: stephan tags: trunk)
09:39
chat.js restructuring/cleanup - no functional changes. ... (check-in: 12682568f0 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: b6de299bb7 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: b12d69d9f4 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: 6d676f6eb5 user: stephan tags: trunk)
19:28
A valid /chat-ping request should set the Access-Control-Allow-Origin in the reply header, to avoid client-side errors. ... (check-in: ffb40fd894 user: drh tags: trunk)
19:15
Automatically purge older chat messages using the chat-keep-count and chat-keep-days settings to determine which messages to delete. ... (check-in: 35fbf4995d user: drh tags: trunk)
19:00
Show the number of chat messages and the amount of storage space used by chat on the /stat page. ... (check-in: 4da6a4cce0 user: drh tags: trunk)
18:46
Fix chat so that it detects hyperlinks at the end of a chat message. ... (check-in: 6f4fdfcd6f user: drh tags: trunk)
17:46
Fix a problem with web-browser launch on Windows for "fossil chat". ... (check-in: dcc854a98b user: drh tags: trunk)
17:10
Disable CSP for /chat with a ping= query parameter. This is a drastic measure to get the feature working. We can work on providing a better solution later. ... (check-in: 02961b8078 user: drh tags: trunk)
15:58
Fix a harmless compiler warning. ... (check-in: b4862238ec user: drh tags: trunk)
15:57
Add the "fossil chat" command that attempts to bring up a chat window in the default web browser and provide alerts through the TTY. ... (check-in: f62805ed85 user: drh tags: trunk)
15:10
The ping=TCPPORT query parameter to /chat causes a call to /chat-ping on localhost and the given port whenever new chat content arrives. Can be used for notifications. ... (check-in: ebdd91b92f user: drh tags: trunk)
13:44
Hyperlink processing for chat messages is now handled on the server side, where we have knowledge of interwiki links, wiki page names, and valid artifact hashes. ... (check-in: 822653c269 user: drh tags: trunk)
08:10
chat: revert title to its originalv alue when the tab becomes active after having been inactive. ... (check-in: 0c0be4b763 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: d79592059a 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: c5095283fb user: stephan tags: trunk)
06:18
Removed some debug output. ... (check-in: f315268e2c 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: b7f106da8a 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: 247276113c user: stephan tags: trunk)
03:34
The /chat page now redirects to the login page if needed. ... (check-in: 77d3058600 user: drh tags: trunk)
01:04
Bungled merge. Was: The /chat page redirects to the login page if the user does not have appropriate permissions to use chat. ... (Closed-Leaf check-in: fee74ce5e7 user: drh tags: mistake)
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: 68da24594f user: stephan tags: trunk)
22:58
chat: minor UI refinements. ... (check-in: 8eb01c314b 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: 87ff8fe357 user: stephan tags: trunk)
20:58
Add the /Admin/Chat page. Add settings to configure the initial history load size of /chat, and to configure purging of historical messages. ... (check-in: 15bc20f29d user: drh tags: trunk)