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.

5 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: 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)