﻿__group__,ticket,summary,component,version,milestone,type,priority,created,_changetime,_description,_reporter
2. Owned,8813,"next_rev is slow, particularly in the direct-svnfs case",version control,0.11,next-major-releases,defect,highest,2009-11-13T10:10:33+01:00,2023-03-23T22:27:14+01:00,"This is a continuation of #7490, which became too ""big"" to be usable. Please keep that other ticket closed.

A lot of possible reasons for bad performance have been identified, some of them fixed, most being due to installation and configuration issues. Please refer to the TracPerformance checklist, and help maintain that wiki page with your findings.

This ticket should be used to help identify the remaining performance bottlenecks, a part from those which are already known (see TracDev/Performance).


",Christian Boos
3. Reported,10267,Version controls diffs of large text files kill the system,version control/changeset view,0.12.2,next-dev-1.7.x,defect,high,2011-07-15T18:25:07+02:00,2020-12-29T09:45:39+01:00,"We have some large text files (they are some data files we deal with) and when you try to view ""last revision"" or a revision with them it bombs (i.e. the service's cpu usage goes to 100%, and things come to a screeching halt).

Looks like the issue is in: versioncontrol/web_ui/changeset.py

The `_content_changes` method tries to do a diff of anything that isn't a binary.  This is fine for most text files, unless they are big (like even 5 to 10 megs seems a bit much for the diffing method used).  Anyway, I simply added the following to `_content_changes`:

{{{#!python
if (len(old_content) > 100000 or len(new_content) > 100000):
    return None
}}}

(Sorry if it isn't proper pep8)

It looks like you have a max_diff_bytes but that only effects the diff results.  Ideally you would want a threshold before you have the diff results.

",anonymous
3. Reported,3519,browse source - edit feature?,version control,0.9.6,next-major-releases,enhancement,high,2006-08-04T22:40:37+02:00,2022-01-29T18:33:38+01:00,"It would be great if when browsing the source tree through the subversion repository, there was a way to pull up an ""Edit"" box to make quick edits to files and submit them to the subversion repository.  This way I can give access to WIKI users to make edits to files within the subversion repository without them needing to set up full development environments.",anonymous
3. Reported,6217,New notification/cc scheme - notification preferences per ticket,notification,,unscheduled,enhancement,high,2007-10-20T14:10:58+02:00,2020-02-19T03:21:07+01:00,"This is an alternative/refinement of #4056.

Instead of the cc field, a logged in user will see a set of checkboxes, e.g.:
 * Notify on all changes
 * Addition of comments
 * Ticket properties
 * Owner changes
 * Status changes

By selecting one or more of these, he will receive notifications when that particular change takes place.

In his user preferences, he can set which default values should be used for when he is component owner, ticket owner, reporter or not involoved (the last can be useful if somebody wants to be notified of _all_ ticket creations for instance). But he will be able to go and change what type of notifications he want to receive on a ticket to ticket basis, also for those tickets where he is e.g. owner. This will give maximum flexibility and enable a user to fine-tune the notifications he wants to receive with a minimal effort.

For an anonymous user, todays cc field should suffice. But, if one wants to go overboard, one can create one cc field for each of the types of changes (addition of comments, owner changes etc). ",anonymous
3. Reported,12188,Suggest / autocomplete keywords in ticket properties,ticket system,,,enhancement,normal,2015-08-27T13:58:40+02:00,2023-02-22T22:06:48+01:00,Similar to the requests for users (#7628) and milestones (comment:12:ticket:7628 / #1901) it would be a huge time saver to get suggestions and autocompletion for ''keywords'' that have been used before on other tickets.,anonymous
3. Reported,13430,Translation of past time expressions,i18n,1.4,1.6.1,defect,normal,2021-10-10T12:17:20+02:00,2023-02-23T22:38:38+01:00,"If someone comments on a ticket, the timestamp is stored and gives a human-readable output when was something made. It's a great feature, but it seems the time parts are translated separately.

Example:

`2 months ago` appears, and translated as `2 <months> <ago>`. However, in Hungarian (possibly many more languages), the `months` and `ago` can't be translated separately, because it's an expression.

I suggest merging the two translation units into one because the current implementation results in mixed translations.

Possibly there are other places than comments when this appears, but I don't know Trac well enough to tell all of them :(",anonymous
3. Reported,13311,Toolbar button to quote text as a discussion citation,general,,1.6.1,enhancement,normal,2020-06-04T15:53:40+02:00,2023-02-23T22:31:25+01:00,"All Trac text input fields (like this ticket description field) have a little toolbar with buttons to make text bold or italic, insert a heading, a link, a code block, a horizontal rule, a new paragraph, a line break or an image.

It would be useful to have an additional button to quote the currently selected text as [WikiFormatting#DiscussionCitations DiscussionCitations] by adding `>` before each selected line.",anonymous
3. Reported,13029,Attachment notifications despite Never notify: I update a ticket,attachment,1.2.2,next-dev-1.7.x,defect,normal,2018-05-16T17:04:17+02:00,2020-12-29T09:45:39+01:00,"I have configured:

  Subscription rules:
  Never notify: I update a ticket 

And this works well most of the time, but I still get a notification when I attach a file to a ticket.",anonymous
3. Reported,11024,Losslessly compress images,general,,next-dev-1.7.x,enhancement,normal,2013-01-23T09:26:30+01:00,2021-06-04T02:18:31+02:00,Hi. Compressing the png images losslessly saves quite a few bytes.,anonymous
3. Reported,3841,commit after adding attachments to tickets,attachment,0.10,next-major-releases,defect,normal,2006-10-02T17:23:53+02:00,2015-05-26T20:50:57+02:00,"I had the problem after adding attachments I lost my other changes to the ticket: either I had to click the back button in my browser twice or go to the ticket again (now with attachments) and add other changes.

Wouldn't it be better in a ticket after adding an attachment to go back to the ticket view and be able to either click ""Submit changes"" or ""Cancel"" as usual (including the fresh attachement)?? ",anonymous
3. Reported,5390,"Zip Archive: aliases, symlinks",version control/browser,0.10.3,next-major-releases,defect,normal,2007-05-30T04:13:24+02:00,2022-05-19T14:00:43+02:00,"Downloading source from the Trac Browsers ""Zip Archive"" generates Mac aliases or symlinks as files instead of links.",anonymous
3. Reported,5441,Timeline shows incomplete information about status changes for customized workflow,timeline,devel,next-major-releases,defect,normal,2007-06-07T05:39:14+02:00,2015-03-02T22:27:22+01:00,"Currently 'Timeline' shows details about status transitions only for few standard values ('new', 'reopened' and 'closed') and everything else shows as ""''status'' changed"", which is not very convenient if custom workflow has more states.

We could have something like records in ticket's change history.

Sample patch is attached.

More generic solution (e.g. show changes in custom fields similarly) could be even better...",anonymous
3. Reported,5506,Confusing formatting for attachments in Timeline,timeline,devel,next-major-releases,defect,normal,2007-06-12T23:10:01+02:00,2019-02-13T19:50:07+01:00,"{{{
#!html
Click on '<a href=""#"">Ticket #1234</a>' at the attachment line on Timeline page opens attachment page and not actual ticket as expected.
}}}
Simple solution can be done with JavaScript (attached).
",anonymous
3. Reported,8146,Unified diff in changeset view differs from exported unified diff,version control/changeset view,0.12dev,next-major-releases,defect,normal,2009-03-21T20:59:58+01:00,2021-01-11T14:45:35+01:00,"In the changeset view the unified diff provided by clicking on Unified is different from the one which can be downloaded.

View when selecting **Unified** in the changeset view:
{{{
Index: trunk/setup.py
===================================================================
--- a/trunk/setup.py
+++ b/trunk/setup.py
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2003-2008 Edgewall Software
+# Copyright (C) 2003-2009 Edgewall Software
 # All rights reserved.
 #
@@ -71,5 +71,5 @@
     install_requires = [
         'setuptools>=0.6b1',
-        'Genshi>=0.5'
+        'Genshi>=0.6dev-r960'
     ],
     extras_require = {
}}}


Content downloaded as a //Unified Diff//:
{{{
Index: trunk/setup.py
===================================================================
--- trunk/setup.py (revision 7699)
+++ trunk/setup.py (revision 7890)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2003-2008 Edgewall Software
+# Copyright (C) 2003-2009 Edgewall Software
 # All rights reserved.
 #
@@ -71,5 +71,5 @@
     install_requires = [
         'setuptools>=0.6b1',
-        'Genshi>=0.5'
+        'Genshi>=0.6dev-r960'
     ],
     extras_require = {
}}}

here the diff of the two diffs :


{{{
#!diff
--- C:\Users\Absynthe\Downloads\diff-trunk_trac_versioncontrol_web_ui_changeset.py-from-r7626-to-r7890.diff	sam. mars 21 12:38:50 2009
+++ C:\Users\Absynthe\Downloads\diff-trunk_setup.py-from-r7699-to-r7890.diff	sam. mars 21 12:37:11 2009
@@ -1,7 +1,7 @@
 Index: trunk/setup.py
 ===================================================================
---- a/trunk/setup.py
-+++ b/trunk/setup.py
+--- trunk/setup.py (revision 7699)
++++ trunk/setup.py (revision 7890)
 @@ -2,5 +2,5 @@
  # -*- coding: utf-8 -*-
  #
}}}

As you can see paths in the index of the first diff are a bit custom.",anonymous
3. Reported,10059,prop.rendered not properly set in browser.html,version control/browser,0.12.2,next-major-releases,defect,normal,2011-03-02T18:04:35+01:00,2012-01-19T19:40:14+01:00,"Hi,

despite having the wiki_properties set to a property that is rendered correctly as wiki syntax, the prop.rendered in browser.html is not set. This causes everything to be displayed not in the py:when case of a span and a div.",anonymous
3. Reported,10185,"Roadmap view doesn't cache ""Show completed milestones""",roadmap,0.12.2,next-major-releases,defect,normal,2011-05-16T15:59:06+02:00,2015-09-10T10:19:58+02:00,"When enabling ""Show completed milestones"" it isn't cached, so when calling Roadmap page again it isn't enabled. Same for ""Hide milestones with no due date"".",anonymous
3. Reported,10202,TracQuery fails to handle checkbox custom fields,query system,0.12-stable,next-major-releases,defect,normal,2011-05-31T12:14:38+02:00,2011-05-31T12:45:22+02:00,"Define a custom field

{{{
col_private = checkbox
col_private.label = Private
col_private.value = 0
col_private.order = 10
}}}

If you now create a new TracQuery via webpage, select this custom field for filter and set filter value to 'No', all previous created tickets are filtered out.
Ok, accepting that the old tickets do not have a ""Private"" value set, we edit the `query:`-String and replace `col_private=0` by `col_private!=1`. But now all tickets are listed, including all tickets set as ""Private"".
The macro TicketQuery ""fails"" too using `col_private=0` for filtering, but can handle `col_private!=1` properly.

||Trac  	||0.12.2||
||Babel 	||0.9.6||
||Genshi 	||0.6||
||pysqlite 	||2.6.3||
||Python 	||2.4.3 (#1, Sep 3 2009, 15:37:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]||
||pytz 	||2011e||
||setuptools 	||0.6c11||
||SQLite 	||3.3.6||
||Subversion 	||1.4.2 (r22196)||
||jQuery:	||1.4.2||",anonymous
3. Reported,13022,Reports can't be used with some realms,report system,,next-major-releases,defect,normal,2018-04-29T13:01:22+02:00,2018-04-29T22:52:28+02:00,"We can create [TracReports#Automaticallyformattedcolumns for non-ticket realms] like this:
{{{#!sql
SELECT name as id, 'milestone' as _realm
FROM milestone
}}}

But this doesn't work for all realms:
{{{#!sql
SELECT value as id, 'repository' as _realm
FROM repository
WHERE name='name'
}}}

This SQL report above does not list any repositories, even though the following does list them:
{{{#!sql
SELECT value as id, 'repository' as _ignore
FROM repository
WHERE name='name'
}}}
(But here the rows link to the ticket realm.)

The reason is a [source:trunk/trac/ticket/report.py@16445:592-594#L592 hardcoded check in Trac] that's wrong for some realms. It guesses that when realm is `repository`, the appropriate permission is probably `REPOSITORY_VIEW`. But no such permission exists, so all rows are hidden.

(This problem was also [th:ticket:13424 reported to a plugin] where this check also fails.)",anonymous
3. Reported,2141,Upload more than one attachment at a time,attachment,devel,next-major-releases,enhancement,normal,2005-09-28T16:41:04+02:00,2015-07-14T20:29:06+02:00,It would be nice to be able to upload and delete multiple attachments.,anonymous
3. Reported,2702,markdown support,wiki system,0.9.3,next-major-releases,enhancement,normal,2006-01-31T19:55:45+01:00,2017-04-04T01:55:59+02:00,"It'd be nice to see support for [http://daringfireball.net/projects/markdown/ Markdown] with [http://daringfireball.net/projects/smartypants/ SmartyPants] support. Both are available as PHP libraries, so it shouldn't be difficult to include.",anonymous
3. Reported,3911,"implement an object system (xwiki, roundup)",general,0.10,next-major-releases,enhancement,normal,2006-10-11T11:30:16+02:00,2021-01-21T17:51:40+01:00,"in xwiki, i can define objects (set of properties) and then have pages to create new objects, and displaying them, and of course, querying them. this is a great way of structuring documents. e.g., i can create a FAQ object with 'question' and 'answer' fields, then form a page that shows all questions and then all items.",anonymous
3. Reported,4048,Diff between repositories,version control,devel,next-major-releases,enhancement,normal,2006-11-01T21:21:39+01:00,2017-07-11T12:46:51+02:00,"Trac allows to see the files of the project (in any Versioning system) but it were nice if trac allows to:
 1. commit on-line files and directories, 
 2. comment the files, directories and changes of these, 
 3. see diffs between two repositories, etc.

Probably it's a long term enhancement (version 0.20...)

Thank you very much",anonymous
3. Reported,6173,"Allow accounts to be disabled, such that they no longer receive email notifications",notification,devel,next-major-releases,enhancement,normal,2007-10-12T18:59:05+02:00,2015-06-23T17:44:12+02:00,"When a developer or other Trac user becomes inactive in a project, it would be nice to be able to simply 'lock' their account, preserving as much information as possible. Because otherwise they'll be receiving email notifications for every bug they've reported, etc.

Workarounds, and why they're undesirable:
 * Modify every ticket they've reported. Error-prone and tedious, plus minor data loss.
 * Modify the configuration of the mail server to alias the login to /dev/null. Not always practical, and sometimes you still want non-automated emails to go through to them.
 * {{{DELETE FROM session WHERE sid=:developername AND var_name='email';}}} Someone needs to look this code up, and if the schema changes it might break. Also, encouraging people to mess with the database internals is probably a bad idea in the long term.

If there's a way for Trac to determine whether the auth system has locked an account, relying on that would probably be the most elegant solution.",anonymous
3. Reported,6249,Customized field labels for standard fields,ticket system,,next-major-releases,enhancement,normal,2007-10-26T14:56:12+02:00,2015-05-26T20:50:57+02:00,I'd like to be able to easily modify the labels on standard fields.,anonymous
3. Reported,7660,Be able to search for commenters by name,ticket system,0.11.1,next-major-releases,enhancement,normal,2008-09-23T00:57:03+02:00,2009-10-26T15:35:12+01:00,"Somewhat related/started by http://trac.edgewall.org/ticket/7581

On the Pidgin instance of Trac I would like to be able to search  (via the query module) for tickets that have been commented by myself...so search for text such as:

    ""...ago by bernmeister..."" 

Or really, just search for ""bernmeister"".

At the moment there are a lot of Pidgin tickets I've touched and I want to search across all tickets to tell me which ones I've touched that are still NEW (or PENDING or CLOSED or ...).

BTW, Pidgin's Trac instance does NOT have ticket reports enabled. 

What say you (please)?",anonymous
3. Reported,7898,[PATCH] Keep NavigationContributor Ordering,general,0.11-stable,next-major-releases,enhancement,normal,2008-12-18T21:27:40+01:00,2010-11-26T15:26:26+01:00,"I have a small patch which applies against both 0.11-stable (r7236) branch and the trunk (r7768).  It updates the use of INavigationContributors, so if one contributor returns more then one navigation item the order they are returned in is retained when they reach the main/meta navigation bar.  This is of course over-ridden by the *_order settings in the configuration file.

The justification for this patch is that some plugins may wish to dynamicly generate navigation items which are perhaps based on user supplied wiki content.  The order of the navigation items could be significant, so its bad to throw it away. Since the items are generated dynamically it makes adding the order to the trac.ini file impractical.

The patch includes a unit test, and an update the INavigationContributor interface documentation.  I also think ticket #3695 has a little bit of bearing on this.",anonymous
3. Reported,8735,wiki import should maintain page hierarchy,wiki system,none,next-major-releases,enhancement,normal,2009-10-12T17:46:55+02:00,2010-06-24T18:45:14+02:00,"When importing wiki pages via 
{{{
trac-admin ENV wiki import
}}}
it would be great if the directory structure in the import directory was maintained as the page hierarchy in the wiki. Alternatively, it could be useful if an import directory could be placed in some specific page in the wiki page hierarchy.
",anonymous
3. Reported,8949,add sortable tables to wiki,wiki system,,next-major-releases,enhancement,normal,2010-01-10T00:37:19+01:00,2015-03-01T03:54:53+01:00,"See

http://en.wikipedia.org/wiki/Help:Sorting

for Wikipedia's approach to sortable tables.

An approach that does not require JavaScript is preferred, even if it causes the page to reload, but any approach will do.

Useful trac-hacks related to this ticket may include:

http://trac-hacks.org/wiki/FlatTableMacro
http://trac-hacks.org/wiki/MultiSortReportPatch
http://trac-hacks.org/wiki/WikiTableMacro
http://trac-hacks.org/wiki/SqlQueryMacro

A work-around is also appreciated.",anonymous
3. Reported,9149,Conf option for showing previous query instead of default query,ticket system,0.12dev,next-major-releases,enhancement,normal,2010-03-19T12:38:50+01:00,2010-06-23T17:53:27+02:00,"Trac stores query_href into session. It would be nice to have option for using that value as a default value.

{{{
[query]
default_query = ${session_query_href}
}}}",anonymous
3. Reported,9343,"Because Trac support for multiple repos, each repo with a related encoding.",version control,0.12dev,next-major-releases,enhancement,normal,2010-05-15T14:50:12+02:00,2017-04-16T22:35:39+02:00,"So I recommend for each repos, set an distinct default charset for it.
",anonymous
3. Reported,10381,"Use full width for custom textarea fields, and make them collapsible",ticket system,0.12.2,next-major-releases,enhancement,normal,2011-09-29T11:14:09+02:00,2015-03-03T15:34:58+01:00,"The content of custom textareas might get very big, so it would be better to place these fields in full width after description field.

Furthermore it would be nice, if these fields are collapsable, so you could close them, if you do not need them at the moment.",anonymous
3. Reported,10682,Show the path of changesets in log view,version control/log view,,next-major-releases,enhancement,normal,2012-04-30T16:41:08+02:00,2015-05-26T20:50:57+02:00,"Would be great if the path of the changed file is visible in the log view. If multiple files were changed, the highest common path of all changed files should be showed.

I know this feature from WebSVN and it's very helpful to survey which parts of the project were actually changed.",anonymous
3. Reported,11163,Option to set HTML title.,wiki system,0.12.2,next-major-releases,enhancement,normal,2013-04-16T05:01:26+02:00,2015-11-30T22:30:50+01:00,"Currently no option to set HTML title. At preset, title seems to be the same as the page name. The problem with this is the title can end up like ""section/subsection/subsubsection/mypage"" which isn't very handy.

I've tried using the html processor, as follows; 
!{{{
#!html
<head><title>Test Title</title></head>
}}}
but no luck there either.",anonymous
3. Reported,11826,Optimize ticket.query.execute,query system,1.1.2,next-major-releases,enhancement,normal,2014-11-13T19:19:19+01:00,2021-10-21T21:53:55+02:00,"The ticket.query.execute function could be optimised somewhat...

{{{
     if self.max == 0:
            self.has_more_pages = False
            self.offset = 0
        else:
            self.has_more_pages = True
            self.offset = self.max * (self.page - 1)
}}}
source:trunk/trac/ticket/query.py?rev=13234#L110

{{{
            self.num_items = self._count(sql, args)

            if self.num_items <= self.max:
                self.has_more_pages = False

            if self.has_more_pages:
}}}
source:trunk/trac/ticket/query.py?rev=13234#L295


if''' self.max = 0''' this:  {{{self.num_items = self._count(sql, args)}}} is useless since {{{if self.has_more_pages:}}} will always be False.

So I suggest adding something like:
{{{
if self.has_more_pages: // This line
     self.num_items = self._count(sql, args)

            if self.num_items <= self.max:
                self.has_more_pages = False

            if self.has_more_pages:

}}}

That would save one sql-query which in worst case scenario could double(?) the execution time I suppose",anonymous
3. Reported,11887,List Ticket Attachments in TracNotification,notification,1.0-stable,next-major-releases,enhancement,normal,2014-12-19T18:53:31+01:00,2015-08-27T07:13:59+02:00,"I'd like to list the filenames and possibly URLs of a ticket's attachments in each notification email.  I need to gain access to ticket attachments in the `trac_notify_email.txt`.  I've been working on it for the past couple of days and am not sure if this is possible.  Please excuse my limited experience working with Trac and Genshi.

Is this something that can be done currently?  If not maybe it's worth adding as a feature?  Thanks",anonymous
3. Reported,11959,"Add custom fields to ""Group results by"" drop down in Custom Query page.",ticket system,1.0.1,next-major-releases,enhancement,normal,2015-02-12T19:21:21+01:00,2015-08-09T05:33:28+02:00,"Currently, the ""Group results by"" drop down in the ""Custom Query"" page only includes standard fields.  No custom ticket fields appear there.

It would be very useful to include custom fields there.
",anonymous
3. Reported,12679,"Add ""View blame prior to this change"" link to blame view",version control/browser,,next-major-releases,enhancement,normal,2017-02-07T19:52:48+01:00,2019-09-06T19:54:30+02:00,"Blame view ([source:trunk/Makefile?annotate=blame example]) seems to be missing this very useful feature available on github ([https://github.com/edgewall/trac/blame/trunk/Makefile example]).

On github each blame annotation line has a small icon with tooltip ""View blame prior to this change"" that links to the same blame page but at an older revision. This is allows quickly navigating through the history of the file.
",anonymous
3. Reported,12780,Save wiki expander state,wiki system,,next-major-releases,enhancement,normal,2017-04-19T10:02:35+02:00,2019-09-06T19:51:32+02:00,"Replying to [comment:3:ticket:12640 Christian Boos]:
> As for the expander, ... the possibility to save as a UI preference the initial state of the wiki page, expanded or constrained.
",anonymous
3. Reported,12900,Hierarchy-specific PageTemplates,wiki system,,next-major-releases,enhancement,normal,2017-08-30T15:06:13+02:00,2019-09-06T19:51:32+02:00,"The PageTemplates feature uses:
> wiki pages having a name starting with ''!PageTemplates/''
as templates.

And the default selection:
> will be ''blank page'', or ''!DefaultPage'' if ''!PageTemplates/DefaultPage'' exists.

What's missing are templates that are only relevant to certain page hierarchy path prefixes, and a default template for those. For example when creating the page `wiki:Machines/NewMachine` the templates under `wiki:Machines/PageTemplates` should also be available. and `wiki:Machines/PageTemplates/DefaultPage` (or at least `wiki:PageTemplates/Machines/DefaultPage`) should be the default.
",anonymous
3. Reported,13019,Make dropdowns searchable / filterable,web frontend,,next-major-releases,enhancement,normal,2018-04-27T07:41:31+02:00,2021-07-24T22:55:15+02:00,"Copied from [ticket:10012#comment:82]:
> > About select boxes:
> > 
> > Another interesting library I recently discovered is http://harvesthq.github.com/chosen/ ...
> 
> Wow, impressive! Yes, looks like it's a must have.
> 
> > Any arguments against including it in core?
> Not from my side. [cboos]

[https://harvesthq.github.io/chosen/#optgroup-support This would be especially useful] for milestone selection. [ticket:13018 Often] there are many milestones and finding a certain milestone can be difficult because [ticket:2130 they are sorted by due date]. Allowing to use the filtering of ''chosen'' would be very helpful and nice.",anonymous
3. Reported,13201,URL parameter defaults for milestone forms,general,,next-major-releases,enhancement,normal,2019-09-03T12:20:23+02:00,2019-09-09T09:50:13+02:00,"Ticket and wiki form defaults can be controlled by URL parameters:
* [/newticket?summary=MyDefaultValue /newticket?summary=MyDefaultValue]
* [/wiki/test?action=edit&text=MyDefaultValue /wiki/test?action=edit&text=MyDefaultValue]

The same would be useful for milestones:
* [/milestone/1.0?action=edit&description=MyDefaultValue /milestone/1.0?action=edit&description=MyDefaultValue]
* [/admin/ticket/milestones?name=MyDefaultValue /admin/ticket/milestones?name=MyDefaultValue]
But the default values are ignored there.",anonymous
3. Reported,6644,Authz_policy plugin doesn't work with [*],general,0.11b1,next-stable-1.6.x,defect,normal,2008-01-13T15:15:21+01:00,2023-09-23T22:33:10+02:00,"normalise_resource returns None for ""blank"" resources, and authz_permissions doesn't understand None  as [*]

",anonymous
3. Reported,7454,Query timeouts with PG result in traceback,search system,0.10.5,next-stable-1.6.x,defect,normal,2008-07-22T04:19:37+02:00,2023-09-23T22:33:10+02:00,"In trac.adiumx.com search select :tickets, wikis, and changesets; search for ""tor"" (without the quotes).
This is the effect:


If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide
Python Traceback

{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/usr/lib/python2.4/site-packages/trac/Search.py"", line 181, in process_request
    results += list(source.get_search_results(req, terms, filters))
  File ""/usr/lib/python2.4/site-packages/trac/ticket/api.py"", line 269, in get_search_results
    args + args2)
  File ""/usr/lib/python2.4/site-packages/trac/db/util.py"", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File ""/usr/lib/python2.4/site-packages/trac/db/util.py"", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: canceling statement due to statement timeout
}}}",anonymous
3. Reported,7463,theme.html not included when trac is at / URL.,general,0.11-stable,next-stable-1.6.x,defect,normal,2008-07-24T13:33:01+02:00,2023-09-23T22:33:10+02:00,"It took me 4 hours to trace all things and make out this bug.
I have simple setup nothing special. 
When I visit http://trac.host:8000/project/ all is ok (using tracd)
But when I use apache + mod_wsgi to visit http://trac.host (without project) I do not see header, banner, menu, just content. 
When I looked into sources I noticed that trac did not generate divs. So I started to trace it. 
It finished with the solution:
{{{
snowflake templates # diff  layout.html layout.html-orig 
54c54
<   <xi:include href=""$chrome.theme""></xi:include>
---
>   <xi:include href=""$chrome.theme""><xi:fallback /></xi:include>
snowflake templates # 
}}}
I suppose that when fallback is ON Genshi does not search another template directories to include theme.html.",anonymous
3. Reported,11280,"""ValueError: incomplete format key"" occurs repeatedly",general,1.0,next-stable-1.6.x,defect,normal,2013-08-22T11:19:58+02:00,2023-09-23T22:33:10+02:00,"""Value Error"" occurs when I set ""%("" in configuration value of Administration. (e.g. Administration - General - Basic Settings - Description)
And Once ""Value Error"" occured, same error occurs on most of pages until I restart Trac process.

System Information

|| Trac || 1.0 ||
|| Python || 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] 
|| Babel || 0.9.6 ||
|| Docutils || 0.7 ||
|| Genshi || 0.6 ||
|| mod_wsgi || 3.4 ||
|| Pygments || 1.4 ||
|| pysqlite || 2.6.0 ||
|| setuptools || 0.6c11 ||
|| SQLite || 3.6.21 ||
|| Subversion || 1.7.7 ||
|| jQuery || 1.7.2 ||

OS: Windows Server 2003 x86 SP2

Python Traceback
{{{
Traceback (most recent call last):
  File ""C:\python\lib\site-packages\trac-1.0-py2.7.egg\trac\web\api.py"", line 504, in send_error
    data, 'text/html')
  File ""C:\python\lib\site-packages\trac-1.0-py2.7.egg\trac\web\chrome.py"", line 961, in render_template
    data = self.populate_data(req, data)
  File ""C:\python\lib\site-packages\trac-1.0-py2.7.egg\trac\web\chrome.py"", line 817, in populate_data
    'descr': self.env.project_description,
  File ""C:\python\lib\site-packages\trac-1.0-py2.7.egg\trac\config.py"", line 661, in __get__
    value = self.accessor(section, self.name, self.default)
  File ""C:\python\lib\site-packages\trac-1.0-py2.7.egg\trac\config.py"", line 400, in get
    value = self.config.parser.get(name_str,key_str)
  File ""C:\python\lib\ConfigParser.py"", line 623, in get
    return self._interpolate(section, option, value, d)
  File ""C:\python\lib\ConfigParser.py"", line 666, in _interpolate
    value = value % vars
ValueError: incomplete format key
}}}",anonymous
3. Reported,12123,progress says 100% but it's not finished!,ticket system,1.0.4,next-stable-1.6.x,defect,normal,2015-07-16T10:41:49+02:00,2023-09-23T22:33:10+02:00,"If target value is not equal to current value, it should never say 100%!

[[Image(wrong.PNG)]]",anonymous
3. Reported,11686,Official support for uwsgi,web frontend,,next-stable-1.6.x,enhancement,normal,2014-07-22T00:26:37+02:00,2023-09-23T22:33:10+02:00,"When using uwsgi + refresh the site fast you get tons of:

{{{
Traceback (most recent call last):
  File ""/home/trac/uwsgi-test/local/lib/python2.7/site-packages/trac/web/main.py"", line 474, in dispatch_request
    return _dispatch_request(req, env, env_error)
  File ""/home/trac/uwsgi-test/local/lib/python2.7/site-packages/trac/web/main.py"", line 513, in _dispatch_request
    send_internal_error(env, req, sys.exc_info())
  File ""/home/trac/uwsgi-test/local/lib/python2.7/site-packages/trac/web/main.py"", line 630, in send_internal_error
    req.send_error(exc_info, status=500, env=env, data=data)
  File ""/home/trac/uwsgi-test/local/lib/python2.7/site-packages/trac/web/api.py"", line 581, in send_error
    self.write(data)
  File ""/home/trac/uwsgi-test/local/lib/python2.7/site-packages/trac/web/api.py"", line 660, in write
    self._write(data)
IOError: write error
}}}

I see that there is a special case for mod_wsgi, maybe you could add one for uwsgi too?
http://trac.edgewall.org/browser/branches/1.0-stable/trac/web/api.py#L666

Saw that atleast jomae uses uwsgi...

Also, is there any recommended conf for uwsgi? threads - on/off? and so on...",anonymous
3. Reported,13092,Unified diff of changeset sometimes include wrong changes?,plugin/mercurial,,plugin - mercurial,defect,normal,2018-10-17T11:01:57+02:00,2022-07-18T12:31:54+02:00,"For example the changesets before the merge log:mercurial-plugin@17:
* changeset:16/mercurial-plugin: The [/changeset/16/mercurial-plugin/?format=diff&new=2706330d90cb30818cf9d377606afc7f41702ba7 Unified Diff] there looks correct.
* changeset:15/mercurial-plugin: The [/changeset/15/mercurial-plugin/?format=diff&new=fe49850212ceb0907303cef73f0703150e790d22 Unified Diff] there looks correct.
* changeset:14/mercurial-plugin: The [/changeset/14/mercurial-plugin/?format=diff&new=89d0599cbded8e1376e9ff8bcc670ce5c3385f23 Unified Diff] includes a lot more changes than it should!

Another example is before the merge log:mercurial-plugin@46:
* changeset:45/mercurial-plugin: The [/changeset/45/mercurial-plugin?format=diff&new=7c49d0e317476d951b80c9195a537620624e9169 Unified Diff] again includes a lot more changes than it should.
",anonymous
3. Reported,13318,Changeset with new file links to a different revision,plugin/mercurial,,plugin - mercurial,defect,normal,2020-07-10T14:35:58+02:00,2023-03-13T19:41:52+01:00,"We noticed a changeset that links to the wrong revisions of files in the changeset. It all works correctly for other changesets. I don't know what's special about this changeset.

Trac 	1.5.1.dev0
Jinja2 	2.11.1
Mercurial 	5.3+3-847e582f3cc9
tracmercurial 	1.0.0.10.dev0

Any ideas?",anonymous
3. Reported,1505,Search all projects at once,search system,0.8.1,topic-multiproject,enhancement,normal,2005-05-03T13:22:01+02:00,2015-05-26T20:59:54+02:00,"In case of mulitple projects, it would be very interesting to have a global search (across all projects and their tickets). Is suppose this would be quite easy to accomplish, if this would call the search of each separate project and display the results in a single page ...",anonymous
3. Reported,1024,Each section should have a edit button,wiki system,0.8,topic-wikiengine,enhancement,normal,2004-12-08T13:14:04+01:00,2016-04-08T20:20:15+02:00,"ie
http://www.splitbrain.org/dokuwiki/wiki:dokuwiki",anonymous
3. Reported,3895,Provide Trac API for returning all outbound links in a page,wiki system,0.10,topic-wikiengine,enhancement,normal,2006-10-09T22:15:28+02:00,2015-05-26T20:59:21+02:00,"I have a suggestion that could kill a lot of birds with one stone.

I see a lot of people asking for functionality in Trac that relates to connections between pages (Backlink, Orphaned Pages, and MissingLinks among them).  I see some attempts by the community to provide that functionality.  I also see that those attempts are:

1) Very poor, and 
2) getting poorer by the day.

The reason they are getting poorer is that Trac already matches on a large array of patterns.  The bar is set fairly high, and the current plugins do not meet it.  Also, the Trac development team routinely introduces new additions/changes that increase the number of ways to connect two pages.  There is really no way for the plugin community to catch up.

Instead of asking us to do so, I ask you to help us help you:  Please provide (and document) an API function that takes some sort of reference to a Trac document (name perhaps) and returns a set of all outbound links from that page.  This functionality should identically match (or perhaps replace?) the functionality Trac uses to generate and HTML page.  As new patterns are added to the system, plugins would then automatically detect the new links.  With this function as a basis, a host of other functions could be provided, correctly, by the community.

If and when Trac tracks links between pages, the API could be modified to use the stored information, rather than calculating it on the fly.  


",anonymous
3. Reported,10079,improper rendering of svn:externals when not configured,version control/browser,,undecided,defect,normal,2011-03-11T17:12:59+01:00,2015-06-04T11:56:20+02:00,"Some people do not (or can not) configure all of their svn:external properties to really point to some http:// url. So when trac.ini has no svn:externals section the entry
{{{
foo svn://svnserver/path/to/whatever
}}}
will be just rendered as 
* foo
and nothing else. This is pretty annoying, and I have modified my trac to display in that case the complete line from the externals entry, so if you are intrested, here is my `_render_externals` function (modified against 0.12.2)

{{{#!diff
diff --git a/trac/versioncontrol/svn_prop.py b/trac/versioncontrol/svn_prop.py
index 8c77d0c..2b3e906 100644
--- a/trac/versioncontrol/svn_prop.py
+++ b/trac/versioncontrol/svn_prop.py
@@ -71,7 +71,7 @@ class SubversionPropertyRenderer(Component):
                 continue
             localpath, rev, url = elements[0], '', elements[-1]
             if localpath.startswith('#'):
-                externals.append((external, None, None, None, None))
+                externals.append((external, None, None, None, None, None))
                 continue
             if len(elements) == 3:
                 rev = elements[1]
@@ -94,11 +94,13 @@ class SubversionPropertyRenderer(Component):
                 if prefix:
                     remotepath = posixpath.join(*reversed(prefix))
                 externals.append((localpath, revstr, base_url, remotepath,
-                                  href % {'path': remotepath, 'rev': rev}))
+                                  href % {'path': remotepath, 'rev': rev},
+                                  external))
             else:
-                externals.append((localpath, revstr, url, None, None))
+                externals.append((localpath, revstr, url, None, None,
+                                  external))
         externals_data = []
-        for localpath, rev, url, remotepath, href in externals:
+        for localpath, rev, url, remotepath, href, external in externals:
             label = localpath
             if url is None:
                 title = ''
@@ -108,6 +110,7 @@ class SubversionPropertyRenderer(Component):
                 label += rev + url
                 title = ''.join((remotepath, rev, url))
             else:
+                label = external
                 title = _('No svn:externals configured in trac.ini')
             externals_data.append((label, href, title))
         return tag.ul([tag.li(tag.a(label, href=href, title=title))

}}}",anonymous
3. Reported,11359,unintentional Camelcase links with slashes e.g. Bla/Blo,wiki system,1.0-stable,undecided,defect,normal,2013-11-10T20:12:33+01:00,2014-08-14T23:39:07+02:00,"Two ore more Uppercase words separated by a slash e.g. `Bla/Blo` are treated as CamelCase and therefore generate a wikipage link. This is not welcome. It should better not be hyper-linked.

== Examples ==
""Bla/Blo"", ""Tom/Thomas"" and ""Berlin/Germany"" produce unwanted wiki-links to non-existing wiki pages.

== Argumentation ==

In routine work it happens quite often that unintended (dead) hyperlinks are created when writing texts fragments e.g. `in Berlin/Germany` or `Tom/Lisa said`. [[BR]]
In my opinion it should be like this:
 - `Germany/Berlin` -> shall be not be linked,
 - `LocationGermany/Berlin` -> shall be linked
because the first one can occur in natural writing and '''natural writing shall not be wiki-interpreted'''. In my opinion `Germany/Berlin` shall not be interpreted as CamelCase.

According to CamelCase and WikiPageNames slashes are allows to make ""hierarchy"" links. Rule 5 of WikiPageNames says: 
> 5. ''The use of slash ( / ) is permitted in page names (possibly representing a hierarchy).'' 
In my opinion this rule should be changed as follows:
> 5. ''The use of slash ( / ) is permitted in page names (possibly representing a hierarchy). In this case the above rules apply to each of the name fragments.' 

== Severity and Workaround

I do not really have a big problem here, since:
 - one can simple insert spaces `Germany / Berlin` or
 - escape the link with an exclamation mark e.g. `!Camel/Case` or
 - use one of the configuration options e.g. `ignore_missing_pages = true`.

However I think that the wiki processor shall not negatively interfere with natural writing. 

== Relation and History ==
There is also an old discussion in #733 (especially comment:3). It seemed to be solved for TRAC 0.9 in 2004 but until then somehow there was an regression and the unwanted effect reappeared..

The effect of unwanted linking is reported for TRAC versions 0.12, 1.0 and 1.1(dev). Other version I cannot test other versions now, but from my memories I believe that TRAC 0.10 and/or 0.11 did not suffer from the effect.",anonymous
3. Reported,10873,authzpolicy.conf can not include a common permission setup,admin/console,,undecided,enhancement,normal,2012-09-27T20:56:10+02:00,2015-03-18T23:03:15+01:00,"I have a multiprojects trac setup,
say I have a authzpolicy.conf as follow for each of them
most of the config are same except the groups setup.

{{{
[groups]
superdevs = me
devel= user1,user2,
custom= @devel,user3,user4


[wiki:WikiStart]
anonymous = WIKI_VIEW
[wiki:*]
anonymous =
@devel=
@custom=
[*]
@superdevs = TRAC_ADMIN
anonymous = MILESTONE_VIEW, ROADMAP_VIEW, TIMELINE_VIEW
}}}

I would love to have the authzpolicy.conf take a include or inherit from somewhere else",anonymous
3. Reported,13083,Unified diff with contextall,version control/changeset view,,undecided,enhancement,normal,2018-09-21T12:56:38+02:00,2018-09-26T15:04:45+02:00,"The changeset view (example 3: changeset:16824) allows to ""Show the changes in full context"" via `?contextall=1` (example 2: changeset:16824?contextall=1).

It also has a link to ""Download in other formats: Unified Diff"" (example 3: changeset:16824?format=diff&new=16824).

But combining these two features is not currently possible. On the ''example 2'' page the `contextall=1` parameter is not included in the Unified Diff link. 
And even if it is manually added it does not seem to have any effect (example 4: changeset:16824?format=diff&new=16824&contextall=1).

Would it be possible to make this work? This is very useful for people that prefer using an offline diff viewer tool.",anonymous
3. Reported,2390,search isn't case and accent insensitive,search system,0.9,unscheduled,defect,normal,2005-11-21T19:46:40+01:00,2015-05-26T20:55:39+02:00,"The search engine gives different results when searching for the word ''Ελληνικά'', ''ελληνικά'' or ''ελληνικα''. These are the same words and should all return the same results as they do for latin-1 words.

",anonymous
3. Reported,6615,svn:externals not correctly displayed in browser,version control/browser,0.11b1,unscheduled,defect,normal,2008-01-09T10:33:24+01:00,2015-05-26T20:55:39+02:00,"Using Trac 0.11b1, svn:externals can be followed using the browser.[[BR]]

However, imagine a directory which only contains links to externals modules (this could be a common use case, putting all external stuff in one place). Then when clicking on the left arrow to expand this folder, the ""jquery Loading..."" sends back an ''(empty)'' directory ! This is '''''correct from a subversion point of view''''' but a bit '''''strange from a user point of view''''' (which is not supposed to know svn internals) and we have to click on the directory name to get the svn:external link displayed.[[BR]]

The proposal should be : '''creating a particular directory entry icon which could represent an external link'''. Then, this link would be displayed as a special directory entry and the user would be able to follow this link without being disturbed by an ''empty'' dir content.[[BR]]
[[BR]]

I put here another thougth as it is linked to my previous description : A great improvement of the svn:externals functionality would be to follow the link within the trac browser if the link target is related to the same repos. Indeed, consider this situation :
[[BR]]
 * Repos is stored here http://myserver/svn/repos
 * The source directoy is http://myserver/svn/repos/project1/
 * the target directory is http://myserver/svn/repos/modules/module1
The svn:externals property of http://myserver/svn/repos/project1/ is set to ""module1 http://myserver/svn/repos/modules/module1"" [[BR]]
Then when following the link in the trac browser http://myserver/trac/browser/project1/module1 , we are redirected to http://myserver/svn/repos/modules/module1 which is correct but which leaves trac pages. As the link is ""external"" from a svn point of view but ""internal"" from a trac point of view, the address could be transformed on the fly to http://myserver/trac/browser/modules/module1



",anonymous
3. Reported,7484,Icons do not display when using High Contrast mode,rendering,,unscheduled,defect,normal,2008-07-30T11:53:23+02:00,2014-08-02T08:40:43+02:00,"The images for styling (eg bold) do not display when windows is set to high contrast mode.

This is due to internet explorer ignoring background images when set to high contrast mode.
",anonymous
3. Reported,8567,BLOB column can't be used in PRIMARY KEY and maximum ROW size is 8052 on NDB engine,database backend,0.11.5,unscheduled,defect,normal,2009-08-13T14:45:08+02:00,2014-09-08T19:41:42+02:00,"I success to work with MySQL cluster on Windows(x64).
But some issues remain.

 1. With NDB engine, TEXT(BLOB) column cannot be used as PRIMARY KEY. So such columns will be used as VARCHAR.
 1. Maximum ROW size for NDB engine is 8052. So, long wiki, tickets and etc are cut off by limit.


",anonymous
3. Reported,9584,Binary files fail to download over SSL using Internet Explorer (IE),general,0.12-stable,unscheduled,defect,normal,2010-08-24T17:45:21+02:00,2010-09-23T15:22:27+02:00,"When trying to download a binary file from my svn repo through trac I get the following error in Internet Explorer 8: 

{{{
Unable to download <filename> from <host>.

Unable to open this Internet site. The requested site is either unavailable or cannot be found.
Please try again later.
}}}

The file downloads fine in Firefox and worked fine when I was using trac 0.11.

I am using Apache 2.2.3 over SSL with trac 0.12.

The response headers being sent by the server are:


{{{
Cache-Control: no-cache
Date: Tue, 24 Aug 2010 15:20:16 GMT
Expires: Fri, 01 Jan 1999 00:00:00 GMT
Pragma: no-cache
Content-Length: 3017999
Content-Type: application/zip; charset=iso-8859-15
Last-Modified: Tue, 17 Aug 2010 16:18:16 GMT
Content-Disposition: attachment
Server: Apache/2.2.3 (CentOS)
Connection: close
}}}

",anonymous
3. Reported,10517,several tracd.exe on the same port on windows,web frontend/tracd,0.12.2,unscheduled,defect,normal,2012-01-06T14:59:41+01:00,2015-10-26T15:48:45+01:00,"hi
When was trying to setup standalone server I have found I can run several tracd.exe simultaneously on the same port without any error or warning. I was confused a bit because of always thought that server application should exit if port binding was failed, shouldn't it?

(windows 7, Python 2.7.2, trac 0.12.2)",anonymous
3. Reported,11321,browser doesn't highlite the last opened ticket,ticket system,,unscheduled,defect,normal,2013-10-07T14:52:09+02:00,2013-10-07T20:07:05+02:00,"go to an ticket overview list,
open a ticket,
now go back (with the BROWSER back) to that overview,

expected:
=> it is clear to see which ticket was last opened

actual:
=> no idea which ticket was opened",anonymous
3. Reported,1943,Add support for date calculations in ticket reports/querys,report system,0.8.4,unscheduled,enhancement,normal,2005-08-19T21:55:38+02:00,2012-09-15T22:27:01+02:00,This enables rudimentary project management,anonymous
3. Reported,3156,Export Milestone to CSV,roadmap,0.9.4,unscheduled,enhancement,normal,2006-05-16T20:34:42+02:00,2021-02-28T19:30:28+01:00,"== Problem ==
 There is no way to do postrelease ferensics. 

== Solution == 
 The current reporting in trac is limited to ticket status snapshots. This is helpful as a status indicator and for milestone tracking. I didn't see postmotam analysis tools on the roadmap. Features that facilitate milestone analysis would greatly improve Trac's exposure to project managers, product managers and executives. 

 Including an export feature would get you 80% of the way. This would facilitate doing the analysis in excel while the integrated reporting tools are developed.
 
 When exporting the data, ticket properties should be exported as a single line record. A record should be constituted as any change or addition to the ticket. So if the status changes and nothing else the csv record shoudl include all ticket properties including the status change. 

||Ticket|| Priority || description || Severity || Milestone||
||1||P1||TEST Ticket||normal||1.0||
||1||P1||New description|| normal|| 1.0||

that would be exported as:
{{{
1,P1,TEST Ticket,normal,1.0
1,P1,New description,normal, 1.0
}}}
 ",anonymous
3. Reported,3694,Code coloring in diff,version control/changeset view,none,unscheduled,enhancement,normal,2006-09-10T12:23:14+02:00,2019-01-14T15:22:21+01:00,It would be great to have code source code highlightrd in Diff view.,anonymous
3. Reported,4226,tracd: access control for list of projects,web frontend/tracd,0.10.2,unscheduled,enhancement,normal,2006-11-21T12:26:57+01:00,2015-05-26T20:55:39+02:00,"I have tracd running with a few projects. When you go to http://host:port/, there is a list of ""Available Projects"". I would like to restrict access to this page, by something like .htaccess/.htpasswd in apache. Is this possible?",anonymous
3. Reported,5589,Full text search in attachments,search system,0.10-stable,unscheduled,enhancement,normal,2007-06-23T20:28:20+02:00,2015-05-26T20:55:39+02:00,"Ability to search in attachments' bodies is needed. At least, search in plain text files (including unicode) and Microsoft Office files (at least: DOC & XLS) is needed.

A better solution is to integrate some full text search engine into the Trac.",anonymous
3. Reported,6062,MediaWiki-style alternative wiki syntax,wiki system,,unscheduled,enhancement,normal,2007-09-19T21:58:00+02:00,2020-12-21T04:03:51+01:00,"There are compelling reasons to support mediawiki format completely in the core trac release.  
 1. jamwiki is cloning mediawiki in Java and keeping the format identical so Java-based projects can easily integrate a full wiki.
 2. drupal_wiki is likewise supporting mediawiki format as its native format
 3. mediawiki is very widely used in intranets already including very large ones like the US inteligence services' ""Intellipedia""
 4. mediawiki is also widely used for documentation and requirements engineering by open source and share-alike (including free software and open content) projects - most of the target market for trac has to support mediawiki anyway, and in some cases has a strong motive to update large public wikis running on mediawiki
 5. of hundreds of millions of page reads from wikis every year, the overwhelming majority of those are from wikis using mediawiki format.  The public interest in supporting, teaching and implementing this format is now immense and unstoppable, even if a markedly ""better"" wiki format existed, it would not overcome this data compatibility problem. 
 6. Most importantly, almost all technical and requirements domain concepts that might need to be referred in specifications already have names in most widely used languages thanks to Wikipedia.  Working out the most neutral and least controversial names for tens of thousands of scientific, technological, business and other concepts has been the greatest contribution of the Wikipedia project.  Since those names are expressed in the characters allowed in mediawiki names, with many conventions growing out of Wikipedia usage, any deviation (any more or less permissive use of characters) would ""break"" the character set and force ""translation"" of names of concepts to determine if the concept existed in the Wikipedia namespace (or ""GFDL corpus namespace"" to be legally more exact as all Wikipedia content is under GFDL and other mediawikis copy the names under this license).

Accordingly, the benefits of keeping trac internal data and user's internal documentation in mediawiki format are profound: 
 7. any concept whatsoever that is named in a document can be quickly checked to see if it exists in Wikipedia or a list of other public wikis, and the option to link it added
 7. statistically improbable phrases can be related to more standard phrases by relatively simple programming/searching methods, e.g. consulting Amazon lists of keywords attached to books, checking for matches with text of Wikipedia articles
 8. any page managed by Trac can be instantly moved to, or can instantly incorporate updates from, or possibly embed or be embedded in, any other page in a large public wiki or mediawiki- or drupal- or jamwiki- based intranet
 9. TracWiki could become the Python equivalent of jamwiki (Java) and possibly be included in other applications as a module as is intended for jamwiki;  This would better distribute the maintenance effort and spread trac
 10. mediawiki extensions would be encouraged to integrate trac so that, for instance, bugs in mediawiki-based services would be able to contain trac links directly in talk pages and edit summaries. 
 11. anonymous trolls are more likely to complain about errors seen in trac, as all anonymous trolls already know mediawiki format so they can troll Wikipedia
 12. such trolls will no longer appear to write long whiny tickets like this.  These advantages will get more significant, not less, over time, as the number of trolls in the world increases (we may be in the Troll Age).

To converge/eliminate the existing tracWiki format would be relatively simple as most of mediawiki's text conventions (regarding italics, boldface and headings) are supported already.  The link format, relying on double square brackets, conflicts with the existing tracWiki macro format, but this is easily resolved by a method similar to methodNotFound in Smalltalk, etc.:  if a local macro by that name does not exist, the behaviour defaults to an open link.  This is then easy to replace with another macro that can default to find (and link) the appropriate article (via the methods listed) in a more public wiki, or a cascade of nested wikis of decreasing specificity.  This is similar to the technique wikinfo.org already uses to embed Wikipedia articles when wikinfo itself has no article on that topic. 

Discouraging WikiWords is of high priority as they encourage bad English and make sentences containing links unreadable and confusing to technical people (exactly why mediawiki abandoned them).
",anonymous
3. Reported,6302,Retrieve search results in RSS format,search system,0.10-stable,unscheduled,enhancement,normal,2007-11-05T10:16:24+01:00,2015-05-26T20:55:39+02:00,"I didnt found this feature in the current version.[[BR]]
I would be nice to be able to get search result in RSS format.[[BR]]
Could you please implement it?",anonymous
3. Reported,6411,Use mime type switching,rendering,0.10.4,unscheduled,enhancement,normal,2007-11-29T03:38:40+01:00,2015-05-26T20:55:39+02:00,"The Doctype in your code identifies the document as XHTML 1.1 while the mime type is text/html. It is '''""STRONGLY RECOMMENDED""''' by the W3C that XHTML document are served with the application/xhtml+xml mime type. I realize that doing this would break compliance with Internet Explorer, but this can be solved with mime type switching [http://www.workingwith.me.uk/articles/scripting/mimetypes (php example not by me)]. Also if the code is not compliant it will not show on XHTML compliant browsers. If the code is not valid, then you should not use the XHTML doctype anyway. This means that everything that is user input must be checked for valid code. Thanks for your time.",anonymous
3. Reported,6548,different types of ticket need different workflows,ticket system,0.11b1,unscheduled,enhancement,normal,2007-12-23T02:02:06+01:00,2017-05-17T00:53:34+02:00,"Actions should be selectable based on the ticket type (different Workflows for different tickets.

This is becoming a frequent request, with clear usecases.  The closest the current implementation will allow is to have a plugin provide a `triage` action that sets the next state based on the ticket type, so a `new` ticket would move to `new_task`, `new_defect`, etc., and the workflow graph would separate at that point.",anonymous
3. Reported,7005,render svn properties as wiki text in new browser column,version control/browser,,unscheduled,enhancement,normal,2008-03-14T10:20:11+01:00,2015-05-26T20:55:39+02:00,"Hi, a little patch we had for our internal trac here inspired me to this enhancement request. The patch currently works as follows:

It takes a configurable property (trac:comment in our case), runs it through the wiki->html engine part and then displays it in the source code browser view between the file/directory name and the actual contents of the browser view.

For the new javascript enhanced browser view, I would also put some kind of marker at all the files that have the said property set, so people can actually click in the view on it (as opposed to opening the treeview).",anonymous
3. Reported,10118,(almost patch) make browser quickjump dropdown context sensitive,version control/browser,0.12.2,unscheduled,enhancement,normal,2011-04-05T15:56:08+02:00,2015-12-19T16:51:14+01:00,"Hi, I made my quickjump context menu context sensitive because I have many many projects within the same erpository, and adding them all by hand to the trac.ini would not only be tedious, it would also confuse people since they probably only want to see available tags/branches to whatever server/program/library they are currently looking at.

I made a little patch to my trac 0.12.2 that does exactly what I want, but I guess to make it a full feature it should be configurable in some way (at lest switch it on/off, restrict it to some directory or all that match a pattern, or have some special keyword that gets substituted by the current path, or all at once).

Here are the changes:

{{{#!diff
diff -r -U5 /root/src/Trac-0.12.2/trac/versioncontrol/web_ui/browser.py ./versioncontrol/web_ui/browser.py
--- /root/src/Trac-0.12.2/trac/versioncontrol/web_ui/browser.py 2011-01-31 23:05:46.000000000 +0100       
+++ ./versioncontrol/web_ui/browser.py  2011-04-05 15:34:29.000000000 +0200                               
@@ -396,11 +397,11 @@                                                                                     
                                                                                                          
         quickjump_data = properties_data = None                                                          
         if node and not xhr:                                                                             
             properties_data = self.render_properties(                                                    
                     'browser', context, node.get_properties())                                           
-            quickjump_data = list(repos.get_quickjump_entries(rev))
+            quickjump_data = list(repos.get_quickjump_entries(rev,path))

         data = {
             'context': context, 'reponame': reponame, 'repos': repos,
             'repoinfo': all_repositories.get(reponame or ''),
             'path': path, 'rev': node and node.rev, 'stickyrev': rev,



diff -r -U5 /root/src/Trac-0.12.2/trac/versioncontrol/svn_fs.py ./versioncontrol/svn_fs.py 
--- /root/src/Trac-0.12.2/trac/versioncontrol/svn_fs.py 2011-01-31 23:05:46.000000000 +0100
+++ ./versioncontrol/svn_fs.py  2011-04-05 15:42:51.000000000 +0200                        
@@ -399,13 +399,20 @@                                                                      
         self.repos = self.fs_ptr = self.pool = None                                       
                                                                                           
     def get_base(self):                                                                   
         return self.base                                                                  
                                                                                           
-    def _get_tags_or_branches(self, paths):                                               
+    def _get_tags_or_branches(self, paths, showpath = None):                              
         """"""Retrieve known branches or tags.""""""                                            
-        for path in self.params.get(paths, []):                                           
+       mypaths=self.params.get(paths,[])                                                  
+       if( showpath and showpath.startswith(""trunk"") ):                                   
+           npath=showpath.replace(""trunk"",paths)                                          
+           if( not npath.endswith(""/"") ):                                                 
+               npath += ""/""                                                               
+           npath += ""*""                                                                   
+           mypaths.append(npath)                                                          
+       for path in mypaths:                                                               
             if path.endswith('*'):                                                        
                 folder = posixpath.dirname(path)                                          
                 try:                                                                      
                     entries = [n for n in self.get_node(folder).get_entries()]            
                     for node in sorted(entries, key=lambda n:                             
@@ -418,18 +425,18 @@                                                                      
                 try:                                                                      
                     yield self.get_node(path)                                             
                 except: # no right                                                        
                     pass                                                                  
                                                                                           
-    def get_quickjump_entries(self, rev):                                                 
+    def get_quickjump_entries(self, rev, showpath = None):                                
         """"""Retrieve known branches, as (name, id) pairs.                                  
                                                                                           
         Purposedly ignores `rev` and always takes the last revision.                      
         """"""                                                                               
-        for n in self._get_tags_or_branches('branches'):                                  
+        for n in self._get_tags_or_branches('branches',showpath):                         
             yield 'branches', n.path, n.path, None                                        
-        for n in self._get_tags_or_branches('tags'):                                      
+        for n in self._get_tags_or_branches('tags',showpath):                             
             yield 'tags', n.path, n.created_path, n.created_rev                           
                                                                                           
     def get_path_url(self, path, rev):                                                    
         url = self.params.get('url', '').rstrip('/')                                      
         if url:                    


}}}

This should give you an idea of what the feature looks like that I wanted to have.",anonymous
3. Reported,10933,Custom Query: Column with last status change,query system,1.0,unscheduled,enhancement,normal,2012-10-31T10:24:54+01:00,2022-11-16T06:31:22+01:00,"I couldn't find a possibility to show in custom query another column which show the last status change of a ticket. 
Is there a way to add such a column that i haven't seen or could this be added to custom query?",anonymous
3. Reported,11043,Add option to hide a commiter's email address,plugin/git,,unscheduled,enhancement,normal,2013-02-03T15:04:34+01:00,2013-02-28T00:29:45+01:00,"Hi,

when viewing changesets in timeline or comments in ticket changes besides the name of the author an email address will be displayed. If setting ""show_email_address"" is false, the email address will be truncated / obfuscated.

Example:
Author name <author@...>

I'd like to have a setting to remove email address completely.

Example:
Author name

Instead of ""Author name <author@...>"" or ""Author name <author@name.com>""

I patched it by changing this line http://trac.edgewall.org/browser/trunk/tracopt/versioncontrol/git/git_fs.py#L101

from ""user, time, tz_str = s.rsplit(None, 2)"" to ""user, email, time, tz_str = s.rsplit(None, 3)"" and just ignored the email variable.

Guess this is not the best solution since some users want to match the email address with Trac users. Would be great to have a setting for this.

Thanks!",anonymous
3. Reported,11086,Filter options for roadmap,roadmap,1.0,unscheduled,enhancement,normal,2013-02-27T18:23:15+01:00,2018-12-16T15:45:01+01:00,"Hello together,

I plan to use trac as primary change management tool for our application suite at work. Even in our test environment we currently have about 40 milestones. For our business people, which are not so familiar with trac, it is hard to work with the roadmap view.

When a milestone is closed, they have to select ""show completed milestones"", which results in a very long list of milestones.

It whould be great if there was a filter mechanism like in the timeline. 

""Show me all completed milestones starting from <date> and the last <n> days before""

Another cool filter would be:
""Show me all (completed) milestones containing tickets for component <c>""

Do you agree with this feature request or would say it's not necessary and I should try another way?
",anonymous
3. Reported,11252,Adding Comments Description,general,,unscheduled,enhancement,normal,2013-07-23T13:11:59+02:00,2021-12-18T03:31:22+01:00,"Adding Comments heading to comments on tickets page.

For example:
 comments1:Description-1 [[BR]]
 comments2:Description-2 [[BR]]
 etc ...

There should be  single `[[PageOutline]]` macro  that could list  Description-1, Description-2 ... all description on right/left hand-side of page. 

It becomes difficult to search if there are number of comments. 
Like Table of Contents, it may be Table of comments on tickets page.


",anonymous
3. Reported,11477,Extend ITicketManipulator (or similar) - Filter Comments,ticket system,1.0.1,unscheduled,enhancement,normal,2014-02-06T21:50:03+01:00,2014-03-09T16:23:41+01:00,"Example:

Version 1.0.1 code in ticket/web_ui.py

{{{#!python
def _get_comment_history(self, req, ticket, cnum):
    history = []
    for version, date, author, comment in ticket.get_comment_history(cnum):
        history.append({
            'version': version, 'date': date, 'author': author,
            'comment': _(""''Initial version''"") if version == 0 else '',
            'value': comment,
            'url': self._make_comment_url(req, ticket, cnum, version)
        })
    return history
}}}

If ITicketManipulator in ticket/api.py contained a method like:

{{{#!python
def comment_filter(self, req, version, date, author, comment):
   """"""Validate if a comment can be displayed
    Must return a 4-tuple corresponding to version, date, author, comment
    The 4 may be empty or None to ""nullify display of the comment
    """"""
}}}

The code from above in web-ui.py could be rewritten as:

{{{#!python
def _get_comment_history(self, req, ticket, cnum):
    history = []
    for version, date, author, comment in ticket.get_comment_history(cnum):
        for manipulator in self.ticket_manipulators:
            version, date, author, comment = manipulator.comment_filter(req, version, date, author, comment)
        if version or date or author or comment:
            # Only if the comment has not been fully ""nullified"" add it to the list to display
            history.append({
                'version': version, 'date': date, 'author': author,
                'comment': _(""''Initial version''"") if version == 0 else '',
                'value': comment,
                'url': self._make_comment_url(req, ticket, cnum, version)
                })
    return history
}}}

This allows filtering of comments by Plugins which can create set of rules (user, group, permission based, ...)

The existing th:PrivateCommentPlugin is broken beyond 0.12 because it filters the Template Stream and needs to adapt to changes in the stream.

The proposed modification allows filtering ""objects"" rather than content and therefore eases up the creation of a Comment Filtering Plugin.",anonymous
3. Reported,12243,Consider adding an EditorConfig file,general,,unscheduled,enhancement,normal,2015-11-09T12:50:32+01:00,2015-11-09T23:51:01+01:00,"See http://editorconfig.org/

If an `.editorconfig` file is added in the project, various editors would automatically use the appropriate configuration for file necoding, line endings, indentation etc.

For example in `trunk/.editorconfig`:
{{{
# See http://EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8

[*.py]
indent_style = space
indent_size = 4

[*.{js,html,yml}]
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 1

[Makefile]
indent_style = tab
}}}
",anonymous
3. Reported,12261,Named reports,report system,,unscheduled,enhancement,normal,2015-12-02T22:33:15+01:00,2017-10-01T21:07:20+02:00,"Was it ever considered to allow naming reports?

Instead of just assigning each report an automatic number like report:1, report:2, report:3 etc. wouldn't it make more sense to allow things like report:AllActiveTickets or report:Untriaged or even hierarchically grouped reports like report:ActiveTickets/TicketModule and report:ActiveTickets/WikiModule that could be listed in a nicely categorized tree on the reports pages?",anonymous
3. Reported,4560,IE7 Missing or invalid form token. Do you have cookies enabled?,general,0.10.3,,defect,normal,2007-01-18T19:19:42+01:00,2017-03-26T13:52:12+02:00,"I am getting the following error while trying to submit settings on IE7

{{{
Missing or invalid form token. Do you have cookies enabled?
}}}

Works ok in firefox.",anonymous
3. Reported,12262,CSS rules for wiki controls can conflict with wiki content,wiki system,1.0.9,,defect,normal,2015-12-02T23:18:14+01:00,2016-02-06T11:30:51+01:00,"How to reproduce:

1. Edit any wiki page

2. Add two headings to the page, one called 'save', the other 'Save'
{{{
= save
= Save
}}}

3. Preview the page

4. Notice how the 'save' heading is indented, while 'Save' is not.

wiki.css has the rule
    #delete, #rename, #save { margin-left: 3em }
to indent the 'Submit Changes' input element among others, but headings are given the ID of their content, so there's a conflict here with the 'save' heading, and a number of other possible heading titles.

This could be fixed by adding a element selector to the wiki CSS rules
    input#save
or using a new class for wiki controls and divs and adding it to the CSS rules, or renaming the ID of the controls, or any number of other ways.",anonymous
3. Reported,12422,Highlight specified changesets in Revision Log,version control/log view,,,enhancement,normal,2016-03-29T10:00:33+02:00,2016-03-29T10:00:33+02:00,"[[TracLinks#VersionControlrelatedlinks|TracLinks]] allows to highlight an arbitrary set of lines for `source:` links:
> `source:/some/file@123:10-20,100,103#L99` - highlight lines 10 to 20, and lines 100 and 103, and target line 99 

(This turns into a `?marks=` parameter, so source:trunk/COPYING@:8 can also be written as source:trunk/COPYING?marks=8)

It would be nice if there was a similar feature for `log:` links, where an arbitrary set of changesets would be highlighted (while still displaying them in context of the other unhighlighted changesets).

For example log:rjollos.git@68feb63e?marks=fc1db222 could display the log as it does now, but highlight the line of changeset `fc1db222`. This would be very useful for discussions, code review etc.

(Adding a special abbreviation syntax for `?marks=` like `@:` seems more difficult, but is not needed.)",anonymous
3. Reported,13033,Colored test output,general,,,enhancement,normal,2018-05-28T20:33:24+02:00,2018-05-28T20:33:24+02:00,"Unit test failures are nicer to read when the diff is syntax highlighted.

Very primitive hack:
{{{#!diff
diff -r 016eaf50cbd9 trac/test.py
--- a/trac/test.py	Sun May 27 21:13:46 2018 +0000
+++ b/trac/test.py	Mon May 28 20:24:04 2018 +0200
@@ -291,6 +291,39 @@
         self.fixture = fixture
 
 
+try:
+    import pygments
+    import pygments.lexers
+    import pygments.formatters
+    import colorama
+    colorama.init()
+    hascolorhighlighting = True
+    formatter = pygments.formatters.TerminalFormatter(style='trac')
+    lexer = pygments.lexers.DiffLexer()
+except ImportError:
+    pass
+
+
+class ColoredTextTestResult(unittest.TextTestResult):
+    def __init__(self, *args, **kwargs):
+        unittest.TextTestResult.__init__(self, *args, **kwargs)
+
+    def printErrorList(self, flavour, errors):
+        for test, err in errors:
+            self.stream.writeln(self.separator1)
+            self.stream.writeln(""%s: %s"" % (flavour,self.getDescription(test)))
+            self.stream.writeln(self.separator2)
+            if hascolorhighlighting:
+                print(""%s"" % pygments.highlight(err, lexer, formatter))
+            else:
+                self.stream.writeln(""%s"" % err)
+
+
+class ColoredTextTestRunner(unittest.TextTestRunner):
+    def __init__(self, *args, **kwargs):
+        unittest.TextTestRunner.__init__(self, resultclass=ColoredTextTestResult, *args, **kwargs)
+
+
 # -- Database utilities
 
 def get_dburi():
diff -r 016eaf50cbd9 trac/tests/wikisyntax.py
--- a/trac/tests/wikisyntax.py	Sun May 27 21:13:46 2018 +0000
+++ b/trac/tests/wikisyntax.py	Mon May 28 20:24:04 2018 +0200
@@ -19,7 +19,7 @@
 from trac.mimeview.api import RenderingContext
 from trac.resource import Resource
 from trac.search.web_ui import SearchModule
-from trac.test import MockPerm, mkdtemp
+from trac.test import MockPerm, mkdtemp, ColoredTextTestRunner
 from trac.web.href import Href
 from trac.wiki.tests import formatter
 
@@ -201,4 +201,4 @@
     return suite
 
 if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')
+    unittest.main(defaultTest='test_suite', testRunner=ColoredTextTestRunner)
}}}

All other `unittest.main` also have to be updated.

A new dependency `colorama` is optionally required for this.

Using `print` instead of using `stream` is probably bad.

Always using `DiffLexer` instead of custom lexer depending on error is probably bad.

Always using `TerminalFormatter` instead of limited color formatter is probably bad.

Maybe this is too much effort to really do nicely. But maybe you like colors.",anonymous
3. Reported,3416,IFrame,wiki system,0.9.6,next-major-releases,defect,low,2006-07-17T12:38:13+02:00,2020-04-22T08:16:36+02:00,"If an iframe added to the wiki, via the HTML formatter, this is not viewed.",anonymous
3. Reported,1502,Ticket searches don't interpret [[BR]],search system,0.8.1,next-major-releases,enhancement,low,2005-05-03T04:34:00+02:00,2015-05-26T20:50:57+02:00,"When searching for tickets, the returned descriptions doesn't apply any WikiFormatting. I'm not surprised that it doesn't do that for regular WikiFormatting, but it's annoying that it ignores ![[BR]]s as well. It would be nice if the search results would interpret ![[BR]] tags as well as !![[BR]] tags (i.e. just show that as ![[BR]])",anonymous
3. Reported,2344,sub milestone,roadmap,0.9,next-major-releases,enhancement,low,2005-11-11T19:13:18+01:00,2021-02-19T22:18:32+01:00,"I need the feature to create children milestones.

For example, I planned V1_release as a milestone. OK.
Now suppose I plan alpha, alpha2, beta, beta2, rc1, rc2 release, then I'd like to associate these releases as  parts of ""V1_release"".

I'd like to assign these small milestones as children of greater milestone.

Or another example, suppose [http://developer.gnome.org/dotplan/tasks.html gnome development process], they have some of phases for each release. Feature freeze, String freeze, Hard UI freeze, etc. 

If trac supports sub-milestone, then it is possible to manage these kind of release/development process.
",anonymous
3. Reported,2497,Change custom query with group to also have a table of contents for group,ticket system,0.9.2,next-major-releases,enhancement,low,2005-12-16T19:28:33+01:00,2015-05-26T20:50:57+02:00,"If group results option is selected in a custom query it would be nice if the results starts off with a table of contents (TOC) with links to the coresponding table.  For example if group by components is selected then list of components should be listed with links to the individual component ticket tables.  It may also be good to list the number of tickets that are new, assigned, reopened, and closed for each component in the TOC.",anonymous
3. Reported,2523,TODO's from Sourcecode as a ticket,wiki system,0.9.2,next-major-releases,enhancement,low,2005-12-25T02:36:40+01:00,2017-09-04T10:19:09+02:00,"If you have in the Source Code:
{{{
  // TODO: Add Error Handling
}}}
This should generate a Ticket.


Maybe I write a patch for this...",anonymous
3. Reported,2956,Upload files to the repository,version control/browser,0.9.4,next-major-releases,enhancement,low,2006-03-30T01:37:44+02:00,2017-04-16T11:13:05+02:00,Can you build in a simple FileUploading (into the rep) to Trac for those who cannot install a svn client on their main workstation.,anonymous
3. Reported,5755,Multiple Milestone Dates,roadmap,,next-major-releases,enhancement,low,2007-07-23T17:12:33+02:00,2015-05-26T20:50:57+02:00,"It would be nice to be able to assign multiple dates to a milestone. For example I might want a CodeComplete date, TestingComplete date and a Launch date.",anonymous
3. Reported,8088,"Allow a WikiFormatted Custom Ticket Field Parse Through the Wiki Engine in Reports, without Using 'Magic' Column Name",report system,0.11.3,next-major-releases,enhancement,low,2009-02-23T20:08:51+01:00,2019-03-25T20:42:06+01:00,"Now that #1791 is provided in version 0.11.3, there should be a way to show a wiki formatted custom field in reports with a user defined column name. Currently WikiFormatting of a custom field shows in report only when ""AS description"" is used in SQL.",anonymous
3. Reported,8314,Dynamic Default Values,ticket system,0.11-stable,next-major-releases,enhancement,low,2009-05-22T22:30:53+02:00,2015-10-13T22:35:38+02:00,"In the config file, we have options to provide default values for multiple fields. It appears that these can only be string literals though. 

Is it possible, or easy to implement, a dynamic default value. 

More specific:

The way I have permissions set-up, there are several groups. Each user belongs to one of these groups, and has no other permissions set. 

I want this group to be the default value for a field, so that we can later sort them by what group/company these tickets originated from.

thanks",anonymous
3. Reported,13101,Unified diff in git format?,version control/changeset view,,next-major-releases,enhancement,low,2018-11-06T12:52:25+01:00,2018-11-06T13:38:25+01:00,"Is the diff format of ""Download in other formats: Unified Diff"" in changeset view configurable?

I'm no expert on the various diff formats. wikipedia:Diff#Unified_format says:
> There are some modifications and extensions to the diff formats that are used and understood by certain programs and in certain contexts. For example, some revision control systems—such as Subversion—specify a version number, ""working copy"", or any other comment instead of or in addition to a timestamp in the diff's header section.
>
> Some tools allow diffs for several different files to be merged into one, using a header for each modified file that may look something like this:
> {{{
> Index: path/to/file.cpp
> }}}

Trac includes such `Index:` headers. Many tools (GNU `patch`, `hg import`, `git apply`) require a `-p0` switch to understand this.

It would be convenient if Trac could also create diffs in a different format that does not require remembering special switches.

[https://git-scm.com/docs/diff-format git diff-format] typically uses a different format(?) with `a/` / `b/` prefixes and ""extended header lines"".

[https://www.mercurial-scm.org/doc/hgrc.5.html#diff Mercurial] also supports ""git extended diff format"".",anonymous
3. Reported,8933,unfavourable German translations,i18n,0.12dev,translations,defect,low,2010-01-05T08:24:55+01:00,2017-06-22T09:37:32+02:00,"IMHO Timeline should rather be translated with ""Historie"" or ""Zeitstrahl"" or ""zeitlicher Verlauf"" or simply ""Verlauf"" than the current translation ""Journal"". ""Journal"" is an unusual foreign word here.

Second, ""Quellen durchsehen"" as translation of ""Browse Source"" should IMHO rather be ""Quellcode"" because this is shorter.

Third, ""Tickets anzeigen"" as translation of ""View Tickets"" should IMHO rather be simply ""Tickets"" because of the shortness of the menu item. Alternatively, maybe ""Ticketübersicht"".",anonymous
3. Reported,10175,Add author in reports and add permission REPORT_MODIFY_OWN,report system,0.12.2,undecided,enhancement,low,2011-05-12T13:28:36+02:00,2013-03-11T10:03:11+01:00,"It would be nice if there would be a permission for only editing own reports (for example REPORT_MODIFY_OWN). That means that user with permission REPORT_MODIFY_OWN can modify only report they created, but not other reports.

Hint: in table report, column 'author' isn't filled ever. Before adding this permission owner of report has to be maintained by Trac (when creating report)",anonymous
3. Reported,4329,diff does not treat TAB as whitespace,version control/browser,0.10.3,unscheduled,defect,low,2006-12-04T15:44:59+01:00,2016-02-25T05:54:51+01:00,"Checking the box to ignore whitespace still ends up highlighting changes from TAB to space(s).
",anonymous
3. Reported,642,RSS feed with all events for the tickets in a report,ticket system,0.7.1,unscheduled,enhancement,low,2004-07-22T00:13:54+02:00,2015-05-26T20:55:39+02:00,To be able to track all changes of the tickets in the for example My Tickets report. ,anonymous
3. Reported,1901,Add contains option to milestone filter in custom query,query system,devel,unscheduled,enhancement,low,2005-08-09T21:34:28+02:00,2022-03-06T04:28:58+01:00,"I use similar milestone names of alpha, beta, and production releases. For example:
  * 1.0ph1 (alpha)
  * 1.0ph5 (beta)
  * 1.0 (production release)

It would be very useful if I could use the custom query to accumulate all the tickets of a release. Unfortunately, the milestone filter currently only allows is/is not. Adding a contains option would let me do this. ",anonymous
3. Reported,4452,Graphical bar/pie charts for statistics viewing,general,,unscheduled,enhancement,low,2006-12-22T13:01:56+01:00,2015-08-06T13:05:13+02:00,"Hi, 

Being a S/W development project manager I'd love to see graphical statistics
(bar/pie charts) on various things such as:

- Number of issues at various stages of completion in different file/modules
- Trend graphs on number of new bugs vs fixed ones over the last day, week, month...
- Number of bugs assigned to the various project developers
- Number of subversion commits per file/module (file/module vs other files/modules  or for one particular file/module over its historical time span etc) 
- etc, etc!

There are loads of interesting statistical information that could be visualized graphically very nicely!

/Magnus",anonymous
3. Reported,7529,More extension points for reports,report system,0.11,unscheduled,enhancement,low,2008-08-13T17:29:40+02:00,2010-07-02T23:51:53+02:00,"We've written a small trac plugin, which extends from the main report module. It's main action is to tweak the sql used to generate the report, and then add some more fields into the report output. (The result is that the query can then run transparently across multiple postgres schemas, to give us an overview of several tracs)

With 0.10, we had to copy and paste a bit of the report module to get it all working, but not to much. With 0.11, we've had to copy loads more, as there are fewer extension points that are suitable.

The extension points that'd be really handy are:
 * return of something like get_info(), so we can easily alter the sql that'll be executed
 * something around the ""Structure the rows and cells"" step, so that we can add extra stuff onto rows. Perhaps split out the column based stuff, so you call a method per column?
 * make the template names not hard coded, so we can override them without needing to touch anything else (we want the normal report templates unchanged for other stuff!)",anonymous
3. Reported,9689,Links on  SVG images do not work,rendering,0.12-stable,next-major-releases,defect,lowest,2010-10-13T14:47:47+02:00,2015-09-03T00:35:17+02:00,"I have a SVG graphic with external links. I can open this graphic in my web browser and get redirected to the external links (by clicking on the image). After attaching this image to a wiki post (in trac), this is no longer possible.
I attached the SVG I tried to upload in a wiki.",anonymous
3. Reported,9897,'>' cannot be properly escaped,wiki system,0.12dev,next-major-releases,defect,lowest,2010-12-03T15:01:40+01:00,2015-05-26T20:50:57+02:00,"{{{ >:: greater than\\}}}

will yield

 >:: greater than\\

which is not what I want but:

{{{ !>:: greater than\\}}}

 !>:: greater than\\

obviously isn't right either.

I could write html code to do this as a workaround but this is really something that could be simply fixed by an escape character.  
",anonymous
3. Reported,1678,Show component view in timeline view for checkins,timeline,devel,next-major-releases,enhancement,lowest,2005-06-16T11:12:18+02:00,2015-05-26T20:50:57+02:00,"It would be kinda nice if Trac would show the name of the subproject in the timeline changesets.

so for example I could have a mapping:
 * /trunk/printer/ = Printer
 * /trunk/ABC_RP/ = Scripts
 * /trunk/other/FileParser/ = FileParser

and based on the file names involved in the checkin, determine the component name by checking if the prefixes in the above list match any of the file names involved in the checkin.

So then in the timeline view, it would display for instance [Printer, Scripts] if my checkin affects Printer and Scripts.




",anonymous
3. Reported,9131,Customisation of default field labels,general,0.11.5,next-major-releases,enhancement,lowest,2010-03-11T17:28:34+01:00,2020-06-29T11:52:20+02:00,"I use Trac a lot for managing projects which do not have chronological milestones but rather some other critera for organising tickets (e.g. Locations or even Products).

I use the milestones within Trac as the features it provides are perfect but it confuses users.  I can rename the ''Roadmap'' link on the menu bar to either Location or Product but cannot rename the text that appears in the roadmap wiki page, nor for that field in the new ticket dialogue.

It would be useful to be able to redefine the milestone field's label (perhaps in the same way that custom field labels are defined) and have that propagate through to the roadmap page in the wiki.",anonymous
3. Reported,329,Adding support for Microsoft SQL Server as a backend DB,database backend,none,unscheduled,enhancement,lowest,2004-05-06T22:19:38+02:00,2018-09-23T15:59:20+02:00,Requesting the inclusion of the Microsoft SQL Server 2000 database.,anonymous
4. Commented,886,Add support for Master tickets,ticket system,devel,next-major-releases,enhancement,highest,2004-11-05T12:44:10+01:00,2023-04-13T09:07:18+02:00,"It would be cool if you could create master tickets that other tickets refer to. Work could then be broken down into chunks (and assigned to different people), but the master ticket could only be closed when all referring tickets had been resolved.

You could also have it so that referring tickets are excluded from the Roadmap ticket counts.",dmurphy25@…
4. Commented,4431,wiki_to_wikidom,wiki system,0.10.3,topic-wikiengine,enhancement,highest,2006-12-20T10:09:23+01:00,2023-04-19T04:23:33+02:00,"It would be good for plugins if parsing of wiki text will be broken to two stages. first take the text and convert to some data object tree (ala DOM, but with wiki orientation, so nodes are 'text', 'macro', 'link' etc.), then different formatters can go over the tree and format it, and plugins can search it.",ittayd@…
4. Commented,1890,Can create tickets anonymously using the username of an authenticated user,general,0.8.4,next-major-releases,defect,high,2005-08-07T23:45:51+02:00,2022-03-01T05:06:05+01:00,"I can create tickets anonymously using usernames of registered users. This is a Bad Thing(TM) in that people can impersonate me on my Trac. Or, they could otherwise pretend to be me. Which, to some users, may be confusing and misleading. It also poses a security threat in that any random person can go in and meddle in my bugs and close at will because to be able to add a comment to a ticket, you have to have TICKET_MODIFY, which essentially means anonymous has TICKET_ADMIN (filing another bug for this, since I know that at least in my projects, I like two problems to be reported as... two problems...)
----
'''Current status of the discussion''': 
each change to a ticket must also record whether
the user who did the change was authenticated or not.

See more complete summary in comment:53.",ziggy@…
4. Commented,8509,[PATCH] use precompiled regex for match_request,web frontend,0.11.5,next-major-releases,defect,high,2009-07-23T20:42:45+02:00,2015-12-19T15:40:25+01:00,"This patch changes all the trac match_request calls to use precompiled regular expressions, avoiding multiple re compilations per request.
",mixedpuppy <shanec@…>
4. Commented,31,Bug dependencies/relations feature,ticket system,devel,next-major-releases,enhancement,high,2004-01-29T05:53:39+01:00,2022-08-30T20:23:04+02:00,"A simple list of related bugs without logical/implicit constraints might be useful. It'd be nice to be able to relate bugs and issues in a useful manner. 

It would also thus allow for reports showing ""a bug and all related bugs"" in some fashion, which could be neat. 

This would also require checking for circular dependencies/relations.

",daniel
4. Commented,1386,Adding properties to Wiki Pages,wiki system,devel,next-major-releases,enhancement,high,2005-03-31T22:23:28+02:00,2021-12-30T03:07:32+01:00,"I think adding properties to Wiki pages would be a great feature.  Such as owner, cc, rss feeds, and specifcally, properites.

Some ideas for properties include

 * Publishing status - Published | Nonpublished[[br]]
 * Document Status - In Progress | Complete | Inconsistent | etc..

The idea for this is that I am in the process currently of adding content to the Wiki, however some items that I am documenting have not been completed either in terms of the documentation or having the items being documented having been completed.  I would like to be able to have an owner associated with the Wiki, perhaps a list of people who want to subscribe to change notifications for a particular wiki page, and a report for instance that the owner could view to see which pages they have that are in various states a defined by my definition of the various properties.

My definitions may need some refining but the idea still holds.  Anyway, I would be happy to discuss this further and possibly try to create some patches to demonstrate what I'm discussing if interested.
",jon.brandenburg at theronyx.com
4. Commented,1962,Due dates on tickets & email notification on overdue dates,ticket system,0.8.4,next-major-releases,enhancement,high,2005-08-25T04:25:51+02:00,2021-06-03T22:03:37+02:00,"It maye be there already but i cannot find it. One things as a software project manager that drives me crazy about track is the inability to add a due date to tickets. Prioritization is all well and good, and most certainly handy, but as part of the timeline / roadmap and the ticket inspector you REALLY need to have a due date on a ticket. It'd also be fantastic for Trac to notify the allocated user that the ticket is now overdue and bug them on a daily / configurable timeframe. As i said, correct me if this is already in trac (please tell me where!!) but if it's not, this is a really string feature request & i think a definite must have. 

Thanks - trac is awesome & we;'re really starting to use it now :)

Regards

Owen",owen@…
4. Commented,2035,Changeset commenting,version control/changeset view,,next-major-releases,enhancement,high,2005-09-09T15:35:21+02:00,2022-09-08T16:44:10+02:00,"Commenting on changesets would be great, it would substitute for code review tools.",polarfox@…
4. Commented,2463,Mandatory fields in tickets,ticket system,0.9.2,next-major-releases,enhancement,high,2005-12-09T11:18:09+01:00,2020-08-07T00:45:49+02:00,It would be great with ability to set some ticket fields as mandatory. These fields should be verified before allowing submit when creating a new ticket.,johan.regnell@…
4. Commented,3021,wiki namespace support like the one in dokuwiki,wiki system,none,next-major-releases,enhancement,high,2006-04-11T17:47:04+02:00,2015-05-26T20:50:57+02:00,"It would be very great to have wiki namespace support, for sorting wiki pages and protect user to build too big pages. I think it's very important to support wiki namespaces. 
----
As the topic is broad, it's worth to discuss it in a specific proposal page, see TracDev/Proposals/WikiNamespaces.",trac.ticket@…
4. Commented,3098,"Support ""Descript.ion"" files in Browse Source",version control/browser,0.9.5,next-major-releases,enhancement,high,2006-05-01T18:46:20+02:00,2019-09-06T19:51:32+02:00,"As the summary says...

Right now we hand edit a Wiki page describing each subdir and file.

The `descript.ion` metadata file is a [http://jpsoft.com/ascii/descfile.txt quasi-standard] by JP-Soft (4DOS) that Browser might be able to support showing a short description of each file.
",trac@…
4. Commented,3332,Mimeview API v2,rendering,devel,next-major-releases,enhancement,high,2006-06-27T13:48:59+02:00,2022-10-19T18:03:49+02:00,"We recently introduced the `IContentConverter` interface,
and there are some issues remaining with this:
 - the methods for that interface are quite complex, not really extensible
 - the usage of strings for model objects should be replace by using 
   the corresponding classes
 - artificial differences from the `IHTMLPreviewRenderer`, 
   and duplicated code (mainly between `Mimeview.render`
   and `Mimeview.convert_content`)

Besides, there are other issues with the Mimetype API:
 - `content_to_unicode` needs to be deprecated/simplified 
   as well
 - simplify the handling of mimetypes strings (the fact that
   they sometimes have the charset info, sometimes not)
 - in general, aim to simplify the code that uses the mimeview API

Work in progress. A patch will be attached today or tomorrow
for review.
",Christian Boos
4. Commented,3386,Embedding part of Wiki in other Wiki (e.g. Help: prefix for the TracGuide),wiki system,0.9.6,next-major-releases,enhancement,high,2006-07-12T11:43:19+02:00,2015-05-26T20:50:57+02:00,"I'd like to be able to embed part of Wiki associated with some project in Wiki of other project, in order to reduce duplication of information and avoid using external links between wikis.

By `embed` i mean they do share (part of?) namespace, and links between them are internal to wiki. The embedded part should be accessible, linkable and editable from both Wikies, without using any special syntax nor, possibly, addresses.

Example:
lets say i have:
 * /projects/FlagshipProject, containing:
  * wiki/Globals/AboutDevelopers/*,
  * wiki/Globals/AboutCompany/*,
  * wiki/Globals/OtherStuff;
and 
 * /projects/OtherProject.
In Wiki of the later i'd like to embed /projects/FlagshipProject/wiki/Globals/*",dexen^^^goofy.pl
4. Commented,4588,User Page: trac links to these pages,general,,next-major-releases,enhancement,high,2007-01-24T22:11:55+01:00,2021-07-24T22:55:48+02:00,"When browsing tickets it would be nice, if I could click on the owner of the ticket and would be directed to his/her user specific page. I think this is interrelated to #2178.",triplem
4. Commented,7658,Option to disable automatic linking of CamelCase,wiki system,0.11-stable,next-major-releases,enhancement,high,2008-09-22T13:32:30+02:00,2022-03-09T23:02:43+01:00,"It must have been brought up a million times by now. I can see that #476 almost addressed the problem for me, but didn't quite cut the mustard. Simply setting ignore_missing_pages isn't sufficient, as I'd like to see missing pages, but not automatic camelcase detection. Our naming convention uses camelcase and it's getting in the way. Trac is supposed to ""stay out of the way"" of developers. I'd just rather a wiki link was explicit.

I'd like to see either a global option in the ini file to switch this off completely, or a more configurable option, something like that suggested here: http://trac.edgewall.org/ticket/476#comment:23

The fix suggested in http://trac.edgewall.org/ticket/476#comment:26 would do just fine. If it breaks my wiki pages like the default Trac* wiki, that's my problem, and I'm quite prepared to deal with that. It's such a simple fix, I can't see why anyone would have any objections. I'll hack my installation for now, but I'd rather not.

Thanks,
Dave.",dave@…
4. Commented,7871,Add start date to a milestone,general,none,next-major-releases,enhancement,high,2008-12-07T17:51:17+01:00,2022-10-12T20:04:57+02:00,"It would be nice to have a start date for a milestone. With that, it's possible:

 * To filter on started/not started milestones on the Roadmap page
 * Create reports to show only tickets in currently active milestones
 * Sort on started date in the 'Milestone' dropdown on the ticket create and update pages.

With a start date built-in, plugins could use that (for example the Scrum Burndown plugin) to draw their graphs. The Scrum Burndown plugin now has to arrange a column, while it could be useful for more plugins.",daan@…
4. Commented,9574,add filters to TicketQuery from query string arguments,wiki system,0.13dev,next-major-releases,enhancement,high,2010-08-18T21:54:08+02:00,2011-10-25T15:03:19+02:00,"I'm using wiki pages and the TicketQuery macro to create ticket summary/overview pages, as I find them much more flexible than reports as I can have multiple 'views' on the same page (for example, have 'Assigned to you', 'Awaiting assignment', 'In progress', etc - each shows top 10, has different filters and ordered by different columns, all in the same page. Creating a page like that isn't possible with reports).

So - what I'm trying to do is create a per-project ('project' being a custom field I added) and per-components ticket overview using the Wiki. Instead of copying the wiki page for every project/component I have, I want to use something like `wiki/TicketSummary?project=foobar` and than read the query-string argument (`project`) to be used inside the TicketQuery macro and `[query:]`.

I was trying to do it using IWikiSyntaxProvider and get_wiki_syntax (http://pastie.org/private/evw1r9jkhcmq3m6jjgrojw), by replacing ${foobar} with `req.args['foobar']`, which works - but not inside other macros.

I think the best way is adding this functionality to core, by parsing custom arguments inside the TicketQuery macro and `[source:]` link, in a similar way to how $USER is replaced with the currently logged in user - but replacing them with query-string arguments instead.

This will give users better control and flexibility in creating their own custom ticket overviews, which can replace the reports in some cases if those pages could be dynamic and show different content based on arguments.",shesek
4. Commented,9936,CSS and JS files should be versioned,web frontend,0.12.1,next-major-releases,enhancement,high,2010-12-17T10:30:45+01:00,2020-11-02T19:43:43+01:00,"When we recently upgraded a trac install a number of users has strange behaviour on the Custom Query page.

It turned out that this was due to JS caching.

Ideally Trac should use version numbering on the CSS and JS uris so that the cache is busted on upgrades.",peter.westwood@…
4. Commented,10178,[PATCH] Allow TracQueries to order on multiple columns,query system,0.12dev,next-major-releases,enhancement,high,2011-05-14T06:46:57+02:00,2021-11-10T22:37:39+01:00,"Currently trac only supports ordering on a single column. I've written a patch which provides the ability to sort on more than one column.

This allows:
{{{
[[TicketQuery(max=5,order=priority|somecolumn, desc=0|1, status=open)]]
}}}",david@…
4. Commented,4245,[PATCH] Tickets are slow with large amount of users and permissions,general,devel,next-stable-1.6.x,defect,high,2006-11-23T22:50:14+01:00,2023-09-23T22:33:10+02:00,"`TicketSystem.get_ticket_fields()` implements an extremely inefficient algorithm to find users that have a certain permission (O(n^2^,,users,, * perms_per_user,,avg,,)). I have added a more efficient function to `PermissionSystem` that enables querying users having a specified permission directly. It correctly resolves group memberships and hierarchical  permissions.",ants.aasma@…
4. Commented,7687,"Add support for svn:externals ""1.5"" style",version control/browser,0.11.1,next-stable-1.6.x,defect,high,2008-10-01T18:15:55+02:00,2023-09-23T22:33:10+02:00,"For now, Trac only supports the old-style syntax.

Subversion 1.5 URLs have the following special prefixes:

 ../ :: Relative to the URL of the directory on which the svn:externals property is set
 !^/ :: Relative to the root of the repository in which the svn:externals property is versioned
 // :: Relative to the scheme of the URL of the directory on which the svn:externals property is set
 / :: Relative to the root URL of the server on which the svn:externals property is versioned

Also, there's a new convention for svn:externals, instead of:
{{{
RELPATH [-r<rev>] URL
}}}
the mapping can now be written:
{{{
[-r<rev>] URL RELPATH
}}}

(taken from [http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html])",Emmanuel Blot
4. Commented,2611,"Problem with SVN bindings (SVN 1.3.0, Trac r2771)",version control,0.10.4,not applicable,defect,high,2006-01-16T10:08:05+01:00,2023-01-18T11:07:10+01:00,"Every morning when I first try to get to Trac, I get this error on the first request:

{{{
Mod_python error: ""PythonHandler trac.web.modpython_frontend""

Traceback (most recent call last):
...
  File ""/home/manuzhai/dev/trac/trac/versioncontrol/svn_fs.py"", line 31, in ?
    from svn import fs, repos, core, delta
  File ""/usr/lib/python2.4/site-packages/svn/fs.py"", line 19, in ?
    from libsvn.fs import *
  File ""/usr/lib/python2.4/site-packages/libsvn/fs.py"", line 29, in ?
    import core
  File ""/usr/lib/python2.4/site-packages/libsvn/core.py"", line 3049, in ?
    svn_pool_create()
  File ""/usr/lib/python2.4/site-packages/libsvn/core.py"", line 1098, in svn_pool_create
    return apply(_core.svn_pool_create, args)

TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance()' is received
}}}

''Similar symptoms: ''
{{{
[Fri Sep 29 22:05:12 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend: TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance(<libsvn.core.GenericSWIGWrapper instance at 0xb6924c8c>)' is received
}}}

Subsequent requests seem to just work...

=== Note ===

This is now a well-known issue having to do with the way the SVN Python bindings behaves when multiple Python interpreters are used within the same process, as this can be the case with mod_python e.g. when more than one virtual host is used. 

Most SVN binding versions are affected, though there's no confirmed report of this with 1.2.x (the bug started to be reported with 1.3.0) and reverting to SVN 1.2.4 is sometimes mentioned as a workaround.

There are other documented workarounds where one can keep using SVN 1.3.x and 1.4.x or any newer version:
 - see #3455
 - see comment:72 (`mod_python`)
 - see comment:94 (`mod_wsgi`)

Related issue: #3371
",Manuzhai
4. Commented,8417,CachedRepository support in TracMercurial,plugin/mercurial,0.11.1,plugin - mercurial,enhancement,high,2009-06-25T16:09:38+02:00,2022-06-09T23:59:56+02:00,"I used trac with svn, and switched to mercurial. the revision table in postgres is no more updated with new changesets. So when I do a search in changesets, new changesets are not listed. Did I forgot to configure something?",asterix@…
4. Commented,1,Add a new project summary module.,general,0.6.1,topic-multiproject,enhancement,high,2003-08-24T22:33:02+02:00,2023-03-22T06:13:07+01:00,"This module should useful information like:

 * Number of open tickets
 * Tickets targeted for each milestone
 * Tickets assigned to the current user (but see rather #4588 for that)
 * And more...


... like a project description, attachments, etc.",
4. Commented,4790,a blockquote after a list gets nested into two <blockquote> tags,wiki system,,topic-wikiengine,defect,high,2007-02-19T22:19:48+01:00,2021-09-02T20:09:32+02:00,"This text:
{{{
a list:
 * item 1
 * item 2

  a blockquote after a list
}}}

turns into:
{{{
#!xml
<p>
a list:
</p>
<ul><li>item 1
</li><li>item 2
</li></ul><blockquote>
<blockquote>
<p>
a blockquote after a list
</p>
</blockquote>
</blockquote>
}}}

Same thing happens for a blockquote following a blockquote following a list:
{{{
a list:
 * item 1
 * item 2

  a blockquote after a list

  a blockquote after a blockquote after a list
}}}

turns into:
{{{
#!xml
<p>

a list:
</p>
<ul><li>item 1
</li><li>item 2
</li></ul><blockquote>
<blockquote>
<p>
a blockquote after a list
</p>
</blockquote>
</blockquote>
<blockquote>
<blockquote>
<p>
a blockquote after a blockquote after a list
</p>
</blockquote>
</blockquote>
}}}",Gary Wilson <gary.wilson@…>
4. Commented,8140,nested lists with multiple paragraphs should work properly,wiki system,0.12dev,topic-wikiengine,enhancement,high,2009-03-18T18:56:50+01:00,2020-05-10T11:32:37+02:00,"When you need to nest list with multiple paragraphs, the markup rendered is not what is expected.  With the source input

{{{
 * lists can be used to denote all sorts of things
   
   '''Examples:'''
    - listing tickets
    - listing other things that need doing
    - laundry lists

 * this is another list item

 * and so is this
}}}

the markup rendered is

{{{
<ul><li>lists can be used to denote all sorts of things
</li></ul><p>
   
</p>
<blockquote>
<blockquote>

<p>
<strong>Examples:</strong>
</p>
</blockquote>
</blockquote>
<ul><li>listing tickets
</li><li>listing other things that need doing
</li><li>laundry lists
</li></ul><ul><li>this is another list item
</li></ul><ul><li>and so is this
</li></ul>
}}}

The markup desired is more like:
{{{
<ul><li>lists can be used to denote all sorts of things

<p>
<strong>Examples:</strong>
</p>

<ul><li>listing tickets
</li><li>listing other things that need doing
</li><li>laundry lists
</li></ul></ul>
<ul><li>this is another list item
</li></ul><ul><li>and so is this
</li></ul>
}}}

This can be worked around with the `[[BR]]` tag:

{{{
* lists can be used to denote all sorts of things[[BR]]'''Examples:'''
    - listing tickets
    - listing other things that need doing
    - laundry lists

 * this is another list item

 * and so is this
}}}

But this is non-semantic",jhammel@…
4. Commented,38,Wiki edit event collapsing,timeline,devel,unscheduled,enhancement,high,2004-02-04T16:23:01+01:00,2020-04-24T00:21:53+02:00,"If the same user edits a page more than once within a short period of time (an hour or a day even maybe?), the timeline could show only a single event and the counted number of changes made.

Example: http://moinmoin.wikiwikiweb.de/RecentChanges",daniel
4. Commented,3370,"Custom query RSS feed differes from CSV, Tab files",ticket system,0.9.4,unscheduled,enhancement,high,2006-07-10T03:41:48+02:00,2021-02-28T19:55:05+01:00,"The RSS feed for a custom ticket query does not contain same fields as what the CSV and Tab Separated files do. The following important fields appear to be missing from the RSS feed: owner, type, priority, mileston and resolution.

",tomek.piatek@…
4. Commented,9740,Impossible to CC a username with spaces,ticket system,0.12-stable,1.6.1,defect,normal,2010-11-01T14:22:20+01:00,2021-05-28T21:54:30+02:00,"It is impossible to CC a username with spaces in the username such as ""Joe Bloggs"", attempting to enter that treats as two different users Joe and Bloggs.

Suggest first attempt to establish that usernames separated by commas as known usernames before splitting by spaces for known usernames.",david+trac@…
4. Commented,13287,MS Outlook improvements for 1.4.1 shows only empty fields,general,1.4.1,1.6.1,defect,normal,2020-05-07T14:41:52+02:00,2021-05-28T21:54:30+02:00,"Dear Ryan,

I updated the e-mail template by replacing the `${ticket_props}` as suggested here in TracNotification#CustomizingContent, with CookBook/Notification/Templates.


{{{
--------------------------------------------------------------------------
# set sel = ('Reporter', 'Owner', 'Type', 'Status', 'Priority', 'Milestone',
             'Component', 'Severity', 'Resolution', 'Keywords')
# for a in ticket_props.replace('|', '\n').splitlines()[1:-1]|map('trim'):
#   set a = a.split(':', 1)|map('trim')|list
#   if len(a) > 1 and a[0] in sel:
${'%-*s  %s'|format(12, a[0] + ':', a[1])}
#   endif
# endfor
--------------------------------------------------------------------------
}}}

So, notification works - no error, but I have only empty fields in the e-mail as it is shown here below:

{{{

#1703: NEST for coping with bunching of regulated traffic
--------------------------------------------------------------------------
Reporter:     
Owner:        
Type:         
Status:       
Priority:     
Milestone:    
Component:    
Severity:     
Resolution:   
Keywords:     
--------------------------------------------------------------------------
Comment (by Laszlo Elbert):

 testx
-- 
Ticket URL: <https://nest-tool.eurocontrol.int/trac/nest/ticket/1703#comment:32>
NEST <https://www.eurocontrol.int/nest>
NEST project
}}}
Thanks for the advise in advance
Laszlo",laszlo.elbert@…
4. Commented,13456,distutils is deprecated and will be removed in Python 3.12,general,1.5.3,1.6.1,defect,normal,2022-01-04T01:58:05+01:00,2023-07-14T11:42:33+02:00,"https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated

{{{
$ git grep -w distutils mirror/trunk
mirror/trunk:.travis.yml:      print_sitelib='from distutils.sysconfig import get_python_lib; print(get_python_lib())'
mirror/trunk:trac/dist.py:`distutils.command.build` and `setuptools.command.install_lib` classes
mirror/trunk:trac/dist.py:from distutils import log as distlog
mirror/trunk:trac/dist.py:from distutils.cmd import Command
mirror/trunk:trac/dist.py:from distutils.command.build import build as _build
mirror/trunk:trac/dist.py:from distutils.errors import DistutilsOptionError
}}}",Jun Omae
4. Commented,13406,Replace jQuery UI Timepicker,web frontend,,1.6.1,enhancement,normal,2021-05-27T22:38:42+02:00,2023-02-23T22:31:25+01:00,"The [https://trentrichardson.com/examples/timepicker/ Timepicker add-on] is deprecated (see JavaScript). Since we are doing a major release, we should replace it with an equivalent that is maintained.",Ryan J Ollos
4. Commented,13282,Ticket timeline events can't be filtered using a permission policy,ticket system,,1.7.1,defect,normal,2020-05-02T05:05:15+02:00,2021-05-28T21:28:12+02:00,I'm trying to implement a solution for private ticket comments (th:#13776) and finding that the permission checking for timeline events is too coarse to implement a permissions policy that filters by resource realm `comment` and resource id `cnum`.,Ryan J Ollos
4. Commented,11367,"Ticket change history not updated when deleting or renaming Components, Versions and Ticket System Enums",ticket system,,next-dev-1.7.x,defect,normal,2013-11-16T06:29:59+01:00,2020-12-29T09:45:39+01:00,"Similar to what we saw in #4582 for milestones, the ticket change history of associated tickets is not updated when deleting or renaming the following ticket system items:
 * Components
 * Enums (Priorities, Resolution, Severities, Ticket Types)
 * Versions

The current behavior is that on rename the ticket field's value has the new name, and on delete the ticket field's value has the deleted name.",Ryan J Ollos
4. Commented,3914,"ticket change notification should contain diff'ed text, not old and new",notification,0.10,next-dev-1.7.x,enhancement,normal,2006-10-11T15:23:04+02:00,2020-12-29T09:45:39+01:00,"it would be beneficial, if the notification mail on a ticket change containes a diff'ed output instead of the old and new text. especially when a description is long and just a little thing changed its quite a challenge to find out what changed.
",ThurnerRupert
4. Commented,4519,[PATCH] Feature: component owner ticket notification,notification,0.10.3,next-dev-1.7.x,enhancement,normal,2007-01-11T00:40:41+01:00,2020-12-29T09:45:39+01:00,"The following patch allows for component owner notification of ticket updates (even when the ticket is assigned to a different user than the component owner). This feature must be enabled in the trac.ini file with a line like this:

{{{
[notification]
always_notify_component_owner = true
}}}

We've been using this patch with Trac 0.10 and it has been working fine.

I made the patch against this trunk file:
http://svn.edgewall.org/repos/trac/trunk/trac/ticket/notification.py

Let me know if there are any problems with the patch and I'll be happy to address them. Thanks for your consideration.",jenalias@…
4. Commented,5211,Ticket - Wiki Integration enhancement/suggestion,ticket system,,next-dev-1.7.x,enhancement,normal,2007-04-24T17:36:50+02:00,2020-12-29T09:45:39+01:00,"Supposing that one used CamelCase to name their components, and that one then created wiki pages for their components; how about having the 'Component' column of reports created by the ticket system contain clickable links for each component that has a wiki page created for it.  Also perhaps, in the case that components do not have a page already created; those components might have a link to create the wiki page.

Thanks,
Cullen",Cullen Newsom <cullennewsom@…>
4. Commented,7628,[PATCH] (suggested) autocomplete users on ticket forms,general,,next-dev-1.7.x,enhancement,normal,2008-09-12T23:43:16+02:00,2021-06-04T02:13:28+02:00,"I've written a plugin, th:AutocompleteUsersPlugin , that uses AJAX to complete users in the owner and CC fields for new and existing tickets (for the latter, at least for the default workflow).  The attached patch is the plugin in patch form, fairly unmodified.  Performance should degrade gracefully for no JS or when {{{restrict_owner}}} is true.

The autocompleter completes from known users who have the TICKET_MODIFY permission, mirroring the performance of the select widget when {{{restrict_owner}}} is true and populates the fields with the user name, though (obfuscated) email and full names are shown in the drop down and are included in the completion algorithm.

I have included {{{autocomplete.js}}} from http://www.dyve.net/jquery/?autocomplete which is an updated version of the jquery plugin that source:trunk/trac/htdocs/js/suggest.js is based on.  The update is needed to decouple what is displayed in the drop-down from what is populated to the input field.  {{{suggest.js}}} could be updated with this as well as the only place it is used, source:trunk/trac/versioncontrol/web_ui/changeset.py , if this is desired.

A new !RequestHandler handles requests to {{{/users}}} to respond to AJAX request.  This handler could be made to do more if requests were descriminated upon {{{req.get_header('X-Requested-With') == 'XMLHttpRequest'}}}, or the whole data could be added into the JS on the server side (which is not possible with the existing {{{suggest.js}}}).

Several new javascript files are included, in addition to {{{autocomplete.js}}}.  These could be consolidated and/or generated on the server side if that is more desirable.",Jeff Hammel <jhammel@…>
4. Commented,9222,"""full delete"" of wiki page could be a non-fatal operation",wiki system,,next-dev-1.7.x,enhancement,normal,2010-04-12T17:09:32+02:00,2020-12-29T09:45:39+01:00,"When I delete a file from SVN, it stays there in previous versions. Would be nice to have the same possibility in Trac (maybe configured from trac.ini):

When I delete a page from Wiki, it goes off and I don't see it in Index and I '''can't''' reach it from web. But I can reach its previous versions! I just deleted the page in version 5. When I go to this page from web - Trac says that the page is absent and asks me whether I want to create it. But when I go to this page with `@5` suffix, I get directly to the deleted page, its latest version.

Such a behavior looks more effective/consistent for me, than ""full delete"", as it is now.",team@…
4. Commented,10606,GitPlugin: Improve performance,plugin/git,1.0dev,next-dev-1.7.x,enhancement,normal,2012-03-04T15:22:25+01:00,2022-11-11T15:58:38+01:00,"''Created as part of the [ticket:10594 move of GitPlugin]. Tickets originally reported for th:GitPlugin: #746''

Quoting [th:ticket746:comment:6 hvr]:
>  - try to create an additional `libgit-thin`-based `Storage` in `PyGIT.py` to evaluate whether the exec+fork+parse overhead is still signifikant
>  - most external `git` calls can be avoided now thanks to extensive caching of meta-data; one of the remaining speed killers is listing directories in the source browser (`cat-file -s` calls can be optimized, by using GIT 1.5.3+ `-l` option to `ls-tree`; but having to call `rev-list` for each folder element still remains an issue... maybe it'll be possible to get an enhancement to `ls-tree` merged upstream to provide that information as well...)

----
See also: TracDev/Performance/Git",Peter Suter
4. Commented,10672,Automatically minify Javascript and CSS,general,,next-dev-1.7.x,enhancement,normal,2012-04-21T13:54:28+02:00,2020-12-29T09:45:39+01:00,"As [comment:5:ticket:10284 discussed] [comment:20:ticket:10245 previously] it might be a good idea to introduce a minification step that pre-processes the !JavaScript and CSS files stored in source control.

This would allow developing with clean, well-commented source files while improving performance. We could then switch our [TracDev/CodingStyle#JavaScript JavaScript coding style] to 4 spaces indentation and add copyright and documentation comments to file headers. (See #10802)

The step / a related step could do JSLint checking.

How should this be implemented?
 * [comment:5:ticket:10284 One suggestion] was a `make minify` step.
 * Another idea would be to add it to `setup.py`. [http://pypi.python.org/pypi/minify minify] or [https://github.com/bmathieu33/distwebres distwebres] provide setuptools commands (both use YUI compressor, which requires Java)
 * Alternatively, we could hook it into `trac-admin deploy` somehow.
 * Or the web frontend could dynamically minify and cache and combine just the files required for a request into one file. (Including scripts by plugins.)

An important requirement might be to keep this step optional.",Peter Suter
4. Commented,11409,"Add a ""Versions released"" filter to the timeline",timeline,,next-dev-1.7.x,enhancement,normal,2013-12-19T17:59:38+01:00,2020-12-29T09:45:39+01:00,"//Milestones reached// is shown on the timeline (renamed to //Milestones completed// in #11051). It would probably make sense to also have versions entries in the timeline and a //Versions released// filter.

Related to the proposed work in #1233.",Ryan J Ollos
4. Commented,11871,Notification subscriber for @name mentions,notification,,next-dev-1.7.x,enhancement,normal,2014-12-08T22:20:16+01:00,2022-10-01T15:18:08+02:00,"Many websites allow users to mention `@name` (e.g. `@psuter`) in comments to notify that user of the comment.

We could add an optional `INotificationSubscriber` implementing this for ticket comments.",Peter Suter
4. Commented,12567,Image macro should support protocol-relative URLs,wiki system,,next-dev-1.7.x,enhancement,normal,2016-08-25T00:18:48+02:00,2020-12-29T09:45:39+01:00,"For example, `//www.edgewall.org/gfx/trac_bullet.png` could be used on WikiStart.

URLs starting with `//` should be interpreted as protocol-relative. Unfortunately, the Image macro interprets URLs starting with `//` as //server-relative//. If we were starting again, I might suggest we use something like `^//` for server-relative.

The only idea I have is to use `://` to indicate protocol-relative URLs. Other ideas are welcome.",Ryan J Ollos
4. Commented,13185,Keywords: remove duplicates and fixup separators,ticket system,,next-dev-1.7.x,enhancement,normal,2019-07-30T23:10:45+02:00,2022-07-12T05:47:17+02:00,"In comment:16:ticket:13179, the following changes to the keywords field were proposed:
* Fixup separators. Example: `kw1, kw2; kw3 kw4` -> `kw1, kw2, kw3, kw4` (or use whitespace rather than comma separators). This would match the behavior for the CC field.
* Remove duplicates.",Ryan J Ollos
4. Commented,4130,Ticket Component Interface Fails to Properly Check for Existing Component,ticket system,0.10,next-major-releases,defect,normal,2006-11-11T00:33:08+01:00,2015-05-26T20:50:57+02:00,"When using the ticket.model.Component class, it will raise a `TracError` if passed the name of a non-existent component on instantiation.

If the component is instantiated with an existing component name, it will assert an error if one tries to call insert().  However, if one instantiates the object with out a name, and then sets the name and owner after the fact, and then calls insert(), no checking of duplicate rows is done.

Possible borkage:
{{{
#!python
c = Component(env)
c.name = 'component1'
c.owner = 'sombody'
c.insert()
}}}

The API should be modified to either raise a TracError in the case in question, and/or provide a method for discovering whether or not a Component exist.

Personally, I think that the following would be desired behavior:
{{{
#!python
c = Component(env, 'new component')
c.insert()
}}}
Where the insert() is a noop if the component already exists.  The `exists` property could also reflect whether or not the Component instance references an existing component or not.
{{{
#!python
c = Component(env, 'new component')
if not c.exists:
  c.insert()
}}}
I find this preferable to:
{{{
#!python
try:
  c = Component(env, 'new component')
except TracError:
  c = Component(env)
  c.name = 'new component'
  c.insert()
}}}
",pacopablo
4. Commented,4160,Broken InterWiki Link,version control/log view,0.10,next-major-releases,defect,normal,2006-11-14T17:37:43+01:00,2015-05-26T20:50:57+02:00,"The following InterWiki link behaves strangely:

|| '''Syntax''' || '''Behavior''' ||
|| `[tps-t6:1234567]` || Displays as-is, not hyperlinked. ||
|| `[tps-t6:1234567 test]` || Displays `test` hyperlinked to a working URL. ||
|| `tps-t6:1234567` || Displays `tps-t6:1234567` hyperlinked to a working URL. ||

If I change the InterWiki link to tps instead of tps-t6, all of the above syntaxes generate a hyperlink to a working URL as expected.
",jeff.wise@…
4. Commented,4270,Ticket notification emails contain wiki formatting,notification,0.10.2,next-major-releases,defect,normal,2006-11-27T18:52:01+01:00,2017-03-12T11:21:24+01:00,"Hi,

when I send an email of a ticket, through the CC list, I find that it sends the wiki formatting as well, since it's a text email, the normal text should be displayed and the wiki formatter should strip out the formatting before the email is sent.

In order to get acceptable results from the ticket display, an example is like thus

1. an item !CamelCase[[br]]
2. another item [[br]]

but in the email, instead of seeing what I have above, I see this

{{{
1. an item with !CamelCase[[br]]
2. another item[[br]]
}}}

so of course, people reading the emails, are wondering what all the {{{[[br]]}}} are for and it makes some emails kinda unreadable.

this should be remedied",chris.alex.thomas@…
4. Commented,4931,notification with SMTP through SSL is not supported (fix included),notification,0.10.3,next-major-releases,defect,normal,2007-03-11T14:53:03+01:00,2015-05-26T20:50:57+02:00,"Sending mail notifications does not work with SSL SMTP server. Python hangs (so does not raise an Error) on source:/trunk/trac/notification.py@4316#L278.

This could be fixed using the ssmtplib from http://aleph-null.tv/downloads/ssmtplib.py

The method 'beginSend' on source:/trunk/trac/notification.py@4316#L277.should be like:
{{{
#!python
def begin_send(self):
        if self._use_tls:
                self.server=ssmtplib.SMTP_SSL(self.smtp_server, self.smtp_port)
        else:
                self.server=ssmtplib.SMTP(self.smtp_server, self.smtp_port)
        if self.user_name:
                self.server.login(self.user_name, self.password)
}}}
",info@…
4. Commented,5535,[inherit] not working for me (error on missing config),general,devel,next-major-releases,defect,normal,2007-06-16T07:39:35+02:00,2015-05-26T20:50:57+02:00,"plugins in the inherited plugin directory don't show up in my administration, etc.  They work fine if I move them into the local trac env's plugins directory.

local and global confs attached.",Dave Abrahams <dave@…>
4. Commented,5566,Postgresql admin security issue,admin/console,0.10.3,next-major-releases,defect,normal,2007-06-21T01:45:45+02:00,2017-06-12T04:47:13+02:00,"Trac accepts postgres as a database backend using a string such as:  postgres://user:password@localhost:port/database

The problem is anyone with read access to this trac directory basically has full administrator priveleges, because they can just issue the command ""trac-admin trac_project permission myself TRAC_ADMIN""

Ideally I'd like to grant project administrators with the ability to customize their trac environment and delegate permissions to other users as necessary.  (I keep a master authz file to share amongst various projects)  But it seems like 'trac-admin' should really be using the local users authentication credentials.  And there should be a seperate set of credentials (that I can keep in a protected file) for the trac web interface.

This problem most likely extends to mysql and any other database connection type.  SQLite is one of the few exceptions since it's entirely file based.

I'm using trac-0.10.3.1-2.fc6 and subversion-1.4.3-2.fc6 (on Fedora Core 6, obviously).
",dannys@…
4. Commented,6219,Excessive time taken by notification can lead to db timeout?,notification,,next-major-releases,defect,normal,2007-10-20T23:32:02+02:00,2016-05-10T13:52:54+02:00,"All database activites are taking a long time - creation of a ticket always times out though the ticket gets saved properly and now I am consistently getting this error while hitting any page that makes a database call.
{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 183, in dispatch
    req.perm = PermissionCache(self.env, req.authname)
  File ""/usr/lib/python2.4/site-packages/trac/perm.py"", line 263, in __init__
    self.perms = PermissionSystem(env).get_user_permissions(username)
  File ""/usr/lib/python2.4/site-packages/trac/perm.py"", line 227, in get_user_permissions
    for perm in self.store.get_user_permissions(username):
  File ""/usr/lib/python2.4/site-packages/trac/perm.py"", line 109, in get_user_permissions
    db = self.env.get_db_cnx()
  File ""/usr/lib/python2.4/site-packages/trac/env.py"", line 203, in get_db_cnx
    return DatabaseManager(self).get_connection()
  File ""/usr/lib/python2.4/site-packages/trac/db/api.py"", line 76, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File ""/usr/lib/python2.4/site-packages/trac/db/pool.py"", line 107, in get_cnx
    raise TimeoutError('Unable to get database '
TimeoutError: Unable to get database connection within 20 seconds
}}}

",pranavbhasin@…
4. Commented,6515,Trac detected an internal error: Session ID not set,general,,next-major-releases,defect,normal,2007-12-17T09:12:16+01:00,2015-06-09T23:41:15+02:00,"Oops…
Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide
Python Traceback

{{{
Traceback (most recent call last):
  File ""/usr/local/lib/python2.5/site-packages/trac/web/main.py"", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/local/lib/python2.5/site-packages/trac/web/main.py"", line 184, in dispatch
    req.session = Session(self.env, req)
  File ""/usr/local/lib/python2.5/site-packages/trac/web/session.py"", line 48, in __init__
    self.get_session(sid)
  File ""/usr/local/lib/python2.5/site-packages/trac/web/session.py"", line 90, in get_session
    self.bake_cookie()
  File ""/usr/local/lib/python2.5/site-packages/trac/web/session.py"", line 56, in bake_cookie
    assert self.sid, 'Session ID not set'
AssertionError: Session ID not set
}}}",franz.x.maier@…
4. Commented,7150,"""contrib/workflow/showworkflow"" is KDE centric",general,devel,next-major-releases,defect,normal,2008-04-23T00:25:33+02:00,2015-05-26T20:50:57+02:00,"I reckon this should call evince where kpdf is not available (like on Gnome desktops, which is a pretty common occurance). Here's a patch:

{{{
Index: trac/contrib/workflow/showworkflow
===================================================================
--- trac/contrib/workflow/showworkflow	(revision 6880)
+++ trac/contrib/workflow/showworkflow	(working copy)
@@ -24,4 +24,8 @@
 
 dot -T ps -o ""$ps"" ""$dot"" && ps2pdf ""$ps"" ""$pdf"" || exit 1
 dot -T png -o ""$png"" ""$dot""
-kpdf ""$pdf""
+if [ -n ""`which kpdf 2>/dev/null`"" ] ; then
+    kpdf ""$pdf""
+else
+    evince ""$pdf""
+fi
}}}
",trac@…
4. Commented,8094,Preview who will be notified,notification,none,next-major-releases,defect,normal,2009-02-28T21:12:42+01:00,2018-06-10T10:58:33+02:00,"Dear Trac people, as you see in
http://core.trac.wordpress.org/ticket/9208
one never knows if Trac will send email or not.

Note, I am talking about bugs one is the reporter of. I am not an administrator.

To be ''doubly'' sure to get mail, one must always click the CC box.
Otherwise, well, most of the time it will send email about others'
changes to the bug, but sometimes not.

P.S., the corresponding Bugzilla checkbox looks like
""Add jidanni@jidanni.org to CC list""
Which never needs to be checked for the reporter to get mail.

So my question is should I add my CC to the rest of
http://core.trac.wordpress.org/query?reporter=jidanni&col=id&col=cc&order=id
? I can only do a few a day before my wrists get tired.",jidanni@…
4. Commented,9526,Fine Grained Permission possible realms and paths format are not documented.,wiki system,0.12,next-major-releases,defect,normal,2010-07-27T10:09:14+02:00,2019-09-06T19:51:32+02:00,"I'm trying to configure authz_policy.py (TracFineGrainedPermissions) for things other than Wiki Pages.

I can see that this is possible and working, but I'm waisting my time discovering ""paths and realms"" for every single thing I want to manage via authz_policy.

All the samples and documentation I've found describe configuration for wiki: realms *only* and while this is probably most common usage I'd like to create a ticket to expand the documentation in this topic.",dpc@…
4. Commented,10091,Exception when formatting Mercurial changeset link,plugin/mercurial,0.12.2,next-major-releases,defect,normal,2011-03-19T19:22:39+01:00,2015-05-26T20:50:57+02:00,"When trying to format `[cset:34c7144cba5a]` or `[123:34c7144cba5a]` when having multiple Mercurial repositories but no default repository fails with the following exception:

{{{
UnboundLocalError: local variable 'errmsg' referenced before assignment
}}}

Stack trace:

{{{
File ""/usr/lib/python2.6/dist-packages/trac/ticket/templates/ticket_change.html"", line 61, in <Expression u'wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)'>
  <py:otherwise>${wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)}</py:otherwise>
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 1497, in format_to_html
  return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 1452, in generate
  escape_newlines)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 1240, in format
  result = re.sub(self.wikiparser.rules, self.replace, line)
File ""/usr/lib/python2.6/re.py"", line 151, in sub
  return _compile(pattern, 0).sub(repl, string, count)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 1158, in replace
  replacement = self.handle_match(fullmatch)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 1154, in handle_match
  return internal_handler(match, fullmatch)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 540, in _lhref_formatter
  return self._make_lhref_link(match, fullmatch, rel, ns, target, label)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 581, in _make_lhref_link
  fullmatch)
File ""/usr/lib/python2.6/dist-packages/trac/wiki/formatter.py"", line 590, in _make_link
  fullmatch)
File ""build/bdist.linux-x86_64/egg/tracext/hg/backend.py"", line 438, in _format_link
  title=errmsg, rel=""nofollow"")
}}}",Mitar
4. Commented,10101,Broken permissions for changeset view,version control/changeset view,0.12,next-major-releases,defect,normal,2011-03-26T13:10:34+01:00,2019-09-06T19:51:32+02:00,"I installed Trac 0.12 some time ago and created me as admin user (TRAC_ADMIN). I added SVN respository, synchronization and everything works fine. After some time, I added a new user and added him some permissions. But when I try to view a changeset logged as this new user, I get weird results - only some added files (2-3 from ~20 new files) with not completed paths (e.g. ballance instead of user_accounts/ballance). Diffs are not shown. Sometimes I get only:

Message:
      
(No files)

It is ok when I log in as admin user. After some time playing with permissions, when I delete all permissions, then I add TRAC_ADMIN permission to the new user, then changesets are ok. But when I try to add only CHANGESET_VIEW permission (or all other permissions except TRAC_ADMIN), then it is not working.

I have to add (or add, remove, add) TRAC_ADMIN permission to the new user, then all required permissions and finally remove TRAC_ADMIN permission if I want CHANGESET_VIEW to work without admin permission.",bruce@…
4. Commented,10152,"Custom Query - ""and"" becomes ""or""",query system,0.12.2,next-major-releases,defect,normal,2011-04-27T10:38:56+02:00,2017-03-07T07:00:53+01:00,"In ''custom query'' when you have a field 
{{{
Description contains ...
}}}
click ""and"" > ""Description"" (combobox to the left) it changes to
{{{
Description contains ...
                  or ...
}}}

It is not intuitive if you have the choice between ""and"" and ""or"" and decide for ""and"", you get just another variant of ""or"".

Expected:
{{{
Description contains ...                 (and)
Description contains/doesn't contain ...
}}}
",bastik <bastikln@…>
4. Commented,10162,Add a REPOS kind of Node,version control,0.12.1,next-major-releases,defect,normal,2011-05-03T00:34:39+02:00,2020-04-01T17:09:59+02:00,"How to Reproduce

While doing a GET operation on `/changeset/26e036576133f07b15eeb4363bf993b67bf9eacb/tp`, Trac issued an internal error. 

This only happens for a changeset that only updates git submodules, for which ""get_content_length"" returns None (because there is no associated git blob).

(The Python error is ""unsupported operand type(s) for +"")

This is similar to the old ticket #3287 here.


Request parameters:
{{{
{ new : u 26e036576133f07b15eeb4363bf993b67bf9eacb ,  new_path : u /tp }
}}}
User agent: `Mozilla/5.0  X11; U; Linux x86_64; en-US; rv:1.9.2.17  Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17`

System Information
||    `Trac`    || `0.12.1` ||
||    `Docutils`    || `0.7` ||
||    `Genshi`    || `0.6` ||
||    `GIT`    || `1.7.3.4` ||
||    `psycopg2`    || `2.2.2` ||
||    `Pygments`    || `1.3.1` ||
||    `Python`    || `2.6.6  r266:84292, Mar 6 2011, 17:53:48  `   br   ` GCC 4.3.4 ` ||
||    `pytz`    || `2010o` ||
||    `setuptools`    || `0.6` ||
||    `Subversion`    || `1.6.16  r1073529 ` ||
||    `jQuery`    || `1.4.2` ||

Enabled Plugins
||    `BatchModify`    || `0.8.0-trac0.12` ||
||    `FilteredTicketQuery`    || `N/A` ||
||    `timingandestimationplugin`    || `1.0.6` ||
||    `TracGit`    || `0.12.0.6dev` ||

Python Traceback
{{{
Traceback  most recent call last :
File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 511, in _dispatch_request
dispatcher.dispatch req
File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 237, in dispatch
resp   chosen_handler.process_request req
File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 352, in process_request
self._render_html req, repos, chgset, restricted, xhr, data
File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 586, in _render_html
diff_bytes   _estimate_changes old_node, new_node
File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 537, in _estimate_changes
return old_size new_size
TypeError: unsupported operand type s  for :  NoneType  and  NoneType
}}}",dmarti
4. Commented,10279,Sort admin page milestone table by descending due date,admin/web,,next-major-releases,defect,normal,2011-07-22T13:58:53+02:00,2022-07-08T10:52:32+02:00,"Currently, the list of milestones in the web admin seems to be sorted by ascending due date. If you have a lot of milestones, that's kind of a pain: the old milestones are likely to be the least interesting. Simply sorting by descending due date probably makes for a better experience (even though it will show far-future milestones before near-future ones).

For a more refined solution, split the table in two parts: a list of open milestones, by ascending due date, and a list of closed milestones, by descending due date.",Dirkjan Ochtman <dirkjan@…>
4. Commented,10741,"more readable ""closed"" style",general,1.0dev,next-major-releases,defect,normal,2012-06-25T22:37:55+02:00,2015-05-26T20:50:57+02:00,"The current strikethrough style is barely readable, as already mentioned in the past, like in #9981. If people can get used to it for numbers (but what about #8080 for example?), it's really a bother for milestones ([milestone:0.11.8 a milestone that didn't turn into a release]) or comments ([ticket:9981#comment:5 as was said before]).

We just revived the subject in #10012 (see [ticket:10012#comment:42 comment:42]), with several new interesting proposals, notably the one from Peter which is to append an unicode '!CHECK MARK' character to the ticket (✓).",Christian Boos
4. Commented,11049,TracD on Windows 8 (x64),web frontend/tracd,1.0,next-major-releases,defect,normal,2013-02-05T13:16:24+01:00,2019-09-06T19:51:32+02:00,"I am encountering numerous problems on Windows 8 (x64) running TracD with Python 2.7.

In Internet Explorer 10, loading Trac pages is erratic, with first load often missing style/layout or missing the header logo.  Pressing back then forward several times may resolve this problem as if little bits of the page are building up in the cache over time.  (The logo will load if right-clicked to Show Picture).

With the !WikiExtras hack, the [!WikiIcons] documentation fails to load all icons in the page, but will load them eventually with back/forth as above (or by right-click Show Picture).  However, hitting the Refresh button will crash TracD/Python.

The Trac service may stop responding randomly, at which point it is reported that the Trac database needs to be upgraded.  (Running an upgrade allows the wiki to display, but all macros are now unrecognized and the custom logo becomes undefined, so this is probably spontaneous corruption).

These problems are also evident with Google Chrome, so it does not appear to be IE10 specific. I should note that IE10 is aggressive - with a tracking protection list turned on, the Trac header logo is blocked.

Compatibility settings on executables has not helped, nor has making exceptions in !Antivirus/Firewall.  An identical setup was working fine in Windows 7 (x64).



",paulcoddington@…
4. Commented,221,Creating TR for multiple components,ticket system,,next-major-releases,enhancement,normal,2004-04-02T02:41:40+02:00,2020-09-09T13:20:24+02:00,"Its sometimes necessary to fix a bug in both a branch release and the mainline trunk. It would be very useful to have a method by which a ticket can be assigned to multiple releases 

----
Note: see rather #4298 for the association to multiple versions (or milestones). This ticket is focused on the association to multiple '''components''' (cf. comment:10)",banerjed@…
4. Commented,425,Wiki page name need to support digits and periods,wiki system,0.8,next-major-releases,enhancement,normal,2004-05-19T15:00:40+02:00,2015-03-02T22:31:46+01:00,"Restricting Wiki page names to only alphabetic chars makes
it very have to create pages that discuss MilestoneV1.0 etc

Is there any problem with allowing digits and period?
",barry.scott@…
4. Commented,611,Backlinks,wiki system,0.7.1,next-major-releases,enhancement,normal,2004-07-11T14:52:44+02:00,2021-04-07T13:43:14+02:00,"A nice feature would be automatic backlink generation for wikipages.

if there is intrest in this sugested enhancement i would like to contribute in coding this feature (wih a little guidance)

keep up the good work!",siegfried@…
4. Commented,695,Keywords for wiki pages,wiki system,0.7.1,next-major-releases,enhancement,normal,2004-08-11T16:49:42+02:00,2021-11-26T13:29:21+01:00,"It would be nice to see a keywords field for wiki pages, same as the one for tickets. This list of manually chosen keywords can serve multiple purposes:

 * for searching and ranking, grouping, ...

 * to automatically generate the ""See also"" list of links at the bottom of a page, listing all other pages that share 1 or more of the keywords. Currently this seems to be done manually, so if a wiki page changes such that it should not be related anymore, then one would have to hunt down and change all other pages that ""See also"" to it. ",mario at ruggier.org
4. Commented,756,trac-admin initenv might prompt for a wiki-default path,admin/console,devel,next-major-releases,enhancement,normal,2004-09-10T16:19:22+02:00,2015-05-26T20:50:57+02:00,"Trac-admin prompts for default template path, but not for default wiki page path.

The following patch supports wiki-default path on command line and prompts for such a path when {{{initenv}}} command is invoked.

=== Proposed patch ===

{{{
#!diff
Index: scripts/trac-admin
===================================================================
--- scripts/trac-admin	(revision 915)
+++ scripts/trac-admin	(working copy)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # -*- coding: iso8859-1 -*-
 __author__ = 'Daniel Lundin <daniel@edgewall.com>, Jonas Borgström <jonas@edgewall.com>'
 __copyright__ = 'Copyright (c) 2004 Edgewall Software'
@@ -427,7 +427,7 @@
 
     ## Initenv
     _help_initenv = [('initenv', 'Create and initialize a new environment interactively'),
-                     ('initenv <projectname> <repospath> <templatepath>',
+                     ('initenv <projectname> <repospath> <templatepath> <wikipath>',
                       'Create and initialize a new environment from arguments')]
 
     def do_initdb(self, line):
@@ -460,6 +460,13 @@
         dt = trac.siteconfig.__default_templates_dir__
         prompt = 'Templates directory [%s]> ' % dt
         returnvals.append(raw_input(prompt) or dt)
+        print
+        print ' Please enter location of Trac initial wiki pages.'
+        print ' Default is the location of the site-wide wiki pages installed with Trac.'
+        print
+        dw = trac.siteconfig.__default_wiki_dir__
+        prompt = 'Wiki pages directory [%s]> ' % dw
+        returnvals.append(raw_input(prompt) or dw)
         return returnvals
          
     def do_initenv(self, line):
@@ -470,18 +477,21 @@
         project_name = None
         repository_dir = None
         templates_dir = None
+        wiki_dir = None
         if len(arg) == 1:
             returnvals = self.get_initenv_args()
             project_name = returnvals[0]
             repository_dir = returnvals[1]
             templates_dir = returnvals[2]
-        elif len(arg)!= 3:
+            wiki_dir = returnvals[3]
+        elif len(arg)!= 4:
             print 'Wrong number of arguments to initenv %d' % len(arg)
             return
         else:
             project_name = arg[0]
             repository_dir = arg[1]
             templates_dir = arg[2]
+            wiki_dir = arg[3]
         from svn import util, repos, core
         core.apr_initialize()
         pool = core.svn_pool_create(None)
@@ -498,6 +508,9 @@
            or not os.access(os.path.join(templates_dir, 'ticket.cs'), os.F_OK):
             print templates_dir, ""doesn't look like a Trac templates directory""
             return
+        if not os.access(os.path.join(wiki_dir, 'WikiStart'), os.F_OK):
+            print wiki_dir, ""doesn't seem to contain initial Wiki pages""
+            return
         try:
             print 'Creating and Initializing Project'
             self.env_create()
@@ -516,7 +529,7 @@
             # Add a few default wiki pages
             print ' Installing wiki pages'
             cursor = cnx.cursor()
-            self._do_wiki_load(trac.siteconfig.__default_wiki_dir__,cursor)
+            self._do_wiki_load(wiki_dir,cursor)
 
             print ' Indexing repository'
             sync.sync(cnx, rep, fs_ptr, pool)
}}}
",eblotml@…
4. Commented,791,"login/logout, authentication, and authorization",general,devel,next-major-releases,enhancement,normal,2004-09-30T06:13:49+02:00,2022-08-07T15:41:21+02:00,"I'm kind of combining a couple of things from #599 and #788 here.  The main issue is that the browser caches the authentication information, so you can't log out unless you close the browser (or with Mozilla you can use certain extensions to clear the information).  A related issue is that in situations where authentication is enforced to access the project, users should never be logged in anonymously.  

I've already gotten a patch working that will force users who logged out to log back in, allowing them to login as a different user.  I'm going to try to extend this to allow users to disable anonymous access and handle these setups more appropriately.",Matthew Good <matt-good.net>
4. Commented,918,[patch] Custom Ticket Fields should support the multiple selection type,ticket system,devel,next-major-releases,enhancement,normal,2004-11-12T19:42:28+01:00,2018-05-12T08:56:20+02:00,"I propose an addition to the TracTicketsCustomFields.

Currently, there is support for the
simple selection field:
{{{
<field>.type = select
}}}

I would like to have the {{{multi}}} type as well, for multiple selection fields.

The usage in {{{trac.ini}}} for {{{multi}}}
would be the same as it is for {{{select}}}.

I implemented it in a crude way (see the accompanying patch).

I'm not entirely pleased with the patch: 
 * the support for query is partial (i.e. it won't work)
 * the display of the fields is not as neat as I would like

A better solution would involve a change in the database:
drop the unicity constraint on the {{{(id,name)}}} pair for 
the {{{ticket_custom}}} table. 
With that, the query support would be easier to add.

",Christian Boos
4. Commented,1132,Use Subversion (or the source repository) for Trac's data as well,general,none,next-major-releases,enhancement,normal,2005-01-14T18:02:17+01:00,2015-05-26T20:50:57+02:00,Use Subversion for data repository like [http://subwiki.tigris.org/ subwiki],twenim@…
4. Commented,1242,[ER] Generalized automatic cross-references in Trac,wiki system,0.8,next-major-releases,enhancement,normal,2005-03-03T11:13:58+01:00,2022-11-16T06:31:00+01:00,"== Problem == 

Trac provides a fast, easy and flexible way to relate Trac objects together, 
by the use of TracLinks in the WikiFormatting.

However, there's no automatic support for back-linking.
This lack has been noticed in several circumstances:
 * BackLinks for Wiki pages (tickets #611 and #646,
   the latter containing a [http:/trac/ticket/646#change_4 note]
   which also highlights the genericity of the problem)
 * Related Changesets for a given Ticket (ticket #508)
 * Ticket dependencies and other relationships (tickets #31 and #226)

Instead, the backlinking is done manually. For example, when
closing a ticket with a resolution of {{{duplicate}}}, 
the convention is to comment the closing of the ticket
by saying ''this is a duplicate of #xyz'' 
and to mention the existence of the duplicate ticket 
on the original #xyz ticket.
With a generalized backlinking facility, this would cease to be necessary.

== Solution ==

What I would propose is that every relationship that
gets detected while parsing new wiki content is recorded.
Then, each wiki, changeset and ticket page could contain
a '''See also:''' section at the end, listing the other
objects that contain TracLinks targeting it, along with
a bit of context, to catch the semantic of the link as well.

----
Example given:

Consider the following wiki !OutstandingPatches page:
{{{
= Outstanding Patches page = 

I think that the patches #187, #909, #919, #944 and #948 are great!
}}}

Then, each time this page is edited, the content of an 
{{{XREF (source, target, context}}} 
table would be cleared for this page:
{{{
delete from XREF where source = 'wiki:OutstandingPatches'
}}}

and when the content is processed, each time a TracLink is 
detected, the table would be filled:
{{{
insert into XREF values ('wiki:OutstandingPatches',
                         'ticket:187',
                         'I think that the patches #187, #909, #919, #944 and #948 are great!')
}}}

Then, while browsing !#187, one could easily get the
backlinks:
{{{
select source, context from XREF where target='ticket:187'
}}}

in order to create the following output at the end of the ticket page:

{{{
#!html
<div>
<strong>Backlinks:</strong>
<a href=""/trac/wiki/OutstandingPatches"" title=""I think that the patches #187, #909, #919, #944 and #948 are great!"">OutstandingPatches</a>
</div>
}}}

----

Of course, I'm willing to provide a patch for that, but I would like 
to get some feedback before.

-- Christian",Christian Boos
4. Commented,1329,Ticket Search should (optionally) search only non-closed tickets,ticket system,0.8.1,next-major-releases,enhancement,normal,2005-03-21T09:19:37+01:00,2015-05-26T20:50:57+02:00,"One of the popular uses for searching (I believe) is to search the ticket database if an issue has already been filed. It would help if the search would only search tickets that have not been closed. 

This request is similar to Ticket #584 but I would like a way to filter the results so that only open tickets are displayed in the search result. It does not help much if you need to browse loads of resolved tickets to find the one open ticket you are looking for.

''fixed typos''",Norbert Unterberg <nepo@…>
4. Commented,1513,Multi-language support in the wiki,wiki system,,next-major-releases,enhancement,normal,2005-05-06T16:14:51+02:00,2015-05-26T20:50:57+02:00,"Let trac be the first-ever multi-lingual wiki on the market!  Have the ability to translate wiki articles into different languages.  A user can select their language when they view the wiki.  We have looked around and there isnt a wiki out there that handles this.  And if you dont have time to do it, do you mind having some volunteers help you out? :)",Paul Baranowski <paul@…>
4. Commented,1796,Stylesheet for Docutils output,rendering,0.8.4,next-major-releases,enhancement,normal,2005-07-16T00:07:20+02:00,2015-05-26T20:50:57+02:00,"{{{
#!rst
Some output elements (e.g. line blocks or admonitions) of reStructuredText look really crappy without a stylesheet.

May I suggest you store tools/stylesheets/default.css from the Docutils tarball at /trac_common/css/docutils.css and add ``@import url(/trac_common/css/docutils.css)`` in front of the other import statements?

The Docutils stylesheet shouldn't interfere with any elements outside the Docutils-generated HTML code.
}}}",Felix Wiemann <Felix.Wiemann@…>
4. Commented,2130,Sort Milestones in Roadmap and NewTicket alphabetically (as an option),roadmap,,next-major-releases,enhancement,normal,2005-09-27T13:29:18+02:00,2021-07-24T22:54:41+02:00,"I use Trac for different components with different version number.
The milestones are sorted in the sequence I added them plus a sort over the date that is set.

It would be very nice to get them optional sorted alphabetically.

The milestone listbox in the ""New Ticket"" looks now as the following example:

 * ComponentA 1.0
 * ComponentB 2.1
 * ComponentC 0.3
 * ComponentC 0.4
 * ComponentA 1.1
 * ComponentB 2.3
 
I want to have an option in the ""Roadmap"" to sort it alphabetically and my be as default in the ""New Ticket"" settings.
Then it should look like the following:

 * ComponentA 1.0
 * ComponentA 1.1
 * ComponentB 2.1
 * ComponentB 2.3
 * ComponentC 0.3
 * ComponentC 0.4",jan.linnenkohl@…
4. Commented,2456,Implement API for user management,general,0.9.2,next-major-releases,enhancement,normal,2005-12-08T02:06:33+01:00,2015-05-26T20:50:57+02:00,"I'm adding this ticket to keep track of the on-going discussion about creating a new 'user detail' interface to Trac.

The new interface would be something like:

{{{
#!python
class IUserProvider(Interface):

  def get_known_users(attrs=('name', 'email'), limit=None):
      pass

  def get_user_attribute(user, attr):
      pass

  def get_supported_attributes():
      pass
}}}

Related ML thread:
 * http://lists.edgewall.com/archive/trac/2005-December/005771.html
",Emmanuel Blot
4. Commented,2464,Conditional fields in tickets,ticket system,0.9.2,next-major-releases,enhancement,normal,2005-12-09T11:34:48+01:00,2021-08-19T21:34:04+02:00,"Not necessarily all possible fields should be presented to the user. There could be preconditions attached to fields, for checking if they're applicable at all and for checking if the current user can actually set/modify them.

Then, as an advanced case, instead of being an all or nothing situation, the possible content of one field could be dependent on the ticket state: see #1299, #2752 and [#comment:13].


=== Use cases ===
==== Ability to have different ticket fields for different ticket types ====
''(original one)''
When using quite different types of tickets (bug-report, requirement, etc), there is a need for different fields depending on the ticket type. 
This might add just the flexibility required for complying with existing development processes. 
Great feature in particular when support for master and child tickets is planned, trac could be more of a requirements management system beyond the issue database approach.
See also duplicates: #4028, #4643

==== Abilty to have different ticket fields for different ticket components ====
As for ticket types, but for components.
See #2752

==== Hide the ''Keywords:'' field ====
See #3281

==== Hide some fields for new tickets ====
See #1580.
This could be achieved quite simply by putting the ticket `id` in the condition.

",johan.regnell@…
4. Commented,2469,timeline should show my own tickets in bold,timeline,0.9b2,next-major-releases,enhancement,normal,2005-12-09T20:23:19+01:00,2015-05-26T20:50:57+02:00,"Everyday when I start working, I check the Timeline to see what's up.
Someone may have changed or commented on a ticket I'm working on.
So, the Timeline should display my own tickets in bold (or other visual clue).

btw, thanks for the great product. we started using it in october, and all the team is pleased.",rodolfo.borges@…
4. Commented,2588,Option to show the latest completed milestone,roadmap,devel,next-major-releases,enhancement,normal,2006-01-12T02:28:44+01:00,2018-12-16T15:45:29+01:00,"It would be nice if another option were added to the ""show already completed milestones"" option: it would display the latest completed milestone - or the n last completed milestones, so that users can see the latest milestone achievement and features even if this milestone has just been reached/completed.

Up to now, the only option to show the recently completed milestone is to display all milestones, which is far too coarse selection as it can lead to display a very long list of old and ""useless"" info.

Many users want to browse the latest provided features in the days that follow a milestone completion.",Emmanuel Blot
4. Commented,2625,Add option to send HTML mail messages,notification,0.11-stable,next-major-releases,enhancement,normal,2006-01-18T01:06:19+01:00,2023-09-15T04:02:49+02:00,"It would be nice if Trac was able to send notification emails in some sort of rich format, for example HTML. This way one would not have to use fixed fonts in the mail client.",tomek.piatek@…
4. Commented,2639,Add userid/author in RSS feeds for repository commit information,timeline,0.10rc1,next-major-releases,enhancement,normal,2006-01-19T20:39:27+01:00,2015-05-26T20:50:57+02:00,"We have an interest in using the RSS feed feature of Trac.  Besides the issues described in #2580, which I am very happy to see resolved, we would also like to see the changeset author's name in the RSS feed information.

For instance, when subscribing to the Timeline's RSS feed, you would see a title such as: '''{{{Changeset [614]: Fixed reset procedure.}}}''', with a body of '''{{{Fixed reset procedure.}}}'''.  There is apparently no author information, although this is a very useful part of the Timline page itself.

It appears to me that the revison log RSS feed is also hobbled in this way.",Dan <trac@…>
4. Commented,2656,Make built-in documentation independent from wiki,wiki system,0.9.3,next-major-releases,enhancement,normal,2006-01-24T11:13:55+01:00,2019-09-16T01:54:34+02:00,"I noticed that there are various links to the built-in documentation pages in the wiki.  We use the wiki for internal documentation and development matters and therefore anonymous users don't have rights to access it.
So it would be nice if the online documentation pages would be independant from the wiki, because anonymous users can't view them if they have no right to access the wiki and it is annoying if you have those links to is everywhere, which lead you (as an anonymous user) to pages which say ""Access denied"".
A quick workaround would be to only display the links if you have rights to access the wiki.

Best regards

Florian Lahr",flo@…
4. Commented,2662,assign tickets to multiple users,ticket system,0.9.3,next-major-releases,enhancement,normal,2006-01-25T13:36:02+01:00,2021-09-19T18:37:53+02:00,"It would be very nice, if I could assign a ticket to more than one user. I set the restrict owner-parameter to false and typed in two users. I tried with different syntax, but the trac system did not notice the ticket to belong to the them. Would be fine...",mala
4. Commented,3080,Custom field sorts only as text,general,0.9.5,next-major-releases,enhancement,normal,2006-04-24T18:50:46+02:00,2015-05-26T20:50:57+02:00,"I've created a custom field to enable me to manually order tickets.  I've used integers as the value, but it seems to be sorting as text. 

For instance, the order shows up like 1, 10, 11, 2, 3, 4, 5, 6, 7, 8, 9

Would like to be able to sort numerical values through custom fields.

",aroach@…
4. Commented,3162,LDAP support for  e-mail notification,notification,0.9.5,next-major-releases,enhancement,normal,2006-05-17T17:38:38+02:00,2021-06-22T01:21:14+02:00,"When using trac with LDAP authorization it would be nice if LDAP is also used
for getting the e-mail address of logged in users (this feature should probably be settable using some trac.ini parameters). 

I do not know howto read trac.ini parameters so I added a few lines to Notify.py Maybe somebody can use this.
",remco.wouts@…
4. Commented,3273,Add REGEXP support to SQL queries,report system,devel,next-major-releases,enhancement,normal,2006-06-15T16:54:53+02:00,2016-01-18T23:26:42+01:00,"SQLite allows the use of a REGEXP search ![1]. Such a feature would be useful in cases such as parsing multiple CCs, multiple asignees on a ticket ![2], etc. All that has to be done is to create a user function on the connection ![3].

I've attached a diff of what (I think) will enable this (I am using r3406 currently). The patch will add a user function in SQLite immediately after the connection is made. The user function is called regexp. (See [attachment:trac_sqlite_regexp_r3406.patch])

References:
 1. [http://www.sqlite.org/lang_expr.html]: What is currently allowed in SQLite expressions
 2. #2662: Using REGEXP in SQLite to parse multi-user assignments
 3. [http://initd.org/pub/software/pysqlite/doc/usage-guide.html#creating-user-defined-functions] pysqlite documentation to add a user-defined function",david.l.jones@…
4. Commented,3320,Custom fields can't be hidden,ticket system,devel,next-major-releases,enhancement,normal,2006-06-26T16:16:35+02:00,2015-05-26T20:50:57+02:00,"Though this is already fixed in the new workflow branch, it would be nice to fix this for 0.10. 

All that needs to be done is add to following [source:trunk/trac/ticket/api.py@3444#L161 here]:
{{{
#!python
'skip': config.getbool(name + '.skip', False)
}}}",coderanger@…
4. Commented,3737,"login-id, trac-nick",general,devel,next-major-releases,enhancement,normal,2006-09-16T20:30:15+02:00,2015-05-26T20:50:57+02:00,"as also noted in #3667 there are cases where the username may change. also login mechanisms coming via basic auth may provide some userid which is not easy to remember. therefor it would be great to have more fields for a user, i.e. a username, userid, a nick, and maybe the nick is displayed.
",ThurnerRupert <rupert.thurner@…>
4. Commented,3906,Request for a files search (no indexing just plain find like search),version control/browser,0.10,next-major-releases,enhancement,normal,2006-10-11T03:15:59+02:00,2018-07-08T12:48:00+02:00,"I would like a /usr/bin/find like file search to look for a specific filename in the repository recursively (ie, some*.pdf)

I've seen the RepoSearch hack but I would like a simple file search (perhaps in Browse source or in Search directly with a files checkbox) that would let me search for a file or files in particular strictly based on the files in the repository.

This is a simple feature, I'm surprised it hasn't been implemented yet ;)

perhaps a simple hack would be in order...",sineer@…
4. Commented,4224,Using SVN AUTHZ groups to map to group permissions in Trac,admin/web,none,next-major-releases,enhancement,normal,2006-11-21T00:13:46+01:00,2015-05-26T20:50:57+02:00,"I have an authz file that I use with Apache/SVN that has a definition of some groups.

e.g. G_developers, G_admin, etc

I have the same named groups in Trac created.

I want Trac to automatically consider the usernames in the AUTHZ file to have the same permissions as the groups that match.

How do I do this?",leighmcc@…
4. Commented,4298,tickets linked to multiple versions,ticket system,0.10.2,next-major-releases,enhancement,normal,2006-11-30T09:00:23+01:00,2016-04-10T12:08:45+02:00,"As far as I understand, bug 2945 dealt only with description changes for requirement issues.

I have a different scenario. Say I have a project with versions 1.0, 1.0.1, 1.0.2 and 1.1. a bug is found in 1.0. it is fixed in some way in 1.0.2 and in another way in 1.1

What I'd like to have is the ability to see all open bugs in 1.0 or 1.0.1 (the above bug included), in 1.0.2 (the above bug is fixed, and the comment describing the fix affects 1.0.2) and 1.1 (the bug is fixed in another way)

I think it means only the ability to associate status changes with a version. maybe also priority and severity (in the above scenario, the fix in 1.0.2 may have been partial, not exactly closing the bug for the 1.0.x stream, but lowering the priority)",ittayd@…
4. Commented,4412,batch copy/rename wiki pages,wiki system,0.10.3,next-major-releases,enhancement,normal,2006-12-17T11:22:09+01:00,2015-05-26T20:50:57+02:00,"==== Use cases
===== cross cutting wiki versions
If I have a product in version 1.x and I'm about to release 2.0, there are probably many changes to the wiki. However, I'd like to still retain a view of the 1.x wiki, for users of 1.x. Moreover, the 1.x wiki may continue to change with releases to the 1.x stream.",ittayd@…
4. Commented,4733,Option for all login links to use HTTPS,general,,next-major-releases,enhancement,normal,2007-02-14T06:13:37+01:00,2015-05-26T20:50:57+02:00,"It would be nice if trac could automatically use the https protocol in creating links to login with an appropriately configured web server.

I have tried a number of mod_rewrite rules and LocationMatch directives, but have not been successful in getting logins for multiple trac projects to be re-directed to the secure server for processing.",jeffcorbets@…
4. Commented,4887,Option for changeset viewer to show added and deleted files inline,version control/changeset view,0.10.3,next-major-releases,enhancement,normal,2007-03-04T23:16:11+01:00,2015-05-26T20:50:57+02:00,"The unified diff correctly includes new files.  However the web changeset view does not.

For an example, see this change set on r4848 trac.  It is missing the contents of trunk/trac/htdocs/js/ie_pre7_hacks.js.",paul.wants.no.spam@…
4. Commented,5001,offer possibility to inform users of new releases and changes,notification,,next-major-releases,enhancement,normal,2007-03-23T11:15:06+01:00,2015-01-13T18:50:21+01:00,"I can see that more and more Open Source projects are now using Trac as their development tool which is nice.
There's only one thing I dislike about it:
Most Trac sites don't have a possibility to inform users of changes or new releases of the software.
I have noticed that some sites offer a RSS-feed. But sites like sourceforge.net or http://www.berlios.de offer a automated email notification which is very convenient for system admins etc.

Maybe some RSS2news solution could be implementet. then rss could automatically also be send via email.

Thanks for addressing this.",timmichelsen@…
4. Commented,5526,Support LIKE and wildcards in custom queries,report system,,next-major-releases,enhancement,normal,2007-06-15T08:50:35+02:00,2019-08-23T12:45:50+02:00,"For many fields (component, version, milestone, ...) only ""is"" and ""is not"" are present as options in the filter combo box. For my application I would need at least ""like"" (processed as SQL's LIKE) in addition to that.

Without this capability I cannot currently dispense with the report modules (which, as I read, is being phased out in favor of the query module).",koegl@…
4. Commented,6226,Value for limit size of logfile,general,0.10.4,next-major-releases,enhancement,normal,2007-10-22T11:07:37+02:00,2015-05-26T20:50:57+02:00,"It would be great if TRAC would able rotate logfiles exceeding a size limit.

It means: I want able to say don't let logfiles get bigger than 10MB, if size is reached, rotate them ''count'' times. So if ''count'' is set to 5, then it will get rotated up to log.5. 

This would very handy when running in debug mode when something goes wrong not often and so debug-logging must run a long time and this stuff shouldn't go into syslog.
",trac@…
4. Commented,6492,[PATCH] Change icons on timeline,timeline,0.10-stable,next-major-releases,enhancement,normal,2007-12-12T17:57:59+01:00,2015-12-19T15:52:49+01:00,"would be nice to have icons which are easier to distinguish ..

for example, having a star or something like that on the lower right corner (like the green tick in the closed-ticket-icons)",Markus.Staab
4. Commented,6986,MySQL schema changes for performance,general,0.11rc1,next-major-releases,enhancement,normal,2008-03-10T21:44:57+01:00,2016-03-29T15:31:35+02:00,"We have been dealing with extremenly poor Trac performance when using MySQL as the backend database. The root cause is the use of 'text' fields in many columns that should preferably be varchar.

We finally decided to make some schema data changes to improve performance. As a result of these changes, we have substantial performance improvements.  For an example ,the following query is executed very often by Trac:

{{{
SELECT DISTINCT s.sid, n.value, e.value 
FROM session AS s  
LEFT JOIN session_attribute AS n ON (n.sid=s.sid   and n.authenticated=1 AND n.name = 'name')  
LEFT JOIN session_attribute AS e ON (e.sid=s.sid   AND e.authenticated=1 AND e.name = 'email') 
WHERE s.authenticated=1 ORDER BY s.sid; 
}}}

Our execution time dropped from 8 seconds for this query to approximately 0.1 seconds.  When timing this, there were about 6000 rows in the session table, and 20k rows in session_attribute.
 
The only data type changes me made were to convert several columns from text to varchar, primarily colums used often in joins and where clauses. We also added indexes on ticket.{priority,milestone,component}

I am attaching three files:
 - trac_schema_before is a MySQL dump of our table definitions before the changes (Trac 0.10.4 bas schema)
 - trac_schema_after is a MySQL dump of our table definitions after the changes.
 - trac_schema_diffs shows the changes we made.

I recommend that these changes or similar ones be merged into a future Trac version.

Thanks,

mike




",mikeyp@…
4. Commented,7069,'SearchResults doesn't indicate closed by etc..,search system,,next-major-releases,enhancement,normal,2008-04-02T18:15:36+02:00,2020-04-15T10:00:15+02:00,"would be nice to have the same information about a ticket and it's current state in the SearchResult view, as in the timeline.

In the timeline you can also see the user who has closed a ticket,.. and in the SearchResult not.

Maybe it would also be interessting who was the last user who has edited the ticket and also when he did it..",Markus.Staab
4. Commented,7196,restrict ticket properties to add/edit only/...,ticket system,,next-major-releases,enhancement,normal,2008-05-05T10:16:39+02:00,2015-05-26T20:50:57+02:00,"would be nice to have the ability to define if a property should be readonly/disabled/not mentioned at all, if in ticket add-mode/edit-mode...

so e.g. the milestone field could be set to edit-mode, so the creator is not able to choose the value for it... this is the intended behavior  on t.e.o.

also the priorty field should be set by a developer, so maybe also a restriction to some usertypes would be great..

such restriction would also make sense for other fields and also in other scenarios.

this would improve the user-experience and help also the developer team, because of less misfilled tickets",Markus.Staab
4. Commented,7419,Custom ticket status: customised ordering of statuses,ticket system,0.11-stable,next-major-releases,enhancement,normal,2008-07-09T17:52:49+02:00,2019-12-03T03:44:58+01:00,"We have a large number of custom ticket statuses now, thanks to 0.11 - it would be nice if I could define a sort order in the config file (similar to how you can do so in a [TracIni#milestone-groups-section ""[milestone-groups]""] section) so that when ordering tickets by status, they appear in my defined order.",trac+jon@…
4. Commented,7573,base_url for many projects is painful,general,0.12dev,next-major-releases,enhancement,normal,2008-08-28T22:35:21+02:00,2016-09-08T15:48:46+02:00,"Setting the base_url in hundreds of ini files, and changing them with a hostname change is painful.  I've attached a patch for a parent_base_url trac.ini setting that can be used in a parent trac.ini.  ",doki_pen <doki_pen@…>
4. Commented,7690,Add doctype supporting mathml,rendering,,next-major-releases,enhancement,normal,2008-10-03T13:37:28+02:00,2015-07-15T18:26:08+02:00,"I've been trying to add support for mathml in the Trac wiki.  We work on the development of algorithms for imaging and the inclusion of equations into tickets and the wiki would be extremely useful.

I think that we can do this by using the commands to embed html into the wiki markup then cutting and pasting mathml from an editor.  The issue is that genshi doesnt support a suitable doctype and there is also no way of setting the doctype on a per project basis

Ideally, I would like the following definition to be available so that math code can be pasted into the wiki

{{{#!xml
<?xml version=""1.0"" encoding=""UTF-8""?>
<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN""
               ""http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"" [
  <!ENTITY mathml ""http://www.w3.org/1998/Math/MathML"">
]>
}}}",Tim Kerby
4. Commented,7793,[PATCH] Mail notifications for a ticket with multiple owners / reporters,notification,0.12dev,next-major-releases,enhancement,normal,2008-11-06T19:51:00+01:00,2018-06-10T16:42:54+02:00,"When a new ticket is created in a component with multiple owners (i.e., the component owner field contains ""user1,user2""), currently no owner gets a notification, because this field is not parsed and thus no corresponding e-mail address can be determined.

I find it useful to have a component have multiple owners that are each equally responsible or interested in new tickets.

A small diff to trac/ticket/notification.py which fixes the issue for me is included.

=== Note

Trac doesn't currently support multiple owners, therefore this feature depends on #2662.",jsch@…
4. Commented,7872,"[Patch] Styling for ""Powered by"" footer element",general,none,next-major-releases,enhancement,normal,2008-12-08T14:42:18+01:00,2015-12-15T10:39:24+01:00,"This patch for Trac design alters theme.html and CSS to allow plugins add new ""Powered by"" blocks into footer with a simple jQuery.
{{{
  $('<p>Powered by TracHacks</p>').appendTo(""#footer"");
}}}
",techtonik <techtonik@…>
4. Commented,8328,Repeat SCRIPT_NAME fixup using SCRIPT_URL after environment selection,web frontend,0.11-stable,next-major-releases,enhancement,normal,2009-05-27T23:02:14+02:00,2015-05-26T20:50:57+02:00,"Ticket #2299 introduced a very useful feature to guess the SCRIPT_NAME from the SCRIPT_URL. However, this works less than optimal in some scenarios using an env_parent_dir.

'''Example:''' suppose you want to serve multiple project home pages using multiple virtual hosts from apache, and suppose further that, in order to save memory e.g. on a virtual server, you want to serve all Trac requests from a single FastCGI process. You can configure the process to serve from a parent of all trac environments, and add a line like this to the individual vhosts:
{{{
ScriptAlias /trac/ /path/to/trac.fcgi/my.environment.name/
}}}

This works well enough, except for the links. The link detection checks that the SCRIPT_URL (e.g. `/trac/wiki/PageName`) ends with the PATH_INFO (e.g. `/my.environment.name/wiki/PageName`) - which is not the case. Subsequently, the first part of the PATH_INFO is used to choose the environment, and moved from PATH_INFO to SCRIPT_NAME, causing a wrong script name of `/trac/my.environment.name`.

This can easily be solved by doing the same fixup ''after'' the environment has been chosen. In that case, PATH_INFO only contains `/wiki/PageName` which allows correct detection of `/trac` as the SCRIPT_NAME for that environment, not all environments.

In order to produce correct link in the listing of all available projects (in setups providing access to this list, not in a vhost like the one above), the fixup before should probably be kept in place as well, or be moved to send_project_index. Because it has to be executed from two places, it might make sense to factor it into a separate function.

A patch for this is easy. If you want me to write one, I'll do so. For now, I've simply moved the whole block dealing with script_url to after the env_path selection, as I don't need the project listing. So the concept is proven.",Martin.vGagern@…
4. Commented,8607,Option to skip notification to subscribers when a ticket is updated,notification,0.11.5,next-major-releases,enhancement,normal,2009-08-27T05:15:50+02:00,2015-11-05T13:20:33+01:00,"Consider the following scenarios for editing a ticket:
 1. Changing a minor typo in the ticket '''Description'''
 1. Adding some entries to the '''Keywords''' field
 1. Changing the '''Milestone''', '''Component''', '''Type''', etc ...
 1. Adding an attachment, when the attachment was mentioned in the previous message, therefore all users can expect it will be posted to the ticket within minutes and don't need to see another email telling them an attachment was added.

Users on my team receive a lot of email from Trac each day, and it is frustrating and Trac becomes less effective when they receive email notifications when someone is just cleaning up or making some minor changes to a ticket.

Rather than setting up a lot of options in ''trac.ini'' that determine who and when a subscriber is notified of changes, I propose that a checkbox is added to the right of '''Submit Changes'''.  When the '''Don't Notify Subscribers''' checkbox is selected, notifications emails are not sent on a ticket update.

[[Image(SubmitChangesButton.png)]]

The question then arises, what permission should be required for this checkbox to be present.  Perhaps someone running a Trac instance does not want users to be able to change a ticket without, for instance, the ticket's owner receiving a notification.  I propose two options for the [notification] section of trac.ini.

 1. `optional_notify_authenticated = {true, false}`
 1. `optional_notify_anonymous = {true, false}`

Option 1 would show/hide the '''Don't Notify Subscribers''' checkbox for authenticated users.  Option 2 would show/hide the '''Don't Notify Subscribers''' checkbox for anonymous users.  Users with `TICKET_ADMIN` permission would always see the checkbox.



",Ryan J Ollos
4. Commented,8728,add Closed Date to list of columns offered in custom query,query system,,next-major-releases,enhancement,normal,2009-10-09T05:46:07+02:00,2021-01-27T12:28:36+01:00,"the Created and Modified columns are already offered by TracQuery.  it would be very useful to also be able to add the Closed date to a report.

note that the Closed date on a ticket is not the same as the Last Modified date on a closed ticket.  there may be follow-up communications long after a ticket has already been closed.

we often get requests from upper management or from clients for reports such as how many tickets were closed in a particular month.  it is extremely tedious to search all closed tickets that were modified during or after that time, and then see when the ticket was actually closed.

another use of the Closed date column would be to run metrics such as average length of time that a ticket was open.  if this column was available, it would take a quick export to excel and some simple calculations.

this data would be accessible with custom sql but i think there are enough common use cases that it would be worthwhile to make it part of the default package.  i recall seeing many tickets related to custom date reports and this enhancement might provide enough for a lot of people.

it may not be that simple since i see in TracReports that the time and changetime columns live on the ''ticket'' table, but not the closed time.  but the TracTimeline does show when tickets are closed, so hopefully that means it wouldn't be too hard to get at the data.",jhn@…
4. Commented,8729,add Latest Comment option to custom query,report system,none,next-major-releases,enhancement,normal,2009-10-09T06:14:55+02:00,2022-09-03T15:04:54+02:00,"it would be great if Latest Comment was offered as a column in TracQuery.  or as an option under ""Show Under Each Result"", the way Description is offered.

this would be a quick way to see updates on tickets rather than having to click each one to open it up and read.  the entire Comments field is usually way too long.  Description is not continually updated with the latest status.  we tried adding our own [TracTicketsCustomFields custom field] for status notes but it was cumbersome to have to keep updating that in addition to the comments field.

in addition to giving people a quick view of what's going on in tickets, with a little more care by commenters, it could also be used in status reports for clients or management.",jhn@…
4. Commented,8961,[PATCH] Linkable lines on diff view,wiki system,0.12dev,next-major-releases,enhancement,normal,2010-01-12T14:44:39+01:00,2015-12-19T16:38:37+01:00,Lines are not linkable in diff view. This patch modifies diff_div.html so that lines are linkable.,niko.sten@…
4. Commented,9554,plain text download of wiki pages reveals comments not meant for public consumption,wiki system,0.12dev,next-major-releases,enhancement,normal,2010-08-07T00:16:20+02:00,2015-05-26T20:50:57+02:00,"I find this one critical in that one might prototype content in the wiki that is not meant to be released to the public yet.

In order to reconstruct the scenario,

1. create a new wiki page
2. enter some content
3. enter
{{{

{{{
#!comment
TBD

Critical information that must not yet be leaked to the public.
}}}

}}}

4. download as plain text

in the downloaded plain text you can see also the comment with content that was not yet meant to be consumed by the public.
",Carsten Klein <carsten.klein@…>
4. Commented,9642,Resizable textarea for the attachment description,attachment,,next-major-releases,enhancement,normal,2010-09-24T00:24:23+02:00,2010-10-01T23:06:00+02:00,"When uploading attachments, you can add a one-line file description. It would be nice if it'll also be possible to add some longer text in a textarea, that'll be displayed after the short description in the ticket comment.

Currently, I'll usually upload the attachment with a short description and add another separate comment with a longer description, which is a bit annoying.",shesek
4. Commented,9683,Make htdocs_location more useful,web frontend,0.13dev,next-major-releases,enhancement,normal,2010-10-10T20:53:25+02:00,2011-09-15T13:25:44+02:00,"At the occasion of the discussion on r10203 and r10204, osimons pointed me at the limitations of the [TracIni#htdocs_location-option htdocs_location] and the fact that it was sometimes pretty useless as such, as it only coped with the core trac resources (those below `common/`). 

You end up having to add rewrite rules in the web server if you want to serve the static resources of the plugins, those exported along with Trac core ones when using `trac-admin <env> deploy <dir>`.

This got me thinking if we couldn't enhance the `htdocs_location` internal rewrite mechanism so that it would take care of all the chrome/ resources (except for the `site/` and `shared/` ones).

By using a new setting, `htdocs_location_prefix`, we could control the restriction that we currently apply on resources starting with `common/`. So the default value for that new setting will be `common/`, but we would also support the empty value for serving everything but `site/` and `shared/` prefixes, and *, serving everything including `site/` and `shared/`.

Testing here on [/demo-0.13], seems to work well, but OTOH, there are no plugins ;-)  Feedback welcomed.
",Christian Boos
4. Commented,9807,Wrong sections are collapsed by default!,ticket system,,next-major-releases,enhancement,normal,2010-11-10T01:38:35+01:00,2015-03-19T15:20:49+01:00,"Collapsing the sections in a ticke is great - the trouble is that the section that is used 99% of the time is the ""modify"" section which is pre-collapsed.

An ideal solution would be to make this system configurable (or even user configurable).

It is going to pee-off my users to now have to press that extra button... petty I know.... but its the truth.",morgand
4. Commented,10125,CommitTicketUpdater should call manipulators and listeners,ticket system,0.12-stable,next-major-releases,enhancement,normal,2011-04-10T21:35:04+02:00,2015-05-26T20:50:57+02:00,"I don't use this hook myself, but I frequently get questions about it on IRC and try to help out. One very frequent request is some or handling for additional fields or related plugins that need to act on what gets updated on the ticket.

Example can be also adjusting estimates or time spent on fixing bugs, or updating some other related fields and structures.

Anyway, I quickly scanned the source and see that we don't call ticket system manipulators or listeners? That would provide the hooks to either change fields directly together with commit-update, or be handle updating of related information after-the-fact via listener.

Any reason not to call manipulators and listeners?",osimons
4. Commented,10150,Plugin installation errors should be shown on admin page,admin/web,,next-major-releases,enhancement,normal,2011-04-26T22:13:49+02:00,2011-04-26T23:13:25+02:00,"The last few times I've tried to install a plugin, I've made some sort of stupid mistake. Either I got an egg for the wrong version of Python, or I've right-click copied what I thought was the url from trac-hacks, but was actually the html page with the link to the attached egg. (Then I wget the ""egg"" and I'm none the wiser until I investigate it).

And when I put it in the plugins directory and reload trac... nothing happens. I have to do the investigation myself. It would be nice if, whatever it is that makes trac decide to reject the egg, would be displayed in the same screen as the list of plugins.

Thanks!",orblivion@…
4. Commented,10286,Way to query all tickets with attachments,query system,0.12.1,next-major-releases,enhancement,normal,2011-07-26T13:10:32+02:00,2020-07-14T19:19:20+02:00,"Trac should provide a way to query all tickets with attachments, or even better, with a given name/description in an attachment. Or maybe even attachment size(s) (individual or combined).",Mitar
4. Commented,10323,Enable sorting in TitleIndex macro,wiki system,,next-major-releases,enhancement,normal,2011-08-19T10:05:15+02:00,2021-11-19T05:32:16+01:00,"The goal is to be allowed to order the result of the macro `TitleIndex` in the same way that `RepositoryIndex` with the addition of the parameters `order` and `desc`.
 * `Order` possible values: [title|date]
 * `Desc` possible values: [0|1], same repositoryindex.

For example:
{{{
[[TitleIndex(order=title, desc=1)]]
}}}",carlos.lopezperez@…
4. Commented,10396,"[PATCH] New extension point interface to reformat the ""replying to"" block in a comment",ticket system,0.12-stable,next-major-releases,enhancement,normal,2011-10-05T12:13:27+02:00,2015-12-19T16:53:00+01:00,"Sometimes you don't want the original text in a response on a ticket in the ""Replying to"" line. Instead some sort of
custom formatting (e.g. abbreviation, reference no.) could be used preferably.

Solution:
A new extension point ITicketCommentFormatter defined in ticket/api.py.

The function quote_original() in ticket/web_ui.py calls the plugins, that implement the new extension point.
So it is possible to reformat the ""replying to"" block in a comment, to leave it unchanged or to drop it at all.
",juliak <kavalerchik@…>
4. Commented,10755,[PATCH] CommitTicketUpdater does not allow user to define what state to jump to,ticket system,0.12.3,next-major-releases,enhancement,normal,2012-07-02T22:27:07+02:00,2022-03-16T23:13:24+01:00,"The CommitTicketUpdater will only ever close a ticket. In general, the closed state is for when no more work is to be done, aka ''after'' QA has verified the fix. Trac should allow configuration of what state name the ticket will get updated to.",patrick.little
4. Commented,10757,Use language specific starting day for date picker,i18n,0.13dev,next-major-releases,enhancement,normal,2012-07-03T11:11:35+02:00,2014-10-14T17:04:01+02:00,"It would be nice, if the date picker introduced with ticket #10245 would use the language specific starting day of a week.

In Germany for example the starting day of a week is Monday (and not Sunday, like in US).

Alternatively it could be a user-specific preference.",framay <franz.mayer@…>
4. Commented,10983,PATCH (and RFC) for IQueryPreprocessor extension point,ticket system,0.11.6,next-major-releases,enhancement,normal,2012-12-13T18:27:55+01:00,2018-06-14T19:47:14+02:00,"I'm working in 0.11.6 and I don't expect this to be adopted there but I'd like to get feedback on structure, naming, etc. so I can make this patch more acceptable before porting to an active version.

In my PM work, I find it desirable to query tickets based in special ways like asking for all the tickets required by a ticket (and their predecessors, etc.) or all the descendants of a ticket.  My plugin supports this with `goal=id|id|...` and `root=id|id|...` but every place I want this support, I have to modify plugin source to use my preprocessor or query wrapper.  For example, I did this locally for Estimation Tools so I could do a workload chart of all the work in a ticket's predecessors.

By adding an extension point to the core query system, all ticket queries can benefit from the PM logic.  For example, you could do `[[TicketQuery(goal=self)]]` in a ticket to list all the ticket's predecessors.

This patch defines and uses IQueryPreprocessor to accomplish this extensible query system.  Then I implement this interface in my PM plugin:

{{{
#!py
class PMQueryHelper(Component):
    implements(IQueryPreprocessor)

    def __init__(self):
        self.pm = TracPM(self.env)


    # IQueryPreprocessor methods

    # Return the list of constraints handled by process_constraints()
    def custom_constraints(self):
        return ['root', 'goal', 'scheduled']

    # Turn custom constraints (e.g., root) into standard contraints (e.g., id)
    #
    # @param req the Trac web request object, may be None
    # @param constraints hash indexed by contraint name (e.g., 'root',
    #   'id').  Each entry is a list of values.
    #
    # @return updated constraints.
    def process_constraints(self, req, constraints):
        # constraint values are lists, TracPM.preQuery() expects
        # pipe-delimited strings.
        options = {}
        for constraint in self.custom_constraints():
            if constraint in constraints:
                options[constraint] = ""|"".join(constraints[constraint])
                del constraints[constraint]

        ids = list(self.pm.preQuery(options, req))

        if len(ids):
            if 'id' not in constraints:
                constraints['id'] = []
            for tid in ids:
                if tid not in constraints['id']:
                    constraints['id'].append(tid)
        
        return constraints
}}}

and the above `TicketQuery()` works.",chris.nelson.1022@…
4. Commented,11353,Hierarchical tree of repositories,version control/browser,1.0.1,next-major-releases,enhancement,normal,2013-11-05T06:49:28+01:00,2015-03-05T14:43:47+01:00,"For a big project it would be really nice to organize git repositories into the hierarchical tree. Like 

[[Image(http://dside.dyndns.org/projects/screenshots/trac-repotree-small.png)]]

I have hacked in a small patch for myself, but it will be really nice to have a proper implementation upstream.
http://dside.dyndns.org/projects/patches.dir/trac-ds-repotree.diff",csa@…
4. Commented,11398,Existing attachments can be overwritten without warning when uploading through trac-admin,admin/console,,next-major-releases,enhancement,normal,2013-12-13T18:50:27+01:00,2019-09-06T19:51:32+02:00,"For example, both commands return success:
{{{#!sh
$ trac-admin $env attachment add wiki:WikiStart file1
$ trac-admin $env attachment add wiki:WikiStart file1
}}}
We could perhaps prompt with an ""Are you sure you want to overwrite the existing file?"".",Ryan J Ollos
4. Commented,11446,Cummulative diff view for non-contiguous changesets,version control/changeset view,,next-major-releases,enhancement,normal,2014-01-15T01:17:13+01:00,2019-08-20T11:11:09+02:00,"When linking to a non-contiguous range of revisions from a TracLink such as [2,4:5], multiple //Show changes// buttons are displayed, and it doesn't seem to be possible to view a single diff encompassing all the changes. However, the latter view is usually what I'm looking for.",Ryan J Ollos
4. Commented,11619,Option to show whitespace and tab characters in file and diff view,version control/browser,,next-major-releases,enhancement,normal,2014-05-20T00:46:48+02:00,2016-03-23T15:15:20+01:00,"The TortoiseSVN diff view has the option to show whitespace and tab characters. It would be useful to have an option to do the same in the Trac file and diff views.

[[Image(TsvnDiffView.png)]]",Ryan J Ollos
4. Commented,11637,Hide versions and components,ticket system,,next-major-releases,enhancement,normal,2014-06-02T07:43:02+02:00,2019-12-05T03:55:09+01:00,"Closed milestones are only visible on the ticket form for users that possess `TICKET_ADMIN`. However, all Versions and Components are visible for all users, and the only way to hide them is to delete them. These lists can grown very long, and it would be nice to narrow the list that is seen from the ticket form, while keeping the entries on the Query form.",Ryan J Ollos
4. Commented,11683,Dynamic table sorting in Admin tables,admin/web,,next-major-releases,enhancement,normal,2014-07-18T00:10:26+02:00,2021-10-28T08:09:28+02:00,"Allow the **Components**, **Milestones**, **Repositories** and **Versions** (and possible **Enum**) tables to be sorted. This was mentioned in #10994. For inspiration, see th:#10876 and th:TableSorterPlugin.",Ryan J Ollos
4. Commented,11937,Improve suggestion of similarly named pages,wiki system,,next-major-releases,enhancement,normal,2015-01-26T23:59:49+01:00,2019-09-06T19:51:32+02:00,"Trac suggests similarly named pages when navigating to a non-existent page with a CamelCase name, but the suggestion is naive. Trac will suggest CamelCase if CamelCas is entered, but not if CameCase is entered. The code that generates suggestions is [browser:/tags/trac-1.0.3/trac/wiki/web_ui.py@:636-638#L618 here]. The aim of this ticket will be to improve the suggestions.

The [browser:/tags/trac-1.0.3/trac/util/text.py@:703#L703 levenshtein_distance] function used by [browser:/tags/trac-1.0.3/trac/admin/api.py@:152#L140 AdminCommandManager] may be useful in implementing this ticket.",Ryan J Ollos
4. Commented,12662,"TicketQuery macro, add title and select parameter for table format",query system,1.2,next-major-releases,enhancement,normal,2017-01-16T09:45:16+01:00,2019-09-06T19:51:32+02:00,"Currently the TicketQuery macro with format=table always has a titlebar like ""Results (1 - 10 of 55)"". Please make this an option:
* title: true/false (defaults to **true**)


Then it's annoying to have the page selection twice on top and on bottom.
Please make that an option:
* select: top/bottom/none (defaults to **bottom**)

== Example of the current implementation of the macro:

[[TicketQuery(max=3,order=modified,modified=30daysago..,desc=1,format=table,col=summary|modified|reporter|owner)]]",Massimo <massimo.b@…>
4. Commented,12685,"Add action menu for creating, deleting and modifying resources or parts thereof",general,1.3dev,next-major-releases,enhancement,normal,2017-02-11T15:06:50+01:00,2019-09-06T19:54:30+02:00,"With this menu, it would be easier to perform actions on resources (wiki page, ticket #10948, ticket comment #12671).

The idea would be to remove from the contextual navigation the link what's not a navigation to another resource (e.g. wiki history is rather an action on the resource itself, show me the page's history), and to gather the bottom of the page buttons (Edit, Delete, Rename) into a contextual menu at the top of the resource, a bit like what we have now for the ticket comment.


Copied from [ticket:12671#comment:2]:
----
Replying to [ticket:12671 Jun Omae]:
> ... the buttons are shown only when cursor is hovered in property changes box. As the results, it is difficult to click the buttons.

But also the whole <h3> line as well, in particular the `comment:n` part which is just above the buttons. But I think you're right anyway, it's not as obvious as it should be.


If you remember my idea presented recently on trac-dev about a ""page menu"" (gmessage:trac-dev:eVU0q8Tatgo/pokz_FIyEQAJ), I think it could be transposed here as well: we would have a permanent menu reminder character/icon (▤, ≣), which would show the list of actions for the comment when hovered / clicked.

Something like:
{{{#!html
<div class=""change"" id=""trac-change-1-1485283996227168"">
      
  <h3 class=""change"" id=""comment:n"">
    <span class=""threading"">
      <span class=""cnum"">
        <a href=""#comment:n"">comment:n</a>
      </span>
    </span>
    Modified by Author
  </h3>

  <div class=""trac-change-panel"">
    <span style=""float:right; color: #aaa; font-size:120%"">≣</span>
    <div class=""trac-ticket-buttons"">
      <form id=""reply-to-comment-n"" method=""get"" action=""#comment"">
        <div class=""inlinebuttons"">
          <input type=""submit"" value=""↳"" >
        </div>
      </form>
      <form id=""edit-comment-n"" method=""get"" action=""#comment:n"">
        <div class=""inlinebuttons""> 
          <input type=""submit"" value=""✎"" >
        </div>
      </form>
      <form action=""#"" method=""get"">
        <div class=""inlinebuttons"">
          <input class=""trac-delete"" type=""submit"" value=""–"">
        </div>
      </form>
    </div>
  </div>
</div>
}}}

\\
----
",Christian Boos
4. Commented,4474,diffing two large trees results in a massive list with a lot of empty links,version control/changeset view,devel,next-stable-1.6.x,defect,normal,2006-12-29T19:16:59+01:00,2023-09-23T22:33:10+02:00,"If I run a manual diff of two large directories in different branches (600 files, 15MB), instead of directly showing all the diffs, it displays a list of links to the diffs of individual files.

That wouldn't be too bad (it's probably intended to reduce browser load but I'd like to be able to customize the behavior somehow - help!), but in the above case, many of the links lead to empty diffs, which is obviously wrong. Please fix it so it only links to non-empty diffs.",theultramage@…
4. Commented,5549,"Improve diff message ""no files""",version control/changeset view,devel,next-stable-1.6.x,defect,normal,2007-06-19T15:10:30+02:00,2023-09-23T22:33:10+02:00,"When a changeset contains only minor modifications (blank line, whitespace changes ...) and the matching ""ignore"" checkboxes are selected, Trac outputs a confusing message:

'''(No files)'''

whereas the actual message should be something like ""''(No visible changes)''"", as the changeset does contain files, but the selected diff options lead to an empty diff.

This is confusing especially as Trac conveniently keeps track of the user diff preferences from one diff to another - which implies that a user can get a ""''(No files)''"" message as soon as he wants a diff.


",Emmanuel Blot
4. Commented,5720,Trac ticket query should be case insensitive.,report system,,next-stable-1.6.x,defect,normal,2007-07-17T09:24:34+02:00,2023-09-23T22:33:10+02:00,"The current implementation of the Trac ticket query system is case sensitive, which is very frustrating.

Searching for [query:owner=Jonas Owner=Jonas] does not yield the same results as searching for [query:owner=jonas Owner=jonas]
(whereas [query:owner=~Jonas Owner=~Jonas] and [query:owner=~jonas Owner=~jonas] do).

This makes it very hard to find your own tickets if your user name is not lowercase, and puts up a lot  of problems finding whether there is already an entered ticket on a specific subject.

The fixes in [4435] and #4363 do not fix this issue.",Lachezar Dobrev
4. Commented,6739,Trac svn-python mismatch with Apache 2.2 under Windows,web frontend/mod_python,0.11b1,next-stable-1.6.x,defect,normal,2008-01-30T18:35:26+01:00,2023-09-23T22:33:10+02:00,"If you use xampp apache 2.2 and trac 11b1, you have to use the svn-python binding from
this page (binding for apache 2.0)
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&expandFolder=91&folderID=74
Subversion recommended this binding
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=8100
But in this case I have an unsynchronized repository.
error-stack:
{{{
2008-01-30 12:21:21,890 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
  File ""C:\Python25\Lib\site-packages\trac\versioncontrol\svn_fs.py"", line 251, in __init__
    _import_svn()
  File ""C:\Python25\Lib\site-packages\trac\versioncontrol\svn_fs.py"", line 69, in _import_svn
    from svn import fs, repos, core, delta
  File ""C:\Python25\Lib\site-packages\svn\fs.py"", line 19, in <module>
    from libsvn.fs import *
  File ""C:\Python25\Lib\site-packages\libsvn\fs.py"", line 29, in <module>
    import core
  File ""C:\Python25\Lib\site-packages\libsvn\core.py"", line 5, in <module>
    import _core
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.
}}}
So I go back to use the binding for apache 2.0.
If you follow the install-guide from Trac, you won't realize this mistake, because the link brings you to subversion/apache 2.0.
Please resolve this mismatch!

",jschmidt@…
4. Commented,7486,wrong space in diff output,version control/changeset view,0.11-stable,next-stable-1.6.x,defect,normal,2008-07-30T14:50:39+02:00,2023-09-23T22:33:10+02:00,"i'm not sure if this applies to other mimetype syntax highligher

See URL: http://linuxfire.com.cn/BadGirl/changeset/290

the new ""num0_254"" is EXPECTED to be align to num1_254 but it is ACTUALLY 1 char off and align to ""(""

actual code output:
{{{
                        <th>114</th><th> </th><td class=""l""><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <del>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </del> num0_254,</span> </td>
}}}
expected code output
{{{
                        <th>114</th><th> </th><td class=""l""><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <del>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </del>&nbsp;num0_254,</span> </td>
}}}

please note the difference is, ""</del> "" is changed to ""</del>&nbsp;""

tech reason: although space following &nbsp; is recognized as space, e.g.: ""&nbsp; "" is same as ""&nbsp;&nbsp;"", but space following the ""<tag>"" is not. ""</del> "" should be escape as ""</del>&nbsp;""",moo
4. Commented,8436,search results won't show matches from ticket comments,search system,0.11-stable,next-stable-1.6.x,defect,normal,2009-07-02T12:54:18+02:00,2023-09-23T22:33:10+02:00,"Noticed while testing the case sensitivity of search: tickets can be correctly retrieved when looking for words written in ticket comments, but the excerpt shown in the search results will never show the actual matches.",Christian Boos
4. Commented,8708,Operational Error: database is locked,database backend,0.11-stable,next-stable-1.6.x,defect,normal,2009-10-01T10:54:11+02:00,2023-09-23T22:33:10+02:00,"Today we hit the database locked error again. After reading on IRC earlier this week that this particular error was fixed, we upgraded to the trac 0.11.x stable branch, hoping it would be fixed, but unfortunately it seems it isn't..

So as described in #3446, I'm opening a new ticket and attaching as much info as I can find.

{{{
#!html
        <div id=""systeminfo"">
          <h2>System Information</h2>
          <table class=""listing"">
            <tr>
              <th>Trac:</th>
              <td>0.11.6stable-r8631</td>
            </tr><tr>

              <th>Python:</th>
              <td>2.5.4 (r254:67916, Dec 25 2008, 15:04:44)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]</td>
            </tr><tr>
              <th>setuptools:</th>
              <td>0.6c9</td>
            </tr><tr>
              <th>SQLite:</th>

              <td>3.6.13</td>
            </tr><tr>
              <th>pysqlite:</th>
              <td>2.5.5</td>
            </tr><tr>
              <th>Genshi:</th>
              <td>0.6dev-r1064</td>

            </tr><tr>
              <th>mod_wsgi:</th>
              <td>2.4</td>
            </tr><tr>
              <th>Pygments:</th>
              <td>1.0</td>
            </tr><tr>

              <th>Subversion:</th>
              <td>1.5.7 (r36142)</td>
            </tr><tr>
              <th>RPC:</th>
              <td>1.0.6</td>
            </tr>
          </table>

        </div>
}}}

This is the error I grabbed from the Apache log, not sure if it's related:

{{{
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4] mod_wsgi (pid=11176): Exception occurred processing W                                          SGI script '/var/www/wsgi/trac.wsgi'.
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4] Traceback (most recent call last):
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/main.                                          py"", line 415, in dispatch_request
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     return _dispatch_request(req, env, env_error)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/main.                                          py"", line 523, in _dispatch_request
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     req.send_error(exc_info, status=500, env=env, dat                                          a=data)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/api.p                                          y"", line 396, in send_error
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     exc_info)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/main.                                          py"", line 445, in _dispatch_request
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     dispatcher.dispatch(req)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/main.                                          py"", line 230, in dispatch
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     req.send(output, content_type or 'text/html')
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/api.p                                          y"", line 359, in send
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     self.write(content)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]   File ""/usr/local/src/trac-0.11stable/trac/web/api.p                                          y"", line 463, in write
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4]     self._write(data)
[Thu Oct 01 10:43:26 2009] [error] [client 77.247.9.4] IOError: failed to write data
}}}

And I attached a screenshot of the error.",Thijs Triemstra <lists@…>
4. Commented,9528,Failed to highlight active mainnav item if `RepositoryManager` is enabled,web frontend,0.12,next-stable-1.6.x,defect,normal,2010-07-28T16:10:15+02:00,2023-09-23T22:33:10+02:00,"
I am experiencing an odd behavior using Trac and [http://trac-hacks.org/wiki/ThemeEnginePlugin ThemeEnginePlugin] . The problem is that `active` CSS class is not added to active mainnav item. Everything works ok if I disable `RepositoryManager` . I've tried to find the exact location where the problem happens , but without success . The only things I can say so far are :

  - `handler` var is set to `None` when calling `Chrome.prepare_data` ...
  - ... therefore `active` var is also set to `None` , and item is not
    highlighted in mainnav ...
  - ... the strange fact is that at that time , the partial object has
    already been installed for `chosen_handler` inside
    `RequestDispatcher.dispach` since `req.callbacks['chrome'].keywords.items()`
    contains the correct binding for `handler` key.
  - the signature of `RepositoryManager.post_process_request` is
    `post_process_request(self, req, template, content_type)` ,
    is it suitable to be used with Genshi templates ?

PS: Posted here 'cause I think there's a problem with Trac rather than the plugin .
",olemis+trac@…
4. Commented,9771,Undocumented/unintended?  Max preview size limited by wiki max page size,attachment,0.12-stable,next-stable-1.6.x,defect,normal,2010-11-04T20:21:06+01:00,2023-09-23T22:33:10+02:00,"I'd bumped the attachment size limit on our local Trac instance up from the default 256K to 1M, but another developer noted that when he uploaded a PNG image that was >256K, the attachment link still stated ""HTML preview not available, since the file size exceeds 262144 bytes"".

Raising the apparently-unrelated [wiki] max_size configuration item to 1M solves the problem.  So it looks to me like the max previewable size is actually the lower of (mimeviewer.max_preview_size, wiki.max_size).  Whether that's what was intended is another issue...
",charlesc-web-feedback-trac@…
4. Commented,9971,"cannot unsubscribe from bug, no way, no how",notification,0.12,next-stable-1.6.x,defect,normal,2011-01-12T03:27:07+01:00,2023-09-23T22:33:10+02:00,"As you can see in
http://trac.transmissionbt.com/ticket/532#comment:75
not me, a mere user, nor him, an administrator, can unsubscribe me from that bug, no way, no how.
",jidanni@…
4. Commented,10339,"Created, Modified and Ticket columns are not translated in SQL reports",general,0.12dev,next-stable-1.6.x,defect,normal,2011-09-05T22:44:23+02:00,2023-09-23T22:33:10+02:00,In custom queries these columns are translated.,arkinform
4. Commented,11046,Reloading a page in the source browser redirects to another file,version control/browser,1.0,next-stable-1.6.x,defect,normal,2013-02-03T16:18:37+01:00,2023-09-23T22:33:10+02:00,"It's hard to explain this one, so I'll jump directly to the steps to reproduce:
 1. Go to http://trac.edgewall.org/browser/trunk/trac
 2. Click a non-link area on the page
 3. Hover the ""admin"" directory
 4. Reload the page using the web browser's keyboard shortcut (ctrl-r or cmd-r)
 5. Browser navigates to http://trac.edgewall.org/browser/trunk/trac#admin

Keep hovering and reloading, it will navigate to files and folders.

Since this behavior is not documented (or is it?), and I find it annoying, I assume it's a bug.

My site is running v1.0, hence the report below. For some reason I can't find the version number of YOUR site.",noamtm@…
4. Commented,11445,Empty lines are invisible when hiding line column on browser view,version control/browser,1.0-stable,next-stable-1.6.x,defect,normal,2014-01-14T17:33:00+01:00,2023-09-23T22:33:10+02:00,"When hiding line column on browser view, empty lines would be invisible. Also, empty lines cannot be copied to clipboard if line column is hide. The text without empty lines would be copied.

[[Image(visible-line-column.png)]] [[Image(hidden-line-column.png)]]",Jun Omae
4. Commented,11612,ability to set and retain preferred comment order,ticket system,1.0.1,next-stable-1.6.x,defect,normal,2014-05-14T04:00:09+02:00,2023-09-23T22:33:10+02:00,"r10989 added the OldestFirst/NewestFirst/Threaded option of viewing comments, which I generally like.

However if I want something other than the default behavior, there does not seem to be a way to save my preference: I need to keep changing it on every ticket.

It would be nice to specify my default-comment-sort-order in ""Preferences"".

Also, the ticket-comment-order CHANGES automatically when I add a comment or reply-to a comment.  If I select ""oldest first"" then reply to a comment, it auto-changes to ""newest first"".  Is this intentional?

I'm on Windows 7.  I typically use Firefox (v29); but verified the same behavior in Chrome (v34) and Internet Explorer (v10)

Trac 1.0.1 using standalone 'tracd' ; Python 2.5.4 on Windows 2008 R2",jeremy.j.dunn@…
4. Commented,12969,query paging problem when num_items <= max and page > 1,query system,,next-stable-1.6.x,defect,normal,2018-01-03T16:25:08+01:00,2023-09-23T22:33:10+02:00,"Suppose a query generates 20 results. max=20 is specified in the query string. When page=n (n>1) is also specified, the query will always return the 20 results rather than ""beyond the number of pages"" Error.

It's ok with web UI, so not sure this is a bug or feature. But it does bring trouble to other components which rely on query system, such as XMLRPC plugin. Suppose you query through xmlrpc with max=20&page=1 and 20 results returned, then query with max=20&page=2 but another 20 results returned, which is not quite reasonable.

How to reproduce:
Visit here: [https://trac.edgewall.org/query?summary=~query+paging+problem&page=100&max=1]

Related code:
{{{ 
        if self.num_items <= self.max:
            self.has_more_pages = False

        if self.has_more_pages:
            max = self.max
            if self.group:
                max += 1
            sql += "" LIMIT %d OFFSET %d"" % (max, self.offset)
            if (self.page > int(ceil(float(self.num_items) / self.max)) and
                self.num_items != 0): 
                #this should not depend of has_more_pages condition
                raise TracError(_(""Page %(page)s is beyond the number of ""
                                  ""pages in the query"", page=self.page))
 }}}
",cauly@…
4. Commented,10730,Provide Git hooks to call trac-admin,plugin/git,,next-stable-1.6.x,enhancement,normal,2012-06-19T07:07:03+02:00,2023-09-23T22:33:10+02:00,"As mentioned on TracGit#hooks and as discussed in #10594, we should provide a post-receive hook script for Git to  call trac-admin.

=== References
* ​th:GitPlugin#post-receivehookscripts lists several such shell scripts.
* We provide such hooks for Subversion as shell scripts in `contrib` ([browser:trunk/contrib/trac-svn-hook trac-svn-hook] / [browser:trunk/contrib/trac-svn-post-commit-hook.cmd trac-svn-post-commit-hook.cmd]).
* We provide such hooks for Mercurial as Python scripts in the plugin's directory (#10225 / [browser:plugins/0.13/mercurial-plugin/tracext/hg/hooks.py hooks.py]).",Peter Suter
4. Commented,10870,"Download in other formats: Plain Text Link in 1.0 RC Used to view in browser, now downloads file",web frontend,1.0-stable,next-stable-1.6.x,enhancement,normal,2012-09-26T19:20:40+02:00,2023-09-23T22:33:10+02:00,"I made [https://groups.google.com/forum/?fromgroups=#!topic/trac-users/cN6nGKDVzJw a post to the mailing list] after I updated Trac and the behavior of the “Plain Text” link under “Download in other formats” changed.

The link used to display the wiki markup in the browser, but now it causes my browser to download a text file.

The new behavior logically make more sense as it does say **download**, however there are others, such as myself, that prefer the old behavior. Should we wish to download it's still possible.

On the mailing list I was instructed to open a ticket regarding this.

Thanks.",miked@…
4. Commented,12575,Please improve documentation at TracNotification#Customizingthee-mailcontent,notification,,next-stable-1.6.x,enhancement,normal,2016-08-31T17:23:51+02:00,2023-09-23T22:33:10+02:00,"From TracNotification#Customizingthee-mailcontent it's not immediately obvious that the template can reference arbitrary ticket fields; in particular, the example given to better support Outlook actually implies that the best way to get at them is to parse them out of `ticket_props`.

According to comment:7:ticket:9494, the template can just reference e.g. `$ticket.product`.

I think the documentation should enumerate the variables that are available to the template, and that the Outlook example should be updated to use such direct references (because, as reported in #9494, the example doesn't work when text wrapping occurs in the `ticket_props` table).",korn-trac.edgewall.org@…
4. Commented,12999,Render closed milestones in ticket query strike-through,query system,1.2.1,next-stable-1.6.x,enhancement,normal,2018-03-26T14:38:10+02:00,2023-09-23T22:33:10+02:00,"When embedding a ticket query like this

{{{
[[TicketQuery(component=MyApp&group=milestone,format=progress)]]
}}}

can closed milestones be rendered strike-through, consistent with milestones in other contexts and tickets in general?
",joerg.pleumann@…
4. Commented,6953,trac has locale problem,general,0.10.4,not applicable,defect,normal,2008-03-07T01:14:28+01:00,2020-05-20T08:40:49+02:00,"There is a general problem for Turkish for the following conversion:

{{{
i->İ
ı->I
}}}
----

MOD_PYTHON ERROR

{{{
ProcessId:      7382
Interpreter:    'main_interpreter'

ServerName:     'trac.isikun.edu.tr'
DocumentRoot:   '/srv/www'

URI:            '/ifsaet/login'
Location:       '/'
Directory:      None
Filename:       '/srv/www/ifsaet'
PathInfo:       '/login'

Phase:          'PythonHandler'
Handler:        'trac.web.modpython_frontend'

Traceback (most recent call last):

  File ""/usr/lib/python2.5/site-packages/mod_python/importer.py"", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File ""/usr/lib/python2.5/site-packages/mod_python/importer.py"", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File ""/usr/lib/python2.5/site-packages/mod_python/importer.py"", line 1128, in _execute_target
    result = object(arg)

  File ""/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py"", line 87, in handler
    gateway.run(dispatch_request)

  File ""/usr/lib/python2.5/site-packages/trac/web/wsgi.py"", line 87, in run
    response = application(self.environ, self._start_response)

  File ""/usr/lib/python2.5/site-packages/trac/web/main.py"", line 391, in dispatch_request
    env = _open_environment(env_path, run_once=run_once)

  File ""/usr/lib/python2.5/site-packages/trac/web/main.py"", line 58, in _open_environment
    env_cache[env_path] = open_environment(env_path)

  File ""/usr/lib/python2.5/site-packages/trac/env.py"", line 462, in open_environment
    env = Environment(env_path)

  File ""/usr/lib/python2.5/site-packages/trac/env.py"", line 142, in __init__
    load_components(self)

  File ""/usr/lib/python2.5/site-packages/trac/loader.py"", line 140, in load_components
    __import__(module)

  File ""/usr/lib/python2.5/site-packages/trac/ticket/web_ui.py"", line 27, in <module>
    from trac.ticket.notification import TicketNotifyEmail

  File ""/usr/lib/python2.5/site-packages/trac/ticket/notification.py"", line 25, in <module>
    from trac.notification import NotifyEmail

  File ""/usr/lib/python2.5/site-packages/trac/notification.py"", line 17, in <module>
    import smtplib

  File ""/usr/lib/python2.5/smtplib.py"", line 49, in <module>
    from email.base64MIME import encode as encode_base64

  File ""/usr/lib/python2.5/email/__init__.py"", line 79, in __getattr__
    __import__(self.__name__)

ImportError: No module named base64mIme
}}}",alperkanat@…
4. Commented,10421,RuntimeError: instance.__dict__ not accessible in restricted mode,general,0.11.7,not applicable,defect,normal,2011-10-18T10:40:05+02:00,2012-01-19T19:31:45+01:00,"
==== How to Reproduce ====

While doing a GET operation on `/ticket/.assembla.com/pepperflow/ticket/1098`, Trac issued an internal error.

''(please provide additional details here)''



User Agent was: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.904.0 Safari/535.7`

==== System Information ====

|| '''Trac''' || `0.11.7` ||
|| '''Python''' || `2.6.6 (r266:84292, Dec 26 2010, 22:48:11) ` [[br]] `[GCC 4.4.5]` ||
|| '''setuptools''' || `0.6` ||
|| '''SQLite''' || `3.7.3` ||
|| '''pysqlite''' || `2.4.1` ||
|| '''Genshi''' || `0.6` ||
|| '''mod_wsgi''' || `3.3 (WSGIProcessGroup  WSGIApplicationGroup %{GLOBAL})` ||
|| '''Pygments''' || `1.3.1` ||
|| '''jQuery:''' || `1.2.6` ||

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/web/main.py"", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/web/main.py"", line 176, in dispatch
    chosen_handler)
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/web/main.py"", line 296, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/versioncontrol/api.py"", line 86, in pre_process_request
    self.get_repository(req.authname).sync()
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/versioncontrol/api.py"", line 132, in get_repository
    for connector in self.connectors
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/core.py"", line 70, in extensions
    return filter(None, [component.compmgr[cls] for cls in extensions])
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/core.py"", line 207, in __getitem__
    component = cls(self)
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/core.py"", line 111, in maybe_init
    init(self)
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/versioncontrol/svn_fs.py"", line 266, in __init__
    Pool()
  File ""/usr/local/breakout-rest-auth/eggs/Trac-0.11.7-py2.6.egg/trac/versioncontrol/svn_fs.py"", line 156, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File ""/usr/lib/pymodules/python2.6/svn/core.py"", line 241, in svn_pool_create
    return Pool(parent_pool)
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 1572, in svn_pool_create
    return _core.svn_pool_create(*args)
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 5658, in _wrap
    obj.set_parent_pool(self)
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 5571, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 5559, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 44, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File ""/usr/lib/pymodules/python2.6/libsvn/core.py"", line 39, in _swig_setattr_nondynamic
    self.__dict__[name] = value
RuntimeError: instance.__dict__ not accessible in restricted mode

}}}
    ",kjvdbent
4. Commented,10896,Request-URI Too Large when submitting a Bug report,general,,not applicable,defect,normal,2012-10-12T13:17:04+02:00,2012-10-12T14:46:46+02:00,"It all begins with...

{{{
Oops…
Trac detected an internal error:
RuntimeError: maximum recursion depth exceeded
This is probably a local installation issue.
}}}

Yeah - sure. You wish. Well, if I try to create a new ticket by clicking on the provided create button

{{{
Otherwise, please [CREATE]  a new bug report describing the problem and explain how to reproduce it.
}}}

I get

{{{
Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
}}}

from trac.edgewall.org

*Boom* No Bugreport. So I'll write it manually. ;-)

System information:

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1255.0 Safari/537.8

Trac	0.12.3
Babel	0.9.6
CustomFieldAdmin	0.2.6-r10460
Docutils	0.8.1
Genshi	0.6
mod_python	3.3.1
Pygments	1.5
pysqlite	2.6.3
Python	2.7.2 (default, Apr 1 2012, 02:49:31) [GCC 4.5.3]
pytz	2011n
setuptools	0.6
SQLite	3.7.11
Subversion	1.6.17 (r1128011)
jQuery	1.4.4



",info@…
4. Commented,11146,No Trac environment found at /var/www [Errno 2] No such file or directory: '/var/www/VERSION',web frontend,,not applicable,task,normal,2013-04-10T16:46:20+02:00,2019-05-21T07:16:35+02:00,"I configured an environment /var/trac.
I configured trac to work with apache2.
When I log in to my trac page, the first thing I see is

{{{
No Trac environment found at /var/www [Errno 2] No such file or directory: '/var/www/VERSION'
}}}

The server was looking in a wrong directory for trac environment.
If I ignore the error, I can proceed to the real page. But the error is so annoying.
Any information you can provide to resolve the issue?",tsrjtsrj@…
4. Commented,10035,Possibility to apply rejected changes from log,plugin/spamfilter,,plugin - spam-filter,enhancement,normal,2011-02-18T11:16:04+01:00,2014-08-06T10:11:58+02:00,Currently changes in log are only for training purposes. There should be a possibility to reapply rejected changes later.,Dirk Stöcker
4. Commented,11025,Multi-project support,general,,topic-multiproject,enhancement,normal,2013-01-23T12:05:02+01:00,2018-05-06T18:18:57+02:00,"This is a fresh start for #130, which grew too big... While long delayed, implementing multi-project support in Trac is still seen as a valuable goal.

To quote the original ticket:
 Support multiple projects with different sets of components, version numbers, and milestones in the ticketing system, and different repositories in the browser.

 This is different from TracMultipleProjects because to provide e.g. a merged Timeline and Roadmap, the different projects would need to be in the same database

Related proposals:
 - MultiProject

Alternative solutions, as Trac plugins:
 - ​TH:wiki:SimpleMultiProjectPlugin…
 - https://projects.developer.nokia.com/multiproject

Alternative solutions (... or source of inspiration!):
 - RedMine, ChiliProject, ...
 - GitHub, BitBucket, ...
",Christian Boos
4. Commented,2064,Timeline WikiFormatting mis-parses WikiLinks with aliases.,wiki system,devel,topic-wikiengine,defect,normal,2005-09-14T18:38:11+02:00,2020-05-08T04:21:26+02:00,"In the timeline, the snippet of text that supports WikiFormatting will mis-parse a [wiki:TracLinks link] of the format: {{{[wiki:foobar foo]}}}.

If the literal text ""{{{[wiki:foobar foo]}}}"" is longer than the line permits, it will produce:

||Blah blah blah [wiki:foobar ...||

when it could easily fit

||Blah blah blah [wiki:foobar foo]||

into the line.",chandlerc@…
4. Commented,3970,Wiki parsing error when using exclamation at the end of phrase,wiki system,0.10,topic-wikiengine,defect,normal,2006-10-19T16:35:53+02:00,2015-11-23T10:56:59+01:00,"When using this bold text:
{{{
'''testing!'''
}}}
I see this:

 '''testing!'''

It also happens with italics:

 ''testing!''
",sid@…
4. Commented,4140,Merge OutlineFormatter into Formatter,wiki system,0.10.1,topic-wikiengine,defect,normal,2006-11-12T19:49:14+01:00,2015-05-26T20:59:21+02:00,"Hi,

Macros like the !PageOutline make use of the !OutlineFormatter to build a table of contents. But it seems awfully inefficient that you'll have to run through the page twice in order to do just that. How about having the standard Formatter build the outline[] array just like the !OutlineFormatter does, so that one could refer to it at anytime during a macro? It'd be a really simple change too, merging both behaviours into one class. Then you'd just call the macros at the end of the wiki pages wherever you wanted an outline to be generated.

I'd be glad to submit this, if you require an extra hand,
- Jorge Pereira",jpereira@…
4. Commented,5059,PageOutline macro is hardcoded to truncate long names,wiki system,,topic-wikiengine,defect,normal,2007-03-29T18:37:41+02:00,2015-05-26T20:59:21+02:00,"when using `PageOutline` as of 0.10, long heading names are truncated, with an ellipsis ""..."" at the end.  This behavior should be removed, or at least an option added to `PageOutline` so that its configurable.

matt good refers to [changeset:3408] as the location of the change, where the call to `_parse_heading()` should get `False` as its last argument.
",mike_mp@…
4. Commented,10523,TitleIndex: add option 'show_title' to display first level heading,wiki system,0.12dev,topic-wikiengine,enhancement,normal,2012-01-12T21:36:10+01:00,2015-09-03T12:29:23+02:00,"Besides some bug fixes, #8925 proposed a nice enhancement idea for the `[[TitleIndex]]` macro:
 //Like the TOCMacro does, the TitleIndex macro could display the first level heading in addition to the page name when a `show_title` parameter is given.//

However I think it would be prudent performance-wise to **not** search for the title ""dynamically"" in all pages. Rather I think this should depend on some planned features for the Wiki (#4431 + explicit storage of the title in a //title// property, see ticket:8925#comment:9).
",Christian Boos
4. Commented,10734,``` as a {{{ alternative,wiki system,,topic-wikiengine,enhancement,normal,2012-06-23T10:32:57+02:00,2014-02-18T00:51:23+01:00,"It is not that [http://github.github.com/github-flavored-markdown/ GitHub] uses them, it is that {{{```}}} are easier to type than {{{{{{}}} and `}}}`",anatoly techtonik <techtonik@…>
4. Commented,9259,Translations to Esperanto [eo],i18n,0.12dev,translations,enhancement,normal,2010-04-22T10:01:56+02:00,2020-05-20T08:40:13+02:00,"This ticket is for coordination of esperanto translations for Trac. The message.po file will soon be attached - I'm still testing the translations. But there are two small issues with localizing the workflow part:
  * How to get an initial state other then ""new""
  * The small words ""as"" and ""to"" in the Actions should be translatable
(see attached screenshots)",diestel@…
4. Commented,5469,Translation of Trac to Spanish/Español [es_ES],i18n,,translations,task,normal,2007-06-11T13:13:25+02:00,2012-10-27T09:36:15+02:00,This ticket should be used to coordinate the translation to Spanish.,asmodai@…
4. Commented,5470,Translation of Trac to Portuguese/Português [pt_PT],i18n,,translations,task,normal,2007-06-11T13:32:17+02:00,2010-01-26T22:55:40+01:00,This ticket should be used to coordinate the translation to Portuguese.,asmodai@…
4. Commented,5471,Translation of Trac to Japanese/日本語 [ja_JP],i18n,,translations,task,normal,2007-06-11T13:49:06+02:00,2013-01-28T04:20:08+01:00,This ticket should be used to coordinate the translation to Japanese/日本語.,asmodai@…
4. Commented,5472,Translation of Trac to Chinese/中文 [zh_CN],i18n,devel,translations,task,normal,2007-06-11T13:51:51+02:00,2019-01-24T20:29:43+01:00,This ticket should be used to coordinate the translation to Chinese.,asmodai@…
4. Commented,5473,Translation of Trac to Dutch/Nederlands [nl_NL],i18n,,translations,task,normal,2007-06-11T13:54:26+02:00,2012-03-06T19:54:18+01:00,This ticket should be used to coordinate the translation to Dutch. See source:trunk/trac/locale/nl/LC_MESSAGES/messages.po,asmodai@…
4. Commented,5474,Translation of Trac to French/Français [fr_FR],i18n,devel,translations,task,normal,2007-06-11T14:30:01+02:00,2020-07-16T20:17:04+02:00,This ticket should be used to coordinate the translation to French.,asmodai@…
4. Commented,5475,Translation of Trac to German/Deutsch [de_DE],i18n,,translations,task,normal,2007-06-11T14:31:15+02:00,2017-06-26T18:09:42+02:00,This ticket should be used to coordinate the translation to German.,asmodai@…
4. Commented,5476,Translation of Trac to Portuguese/Português [pt_BR],i18n,,translations,task,normal,2007-06-11T16:42:57+02:00,2016-10-11T03:01:00+02:00,"This ticket should be used to coordinate the translation to Portuguese.
See also TracTermsPtBr.",asmodai@…
4. Commented,5477,Translation of Trac to Korean/한국어 [ko_KR],i18n,,translations,task,normal,2007-06-11T16:45:15+02:00,2013-02-11T13:25:06+01:00,This ticket should be used to coordinate the translation to Korean/한국어. See also TracTermsKo.,asmodai@…
4. Commented,5478,Translation of Trac to Russian/Русский [ru_RU],i18n,devel,translations,task,normal,2007-06-11T16:46:57+02:00,2020-02-19T03:40:39+01:00,This ticket should be used to coordinate the translation to Russian/Русский. See also TracTermsRu.,asmodai@…
4. Commented,5481,Translation of Trac to Greek/Ελληνικά [el_GR],i18n,,translations,task,normal,2007-06-11T16:53:49+02:00,2010-02-04T10:16:10+01:00,This ticket should be used to coordinate the translation to Greek/Ελληνικά. See also TracTermsEl and source:trunk/trac/locale/el_GR/LC_MESSAGES/messages.po. ,asmodai@…
4. Commented,5482,Translation of Trac to Traditional Chinese/正體中文  [zh_TW],i18n,,translations,task,normal,2007-06-11T16:57:31+02:00,2020-05-20T08:40:13+02:00,This ticket should be used to coordinate the translation to Traditional Chinese/正體中文. See also TracTermsZhTw and source:trunk/trac/locale/zh_TW/LC_MESSAGES/messages.po,asmodai@…
4. Commented,5486,Translation of Trac to Hungarian/Magyar [hu_HU],i18n,,translations,task,normal,2007-06-11T19:08:16+02:00,2010-11-20T23:05:53+01:00,This ticket should be used to coordinate the translation to Hungarian/Magyar. See also TracTermsHu.,asmodai@…
4. Commented,5489,Translation of Trac to Italian/Italiano [it_IT],i18n,,translations,task,normal,2007-06-11T19:30:45+02:00,2013-01-27T18:46:18+01:00,This ticket should be used to coordinate the translation to Italian. See also TracTermsIt.,asmodai@…
4. Commented,6382,Translation of Trac to Farsi/پارسی [fa_IR],i18n,devel,translations,task,normal,2007-11-20T17:04:21+01:00,2010-02-04T10:34:09+01:00,"This ticket should be used to coordinate the translation to Farsi.

See also TracTermsFa.",Jeroen Ruigrok van der Werven
4. Commented,7177,Translation of Trac to Norwegian/bokmål [nb_NO],i18n,devel,translations,task,normal,2008-04-30T13:26:24+02:00,2010-06-12T19:10:37+02:00,"This ticket should be used to coordinate the translation to Norwegian/bokmål.

See source:trunk/trac/locale/nb_NO/LC_MESSAGES/messages.po",Jeroen Ruigrok van der Werven
4. Commented,7178,Translation of Trac to Finnish/suomi [fi_FI],i18n,devel,translations,task,normal,2008-04-30T13:30:00+02:00,2010-11-05T11:50:59+01:00,"This ticket should be used to coordinate the translation to Finnish/suomi.

See source:trunk/trac/locale/fi_FI/LC_MESSAGES/messages.po",Jeroen Ruigrok van der Werven
4. Commented,7186,Translation of Trac to Argentinian Spanish/español de Argentina [es_AR],i18n,,translations,task,normal,2008-05-01T20:30:34+02:00,2012-09-27T22:55:27+02:00,This ticket should be used to coordinate the translation to Argentian Spanish/español de Argentina.,Jeroen Ruigrok van der Werven
4. Commented,7353,Translation of Trac to Catalan/Català [ca],i18n,0.12dev,translations,task,normal,2008-06-18T17:22:18+02:00,2021-08-02T11:03:09+02:00,This ticket should be used to coordinate the translation to Catalan/Català. See also source:trunk/trac/locale/ca_ES/LC_MESSAGES/messages.po,tom.niemi@…
4. Commented,7578,Translation of Trac to Estonian/eesti [et_EE],i18n,,translations,task,normal,2008-09-01T13:30:09+02:00,2020-05-20T08:40:13+02:00,"käärime käised üles. time to roll up the sleeves.

See source:trunk/trac/locale/et_EE/LC_MESSAGES/messages.po",leho@…
4. Commented,7918,Translation of Trac to Galician/Galego [gl_ES],i18n,none,translations,task,normal,2008-12-29T15:23:16+01:00,2010-01-29T11:41:45+01:00,This ticket should be used to coordinate the translation to Galician. ,chavescesures@…
4. Commented,8008,Translation of Trac to Romanian/Română [ro_RO],i18n,,translations,task,normal,2009-01-28T06:42:02+01:00,2010-02-14T18:22:32+01:00,This ticket should be used to coordinate the translation to Romanian.,marius.latu@…
4. Commented,10681,commit_updater.py create wrong comment number,ticket system,0.12.2,undecided,defect,normal,2012-04-27T12:47:43+02:00,2023-05-30T09:31:09+02:00,"

 How to reproduce[[BR]]
 1. create new ticket A,B
 2. add a comment in ticket B
 3. commit message like below TWICE in hg
{{{
refs #B
refs #A

test commit updater
}}}

 Expect result[[BR]]
 Ticket A will have comment 1,2[[BR]]
 Ticket B will have comment 1,2,3

 In fact we get[[BR]]
 Ticket A has comment 1,2[[BR]]
 Ticket B has comment number 1,2,2


",haterw@…
4. Commented,11338,[Patch] Switch language based on URL prefix,i18n,1.0.1,undecided,enhancement,normal,2013-10-18T00:07:37+02:00,2015-10-20T10:53:05+02:00,"Hello,

I would like to propose my first patch to Trac.
The target is to switch language according to this principle:
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference

I worked with Trac version 1.0.1 on a Debian Testing.

I modified the file trac/web/main.py and class {{{RequestDispatcher}}} method
_get_locale:

{{{
def _get_locale(self, req):
  if has_babel:
    language_prefix_regexp = re.compile('^/([A-Za-z\-]+)/')
    match = language_prefix_regexp.match(req.base_path) if req.base_path else None
    language_prefix = match.groups()[0] if match else None
    preferred = req.session.get('language')
    default = self.env.config.get('trac', 'default_language','')
    negotiated = get_negotiated_locale([language_prefix, preferred, default] + req.languages)
    self.log.debug(""Negotiated locale: %s -> %s"", preferred, negotiated)
    return negotiated
}}}


Basically it changes the language if there is a language prefix.
Of course it may be a problem for site which doesn't use language prefix but which have an URL similar to a language prefix. So we may need to make that an option (but I don't know yet how to do that)",saintger@…
4. Commented,11466,in-place modifying of ticket fields like in Apache Bloodhound Trac,ticket system,,undecided,enhancement,normal,2014-01-29T13:27:49+01:00,2017-06-09T09:10:48+02:00,"If one creates a [https://bh-demo2.apache.org/newticket new Bloodhound demo site ticket], it can modified afterwards by editing the ticket fields in-place!

This is what's missing. The recent Trac version just has a 'modify ticket' section at the bottom of the ticket, and it's quite confusing to have it shown at the top also.

Please backport the in-place editor of Bloodhound for modifying ticket fields in the top area of a Trac ticket.",s-fr@…
4. Commented,1493,attachment revision history,attachment,0.8.1,unscheduled,defect,normal,2005-04-27T19:15:07+02:00,2021-06-01T23:17:19+02:00,"Attachments to wiki pages are shown even in old versions of a page.

For example, TracTickets has an image attached, but it was attached only in [http://projects.edgewall.com/trac/wiki/TracTickets?action=history version 12]. When I open the page version prior to 12, the attachment is either shown - [http://projects.edgewall.com/trac/wiki/TracTickets?version=1 TracTickets v.1].
",shad
4. Commented,2908,"No 'register' link (only Login), 'New Ticket' -> 'login' difficult",ticket system,0.12dev,unscheduled,defect,normal,2006-03-20T20:12:24+01:00,2022-07-09T12:25:40+02:00,"I'm really irritated that most trac sites (including this one) doesn't offer a registration link (only Login).

This leads to some frustrating situations:

I come along, want to report a bug. Trac tells me, I need ""CREATE_TICKET"" permissions. Why do you show ""New Ticket"" if I can't??

Now, I try to find a way to register. But there isn't.

Next, i try to find some other way to post my bug report but there isn't.

I give up.

I suggest that you disable the links to the ticket system when anonymous posting is disabled plus put a big warning next to the option for the site admin.",digulla@…
4. Commented,7313,Search help output provided by macros,search system,0.11rc1,unscheduled,defect,normal,2008-06-07T16:19:20+02:00,2023-07-24T10:18:53+02:00,"Trac documentation is using more and more macros to produce documentation about commands, parameters, etc.

However, the Search engine is unable to evaluate these macros, which ends up in poor search results, as in many case, the most relevant page for a command, parameter search is only generated by macros.

This is a true issue as long as Trac documentation relies on wiki pages.

Maybe the best way to address this issue would be to cache wiki-rendered pages, see #1216.",Emmanuel Blot
4. Commented,9208,Support for SVN repository on a UNC path on Windows,version control,0.11,unscheduled,defect,normal,2010-04-08T17:29:55+02:00,2021-07-06T11:07:32+02:00,"While setting up a Trac installation a year ago, I ran into a problem where my SVN repository was stored on a UNC accessible path on a Windows-based Apache system. In other words, I was running Trac on Apache for Windows, with the python module for Apache. Our SVN repository was stored on a separate network drive and only accessible via a UNC path.

At the time I was using Trac 0.11.x (not sure of the revision, and I no longer operate that system).

The problem is due to SubversionRepository `__init__` not handling the UNC slashes properly. When the path is fixed by converting the '\'\' to '\' the UNC slashes were being transformed to just '\' instead of staying '\'\'. I corrected this by adding splitunc() call before the replace and only performing the replace on the non-UNC portion of the path.

I've attached a diff patch making the similar change to the latest version from the 0.12 trunk, as well as the original modified version from my 0.11 installation.",morphiend@…
4. Commented,9255,Links from reports do not support dynamic variables,report system,0.11.7,unscheduled,defect,normal,2010-04-21T17:38:51+02:00,2010-09-30T17:47:32+02:00,"Using the following SQL report, the links generated are not correct.  I realize that this specific report may serve no purpose once I upgrade to 0.12; it is given as a simple example to demonstrate the issue.
{{{
#!sql
SELECT DISTINCT
    value AS customer,
    '15?CUSTOMER=' || value AS report,
    'report' AS _realm,
    '15?CUSTOMER=' || value AS id
FROM ticket_custom
WHERE
    name = 'customer'
ORDER BY
    customer
}}}
This report tries to use both the 'report' as a column name (a feature that does not appear to be documented) and the 'report' realm feature of the SQL report system.  Both give the same results.

Example:  If the resulting report link was for `{15?CUSTOMER=Acme}` the resulting link points to `http://trac-host-base/report/15`'''`%3F`'''`CUSTOMER`'''`%3D`'''`Acme` instead of `http://trac-host-base/report/15`'''`?`'''`CUSTOMER`'''`=`'''`Acme`

",mpotter@…
4. Commented,9399,Specify tablespace when connecting to postgresql,general,,unscheduled,defect,normal,2010-06-04T00:23:09+02:00,2015-03-25T14:42:59+01:00,"In our postgres setup we have multiple tablespaces. Trac should be using its own, but the default is incorrect. There should be a way to specify the default tablespace in the connection settings, like we can specify schema. This is a nasty problem when plugins attempt to create tables, or when the DB needs to be upgraded. ",chmullig@…
4. Commented,9463,Unable to edit components with slash or backslash,admin/web,0.12,unscheduled,defect,normal,2010-06-25T14:29:14+02:00,2012-04-17T13:54:29+02:00,"Components that are created with slashes or backslashes in the name are not editable via the admin web interface.

When trying to edit a component with backslash I get ""(404) Not Found"" error for the URL ''.../admin/ticket/components/Test \ Component''

When trying to edit a component with slash I get a ""Trac Error"" with ""Component Test/ Component does not exist."" for the URL ''.../admin/ticket/components/Test / Component'' (note that a whitespace is missing between ""Test"" and ""/"" in the error report), and all styles are stripped from the result page.

Trying to modify the URL to ''.../admin/ticket/components/Test %2F Component'' results a 404 error, as in the backslash case.

I have set the severity to minor because I can still use the admin console.",Itamar Ostricher
4. Commented,10159,Allow admin to prevent display of traceback on error page,general,,unscheduled,defect,normal,2011-04-29T20:21:06+02:00,2011-05-04T09:30:25+02:00,"version parameter crashes with ""ValueError: invalid literal for int() with base 10""

There is a bug right about here:
http://trac.edgewall.org/wiki/PluginList?version=A
the version parameter is casted into int without first checking if it's isdigit().

As a bonus, causing this bug will spit out a stack trace with the software versions.",desnacked@…
4. Commented,11022,milestone names containing space break layout,web frontend/tracd,1.0,unscheduled,defect,normal,2013-01-22T01:30:15+01:00,2016-11-25T12:23:57+01:00,"similar to #9755.
I was able to partially fix the issue using tracd -q parameter, but all requests for chrome are in the form:
/admin/ticket/milestones/MILE%20STONE/chrome/common/css/jquery-ui/jquery-ui.css
and failing.

I should mention that I'm running tracd with apache via scgi.",jan
4. Commented,150,User-centric storage. Last-viewed information and 'intelligent' followup,general,devel,unscheduled,enhancement,normal,2004-03-12T23:50:07+01:00,2020-04-25T19:38:14+02:00,"This ties in to a more advanced form of ""user"" centric development, including personalized settings (#63, #17, #1) and such stuff.

=== An idea for storing and using 'user trails' ===

We could generate a random ""id"" key, store it in a cookie, and use it for logging what the user has viewed throughout the system.

Using this information, we could do the following neat things:

 * The timeline could highlight events changed since last viewed.
 * List tickets previously viewed, but changed (aka 'interesting' tickets). All automatically, without need for any ""watch this"" features.

This is how [http://archive.neotonic.com/archive/osaf-design/prefs Archive] stores a users' read list posts, and it's quite clever.
",daniel
4. Commented,508,'Related checkins' feature,ticket system,0.7,unscheduled,enhancement,normal,2004-06-03T20:52:37+02:00,2010-11-17T09:24:44+01:00,"In CVSTrac, a ticket has a field called ""Related Checkins"" which shows a list of checkins (they would be changsets in trac) and their comments.  

You can add and remove from this list by editing a comma-seperated list of related checkins.

However, the most useful part, is that by putting a ticket number into your checkin message, it automatically adds that checkin to the ""Related Checkins"" of the ticket.

Eg. svn commit -m 'Added the ability to edit existing tickets. This fixes ticket #411'

Then when you view the ticket #411 you can see that checkin there without doing any more work.

This feature made CVSTrac sooo useful, because it was very easy to make this connection from the ticket to the checkins that attempted to fix it.

bonus marks:

The whole idea of two-way linking useful in general -- once you had this feature you might also show wiki pages linking to a ticket, or tickets linking to a wiki page.  Often with information given by people, the incoming links are as relevant as the outgoing ones.  

BUT the automatic pingback from the checkins to the tickets is by far the most useful!
",dobes
4. Commented,1135,Component filter for the Timeline,timeline,0.8,unscheduled,enhancement,normal,2005-01-16T19:36:32+01:00,2016-01-18T23:15:47+01:00,"The two attaches patches (to files Timeline.py and timeline.cs) implement Component filtering for the Timeline. Two new configuration options are defined in the [timeline] group:

 * ''display_components'' shows the component name for tickets and commits just before the ""by XXX"" text; and

 * ''changeset_guess_component'' assign to a checkin a component based on the first path element in the SVN repository (this only works for repositories used to host multiple projects. This configuration option is used only if ''changeset_show_files'' is set, because needs at least one file name to work on.

An example of the resulting Timeline can be seen on the [http://initd.org/tracker/initd/timeline initd.org website] (both options activated.)
",fog@…
4. Commented,1947,Nicer handling of bugtraq properties,version control/browser,devel,unscheduled,enhancement,normal,2005-08-20T19:46:17+02:00,2015-05-26T20:55:39+02:00,"It would appear that Trac partially supports Subversion bugtraq properties, useful for linking changesets back to the issue tracking url. However, when you add these properties, the output looks like this: [[BR]]
[[BR]]
Added Subversion bugtraq properties to repository. bugtraq:message ""#1""[[BR]]
[[BR]]
While the #1 is correctly linked back to the issue, it's because Trac is using the built-in regex to link back. If the full bugtraq properties were read correctly, the Subversion repository would provide this information.[[BR]]
[[BR]]
try setting the following properties on a Subversion repository (be sure to do this recursively):[[BR]]
[[BR]]
bugtraq:label # [[BR]]
bugtraq:url http://localhost/cgi-bin/trac.cgi/ticket/%BUGID% [[BR]]
bugtraq:message ""#%BUGID%"" [[BR]]
bugtraq:number true [[BR]]
bugtraq:warnifnoissue false[[BR]]
[[BR]]
If you connect to a subversion repository with a tool like TortoiseSVN, you'll be able to click on the defect number and link directly back to the issue in Trac.[[BR]]
[[BR]]
Full support of this in Trac would be a nice enhancement.[[BR]]

",borzwazie@…
4. Commented,2162,trac-admin needs a -q for quiet automated operation,admin/console,0.9b2,unscheduled,enhancement,normal,2005-10-03T03:24:56+02:00,2015-05-26T20:55:39+02:00,"The trac-admin tool needs a -q option to make it shut up.  When using it for automated operations, such as hotcopying for a backup, it's very ''chatty''.  Honestly, I'm not interested in it's success status, only it's failure so that I can act accordingly.",dbeckham-trac@…
4. Commented,2775,Automatic matching of similar issues,ticket system,0.9.4,unscheduled,enhancement,normal,2006-02-17T11:07:42+01:00,2015-05-26T20:55:39+02:00,"So in order to make things easier when prioritizing, it would be really cool to see something that displays how many issues there are with closely matching content. This would help when duplicate tickets are created, in order to more easily show the user where the dupes are, and also when prioritizing which issues should be worked on first (if the basis is the amount of requests)",chris@…
4. Commented,2810,More complete Roadmap: Gantt and Pert,roadmap,0.9.4,unscheduled,enhancement,normal,2006-02-26T23:17:50+01:00,2015-06-16T23:54:02+02:00,"The idea would be to have a more detailed (thus useful) roadmap page, displaying
the Gantt and Pert diagrams of the project.

It would require having the roadmaps to have dependancies, from which the diagram would
be built.

[http://en.wikipedia.org/wiki/Gantt Gantt chart]
[http://en.wikipedia.org/wiki/PERT Pert chart]

The goal is to be able to track efficiently how well the project is doing, and to know
precisely where the war effort has to be directed.
I am well aware that #364 already proposed to improve everything, but still, gantt diagrams
are built with dependancies on the modules.
As for pert diagrams, the idea is that it produces a real graph of dependancies with costs,
thus really showing what needs to be done and at what rythm.",pwipwi.thecow@…
4. Commented,2855,"Add aggregation functions (SUM, MAX, AVG) of ticket columns to the custom query options",general,0.9.4,unscheduled,enhancement,normal,2006-03-10T13:42:25+01:00,2022-01-05T05:20:01+01:00,"Use case: I added a custom field ""estimated effort"" to my project tickets that we usually like to see summed up on listings.

It would be great to have, probably below the ""group by"" option, the ability to aggregate columns by using common SQL aggregation functions such as min, max, sum, avg, etc.
",dema@…
4. Commented,3785,Regular Expression Match against custom field values,ticket system,devel,unscheduled,enhancement,normal,2006-09-25T23:42:20+02:00,2015-05-26T20:55:39+02:00,"It would be handy to add an option to the Trac Custom Fields feature that allows a regular expression match string as a sanity check against a custom field.  As some fields require the flexibility of text input, but within certain parameters that a SELECT field doesn't offer, this could be very handy.  The match string would just have to evaluate to true if the field works.

I did a few searches and didn't see anything like this -- please enlighten me if otherwise.  I could attempt to look at a patch if there is interest, though I haven't worked with Python before.

Suggestion for implementation:
{{{
[ticket-custom]
test_date_field = text
test_date_field.label = Test a Date
test_date_field.value = 
test_date_field.match = /\d{4}-\d{2}-\d{2}/
}}}
",nmelnick@…
4. Commented,4173,"When ""View Ticket"" is selected, sub-options should always be visible.",ticket system,0.10,unscheduled,enhancement,normal,2006-11-15T14:00:38+01:00,2015-05-26T20:55:39+02:00,"This request is to help lower the learning curve and to make navigation more obvious.

I've used trac for many months now, but still keep forgetting how to navigate to ""Custom Query"". Some people in my team didn't know this feature exists - they just use Search. Why? The link is not always visible. 

When viewing a ticket (where I spend most of my time), the ""View Tickets"" button is selected (but with no sub-options shown). Therefore I never think to click it again. So instead: 
 * I click something else like ""Search"". Nope not there...
 * I click ""View Tickets"", and the text appearing on the left attracts my view. I don't even notice something small has appeared under ""view tickets"", because there was nothing there before. 
 * I scratch my head and hunt around some more.

'''Proposed solution''':

In all screens where the ""View Tickets"" button is rendered selected, the two sub-options ""Available Reports"" and ""Custom Query"" should also be displayed.

",l.usherwood@…
4. Commented,4423,provide page decorators using wiki syntax,general,0.10.3,unscheduled,enhancement,normal,2006-12-18T21:28:38+01:00,2017-09-01T02:25:49+02:00,"right now, the PageTemplates proposal offers just a way of setting a template for a new page.

i'd like to have templates, for any page, using wiki syntax.

e.g., if i'd like to have each page list its tags at the top, i'll write a decorator like:
{{{
[[ListTags]]
{{1}}
}}}",ittayd@…
4. Commented,4536,render_unsafe_content in [4472]  could be restricted to read-only pages.,wiki system,devel,unscheduled,enhancement,normal,2007-01-13T20:47:03+01:00,2010-06-24T19:09:14+02:00,In my case i don't want to allow the unsafe content to be available on all pages (the scripts are used to allow documentation to have special links for firefox browsers to load pkcs11 modules). So instead of turning this feature on wiki-wide I would be happy and more secure if i could turn it on for read-only pages only (as I'm willing to make that page read-only),martin@…
4. Commented,4644,Report/Query result re-ordering should support secondary sort field.,report system,0.10.3,unscheduled,enhancement,normal,2007-02-01T20:35:26+01:00,2015-05-26T20:55:39+02:00,"You get a little of this when you select grouping and ordering. It's grouped by the primary ordering, then sorted within the group for the secondary ordering. However, with lots of tickets, it's nice to have two sort levels within a grouping.

My favorite implementation makes the current primary sort field into the secondary sort field when another column is clicked. Here's an example:

The subsequent row is the result of the click action on a given row. 
{{{
#!rst
========== == ========= == ============
Current                     Action
-------------------------- ------------
Primary       Secondary     Click
------------- ------------ ------------
Milestone  v               Owner
Owner      V  Milestone v  Version
Version    v  Owner     v  Milestone
Milestone  v  Version   v  Milestone
Milestone  ^  Version   v  Owner
Owner      v  Milestone ^  Owner
Owner      ^  Milestone ^  ...
========== == ========= == ============
}}}

You get the idea. ",mikejbrady@…
4. Commented,4746,intertrac links support in trac-post-commit hook,version control,,unscheduled,enhancement,normal,2007-02-15T13:58:43+01:00,2015-05-26T20:55:39+02:00,"Hello,

It would be very nice to support intertrac links within the trac-post-commit hook. If the XMLRPC plugin is installed in the remote trac, tickets should be remotely updateable.",philn
4. Commented,4781,Scheduled report by mail to specific users,report system,,unscheduled,enhancement,normal,2007-02-19T13:24:08+01:00,2015-07-28T10:31:07+02:00,"It would be good to have possibility to schedule a report for example as a job of the Windows or Linux server, which will be sent to specific list of people - for example Project Manager will be informed weekly about numbers of defects.",dmusil@…
4. Commented,4834,"Default ""from"" date in Timeline",timeline,devel,unscheduled,enhancement,normal,2007-02-24T14:37:16+01:00,2017-09-10T02:20:17+02:00,"The default ""from"" date in the TimeLine is today.

Could we make it the day of the last event?

thanks.",Sergei Haller <sergei@…>
4. Commented,5367,New Priority Schema?,general,0.10.4,unscheduled,enhancement,normal,2007-05-24T08:59:49+02:00,2015-05-26T20:55:39+02:00,"What if, instead of using a fixed, 5 option enumerated priority schema, you just use a numeric, non labeled schema, from 1 to n? This could allow to re-prioritize a ticket easier (with the proper UI, of course). 

You just need to inter-change priority values when moving a ticket one position up or down, and when you move it ""jumping"" n tickets, those should only be incremented or decremented by 1 on their priority field and after that, use the ""free"" space for the re-prioritized ticket. 

You can provide an arrow up / arrow down on the lists for every query, for ""one step move"", and a more advanced option on ticket edition, like a ""give immediate upper/lower priority respect to ticket n[user provided]"", for bigger jumps.

I think that the DB impact with this change could be minimal, but you have to re-think some features like the color from red to green on your listings.",gustavovera@…
4. Commented,6000,Multiple column support in timeline,timeline,0.10-stable,unscheduled,enhancement,normal,2007-09-10T16:51:20+02:00,2015-05-26T20:55:39+02:00,"The single column in the Timeline view is limiting.  I'd like to see the Timeline view get a new preference option for controlling the number of visible columns of events - especially in light of the industry-wide movement to widescreen displays.  I've hacked-up a timeline-based module which does this, but my preference would be for a polished implementation by the Trac team.

 * The preference box moves to top of timeline @ 100% width instead of pseudo-dialog-box in upper right which eclipses usable real estate.
 * preference option for N equal width columns
 * either automatic based on available width or manual preference for format=brief option (think format=rss) which drops unnecessary words like ""Changeset"", ""Ticket"", etc.

I've attached a screenshot of my hacked plugin which offers no gui preference controls.  Maybe if I have time I will get back to trying to understand more Python/CS/Trac development - but this is working for me at the moment.",james.moger@…
4. Commented,6135,Enhancement for trac-post-commit-hook.py for Enterprise Workflow,general,,unscheduled,enhancement,normal,2007-10-05T13:55:22+02:00,2017-04-04T19:14:21+02:00,Enhancement for trac-post-commit-hook.py for Trac Enterprice Workflow.,vinogradniy@…
4. Commented,6820,change display for duplicate tickets,ticket system,,unscheduled,enhancement,normal,2008-02-12T23:54:26+01:00,2015-05-26T20:55:39+02:00,"When a ticket is marked as a duplicate the ticket link is displayed with a strike-through character in a wiki page or a search. This is confusing, since it indicates to the reader, that the issue is solved, which must not be the case. The ticket is  simply marked as closed, but the request is still open.

Is it possible to use e.g. a double strike through character?

A much better solution would be the build in support for specifying the duplicate ticket, as suggested in #1395. Then the display could change depending on the status of the referenced duplicate ticket. ",trac@…
4. Commented,6824,paragraph-links should wait for images to load,wiki system,,unscheduled,enhancement,normal,2008-02-13T17:37:54+01:00,2010-06-24T18:47:12+02:00,"I noticed, if i have a long wikipage containing many paragraphs and several images (through imagemacro), if i then follow a paragraph-link (eg. !http://192.168.0.1/trac/wiki/WikiPage#paragraph) it first jumps to the #paragraph, and then loads the images. Since the images takes longer time to load, the screen will no longer be positioned at the intended paragraph. They are offset by the height of the images after they load. This will of course only occur if the images reside above the paragraph you're following a link to. If you hit back & forward in the browser again, the offset will be smaller since the images are cached, but still a small offset just enough to not see the paragraph.

So my suggestion is to have it jump to the paragraph after the page finished loading, or atleast after the images are loaded.
I have been a trac user for a while, and this ""bug"" has been in all versions i've worked with, and is still in 0.11dev.

Thank's!",simon[at]solida[dot]se
4. Commented,7290,restrict_owner_force Option to populate user list,ticket system,,unscheduled,enhancement,normal,2008-06-01T20:36:53+02:00,2010-07-02T23:18:04+02:00,"The restrict_owner setting changes the field to a dropdown list that has (1) TICKET_MODIFY rights and (2) logged in at least once.

In an environment where you add users - and want them to be assigned tickets - even if they have not logged in before can be useful. Maybe the following option can be added:

Something like Add restrict_owner_force = TRUE in ini file to populate the list with the TICKET_MODIFY rights, without having logged in. This way either the filtered and unfiltered lists can be made available depending on the environment requirements. I have need for both situations.",bill.meyer@…
4. Commented,7342,Add filter parameters to milestone view,roadmap,0.10.4,unscheduled,enhancement,normal,2008-06-17T12:13:23+02:00,2020-04-30T04:11:39+02:00,"Milestone view support only one milestone per page. Roadmap can display several milestones, but there is almost no control on order and scope of shown stats. The only option is to show completed milestones (show=all) or not.

I propose to extend ""show=all"" to allow queries like ""show=!^0.5"" or ""show=0.5|0.5.1"", but it can create a conflict if somebody defines milestone named ""all"".

It can be convenient to extend milestone view as well to allow URLs like /milestone/6.0|6.2|6.4

Attached is a simple patch to select several milestones in roadmap using piped /roadmap?milestone=6.0|6.2|6.4 syntax. No advanced filtering using ~= or !^=
",techtonik <techtonik@…>
4. Commented,7650,authz_policy.py - Support Trac groups,general,0.12dev,unscheduled,enhancement,normal,2008-09-18T19:52:51+02:00,2017-03-23T00:21:47+01:00,"The plugin doesn't support Trac groups (under Admin/Permissions there is an option ""Add Subject to Group"") and it is a little strange that you need to define groups in a special file.

Therefore I made a ''patch'' against source:/trunk/sample-plugins/permissions/authz_policy.py@7457 that adds this functionality in a little ugly way. It could be done better, therefore this comment. You can obtain it on [http://gw.tnode.com/0149-TracDevelopment/].",gw.trac@…
4. Commented,7739,trac & memcached,general,,unscheduled,enhancement,normal,2008-10-21T11:05:58+02:00,2017-04-11T23:22:05+02:00,"I think it will be useful to add [http://www.danga.com/memcached/ memcached] support to Trac to improve performance on high-load projects.



Note also that Trac 0.12 introduced some facilities to handle per-component caches, with proper invalidation semantic. Check TracDev/CacheManager.
",antonbatenev@…
4. Commented,7784,[patch] Configurable accesskeys,general,0.12dev,unscheduled,enhancement,normal,2008-11-05T09:29:20+01:00,2015-12-19T16:29:11+01:00,"I prepared patch to make `accesskey` configurable in trac.ini

{{{
[mainnav]
browser.accesskey = b

[metanav]
help.accesskey = h
}}}",trac-dev@…
4. Commented,8294,[PATCH] Add GnuPG encryption to email notifications,notification,0.11.3,unscheduled,enhancement,normal,2009-05-15T18:33:35+02:00,2015-05-26T20:55:39+02:00,"Here's a modification to add [http://www.gnupg.org/ GnuPG] encryption to outgoing notifications in a mod_poython setup. It's my first python hack, so its pretty crude. There's no error checking, and constants appear magically. Here we go:

Add an import:

{{{
from subprocess import *
}}}

In the init section of class !NotifyEmail replace lines 192-196 of the original source with:

{{{
        # ..and the gpg key if the user has one
        self.email_map = {}
        emails = []
        for username, name, email in self.env.get_known_users(self.db):
            if email:
                self.email_map[username] = email
                emails.append(email)
        # ..and the gpg key if the user has one
        self.gpg_map = {}
        output = Popen([""c:\Program Files\GNU\GnuPG\gpg.exe"", ""--homedir"",
                ""C:\data\gpg"", ""--batch"", ""--with-colons"", ""--list-keys""],
                stdout=PIPE).communicate()[0]
        lines = re.split(""\n"", output)
        skip = 0
        gpgkeyid = """"
        for line in lines:
            data = re.split(':', line)
            if data[0] == ""pub"":
                gpgkeyid = data[4]
                skip = 0
            if gpgkeyid and skip == 0 and data[0] == ""uid"":
                temp = data[9].rsplit('<', 1)
                tmail = temp[1].rstrip('>')
                for email in emails:
                    if email == tmail:
                        self.gpg_map[email] = gpgkeyid
                        skip = 1
                        break
}}}

In the send method replace line 397 of the original source with:

{{{
        # lets see if we need to encrypt body to one or multiple recipients
        gpgkeys = [];
        for recipient in recipients:
            if recipient in self.gpg_map:
                temp = '-r ' + self.gpg_map[recipient]
                gpgkeys.append(temp)
        value = body
        if len(gpgkeys):
            args = [""c:\Program Files\GNU\GnuPG\gpg.exe"", ""--homedir"", ""C:\data\gpg"", '-e',
                                 '--batch', '--armor']
            args.extend(gpgkeys)
            proc = Popen(args, stdout=PIPE, stdin=PIPE)
            value = proc.communicate(body)[0]
        # msg = MIMEText(body, 'plain')
        msg = MIMEText(value, 'plain')
}}}

Now setup your public keys using ""--homedir c:\data\gpg --import"", assign ultimate trust to the keys. And that's that.
",richard@…
4. Commented,8354,Report Query with dates,report system,none,unscheduled,enhancement,normal,2009-06-05T19:55:22+02:00,2014-04-28T20:45:49+02:00,"Hello,
Based on the reports wiki page, trac wants to disable the reports in future version? For now the only way to save a query out of the box is via report. Below I will copy paste some reports that would be nice to include in the reports wiki as a custom advenced query examples. It took me over a week to get to this point. If what I supply here you can start doing queries in few minutes.

Some ideas taken from ticket #2288

Most of the problems come with knowing the fields which these examples show, and manipulating the date and date functions for particular database api. Below you will find examples on sqlite and mysql date functions and how to convert from timestamp.

sqlite:

recently closed
{{{
select id, summary, component, milestone, owner, 
  (select max(tc.time) from ticket_change tc
     where t.id = tc.ticket and field = 'status' and newvalue = 'closed')
   as closetime,
  datetime((select max(tc.time) from ticket_change tc
     where t.id = tc.ticket and field = 'status' and newvalue = 'closed'), 
            'unixepoch', 'localtime') as closedate
  from ticket t
where status = 'closed'  and closetime > strftime('%s',datetime(""now"",""-30 days""))+0
 order by closetime
}}}


Mysql:
Open ticket count by milestone. This is somewhat management report to see how many tickets are coming in daily.

{{{
SELECT version as __group__,DATE(FROM_UNIXTIME(time)) as Created, milestone, count(*) AS 'Count of Tickets'
  FROM ticket
  WHERE time > UNIX_TIMESTAMP(NOW() - INTERVAL 7 DAY)
GROUP BY version,DATE(FROM_UNIXTIME(time)),(milestone IS NULL), milestone
ORDER BY version,DATE(FROM_UNIXTIME(time)) DESC ,(milestone IS NULL), milestone
}}}

sqlite version
{{{
SELECT version __group__ ,date(time,'unixepoch', 'localtime') as Created,milestone, count(*) AS 'Count of Tickets'
  FROM ticket
  WHERE time > strftime('%s',datetime(""now"",""-7 days""))+0
GROUP BY version,date(time,'unixepoch', 'localtime'),(milestone IS NULL), milestone
ORDER BY version,date(time,'unixepoch', 'localtime') DESC ,(milestone IS NULL), milestone
}}}

I'll try to attach the remaining reports that I still need to do. IF you have any popular reports please paste them in here.

What I need:
1. Closed tickets count by day and milestone,
2. Open tickets count by milestone
3. Active ticket count by user
4. Closed ticket count by user who closed it.

If you have any of these done, or something similar please past it in.

Thanks,
Lucas",szybalski@…
4. Commented,8504,Named Custom Queries,query system,0.11.5,unscheduled,enhancement,normal,2009-07-23T08:42:23+02:00,2018-10-16T12:59:07+02:00,"When running a custom query, customizing it further by adding filters, grouping, etc - the query is still a ""Custom Query"".

What I'd like is to have ""named"" or ""saved"" queries. Just saving a query is easy, you just add a link to a wiki page. But the headline still says ""Custom Query"" rather some real, readable, title.

",noamtm@…
4. Commented,9383,Integrate LXR into source code view,rendering,,unscheduled,enhancement,normal,2010-05-28T14:29:36+02:00,2011-11-13T04:03:35+01:00,"This is not the same cross reference enhancement request as those related to the wiki and issues.  The idea is to present users with their code in a way they can navigate it without going through the source tree.

Please see (http://sourceforge.net/projects/lxr/) or a branch thereof (http://lxr.linux.no/+trees) for what I am talking about.

Thanks!",vladimir dot giszpenc _AT_ gmail period com
4. Commented,9495,CommitTicketUpdater - git and replayed commits,ticket system,0.12dev,unscheduled,enhancement,normal,2010-07-11T20:33:36+02:00,2014-10-13T23:46:13+02:00,"I do all my development over two branches, a stable one and an experimental one, which I merge periodically. So, each time I merge `stable` into `experimental`, commits from `stable` are again passed on to the ticket updater. So, sometimes this ends up producing duplicate comments and the ticket being closed twice...

My opinion is that could be an option that would somehow trigger the detection of duplicate commits and ignore them. I'm not very sure how to do this, if I should check if there's already a comment with the given commit sha1 associated with the ticket (kind of hacky), or checking the past repository history (ignoring the last changeset) for the commit (not sure how fast it will be).

I would be willing to produce a patch for that, if you believe this is something worth investing time on. Otherwise, I can just try changing a bit my commit hook.
However, I believe that this will be a problem with most distributed VCs, so...",pferreir
4. Commented,9505,Missing feature from ticket query module: color tickets based on contents of field,ticket system,,unscheduled,enhancement,normal,2010-07-16T18:08:16+02:00,2015-06-11T20:58:31+02:00,"'''Note: The report module is being phased out in its current form because it seriously limits the ability of the Trac team to make adjustments to the underlying database schema. We believe that the query module is a good replacement that provides more flexibility and better usability. While there are certain reports that cannot yet be handled by the query module, we intend to further enhance it so that at some point the reports module can be completely removed. This also means that there will be no major enhancements to the report module anymore.'''

I think that a missing feature is the ability to color tickets based on values. For example, you can color tickets red that have the priority of ""blocker"".

If this already exists, could you please provide some documentation on how to accomplish this query?",aaronaddleman@…
4. Commented,9579,sudo-like behavior for users,general,,unscheduled,enhancement,normal,2010-08-20T23:14:03+02:00,2015-05-26T20:55:39+02:00,"provide admins a way to specify and allow normal users to escalate privileges to perform some set of tasks normally not allowed to them without having to change users.  our use case calls for users to be able to perform a majority of tasks, and we would like to prevent them from accidentally blowing everything away.  currently they have to switch accounts to do this, and its somewhat awkward.

this behavior would imitate the behavior of sudo to some degree.

management through groups (similar to wheel) would be great.",brad.alldredge@…
4. Commented,9736,Add an AND operator to ticket query syntax,query system,0.12dev,unscheduled,enhancement,normal,2010-10-31T04:39:14+01:00,2019-01-10T09:32:36+01:00,"Add an add operator to ticket query syntax (used for example in macro). Currently it is only possible to do or operator queries. So it is impossible to query for example tickets, which have keywords A and keyword B at the same time.",Mitar
4. Commented,10023,Trac notification + Exchange 2010,notification,0.11.7,unscheduled,enhancement,normal,2011-02-11T09:34:16+01:00,2017-03-12T12:14:25+01:00,"Exchange 2010 with AUTH NTLM, not support anonymous authentication.

Trac says:
{{{SMTPException: No suitable authentication method found.}}}

Trac.ini:
{{{#!ini
[notification]
admit_domains = 
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ignore_domains = 
mime_encoding = base64
smtp_always_bcc = 
smtp_always_cc = 
smtp_default_domain = 
smtp_enabled = true
smtp_from = trac@domain
smtp_from_name = 
smtp_password = @pass
smtp_port = 25
smtp_replyto = @mymailaddress@domain
smtp_server = @server
smtp_user = username@domain
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = false
use_short_addr = false
use_tls = false
}}}",evgeniy.demur@…
4. Commented,10268,"Search needs option for required words, logical operations, ignore words, etc",search system,,unscheduled,enhancement,normal,2011-07-15T18:40:11+02:00,2012-01-17T14:25:00+01:00,"The searching functionality is extremely limited (IMHO).  I would like to see options added for:
  1.  Required words (e.g, like !eBay where ""+XXX"" means must find word ""XXX"" on the page.
  1.  Words to Ignore.
  1.  Logical operations such as AND OR (although having required words might make logical operations less needed; e.g., two required words is the same as ANDing those two words).


Note:
Ticket #5933 asks to ""Add search options for ""match case"" and ""match whole word""
",dan_gawarecki@…
4. Commented,10383,When looking at a list of tickets I should be able to move the mouse pointer over the summary (mouse-over) and see the ticket's description,general,0.12,unscheduled,enhancement,normal,2011-09-30T09:53:01+02:00,2015-08-04T11:33:29+02:00,"When looking at a list of tickets I should be able to move the mouse pointer over the summary (mouse-over) and see the ticket's description.

Attached is file for the reference.",viveikcpuglia@…
4. Commented,11424,Remove `req` from ITicketActionController method signatures,ticket system,,unscheduled,enhancement,normal,2014-01-01T19:43:22+01:00,2021-06-01T00:35:16+02:00,"Currently all methods of the `ITicketActionController` interface require a `req` request parameter.  This couples the `ITicketActionController` system tightly with web requests, and makes it very difficult to use workflow components at all in contexts other than a web request where the requesting user is directly viewing or acting on a ticket.  This is because a `Request` object is difficult to instantiate directly (needs an environ and start_response); has an indeterminate interface (environ keys, request callbacks, etc); and must be capable of handling exceptional situations like `req.send` and `req.redirect`.

If this coupling were looser, it would become much easier to use workflow in situations like:

 * workflow-aware actions triggered by commit messages (#10755)
 * workflow-aware actions in `ITicketChangeListener` components that subscribe to ticket_change events, where a `req` is not available
 * directly through any Python code that has a Trac environment, a ticket, and a (real or simulated) initiator for a workflow action

I looked through the code of the following `ITicketActionController` implementations:

 * `trac.ticket.default_workflow`
 * th:AdvancedTicketWorkflowPlugin
 * th:WorkflowNotificationPlugin
 * th:MultipleWorkflowPlugin
 * th:TypedTicketWorkflowPlugin
 * th:TestManagerForTracPlugin / th:TracGenericWorkflowPlugin

As far as I can see, the only request properties that are ever accessed in any of these implementations are `req.perm`, `req.args` and `req.authname`.  There are only two exceptions, neither of which seems critical.  (One is discussed below; the other is a hack in my own th:WorkflowNotificationPlugin which I'd prefer to clean up anyway.)

So, I'm proposing to replacing the `req` argument in `ITicketActionController` method signatures with individual arguments `perm` (a Permission object), `args` (a dict), and `author` (a string).  An illustration is provided in the attached patch.

Unlike a Request object, these three parameters are trivial to construct from any calling context and to instantiate directly.

Aside from backwards compatibility concerns, the only potential problem I see, based on the documented interfaces and their implementations in the wild, is that it's recommended to use `trac.web.chrome.add_warning(req, ...)` within a component's `get_ticket_changes` method if `args['preview']` is set and if the component will have any side effects in `apply_action_side_effects`.  In practice, I can only find one use of this recommendation, in th:AdvancedTicketWorkflowPlugin's `TicketWorkflowOpXRef` component.  This could be solved by extending the `get_ticket_changes` method with an optional `add_warning` callback/accumulator (which could be set to `lambda *x: chrome.add_warning(req, *x)` in web contexts, or e.g. a logging.warn call in other contexts) or by extending the interface with a `get_ticket_change_warnings` method.",ethan.jucovy@…
4. Commented,12453,branch/tag/bookmark name should be decoded as utf-8,plugin/mercurial,,,defect,normal,2016-04-12T13:19:32+02:00,2016-04-13T02:27:15+02:00,"For example, when I set `hg.encoding=cp932` (Japanese Shift_JIS),
I see broken Japanese tag/branch/bookmark names in repo browser.

We should use utf-8 (=`HGENCODING`) to decode branch/tag/bookmark string,
not with `hg.encoding` (for file name).

I have two patches for this issue.

- https://bitbucket.org/gotoh/trac-mercurial-plugin-mod/commits/4b0488c954ca8d7174e816c10d39b4c7fc8cfc58
- https://bitbucket.org/gotoh/trac-mercurial-plugin-mod/commits/67197d6a98feb002f9107d59110c11b48cb952c8



",shunichi.goto@…
4. Commented,13051,The initenv process of trac-admin requires more than just 'psycopg2' and 'trac',general,1.2.2,,defect,normal,2018-06-26T06:57:11+02:00,2022-06-15T18:54:48+02:00,"I figured out the initenv process of trac-admin requires more than just 'psycopg2' and 'trac' to use the postgresql driver, the previous week of last week.

Either it is a bug or the wiki page for database backends is missing an important line (DatabaseBackend).

I somehow figured out how to make it work after some digging: I had to also install !TracTags from Python Package Index. otherwise I'd get messages like: `TracError: Unsupported database type ""postgres""`

What I did:
{{{#!sh
useradd -mrd /var/lib/g9-trac g9-trac
mkdir -p /var/log/g9

apt install -y virtualenv
# virtualenv -p /usr/bin/python3 /var/lib/g9-trac/ve-trac
su - g9-trac
virtualenv -p /usr/bin/python2 /var/lib/g9-trac/ve-trac
source /var/lib/g9-trac/ve-trac/bin/activate

pip install trac
#it's weird the psycopg2 driver worked only after I installed TracTags
pip install psycopg2

trac-admin /var/lib/g9-trac/trac-g9 initenv Gxxxxx9 'postgres://g9-trac:passphrase32!@localhost:5432/trac-g9'
}}}

Thank you,
Gunwoo Gim",wind8702@…
4. Commented,13089,"Custom query: filter by ""component starts with...""",query system,,,enhancement,normal,2018-10-16T01:01:37+02:00,2021-09-27T00:51:06+02:00,"The JOSM Trac instance defines about a dozen ""Core xxx"" and a hundred ""Plugin xxx"" components.

Currently Trac only allows to filter queries by ""equals"" or ""not equals"" criteria. Could we have two new choices to search for components starting (or not) with a string?",vincent.privat@…
4. Commented,9619,"Side-by-side editing fails if Preview significantly longer than source; needs smart, vertical locking!",wiki system,0.12-stable,1.0,defect,low,2010-09-15T12:10:03+02:00,2023-01-10T14:50:43+01:00,"The side-by-side editing is rendered useless, if the Preview is significantly longer (due to large text, tables and inline images) than the source code. You might end up in a situation where the related source code to what you currently see in the Preview is 1 or 2 pages up the screen and it is currently impossible to see source code and related Preview together at once. This is a serious issue in my opinion. 

You can make a simple test by positioning a few large images using ![[Image(XYZ.jpg)]] underneath each other: The source code only takes a few lines, whereas the last image might by two screens down the window scroll bar.

A solution should look like this: The preview get dynamically positioned in such a way, that it (optionally) aligns vertically with the cursor position in the source code window, so that one really sees what one's editing.",klein@…
4. Commented,8989,Milestones should have a 'Back to Roadmap' link in the contextual navigation,roadmap,0.12dev,next-dev-1.7.x,enhancement,low,2010-01-22T02:15:37+01:00,2020-12-29T09:45:39+01:00,"When navigating to a milestone from the roadmap, there should be a '''Back to Roadmap''' link displayed in the contextual navigation menu.

This is not currently implemented in Trac `0.12dev`, as can be seen: milestone:0.12-multirepos

This seems simple enough that I'll try to implemented it and provide a patch.",Ryan J Ollos
4. Commented,2264,"Tickets with created with """" Milestone show up under ""Release""",report system,devel,next-major-releases,defect,low,2005-10-26T15:30:24+02:00,2015-05-26T20:50:57+02:00,"If you set up a new test env. You have the dropdown box with """", ""milestone1"", ""milestone2"", ""milestone3"" and ""milestone4"".

If you create a ticket and do not select a milestone it will show up in the {3} All Tickets by Milestone Report under ""Release"" and not under ""None"".

See {6} for reference in this trac.",Markus Tacker <m@…>
4. Commented,3037,Multiple bugs in trac.config,general,devel,next-major-releases,defect,low,2006-04-14T12:58:18+02:00,2019-09-06T19:54:30+02:00,"While testing some global configuration changes, I noticed they weren't working with InterTrac. After some investigation it seems there are a few problems with the current config module:

 1. `Section.__contains__()` does not use the global config, nor does `Section.get()`
 1. `ConfigParser` ignores case, but `config.Configuration._defaults` does not.
 1. `ConfigParser.read()` overlays previous configuration. The issue with this is that we use `read()` when a configuration modification is detected. Deleted options are not removed.

The attached patch fixes the first two issues. It also updates one of the config unit tests, as it can now fail if a global configuration file has entries (NB. I'm not sure whether the ''fix'' in the unit test is too hackish?)

The third issue would require some kind of dirty configuration list, for both the site and env configs. I'm not sure the issue is bad enough to warrant the ugliness.",Alec Thomas
4. Commented,8223,Mozilla/Firefox displaying images through html processor,wiki system,0.11.1,next-major-releases,defect,low,2009-04-22T17:43:57+02:00,2019-09-06T19:51:32+02:00,"Hi,[[BR]]
I'm having trouble getting the wiki to display images.
 - render_unsafe_content is set to 'true'
 - it does this no matter with basic theme and other themes
 - I think I've tried all forward and back slash variations.
Any ideas? I'm running out.[[BR]]
See code and specs below.[[BR]]
Thanks,[[BR]]
Benoit

p.s. please be merciful as I don't have access to google groups.
----
trac: 0.11[[BR]]
server: python 2.4[[BR]]
client: WinXP SP2[[BR]]
browsers: IE7.0.57, Firefox 3.0.8[[BR]]
----
This code works in a trac 0.11 wiki page, viewed with IE7
{{{
{{{
#!html
<img alt=""image"" src=""file:///\\<server-path>\thumb.jpg""/>
}}}
}}}
The same code DOES NOT work in a trac 0.11 wiki page, viewed with Firefox 308 (only alt is shown)
{{{
{{{
#!html
<img alt=""image"" src=""file:///\\<server-path>\thumb.jpg""/>
}}}
}}}
This HTML page works in Firefox 308, off my C:\
{{{
<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Strict//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"">
<html>
<body>
<img alt=""image"" src=""file:///\\<server-path>\thumb.jpg""/>
</body>
</html>
}}}
Oh… and this doesn't work in IE or FF (""/<server-relative>/thumb.jpg"" is diplayed on screen)
{{{
[[Image(//<server-relative>/thumb.jpg)]]
}}}",benoit.moniere@…
4. Commented,9946,CommitTicketUpdater does not honor wiki_format_messages setting,version control/changeset view,0.12.1,next-major-releases,defect,low,2010-12-23T18:38:36+01:00,2014-02-21T05:58:10+01:00,"When the {{{[changset] wiki_format_messages}}} option is set to {{{false}}}, I would expect that the changset message that gets sent by email and that gets added as a comment to any referenced ticket(s) would be pre-formatted (i.e., not in wiki format).  However, this is not the case.

In looking at the code, it seems the option isn't even checked - line 195 of method {{{CommitTicketUpdater.make_ticket_comment()}}} in {{{tracopt/ticket/commit_updater.py}}}:
{{{
    def make_ticket_comment(self, repos, changeset):
        """"""Create the ticket comment from the changeset data.""""""
        revstring = str(changeset.rev)
        if repos.reponame:
            revstring += '/' + repos.reponame
        return """"""\
In [%s]:
{{{
#!CommitTicketReference repository=""%s"" revision=""%s""
%s
}}}"""""" % (revstring, repos.reponame, changeset.rev, changeset.message.strip())
}}}
",guttman@…
4. Commented,10666,Setting fine grained permissions using AuthzPolicy does not work,plugin/git,,next-major-releases,defect,low,2012-04-13T19:44:03+02:00,2015-01-03T09:33:41+01:00,"While attempting to use AuthzPolicy to set fine-grained (per-branch) permissions, I found out that there seemed to be no way to set these permissions for a git repository (simply using repository: did not do anything). After reading up a bit on how the AuthzPolicy permissions work, I found out that these apparently make use of 'resource descriptors' to check whether a user has permission to do something, and digging through the TracGit source brought me to the conclusion that there does not seem to be any kind of implementation of resource descriptors - which, of course, means I have no way of addressing a specific branch in my permissions configuration.

I've come to the above conclusion by attempting to disallow all features for all repositories by setting user permissions on [repository:*@*] to nothing, which did not do anything and still left all repositories and branches visible. Disallowing everything on [*] worked fine, so I know that at least the permissions system itself is working.

Unless I'm missing something, it seems a rather vital feature is missing. Is this something that is planned to be implemented, or have I overlooked something and is this functionality already present?",jamsoftgamedev@…
4. Commented,108,OrphanedPages macro,wiki system,0.5.1,next-major-releases,enhancement,low,2004-03-02T19:19:38+01:00,2015-03-02T22:31:46+01:00,"It would be good to have a list of pages that aren't linked to from anywhere.

Example:   http://moinmoin.wikiwikiweb.de/OrphanedPages",daniel
4. Commented,109,"MissingLinks, an index over missing wiki pages",wiki system,0.5.1,next-major-releases,enhancement,low,2004-03-02T19:22:03+01:00,2018-08-04T09:54:30+02:00,"It would be good to be able to list all links that lead to non-existing pages.

Also true for tickets and changesets of course.

Example: http://moinmoin.wikiwikiweb.de/WantedPages",daniel
4. Commented,533,Support for custom reports,report system,none,next-major-releases,enhancement,low,2004-06-10T18:14:46+02:00,2015-05-26T20:50:57+02:00,"Provide a method to support reports generated by Python code rather than just SQL.  This would allow developers to write custom reports that pull data from other sources (e.g. the Subversion repository, site-specific databases, etc.) but still take advantage of the reporting framework. (e.g. sorting by clicking on column header, color coding, etc.)

Ideas as far as integrating this feature into Trac:

1) Re-rename 'View Tickets' back to 'Reports'? :)

2) Add a new module specifically for custom reports.

3) Only provide interface, coders should use framework to code new modules (e.g. each custom report would be its own module).  This may work -- 

4) Aren't the Timeline and Searching features just custom reports?

5) Provide reports/ directory in trac environment for custom reports, scan this directory to provide listing.",bsoudan
4. Commented,548,[Patch] Support for subcomponents,ticket system,devel,next-major-releases,enhancement,low,2004-06-15T04:44:22+02:00,2015-12-19T16:59:28+01:00,"I'd like to request the addition of a subcomponent field.  This would be useful for breaking large component pieces into smaller subsets.  In particular, the project I'm working on includes a core engine and several plug-in style projects.  It makes sense to keep it all in the same svn repository as well as the same trac db.  However, with the addition of a subcomponet (or feature or something like that), the granularity of tracking for the plug-in projects would be much better.",acarter24@…
4. Commented,787,Change attachment description,attachment,0.7.1,next-major-releases,enhancement,low,2004-09-29T19:23:38+02:00,2018-06-29T16:09:11+02:00,It would be a nice feature if you could change the description of an attachment without having to delete and re-upload it.,datrac@…
4. Commented,1216,wiki pages caching,wiki system,devel,next-major-releases,enhancement,low,2005-02-22T18:22:45+01:00,2020-06-14T05:34:50+02:00,"Most of the time wiki pages can be considered as a static content. So instead of generating and regenerating wiki pages -> html output, perhaps it would be useful to cache generated HTML output of wiki pages on the disk. Next time, page is requested checking if there have been changes - if not serve the file, otherwise - regenerate HTML page and serve newly generated file. 

Sure this raises a question, what to do with embedded python macroses (see wiki-macros).
Having such functionality, would help to reduce server load and would be very helpful especially with wiki rst (Restructured Text extension). 

This ticket is rather an attempt to find out if there is a demand for such functionality. Consider this ticket as a discusion starting point.",zilvinas
4. Commented,1395,Text box for duplicate when a bug is a duplicate,ticket system,devel,next-major-releases,enhancement,low,2005-04-03T13:22:08+02:00,2023-05-04T02:49:53+02:00,"There should be a form item for writing the bug number when you mark a ticket as a duplicate.
Developers are lazy, they tend to forget stuff, etc.
The original bug should get a notice that given bug was marked a dupe of it

",ludde
4. Commented,2293,Make rss-feeds of more parts of trac available,wiki system,0.9,next-major-releases,enhancement,low,2005-11-02T10:39:16+01:00,2010-11-28T20:02:18+01:00,"Hi there,

I frequently want to have rss feeds that monitor specific parts of a trac install. Now the only part of trac witch offers rss feeds are the TracTimeline, the TracReports and TracQuerys and the TracBrowser.

What I'd want is more flexibility mostly in the wiki, so I can have rss feeds of changes on a individual website, or only websites with a comon prefix.

Now, offering rss links on every page would be not very good I think, as it would be hard to explain on which page you get an rss feed of what option - BUT on the Timeline page it would be very natural, to restrict it only one page, or only pages with a specific prefix.

And then simply offering an rss feed for the currently selected options.",Martin Häcker <spamfaenger@…>
4. Commented,3255,Context-sensitive new ticket prefill,ticket system,none,next-major-releases,enhancement,low,2006-06-13T00:27:35+02:00,2015-05-26T20:50:57+02:00,"I'd like to extend the idea behind a `worksforme`-ed #3253 as follows: it'd be nice to enter a ticket quickly based on the conditions I'm ''looking at'' right now.

  Example: I create a query for __owner__ ''X'' and __milestone__ ''Y'' using TracQuery. I review the results and decide to add to the workload of ''X'' and create one more task. It'd be great to simply be able to click on a link that says __Create new ticket in this view__ (not a good wording) or something like that.

Similarly, and that's what #3253 was proposing, it'd be nice to create a ticket right from the milestone's page that is assigned to this milestone. Or create a ticket assigned to this milestone and a particular component by clicking one of the `[`now imaginary`]` knobs next to one of the __sort by ''component''__ progress bars on the right of the milestone's view. Or by clicking somewhere in the query that results from clicking on this progress bar... You get the idea.

Moreover, I actually would prefer the standard __New Ticket__ action to be ''context-sensitive'' as I describe above and always prefill ticket fields for me based on what is in the current page's view.

To extend this beyond milestones and queries, when I'm looking at a Wiki page or a commit log or a source code item, and I click __New Ticket__, I'd be glad to see that there's a [wiki:TracLinks TracLink-ified] reference to that object. Maybe that's one of the ideas TracObjectModelProposal is trying to accommodate, but it would need help from Trac on how to ''deduce'' some relations between Trac objects, in this case to help fill out a ticket more quickly.",s.lipnevich@…
4. Commented,3734,Provide Possibility to 'freeze' a Milestone,ticket system,devel,next-major-releases,enhancement,low,2006-09-16T02:04:54+02:00,2015-05-26T20:50:57+02:00,"It should be possibly to flag a milestone as 'freezed', thus no new tickets can be filed.

see #3730 for an example-conflict.",ilias@…
4. Commented,4279,add a plugin to comment on a page,wiki system,0.10.2,next-major-releases,enhancement,low,2006-11-28T11:07:37+01:00,2023-09-28T20:17:01+02:00,"best is if can be inline. see: http://www.jackslocum.com/blog/2006/10/09/my-wordpress-comments-system-built-with-yahoo-ui-and-yahooext/

or, http://gplv3.fsf.org/comments/gplv3-draft-2.html

another mode can be mysql style: http://dev.mysql.com/doc/refman/5.0/en/select.html

or, maybe combined. have a way of marking a line/block of text and then enter a comment, so when a viewer clicks the mark, it is a link to the comment down the page.",ittayd@…
4. Commented,4695,Icons for InterTrac and InterWiki links,wiki system,0.10.3,next-major-releases,enhancement,low,2007-02-08T20:19:07+01:00,2015-05-26T20:50:57+02:00,"provide a facility to configure Icons for InterTrac and InterWiki links.

i.e. the Wikipedia favicon for a Wikipedia InterWiki link. this Icon can stay alone if no Text there for the given link.

",Holger Winkelmann <hw@…>
4. Commented,5010,shutdown hook for plugins,general,devel,next-major-releases,enhancement,low,2007-03-23T19:08:57+01:00,2022-01-05T19:36:19+01:00,"In a plugin, I'd like to create persistent connections somewhere (to a database, or a pipe to talk to another program, whatever) when trac starts (or my plugin is used for the first time), and close that connection again when trac ends, regardless of the reason why trac shuts down.

There could be an extension point resp. interface for the plugin to implement, that contains a shutdown() method.



",thomas.moschny@…
4. Commented,5119,"zip source download link should support ""current version""",version control/browser,,next-major-releases,enhancement,low,2007-04-10T12:46:54+02:00,2015-05-26T20:50:57+02:00,"the source download link should be depending on the revision which is displayed in the source browser. i.e.:
 * if trunk (head, latest) is displayed, the download link should be trunk too, [http://trac.edgewall.org/changeset/trunk/trunk?old_path=%2F&format=zip like this]
 * if some revision is displayed, the download link should be that revision too, [http://trac.edgewall.org/changeset/5000/trunk?old_path=%2F&format=zip like this, r5000]

this would allow to give somebody else a direct download link by just copy-pasting the link.
",ThurnerRupert
4. Commented,5227,provide option to insert summary in a ticket link,wiki system,devel,next-major-releases,enhancement,low,2007-04-26T20:43:32+02:00,2015-05-26T20:50:57+02:00,"It would be nice to be able to create a ticket link that automatically includes the summary line for the ticket.  A possible syntax for this could be `[ticket:23:summary]` and have it do the same thing as `[ticket:23 #23: Prettier ""Access Denied"" message.]`, so it would look like [ticket:23 #23: Prettier ""Access Denied"" message.].",Eli Carter
4. Commented,5382,improve storage of binary content in the database,database backend,devel,next-major-releases,enhancement,low,2007-05-28T00:00:26+02:00,2015-05-26T20:50:57+02:00,"r5390/#4087 breaks compatibility with python2.3, as there doesn't seem to be a unicode.decode method.

Patch attached (don't know if this is the best solution though, but works for me at least).[[BR]]
Decoding content via str() should be safe (base64 ;)).",Nils Maier <MaierMan@…>
4. Commented,5498,Use #. as a wiki markup for ordered list,wiki system,devel,next-major-releases,enhancement,low,2007-06-12T14:56:33+02:00,2015-05-26T20:50:57+02:00,"It would seem natural to write ordered list using the `#` character, such as:
{{{
  #. first item
  #. second item
}}}

This syntax would not replace the current syntax, i.e. using `1.`, but would be an add-on.
",Emmanuel Blot
4. Commented,6232,Setting different completion ratios on different ticket states in [milestone-groups],roadmap,devel,next-major-releases,enhancement,low,2007-10-23T10:26:00+02:00,2015-05-26T20:50:57+02:00,"It would make sense to be able to set [milestone-groups] ''ticketstate''.overall_completion to a percentage rather than a boolean.

I have set up a ticket workflow that goes like this: open -> programmed -> reviewed -> tested (closed). I want to assign completion ratios something like this:
 * programmed - 40%
 * reviewed - 20%
 * tested - 40%

That in effect means that if all tickets were programmed, but none open, reviewed or tested, the overall completion would stand at 40%.

",tjorvi@…
4. Commented,7724,Allow user provided mime-type for attachments,attachment,0.12dev,next-major-releases,enhancement,low,2008-10-15T19:48:41+02:00,2014-07-31T15:38:11+02:00,"While for svn repository files the '`svn:mime-type`' property can be used there is no way to explicit provide the mime-type for wiki attachments.

The files which mime-type is not automatically detected by Trac can not be correct inline displayed when the mime-type isn't provided by the user.
For `source` files the correct `svn:mime-type` can be set, but not for attachments.

This affects e.g. plugins implementing `IHTMLPreviewRenderer` for non-standard mime-types. Here the plugin isn't used for attachments because of the missing correct mime-type.

Question: Is there a possibility to register a file extension with a curtain mime-type, without hacking `/trac/mimeview/api.py`?

",martin@…
4. Commented,8677,Ability to follow/unfollow a ticket,ticket system,none,next-major-releases,enhancement,low,2009-09-16T09:05:59+02:00,2011-06-07T17:51:05+02:00,"It would be great to be able to start following (receive notifications to email) or stop following any ticket you are watching in one click. This would work for logged in users only of course. 

",Alexey Timanovsky <timanovsky@…>
4. Commented,8681,[PATCH] Allow adding usernames to a ticket CC list,ticket system,0.11.4,next-major-releases,enhancement,low,2009-09-22T00:27:26+02:00,2015-12-19T17:03:38+01:00,Allow adding usernames to a ticket CC list instead of e-mail addresses for users which can only select checkbox to add themselves to the CC list (and thus cannot control content). For our setup it would be enough to just add a project-wide configuration switch which would tell Trac whether to prefer usernames or e-mail addresses.,Mitar
4. Commented,9263,"if SVN is used, milestone should manage/allowtoassign links for branch and tag",roadmap,,next-major-releases,enhancement,low,2010-04-23T11:54:37+02:00,2010-09-30T10:03:52+02:00,"The history of milestones is a history of SVN release tags on different branches here.

After years or months when I look into the history of milestones I need to know what SVN branch and tag the milestone actually was.

One could say, add a note in the milestone description but I'd prefer if the creation/closing of a milestone offers to set the branch and tag information. And also displays it in the same way as the date information.

I used your search engine to find out if it was already desired but haven't found such wish.",fbrettschneider@…
4. Commented,10049,Trac-admin should permit issue or task creation,admin/console,,next-major-releases,enhancement,low,2011-02-26T19:40:37+01:00,2012-07-04T20:58:30+02:00,"Hello,

I saw trac-admin allows to close an issue. I suppose this is dedicated to let user create SVN hooks for example.

In the same way, I'd like to be able to open an issue or a task from CLI. Indeed, it would be a great way to automate ticket opening.

It would be interesting to open a task from crontab or to create a function in our programs to relay some stderr to trac-admin in order to open an issue.

Concerning tasks, I suppose everybody could be concerned. Concerning issues, I know that most projects do not need this because tickets are bugs detected by users but in other organizations, people worked this way (particular error need to be solved via a ticket or particular jobs take an inventory of possible errors in a ticket). I personally would be really interested to open an issue if a program do not execute the ""if"" but the ""else"" :)

Regards,
Phil.",philippe@…
4. Commented,11493,Add config option to show changeset files in ticket's comment,ticket system,1.0-stable,next-major-releases,enhancement,low,2014-02-21T02:50:45+01:00,2017-09-09T00:45:38+02:00,"I want to confirm changeset files in comment related to the ticket. It's useful to find a particular file related to the ticket. I made a patch to do this. How does that sound?

{{{ #!ini
[ticket]
commit_ticket_reference_show_files = true
}}}

[[Image(show-changeset-files-in-comment.png)]]",t2y <tetsuya.morimoto@…>
4. Commented,4033,exceptions.RuntimeError: Application didn't call startResponse before writing data!,web frontend,devel,next-stable-1.6.x,defect,low,2006-10-27T23:25:23+02:00,2023-09-23T22:33:10+02:00,"Got this traceback in my log file:

{{{
        Traceback (most recent call last):
          File ""/usr/lib/python2.4/threading.py"", line 422, in run
            self.__target(*self.__args, **self.__kwargs)
          File ""/home/trac/Projects/Twisted/trunk/twisted/python/threadpool.py"", line 148, in _worker
            context.call(ctx, function, *args, **kwargs)
          File ""/home/trac/Projects/Twisted/trunk/twisted/python/context.py"", line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File ""/home/trac/Projects/Twisted/trunk/twisted/python/context.py"", line 37, in callWithContext
            return func(*args,**kw)
        --- <exception caught here> ---
          File ""/home/trac/Projects/Twisted/trunk/twisted/web2/wsgi.py"", line 199, in run
            self.handleResult(result)
          File ""/home/trac/Projects/Twisted/trunk/twisted/web2/wsgi.py"", line 289, in handleResult
            self.writeAll(result)
          File ""/home/trac/Projects/Twisted/trunk/twisted/web2/wsgi.py"", line 247, in writeAll
            raise RuntimeError(
        exceptions.RuntimeError: Application didn't call startResponse before writing data!
}}}

(No trac frames in there, sorry.)

The three requests made of the system with a nearby timestamp were logged as:

{{{
198.49.126.190 - - [27/Oct/2006:00:36:24 -0500] ""GET /trac/ HTTP/1.0"" 200 14837 ""-"" ""-""
198.49.126.190 - - [27/Oct/2006:00:36:29 -0500] ""POST /trac/ HTTP/1.0"" 500 201 ""-"" ""-""
198.49.126.190 - - [27/Oct/2006:00:36:47 -0500] ""GET /trac/ticket/1757?format=rss HTTP/1.0"" 200 6533 ""-"" ""Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)""
}}}

The POST which received a 500 response seems notable, but I have no idea what the post contents were.

As the traceback suggests, the server is running as a WSGI application in a Twisted container.  The version of trac being run is trunk@4045.
",exarkun@…
4. Commented,5820,[PATCH] standalone trac does not support IPv6,web frontend/tracd,0.11,next-stable-1.6.x,defect,low,2007-08-04T17:03:45+02:00,2023-09-23T22:33:10+02:00,"(error is: socket.gaierror: (-9, ""Address family for hostname not supported"")

The way sockets are initialized is wrong. trac (or the underlying wsgi code for python 2.4) is assuming socket.AF_INET before even knowing the server address.

Standard code for initializing a ipv6 aware socket, that will work in ipv4-only machines (see U. Drepper tutorial) is:

{{{
#!python
>>> import socket
>>> gais = socket.getaddrinfo(""::"",8000, socket.AF_UNSPEC, socket.SOCK_STREAM) # host, port, af, tcp, ... 
>>> for gai in gais:
...   try:
...     sock = socket.socket(*gai[:2])
...     sock.bind(gai[4])
...     break
...   except:
...     continue
... else:
...   sock = None
...   raise ""Error, couldn't bind""
}}}

or something similar. This code should work on any python having
getaddrinfo, which means anything modern enough. In fact this code
will try to bind in any different possibilities given.

None means localhost in the most general way (127.0.0.1 or ::1);
""::"" or ""0.0.0.0"" means any ipv6/ipv4 or any ipv4 address. For concrete
addresses, getaddrinfo will parse and take care of the socket parameters.

",sgala@…
4. Commented,10620,'trac-admin changeset added' adds changeset as invalid user,contrib,0.12.2,next-stable-1.6.x,defect,low,2012-03-11T14:20:55+01:00,2023-09-23T22:33:10+02:00,"I'm trying to explicitly notify trac about new changeset in mirrored repository (which is updated by svnsync).
Instead of getting username of author from SVN (from specified REV), it uses current UID as author name.

Behaviour without explicit notification of trac is normal (uses author from SVN, not apache's one).",cv.mail@…
4. Commented,13414,Support PyPy,general,,undecided,enhancement,low,2021-08-02T00:57:46+02:00,2021-08-16T04:54:20+02:00,"I was able to get trac running under PyPy in https://foss.heptapod.net/pypy/pypy/-/issues/3528

Originally it was crashing on ticket queries, but switching psycopg2 to psycopg2cffi via this patch below resolved the crashing:

{{{#!diff
diff --git a/trac/db/postgres_backend.py b/trac/db/postgres_backend.py
index f9f910630..8670f83ac 100644
--- a/trac/db/postgres_backend.py
+++ b/trac/db/postgres_backend.py
@@ -31,6 +31,14 @@ from trac.util.html import Markup
 from trac.util.text import empty, exception_to_unicode, to_unicode
 from trac.util.translation import _
 
+# Attempt to use psycopg2cffi in compatibility mode if available
+# this enables usage of psycopg2cffi under pypy
+try:
+    from psycopg2cffi import compat
+    compat.register()
+except ImportError:
+    pass
+
 try:
     import psycopg2 as psycopg
     import psycopg2.extensions
}}}",kallisti5
4. Commented,991,Timeline Ticket messages should strike out the ID if closed,timeline,0.8,unscheduled,defect,low,2004-11-24T23:03:46+01:00,2022-02-12T23:05:37+01:00,"It would be very useful if all ""Ticket""-type messages on the timeline would strike out the ID for closed tickets.

For example, in this message:

""Ticket #987 created by mdc @ manbw.dk""

If Ticket #987 has since been resolved, the timeline ""Ticket #987 created"" message should strike out the ""#987"" -- even if it's a ""created"" message.

This would convey more information: That the ticket was created but has since been closed.",Adrian Holovaty <holovaty at gmail>
4. Commented,6556,RSS feed is not valid,report system,0.11b1,unscheduled,defect,low,2007-12-26T15:34:36+01:00,2015-03-02T22:53:54+01:00,"I have an Trac 0.11b1 installation and want to subscribe to RSS feed for tickets i need to monitor.
But RSS feed is not visible within NetNewsWire Lite (v3.1b4). But its visible in Vienna (v.2.2.2.2212)...
So i make a decicion that RSS feed have some ""not-fatal"" error within ('cause NNW is know as strict RSS reader) while Vienna allow and display this feed.
I can't check feed with online validator - i have intraweb Trac so can't say exactly where is error is.
Feed from this site is displayed well in NNW (i try this link http://trac.edgewall.org/report/20?format=rss&USER=anonymous)",nilcolor+trac@…
4. Commented,217,XML-RPC/SOAP/etc. interface,general,0.6,unscheduled,enhancement,low,2004-04-01T00:04:00+02:00,2019-08-11T07:31:50+02:00,It would be kinda nice to have an interface for Trac that would allow people to develop things like allowing tickets to be reported from within an application.,jon@…
4. Commented,615,Change default wiki syntax,wiki system,0.7.1,unscheduled,enhancement,low,2004-07-12T16:21:11+02:00,2015-06-09T14:06:49+02:00,"The wiki supports several different formats like restructured text and html.

It would be nice if it would be possible to change the default syntax that is
used in the wiki. So that you could for example use restructured text without the `{{{ }}}` blocks.

",toni
4. Commented,6078,[PATCH] Enabling multiple email notification for a single user.,notification,,unscheduled,enhancement,low,2007-09-24T15:42:43+02:00,2016-06-15T12:27:08+02:00,"Here is a simple patch to enable the possibility to provide multiple email addresses for a user. Once this patch is applyed, the user has just to write the multiple coma-separated addresses. He will receive notification on all the addresses. I've used that to provide multiple adresses (and so many people) behind components.

This patch works with the latest svn, as well as with the 0.10.X branches. I also have the equivalent for the 0.9 branch if you are interested.",christophe.sauthier@…
4. Commented,12984,Incorrect placement of line breaks inside HTML <pre> tags,wiki system,,,defect,low,2018-02-25T15:36:51+01:00,2022-05-09T08:47:47+02:00,"Hello,
We're using Trac 1.2.2.

When entering on a Wiki page:

{{{
#!sh
# Running a jar
java [Java options] -jar josm-tested.jar [Program arguments]

# Launch a Web Start
javaws [run-options] -J[Java option] josm.jnlp
}}}

The resulting HTML code is:
{{{
<div class=""wiki-code""><div class=""code""><pre><span class=""c1""># Running a jar
</span>java <span class=""o"">[</span>Java options<span class=""o"">]</span> -jar josm-tested.jar <span class=""o"">[</span>Program arguments<span class=""o"">]</span>

<span class=""c1""># Launch a Web Start
</span>javaws <span class=""o"">[</span>run-options<span class=""o"">]</span> -J<span class=""o"">[</span>Java option<span class=""o"">]</span> josm.jnlp
</pre></div></div>
}}}

This causes a problem when we try to display this HTML code with Swing (https://josm.openstreetmap.de/ticket/15998) probably because the line break is inside the <span> instead of being right after it.

I think the correct HTML code should be:
{{{
<div class=""wiki-code""><div class=""code""><pre><span class=""c1""># Running a jar</span>
java <span class=""o"">[</span>Java options<span class=""o"">]</span> -jar josm-tested.jar <span class=""o"">[</span>Program arguments<span class=""o"">]</span>

<span class=""c1""># Launch a Web Start</span>
javaws <span class=""o"">[</span>run-options<span class=""o"">]</span> -J<span class=""o"">[</span>Java option<span class=""o"">]</span> josm.jnlp
</pre></div></div>
}}}",vincent.privat@…
4. Commented,1278,attaching file to wiki page does not register as changed page,attachment,0.8.1,next-major-releases,defect,lowest,2005-03-10T19:40:16+01:00,2015-05-26T20:50:57+02:00,"When a file is attached to a wiki page, the page does not show a change in its page history and the page does not show up on the list of RecentChanges or timeline.

For example, I attached a file to SandBox/SubPage on 2005-03-10, but that page's history indicates that it was last modified on 2004-11-16.",Phil Mocek <pmocek-edgewall-tracwiki@…>
4. Commented,781,svn:log editing,version control/changeset view,,next-major-releases,enhancement,lowest,2004-09-25T21:56:16+02:00,2023-02-26T06:24:51+01:00,Would it be possible to use trac to edit svn:log properties?  It would be handy to be able to edit a change log to add more information if needed.,mortonda@…
4. Commented,976,Wiki Page redirects to other Wiki pages and possibly other Trac resources,wiki system,0.11.2,next-major-releases,enhancement,lowest,2004-11-21T12:28:33+01:00,2015-11-30T22:31:39+01:00,"There should be a way to redirect from a wiki page to another Wiki page. A ![[Redirect(target)]] macro could do that.
The `target` could actually be any Trac resource, if specified by a TracLink.

That could be handy in several situations:
 - singular/plural form of WikiPageNames: TracLink redirecting to TracLinks
 - direct alias to a source file: ChangeLog redirecting to source:/trunk/ChangeLog
 - direct alias to a ticket: TooManyDatabaseLocks redirecting to #3446

It could be useful to implement this in Trac core instead of a plugin so that one provide a generic way to detect that one was redirected, and eventually provide a ''Edit'' button that would 
trigger the edition of the originally requested page (the one
containing the ![[Redirect]] macro or the #redirect directive, 
or whatever is chosen to implement it...)


",Christian Boos
4. Commented,1069,"query by example (e.g. when creating a new ticket, check for similar tickets)",ticket system,0.8,next-major-releases,enhancement,lowest,2004-12-17T15:46:06+01:00,2023-02-16T12:47:08+01:00,"There could be some ways to reduce the amount of ''duplicate''
tickets getting created. The simplest way would be to advertise doing a search:

E.g (any better english is welcome, of course): 
=== Create New Ticket ===
''Have you checked that the issue you want to report was not already raised before? If not, please '''Search''' for existing tickets describing your problem before creating a new one.''

Your email or username:
...

----
A more sophisticated way would be to do a search (in the tickets)
based on the content of the ''Short summary'' field and the ''Keywords'' field,
when the reporter ''Preview''s his new ticket. 
The result of the search would also appear on the ticket preview page.
From that point, the reporter could choose either to go on with the creation of
his new ticket (maybe clarifying what distinguishes it from other, similar
tickets), or to contribute to existing similar tickets if some are found 
and relevant for him.",Christian Boos
4. Commented,1445,[ER] Revision Graph for the Version Control Browser,version control/log view,devel,next-major-releases,enhancement,lowest,2005-04-18T13:36:32+02:00,2018-10-11T09:05:12+02:00,"== The Revision Graph ==

The revision log shows you only the ''copy from'' information.
That's also all you can get from the `svn` command line tool.

There's no easy way to find out the ''copy to'' information:
how many times and where a given path (say the `/trunk`) 
has been copied.

The TortoiseSVN client provides this feature in a graphical form
(see [http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-revgraph.html TortoiseSVN revision graph]),
and I think Trac should provide that information as well, though possibly not graphically.

== Additional Features ==

 * support for diffing between 2 arbitrary revisions picked
   from the graph 
 * optional support for graphical representation of the revision graph
",Christian Boos
4. Commented,1465,Trac could use a distributed VCS storage,wiki system,0.8.1,next-major-releases,enhancement,lowest,2005-04-22T11:18:37+02:00,2015-05-26T20:50:57+02:00,"hi!

a friend and i are running a small publishing house, and are collaborating with trac and instant messaging - kudos to you, because it does just about all we need!

here's what trac doesn't do very well: we both use laptop computers, and are travelling quite often. in order to work on shared documents, we need to be online constantly, as conventiently most of our shared documents are in wiki format by now. it's not always possible to guarantee internet connetcivity, though...

i realise that subversion is not the ideal repository format for our needs, we really need something like monotone that works well with local repositories that can be merged with a central repository or updated from there. still, writing a whole set of tools such as trac offers on top of monotone would be quite tedious.

so, in a roundabout way what i'm asking is whether it would be possible to run trac in a 'local' mode where it reads the subversion repository information from a local copy _only_ (with limited history/changeset functionality, of course). in addition, trac should store all wiki, ticket and other data in a filesystem structure instead of a db that can also be manages via a seperate or the same subversion repository.

a ""commit now"" or ""i'm online, try to merge with the central repository"" button or something similar might be all that's left to make trac the ultimate in collaboration tools.

now being a developer myself in my day job, i realize that this could be a HUGE feature. depends on your architecture, and even if it lends itself to implement something like that, HUGE just reduces to LARGE.

still, i'd like to see it :)
",jens@…
4. Commented,1514,Mantis conversion script,ticket system,,next-major-releases,enhancement,lowest,2005-05-06T20:17:11+02:00,2017-03-28T02:42:21+02:00,"A script to convert from Mantis(http://www.mantisbt.org/) to Trac would be super-cool!

",Paul Baranowski <paul@…>
4. Commented,3006,Want to be able to merge tickets,ticket system,none,next-major-releases,enhancement,lowest,2006-04-09T22:50:38+02:00,2015-05-26T20:50:57+02:00,"Rather than marking ticket A as closed and a duplicate of ticket B, it should be possible to mark ticket A as a duplicate of another ''without'' closing it; then when B is closed, A is closed as well, and the resolution message appended to both.",dcrosta
4. Commented,5912,Offline mode using HTML5 Web Storage,general,devel,next-major-releases,enhancement,lowest,2007-08-22T23:18:00+02:00,2015-05-26T20:50:57+02:00,"Somebody mentioned to me today that he wished Trac had an offline mode.  ""Google Gears"" is a browser plugin which facilitates this sort of thing.

I don't know how much work it would be to add Google Gears support to Trac.  I may look into it at some point, but right now this is purely a wishlist issue.
",ken@…
4. Commented,6947,Change in colouring scheme for nested replies in the ticket,wiki system,,next-major-releases,enhancement,lowest,2008-03-06T12:00:14+01:00,2015-05-26T20:50:57+02:00,"Currently, when another reply to the ticket's description or comment is added, colours of the reply levels are ""shifted"" - thus, for example, the original post is marked with different colours in each reply. I think that colours for particular level should be preserver, and just another colour should be introduced ""on the left"" (currently new colour appears ""on the right"").

That would make finding the same sentences in different replies much easier (user will just search for the same colour).",Przemyslaw Lapko <przemyslaw.lapko@…>
4. Commented,9127,Drag and drop attachments,attachment,0.12dev,next-major-releases,enhancement,lowest,2010-03-11T00:43:13+01:00,2023-03-02T17:51:50+01:00,"HTML 5 now supports drag-and-drop of files in to the browser. It would be a killer feature if Trac allowed you to just drag attachments in to a wiki page while editing.

See http://decafbad.com/blog/2009/07/15/html5-drag-and-drop for an example implementation.

This is already being supported by projects such as ReviewBoard in their upcoming release.

I believe this HTML 5 feature is supported by at least Firefox 3.6 and Chrome, and possibly by Safari as well.",kamil@…
4. Commented,9602,[PATCH] auto-reload fail by design,general,0.11.7,unscheduled,defect,lowest,2010-09-03T08:26:47+02:00,2022-03-04T08:15:41+01:00,"It is rather funny that nobody spotted it before, but.. autoreload option designed for development mode actually stops to work once you have a syntax error in your script and the script fails to load.

[browser:branches/0.11-stable/trac/util/autoreload.py@7889]

How does this happen. The normal flow with --auto-reload is to start new process for Trac and keep current process solely for monitoring how child behaves. If the child exits with the error code 3, it is restarted. Child itself runs two threads - first it creates thread where a main function is executed. This function processes requests and as a side effect imports all required files filling sys.modules list (shared with main thread, because, well, everything is shared between threads). Main thread then goes into infinite loop to periodically check timestamps of files in sys.modules and exit with error code 3 if timestamp mismatches.

Now the problem. '''If there is a syntax error in .py file''' it is not added into sys.modules and will not be checked to restart child process when the error is fixed.

P.S. I've added it to 0.11.7, because I'd like to see any fix in 0.11. It will be handy for exploring plugins behavior when porting them to 0.12
",anatoly techtonik <techtonik@…>
4. Commented,6014,"Pre/Post processing of the attachments (compression,virus-check,etc)",attachment,,unscheduled,enhancement,lowest,2007-09-12T10:01:45+02:00,2015-05-26T20:55:39+02:00,"I would be so happy if it was possible to specify some pre/post-storing processing, launched when a new attachment is made (to a ticket or a wiki) - and similarly, some pre-reading process, of course.

My goal is to save some disk-space on the server (ok, I know - disk are cheap now, but...) by doing a simple bzip on the attached files (and the reverse operation when the files are read)...[[BR]]
(users of my  trac site have to regularly provide large logs with their tickets, but I can't ask them to do some compression before (specially with such strange things like bzip): they are not computer scientist, and they are quite impatient persons !)

But such feature can also be used for other purpose... like virus detection?",florianseydoux@…
4. Commented,11232,The favicon could show the status of the page,rendering,,unscheduled,enhancement,lowest,2013-07-06T23:48:47+02:00,2013-08-07T00:29:05+02:00,"The favicon.ico could be used to reflect the current status of the project.

If the project currently does have serious bugs, it could be rendered in red,
while if everything is OK, it could be rendered in green.

I suggest putting a small colored bulb on the icon.

Imho the favicons are usually cached by the browsers,
but are updated as soon as you visit the page again.

So this would not make for an automated notification,
but it would reflect the state when you last visited trac.

I usually place a link to trac on my bookmarks bar,
It would be nice to use that as a reminder of the current state.

In the /report/ section it should reflect the color of the topmost entry displayed.
This could also work with custom reports.

It might also be useful for the /ticket/ section.
when a ticket is closed, a green checkmark might be added to the icon.

How to implement that?
- Deliver the favicon on a url related to the page (aka /report/1/icon.ico)
- add a filter to modify the icon, based on the context available at that page

enjoy!
















",eike@…
