Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/fossil.fetch.js
|
2025-12-28
| ||
| 23:00 | Remove some more duplicates in comments. No functional changes. ... (file: [bff54b7ae1] check-in: [d83638e40e] user: danield branch: trunk, size: 13130) | |
|
2025-04-11
| ||
| 22:48 | Internal doc updates in fossil.fetch(). Ensure that fossil.fetch()'s onerror()/ontimeout() handler do not propagate exceptions (a defensive measure, not a fix for a known bug). ... (file: [091c826fff] check-in: [1d3db5050f] user: stephan branch: trunk, size: 13135) | |
| 18:52 | Further refinements of the chat poll connection detection. The first N ignored errors are now spaced out unevenly. Use the server's configured chat-poll-timeout as the basis for calculating our client-side timeout time. ... (file: [c47e36f47c] check-in: [e8bbaf924f] user: stephan branch: trunk, size: 11786) | |
|
2025-04-10
| ||
| 06:01 | Rework the chat poll fallback considerably. The notification widgets now interact with other messages better and don't mis-fire when the long-poll connection times out. ... (file: [1bc4234659] check-in: [9516f7cd15] user: stephan branch: chat-backoff-timer2, size: 10631) | |
|
2024-07-02
| ||
| 10:33 | Add chat search for message by ID using search term #NNNN. ... (file: [7929160034] check-in: [3449350042] user: stephan branch: fts5-chat-search, size: 9889) | |
|
2021-10-08
| ||
| 17:42 | Documented fossil.fetch()'s behavior of onerror() being called if onload() throws. Added a safety net in the diff context loader to handle a corner case null dereference when an exception in onload() triggers onerror() after the context loader's DOM elements have been destroyed. [forum:7bc8301eb191cf6d|Forum post 7bc8301eb191cf6d]. ... (file: [55c8dcd563] check-in: [49e3bf7b13] user: stephan branch: trunk, size: 9891) | |
|
2021-03-21
| ||
| 18:51 | Cleaned up the is-first-call handling of the /chat message poller. ... (file: [36cb8a2202] check-in: [147ff84e21] user: stephan branch: chat-fetch-port, size: 9567) | |
| 18:25 | Ported /chat from window.fetch to fossil.fetch, as FF versions as recently as 2017 fail with window.fetch. Needs more testing before merge but seems to work. ... (file: [4ce07ea50e] check-in: [c973643209] user: stephan branch: chat-fetch-port, size: 8954) | |
|
2020-12-12
| ||
| 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. ... (file: [2df4ea7ec9] check-in: [1515f0224d] user: stephan branch: trunk, size: 8949) | |
|
2020-08-12
| ||
| 11:42 | Inconsequential JS cleanups. ... (file: [35d74ea560] check-in: [5dd9ff1c04] user: stephan branch: trunk, size: 8896) | |
|
2020-08-08
| ||
| 12:41 | wikiedit now relabels the Save button while save is in progress, per forum feedback. ... (file: [6cc20e07b9] check-in: [9f3747d8a5] user: stephan branch: trunk, size: 8464) | |
|
2020-07-09
| ||
| 03:13 | JS fossil.fetch(): moved an XHR.setRequestHeader() call to after the XHR.open() call because FF now says it must be done in that order. ... (file: [33eeef2dd6] check-in: [98f3c05c09] user: stephan branch: trunk, size: 8335) | |
|
2020-05-28
| ||
| 13:27 | fossil.fetch() now uses onreadystatechange instead of onload because the latter does not handle connection errors and timeouts. Added timeout option to fossil.fetch() with a default of 15s. Corrected non-closing of a failed transaction when fileedit/commit fails. ... (file: [0994963bb4] check-in: [6849d9a557] user: stephan branch: trunk, size: 8335) | |
|
2020-05-18
| ||
| 05:19 | Added optional fossil.fetch() beforesend/aftersend callbacks to allow us to... /efilepage now disables all input elements while AJAX requests are in-flight and updates the page with a 'wait' cursor. ... (file: [6f9b5302a7] check-in: [7e197260fd] user: stephan branch: fileedit-ajaxify, size: 7956) | |
|
2020-05-12
| ||
| 16:26 | Fixed a potential corner-case bug which would have broken fossil.fetch() if a user had defined their own fossil.fetch.onerror() impl before calling fossil.fetch() the first time. ... (file: [3d7bdd01bf] check-in: [695dde004c] user: stephan branch: fileedit-ajaxify, size: 6882) | |
| 13:18 | Added fossil.fetch() responseHeaders option to pass on one or more response headers to the onload() callback. ... (file: [a083bb72ea] check-in: [bbb738d07d] user: stephan branch: fileedit-ajaxify, size: 6595) | |
|
2020-05-06
| ||
| 04:52 | Minor code style improvements, fixed a couple jquery-isms in the confirmer port, added the ability to select tabs by number and pre-select a specific tab, removed a superfluous C function. ... (file: [937316a3ee] check-in: [9085ec2351] user: stephan branch: fileedit-ajaxify, size: 5044) | |
| 01:51 | Reworked how /fileedit loads its JS - it now fetches them rather than embedding them inline. Moved fossil.fetch() docs from style.c into the JS file. ... (file: [f108558646] check-in: [b48212f6ea] user: stephan branch: fileedit-ajaxify, size: 5010) | |
|
2020-05-05
| ||
| 16:51 | Completely overhauled the /fileedit layout, using a homebrew tabbed interface. ... (file: [08a9ec1534] check-in: [33ffe5762b] user: stephan branch: fileedit-ajaxify, size: 2620) | |
| 08:41 | Numerous minor cleanups. ... (file: [397aa884c3] check-in: [f54ac21745] user: stephan branch: fileedit-ajaxify, size: 2620) | |
| 04:06 | Initial work on ajaxifying /fileedit. Fetching content, preview, and diffs are ajax'd, but save is not yet. ... (file: [b3780bc2e2] check-in: [8edf9dbfc2] user: stephan branch: fileedit-ajaxify, size: 2553) | |