Fossil

Timeline
Login

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

About branch checkin-without-checkout

This branch is for the "checkin without a checkout" feature, a.k.a. "mini-checkin" or "mini-commit". It is a pared-down variant of the checkin command which supports adding or modifying only a single file, and it does so without the requirement of having a checkout database. The main purpose of this feature is to enable web-based editing of files, e.g. embedded documents, and its infrastructure is fully separated from its "control interface" - CLI or web input.

Discussion: https://fossil-scm.org/forum/forumpost/32929ec967

This feature is disabled by default, and enabling it requires setting a comma- or newline-delimited list of filename globs as the fileedit-glob repository setting (part of the "project" group of config options). Those patterns specify the whitelist of files which may be edited with this page. An empty list disables the feature and a single * enables it for all non-binary files. Binary files are rejected by the editor, regardless of the whitelist. The suggestion has been made for the page to offer the ability to upload new versions of binary files, and that will be investigated as soon as it itches someone enough to look into it.

19 most recent check-ins related to "checkin-without-checkout"
2020-05-05
04:06
Initial work on ajaxifying /fileedit. Fetching content, preview, and diffs are ajax'd, but save is not yet. ... (check-in: 8edf9dbfc2 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: 8d4ce834ed user: stephan tags: checkin-without-checkout)
20:16
Added /fileedit links to /finfo and /artifact. ... (check-in: fe925e7d6d 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: 032a0326e8 user: stephan tags: checkin-without-checkout)
17:44
Added SBS/unified diff to /fileedit. ... (check-in: ae8e24d021 user: stephan tags: checkin-without-checkout)
16:22
Style improvements and code consolidation. ... (check-in: 67a2bfb0dc user: stephan tags: checkin-without-checkout)
13:12
Added preview render mode selection list. ... (check-in: 65b6c01afd user: stephan tags: checkin-without-checkout)
12:46
Implemented HTML-in-iframe preview. Related internal cleanups. ... (check-in: ac309281e6 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: 079030faaf user: stephan tags: checkin-without-checkout)
2020-05-03
14:57
Moved /fileedit and friends to fileedit.c. ... (check-in: 6cdb091adb user: stephan tags: checkin-without-checkout)
14:38
Removed a couple dangling undefs from the previous commit. ... (check-in: dcc977628f user: stephan tags: checkin-without-checkout)
12:21
New CX(...) macro for rendering HTTP reply text, as an alternative to the "@ ..." markup provided by translate.c. ... (check-in: 0d160f9fa8 user: drh tags: checkin-without-checkout)
2020-05-02
22:34
Removed some irrelevant comments. ... (check-in: 7243aea14a 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: 6f749dfbc8 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: 2ee462843a user: stephan tags: checkin-without-checkout)
20:46
Fixed a bogus bit of css. ... (check-in: b203f2e967 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: f41eb6964c user: stephan tags: checkin-without-checkout)
17:41
Comment updates. ... (check-in: 43d6e3caf2 user: stephan tags: checkin-without-checkout)
16:48
Minor error message improvements. ... (check-in: 80345fd14e user: stephan tags: checkin-without-checkout)