Fossil

Timeline
Login

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

100 most recent check-ins

2020-05-22
17:54
Update the built-in SQLite to version 3.32.0. (Leaf 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. (Leaf 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. (Leaf 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. (Leaf 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. (Leaf 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)