Fossil

Timeline
Login

Timeline

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

52 check-ins related to "chatroom-dev"

2020-12-23
18:27
Merge the development of the Fossil chatroom onto trunk. This feature is well isolated from the rest of the system and so we can safely continue development on trunk, which is more convenient for testing. ... (check-in: e8ba89b168 user: drh tags: trunk)
18:21
Fix the /chat-poll page so that it works even when called from "fossil ui". ... (Closed-Leaf check-in: 6f424a32b5 user: drh tags: chatroom-dev)
16:19
Additional documentation on the /chat-poll page. ... (check-in: 2261b29415 user: drh tags: chatroom-dev)
16:11
The althttpd webserver blocks the "/-50" part of the URL. So it has to be a query parameter. ... (check-in: 3d6267edad user: drh tags: chatroom-dev)
16:08
Upon initial connect to the chatroom, only load the most recent 50 messages. This magic number "50" ought to be configurable, but is hard-coded for the moment. We also need a way for the user to request more history. ... (check-in: c017a7b4d0 user: drh tags: chatroom-dev)
15:35
Add the /chat-delete page that can be used to by an XHR to delete a particular chat message. ... (check-in: 2480ce9465 user: drh tags: chatroom-dev)
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: 63ec4a5bcd user: stephan tags: chatroom-dev)
15:12
chat: improved visual notification of drag/drop into the file input selector. ... (check-in: d521007602 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: 7e48953c16 user: stephan tags: chatroom-dev)
14:29
The "fossil scrub --verily" command deletes all chat history. ... (check-in: 7779535f04 user: drh 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: 85939ffcbe user: stephan tags: chatroom-dev)
13:51
Only right-align the self-posts if the outerWidth of the browser is less than 1000. Simplify the CSS by removing unused rules. ... (check-in: f3c8e83858 user: drh 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: 018084c50e user: stephan tags: chatroom-dev)
10:28
Chat style tweaks. ... (check-in: 3e956a2354 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: 4c0146f180 user: stephan tags: chatroom-dev)
08:43
Removed some dead code. Updated some docs. ... (check-in: cf789fa7e1 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: 02fa19aa99 user: stephan tags: chatroom-dev)
08:21
Fixed incorrect chatMessage.fsize value being served with the message list JSON. ... (check-in: 8f736e8456 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: 6bccbc20ea 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: 2fe8d7c4b1 user: stephan tags: chatroom-dev)
07:12
Seem to have resolved the broken download names for chat-posted files. ... (check-in: b604154c38 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: eb7845f339 user: stephan tags: chatroom-dev)
06:26
Chat message precise timestamps are now shown via a tap/click popup, rather than hoverhelp, for mobile compatibility. ... (check-in: 0101325f9d user: stephan tags: chatroom-dev)
05:44
Import fossil bootstrapping JS into the chat app, add current login name to window.fossil.user.name, and use that name as the initial 'me' value in chat.js (resolves the FIXME in that latter part). ... (check-in: 4e832e9f40 user: stephan tags: chatroom-dev)
05:28
Disable the detailed timestamp popup when browser doesn't support it. (example: Safari) ... (check-in: 5744428bfa user: mgagnon tags: chatroom-dev)
04:39
Re-added .message-content min-width which was lost when we rolled back [7e6d2f0a1]. ... (check-in: 67e5bd67d5 user: stephan tags: chatroom-dev)
04:19
Added complete timestamps (local and GMT) as title attribute of message headers. ... (check-in: 696135b65e user: stephan tags: chatroom-dev)
04:06
Attempt to fix the "NaN" date problem in chat. ... (check-in: aefa8e5d1f user: drh tags: chatroom-dev)
03:52
Experimentally removed the left/right split of me/everyone else messages, per chatroom discussion. Added a min-width to messages to keep the user name from being longer than short messages (unless the user name is really long). Update: The experiment didn't work out. Moved to a branch. ... (Closed-Leaf check-in: 7e6d2f0a11 user: stephan tags: no-joy)
02:58
Show only the HH:MM part of the date for each chat message. ... (check-in: bc65900dae user: drh tags: chatroom-dev)
02:27
Add Chat to the /sitemap, so that it appears on the hamburger menu. ... (check-in: 0272d8bb35 user: drh tags: chatroom-dev)
02:24
Chat message background color determined by username. ... (check-in: adb93ca980 user: drh tags: chatroom-dev)
01:33
Basic chat functionality seems to be on-line again. ... (check-in: 441ee6af06 user: drh tags: chatroom-dev)
00:58
Get the /chat-send and /chat-poll interfaces working. ... (check-in: 25828eb581 user: drh tags: chatroom-dev)
2020-12-22
20:11
Begin trying to integrate the chatroom prototype into the Fossil core. New code is in src/chat.c and src/chat.js. Add the new "C" capability to enable access to chat. The new code compiles but is not yet functional. (This is an incremental check-in.) The original tools/chat.tcl Wapp script is still available for reference. ... (check-in: 217b0d2548 user: drh tags: chatroom-dev)
20:06
Merge the styling changes from trunk into the chatroom-dev branch. ... (check-in: b8d6319b5a user: drh tags: chatroom-dev)
18:31
Add support for the "$current_feature" TH1 variable as a possibly better way to do page-specific of feature-specific styling. ... (check-in: 112c713be1 user: drh tags: trunk)
14:35
chat: added timestamps (browser-local time zone) to the chat messages. ... (check-in: 99689132ca user: stephan tags: chatroom-dev)
13:05
chat: fixed links to /env and /self to use the file's current name instead of hard-coded to 'chat'. ... (check-in: 896d7d44b0 user: stephan tags: chatroom-dev)
12:09
chat: a proactive fix for a potential null deref. Documented a not-immediately-obvious element. ... (check-in: cdb8f6902f user: stephan tags: chatroom-dev)
12:02
chat: changed layout from table-based to one fieldset per row of chat (fieldset rather than a custom construct because browsers have special support for placement of the LEGEND tag which we cannot easily reproduce in other element). The overall look is approximately the same, but saves some space. ... (check-in: a0ebe0ead1 user: stephan tags: chatroom-dev)
10:37
chat: removed the ??empty?? marker for empty message strings, as they're perfectly legitimate when a file/image is uploaded. ... (check-in: 3a36b8e9c6 user: stephan tags: chatroom-dev)
10:32
chat: experimentally changed poll() to use setInterval() instead of setTimeout() to attempt to automatically re-activate a connection if it's killed due to a timeout or (maybe) system sleep/resume. ... (check-in: f260154114 user: stephan tags: chatroom-dev)
09:35
chat: removed an extraneous layer of DOM elements. CSS tweaks. ... (check-in: ce988f9407 user: stephan tags: chatroom-dev)
09:05
chat: initial implementation of marking @NAME references to make them more visible. ... (check-in: ee53e449a5 user: stephan tags: chatroom-dev)
08:25
Minor hyperlink generation tweak in support of pending additional auto-link/auto-style features. ... (check-in: ee6c70817d user: stephan tags: chatroom-dev)
07:34
Cleanups in the auto-hyperlink code. ... (check-in: f04dde73d4 user: stephan tags: chatroom-dev)
07:11
chat: hyperlink URL-looking patterns in messages. ... (check-in: 729e279a78 user: stephan tags: chatroom-dev)
05:58
Generic JS cleanups: var scoping and missing semicolons. ... (check-in: 9ec2861417 user: stephan tags: chatroom-dev)
05:15
Refactored the chat input area from a table to a flexbox-based layout. ... (check-in: ba5c914772 user: stephan tags: chatroom-dev)
03:51
Add the tools/chat.tcl Wapp script so that it can be collaboratively developed. This branch may wither and die. Or, the chatroom idea might be recoded in the Fossil trunk using C. Or it might continue as a separate Wapp extension. We'll see. But for now it is here on a branch so that people can hack at it. ... (check-in: 84b31f4495 user: drh tags: chatroom-dev)
2020-12-21
18:20
Declare the character set in the default HTML header. ... (check-in: 1997b71cf7 user: drh tags: trunk)