Fossil

Timeline
Login

Timeline

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

149 check-ins for the month beginning 2020-05-01 by user stephan

Following month ↑
2020-05-29
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. ... (check-in: 0c19cd0a user: stephan tags: default.css)
2020-05-28
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)
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: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)
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
19:22
Updated release version number in index.wiki. ... (check-in: c0a91653 user: stephan tags: trunk)
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
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-21
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-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)
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
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)
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)
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)
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)
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)
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
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)
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)
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)
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)
2020-05-11
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)
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)
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)
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)
2020-05-09
13:56
Disable rendering of the comment mime type selection list, as it's not honored/implemented where comments are rendered. ... (check-in: 875b60bc user: stephan tags: fileedit-ajaxify)
12:54
Determine which comment editing mode to enable based on which of the editor fields is hidden by default, so that we stay in sync if the C side changes. ... (check-in: a4314603 user: stephan tags: fileedit-ajaxify)
12:36
Added style_select_list_str(), selection list for commit comment mime type, and a toggle to switch between single- and multi-line comment editing modes. ... (check-in: 4d5004ef user: stephan tags: fileedit-ajaxify)
2020-05-08
14:15
Swapped the style_emit_script_builtin() parameters for consistency with style_emit_script_tag(). ... (check-in: 02240eec user: stephan tags: fileedit-ajaxify)
14:00
Delay the initial filepage loadFile() until a windows.load event. This seems to eliminate what appears to have been a race between that call and the filepage init code. ... (check-in: 07d0bcc5 user: stephan tags: fileedit-ajaxify)
12:39
/fileedit now accepts 'fn' and 'ci' as undocumented aliases for 'filename' resp. 'checkin', for consistency with some other pages. style_emit_script_builtin() now includes a cache-buster on URLs (a prefix of the builtin content's MD5 hash). ... (check-in: 3733293a user: stephan tags: fileedit-ajaxify)
2020-05-07
12:52
Normalized the various input-with-label elements to use SPAN wrappers instead of DIV. ... (check-in: 53b31b08 user: stephan tags: fileedit-ajaxify)
11:12
doc typo ... (check-in: a62594e5 user: stephan tags: fileedit-ajaxify)
09:04
Removed a local temp foo.js which got picked up by makemake.tcl :/. ... (check-in: 8a98762b user: stephan tags: fileedit-ajaxify)
02:36
Merged in trunk. ... (check-in: 087c5d1f user: stephan tags: fileedit-ajaxify)
01:45
Removed a bit of comment which confused the help generator and broke building test-builtin-list... and yet somehow built once? ... (check-in: 6ba0e14d user: stephan tags: trunk)
01:19
Added hash_digits() info to fossil.config object and added fossil.hashDigits(). Factored out fileedit JS use of innerHTML where possible. Reworked the Version Info tab a bit. ... (check-in: 29567e6e user: stephan tags: fileedit-ajaxify)
00:16
Added -verbose/-v flag to test-builtin-list to output a total count and size. ... (check-in: 7df46781 user: stephan tags: trunk)
2020-05-06
23:53
Added a 'tick' mode to fossil.confirmer to more easily allow the triggering element to be visibly updated to reflect the countdown state. The editor's discard/reload button now visibly counts down from 3 if clicked. ... (check-in: 3da4b94c user: stephan tags: fileedit-ajaxify)
22:57
Improved the tab control styling, and no longer use buttons so that their :focus style doesn't break the appearance. Fixed some CSS which no longer matched after removal of the outer wrapping FORM element. ... (check-in: a84f6458 user: stephan tags: fileedit-ajaxify)
17:52
Renamed the file=filename, r=checkin query params to filename=..., checkin=..., for consistency with the annotate/blame URLs and possibly others. ... (check-in: 6b7805e0 user: stephan tags: fileedit-ajaxify)
17:37
s/f-post-/f-preview-/. ... (check-in: 99bd288b user: stephan tags: fileedit-ajaxify)
17:33
First step in the automation of connecting an editor widget to a preview-mode widget, as demo'd in /forumpost/d44564bad4. ... (check-in: 7ede6122 user: stephan tags: fileedit-ajaxify)
05:21
cosmetic internal tweaks. ... (check-in: bb71f9ec user: stephan tags: fileedit-ajaxify)
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. ... (check-in: 9085ec23 user: stephan tags: fileedit-ajaxify)
03:30
Removed a bogus, but harmless, JS dep and corrected some copy/pasted docs. ... (check-in: 2abc1ff4 user: stephan tags: fileedit-ajaxify)
03:19
Removed devious hard tabs which slipped in while porting. ... (check-in: 626c4560 user: stephan tags: fileedit-ajaxify)
03:02
Added fossil.confirmer JS API to offer a non-intrusive click confirmation mechanism. Re-activated the /filepage content reload button with a confirmation click required. ... (check-in: e70ab3a3 user: stephan tags: fileedit-ajaxify)
01:58
Removed the FORM element - it was superfluous and particularly stubborn in how it responded to every button. ... (check-in: 7635d934 user: stephan tags: fileedit-ajaxify)
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. ... (check-in: b48212f6 user: stephan tags: fileedit-ajaxify)
2020-05-05
23:54
Re-added the editor font size selector. Added a button to discard/reload edits, but it's too easy to activate by accident, so it's disabled until we have a common confirmation mechanism in place. Added timestamp to fossil.message() and fossil.error() output. ... (check-in: 25dfd243 user: stephan tags: fileedit-ajaxify)
23:31
Added missing checks for negative result value from symbolic_name_to_rid() (indicating an ambiguous name). ... (check-in: d8c21f2f user: stephan tags: fileedit-ajaxify)
22:18
Added option to render HTML previews inline, as opposed to in an iframe. Layout improvements in the preview/diff/commit tabs. ... (check-in: bd81a5f6 user: stephan tags: fileedit-ajaxify)
21:49
Temporarily(?) removed the editor font size adjustment dropdown, as it currently has no proper home in the new layout. ... (check-in: 413a0ce8 user: stephan tags: fileedit-ajaxify)
21:41
Unified diff now produces empty output when the diff is empty, insead of an empty wrapper element. ... (check-in: 146e867e user: stephan tags: fileedit-ajaxify)
17:23
Doc updates and corrections. ... (check-in: e7659e72 user: stephan tags: fileedit-ajaxify)
16:51
Completely overhauled the /fileedit layout, using a homebrew tabbed interface. ... (check-in: 33ffe576 user: stephan tags: fileedit-ajaxify)
11:51
/fileedit_content now only uses application/octet-stream for files which explicitly have that type via mimetype_by_name() or which look like binary content, falling back to text/plain, per suggestion in the discussion thread. ... (check-in: 4270ecb3 user: stephan tags: fileedit-ajaxify)
08:41
Numerous minor cleanups. ... (check-in: f54ac217 user: stephan tags: fileedit-ajaxify)
06:48
Ajaxified commit. All that's left is cleanup and prettification. ... (check-in: 1a6c5090 user: stephan tags: fileedit-ajaxify)
04:06
Initial work on ajaxifying /fileedit. Fetching content, preview, and diffs are ajax'd, but save is not yet. ... (check-in: 8edf9dbf user: stephan tags: fileedit-ajaxify)
2020-05-04
23:26
Moved some generic fileedit code to style.c. Refactored /fileedit to not require JS to update version info, making this impl pure no-JS. Now to ajaxify it... ... (Closed-Leaf check-in: 8d4ce834 user: stephan tags: checkin-without-checkout)
20:16
Added /fileedit links to /finfo and /artifact. ... (check-in: fe925e7d user: stephan tags: checkin-without-checkout)
17:48
Add the submit button IDs programmatically (was previously hand-coded), to avoid them getting out of sync with their enum. ... (check-in: 032a0326 user: stephan tags: checkin-without-checkout)
17:44
Added SBS/unified diff to /fileedit. ... (check-in: ae8e24d0 user: stephan tags: checkin-without-checkout)
16:22
Style improvements and code consolidation. ... (check-in: 67a2bfb0 user: stephan tags: checkin-without-checkout)
13:12
Added preview render mode selection list. ... (check-in: 65b6c01a user: stephan tags: checkin-without-checkout)
12:46
Implemented HTML-in-iframe preview. Related internal cleanups. ... (check-in: ac309281 user: stephan tags: checkin-without-checkout)
12:10
Implemented preview mode for plain text and wiki/embedded doc, but how to populate the necessary iframe for HTML preview, without a URL back to the preview content, eludes me. ... (check-in: 079030fa user: stephan tags: checkin-without-checkout)
07:54
Merged in trunk. ... (check-in: 628c39fb user: stephan tags: unaddremove-command)
2020-05-03
14:57
Moved /fileedit and friends to fileedit.c. ... (check-in: 6cdb091a user: stephan tags: checkin-without-checkout)
14:38
Removed a couple dangling undefs from the previous commit. ... (check-in: dcc97762 user: stephan tags: checkin-without-checkout)
2020-05-02
22:34
Removed some irrelevant comments. ... (check-in: 7243aea1 user: stephan tags: checkin-without-checkout)
21:57
Fixed a double-free caused by refactoring. Was being triggered in web mode but not CLI mode, strangely enough, though the code was hit by both. Other minor cleanups and fixes. ... (check-in: 6f749dfb user: stephan tags: checkin-without-checkout)
20:52
Fixed copy/paste error which caused the comment text to get duplicated into the N-card. ... (check-in: 2ee46284 user: stephan tags: checkin-without-checkout)
20:46
Fixed a bogus bit of css. ... (check-in: b203f2e9 user: stephan tags: checkin-without-checkout)
17:50
Improved some labels and help text and corrected the 'hint' styling to encompass elements outside of the FORM element. ... (check-in: f41eb696 user: stephan tags: checkin-without-checkout)
17:41
Comment updates. ... (check-in: 43d6e3ca user: stephan tags: checkin-without-checkout)
16:48
Minor error message improvements. ... (check-in: 80345fd1 user: stephan tags: checkin-without-checkout)
16:43
Instead of injecting multiple mini-scripts, queue up script code and emit it in one anonymous function at the end. Update the version number and permalink after saving so that we're basing on the new version. ... (check-in: 6407b6ca user: stephan tags: checkin-without-checkout)
15:03
Added fileedit-glob setting (/fileedit whitelist) and honor it in /fileedit. Added mini-checkin options to specifically convert EOLs to Unix or Windows styles. /fileedit saving now more or less works, but still needs to update the 'r' value after editing or else we're stuck at the old parent version. ... (check-in: 33861414 user: stephan tags: checkin-without-checkout)
2020-05-01
14:22
Initial work on /fileedit page. First dry-run save was just performed. ... (check-in: fbd31f20 user: stephan tags: checkin-without-checkout)
07:47
Got basic /fileedit page skeleton in place. It can load/display a file, with some limits, but cannot yet do anything with it. ... (check-in: b5e3bc9e user: stephan tags: checkin-without-checkout)
07:33
Added quotes around the URLs passed to the browser for the ui command so that URL parameters containing an ampersand get passed on correctly. ... (check-in: 126d34fb user: stephan tags: checkin-without-checkout)
05:38
Mini-checkin now pre-allocates some memory for the output manifest. Internal doc updates. ... (check-in: bfe7750e user: stephan tags: checkin-without-checkout)
05:37
Added blob_reserve() for use with a manifest-generation optimization. ... (check-in: 972cc5f9 user: stephan tags: checkin-without-checkout)
05:00
Re-implemented and drastically simplified the mini-checkin F-card generator. ... (check-in: 39262b42 user: stephan tags: checkin-without-checkout)
Previous month ↓