wiki:TracQuery

Trac Ticket Queries

In addition to reports, Trac provides support for custom ticket queries, used to display lists of tickets meeting a specified set of criteria.

To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.

Filters

When you first go to the query page the default filter will display tickets relevant to you:

  • If logged in then all open tickets it will display open tickets assigned to you.
  • If not logged in but you have specified a name or email address in the preferences then it will display all open tickets where your email (or name if email not defined) is in the CC list.
  • If not logged and no name/email defined in the preferences then all open issues are displayed.

Current filters can be removed by clicking the button to the left with the minus sign on the label. New filters are added from the pulldown lists at the bottom corners of the filters box ('And' conditions on the left, 'Or' conditions on the right). Filters with either a text box or a pulldown menu of options can be added multiple times to perform an or of the criteria.

You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.

Once you've edited your filters click the Update button to refresh your results.

Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the Next Ticket or Previous Ticket links just below the main menu bar, or click the Back to Query link to return to the query page.

You can safely edit any of the tickets and continue to navigate through the results using the Next/Previous/Back to Query links after saving your results. When you return to the query any tickets which were edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.

The query results can be refreshed and cleared of these status indicators by clicking the Update button again.

Saving Queries

Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have Updated the view and then click the Save query button displayed beneath the results. You can also save references to queries in Wiki content, as described below.

Note: one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click Save query. This will build the query string for you. All you need to do is remove the extra line breaks.

Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.

You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.

[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]

Which is displayed as:

Active tickets against 1.0

This uses a very simple query language to specify the criteria (see Query Language).

Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ? character:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Which is displayed as:

Assigned tickets by owner

Using the [[TicketQuery]] Macro

The TicketQuery macro lets you display lists of tickets matching certain criteria anywhere you can use WikiFormatting.

Example:

[[TicketQuery(version=0.6|0.7&resolution=duplicate)]]

This is displayed as:

#253
Resource.render should allow returning a Deferred
#343
reactor fd cleanup between tests
#393
[PATCH] HTTP Basic Auth based guard
#423
Simpler interface to the conch client code
#612
HTTPCache support in twisted.web.client
#614
IReadDescriptor and IWriteDescriptor are missing some methods which the reactor requires of such objects
#676
twisted.persisted.sob._EverythingEphemeral is totally broken
#681
[PATCH] Make microdom preserve boolean of "was there whitespace or not"
#764
SSL connection hangs open with firefox, can't reverseproxy things on a HTTPS server.
#859
what the heck is wrong with buildbot running the SQLite tests
#884
[NEED HELP] application howto has no example of writing a custom service
#914
xmlrpc.QueryFactory failed to catch some exceptions
#959
Generate documentation from lore automatically after checkins
#1038
iocpreactor needs to support TCP half-close
#1039
iocpreactor does not cancel pending operations on shutdown
#1121
Twisted fork of pyOpenSSL (pyTLS ?)
#1123
win32reactor spawnProcess incorrectly escapes cmd line
#1126
Package Twisted using Eggs/EasyInstall
#1138
Is the Deferred tutorial actually a good document?
#1139
[NEEP HELP] Update mktap.xhtml to reflect current best practices
#1143
Documentation: Aliases not covered in the API documentation
#1213
trial does not isolate test methods from each other
#1223
vfs methods should always return deferreds
#1304
twisted.trial.test.test_failure_formatting.TestFailureFormatting.testFormatErroredMethod hangs indefinitely
#1357
sendFile handy API for FTPClient
#1366
TwistedQuotes documentation references external source files
#1375
hashed host entries in known_hosts for conch (SSH)
#1412
ExpatError on xmlrpc client connection close
#1473
iocpreactor ignores pauseProducing from inside dataReceived
#1510
abstract.py's writeSequence implementation accepts unicode
#1513
twisted.spread.banana check for INT vs. LONGINT will fail on some 64-bit platforms
#1525
Move sslverify into twisted.internet
#1588
verifyHostKey fails if ~/.ssh/known_hosts missing or it's empty
#1608
Add low-level support for WebDAV access controls
#1614
trial fails to set reactor.running flag
#1618
twisted.pb.test.test_negotiate.CrossfireReverse.test4 fails intermittently
#1619
Reloading html page with unchanged CSS generates traceback
#1625
Integrate Mike Orr's finger tutorial additions
#1635
Completely replace t.p.c.Interface with z.i.Interface
#1653
Redirect documentation from private to public location
#1679
conch script does not work on Windows
#1706
Make todo a decorator
#1716
iocpreactor should use WSA functions for sockets
#1727
custom log observer support for twistd
#1739
(patch) Removing system event triggers while firing does the wrong thing.
#1754
adbapi has blanket except: with no logging
#1766
distutils' bdist_rpm fails due to package naming
#1767
distutils' bdist_rpm fails (assuming it is not supported and requesting this as a feature)
#1779
Use URLPath everywhere we deal with URLs
#1798
iocpreactor should use GetAcceptExSockaddrs instead of getpeername for incoming connections
#1803
unittest using adbapi hang on exit
#1811
setup.py bdist_rpm fails on FC5 for x86_64
#1812
Installation error: "Subprocess exited with result 1 for project web"
#1821
Turn deferredgenerator wiki page into howto
#1826
Typo in twisted.plugin example
#1847
build error, svn version 11356
#1856
setup.py broken in SVN?
#1881
test_jabbercomponent, test_jabbererror, test_jabberxmlstream, test_msn fail if pyopenssl is not installed.
#1896
Put giant warnings about obsoleteness on obsolete webpages
#1932
Make twisted installable with easy_install / setuptools
#1934
twisted.web2.auth.wrapper.HTTPAuthResource problem
#1948
Trial's TestLoader should sort tests in a specfic order
#1954
Remove erroneous usage of popen3 from GetPasswordTest.testStdin
#1989
trial issues with Zope Interfaces in Python 2.5 be
#2012
HTTP HEAD Request fails if Content-length given
#2021
iocpreactor.tcp.ClientSocket should implement ISystemHandle
#2032
"setup.py clean" does not remove all files after build
#2037
twisted.python.reflect.namedAny depends on undocumented import implementation details
#2048
In twisted.web2 the fileupload.parseMultipartFormData function has an unoverideable keyword argument
#2049
web2/fileupload.py parseMultipartFormData has unoverideable default keyword arguments
#2058
Can't pass unicode URL to xmlrpc.Proxy
#2060
Generic IAddress connect and listen methods.
#2070
cr+lf replacement in pop3.py/transformChunk()
#2073
Access to twisted request object in WSGI applications
#2076
twisted from svn will traceback when run on platform without working xml.dom.minidom
#2087
buffer size doubling for iocpreactor
#2088
twisted.words.im.basechat.ChatUI.contactChangedNick is completely broken.
#2101
Coding standard should fallback to PEP 8
#2103
http DIGEST authentication forced on each page refresh
#2106
t.p.versions needs to be updated to handle Subversion 1.4
#2114
t.conch.test.test_cftp uses reactor.iterate()
#2120
usage.Options breaks with short subcommand names longer than 1 char
#2135
twisted.intenet.stdio does not read console input on Windows
#2144
Add Trial option to stop test run on the first failure
#2163
Add subunit reporter to Trial
#2175
twisted.plugin.getCache doesn't handle WindowsError ERROR_FILE_NOT_FOUND
#2182
process exit status support for Twisted
#2219
isInIOThread() returns False when used in TestCases
#2221
MotdResource gets stale in finger15.py
#2231
t.p.usage documents multicharacter shortcuts for subcommands but does not support them.
#2235
WebDAV copy fails if the name of the destination folder contains whitespace
#2246
Wrong signature for addCallbacks in the Deferred Reference
#2251
twisted.mail.pop3.__all__ is mis-defined
#2256
test_tcp.HalfClose3TestCase.testReadNotificationRaisesTest fails sometimes on OSX
#2272
epytext errors in svn trunk, set up pydoctor buildbot
#2282
Annotations for Twisted Finger Tutorial
#2283
text color in search box hard to read
#2287
deferredCoroutine using new generator features in Python 2.5
#2288
deferredCoroutine using new generator features in Python 2.5
#2311
Twisted Perspective Broker anonymous login support
#2314
t.r.procmon.ProcessMonitor should take an environment dictionary in addProcess
#2316
Bug in how pb handles synchronous pb.Errors in remote_foo methods
#2318
Bug in how pb handles synchronous pb.Errors in remote_foo methods
#2322
twisted.test.test_pb.NSPTestCase.tearDown should return result of stopListening()
#2335
Process leaks file descriptors in the presence of errors
#2352
Document and enforce deprecation policy
#2368
twisted.python.versions is broken with svn 1.4
#2369
twisted.python.versions is broken with svn 1.4
#2388
twisted.runner.procmon not even importable on windows
#2393
[buildbot]windows remove pyc state should use "del /s *.pyc"
#2397
missing attribute causing a traceback when running trial
#2400
Test that trac plugin no longer rejects changes when an email address is missing
#2431
_dumbwin32proc leaks process handle
#2439
doc/core/examples/ampserver.py:25: undefined name 'total'
#2445
trial dumps on frame error
#2450
t.t.test_tcp.HalfClose3TestCase.testReadNotificationRaises failed
#2474
Document deferredGenerator/inlineCallbacks in Deferred howto
#2475
Document python logging integration in log howto
#2489
trial.py script fails on Windows with Python 2.5
#2551
Get rid of reference to wxsupport in choosing reactor howto when it's removed
#2553
Projects page links to old versions of code
#2559
trial runs unit tests in an arbitrary order
#2568
trial cleanThreads breaks run until-failure
#2577
"twistd stop" plugin
#2580
twisted.web2.stream infinite loop
#2600
dtrial - specify which machines (platforms) should be used to execute tests
#2611
Protocols in twisted.protocols.basic use O(n**2) complexity
#2619
t.conch.ssh.filetransfer doesn't support SFTP v6
#2620
distribution needs fixups for "setup.py bdist_rpm"
#2636
stdio.StandardIO breaks, readhack code in process.py to blame
#2641
Circular reference in tcp.BaseClient
#2644
Errors while writing dropin.cache should show a less horrible error message
#2662
ITransport shouldn't include getPeer/getHost
#2698
Build Bug on Cygwin
#2701
twisted.words.xish.yappsrt.Scanner.__init__ is not proper epytext
#2702
twisted.words.xish.yappsrt.Scanner.__init__ is not proper epytext
#2708
twisted.python.log.msg isn't documented in the api documentation
#2711
ConnectionRefusedError doesn't provide any information about the connection that was refused
#2714
Add http_proxy and https_proxy support to web/client.py
#2718
async howto implies Deferreds solve concurrency issues
#2720
merge all deferreds howtos into one that doesn't suck
#2730
Documentation for CertificateOptions.__init__'s caCerts param mentions a non-existant caCertFile param.
#2738
t.i.a.IPv4Address.host containing host name instead of ip address
#2774
It should be possible to receive notification of process ending
#2791
[Patch] Bad boundary check when parsing a Socks4a packet
#2796
trial should not print tracebacks for expected failures
#2798
Can't use non-ascii characters in a bug description
#2812
cfreactor replacement using threadedselectreactor
#2814
bugfix in epollreactor.py: sometime event cann't be identified when connection is lost
#2841
[PATCH] Add a redirect limit to HTTPPageGetter in twisted/web/client.py
#2852
spawnProcess doc glitch
#2868
unclean reactor error from testHostAddress on OS X
#2879
twisted.test.test_pb.BrokerTestCase.test_publishable fails on windows sometimes
#2882
test_process hanging on vista slave (popup)-
#2917
intermittent twisted.test.test_pbfailure.PBFailureTest.test_deferredSecurity failure on OS X
#2922
web.ProxyClientFactory does not close request after sending error message
#2932
I get this error repeatably doing a simple web page read more than once.
#2946
implement an update-capable (RFC 2136) twisted.names server
#2949
twisted.internet.gtk2reactor.PortableGtkReactor is broken and can provide no utility
#2961
twisted.web2.dav.base.WebDAVElement defines __eq__ but no __hash__
#2964
web2.static.File is unable to handle query arguments to paths ending with /
#2978
documentation unclear on how gtk2reactor applications should be started
#2984
move all TODO'd tests into tickets, delete them from the test suite
#2986
twisted.web.static.File should support range requests
#2987
IntNStringReceiver should use a list for its incoming buffer
#3006
Subsystem's connectionLost method executed twice in certain situation.
#3012
twisted.internet._sslverify.CertificateOptions does not work with chained certs
#3015
StringIOWithoutClosing code duplicated in many test suites
#3021
Explain why Deferred.setTimeout is deprecated in documentation so people stop wondering.
#3038
Logfile rotation continues infinitely
#3065
imap relies on a C locale for date formatting
#3088
Make trial able to run tests and modules in a specific order
#3094
Import illustrations into lore from Inkscape
#3103
web2 http server does nothing on connectionLost
#3112
update deprecation warnings for twisted.enterprise
#3117
LICENSE file should be utf-8, not latin-1
#3134
Document the expected parameters to twisted.python.log.err
#3155
Invoking loseConnection in established SSHSession raises AttributeError
#3157
twisted.web.client regurgitates invalid URLs received in Location header when following redirects
#3180
ReactorSelectionMixin should store the reactor name
#3185
twisted.python.ThreadPool ought to have a deferToThread() method
#3191
in manhole in gnome-terminal, lines longer than the terminal is wide result in excessive scrolling and duplication
#3195
Concurrency issue in web.client
#3221
PortableGtkReactor uses _simtag, but _simtag is only defined in GtkReactor
#3227
Broken links on Using Processes page in core docs
#3229
Mention Deferred chaining limit in howto/defer.html
#3243
Invalid Syntax while installation of Twisted 8.0.1
#3247
Stop using or encouraging mktap in the documentation
#3249
Trial should run tests in the order specified on the command line
#3256
use (and backport) python 2.6's signal functionality to avoid interruptions due to SIGCHLD
#3272
sorting the --profile output in trial
#3273
define IRequest for twisted.web
#3274
Replace DummyRequest with a verified fake of Request
#3310
adapt twisted.test.test_process to pypy
#3311
Don't rely on gc details
#3314
Conch plugin always requires privilege escalation
#3316
Don't rely on gc details (part #2)
#3317
Don't rely on gc details (part #3)
#3337
manhole exception: AttributeError: 'module' object has no attribute '__getattr__'
#3345
domish.Element comparison not possible
#3351
Examples for DefferedList are out of date
#3354
Allow new style classes to be used with jelly.setUnjellyableForClassTree
#3364
socket error 11 when sending UDP
#3368
twisted.python.log can't encode unicode correctly
#3378
[PATCH] web.client.HTTPPageGetter broken HTTP fix
#3389
t.c.client.default known_hosts does not grok openssh's new hash-style entries
#3405
Intermittent failure of twisted.test.test_ftp.FTPServerPasvDataConnectionTestCase.testManyLargeDownloads on OS X
#3433
twisted.trial.runner.TrialRunner unconditionally prints warnings to stdout
#3448
EOL character in ssh private key causes decryption to fail
#3454
FilePath operations which are atomic on POSIX should be atomic on Windows
#3474
twistd shouldn't install a timer service
#3485
Add line numbers to Python listings in documentation
#3512
twisted.conch.ssh.filetransfer.FILEXFER_ATTR_ACMODTIME is wrong
#3514
Port of SocksiPy for Twisted
#3522
getHostByName bug: "Please only pass IPs to write(), not hostnames"
#3533
Update SIP support to RFC 3261
#3555
doc/development/legal/contributor-agreement.xhtml does not appear on the website
#3572
Circular reference in twisted.internet.tcp.BaseClient
#3578
Invalid Syntax while installation of Twisted 8.1.0
#3587
deferred for loseConnection
#3604
Create a single definitive module for commonly used test helpers and consolidate usage from existing test modules
#3614
HTTPPageGetter bug on getPage with followRedirect: relative vs full url paths
#3616
SIP UDP transport layer
#3630
Possible error with key authentication of twisted conch
#3633
C based domish.Element serializer
#3640
Printing SMTPClientError raises exception
#3649
more specific warning about plugin cache
#3665
twisted.internet.test.test_posixbase.PosixReactorBaseTests leaks FDs
#3701
Add a checker for ISSHPrivateKey which parameterizes the location of the keys
#3702
Application howto mislinks to ILogObserver
#3705
make trial compatible with python 2.7's test skipping
#3733
limits web2/server.py - parsePOSTData limits are not passed in case of application/x-www-form-url-encode
#3734
Intermittent failure of twisted.test.test_tcp.LocalRemoteAddressTestCase.test_hostAddress on win XP
#3743
On windows, skip pywin32 tests if it is not available
#3772
Plugin link in "writing servers" is an unwanted distraction
#3793
imap4 doesn't cope when FLAGS are returned with RFC822.TEXT
#3803
fix many LineReceiver slowdowns and bugs
#3823
Add system.multicall support for the XML-RPC server
#3826
ZipPath patch so that plugins works with non-writable plugins cache
#3839
Add release procedure document
#3850
bug in prePathURL breaks proxies (8.2.0)
#3858
Add a mechanism for viewing the state and history of a deferred's callbacks as an optional debugging mode
#3899
LoopingCall (and/or everything else) dies when time goes backwards
#3900
Deprecation warnings in Python 2.6 when importing test_process
#3915
spawnProcess docs could be clearer
#3920
Socks4a now with Asynchronous hostname resolution
#3927
twisted.conch.scripts.cftp chunk copying can result in "RuntimeError: maximum recursion depth exceeded"
#3938
Add support for clients in strports
#3943
Rewrite deferred documentation
#3944
ERR_ERRONEUSNICKNAME is unhandled and irc_ERR_NICKNAMEINUSE's docstring is wrong
#3952
HTTPClientFactory follows redirect after POST by reposting, instead of GET'ing new URL
#3957
TypeError: <lambda>() got multiple values for keyword argument 'asc'
#3958
EMFILE should be reported to protocol factories so that they can do something about it.
#3970
Intermittent python.exe crash with iocpreactor/Vista
#3974
reader/writer interface docs incomplete
#3975
backtrace on canceled test
#3980
some IReactorFDSet docstrings are incomplete
#3982
twisted.names.client.getHostByName() UDP socket leak
#3986
test_process.py # DeprecationWarning: The popen2 module is deprecated. Use the subprocess # module
#3988
python setup.py bdist_rpm fails on CentOS 5.3
#4015
names client Resolver class not handling connectionLost
#4034
OpenSSL VC++ client fails to communicate to OpenSSL Twisted Server
#4039
you should be a ble to close a t.e.adbapi.ConnectionPool even if it was never started.
#4040
Threading error occurs with adbapi and SQLite
#4043
Better documentation for twisted.mail.smtp
#4048
imap4.py exception cause Nokia imap client (s60, tested on N97, XM5800) to wait forever
#4055
when the smtp server auth with 'username', the smtp.py client will thow exception
#4070
WSGI module failing with POST parameters
#4113
twisted.web's wsgi.input fails on large or multipart posts
#4118
implementation issue with t.w.http.Request
#4122
Ability to change session cookie name
#4135
twisted.trial.runner.TrialRunner._removeSafely is missing a module qualification
#4141
Too many open (leaking?) File Descriptors and "cannot import name SHA"
#4146
Remove deprecated t.i.iocpreactor.udp.Port.loseConnection
#4147
Remove deprecated t.i.iocpreactor.udp.Port.loseConnection
#4148
Remove deprecated stuff in twisted/internet/address.py
#4150
Remove deprecated twisted.internet.defer.Deferred.setTimeout
#4153
It should be easier to choose a sane reactor default for a given platform
#4160
LineReceiver string buffering
#4161
sasl fails when using unicode jids
#4165
NickServ support for twisted.words.protocols.irc
#4171
add complete producer/consumer example that users can download and run
#4193
NameError: global name 'FilePath' is not defined
#4210
twisted.names.common.extractRecord tries to disconnect a protocol with no transport
#4237
Remove deprecated twistd --nothotshot
#4246
Port _c_urlarg to 3.1
#4252
twisted.web.iweb.IRequest does not have a "content" attribute
#4259
twisted.python.logfile.BaseLogFile.__init__ uses an assert to check the existence of the directory passed to it
#4260
change twisted.python.failure.Failure stack-saving semantics
#4294
trial should run without emitting deprecation warnings relating to Py3k incompatibilities
#4305
python/version.py: Remove py3k deprecation warnngs when running twisted/test
#4312
XMPP Stanza Error 'remote-server-timeout' yields no type and code
#4323
Further ewstylization of twisted
#4325
Update README.win32
#4327
xmpp streams disconnects when namespaces are not well formed
#4334
News building tools include web2 when they shouldn't
#4354
Automate building & uploading API docs for website
#4355
Automate building & uploading howto docs for website
#4361
[PATCH] Reactor sometimes refuses to start on Windows (can't assign requested address for InstallWaker)
#4380
Missing slash (/) in the beginning of a path
#4381
MimeWriter is deprecated, so twisted.mail.smtp should move the import into sendEmail( ) (or just not use MimeWriter)
#4407
logging fails to start properly
#4413
Conch's test_extendedAttributes and test_exec fail on Ubuntu 10.04
#4414
strftime format string in twisted/conch/ls.py triggers ValueError
#4425
twisted.conch.test fails Trial on Ubuntu 10.04
#4432
trial should put _trial_temp in $TEMPDIR by default
#4461
Distinguish between logged errors and raised errors
#4465
twisted.application.app.getSavePassphrase is broken
#4466
test_process failures on Debian
#4484
twisted.mail.smtp still imports MimeWriter
#4493
Web server request does not handle POST URL PROTOCOL
#4498
Use zipfile.ZipFile.open instead of twisted.python.zipstream in twisted.python.zippath
#4518
initgroups doesn't work when the C extension is available and no gid is specified
#4553
Use Sphinx for documentation instead of Lore
#4557
Support setting the rotateLength parameter to None from twistd
#4568
Improve lore2sphinx buildbot results for `projects/core/howto` (except ‘tutorial/’)
#4591
IRCClient should split messages by default.
#4615
insults.window.ScrolledArea is unusable: TypeError on __init__
#4645
Make twisted.internet.epollreactor use Python 2.6's built-in select.epoll if available
#4648
spawnProcess return value does not always implement IProcessTransport
#4659
twisted.web._newclient._WrapperException makes it a little tedious to debug
#4676
There's no api for setting components in a twistd plugin
#4704
Add proxy support to t.w.c.Agent
#4720
setup.py aborts build if cannot compile a C extension module
#4736
Make FilePath docstring mention that it also accepts unicode paths
#4764
Compatibility with Python 3.x
#4765
ssh -X (x11 management) possibility not documented
#4768
twisted.web.client should have a FileProducer to work with new Agent
#4780
Twisted 10.2.0: Test failures with root permissions
#4782
request.redirect(someUnicode) infects the whole http response with unicode
#4788
twisted.words.protocols.irc#say was not updated when #msg was
#4807
Update robots.txt to block non-current API listings, add links to older API documentation from Documentation page
#4814
HTTPClient doesn't handle servers that use \n separators instead of \r\n
#4816
twistd --uid without --gid breaks
#4827
Twisted on FreeBSD has issues with child processes
#4829
gtk2reactor consumes all CPU after reactor.spawnProcess is called from UI
#4861
Move an import statement to top of file.
#4903
Allow more informative messages in SMTP._messageHandled
#4910
No indication that error comes from log.err
#4912
Support resolving multiple IP addresses
#4933
doc/core/development/policy/coding-standard.html still talks about dates in copyright headers
#4950
win32eventreactor versions of some twisted.internet tests take 30 seconds to run
#4967
Minor XMLRPC documentation fixes
#4970
Endpoints don't have __repr__ functions
#4971
Endpoints don't have __repr__ functions
#4988
filepath.FilePath.setContent should preserve permissions on target file
#5010
remove/update win32/README.win32
#5021
Trial runs tests multiple times when using namespace packages
#5041
Patch to fix and normalize preambles
#5056
twistd - specify log encoding
#5073
Upgrading from Twisted 10.1 to trunk HEAD (after 11.0) results in many TLSBioFactory log calls
#5094
FileDescriptor.SEND_LIMIT could be much higher
#5104
iocpreactor doesn't work with 64-bit Python
#5130
Server document example missing import statment.
#5162
getPlugins inspection and debugging tool
#5170
web.static doesn't use system MIME types
#5172
Twisted compatibility policy should enumerate which test methods are preferred
#5177
Make inlineCallbacks more proeminent in the docs
#5195
shouldn't send content-type: text/html for 304 not modified
#5196
For lower-latency connection termination, during TLS shutdown, disable nagling
#5201
t.web.server.Request should delete Content-Type header when responding with http status code 304.
#5222
twisted.internet.interfaces.IReactorProcess.spawnProcess documentation
#5224
Strange exception in twisted.names.client.Resolver
#5240
Endpoints howto contains broken links
#5247
twisted.python.log documentation missing a msg reference
#5251
finger15.tac patch
#5262
twisted.web.client.HTTPClient breaks on bare LF-terminated header fields
#5274
processEnded of ProcessProtocol can be called after reactor.spawnProcess but without reactor running.
#5285
win32eventreactor misses disconnect events that happen too soon
#5294
Remove references to the "xml" format previously supported by mktap
#5314
twisted.python.deprecate.deprecated decorator does not print fully qualified name for class methods
#5333
Fix gtk reactor test failures on Windows caused by WSAEventSelect's FD_CLOSE behavior
#5345
it's very difficult to debug response generation with twisted.web.client.Agent
#5348
Use sort(key=...) in SRVConnector
#5397
website-template.tpl creates a href="index" instead of "index.html"
#5419
there should be an index which links to all twisted documentation
#5432
mktap is still mentioned in "High-Level Overview of Twisted"
#5443
t.i.t.LoopingCall.running is undocumented
#5455
fix some incorrect dns behaviors
#5467
Fix BindAuthority For Bind files with Absolute Names
#5472
Delayed calls in the sufficiently distant future break epoll reactor
#5485
Canceling a pending TCP4ClientEndpoint connection leads to an AlreadyCalledError
#5546
IStreamClientEndpointStringParser.parseStreamClient is not passed the reactor
#5550
Issues in twisted/protocols/sip.py
#5552
accurate periodic calls
#5556
NOT_DONE_YET can't be imported from some modules.
#5561
iocp reactor fails to support PB & AMP
#5566
AMP over SSH AttributeError - expects getPeer method
#5592
Document purpose and how to run Twisted Web; webguard.py and httpclient.py examples
#5618
document how to run lj.rpy.py
#5622
Refactor TCPClientTestsBuilder and TCP6ClientTestsBuilder to make their endpoint factories re-usable for other test cases
#5626
LoopingCall possible re-entrancy bug
#5718
twisted.names.client.Resolver should not use ANY dns query type to resolve names.
#5757
test_http fails with randomized hashes
#5762
Conch logs too much stuff, much of it not interesting
#5769
IMessage.eomReceived cannot determine the response code of the SMTP server
#5771
Update the test suite to not use the deprecated assertion methods
#5772
Request Timeout for web.client.Agent
#5791
Twisted's FTP server implementation incompatible with Coda's FTP client
#5829
Replace DictMixin in twisted.web.http_headers with MutableMapping
#5861
Use Python's built-in initgroups when available
#5870
Make a string parser interface for client endpoints that takes the reactor as a parameter in its signature
#5888
Twisted Words examples: Add documentation inside each example
#5892
dirty reactor errors in test_endpoints
#5898
fix stack overflow in memcache protocol
#5919
Use trial to run the tests for twisted.python.runtime
#5991
twisted.internet.task.react should be documented in a howto
#6034
Port `twisted.trial.reporter` to Python 3
#6035
Port `twisted.trial.runner` to Python 3
#6073
Logfile rotate should not require file write permissions
#6074
Logfile rotation should not require file write permissions
#6143
Add an option for dropping into a debugger only after an error/failure
#6145
Infinite loop in twisted.names.client._connectedProtocol
#6149
Possible DoS in HTTP chunked decoder
#6150
twisted.python.test.test_deprecate.TestDeprecationWarnings depends on execution order
#6174
trial should warn when there are still running threads in the reactor threadPool
#6186
twisted.web.http.Request.setHeader should enforce byteness of names and values
#6193
It's not possible to figure out final URL of RedirectAgent responses
#6195
In the Twisted Web docs page for Request (http://twistedmatrix.com/documents/current/api/twisted.web.server.Request.html) the 'content' member variable is missing.
#6206
MultiService.stopService doesn't handle failures in startService
#6214
Race condition in twisted.test.test_threadpool.RaceConditionTestCase.test_synchronization
#6219
Allow microseconds in FileLogObserver when timeFormat is specified
#6227
Deprecate t.p.reflect.addMethodNamesToDict.
#6248
twisted.python.test.test_fakepwd.PwdModuleTests.test_noSuchUID failing on fedora buildbot
#6250
AdvancedPOP3Client.retrieve docstring is insufficient
#6258
Allow usage of chain files in SSL
#6276
debugger option to trial not respected when doing postmortem
#6283
inlineCallbacks performance is rumoured to be bad, but there is no benchmark
#6298
LookupsTestCase.test_importExceptions failing on python 3.3
#6303
FlagsConstants objects need __nonzero__
#6305
t.c.s.c.SSHChannel.getHost() and getPeer() raises error
#6308
TLS endpoint that wraps another endpoint
#6310
Allow Twisted to accept AF_UNIX sockets from systemd
#6312
Automatically detect the family and type of adopted sockets
#6317
Remove deprecated `twisted.names.root.discoverAuthority`
#6345
trial can't run stdlib unittest test methods with expected failures
#6359
DeferredQueue should use collections.deque instead of list
#6376
running the tests with PyCrypto installed, but without pyasn1, results in confusing failures
#6445
Digest authentication fails for URLs including comma
#6522
Get rid of _keptErrors in twisted.python.log
#6534
The circular deferred warning is not as specific and informative as it should be
#6619
Process transports do not support full IProcessTransport interface
#6700
twisted.names.server lacks documentation and test coverage
#6745
support for Jython 2.7
#6766
Support specifying the number of trial jobs via number of CPUs
#6769
TLS doesn't notify when the handshake is done
#6783
Use a password validation function that does not leak passwords mismatch place
#6787
Twisted 1.3.10 needs -D_XPG4_2 on Solaris
#6791
Issues with Python 3 port of twisted.internet.base
#6818
DNS/UDP protocol noise (Twisted 13.1)
#6853
Twisted source install should have option to skip extensions building
#6983
twisted.internet.base uses `unicode` which is undefined in py3k
#7030
add dev-requirements.txt file to use with virtualenv
#7040
Add context manager to assertRaises
#7092
use setuptools extras to declare optional dependencies
#7261
Fix t.conch.ssh.channel.getPeer()
#7285
set_tlsext_host_name detection in _sslverify is untested
#7334
Classifiers indicating Python 3 should be in default setup.py, not just setup3.py
#7378
Deferred dispatcher needed to coordinate many observers of one event
#7429
failures of test_tls.py from -14.0.0
#7437
Port twisted/persistent/sob.py to have python3 syntax and imports
#7525
spawnProcess hangs when run a lot
#7535
twisted.test.test_sslverify.SelectVerifyImplementationTests.test_dependencyMissingWarning fails on Python 3.3
#7555
twisted app will not start because of stale pidfile
#7629
prose documentation for inlineCallbacks

Just like the query: wiki links, the parameter of this macro expects a query string formatted according to the rules of the simple ticket query language. This also allows displaying the link and description of a single ticket:

[[TicketQuery(id=123)]]

This is displayed as:

#123
IMAP4 BODYSTRUCTURE

A more compact representation without the ticket summaries is also available:

[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]

This is displayed as:

#253, #343, #393, #423, #612, #614, #676, #681, #764, #859, #884, #914, #959, #1038, #1039, #1121, #1123, #1126, #1138, #1139, #1143, #1213, #1223, #1304, #1357, #1366, #1375, #1412, #1473, #1510, #1513, #1525, #1588, #1608, #1614, #1618, #1619, #1625, #1635, #1653, #1679, #1706, #1716, #1727, #1739, #1754, #1766, #1767, #1779, #1798, #1803, #1811, #1812, #1821, #1826, #1847, #1856, #1881, #1896, #1932, #1934, #1948, #1954, #1989, #2012, #2021, #2032, #2037, #2048, #2049, #2058, #2060, #2070, #2073, #2076, #2087, #2088, #2101, #2103, #2106, #2114, #2120, #2135, #2144, #2163, #2175, #2182, #2219, #2221, #2231, #2235, #2246, #2251, #2256, #2272, #2282, #2283, #2287, #2288, #2311, #2314, #2316, #2318, #2322, #2335, #2352, #2368, #2369, #2388, #2393, #2397, #2400, #2431, #2439, #2445, #2450, #2474, #2475, #2489, #2551, #2553, #2559, #2568, #2577, #2580, #2600, #2611, #2619, #2620, #2636, #2641, #2644, #2662, #2698, #2701, #2702, #2708, #2711, #2714, #2718, #2720, #2730, #2738, #2774, #2791, #2796, #2798, #2812, #2814, #2841, #2852, #2868, #2879, #2882, #2917, #2922, #2932, #2946, #2949, #2961, #2964, #2978, #2984, #2986, #2987, #3006, #3012, #3015, #3021, #3038, #3065, #3088, #3094, #3103, #3112, #3117, #3134, #3155, #3157, #3180, #3185, #3191, #3195, #3221, #3227, #3229, #3243, #3247, #3249, #3256, #3272, #3273, #3274, #3310, #3311, #3314, #3316, #3317, #3337, #3345, #3351, #3354, #3364, #3368, #3378, #3389, #3405, #3433, #3448, #3454, #3474, #3485, #3512, #3514, #3522, #3533, #3555, #3572, #3578, #3587, #3604, #3614, #3616, #3630, #3633, #3640, #3649, #3665, #3701, #3702, #3705, #3733, #3734, #3743, #3772, #3793, #3803, #3823, #3826, #3839, #3850, #3858, #3899, #3900, #3915, #3920, #3927, #3938, #3943, #3944, #3952, #3957, #3958, #3970, #3974, #3975, #3980, #3982, #3986, #3988, #4015, #4034, #4039, #4040, #4043, #4048, #4055, #4070, #4113, #4118, #4122, #4135, #4141, #4146, #4147, #4148, #4150, #4153, #4160, #4161, #4165, #4171, #4193, #4210, #4237, #4246, #4252, #4259, #4260, #4294, #4305, #4312, #4323, #4325, #4327, #4334, #4354, #4355, #4361, #4380, #4381, #4407, #4413, #4414, #4425, #4432, #4461, #4465, #4466, #4484, #4493, #4498, #4518, #4553, #4557, #4568, #4591, #4615, #4645, #4648, #4659, #4676, #4704, #4720, #4736, #4764, #4765, #4768, #4780, #4782, #4788, #4807, #4814, #4816, #4827, #4829, #4861, #4903, #4910, #4912, #4933, #4950, #4967, #4970, #4971, #4988, #5010, #5021, #5041, #5056, #5073, #5094, #5104, #5130, #5162, #5170, #5172, #5177, #5195, #5196, #5201, #5222, #5224, #5240, #5247, #5251, #5262, #5274, #5285, #5294, #5314, #5333, #5345, #5348, #5397, #5419, #5432, #5443, #5455, #5467, #5472, #5485, #5546, #5550, #5552, #5556, #5561, #5566, #5592, #5618, #5622, #5626, #5718, #5757, #5762, #5769, #5771, #5772, #5791, #5829, #5861, #5870, #5888, #5892, #5898, #5919, #5991, #6034, #6035, #6073, #6074, #6143, #6145, #6149, #6150, #6174, #6186, #6193, #6195, #6206, #6214, #6219, #6227, #6248, #6250, #6258, #6276, #6283, #6298, #6303, #6305, #6308, #6310, #6312, #6317, #6345, #6359, #6376, #6445, #6522, #6534, #6619, #6700, #6745, #6766, #6769, #6783, #6787, #6791, #6818, #6853, #6983, #7030, #7040, #7092, #7261, #7285, #7334, #7378, #7429, #7437, #7525, #7535, #7555, #7629

Finally, if you wish to receive only the number of defects that match the query, use the count parameter.

[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]

This is displayed as:

465

Customizing the table format

You can also customize the columns displayed in the table format (format=table) by using col=<field> - you can specify multiple fields and what order they are displayed by placing pipes (|) between the columns like below:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]

This is displayed as:

Results (1 - 3 of 5070)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#7646 fixed Release Twisted 14.0.1 hawkowl hawkowl
#7645 worksforme BaseConnector does not properly create/cancel its timeoutID delayedCall rthille
#7638 fixed several typos in the docs result in misrendering glyph Alex
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can also have full rows by using rows=<field> like below:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]

This is displayed as:

Results (1 - 3 of 5070)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#7646 fixed Release Twisted 14.0.1 hawkowl hawkowl
#7645 worksforme BaseConnector does not properly create/cancel its timeoutID delayedCall rthille
Description

In BaseConnector's connect() method, it calls self._makeTransport(), and then if self.timeout is not None, it uses reactor.callLater() to implement that timeout and stores the delayedCall as self.timeoutID. When buildProtocol() is called upon connection completion, the timeout is cancelled with cancelTimeout(). However, it is possible for _makeTransport() to completely establish the connection and call the BaseConnector's buildProtocol method (and thereby cancelTimeout()) before returning, and thus before the delayedCall is created. The delayedCall is then created and never cancelled. After the timeout elapses, failIfNotConnected() will likely eat the error (depending on the current connection state), but if you're using the connection within a trial test, you can get a dirty reactor err (which is why I was looking for the bug). Also, it could result in a spurious timeout if the connection were closed and then a reconnection attempt was made near the timeout.

#7638 fixed several typos in the docs result in misrendering glyph Alex
Description

These are lack of spaces between text and "code sections" (tildes).

1 2 3 4 5 6 7 8 9 10 11

Query Language

query: TracLinks and the [[TicketQuery]] macro both use a mini “query language” for specifying query filters. Basically, the filters are separated by ampersands (&). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (|), meaning that the filter matches any of the values. To include a literal & or | in a value, escape the character with a backslash (\).

The available operators are:

= the field content exactly matches one of the values
~= the field content contains one or more of the values
^= the field content starts with one of the values
$= the field content ends with one of the values

All of these operators can also be negated:

!= the field content matches none of the values
!~= the field content does not contain any of the values
!^= the field content does not start with any of the values
!$= the field content does not end with any of the values

The date fields created and modified can be constrained by using the = operator and specifying a value containing two dates separated by two dots (..). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be left out to avoid having to quote the query string.

created=2007-01-01..2008-01-01 query tickets created in 2007
created=lastmonth..thismonth query tickets created during the previous month
modified=1weekago.. query tickets that have been modified in the last week
modified=..30daysago query tickets that have been inactive for the last 30 days

See also: TracTickets, TracReports, TracGuide

Last modified 3 months ago Last modified on 06/19/2014 01:05:39 PM