Commit graph

68 commits

Author SHA1 Message Date
Pasi Eronen f760caa421 Cleaned away unused code
- Legacy-Id: 2065
2010-03-12 07:39:36 +00:00
Pasi Eronen fb45363a26 Removed unused page /list/area/ (no links, no hits, no information really)
- Legacy-Id: 2013
2010-02-24 12:29:17 +00:00
Pasi Eronen 9e23b479b9 Replaced non-WG mailing list page with redirect to ietf.org
- Legacy-Id: 1871
2009-11-23 19:39:55 +00:00
Pasi Eronen 0de840c601 Run convert-096.py
- Legacy-Id: 1851
2009-11-09 09:11:44 +00:00
Pasi Eronen 1a029d2b88 Replaced mailing list instructions to redirect to www.ietf.org page
- Legacy-Id: 1831
2009-11-07 23:56:51 +00:00
Pasi Eronen 4fd33bfda1 Removed some unused code
- Legacy-Id: 1827
2009-11-07 13:59:58 +00:00
Pasi Eronen 0f81d3e01a Retired non-WG mailing list update submission tool
- Legacy-Id: 1825
2009-11-07 12:34:11 +00:00
Pasi Eronen df78b415b4 Fixed form field handling in NWG mailing list wizard for Django 1.x
- Legacy-Id: 1800
2009-11-07 06:10:10 +00:00
Pasi Eronen 611f55e899 Replaced mailing list request tool with instructions page
- Legacy-Id: 1789
2009-11-07 04:05:10 +00:00
Pasi Eronen 4077ea88ab Refactored testing code
- Legacy-Id: 1724
2009-10-14 18:33:26 +00:00
Pasi Eronen 904d837b6e Added some very basic test cases for mailing list wizards
- Legacy-Id: 1709
2009-09-29 18:49:39 +00:00
Pasi Eronen b2bc0c790d Improve test coverage (uncomment/add URLs to */testurl.list)
- Legacy-Id: 1635
2009-08-07 12:43:35 +00:00
Pasi Eronen 60d0b1c4a4 Commented out all testurl.list lines (will add some back later)
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Henrik Levkowetz 76c326e87a Merged in support for list of WG email archives, at '/list/wg/', from Chris Newman <chris.newman@sun.com>
- Legacy-Id: 1229
2008-11-15 21:54:46 +00:00
Michael Lee a7b3240bb8 Resolve ticket #205
* Relocate the form_decorator definition for area drop down to make the form_for_model case simpler
* Remove lines that are not used to handle 'None' area.
 - Legacy-Id: 961
2007-10-30 00:22:50 +00:00
Michael Lee 1163829ed2 Delete importing ModelChoiceFiled from mailinglist/forms.py. It is being used as forms.ModelChoiceField in the code, so importing it separately is not needed.
- Legacy-Id: 960
2007-10-26 14:29:06 +00:00
Michael Lee 2ee10f7ca5 Delete unused imports, QuerySetIterator and Field from mailinglists/forms.py
- Legacy-Id: 959
2007-10-26 13:45:59 +00:00
Michael Lee a649c852cc * Remove LooseModelChoiceField
* Use ModelChoiceField

 * use empty_label='none'
 - Legacy-Id: 957
2007-10-25 05:26:37 +00:00
Michael Lee 463182dd3f Update ticket 205
* remove clutter from previous commit

  * if we get rid of 'none' from the drop down and use '--------' instead, then we can even remove LooseModelChoiceField and simply use django's ModelChoiceField. However, it may be confused in user's perspective.
 - Legacy-Id: 953
2007-10-16 06:33:23 +00:00
Spike^ekipS d143d41653 To enable to select 'none' area in wizard page of none-wg-mailinglists without any
modification of TABLE 'Area'(see Bill's comment in ticket:205), I add the classes in
mailinglists module.

    * ietf/settings.py 

At first, add CONSTANT, CODE_AREA in ietf/mailinglists/__init__.py for global access.

CODE_AREA = {
        "none" : "-100",
}

To keep the code stability of 'area_acronym_id' in TABLE 'none_wg_mailing_list',
CODE_AREAOther? assigned -100.

    * ietf/mailinglists/forms.py 

        add 'SelectWidgetArea', it just add psuedo choice in 'area' select input box.

    * ietf/mailinglists/models.py 

        add new ForeignKey type 'ForeignKeyArea' to keep the existing deep form-model
relations, so this new field type handles normal area value and 'none'.

        The class, 'NonWgMailingList' has some changes. To prevent 'DoesNotExist'
Exception when fetching the real acronym from 'Acronym', add setattr method. It stores
'none' area value in /* cache */ and return it.

    * ietf/mailinglists/views.py 

        In the last step of update wizard, split the routine to check whether the area
code is 'none' or not. If 'none', the approval persons is fetched from 'Role'(TABLE
'chairs').

There is changes only in 'mailinglists' module, so I guess this works.
 - Legacy-Id: 952
2007-10-03 14:46:55 +00:00
Nathan Cassano df801b6c39 Moved from idsubmit branch. Added a new checkbox field to the mailing list creation and approval screens for an option to require the new list to use TMDA
- Legacy-Id: 950
2007-09-30 23:50:14 +00:00
Bill Fenner 487ad84e0d Fix argument signature for failed_hash, and comment it out
since it was for development.  This fixes the exception that
Harald experienced with the mailing list update tool, but not
the underlying problem.
 - Legacy-Id: 901
2007-07-24 23:25:55 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner 8d6b0bae97 Moves:
* announcements -> ann
 * liaisons -> liaison
 * idindex -> drafts
 * mailinglists -> list

I checked the tests and used a link checker locally, so hopefully
the fallout will be minimal.
 - Legacy-Id: 657
2007-06-26 18:29:55 +00:00
Michael Lee 6ca9b6f451 Render the receipt page with proper contents
- Legacy-Id: 635
2007-06-25 17:41:40 +00:00
Bill Fenner e7f957ec02 Make the url widget boxes as wide as the cgi page has them..
- Legacy-Id: 628
2007-06-25 15:17:31 +00:00
Michael Lee 04d302a533 Disable email formating validation for admin list
- Legacy-Id: 627
2007-06-25 13:44:32 +00:00
Michael Lee 17c445e74a nwg_list_submit - restore MultiEmailField property of admin field. Defining admin in nonwg_fields causes a bug which does not pre-populate admin field when editing. Ticket will be created.
- Legacy-Id: 626
2007-06-25 05:37:34 +00:00
Michael Lee d10d8444e1 nwg_list_submit bug fix again
- Legacy-Id: 625
2007-06-25 05:28:54 +00:00
Michael Lee 34a621fe5d nwg_list_submit bug fix
- Legacy-Id: 624
2007-06-25 05:17:44 +00:00
Michael Lee 6c35c89054 * fix Delete request
* Step number is dynamically generated
 * add template for delete confirmation
 - Legacy-Id: 623
2007-06-25 04:55:29 +00:00
Bill Fenner 430c53c9a3 Spell "skipredirect" properly.
- Legacy-Id: 613
2007-06-22 11:22:42 +00:00
Bill Fenner 0a3cee08a0 Skip the mailinglists/request/help redirect tests; those are only
served by the mailing list form so bookmarks to them are extremely
unlikely.

Remove trailing "?" from /idtracker/ entry; the redirect tool
strips off empty query strings.

Add ?cat=bugs to the send_email entry so the redirect will pass.

Skip the redirect test for the ballot, since there's an extra
(unused) query argument, filename=.

Add in all the query args that will get passed through the
redirect when searching for bgp-m, to make sure that they work
and to make the redirect test pass.
 - Legacy-Id: 609
2007-06-22 01:46:47 +00:00
Bill Fenner 724f356bc4 Put 'req' in the context so that the summary will be correct.
Fixes the "Extraneous Information" problems in #142 and #143.
 - Legacy-Id: 597
2007-06-21 19:21:42 +00:00
Bill Fenner 8e85393b03 Delete debugging output.
- Legacy-Id: 587
2007-06-21 16:38:06 +00:00
Bill Fenner 2239b494d2 Use MultiEmailField for the admin's email address, to get validation.
- Legacy-Id: 585
2007-06-21 16:21:38 +00:00
Bill Fenner dc0832af51 Chase the renaming of the areadirectors model to areadirector,
and thus the renaming of the auto-generated _set attribute.

Remove the areadirectors_set() function.
 - Legacy-Id: 555
2007-06-20 14:02:32 +00:00
Bill Fenner 0e1728e2ab Remove debugging print.
- Legacy-Id: 554
2007-06-20 13:55:41 +00:00
Michael Lee 02cbe98a1f * Add javascripts to the first step
* Add a method areadirectors_set to idtracker/models.py
 * Edit templates to adopt same look and feel with the existing tool
 - Legacy-Id: 550
2007-06-20 05:21:48 +00:00
Bill Fenner c03da11ec5 Use the exact same "no selection" wording.
- Legacy-Id: 516
2007-06-18 22:12:56 +00:00
Bill Fenner 0aa1161f2a Supply form0 to the templates, and use that in ListReqAuthorized.html
to display the right approval text (or a fallback if it's something
else for some reason)
 - Legacy-Id: 494
2007-06-18 16:39:47 +00:00
Bill Fenner 88e1ed58c5 Simplify the __init__ for ListReqStep1, by letting the parent's
__init__ parse initial and get the value from there.
 - Legacy-Id: 445
2007-06-16 21:14:38 +00:00
Bill Fenner caebc11a36 Test URLs for mailing lists
- Legacy-Id: 348
2007-06-12 21:06:56 +00:00
Bill Fenner 3811dcf8ac Don't import Acronym, since we don't use it.
Filter by active groups when creating the list of groups.
 - Legacy-Id: 286
2007-06-10 13:37:14 +00:00
Bill Fenner 100f24baef Add help popup to MailingListForm.
- Legacy-Id: 276
2007-06-10 03:02:01 +00:00
Bill Fenner fdca154e75 Implement custom form rendering for step 0.
Implement javascript to disable form elements that aren't used
when wg or non-wg items are selected.

Implement javascript to reload the page with the right set of
non-wg mailing lists to close.
 - Legacy-Id: 274
2007-06-10 02:00:51 +00:00
Bill Fenner f8dbed4884 Fix preview by creating a MailingList object and using the
existing list_summary.html.
 - Legacy-Id: 272
2007-06-08 20:45:41 +00:00
Bill Fenner 48a4219a32 Use the main form's domain_name, not the initial domain_name, to
pick the approver, since the main form's version has been changed
to ietf.org if appropriate.

Don't try to look up the main_form -- since we're currently processing
the main_form, it's just 'form'!
 - Legacy-Id: 271
2007-06-08 20:04:52 +00:00
Bill Fenner 89a8834177 Rename "initial" to "initial_members" so that it doesn't shadow
the form attribute "initial" (as in initial data)

Render the form field-by-field for MailingListForm, so that
we can render the mailing list name conditionally as a text input
box or as a hidden field with the value in the page.  We can also
insert the domain name here too.  (Note that this means that
hidden fields in this form other than domain name have to be
treated specially!)
 - Legacy-Id: 270
2007-06-08 19:54:59 +00:00
Bill Fenner e08772430a Create "allononeline" filter and use it for list_wizard_done_email.
Use the Site to get the URL in list_wizard_done_email.

Set req for list_wizard_done_email as it is for approval email.

Only use domain-based extra approvers for non-WG requests.

Supply hidden fields for mlist_name and domain_name for deletion.
(These should be visible but uneditable, but passing them
through is a start)
 - Legacy-Id: 267
2007-06-08 18:21:44 +00:00