Fossil

Timeline
Login

Timeline

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

50 events by user stephan occurring around 2020-12-23 07:09:07.

2020-12-24
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)
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)
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)
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: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)
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)
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)
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)
2020-12-22
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)
2020-12-12
17:29
serverext.wiki: added a note about the need to unset GATEWAY_INTERFACE before trying to recursively call the fossil binary. ... (check-in: e3fbbdc1d0 user: stephan tags: trunk)
10:01
If fossil.fetch()'s beforesend() callback propagates an exception, it is now passed to the onerror() callback and aborts the fetch, rather than being silently ignored. ... (check-in: 1515f0224d user: stephan tags: trunk)
08:15
Adds the Apache-style REQUEST_SCHEME environment variable to the /ext environment so that CGIs can determine whether they're running in HTTP or HTTPS. <i>Later:</i> See alternative implementation at [f101e94da1f80571] ... (Closed-Leaf check-in: 0d72caae15 user: stephan tags: ext-request-scheme)
2020-11-22
13:18
Minor typo fix in /pikchrshow. ... (check-in: 09cd585f80 user: stephan tags: trunk)
2020-10-26
06:46
Added zsh fossil autocompletion, as discussed in [https://fossil-scm.org/forum/forumpost/47a180c815]. ... (check-in: e299531d5b user: stephan tags: trunk)
2020-10-10
12:05
Renamed fossil.page.wikiedit-wysiwyg-legacy.js to fossil.wikiedit-wysiwyg.js so that the excessively long name doesn't cause /dir to have, at most, 2 columns. Removed some dead code and added a tiny bit of docs. Updated changelog per forum request. ... (check-in: a759842a7a user: stephan tags: trunk)
2020-10-07
07:07
Removed an extraneous space from pikchrshow DOM output. pikchr command error output now prepends a newline to pikchr-level errors to keep line number comment alignment intact for the first line. ... (check-in: c3b2671f6d user: stephan tags: trunk)