Ticket #2345 (new enhancement)

Opened 5 years ago

Last modified 4 years ago

Integrate Textarea javascript based syntax highlighting code editor into trac

Reported by: sethop Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: editor javascript
Cc: tyson@clugg.net Trac Release: 0.10

Description

From time to time I have thought it would be really great if I could hit a button inside the source browser and submit a patch *inside trac* rather than having to check the code out and do it someplace else.

Of course, this would often be a lot easier to do if the code to be edited was displayed inside a syntax highlighting code editor.

Today I found one, via Simon Willison's blog, it's called EditArea?.

http://www.cdolivet.net/editarea/

Attachments

Change History

(follow-up: ↓ 2 ) 10/27/08 13:04:27 changed by martin_s

One problem with this is that trac must access the subversion permissions which might be completely different from the trac permissions.

(in reply to: ↑ 1 ) 04/01/09 02:18:37 changed by tyson@clugg.net

Replying to martin_s:

One problem with this is that trac must access the subversion permissions which might be completely different from the trac permissions.

I don't think it would be unreasonable to have the solution require that permissions for Trac and Subversion are synchronized using SvnAuthzAdminPlugin or something similar.

+1 on this enhancement, though I'd like to see some more subversion operations integrated as well, such as:

  • copying, moving, deleting of files.
  • branching...

Perhaps the best way to do this would be to do create a shallow checkout of the repository for the user/session, perform the edits then do the checkin while showing the diff of all changes. Special case the single file edit as a streamlined version of this and it should work a treat.

Certainly a great way to reduce the effort required to participate in open source projects - I'm leaving judgement on whether this is a good thing or not up to the reader.

04/01/09 02:19:58 changed by anonymous

  • cc set to tyson@clugg.net.

Adding self to CC list.


Add/Change #2345 (Integrate Textarea javascript based syntax highlighting code editor into trac)




Change Properties
Action