Timeline
Not logged in

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

200 most recent check-ins

2020-06-03
22:43
Squelched a compiler warning reported at https://fossil-scm.org/forum/forumpost/4215cf68c7. (Leaf check-in: 35ce9e3e user: stephan tags: trunk)
2020-06-02
22:34
mv: Handle the case of soft-renaming of a managed sub-directory that was already renamed at the file-system level; see forumpost/f5b13591e3 (check-in: 709d2f80 user: ashepilko tags: trunk)
20:05
Add the safe-html setting that determines which kinds of documents are allowed to generate unsafe HTML from Markdown. (check-in: 89b6dda9 user: drh tags: trunk)
18:55
Documentation improvements on the HTML safer. Only apply safe-html to Forum posts for the moment. (check-in: 03ce4e70 user: drh tags: trunk)
17:38
Update the HTML safeing mechanism so that it does the entire Markdown output all at once. In this way it is better able to cope with block markup that spans multiple paragraphs. (check-in: 382f3731 user: drh tags: trunk)
16:20
Added a "no changes" messages if no local files are different; report trying to view a non-existent local file. Tidy-up and added config-options and "what I did" block near top of info.c. (Leaf check-in: a955c80b user: graham tags: ui-local-diff)
15:14
Only use safe-html markdown rendering for the Forum. This is a temporary measure to get most things working again while we devise improvements to the safe-html mechanism. (check-in: f4e6efb2 user: drh tags: trunk)
13:52
Merge in Markdown changes from trunk. (check-in: bf5a21e0 user: graham tags: ui-local-diff)
12:35
Change the callback function names in markdown_html.c so that they match the pointer names in markdown.c. No functional changes. (check-in: 485fda60 user: drh tags: trunk)
12:29
Refactor the safe-html interface names. Improved comments. No functional changes. (check-in: 54c1fd6f user: drh tags: trunk)
11:23
Fix blob_append_safe_html() so that it can handle the case of nHtml==0. (check-in: cd0b228d user: drh tags: trunk)
2020-06-01
22:46
Adjust the webpage-ex.md page due to the fact that <style> is no longer allowed in Markdown, for security. (check-in: 9f9fbb4b user: drh tags: trunk)
22:24
Quick fix to many of the formatting problems associated with the recent attempts at making the Markdown output "safer". More work to be done, but this check-in will at least get most of the website working again. I hope. (check-in: c2875cb4 user: drh tags: trunk)
22:12
Added ability for "/local" to display files present in the checkout but not managed by Fossil (cf. "fossil extras"). (check-in: 07829f37 user: graham tags: ui-local-diff)
20:51
Optimization to markdown formatting - faster determination if a line is part of a table for the common case when it is not. (check-in: bd2796b1 user: drh tags: trunk)
20:22
Give SQLite a hint to help it run faster in symbolic_name_to_rid(). (check-in: d45542cc user: drh tags: trunk)
20:12
Remove a redundant call to manifest_get(). (check-in: 50ed560c user: drh tags: trunk)
19:31
Further improvements to the end-tag insertion algorithm. (check-in: a7ebb8d7 user: drh tags: trunk)
19:16
Improvements to automatic end-tags. (check-in: a7807a8b user: drh tags: trunk)
16:10
When HTML markup is sanitized by the blob_append_safe_html() function, instead of removing offending markup, escape it and put it within an error span. (check-in: bc2e6fbe user: drh tags: trunk)
14:59
Revert the change at [a3ab0c6186b43236]. In its place, add the blob_append_safe_html() routine that stricts HTML generated by Markdown to be in the set of safe elements as defined by Fossil-wiki. Omit any unsafe elements and/or attributes. Omit unmatched close-tags. Insert missing close-tags. (check-in: aadf9172 user: drh tags: trunk)
13:11
Rename the htmlTagLength() function to html_tag_length(). (check-in: 3f99bca9 user: drh tags: trunk)
07:01
Enhance the markdown formatter to ignore certain HTML tags such as <style>. (check-in: a3ab0c61 user: drh tags: trunk)
01:14
Folded info from forum thread https://www.fossil-scm.org/forum/forumpost/b770d8edc4 into the Debian/nginx service docs. (check-in: 4b983223 user: wyoung tags: trunk)
2020-05-31
11:22
Fixed diff of an individual checked-out file (/localdiff) so it compares against the correct artifact when on a branch. (check-in: 5cbb78b4 user: graham tags: ui-local-diff)
2020-05-30
22:22
Distinguish local-changes from changes from a merge. (check-in: db758a34 user: graham tags: ui-local-diff)
19:32
Merged in UUID-renaming changes from trunk. (check-in: 1fd9acb9 user: graham tags: ui-local-diff)
16:51
Added "& server" to the "native" row in the characterization table at the top of fossil-v-git.wiki. (check-in: 6c04e42f user: wyoung tags: trunk)
16:39
Small adjustments to the terminology in the summary table at the top of fossil-v-git.wiki. (check-in: 38850c03 user: wyoung tags: trunk)
16:15
Make two passes through list of local changes so all "one-line" entries are listed first. (check-in: bc56945e user: graham tags: ui-local-diff)
2020-05-29
17:57
Correction to the /thisdayinhistory page so that it shows the first day of the project on the anniversary of the project. (check-in: 018db17c user: drh tags: trunk)
16:46
Update the built-in SQLite to the latest trunk code that includes the new ".mode table" command for formatting output from the CLI. (check-in: f6a99292 user: drh tags: trunk)
10:32
Remove an incorrect foreign key from the mlink table. Many of the other foreign keys are syntactically correct, but Fossil uses numeric 0 instead of NULL to mean "no reference", which is semantically wrong. We should try to fix that at some point, perhaps. Or enhance SQLite so that it is able to interpret 0 values on a FK reference to an INTEGER PRIMARY KEY as if it were a NULL, as an option. Maybe. (check-in: 1f5af800 user: drh tags: trunk)
08:05
Move default_css.txt to default.css, treat it like a builtin file, and remove mkcss, as the recent style.css reorg obviates the need for mkcss. (Leaf check-in: 0c19cd0a user: stephan tags: default.css)
2020-05-28
21:39
Initial implementation to show "local (uncommitted) changes" in Fossil's UI. Not yet tested to destruction, but fails no more errors in the test-suite than trunk. Currently there are no links to the new page: manually navigate to "/local" (a variant of the "/ci" page). (check-in: ccebe225 user: graham tags: ui-local-diff)
19:52
Merged uuid-to-hash branch down, causing all public interfaces except for those exceptions now documented in www/hashes.md to use something other than "UUID" to mean "artifact hash" or one of its more specific derivative terms. (e.g. Commit ID) (check-in: 8ad5e469 user: wyoung tags: trunk)
19:47
Second-pass edit on www/hashes.md: more definite stances on things now that we have a ruling on the debate, and less flagellation all around. (check-in: 3d808c4d user: wyoung tags: trunk)
17:37
Updates to the doc/hashes.md document. (check-in: 36430795 user: drh tags: trunk)
17:21
The new blob_reserve() now triggers blob_panic() if asked to allocate more than blob_append_full() internally allows for (not quite 2GB), to avoid a corner case that blob_reserve() could be used to accidentally bypass that internal limit. (check-in: e714b842 user: stephan tags: trunk)
15:46
Updates the email-sender TCL script so that it appends a "-f" argument to sendmail which is the "From:" email address. (check-in: a52499fd user: drh tags: trunk)
14:58
Initial infrastructure for a command-line version of the security audit page. (Leaf check-in: dba4c4f2 user: drh tags: audit-command)
14:20
Enhance codecheck1.c to check recently added varargs functions. (check-in: b17aba9e user: drh tags: trunk)
13:44
Per forum discussion, moved the /fileedit ajax dispatching back down below the login check, but have it emit a JSON response if an ajax route was requested, else an HTML response. (check-in: 62263b9c user: stephan tags: trunk)
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. (check-in: 6849d9a5 user: stephan tags: trunk)
12:16
Moved /fileedit permissions check below the ajax dispatching check, as ajax bootstrapping performs that check itself, along with a CSRF check for write-mode requests, and emits a JSON-format response (as opposed to HTML) if it fails. (check-in: 13e26db4 user: stephan tags: trunk)
12:05
Add a notification that online file editing is enabled to the security audit. (check-in: a80861de user: drh tags: trunk)
12:02
Removed fileedit-glob from the list of syncable config options. It must be explicitly set on each repo where it is desired. (check-in: d6341b3a user: stephan tags: trunk)
12:01
Fix on Check-in pages to preserve the current "diffType" setting (side-by-side or unified) when toggling the show/ignore whitespace option. (check-in: e6ab947e user: graham tags: ui-local-diff)
11:49
Disable all access to the /fileedit page and its associated AJAX entry points if the user lacks write privilege or if file editing is not enabled. (check-in: f2312397 user: drh tags: trunk)
11:42
Cosmetic fix for "/file?name=xxxx" where ci defaults to "tip". Title used to be "xxxx at []"; now it is "xxxx at tip" which matches the behaviour of "/file?name=xxxx&ci=tip". (check-in: 551676bc user: graham tags: ui-local-diff)
09:47
Added /fileedit to changes.wiki. (check-in: 2c9aa1b9 user: stephan tags: trunk)
09:40
Introducing the /fileedit page. (check-in: 1243bf39 user: stephan tags: trunk)
09:18
Reworked how style.css is emitted: all default rules first, then page-specific rules (if passed name=PAGENAME and if builtin file style.PAGENAME.css exists), then the skin. This increases the default style.css output by only approx. 800 bytes before compression (approx. 300 after compression). Has no visual impact on existing built-in skins, and none is expected on 3rd-party skin edits. See /forumpost/d63ff33063 for discussion. (check-in: 064c1c95 user: stephan tags: trunk)
08:55
Editing forum posts now applies delta compression to the edits. (check-in: 5b7888c9 user: stephan tags: trunk)
08:48
Add --reset flag to add/rm/addremove commands. (check-in: e0fc98ca user: stephan tags: trunk)
2020-05-27
22:41
The "tags" Makefile target added in [ebb67be4] relied on GNU make conditionals, which causes BSD make to choke. Reworked the feature to do the conditional work entirely on the Autosetup side instead. (check-in: 42111658 user: wyoung tags: trunk)
22:14
Updated all user-facing documentation and "fossil help" output (plus select internal comments and function names) to use "hash" rather than "UUID". No functional changes. (Yet?) See forum thread https://www.fossil-scm.org/forum/forumpost/ddc14c6866 for discussion. (Closed-Leaf check-in: df520195 user: wyoung tags: uuid-to-hash)
22:05
New document, "Hashes: Fossil Artifact Identification", which attempts to break down the HASH vs VERSION vs commit ID vs NAME vs UUID mess. It also serves to document my current understanding of all the ways "UUID" is currently misused, but because it is only documenting the current state of things, it's safe to put it on trunk. (Changes to cope with that particular slice of the mess will appaar later, on a branch.) (check-in: 33bec291 user: wyoung tags: trunk)
20:45
In www/checkin_names.wiki, documented the date: prefix for timetsamps, added fragment IDs for subsections, added a differentiating example of "fossil info" vs "/info/NAME" for special check-in names, and documented the order that Fossil resolves such names. (check-in: 74a7309a user: wyoung tags: trunk)
19:45
A few small improvements to embeddeddoc.wiki: added a named anchor so we can refer directly to the section talking about "ckout", referred to checkin_names.wiki only once from the relevant paragraph instead of twice, and added a paragraph explaining why this feature is particularly useful. This is in support of an upcoming commit: we're going to remove some redundant commentary about "ckout" in checkin_names.wiki. (check-in: 51511b72 user: wyoung tags: trunk)
19:22
Updated release version number in index.wiki. (check-in: c0a91653 user: stephan tags: trunk)
17:56
Added a top-level "tags" Makefile target for updating a Vim tags file using Exuberant Ctags (requires -R feature). It also updates a cscope file if we find cscope at configuration time. One so interested could add etags support to this as well. (check-in: ebb67be4 user: wyoung tags: trunk)
16:56
The error message Fossil gives on TLS certificate check failure changed in Fossil 2.11, so updated www/ssl.wiki to show the new message. Left the old message in place, since many people will be running versions of Fossil that still use that format, and a big part of the reason why we have this error message in the document is to make it come up in web searches for the error, since we give solutions later in the same doc. (check-in: 3c0565ab user: wyoung tags: trunk)
16:02
Merged trunk changes in (Leaf check-in: 32f391f6 user: wyoung tags: artifact-view-links)
13:28
Demonstrate how the mkindex.c utility could be extended to automatically put a complete web-page construction inside a transaction. (Leaf check-in: 67c42040 user: drh tags: auto-webpage-txn)
07:56
s/checkin/check-in/ in the help tab, per forum feedback. (Closed-Leaf check-in: 91948d3a user: stephan tags: fileedit-ajaxify)
2020-05-26
18:30
Fix a bug in the "Delete Ad-Unit" button in the setup pages. (check-in: 48dca1b4 user: drh tags: trunk)
15:54
Update the version number to 2.12 as we begin the next release cycle. (check-in: ad9295fd user: drh tags: trunk)
15:54
Attempt to fix markdown rendering so that it correctly ignores table column separators that are contained without "code-span" back-ticks. (check-in: d6058989 user: drh tags: trunk)
07:42
Removed a no-longer-true line from the fileedit help tab. (check-in: 616333e5 user: stephan tags: fileedit-ajaxify)
07:16
Merged in trunk. (Closed-Leaf check-in: 58ee0645 user: stephan tags: unaddremove-command)
06:56
merged in trunk (Closed-Leaf check-in: a2b0ed37 user: stephan tags: forum-edit-deltify)
06:47
merged in trunk. (Closed-Leaf check-in: fe018289 user: stephan tags: style-css-revamp)
06:43
Merged in trunk. (check-in: 559807ba user: stephan tags: fileedit-ajaxify)
2020-05-25
23:40
Update the changes log to include a date for 2.11 and to add a place-holder to begin recording 2.12 changes. (check-in: 87e3ad31 user: drh tags: trunk)
23:23
Version 2.11 (check-in: 4df91980 user: drh tags: trunk, release, version-2.11)
17:28
Update the built-in SQLite to version 3.32.1. (check-in: bb713f13 user: drh tags: trunk)
2020-05-22
17:54
Update the built-in SQLite to version 3.32.0. (check-in: f82e054f user: drh tags: trunk)
16:19
Clean shutdown in the "fossil sql" command. (check-in: fbb15cc4 user: drh tags: trunk)
12:26
For Download links, only include the tail-name of the file in the Content-Disposition header. (check-in: 0feb4128 user: drh tags: trunk)
00:27
Add CSS rules to limit the width of input and textarea items to 95% of the available screen width. (check-in: dbcfcef7 user: drh tags: trunk)
2020-05-21
23:59
Change a case of isalnum() to fossil_isalnum(). (check-in: 02e7c86b user: drh tags: trunk)
23:56
Add a Content-Disposition: header to the HTTP reply for the "Download" button. (check-in: 34cb4766 user: drh tags: trunk)
17:12
This does not work. Was: Alternative way of fixing Download links that provides web-browsers with a suggested filename for saving the file. (Closed-Leaf check-in: 232033c9 user: drh tags: mistake)
13:00
Fix the URL on some Download submenu links. (check-in: 9d18585d user: drh tags: trunk)
06:32
Added a doc section about CSRF/HTTP Referrer. Other minor doc/message cleanups. (check-in: 6de7e480 user: stephan tags: fileedit-ajaxify)
2020-05-19
18:31
Merge in trunk. (Leaf check-in: 0ad3e06b user: ashepilko tags: revert-dir)
16:51
Update the built-in SQLite to the third beta for 3.32.0. (check-in: a8098efe user: drh tags: trunk)
2020-05-18
12:32
Reverted [5abc0f6e7] because testing has shown the referrer to simply be too fragile and subject to browser-side whims (which also includes the option to send only the scheme and host, without the path, as the referrer, which breaks what that commit did). Now style.css supports both style.css/pagename and style.css?page=name, preferring the former, pending a decision on which one of those syntaxes the other devs prefer. (check-in: 45341a28 user: stephan tags: style-css-revamp)
11:48
When compiling with older versions of OpenSSL that do not support SHA256, hash certs using SHA1 instead. (check-in: 64d79ad4 user: drh tags: trunk)
10:55
Fix harmless compiler warnings in http_ssl.c that occur when building without SSL support. (check-in: b2824009 user: drh tags: trunk)
06:05
Internal commentary on the validity of the global UI enable/disable approach to XHR handling. (check-in: 7a95a0f1 user: stephan tags: fileedit-ajaxify)
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. (check-in: 7e197260 user: stephan tags: fileedit-ajaxify)
03:41
Replaced style.css?page=xxx with style.css/page, like the [style-css-revamp] branch does. (check-in: bc407074 user: stephan tags: fileedit-ajaxify)
03:38
Removed doc/help references to "overriding" CSS rules, as that no longer applies in this branch. (check-in: a21e2668 user: stephan tags: style-css-revamp)
03:24
All /fileedit/ajax requests now do a CSRF check and fail with 403 if CSRF seems likely. (check-in: 88a69253 user: stephan tags: fileedit-ajaxify)
02:59
style.css now checks for a builtin file named after the first path component of the referer (sic), rather than PD("name"), however, we still have to emit style.css/PAGENAME in $stylesheet_url in order to pick up the the page-specific CSS, otherwise /style.css?id=... is the same for all pages and a page with its own style may pick up a cached copy without its own styles, or with the styles from another page. (check-in: 5abc0f6e user: stephan tags: style-css-revamp)
2020-05-17
20:38
Allow unversioned files to be identify by hash in addition to name. For the /uv webpage, when a file is identify by hash it has a long expiration time. (check-in: b5ab1ebe user: drh tags: trunk)
19:55
Removed accidental dual-emit of skin-level CSS. Copy/paste bug. (check-in: eddb5ac5 user: stephan tags: style-css-revamp)
19:49
Eliminated an unnecessary allocation. Code style conformance tweaks. (check-in: e2a9fe4b user: stephan tags: style-css-revamp)
18:56
Cherrypick [100c67fa] for bootstrap skin fix. (check-in: 06c7d57d user: stephan tags: style-css-revamp)
17:52
Proof of concept for my proposal of reworking how style.css emits CSS, as discussed in forumpost/d63ff33063. (check-in: ae10ddf3 user: stephan tags: style-css-revamp)
17:07
Merged in trunk. (check-in: b9b746e5 user: stephan tags: fileedit-ajaxify)
16:33
Update the built-in SQLite to the second 3.32.0 beta, for testing. (check-in: 5181332e user: drh tags: trunk)
12:59
Fix and improve comments associated with the previous check-in. (check-in: 3cbf02ac user: drh tags: trunk)
12:55
Improvements to the skin_id() routine. (check-in: 56ad5541 user: drh tags: trunk)
06:40
Minor style improvements. Dry-run mode is now OFF by default. Reordered checkboxes on the commit tab. Eliminated a couple more uses of the term 'stash' (for local edits), to avoid potential confusion with fossil's stash feature. (check-in: 42f2cd77 user: stephan tags: fileedit-ajaxify)
06:09
More style tweaks. (check-in: 0209fa32 user: stephan tags: fileedit-ajaxify)
04:50
Updated bootstrap skin header to use $stylesheet_url instead of hard-coding the name and params. (check-in: 100c67fa user: stephan tags: fileedit-ajaxify)
04:45
Fixed input-with-label > label style for skins which set label display to block. (check-in: 0002b7d7 user: stephan tags: fileedit-ajaxify)
04:08
Replaced /fileedit?ajax=blah with /fileedit/blah. This simplifies the passing of URL arguments, eliminating it in several cases, and just looks nicer. (check-in: 2c4e7c37 user: stephan tags: fileedit-ajaxify)
03:35
Several layout tweaks. The 'Prefer delta?' option is now checked by default if the repo contains any deltas and the forbid-delta-manifests setting is not true (that setting trumps this checkbox, in any case). (check-in: 25f5f592 user: stephan tags: fileedit-ajaxify)
03:32
Moved fileedit-specific CSS to style.fileedit.css, as enabled by previous commit [d661c12cbade]. (check-in: 95f1753f user: stephan tags: fileedit-ajaxify)
03:19
Extended style.css to optionally be able to load page-specific CSS if the 'page' URL param is provided and a builtin file named style.{{page}}.css is found. The stylesheet_url TH1 var now adds URL param page=g.zPath if builtin file style.{{g.zPath}}.css is available. (check-in: d661c12c user: stephan tags: fileedit-ajaxify)
2020-05-16
17:05
Clear the preview/diff views after a non-dry-run commit. Added toggle to include (or not) manifest in the commit response. Added branch name to finfo objects from the server so that we have the branch names for stashed non-leaf edits. Extended fossil.connectPagePreviewers() to be able to optionally specify methods, instead of element IDs, for the 'from' source and 'to' target, in order to support custom editor/preview widgets. (check-in: b5944d4e user: stephan tags: fileedit-ajaxify)
06:34
Removed the hard-coded restriction against using /fileedit on the main fossil repo and tweaked an error message. (check-in: 3c795e87 user: stephan tags: fileedit-ajaxify)
05:42
Include the branch name, if known, in stashed fileinfo objects, and use a longer hash prefix for storing checkin-to-branch mappings (noting that the record does not notice if a checkin is later moved to another branch). (We only know the branch names of leaf checkins we've loaded, but now cache them in persistent storage if possible.) Renamed an internal cache key for consistency. (check-in: 8573443f user: stephan tags: fileedit-ajaxify)
05:03
Added widget to browse/select locally-edited files. Related cleanups and refactoring. (check-in: aefceac5 user: stephan tags: fileedit-ajaxify)
01:08
Integrate ARIA suggestions from Peter Laursen. (check-in: 7dd07b2e user: drh tags: trunk)
2020-05-15
22:13
Added fileedit-content-replaced event for notification when content is replaced. Clear preview/diff views on fileedit-content-replaced. Changed the interface for providing custom content getter/setter. Fixed the load file button in the file selection widget - it's no longer cleared. (check-in: 6f2649b9 user: stephan tags: fileedit-ajaxify)
19:25
Simplified the previous commit considerably. (check-in: 525bec99 user: stephan tags: fileedit-ajaxify)
19:11
Corrected fossil.storage's use of hasOwnProperty() for the case of the fallback transient storage object. (check-in: a863592e user: stephan tags: fileedit-ajaxify)
18:54
Completed a half-written sentence in the fileedit docs. (check-in: d701631e user: stephan tags: fileedit-ajaxify)
18:43
/fileedit now uses fileStorage or sessionStorage, if available, to store unsaved local edits to the 7 most recently edited checkin/file combinations. TODO: make that configurable and offer a widget to manage that stash and quickly switch between those files. It warns loudly if persistent storage is not available. (check-in: d130f356 user: stephan tags: fileedit-ajaxify)
13:49
Typo fix on the homepage. (check-in: 5f66f288 user: drh tags: trunk)
04:40
Modernized sbsdiff.js a tiny bit, adapted it to optionally be callable multiple times via fossil.page.tweakSbsDiffs(), and activate that when fileedit's sbs diff is refreshed. (check-in: dd465796 user: stephan tags: fileedit-ajaxify)
04:20
Internally rearranged how diff flags are passed around, in anticipation of having to refactor for wiki/forum diffs. Added annotate/blame links to /fileedit's first tab. (check-in: 39a5241b user: stephan tags: fileedit-ajaxify)
03:35
Cleaned up some JSON output using the new %!j format. (check-in: d9fffa4c user: stephan tags: fileedit-ajaxify)
03:34
Added %!j to %j, which means to include double quotes around the resulting JSON string, and added the corresponding flag to encode_json_string_literal(). (check-in: 2cccc12d user: stephan tags: fileedit-ajaxify)
02:39
Fixed multi-line commit comment (was not being submitted with commit) and change page title to reflect the file being edited, both per forum feedback. (check-in: ef2166a0 user: stephan tags: fileedit-ajaxify)
02:27
Added submenu Edit entry, when appropriate, to /file, per forum feedback. (check-in: 4818e7fd user: stephan tags: fileedit-ajaxify)
01:35
Fix a potential null deref in sample JS code. (check-in: d361947c user: stephan tags: fileedit-ajaxify)
2020-05-14
23:34
EOL conversion: had neglected to pass that option on in the ajax request. Fixed a bug which caused duplicate CRs to get injected into force-to-windows-EOL conversions. (check-in: 439f446d user: stephan tags: fileedit-ajaxify)
17:03
Fix the upper bound on the number of digits of hash to display so that it can display full-length SHA3-256 hashes. (check-in: 311aa9dd user: drh tags: trunk)
15:10
Restructured fileedit-page.md to give more space to/explanation of each caveat/warning bullet point (each of which is now in its own subsection). (check-in: 33146972 user: stephan tags: fileedit-ajaxify)
15:01
Fixed a comment: it was not only referring to the now-removed /test-forumnew page, it didn't properly describe what followed. (check-in: 0475b4f1 user: wyoung tags: trunk)
07:29
Added a warning about EOL normalization of files with mixed EOL styles. (check-in: b83ff3f4 user: stephan tags: fileedit-ajaxify)
07:14
Added www/fileedit-page.md, documenting how to integrate syntax highlighting and replace the editor widget. Added fossil.page.replaceEditorElement() to facility replacing the editor widget. (check-in: 909a48e3 user: stephan tags: fileedit-ajaxify)
04:46
Expanded the fileedit-preview-updated event data to include the mimetype and preview mode so that listeners can make a better-informed decision about how/whether to handle the content. (check-in: e988ed90 user: stephan tags: fileedit-ajaxify)
04:32
Added fileedit-preview-updated event, for use in hooking up 3rd-party syntax highlighting to the preview. (Tested locally with highlightjs.) (check-in: 8e293f95 user: stephan tags: fileedit-ajaxify)
04:14
Removed some dead code. (check-in: 4619c9a7 user: stephan tags: fileedit-ajaxify)
04:13
Added a parameter to encode_json_string_literal() to allow it to return its output string length, saving a strlen() call in vxprintf() %j. (check-in: 57edd181 user: stephan tags: fileedit-ajaxify)
03:55
Minor help text, style, and layout tweaks. (check-in: 28b2261b user: stephan tags: fileedit-ajaxify)
03:39
The filename/version block on the first fileedit tab is now generated completely dynamically, rather than being filled out with '???' with broken links before a file is loaded. (check-in: 371b162f user: stephan tags: fileedit-ajaxify)
03:00
fileedit: now gets the file perms via the response header and updates the Is Executable checkbox accordingly. Similary, mimetype is now harvested from the response headers and is used, in place of file extensions, for the "is this a wiki page?" determination. Added fossil-level event infrastructure to allow pages to communicate page-specific events to skin-injected/user-supplied JS code, and fileedit now emits a fileedit-file-loaded event when it loads a new file. Replaced old uses of the term "save" with "commit", per forum feedback. (check-in: f1b2e509 user: stephan tags: fileedit-ajaxify)
2020-05-13
18:49
Update the built-in SQLite with the patch to support the IIF() function. (check-in: 6fa4d92e user: drh tags: trunk)
16:44
Minor doc fix. (check-in: ae594780 user: stephan tags: fileedit-ajaxify)
16:41
The programmatically-generated input-with-label elements now use an inner LABEL, instead of SPAN, and auto-generated INPUT element IDs to go with the labels (which require an ID). (check-in: b46d11b8 user: stephan tags: fileedit-ajaxify)
11:59
Add the --db-only and --quick options to the test-integrity command. (check-in: 6711b222 user: drh tags: trunk)
11:47
Add the "current_checkout" variable to TH1 prior to running style_header() on some pages. The default skin uses this variable to adjust the meaning of the "File" menu option. (check-in: 78abc282 user: drh tags: trunk)
2020-05-12
21:36
Merged in trunk. (check-in: a2ec6033 user: stephan tags: forum-edit-deltify)
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. (check-in: 695dde00 user: stephan tags: fileedit-ajaxify)
15:10
Merged in trunk for various menu item fixes before deployment to my server. (check-in: 8cc7953b user: stephan tags: fileedit-ajaxify)
14:45
Improve the description of the setting so as to remove doubt about its meaning. (Leaf check-in: 96603196 user: andybradford tags: fork-warn-setting)
13:25
/fileedit now accommodates relative links in wiki-rendered previews by dynamically adjusting/restoring the base.href when the preview tab is selected/deselected, and the backend can now report to the client, via response header, which rendering mode was selected, allowing the UI to adjust from 'Guess' to the current format. (check-in: 2bec2c75 user: stephan tags: fileedit-ajaxify)
13:19
Added the tab manager before-switch-from event. (check-in: 2863abf5 user: stephan tags: fileedit-ajaxify)
13:18
Added fossil.fetch() responseHeaders option to pass on one or more response headers to the onload() callback. (check-in: bbb738d0 user: stephan tags: fileedit-ajaxify)
11:20
Proof of concept for making the "File" menu on the standard menu bar show the files for the currently displayed checkin or branch, rather than always showing the files for "tip". (Closed-Leaf check-in: 96e74ad1 user: drh tags: context-dependent-files-menu)
10:24
/fileedit now squelches errors related to 'missing' URL args, as they are now optional. It also now displays an informative warning at the top of the page if fileedit-glob is not set or is empty. Added a hint about hyperlink in the preview page. Added a Help tab with useful(?) tips. (check-in: c145140d user: stephan tags: fileedit-ajaxify)
08:54
Double-clicking the status message bar now clears the message (useful when a long HTML-format error comes in via ajax). Removed the unsightly 'new and experimental' banner. (check-in: ff7ad712 user: stephan tags: fileedit-ajaxify)
08:48
Merged in trunk. Minor help text corrections for add/rm --reset. (check-in: 822f3aee user: stephan tags: unaddremove-command)
08:28
After committing, reload the leaves/files list. Added a reload button to the leaves/files widget. Several style improvements. (check-in: 2318c419 user: stephan tags: fileedit-ajaxify)
00:21
Extra comment in the code for the m=checkin with t=release feature of /timeline. (check-in: 461d4f41 user: drh tags: trunk)
00:01
Fix broken Annotate and Blame links on the /file page. (check-in: 69e596e5 user: drh tags: trunk)
2020-05-11
23:57
In the /timeline, the t=TAG and m=HASH options can be used together and both all TAGs and the HASH will both be shown. Useful to get context of an historical checkin X relative to releases using "m=X&t=release". (check-in: 03f7bcb4 user: drh tags: trunk)
22:53
Continue the file browsing UX enhancements into the /tree and /fileage pages (check-in: 92fe4a54 user: drh tags: trunk)
21:01
Widen shun fields to accommodate SHA3-256 (check-in: f749f203 user: andygoth tags: trunk)
20:56
Fix busted hyperlinks on the /file page, caused by recent enhancements. (check-in: f4a9221a user: drh tags: trunk)
20:13
Carry the file browsing UX improvements through into the /dir page. (check-in: 4977765e user: drh tags: trunk)
19:31
Fix a busted hyperlink in the /file page. (check-in: af204596 user: drh tags: trunk)
19:24
Fix a compiler warning in the previous check-in. (check-in: e07b1091 user: drh tags: trunk)
19:24
Further enhancements to the file browsing UX. (check-in: cd05cb20 user: drh tags: trunk)
18:12
Continuing UX improvements on the /file, /artifact, and /whatis pages. More needs to be done. (check-in: 1b5d0b0e user: drh tags: trunk)
14:09
Add setting that will suppress the new fork warning with every commit. (check-in: 57b8d6de user: andybradford tags: fork-warn-setting)
13:03
Replaced the /fileedit_AJAX_ROUTE calls with /fileedit?ajax=ROUTE_NAME to eliminate the dispatch-time and help-system bloat. (check-in: 9f26fd1e user: stephan tags: fileedit-ajaxify)
12:06
Removed a trailing 'ajax' WEBPAGE flag which should not have been checked in. (check-in: 50a6a75b user: stephan tags: fileedit-ajaxify)
12:02
CSS which should have been in the previous commit. (check-in: b49df0b9 user: stephan tags: fileedit-ajaxify)
11:51
/fileedit no longer requires URL arguments: it has a leaf checkin/file selection list on the first tab. (check-in: e1849921 user: stephan tags: fileedit-ajaxify)
04:17
Merge in trunk. (check-in: 09239396 user: ashepilko tags: revert-dir)
2020-05-10
19:51
Fixed a semantic collision in the fileedit 'column' CSS class, which means something different in the /dir page. This fixes mis-alignment of the commit button. (check-in: d0a83a38 user: stephan tags: fileedit-ajaxify)
19:42
Minor tooltip tweaks. (check-in: 0b1085d7 user: stephan tags: fileedit-ajaxify)
15:29
Fix a null-pointer reference and segfault in /file if the filename= query parameter is used with ci= and without name=. (check-in: 26011322 user: drh tags: trunk)
15:06
Include the login name as part of the ETag hash for ETAG_QUERY. That way, the hash will change if the user logs in or logs out, and the page will be recomputed. (check-in: 18aec6b9 user: drh tags: trunk)
14:51
Shift the computation of the hash returned by fossil_exe_id() from run-time to compile-time. (check-in: 22fc5a79 user: drh tags: trunk)
14:50
Merge in trunk for fossil_exe_id() and use it, instead of md5, as the builtin/*.js cache-buster value. (check-in: 7e43119a user: stephan tags: fileedit-ajaxify)
13:58
Add the fossil_exe_id() internal interface that returns a unique hash that changes whenever Fossil is recompiled (more precisely, whenever the MANIFEST_UUID changes or the etag.c source file is recompiled). (check-in: 54a8243b user: drh tags: trunk)
12:58
Proof-of-concept ETag caching for the /timeline page. Seems to work. Most other webpages could easily add ETag caching now. (check-in: 7eaecedd user: drh tags: trunk)
12:16
Enable ETag caching of the /uvlist and /juvlist pages. (check-in: a6003f1d user: drh tags: trunk)
11:39
Avoid returning empty ETag: headers in the HTTP reply. (check-in: 261052c4 user: drh tags: trunk)
09:16
Minor efficiency hack in style_emit_script_builtin() and swapped a potentially problematic ordering of two JS includes. (check-in: c60ad868 user: stephan tags: fileedit-ajaxify)
08:47
Several small style tweaks. Changed style_labeled_checkbox() parameter order for better readability. TabManager class now supports events alerting before/after a tab is switched to. Added auto-refresh of preview when the preview tab is activated, with a checkbox to disable it for slow connections and/or large documents (the refresh button still works as before). (check-in: ee175636 user: stephan tags: fileedit-ajaxify)
04:50
File Browser: use wording 'file at check-in' to denote a file version snapshot and 'known file' to denote a name of a managed file. (check-in: 6fd34c57 user: ashepilko tags: trunk)
03:12
Show an error page when a managed file is not known at the requested check-in. (check-in: 78d52675 user: ashepilko tags: trunk)
2020-05-09
21:10
Another 304 change: Omit only the Content-Type header. Retain the cache-control header lines. (check-in: fff9b679 user: drh tags: trunk)
21:04
Correctly terminate the 304 replies in the previous check-in. (check-in: 9f992574 user: drh tags: trunk)
20:59
For a 304 HTTP response, omit extraneous fields such as Content-Type and ETag. (check-in: 6624350b user: drh tags: trunk)
18:08
Enquote the requested path glob in query to get history for a directory name with spaces. (check-in: 972341db user: ashepilko tags: trunk)
17:26
Show 'No such file' page title, when requested for an unknown file path. (check-in: 439e7ce6 user: ashepilko tags: trunk)
17:21
File History file links to use /file?name form, to handle paths with spaces. (check-in: c00527e8 user: ashepilko tags: trunk)
17:16
Change merge conflict marker for common ancestor to follow diff3 convention; see also: forumpost/f54f22dd99 (check-in: d7bc466a user: ashepilko tags: trunk)