View Ticket
Not logged in
Ticket UUID: ad98e8f665e69f45cc86c06f17473776491909a2
Title: Add code editing to web interface
Status: Open Type: Feature_Request
Severity: Priority:
Subsystem: Resolution: Open
Last Modified: 2011-01-20 14:01:59
Version Found In:
Description & Comments:
Please Add source code editing to fossil ui, as seen in http://googlecode.blogspot.com/2011/01/make-quick-fixes-quicker-on-google.html?spref=tw

dmitry added on 2011-01-20 14:01:59 UTC:
Here are some thoughts on implementation.

  • Have "can edit on web" permission flag.
  • Have special per-user staging area for edits from web, which records modifications to files.
  • Once file(s) are edited, they're put into the user's staging area.
  • User can commit his staging area if he has commit permission.
  • Users without commit permissions, but with "can edit on web" permissions, can create tickets with modifications from their staging area or download their modifications as a patch.

This won't work for anonymous or other "group" users. For those Fossil can have per-file editing without staging area. Also, not sure how to handle merges.