repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/svn/svn_prop.py
trac/tracopt/versioncontrol/svn/svn_prop.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2005-2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of thi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/svn/svn_fs.py
trac/tracopt/versioncontrol/svn/svn_fs.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2011 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2005-2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of thi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/svn/__init__.py
trac/tracopt/versioncontrol/svn/__init__.py
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/svn/tests/svn_fs.py
trac/tracopt/versioncontrol/svn/tests/svn_fs.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/svn/tests/__init__.py
trac/tracopt/versioncontrol/svn/tests/__init__.py
import unittest from tracopt.versioncontrol.svn.tests import svn_fs def suite(): suite = unittest.TestSuite() suite.addTest(svn_fs.suite()) return suite if __name__ == '__main__': unittest.main(defaultTest='suite')
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/git/PyGIT.py
trac/tracopt/versioncontrol/git/PyGIT.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # Copyright (C) 2006-2011, Herbert Valerio Riedel <hvr@gnu.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/git/__init__.py
trac/tracopt/versioncontrol/git/__init__.py
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/git/git_fs.py
trac/tracopt/versioncontrol/git/git_fs.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # Copyright (C) 2006-2011, Herbert Valerio Riedel <hvr@gnu.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/git/tests/PyGIT.py
trac/tracopt/versioncontrol/git/tests/PyGIT.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/versioncontrol/git/tests/__init__.py
trac/tracopt/versioncontrol/git/tests/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/perm/__init__.py
trac/tracopt/perm/__init__.py
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/perm/authz_policy.py
trac/tracopt/perm/authz_policy.py
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2009 Edgewall Software # Copyright (C) 2007 Alec Thomas <alec@swapoff.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.ed...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/perm/config_perm_provider.py
trac/tracopt/perm/config_perm_provider.py
# -*- coding: utf-8 -*- # # Copyright (C) 2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/perm/tests/__init__.py
trac/tracopt/perm/tests/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/perm/tests/authz_policy.py
trac/tracopt/perm/tests/authz_policy.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/enscript.py
trac/tracopt/mimeview/enscript.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2009 Edgewall Software # Copyright (C) 2004 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this dis...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/php.py
trac/tracopt/mimeview/php.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005 Christian Boos <cboos@bct-technology.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of th...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/silvercity.py
trac/tracopt/mimeview/silvercity.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2009 Edgewall Software # Copyright (C) 2004 Daniel Lundin <daniel@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://tr...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/__init__.py
trac/tracopt/mimeview/__init__.py
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/tests/php.py
trac/tracopt/mimeview/tests/php.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consis...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/tracopt/mimeview/tests/__init__.py
trac/tracopt/mimeview/tests/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/HelloWorld.py
trac/sample-plugins/HelloWorld.py
"""Example macro.""" revision = "$Rev: 11490 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/HelloWorld.py $" # # The following shows the code for macro, old-style. # # The `execute` function serves no purpose other than to illustrate # the example, it will not be used anymore. # # -...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/Timestamp.py
trac/sample-plugins/Timestamp.py
"""Inserts the current time (in seconds) into the wiki page.""" revision = "$Rev: 10617 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/Timestamp.py $" # # The following shows the code for macro, old-style. # # The `execute` function serves no purpose other than to illustrate # the e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/revision_links.py
trac/sample-plugins/revision_links.py
"""Sample Wiki syntax extension plugin.""" from genshi.builder import tag from trac.core import * from trac.util.text import shorten_line from trac.versioncontrol.api import NoSuchChangeset, RepositoryManager from trac.versioncontrol.web_ui import ChangesetModule from trac.wiki.api import IWikiSyntaxProvider revisio...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/milestone_to_version.py
trac/sample-plugins/milestone_to_version.py
import re from trac.config import Option from trac.core import * from trac.resource import ResourceNotFound from trac.ticket.api import IMilestoneChangeListener from trac.ticket.model import Version revision = "$Rev: 11490 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/milestone_to_...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/permissions/public_wiki_policy.py
trac/sample-plugins/permissions/public_wiki_policy.py
from fnmatch import fnmatchcase from trac.config import Option from trac.core import * from trac.perm import IPermissionPolicy revision = "$Rev: 11490 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/permissions/public_wiki_policy.py $" class PublicWikiPolicy(Component): """Allow...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/permissions/debug_perm.py
trac/sample-plugins/permissions/debug_perm.py
from trac.core import * from trac.perm import IPermissionPolicy, PermissionCache from trac.resource import Resource revision = "$Rev$" url = "$URL$" class DebugPolicy(Component): """Verify the well-formedness of the permission checks. **This plugin is only useful for Trac Development.** Once this plugin...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/permissions/vulnerability_tickets.py
trac/sample-plugins/permissions/vulnerability_tickets.py
from trac.core import * from trac.perm import IPermissionPolicy, IPermissionRequestor revision = "$Rev: 11490 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/permissions/vulnerability_tickets.py $" class SecurityTicketsPolicy(Component): """Prevent public access to security sensi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/workflow/StatusFixer.py
trac/sample-plugins/workflow/StatusFixer.py
from genshi.builder import tag from trac.core import Component, implements from trac.ticket.api import ITicketActionController, TicketSystem from trac.perm import IPermissionRequestor revision = "$Rev: 11075 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/workflow/StatusFixer.py $" ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/workflow/VoteOperation.py
trac/sample-plugins/workflow/VoteOperation.py
from genshi.builder import tag from trac.core import implements,Component from trac.ticket.api import ITicketActionController from trac.ticket.default_workflow import ConfigurableTicketWorkflow from trac.ticket.model import Priority, Ticket #from trac.perm import IPermissionRequestor # (TODO) revision = "$Rev: 11490 ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/workflow/DeleteTicket.py
trac/sample-plugins/workflow/DeleteTicket.py
from genshi.builder import tag from trac.core import implements,Component from trac.ticket.api import ITicketActionController from trac.perm import IPermissionRequestor revision = "$Rev: 11490 $" url = "$URL: http://svn.edgewall.org/repos/trac/tags/trac-1.0.1/sample-plugins/workflow/DeleteTicket.py $" class DeleteTi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/workflow/CodeReview.py
trac/sample-plugins/workflow/CodeReview.py
from genshi.builder import tag from trac.core import implements,Component from trac.ticket.api import ITicketActionController from trac.ticket.default_workflow import ConfigurableTicketWorkflow from trac.perm import IPermissionRequestor from trac.config import Option, ListOption revision = "$Rev: 11490 $" url = "$URL...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/sample-plugins/workflow/MilestoneOperation.py
trac/sample-plugins/workflow/MilestoneOperation.py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Franz Mayer <franz.mayer@gefasoft.de> # # "THE BEER-WARE LICENSE" (Revision 42): # <franz.mayer@gefasoft.de> wrote this file. As long as you retain this # notice you can do whatever you want with this stuff. If we meet some day, # and you think this stuff is worth it, you...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/loader.py
trac/trac/loader.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005-2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db_default.py
trac/trac/db_default.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Daniel Lundin <daniel@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/attachment.py
trac/trac/attachment.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of th...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/core.py
trac/trac/core.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2011 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2004-2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/log.py
trac/trac/log.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2006 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/resource.py
trac/trac/resource.py
# -*- coding: utf-8 -*- # # Copyright (C) 2006-2009 Edgewall Software # Copyright (C) 2006-2007 Alec Thomas <alec@swapoff.org> # Copyright (C) 2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/dist.py
trac/trac/dist.py
# -*- coding: utf-8 -*- # # Copyright (C) 2011 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/config.py
trac/trac/config.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/__init__.py
trac/trac/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/notification.py
trac/trac/notification.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2005-2006 Emmanuel Blot <emmanuel.blot@free.fr> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as p...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/about.py
trac/trac/about.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2009 Edgewall Software # Copyright (C) 2004-2005 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2004-2005 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2005-2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/test.py
trac/trac/test.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/cache.py
trac/trac/cache.py
# -*- coding: utf-8 -*- # # Copyright (C) 2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.com/license.html. # # This software consists of vo...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/hooks.py
trac/trac/hooks.py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/perm.py
trac/trac/perm.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of th...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/env.py
trac/trac/env.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2011 Edgewall Software # Copyright (C) 2003-2007 Jonas Borgström <jonas@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at htt...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/html.py
trac/trac/util/html.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/compat.py
trac/trac/util/compat.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # Copyright (C) 2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distri...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/autoreload.py
trac/trac/util/autoreload.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consis...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/datefmt.py
trac/trac/util/datefmt.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2006 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # Copyright (C) 2005-2006 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in t...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/translation.py
trac/trac/util/translation.py
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/dist.py
trac/trac/util/dist.py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/presentation.py
trac/trac/util/presentation.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # Copyright (C) 2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/daemon.py
trac/trac/util/daemon.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consis...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/__init__.py
trac/trac/util/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2006 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # Copyright (C) 2005-2006 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in t...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/text.py
trac/trac/util/text.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # Copyright (C) 2005-2006 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in t...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/concurrency.py
trac/trac/util/concurrency.py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/html.py
trac/trac/util/tests/html.py
# -*- coding: utf-8 -*- import unittest from genshi.input import HTML from trac.util.html import TracHTMLSanitizer class TracHTMLSanitizerTestCase(unittest.TestCase): def test_expression(self): html = HTML('<div style="top:expression(alert())">XSS</div>', encoding='utf-8') se...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/datefmt.py
trac/trac/util/tests/datefmt.py
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2009 Edgewall Software # Copyright (C) 2007 Matt Good <trac@matt-good.net> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.ed...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/presentation.py
trac/trac/util/tests/presentation.py
# -*- coding: utf-8 -*- # # Copyright (C)2006-2009 Edgewall Software # Copyright (C) 2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/__init__.py
trac/trac/util/tests/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) 2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/text.py
trac/trac/util/tests/text.py
# -*- coding: utf-8 -*- import unittest from StringIO import StringIO from trac.util.text import empty, expandtabs, fix_eol, javascript_quote, \ to_js_string, normalize_whitespace, to_unicode, \ text_width, print_table, unicode_quote, \ ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/util/tests/concurrency.py
trac/trac/util/tests/concurrency.py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/sqlite_backend.py
trac/trac/db/sqlite_backend.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2010 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/api.py
trac/trac/db/api.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/util.py
trac/trac/db/util.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distr...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/schema.py
trac/trac/db/schema.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/postgres_backend.py
trac/trac/db/postgres_backend.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/__init__.py
trac/trac/db/__init__.py
from trac.db.api import * from trac.db.schema import *
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/mysql_backend.py
trac/trac/db/mysql_backend.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005-2006 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2005 Jeff Weiss <trac@jeffweiss.org> # Copyright (C) 2006 Andres Salomon <dilinger@athenacr.com> # All rights reserved. # # This software is licensed as described in the file ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/pool.py
trac/trac/db/pool.py
# -*- coding: utf-8 -*- # # Copyright (C)2005-2009 Edgewall Software # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.e...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/api.py
trac/trac/db/tests/api.py
# -*- coding: utf-8 -*- from __future__ import with_statement import os import unittest from trac.db.api import DatabaseManager, _parse_db_str, get_column_names, \ with_transaction from trac.test import EnvironmentStub, Mock from trac.util.concurrency import ThreadLocal class Connection(obj...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/util.py
trac/trac/db/tests/util.py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/postgres_test.py
trac/trac/db/tests/postgres_test.py
# -*- coding: utf-8 -*- import re import unittest from trac.db import Table, Column, Index from trac.db.postgres_backend import PostgreSQLConnector, assemble_pg_dsn from trac.test import EnvironmentStub class PostgresTableCreationSQLTest(unittest.TestCase): def setUp(self): self.env = EnvironmentStub() ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/functional.py
trac/trac/db/tests/functional.py
#!/usr/bin/python import os from trac.tests.functional import * class DatabaseBackupTestCase(FunctionalTestCaseSetup): def runTest(self): """Testing backup""" env = self._testenv.get_trac_environment() # raises TracError if backup fails backup_file = env.backup() self.asse...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/__init__.py
trac/trac/db/tests/__init__.py
import unittest from trac.db.tests import api, mysql_test, postgres_test, util from trac.db.tests.functional import functionalSuite def suite(): suite = unittest.TestSuite() suite.addTest(api.suite()) suite.addTest(mysql_test.suite()) suite.addTest(postgres_test.suite()) suite.addTest(util.suite...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/db/tests/mysql_test.py
trac/trac/db/tests/mysql_test.py
# -*- coding: utf-8 -*- # # Copyright (C) 2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/report.py
trac/trac/ticket/report.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2006 Christian Boos <cboos@edgewall.org> # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # All rights reserved. # # This software is licensed as described in the fi...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/api.py
trac/trac/ticket/api.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Jonas Borgström <jonas@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at htt...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/web_ui.py
trac/trac/ticket/web_ui.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Jonas Borgström <jonas@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at htt...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/admin.py
trac/trac/ticket/admin.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.com/license.html. # # This software consists ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/query.py
trac/trac/ticket/query.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2009 Edgewall Software # Copyright (C) 2004-2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2005-2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/model.py
trac/trac/ticket/model.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2006 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2006 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the fil...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/__init__.py
trac/trac/ticket/__init__.py
from trac.ticket.api import * from trac.ticket.default_workflow import * from trac.ticket.model import *
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/notification.py
trac/trac/ticket/notification.py
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2005 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2005-2006 Emmanuel Blot <emmanuel.blot@free.fr> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as p...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/batch.py
trac/trac/ticket/batch.py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 Brian Meeker # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists of vol...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/default_workflow.py
trac/trac/ticket/default_workflow.py
# -*- coding: utf-8 -*- # # Copyright (C) 2006-2009 Edgewall Software # Copyright (C) 2006 Alec Thomas # Copyright (C) 2007 Eli Carter # Copyright (C) 2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/roadmap.py
trac/trac/ticket/roadmap.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2009 Edgewall Software # Copyright (C) 2004-2005 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2006-2007 Christian Boos <cboos@edgewall.org> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part o...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/wikisyntax.py
trac/trac/ticket/tests/wikisyntax.py
# -*- coding: utf-8 -*- import unittest from trac.ticket.model import Ticket from trac.ticket.roadmap import Milestone from trac.wiki.tests import formatter TICKET_TEST_CASES = u""" ============================== ticket: link resolver ticket:1 ticket:12 ticket:abc ------------------------------ <p> <a class="new tic...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/report.py
trac/trac/ticket/tests/report.py
# -*- coding: utf-8 -*- import doctest from trac.db.mysql_backend import MySQLConnection from trac.ticket.report import ReportModule from trac.test import EnvironmentStub, Mock from trac.web.api import Request, RequestDone import trac import unittest from StringIO import StringIO class MockMySQLConnection(MySQLConn...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/api.py
trac/trac/ticket/tests/api.py
from trac.perm import PermissionCache, PermissionSystem from trac.ticket.api import TicketSystem, ITicketFieldProvider from trac.ticket.model import Ticket from trac.test import EnvironmentStub, Mock from trac.core import implements, Component import unittest class TestFieldProvider(Component): implements(ITicket...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/query.py
trac/trac/ticket/tests/query.py
from trac.test import Mock, EnvironmentStub, MockPerm, locale_en from trac.ticket.query import Query, QueryModule, TicketQueryMacro from trac.util.datefmt import utc from trac.web.chrome import web_context from trac.web.href import Href from trac.wiki.formatter import LinkFormatter import unittest import difflib # No...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/functional.py
trac/trac/ticket/tests/functional.py
#!/usr/bin/python # -*- coding: utf-8 -*- import os import re from datetime import datetime, timedelta from trac.test import locale_en from trac.tests.functional import * from trac.util.datefmt import utc, localtz, format_date, format_datetime class TestTickets(FunctionalTwillTestCaseSetup): def runTest(self): ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/model.py
trac/trac/ticket/tests/model.py
from __future__ import with_statement from datetime import datetime, timedelta import os.path from StringIO import StringIO import tempfile import shutil import unittest from trac import core from trac.attachment import Attachment from trac.core import TracError, implements from trac.resource import ResourceNotFound ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/conversion.py
trac/trac/ticket/tests/conversion.py
import os import unittest from trac import __version__ as TRAC_VERSION from trac.test import EnvironmentStub, Mock from trac.ticket.model import Ticket from trac.ticket.web_ui import TicketModule from trac.mimeview.api import Mimeview from trac.web.href import Href class TicketConversionTestCase(unittest.TestCase): ...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/__init__.py
trac/trac/ticket/tests/__init__.py
import doctest import unittest import trac.ticket from trac.ticket.tests import api, model, query, wikisyntax, notification, \ conversion, report, roadmap, batch from trac.ticket.tests.functional import functionalSuite def suite(): suite = unittest.TestSuite() suite.addTest(api.s...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
false
apache/bloodhound
https://github.com/apache/bloodhound/blob/c3e31294e68af99d4e040e64fbdf52394344df9e/trac/trac/ticket/tests/notification.py
trac/trac/ticket/tests/notification.py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2009 Edgewall Software # Copyright (C) 2005-2006 Emmanuel Blot <emmanuel.blot@free.fr> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at ht...
python
Apache-2.0
c3e31294e68af99d4e040e64fbdf52394344df9e
2026-01-05T07:12:43.622011Z
true