wiki:EditFilesPlugin

Edit files from within Trac

Description

This is a plugin that allows Trac administrators (TRAC_ADMIN) to edit files on the Trac server. The editable files can be specified in the configuration file. Paths may be absolute, or relative to the Trac environment. The user running the server must have appropriate permissions for the files in order to view or save them.

Sample trac.ini file with the editable files listed in the custom [edit_file] section:

[edit_file]
files = conf/trac.ini, /home/matt/public_html/notebook/TRACI/auth.db

Note: Relative paths will be computed relative to the location of trac.ini. Most Trac instances are laid out with folders like conf/, db/, htdocs/ and so on. If your trac.ini file is in an odd place, this may not work the way you expect and you might want to use absolute paths instead.

Bugs/Feature Requests

Existing bugs and feature requests for EditFilesPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 1

enhancement

0 / 1

Download

Download the zipped source from here.

Source

You can check out EditFilesPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

8676 by mvr on 2010-09-07 21:24:07
added unicode patch; fixing relative paths; disabling GET args
8510 by mvr on 2010-08-29 23:25:42
initial commit
8500 by mvr on 2010-08-29 06:22:50
New hack EditFilesPlugin, created by mvr
(more)

Author/Contributors

Author: mvr
Maintainer: matthew von rocketstein
Contributors: dnedelchev (patches)

Last modified 9 months ago Last modified on Dec 23, 2016, 7:38:32 PM