﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
4171	uploading of multiple files would be nice	enhancement	0.10		new	2008-11-26T19:10:29+01:00	2015-04-23T21:14:37+02:00	It would be nice if multiple files could be uploaded at once.	nick carrasco
2361	Upload files to subdirectories inside htdocs	enhancement	0.10		new	2008-01-08T19:29:14+01:00	2015-04-23T21:14:37+02:00	"I don't know if there is any issue about that, but I can upload any file to htdocs through SiteUploadPlugin, but when I try to enter in a subdirectory of it I receive the following error:
{{{
Traceback (most recent call last):
  File ""/var/lib/python-support/python2.5/trac/web/main.py"", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File ""/var/lib/python-support/python2.5/trac/web/main.py"", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/var/lib/python-support/python2.5/trac/web/chrome.py"", line 234, in process_request
    raise HTTPNotFound('File %s not found', filename)
HTTPException: 404 Not Found (404 Not Found (File %s not found))
}}}

Does SiteUploadPlugin couldn't upload files to htdocs subdirectories? If it can't do it, I think that is a good new feature.

Eduardo Albuquerque
eduardo.albuquerque@tools.com.br"	Eduardo Albuquerque
7436	UnicodeDecodeError: 'ascii' codec can't decode ...	defect	0.12		new	2010-07-30T07:55:29+02:00	2020-05-22T20:16:46+02:00	"==== How to Reproduce ====

While doing a GET operation on `/admin/siteupload/files`, Trac issued an internal error.

''(please provide additional details here)''

Request parameters:
{{{
{'cat_id': u'siteupload', 'panel_id': u'files', 'path_info': None}
}}}

User agent: `Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3`

==== System Information ====
|| '''`Trac`''' || `0.12` ||
|| '''`Genshi`''' || `0.6` ||
|| '''`mod_python`''' || `3.3.1` ||
|| '''`MySQL`''' || `server: ""5.1.48-log"", client: ""5.1.48"", thread-safe: 1` ||
|| '''`MySQLdb`''' || `1.2.3` ||
|| '''`Python`''' || `2.6.5 (r265:79063, Jul 14 2010, 17:39:10) ` [[br]] `[GCC 3.4.6 20060404 (Red Hat 3.4.6-10)]` ||
|| '''`RPC`''' || `1.1.0` ||
|| '''`setuptools`''' || `0.6c11` ||
|| '''`Subversion`''' || `1.6.12 (r955767)` ||
|| '''`jQuery`''' || `1.4.2` ||

==== Enabled Plugins ====
|| '''`AdvancedTicketWorkflowPlugin`''' || `0.10dev` ||
|| '''`HudsonTrac`''' || `0.3` ||
|| '''`IniAdmin`''' || `0.2` ||
|| '''`PageToDoc`''' || `0.2` ||
|| '''`siteupload`''' || `0.11dev` ||
|| '''`TracDocs`''' || `0.3` ||
|| '''`tracreposearch`''' || `0.2` ||
|| '''`TracXMLRPC`''' || `1.1.0` ||

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File ""build/bdist.linux-x86_64/egg/trac/admin/web_ui.py"", line 116, in process_request
    path_info)
  File ""build/bdist.linux-x86_64/egg/siteupload/admin.py"", line 77, in render_admin_panel
    self._render_view(req, data)
  File ""build/bdist.linux-x86_64/egg/siteupload/admin.py"", line 90, in _render_view
    self.env.href.chrome('site', f), f),
  File ""build/bdist.linux-x86_64/egg/trac/web/href.py"", line 168, in <lambda>
    self._derived[name] = lambda *args, **kw: self(name, *args, **kw)
  File ""build/bdist.linux-x86_64/egg/trac/web/href.py"", line 151, in __call__
    if arg is not None])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)
}}}"	jerryli
7157	Ability to replace an existing file	enhancement	0.11		new	2010-05-21T22:05:35+02:00	2015-04-23T21:14:37+02:00	"Hi,

It'd be nice to be able to update/replace an existing file with siteupload. The use case is the management of authz.txt used to configure fine grained permissions. Currently, once the initial version has been uploaded, this is tricky and painful to update it because you first need to delete it and as a result AuthzPolicy refuses further access to anything (thus you have to disable it first). If we were able to update this file in one go, it would make life much easier.

Michel"	Michel Jouvin <jouvin@…>
5473	[patch] Limit upload size	enhancement	0.11		new	2009-07-05T10:16:22+02:00	2015-04-23T21:14:37+02:00	I've created a patch that adds a `trac.ini` setting to limit the upload size of files. The settings can be found in the section `[siteupload]` and is called `max_size` (similar to the same setting in the section `[attachment]`).	Sebastian Krysmanski
