Fossil

Timeline
Login

Timeline

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

26 check-ins using file src/fossil.popupwidget.js version 6f82818390

2020-12-24
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)
19:55
Turn off autocomplete on the chat entry form. ... (check-in: 5715978d9f user: drh tags: trunk)
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)