| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
list of available languages.
|
| |
|
|
| |
user option.
|
| |
|
|
|
|
| |
to suppress password reminders for this list only. If they turn this
option on for all lists in a virtual domain, they will not get the
password reminder email at all.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
main(): Key off of the 'doit' field in the form data to determine
whether process_request() or request_creation() should be called.
Add support for the 'clear' button.
request_creation(): Some strings were erroneously not marked as
translatable.
|
| |
|
|
| |
translatable.
|
| |
|
|
| |
comparisons.
|
| |
|
|
|
|
|
| |
message's metadata, which means that the message does not originate
from a mailing list. In that case, don't try to open the list (since
you can't ;), and set the global language to the server's default
language instead of the list's preferred language.
|
| |
|
|
|
| |
means that the message does not originate from a mailing list. In
that case, admin should be the email address of MAILMAN_OWNER.
|
| |
|
|
| |
pass in cgi=1 to let it know that it's being invoked ttw.
|
| |
|
|
| |
pass in cgi=1 to let it know that it's being invoked ttw.
|
| |
|
|
|
|
| |
removed.
Create(): Don't call InitTemplates() as this has been removed.
|
| |
|
|
|
| |
whether this is being invoked through-the-web (ttw). This is required
by the API but ignored by the functions in this module.
|
| |
|
|
| |
creation / removal.
|
| |
|
|
|
|
|
|
|
|
| |
When a list is created or removed via the cli (i.e. bin/newlist), this
prints an informative message containing the /etc/aliases entries to
standard out.
When a list is created or removed ttw, this sends an email message to
MAILMAN_OWNER telling him what needs to be done (this isn't ideal but
it's the best we can do).
|
| |
|
|
|
|
|
|
|
|
| |
GetConfigInfo(): If list support for a language was removed, but the
list's preferred_language wasn't updated, you could get a ValueError
when setting up the selection widget. Just use the first entry in the
list.
GetAvailableLanguages(): Ignore the language directory if
LC_DESCRIPTIONS hasn't been updated to include the language.
|
| |
|
|
|
|
|
| |
adding local site-wide language support.
Get rid of the os.environ hacking and gettext calls; they're no longer
necessary.
|
| |
|
|
|
|
| |
EnvironmentError, it makes for slightly cleaner and more efficient
code to catch the common base class rather than a tuple containing the
two derived classes.
|
| |
|
|
|
| |
language, also pass in the MailList object; maketext() digs the
preferred language out of the list object.
|
| |
|
|
|
| |
language, also pass in the MailList object; maketext() digs the
preferred language out of the list object.
|
| |
|
|
|
| |
also pass in the MailList object; maketext() digs the preferred
language out of the list object.
|
| |
|
|
|
| |
pass in the MailList object; maketext() digs the preferred language
out of the list object.
|
| |
|
|
|
|
|
|
|
|
| |
has been removed.
FormatHTML(): Call Utils.maketext() instead of SnarfHTMLTemplate()
since that's also been removed.
ChangeHTML(): Don't use mlist._template_dir to find the path to the
list-centric template. Instead use mlist.fullpath().
|
| |
|
|
|
|
|
|
|
| |
pass in the MailList object; maketext() digs the preferred language
out of the list object.
Also, use mm_cfg.MAILMAN_OWNER as the originator of the mail message
instead of `mailman-owner@' + mlist.host_name. This closes SF bug
#424389, although I'm not 100% sure this is the right fix.
|
| |
|
|
|
| |
simply pass in the MailList object; maketext() digs the preferred
language out of the list object.
|
| |
|
|
|
| |
simple pass in self; maketext() digs the preferred language out of the
list object.
|
| |
|
|
|
|
|
|
|
|
|
| |
language to the value of $LANGUAGE (or any of the other gettext module
supported environment variables). Specifically,
set_language(): Allow the `language' parameter to default to None,
which tells gettext.translation() to use its own defaults.
When the module global _translation is None, call set_language() with
no arguments.
|
| |
|
|
|
|
|
|
|
|
| |
ApprovedAddMember(), DeleteMember():
Instead of passing in the list's preferred language, simple pass in
self; maketext() digs the preferred language out of the list object.
In AddMember(), ConfirmUnsubscription(), and ApprovedAddMember(), the
argument `lang' is also passed in case the user chose a language other
than the list's default.
|
| |
|
|
|
| |
preferred language, simple pass in self; maketext() digs the preferred
language out of the list object.
|
| |
|
|
|
|
| |
EnvironmentError, it makes for slightly cleaner and more efficient
code to catch the common base class rather than a tuple containing the
two derived classes.
|
| |
|
|
|
| |
preferred language, simple pass in self; maketext() digs the preferred
language out of the list object.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and all references to this volatile instance variable have been
removed.
SnarfHTMLTemplate(): Also removed, since maketext() does all this in a
more general way.
ParseTags(): Use Utils.maketext() instead of SnarfHTMLTemplate().
InitTemplates(): Because of the new support for expanded template
searches, the only thing that's necessary for a list to support a
language is for it to have a (possibly empty) directory named after
the language code. Thus, the copying of template files done in this
method are unnecessary.
|
| |
|
|
|
|
|
|
| |
simple pass in self; maketext() digs the preferred language out of the
list object.
SetUserDigest(): Add a note about the (possibly) redundant self.Save()
call.
|
| |
|
|
|
|
|
|
| |
user's preferred language, also pass in self so maketext() can dig out
the list's preferred language if for some odd reason the user's
preferred language can't be found.
Also, remove the obsolete os.environ['LANG'] setting.
|
| |
|
|
|
| |
language, simple pass in self; maketext() digs the preferred language
out of the list object.
|
| |
|
|
| |
os.mkdir() instead of Utils.mkdir().
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
function now takes an additional optional argument `mlist' which must
be a MailList object. It implements an expanding search order for a
specific template file: list-centric, domain-centric, site-centric,
global default. Each of these prefixes in turn the explicit language
passed as an argument, then the list's preferred language, then the
site's default language. The first matching template file found is
returned.
mkdir(): Removed. Use os.mkdir() instead.
|
| |
|
|
| |
script was not setting up the i18n environment in the `blessed' way.
|
| |
|
|
|
| |
Kikuchi. Japanese translations have difficulty when the sentences are
split.
|
| |
|
|
|
| |
Tokio Kikuchi. Japanese translations have difficulty when the
sentences are split.
|
| |
|
|
|
| |
misconfigured in mm_cfg.py to be missing a trailing slash, one will be
added upon list creation.
|
| |
|
|
|
|
|
|
|
| |
displayed:
- use the private.html template instead of private.txt
- calculate the ACTION attribute via the absolute url back to the
`private' cgi script
|
| |
|
|
|
| |
PRIVATE_ARCHIVE_URL, calculate the url to the `private' cgi script via
self.GetScriptURL().
|
| | |
|
| | |
|
| |
|
|
| |
highly annoying to have to tail more than one log file to find bugs.
|