http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/roundup/cgi/PageTemplates/TALES.py Mercurial Repository: p/roundup/code: roundup/cgi/PageTemplates/TALES.py history 2022-05-04T15:28:30-04:00 remove code supporting unused global translation service http://hg.code.sf.net:8000/p/roundup/code/#changeset-bd4097fa06714dab636408c412b9510d80a65f0e John Rouillard rouilj@ieee.org 2022-05-04T15:28:30-04:00 2022-05-04T15:28:30-04:00
changeset bd4097fa0671
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description remove code supporting unused global translation service
files
Add i18n object to roundupdb.Database http://hg.code.sf.net:8000/p/roundup/code/#changeset-408fd477761fa40fd7dfa13c4a25be572cd46dd9 Ralf Schlatterbeck rsc@runtux.com 2022-05-03T14:51:59+02:00 2022-05-03T14:51:59+02:00
changeset 408fd477761f
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Add i18n object to roundupdb.Database

This makes the i18n object accessible everywhere (including in detectors
where localized error messages were impossible). See issue2551184
files
Fix problem with cgi.escape being depricated a different way. This way http://hg.code.sf.net:8000/p/roundup/code/#changeset-883c9e90b4031a477a710c08c8686e18ba47fdbc John Rouillard rouilj@ieee.org 2019-07-06T13:12:58-04:00 2019-07-06T13:12:58-04:00
changeset 883c9e90b403
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix problem with cgi.escape being depricated a different way. This way
uses anypy and is cleaner. Also fixes incorrect/incomplete change that
resulted in escaped in TAL generated by TALInterpreter.py. The escaped
quotes break javascript etc. defined using tal string: values.

TODO: add test cases for TAL. This wouldn't have snuck through for a
month if we had good coverage of that library.
files
Python 3 preparation: unicode. http://hg.code.sf.net:8000/p/roundup/code/#changeset-56c9bcdea47f22412e4f0768775d1abea52d19c2 Joseph Myers jsm@polyomino.org.uk 2018-07-25T09:05:58+00:00 2018-07-25T09:05:58+00:00
changeset 56c9bcdea47f
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: unicode.

This patch introduces roundup/anypy/strings.py, which has a comment
explaining the string representations generally used and common
functions to handle the required conversions. Places in the code that
explicitly reference the "unicode" type / built-in function are
generally changed to use the new functions (or, in a few places where
those new functions don't seem to fit well, other approaches such as
references to type(u'') or use of the codecs module). This patch does
not generally attempt to address text conversions in any places not
currently referencing the "unicode" type (although
scripts/import_sf.py is made to use binary I/O in places as fixing the
"unicode" reference didn't seem coherent otherwise).
files
Python 3 preparation: make relative imports explicit. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d26921b851c328681aa6638475ce2cdae29963b4 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:22:08+00:00 2018-07-24T22:22:08+00:00
changeset d26921b851c3
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: make relative imports explicit.

Tool-generated patch.
files
Python 3 preparation: change "x.has_key(y)" to "y in x". http://hg.code.sf.net:8000/p/roundup/code/#changeset-0942fe89e82e3e84d95a3d0ca5d8d15502f57348 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:08:17+00:00 2018-07-24T22:08:17+00:00
changeset 0942fe89e82e
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: change "x.has_key(y)" to "y in x".

(Also likewise "not in" where appropriate.) Tool-generated patch.
files
Python 3 preparation: "raise" syntax. http://hg.code.sf.net:8000/p/roundup/code/#changeset-35ea9b1efc1494f29fb07690e7087686de58e0f3 Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:39:58+00:00 2018-07-24T21:39:58+00:00
changeset 35ea9b1efc14
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: "raise" syntax.

Changing "raise Exception, value" to "raise Exception(value)".
Tool-assisted patch. Particular cases to check carefully are the one
place in frontends/ZRoundup/ZRoundup.py where a string exception
needed to be fixed, and the one in roundup/cgi/client.py involving
raising an exception with a traceback (requires three-argument form of
raise in Python 2, which as I understand it requires exec() to avoid a
Python 3 syntax error).
files
Python 3 preparation: use repr() instead of ``. http://hg.code.sf.net:8000/p/roundup/code/#changeset-12fe83f90f0ddf3f04e005cd1a30473799f89d8b Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:36:02+00:00 2018-07-24T21:36:02+00:00
changeset 12fe83f90f0d
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use repr() instead of ``.

Tool-generated patch.
files
Python 2 and 3 support. Convert Exception to BaseException. TAL and http://hg.code.sf.net:8000/p/roundup/code/#changeset-63868084b8bbb8592a2f0e5070f7c27b191d448f John Rouillard rouilj@ieee.org 2017-09-04T21:58:16-04:00 2017-09-04T21:58:16-04:00
changeset 63868084b8bb
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Python 2 and 3 support. Convert Exception to BaseException. TAL and
PageTemplate code.
files
Remove keyword expansions from CVS. All regression tests passed afterwards. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e3e4f24c75376f61ae0bf0e9ee334567585c38e Eric S. Raymond esr@thyrsus.com 2011-11-16T09:51:38-05:00 2011-11-16T09:51:38-05:00
changeset 6e3e4f24c753
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Remove keyword expansions from CVS. All regression tests passed afterwards.
files
update comment http://hg.code.sf.net:8000/p/roundup/code/#changeset-5f9e00836006596151cb9cf48f575fe5e8ce9865 Richard Jones richard@users.sourceforge.net 2004-08-19T22:50:06+00:00 2004-08-19T22:50:06+00:00
changeset 5f9e00836006
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description update comment
files
typo http://hg.code.sf.net:8000/p/roundup/code/#changeset-29779f041ee7d45540adbb1111dd47f81ca7a709 Richard Jones richard@users.sourceforge.net 2004-08-19T22:44:48+00:00 2004-08-19T22:44:48+00:00
changeset 29779f041ee7
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description typo
files
update PageTemplates to latest Zope codebase http://hg.code.sf.net:8000/p/roundup/code/#changeset-b43efe461b3e59cd6f2a6a0d8ee6970b84d81ad1 Richard Jones richard@users.sourceforge.net 2004-05-21T05:56:46+00:00 2004-05-21T05:56:46+00:00
changeset b43efe461b3e
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description update PageTemplates to latest Zope codebase
files
documentation cleanup http://hg.code.sf.net:8000/p/roundup/code/#changeset-fc52d57c6c3e1527f340677f484744a40f645ad4 Richard Jones richard@users.sourceforge.net 2004-02-11T23:55:10+00:00 2004-02-11T23:55:10+00:00
changeset fc52d57c6c3e
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description documentation cleanup
files
[maint-0.5] Silence another SyntaxWarning http://hg.code.sf.net:8000/p/roundup/code/#changeset-d6177306d01098d8787b73d7bc38b0fdc0748c8b Anthony Baxter anthonybaxter@users.sourceforge.net 2003-06-24T04:07:07+00:00 2003-06-24T04:07:07+00:00
changeset d6177306d010
branch maint-0.5
bookmark
tag
user Anthony Baxter <anthonybaxter@users.sourceforge.net>
description Silence another SyntaxWarning
files
Fixed a backlog of bug reports, and worked on python 2.3 compatibility: http://hg.code.sf.net:8000/p/roundup/code/#changeset-8dc60d87ab42a90f9efbceba1367ecfee4e40706 Richard Jones richard@users.sourceforge.net 2003-02-06T05:43:49+00:00 2003-02-06T05:43:49+00:00
changeset 8dc60d87ab42
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fixed a backlog of bug reports, and worked on python 2.3 compatibility:

- fixed templating filter function arguments [SF#678911]
- fixed multiselect in searching [SF#676874]
- fixed parsing of content-disposition filenames [SF#675116]
- added 'h' to roundup-server optarg list [SF#674070]
- fixed doc for db.history in anydbm and rdbms_common [SF#679221]
- fixed timelog example so it handles new issues [SF#678908]
- handle missing os.fork() [SF#681046]
- fixed roundup-reminder [SF#681042]
- fixed int assumptions about Number values [SF#677762]
- added warning filter for "FutureWarning: hex/oct constants > sys.maxint will
return positive values..." (literal 0xffff0000 in portalocker.py)
- fixed ZPT code generating SyntaxWarning for assignment to None
files
[maint-0.5] [[Metadata associated with this commit was garbled during conversion from CVS http://hg.code.sf.net:8000/p/roundup/code/#changeset-83f33642d22034fafcb8496c221d98ca3e447daa Richard Jones richard@users.sourceforge.net 2003-01-09T22:59:22+00:00 2003-01-09T22:59:22+00:00
changeset 83f33642d220
branch maint-0.5
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description [[Metadata associated with this commit was garbled during conversion from CVS
to Subversion.]]
files
merged Zope Collector #372 fix from ZPT CVS trunk http://hg.code.sf.net:8000/p/roundup/code/#changeset-93b80ad11ca8f342cec94ad202d5ff3ddcd1e827 Richard Jones richard@users.sourceforge.net 2002-10-10T03:48:02+00:00 2002-10-10T03:48:02+00:00
changeset 93b80ad11ca8
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merged Zope Collector #372 fix from ZPT CVS trunk
files
merge Zope Collector #580 fix from ZPT CVS trunk http://hg.code.sf.net:8000/p/roundup/code/#changeset-9620f6782cb75c6c425d8b0d83b32f322ebd74b7 Richard Jones richard@users.sourceforge.net 2002-09-26T00:54:25+00:00 2002-09-26T00:54:25+00:00
changeset 9620f6782cb7
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge Zope Collector #580 fix from ZPT CVS trunk
files
Adhering to ZPL http://hg.code.sf.net:8000/p/roundup/code/#changeset-c08b3820edd1e2edb4c225cdae6839449497d50e Richard Jones richard@users.sourceforge.net 2002-09-07T22:43:17+00:00 2002-09-07T22:43:17+00:00
changeset c08b3820edd1
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Adhering to ZPL
files
moved http://hg.code.sf.net:8000/p/roundup/code/#changeset-b9988e118055f23a0685ebfe4ca61b4b96a95d0c Richard Jones richard@users.sourceforge.net 2002-09-05T00:37:09+00:00 2002-09-05T00:37:09+00:00
changeset b9988e118055
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description moved
files