http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/roundup/cgi/apache.py Mercurial Repository: p/roundup/code: roundup/cgi/apache.py history 2024-07-21T10:47:34-04:00 chore(lint): fix variable shadow builtin (len); proper indent func args. http://hg.code.sf.net:8000/p/roundup/code/#changeset-dd13b3a0ea8d959a06333ad2f2eff4b9b1104f52 John Rouillard rouilj@ieee.org 2024-07-21T10:47:34-04:00 2024-07-21T10:47:34-04:00
changeset dd13b3a0ea8d
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore(lint): fix variable shadow builtin (len); proper indent func args.
files
fix: issue2551193 - Fix roundup for removal of cgi and cgitb ... http://hg.code.sf.net:8000/p/roundup/code/#changeset-978285986b2c9d73f4a39d745ab6a3bbab58af3d John Rouillard rouilj@ieee.org 2023-07-24T17:49:58-04:00 2023-07-24T17:49:58-04:00
changeset 978285986b2c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: issue2551193 - Fix roundup for removal of cgi and cgitb ...

standard python modules (and FieldStorage/MiniFieldStorage).

Vendor cgi.py and modify imports.

Details:

roundup/anypy/cgi_.py
import that accesses a working cgi.py. All imports dealing with cgi
now use cgi_.

roundup/anypy/vendored/cgi.py
vendored version 2.6 of cgi.py from:
https://pypi.org/project/legacy-cgi/

CHANGES.txt
change note added

COPYING.txt
added license for cgi.py

doc/rest.txt
change example to use cgi_

doc/upgrading.txt
doc removal and how to rework local code using cgi.py.

frontends/roundup.cgi
remove unneeded cgi import

roundup/cgi/actions.py
roundup/cgi/apache.py
roundup/cgi/client.py
roundup/cgi/templating.py
roundup/cgi/TAL/TALGenerator.py
test/db_test_base.py
test/rest_common.py
test/test_cgi.py
remove import cgi and replace with from roundup.anypy.cgi_ import
cgi

test/test_actions.py
test/test_templating.py
modify import to get *FieldStorage

test/test_admin.py
test/test_hyperdbvals.py
test/test_xmlrpc.py
remove unneeded cgi import
files
flake8 fixes: whitespace, remove unused imports http://hg.code.sf.net:8000/p/roundup/code/#changeset-07ce4e4110f587bf6a878f9c15a9cb22537969ed John Rouillard rouilj@ieee.org 2023-03-18T14:16:31-04:00 2023-03-18T14:16:31-04:00
changeset 07ce4e4110f5
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description flake8 fixes: whitespace, remove unused imports
files
flake8 format changes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-fb1367285bd76f5810ed7b56f05eedb155e6d1a1 John Rouillard rouilj@ieee.org 2020-01-07T21:16:47-05:00 2020-01-07T21:16:47-05:00
changeset fb1367285bd7
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description flake8 format changes.
files
Flake8 reported unknown var home. Replace with _home in cache. http://hg.code.sf.net:8000/p/roundup/code/#changeset-495282f62e0cd162bbda55d744ff960efaeb8ea0 John Rouillard rouilj@ieee.org 2020-01-03T21:29:36-05:00 2020-01-03T21:29:36-05:00
changeset 495282f62e0c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Flake8 reported unknown var home. Replace with _home in cache.

Also formatting/whitespace changes.
files
Fix doc typo. http://hg.code.sf.net:8000/p/roundup/code/#changeset-020e1d1bf5baa70549c463831b395cab78f20439 John Rouillard rouilj@ieee.org 2019-10-02T18:04:13-04:00 2019-10-02T18:04:13-04:00
changeset 020e1d1bf5ba
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix doc typo.
files
mod_python update/deprication. http://hg.code.sf.net:8000/p/roundup/code/#changeset-a243a036e7f3c9cb1e246d0d64285c454ae1dfc2 John Rouillard rouilj@ieee.org 2019-10-02T17:37:19-04:00 2019-10-02T17:37:19-04:00
changeset a243a036e7f3
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description mod_python update/deprication.

issue2550821 - mod_python 3.4.1 - add_cgi_vars() instead of add_common_vars()
issue2551005 - mod_python discontinued
files
Python 3 preparation: avoid string.join(). http://hg.code.sf.net:8000/p/roundup/code/#changeset-1ab2c81a64df050a52ab16121a0131882e6acef0 Joseph Myers jsm@polyomino.org.uk 2018-07-25T10:43:40+00:00 2018-07-25T10:43:40+00:00
changeset 1ab2c81a64df
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: avoid string.join().
files
Python 3 preparation: avoid string.split(). http://hg.code.sf.net:8000/p/roundup/code/#changeset-86b6cea7a9752bc3caecd69f924796c73e904cc0 Joseph Myers jsm@polyomino.org.uk 2018-07-25T10:42:42+00:00 2018-07-25T10:42:42+00:00
changeset 86b6cea7a975
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: avoid string.split().
files
[routing] Remove PATH_INFO hacks that strip leading slash http://hg.code.sf.net:8000/p/roundup/code/#changeset-92757447dcf06c2e356680c8a296075f506ccb46 anatoly techtonik techtonik@gmail.com 2014-07-16T03:10:02+03:00 2014-07-16T03:10:02+03:00
changeset 92757447dcf0
branch routing
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description Remove PATH_INFO hacks that strip leading slash

PATH_INFO should always start with '/' when not empty, see
http://tools.ietf.org/html/rfc3875#section-4.1.5
Instead, do leading slash stripping inside cgi.client
files
Cache tracker instances. http://hg.code.sf.net:8000/p/roundup/code/#changeset-302bc481ceb1c3e8140df2f8c6fc8f9566afd41b Stefan Seefeld stefan@seefeld.name 2009-07-14T14:00:47+00:00 2009-07-14T14:00:47+00:00
changeset 302bc481ceb1
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Cache tracker instances.
files
Support the use of sendfile() for file transfer, if available. http://hg.code.sf.net:8000/p/roundup/code/#changeset-e70643990e9c5ebebb8105089723f93013022237 Stefan Seefeld stefan@seefeld.name 2009-02-17T04:32:34+00:00 2009-02-17T04:32:34+00:00
changeset e70643990e9c
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Support the use of sendfile() for file transfer, if available.
files
WSGI support via roundup.cgi.wsgi_handler http://hg.code.sf.net:8000/p/roundup/code/#changeset-a2d22d0de0bc9f47f294ea6b456403ea90051e3a Richard Jones richard@users.sourceforge.net 2006-11-09T00:36:21+00:00 2006-11-09T00:36:21+00:00
changeset a2d22d0de0bc
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description WSGI support via roundup.cgi.wsgi_handler
files
fix debug flag detection http://hg.code.sf.net:8000/p/roundup/code/#changeset-e8d4ac23692fa426de4c283f5f7d7d040d408d6c Richard Jones richard@users.sourceforge.net 2006-11-03T05:43:00+00:00 2006-11-03T05:43:00+00:00
changeset e8d4ac23692f
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fix debug flag detection
files
added options TrackerDebug and TrackerTiming; http://hg.code.sf.net:8000/p/roundup/code/#changeset-835ac40135786639409a1d90037f5154a85c9af5 Alexander Smishlajev a1s@users.sourceforge.net 2004-11-22T07:33:34+00:00 2004-11-22T07:33:34+00:00
changeset 835ac4013578
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description added options TrackerDebug and TrackerTiming;

by default, start the tracker optimized
files
pass tracker home directory to get_translation() http://hg.code.sf.net:8000/p/roundup/code/#changeset-353dc16a49b25b198dc7c9f3f35819cb4719894f Alexander Smishlajev a1s@users.sourceforge.net 2004-10-23T14:13:24+00:00 2004-10-23T14:13:24+00:00
changeset 353dc16a49b2
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description pass tracker home directory to get_translation()
files
added 'TrackerLanguage' option; http://hg.code.sf.net:8000/p/roundup/code/#changeset-d45f1669599c224250fef4aa1d7c5c571bff3495 Alexander Smishlajev a1s@users.sourceforge.net 2004-07-12T09:14:12+00:00 2004-07-12T09:14:12+00:00
changeset d45f1669599c
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description added 'TrackerLanguage' option;

pass message translator to the tracker client instance
files
mod_python interface for Roundup Issue Tracker http://hg.code.sf.net:8000/p/roundup/code/#changeset-41fbe26aa2df671328f170f0ebb3f28a583d9484 Alexander Smishlajev a1s@users.sourceforge.net 2004-07-06T10:25:42+00:00 2004-07-06T10:25:42+00:00
changeset 41fbe26aa2df
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description mod_python interface for Roundup Issue Tracker
files