Commit graph

43 commits

Author SHA1 Message Date
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
Bill Fenner 4e3769c963 Turn post_admin and archive_private into IntegerField instead of
BooleanField.  They are used as booleans, but represented in the
database as integers, so pretending they're boolean causes trouble
when saving empty values.
 - Legacy-Id: 266
2007-06-08 18:12:23 +00:00
Bill Fenner 2d9cc036a6 If we're passed in None, don't try to get the domain name out of it.
- Legacy-Id: 260
2007-06-08 15:48:09 +00:00
Bill Fenner 3cd72bc1fe Great leaps towards completing the mailing list request tool.
- Legacy-Id: 259
2007-06-08 15:30:34 +00:00
Bill Fenner e851dbac27 Create mailing list domains table and idtracker Roles model.
Add fixtures to populate IAD into Roles and existing domains
and authorizers into mailinglists_domains.  (The Roles fixture
will become wrong when we get a new IAD so should be removed
after the production database has this value.)
 - Legacy-Id: 255
2007-06-07 17:58:06 +00:00
Henrik Levkowetz 24400ff103 Adding handler404 and handler 500 in the right place ,;-)
- Legacy-Id: 241
2007-06-05 18:18:40 +00:00
Henrik Levkowetz 1523f859af Adding 'handler404, hadler500' to apps needing them
- Legacy-Id: 239
2007-06-05 17:54:43 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner faf885aabd MailingList model updates:
- Add domain helper function to default domain name to ietf.org
- Use correct values for post_who

Template updates:
- Use the domain helper function
- Use the post_who_display helper function
- Move some of the items that could wrap to the next line
 - Legacy-Id: 212
2007-06-01 20:40:21 +00:00
Bill Fenner ac853962e2 Reduce repetition in the templates by moving "add/delete" logic to
view.

Fix up logic in templates, mailing list closing emails look
correct (both approval and denial, with and without messages
from the approver).
 - Legacy-Id: 210
2007-06-01 19:13:21 +00:00
Bill Fenner 4e426dec4c Implement [most of] the approval side of mailing list requests.
Have to check the templates for deletion.
 - Legacy-Id: 209
2007-06-01 18:34:57 +00:00
Bill Fenner 3e634ccadd Get close to the look of the existing form. MultiEmailField might
belong in a project infrastructure file, not here.
 - Legacy-Id: 180
2007-05-30 11:20:46 +00:00
Bill Fenner 0eb450cab7 Finish the poorly-thought-through and poorly-implemented
GroupIETF->IETFWG rename.
 - Legacy-Id: 179
2007-05-29 13:39:32 +00:00
Bill Fenner e38f1dc967 A little progress on the mailing list request tool.
- Legacy-Id: 177
2007-05-28 18:51:55 +00:00
Bill Fenner 95a5093e53 Finish non-wg wizard logic: update database, send email.
Still need several templates (most notably deletion preview and
wizard_done)
 - Legacy-Id: 166
2007-05-24 21:05:51 +00:00
Bill Fenner b8aa94d007 Add preview and done to NonWgWizard.
- Legacy-Id: 161
2007-05-24 17:29:05 +00:00
Bill Fenner 41b788ad30 Rearrange nwg model to get the fields in the right order.
Allow nwg wizard to have a per-step template.

Write templates for step 0 and add/edit step 1.
 - Legacy-Id: 149
2007-05-22 19:56:20 +00:00
Bill Fenner 2739083fbe Initial version of forms and views for mailing list submissions.
The nonwg_lists/submit wizard is nearly done; it needs templates
and to figure out why submit from step 2 goes back to step 1 instead
of calling done.

 The req_list wizard is just started.  It needs to get the incoming
value of domain_name as an alternat version of dname, and be able to
get dname from GET args to handle the javascript redirect.  It also
needs all the workflow ("I'm allowed to create this list",
who-is-approver, etc.) and additional forms.
 - Legacy-Id: 122
2007-05-10 22:01:36 +00:00
Henrik Levkowetz 5872696834 Moving ietf to trunk/ietf
[[Split portion of a mixed commit.]]
 - Legacy-Id: 96.1
2007-05-04 12:37:28 +00:00