Timeline
Not logged in

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

114 check-ins using file src/main.c version 2b530daa3a

2021-01-03
15:30
Fix the /file page so that it is able to play sound files that are checked into the repository. Example: /file/src/sounds/plunk.wav check-in: 6643d4a0c1 user: drh tags: trunk
12:59
Downsampled plunk.wav to 8k, shrinking it to 6kb. check-in: 327a82f769 user: stephan tags: trunk
12:51
Add the "plunk.wav" sound. check-in: 91fe5513ba user: drh tags: trunk
12:41
chat: when enabling audio notification, play the notification sound after a half-second delay. Slimmed down the option menu buttons a bit. check-in: 729e1fc56d user: stephan tags: trunk
11:08
chat: added preliminary audio notification support (may require toggling that capability on for a given server in the browser). Center-aligned chat error messages and removed the 'fossil' user name from them, for compatibility with upcoming timeline-style notifications. Added wav files to the binary-glob versioned setting. check-in: 99caeec643 user: stephan tags: trunk
2021-01-02
19:06
Improved chat.js error reporting a bit. Connection errors for send and history-fetch ops are now reported as error-style messags in the chat feed. check-in: a08dfbabbd user: stephan tags: trunk
13:39
Provide suggested password in places where a users is required to invent a new password. check-in: 49f68be83b user: drh tags: trunk
12:58
Improvements to the test-random-password command. check-in: 931b97e8ae user: drh tags: trunk
06:05
In chat multi-line mode, the 'placeholder' text now mentions that Ctrl-Enter sends the message. check-in: 16ba05da98 user: stephan tags: trunk
05:26
Extended the is-json-mode check in [e0b51eb2e7] to include the 'http' command when looking for repolist-style paths. check-in: bc593ea042 user: stephan tags: trunk
03:06
Updated link to the public JSON API docs. check-in: acda62f5d9 user: stephan tags: trunk
02:56
Extended [dd490d17bec777c4] to also apply to the 'ui' command to resolve a JSON-mode assertion which happens when running ui --repolist reported at https://fossil-scm.org/forum/forumpost/2cc2bbd4a2. check-in: e0b51eb2e7 user: stephan tags: trunk
2021-01-01
22:07
Update the built-in SQLite to the latest 3.35.0 alpha which features faster startup time. check-in: 67d79d23e1 user: drh tags: trunk
2020-12-31
14:35
Add the "df=CHECKIN" query parameter to /timeline. "df" is shorthand for "Derived From". "df=CHECKIN" is equivalent to "d=CHECKIN&n1=all&nd". Update hyperlinks in documentation to use df= and/or n1=. check-in: 78819fdb0d user: drh tags: trunk
14:06
The n1=COUNT query parameter on /timeline is a one-time count that does not affect the display preferences cookie. check-in: cd892ac335 user: drh tags: trunk
13:26
The uf=HASH query parameter on /timeline shows all checkins that use the identified file unless there is also an n=COUNT query parameter. check-in: dffcebea14 user: drh tags: trunk
01:31
On the homepage, mention that multiple projects can be run using a Fossil server running on an inexpensive VPS or Raspberry Pi. check-in: 6373e363cb user: drh tags: trunk
01:20
Fix check-in [34f5ea44038583fe] so that it only disables the limit on the number of entries in a timeline if both d= and bt= are both present. check-in: c353212cde user: drh tags: trunk
2020-12-30
20:52
Update the built-in SQLite to the latest 3.35.0 alpha version. check-in: 00e031bb57 user: drh tags: trunk
05:15
chat: multi-line mode and chat-only-mode toggles are now locally persistent. check-in: e293584683 user: stephan tags: trunk
2020-12-29
23:24
Documentation tweaks. check-in: 5d3ba8aa90 user: drh tags: trunk
23:24
Reworded uvlist table summary, per forum suggestion /forumpost/8e3c4ae3d8 and personal itch. check-in: 5797c7e8e9 user: stephan tags: trunk
16:49
Minor doc typo. check-in: 47655d3996 user: stephan tags: trunk
04:18
chat: send and poll can now report if the session is logged out, and client-side poll stops looping if that condition is detected. Both cases emit a message in the message area, from user 'fossil', with the CSS class 'error' and a link to the login page with a redirect back to the chat page. check-in: 3c0c8954c7 user: stephan tags: trunk
00:37
Replaced use of a deprecated DOM API. check-in: b06442a621 user: stephan tags: trunk
00:27
Added new 'chat' perm to /json/cap response. check-in: e06315f976 user: stephan tags: trunk
2020-12-28
09:46
Chat: fixed +1 being added to Date.getDate() call (copy/paste error). check-in: 5fab875d32 user: stephan tags: trunk
08:59
chat: when loading older messages, return scroll point to the position it was at when load was started, per chat room request. check-in: 49cc6f28e8 user: stephan tags: trunk
08:54
chat: replaced the (approximate) messages-since-hidden count in the page title (i.e. browser tab label) to an asterisk so that users don't feel compelled to verify that number against what they actually see in the list (which differs at times). check-in: 0a5fd03e5c user: stephan tags: trunk
02:55
chat: removed some dead code. If URL parameter ping=### is seen, assuming we're running from the 'chat' CLI command and automatically start up in chat-only mode. check-in: b111d1ca74 user: stephan tags: trunk
00:23
chat: corrected the scroll position tracking when toggling single/multi-line mode to work from arbitrary points within the scroll area. check-in: 0f59fba08a user: stephan tags: trunk
2020-12-27
22:01
chat: when toggling between single/multi-line mode, retain the message area scroll position, insofar as its size allows for (e.g. might not work if the history is too short to scroll). check-in: 423ee8101a user: stephan tags: trunk
21:22
Refactored the calc-elem-effective-height routine into the fossil.dom API for reuse elsewhere. Fixed (arguably) a minor layout quirk in the chat input field in multi-line mode. check-in: 299fd6905f user: stephan tags: trunk
21:00
Put the <form> outside of the chat-input-area <div>. Safari requires this. check-in: ca60df9238 user: drh tags: trunk
20:33
chat: reworked the auto-resize algorithm to account for elements which "incorrectly" report a height of 0. Experimentally removed the 2em bottom gap at the end of the message reportedly required by Safari. check-in: cdc6dec7c7 user: stephan tags: trunk
18:56
chat: improved the 'is previous message currently visible' calculation for the 'should we scroll?' heuristic. check-in: b3f2eee546 user: stephan tags: trunk
18:29
chat: seem to have eliminated the tiny dead-zone between the label and checkbox in the settings menu. check-in: dc8f3a3692 user: stephan tags: trunk
18:00
Doc typo reported in the forum. check-in: 1221a579ec user: stephan tags: trunk
17:44
Doc typo fix reported in the forum. check-in: 988c599810 user: stephan tags: trunk
17:42
Chat: hide message home/end buttons by default in portrait mode and add a menu toggle for them, and swapped the button positions (seems more natural). Minor tweak to the div.content resize algo to make use of CSS calc(). check-in: deb9963ac6 user: stephan tags: trunk
09:56
Some flicker reduction when batch loading chat messages. Minor chat layout tweaks. check-in: 5e046b64c7 user: stephan tags: trunk
09:37
Added an ARIA role=alert to the fossil.toast.message/warning/error() popup, per form request. Toast API doc corrections. check-in: 23d6b4570a user: stephan tags: trunk
09:05
chat: ARIA-related attribute changes suggested in the forum. check-in: ca7aae80ad user: stephan tags: trunk
08:32
chat: added buttons to jump to top/bottom of message list. Added a huge margin under the input area because Safari demands it. Improved the div.content auto-resize calculation to get a more precise fit. check-in: 2408082760 user: stephan tags: trunk
07:45
chat: auto-scrolling of other peoples' posts into view works based on a heuristic of whether the *previous* post is in view or not (else we assume the user is back in the history), with the notable caveat that posts with inlined images play havok with this, in part because loading of images is async and we race against it. Moved the #debugMsg eleme... check-in: 6c28d7d6cb user: stephan tags: trunk
07:03
chat: fixed mis-scroll when toggling chat-only mode. Re-re-introduced the img preview size cap. check-in: b09f7e990d user: stephan tags: trunk
06:48
chat: next round of Safari-friendly baby steps, developed in conjunction with Safari user mgagnon via chat session. check-in: a1161fa9bd user: stephan tags: trunk
04:50
chat: reintegrated partial changes from [b0ab6cbd3] and [670732a6]: remove skin-induced div.content margins in chat-only mode and cap image preview size to avoid screen overflow. Moved #dbgMessage element out of the way at app startup to avoid it potentially influencing our flexbox layout, and include that element in the to-hide list for chat-only ... Closed-Leaf check-in: 7c3cf7a189 user: stephan tags: no-joy
04:30
chat: re-integrated JS-based div.content resizer to do approximately what the preferred 'vh' CSS units would, but upon which Safari apparently chokes. Message area now gets a scrollbar. This works reasonably well on FF/Chrome on both Linux and Android. The jury is still out on Safari. Edit: Martin G. confirmed this one also suffers from the "collap... check-in: d488f5c66c user: stephan tags: no-joy
03:39
Eliminated top-down chat mode altogether in an attempt to eliminate some complexity and cruft. Re-added the toast-on-new-invisible-message from [0a00a103]. check-in: 421d657078 user: stephan tags: trunk
01:58
chat: Safari has a severe allergic reaction to CSS vh units, so calculate the size of the affected DOM element in JS code at app startup and when the window resizes. Closed-Leaf check-in: 8747d85ea0 user: stephan tags: chat-safari-breaks-here, chat-safari-experiments
01:07
CSS tweaks to attempt to counter some Safari message spacing problems - cannot test locally. Also limit the chat image preview to 40% of the viewport width/height, to avoid it taking up the whole screen for a large image. check-in: 670732a68f user: stephan tags: chat-safari-breaks-here, chat-safari-experiments
00:32
Force bottom-up chat mode, now that the toggle is removed but it might still be set in some localStorage storage. Closed-Leaf check-in: a6650eb776 user: stephan tags: chat-safari-breaks-here
00:27
Remove skin-installed div.content max-width limitations when running in chat-only mode, and expand to the full width. check-in: b0ab6cbd3b user: stephan tags: chat-safari-breaks-here
00:22
Disabled the top-down/bottom-up chat toggle, per chat discussion. Removed explicit setting of div.content margins, in chat,except in chat-only mode, so that we honor skin-level margin settings (resolves layout breakage in Xekri skin). check-in: 22b0faad3a user: stephan tags: chat-safari-breaks-here
2020-12-26
23:57
Found what seems to be a more or less viable solution for the chat layout in which the input area is effectively sticky while not actually being so. New messages do not scroll to the start of the list except for when a user locally posts a message, but instead, if a new message arrives and is scrolled out of view, a toast is shown to gently alert t... check-in: 0a00a10312 user: stephan tags: chat-safari-breaks-here
22:09
Disabled automatic scrolling when a new chat message arrives, as it is unnecessary when the user input fields are not sticky. To revisit later with sticky input fields. check-in: b75ce86581 user: stephan tags: trunk
22:01
Added a CSS class to the xekri skin to keep the chat settings menu from having a transparent background. check-in: 12b5391926 user: stephan tags: trunk
21:33
Fix the description of base-64 encoding in the delta_format.wiki document. check-in: 5de02e093e user: drh tags: trunk
21:26
Added lmtime to www/chat.md and typo fix. check-in: 92d74f8fb6 user: stephan tags: trunk
20:57
chat: disable line-wrap on the message tabs. Removed an extraneous duplicated style entry. check-in: adc90d82f3 user: stephan tags: trunk
20:47
Typo fix. Moved chat.file to the end of the schema, per forum suggestion. check-in: fd73e79b83 user: stephan tags: trunk
20:33
Lowercased 'zulu' per chat discussion. check-in: c7a017e169 user: stephan tags: trunk
20:33
chat: removed extraneous T from sender-local timestamp. check-in: 16b8e480ec user: stephan tags: trunk
20:30
Removed invalid Z suffix from the new lmtime string. check-in: 7d4a32487f user: stephan tags: trunk
20:26
Only apply sender-local time if it's in the message (older messages do not have it). check-in: f2a58f10bf user: stephan tags: trunk
20:24
Integrated client-local timestamp into chat so that participants can see the local time in their colleagues' time zones. check-in: 3c5e2badc8 user: stephan tags: trunk
19:43
Added lmtime (local mtime) parameter to /chat-send calls, per chat discussion. check-in: 152ac599e8 user: stephan tags: trunk
18:08
Changed how chat-only mode figures out which elements to hide to account for skins which replace div.content with their own element. check-in: e390b95bbc user: stephan tags: trunk
18:03
Laxened up CSS selectors for div.content to account for skins which move that element into a sub-element. check-in: 553ce288f8 user: stephan tags: trunk
17:55
chat app now explicitly sets the body.chat CSS class, to account for skins which include a BODY tag in their header and therefore do not get one injected by the style API. check-in: feaa3b1640 user: stephan tags: trunk
17:22
chat: disabled sticky mode of the input area for the time being due to grief in conjunction with message scrolling. When toggling between bottom/top modes, scroll to the input area. check-in: ba3ebf0de9 user: stephan tags: trunk
17:07
Removed some debug output. When toggling between bottom-up/top-down chat, scroll to the input widget (which flips between the top and the bottom of the page). check-in: 34547542d2 user: stephan tags: trunk
16:54
Typo fix which led to an exception and caused the timestamp popups to misbehave. check-in: fc4782e7ef user: stephan tags: trunk
16:39
Worked around a browser-dependent scrolling quirk and fixed a logic bug in the recent PopupWidget.installHideHandlers() API change which caused the timestamp popups not to close. check-in: 322627ed7e user: stephan tags: trunk
16:24
Bottom-up chat mode. check-in: 2572872bb0 user: drh tags: trunk
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
13:46
Chat docs: minor typos and additions. check-in: 10085418fe user: stephan tags: trunk
12:33
Make the /chat-poll timeout configurable using the chat-poll-timeout setting. check-in: 8363e7b8e6 user: drh tags: trunk
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