Skip to content

Commit

Permalink
Removed /xmlrpc endpoint
Browse files Browse the repository at this point in the history
This endpoint doesn't seem to be used in practice (3 hits in the access
logs in the past ~2 months). It also introduces a maintenance burden,
and the instructions it gives don't actually work.
  • Loading branch information
bmispelon committed Jun 25, 2024
1 parent 74f0b50 commit 93bbd0b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
15 changes: 0 additions & 15 deletions .TRACFREEZE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,6 @@ tracopt.ticket.deleter.ticketdeleter
tracopt.versioncontrol.git.git_fs.csetpropertyrenderer
tracopt.versioncontrol.git.git_fs.gitconnector
tracopt.versioncontrol.git.git_fs.gitwebprojectsrepositoryprovider
tracrpc.api.xmlrpcsystem
tracrpc.json_rpc.jsonrpcprotocol
tracrpc.search.searchrpc
tracrpc.ticket.componentrpc
tracrpc.ticket.milestonerpc
tracrpc.ticket.priorityrpc
tracrpc.ticket.resolutionrpc
tracrpc.ticket.severityrpc
tracrpc.ticket.statusrpc
tracrpc.ticket.ticketrpc
tracrpc.ticket.typerpc
tracrpc.ticket.versionrpc
tracrpc.web_ui.rpcweb
tracrpc.wiki.wikirpc
tracrpc.xml_rpc.xmlrpcprotocol
tracspamfilter.adapters.attachmentfilteradapter
tracspamfilter.adapters.ticketfilteradapter
tracspamfilter.adapters.wikifilteradapter
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ libsass==0.23.0

# Trac plugins
TracSpamFilter[dns,spambayes] @ https://trac.edgewall.org/browser/plugins/trunk/spam-filter?rev=17766&format=zip
# TracXMLRPC from PyPI does not (yet) have a 1.2.0 release (compatible with Trac >=1.4)
https://trac-hacks.org/browser/xmlrpcplugin/trunk?rev=18591&format=zip
TracDragDrop @ svn+https://trac-hacks.org/svn/tracdragdropplugin/0.12@18635

# No pypi release compatible with trac 1.6 yet
Expand Down
1 change: 0 additions & 1 deletion trac-env/conf/trac.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ tracopt.ticket.commit_updater.committicketreferencemacro = enabled
tracopt.ticket.commit_updater.committicketupdater = enabled
tracopt.ticket.deleter.ticketdeleter = enabled
tracopt.versioncontrol.git.* = enabled
tracrpc.* = enabled
tracspamfilter.* = enabled
tracspamfilter.adapters.* = enabled
tracspamfilter.admin.* = enabled
Expand Down
3 changes: 0 additions & 3 deletions trac-env/templates/django_theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
<li><a href="/login?next=${req.path_info|urlencode()}">Login</a></li>
# endif
<li><a href="${req.href.prefs()}">Preferences</a></li>
# if req.perm.has_permission('XML_RPC'):
<li><a href="${req.href.rpc()}">API</a></li>
# endif
</ul>
</div>
${navigation('mainnav')}
Expand Down

0 comments on commit 93bbd0b

Please sign in to comment.