Fossil

Timeline
Login

Timeline

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

37 check-ins using file src/style.c version 59680d488a

2020-12-23
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)
12:30
Whitespace style fix ... (Closed-Leaf check-in: 358f7d80c2 user: wyoung tags: body-feature-class)