Commit graph

56 commits

Author SHA1 Message Date
Henrik Levkowetz acc2c59920 Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9556
2015-04-24 21:47:12 +00:00
Henrik Levkowetz bf9d668c3e Changed from using an otherwise unused css class as content container selector in tests, to instead using an explicit css id as selector.
- Legacy-Id: 9394
2015-04-04 08:57:39 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz 86997e1e95 Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Ole Laursen 87870ca954 Fix more test errors - now only two not yet fully ported views remain
- Legacy-Id: 8571
2014-11-03 16:39:41 +00:00
Henrik Levkowetz c8fd0dafde Made ietf/mailinglists pyflakes-clean.
- Legacy-Id: 7472
2014-03-15 18:15:08 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen 6c57fe496f Port mailinglists to new schema
- Legacy-Id: 6782
2013-12-03 18:55:26 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +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
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