wiki:EditFilesPlugin

Version 7 (modified by figaro, 8 years ago) (diff)

Cosmetic changes

Edit Files Plugin

Description

A plugin that allows TRAC_ADMIN to edit files on the Trac server. 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.

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.

Example

[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 be sure and use absolute paths.

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)