Commit graph

97 commits

Author SHA1 Message Date
Henrik Levkowetz 92968fa04e Somewhat reorganized IPR search code. Renamed IprDetails model field. New IPR search templates.
- Legacy-Id: 476
2007-06-17 15:21:48 +00:00
Henrik Levkowetz e317588462 Minor template tweaks to remove diffs
- Legacy-Id: 463
2007-06-17 02:03:27 +00:00
Henrik Levkowetz 201f9b4787 Added missing page header
- Legacy-Id: 461
2007-06-17 01:51:56 +00:00
Henrik Levkowetz dda241104e Changed 'irtf. org' ==> 'irtf.org'
- Legacy-Id: 459
2007-06-17 01:41:22 +00:00
Henrik Levkowetz 3f8ac442e0 Fixed missing and buggy text in the template.
- Legacy-Id: 458
2007-06-17 01:36:16 +00:00
Henrik Levkowetz bed8e1c90b Changing the redirect for desc.cgi. The previous cgi field couldn't work; unfortunately I can't figure out a way of getting this to work at all using only the current redirect mechanism. It seems to me to either need to do repeated redirect lookups, or have an 'id' table similar to the 'command' table...
- Legacy-Id: 428
2007-06-16 12:00:56 +00:00
Henrik Levkowetz bf60fe103d Added leading-zero RFC number normalization to another field
- Legacy-Id: 404
2007-06-15 13:29:17 +00:00
Henrik Levkowetz 6a2c3ab85f Added IPR search by RFC number.
- Legacy-Id: 400
2007-06-15 11:52:26 +00:00
Henrik Levkowetz a8ee5fdbf6 Two new templates for the IPR search function
- Legacy-Id: 391
2007-06-14 23:47:02 +00:00
Henrik Levkowetz 56b33c8dec Backing out the previous change so I can commit it with proper comments...(4)
- Legacy-Id: 390
2007-06-14 23:45:48 +00:00
Henrik Levkowetz d989d0aa21 A little filter to add a space to strings like 'RFC1234' to get 'RFC 1234'
- Legacy-Id: 386
2007-06-14 23:38:51 +00:00
Henrik Levkowetz 90a414fb10 IPR search form. Search results not implemented yet.
- Legacy-Id: 383
2007-06-14 14:06:26 +00:00
Bill Fenner 2bf510f43b Add "myifchanged" tag, which is different from the standard ifchanged
in two ways:
 * It permits an "else" clause.  This code is from http://code.djangoproject.com/ticket/4534
 * It doesn't push the context while rendering, so context changes can be performed (like the change that cycle makes: putting the current value into the context)

Use this new tag to cycle the row color if the ballot_id has changed, or
if it's a synthetic document.
 - Legacy-Id: 380
2007-06-13 18:43:56 +00:00
Bill Fenner 2ad2219895 Implement DocumentWrapper class, which isn't a model but has enough
of the same API as IDInternal to allow the template to render it.

When fetching lists of document IDs, use values() to fetch only the
ID to reduce database overhead (and model object creation overhead)
 - Legacy-Id: 373
2007-06-13 17:21:22 +00:00
Henrik Levkowetz fc67fd376c Instead of compensating for the 'Did you find a bug...' footer on pages where it isn't present in the original, take it out from the idtracker base.html and remove the compensation. Later add a less intrusive generic footer on all pages and and add diff compensation for the absense of the 'Did you find a bug...' footer.
- Legacy-Id: 371
2007-06-13 17:03:28 +00:00
Henrik Levkowetz 5fae7d56b2 Fixing some template changes needed after the model surgery in changeset [186], and extending the attribute alignment to IprRfc and IprDraft models.
- Legacy-Id: 363
Note: SVN reference [186] has been migrated to Git commit 5f4d99a36a
2007-06-13 14:05:26 +00:00
Henrik Levkowetz 37552fe91f Corrected IPR Updates.. fix
- Legacy-Id: 362
2007-06-13 13:30:58 +00:00
Henrik Levkowetz 59413c7344 * Don't show 'Updates...' information for withdrawn IPR Disclosures.
* Add missing table header fields.
 - Legacy-Id: 361
2007-06-13 13:22:19 +00:00
Henrik Levkowetz e1e375e269 IPR presentation tweaks
- Legacy-Id: 352
2007-06-12 22:46:54 +00:00
Bill Fenner c4cee402d5 Diff reduction: AD names are "Last, First" and "Area:" is "Area Acronym:".
- Legacy-Id: 333
2007-06-12 16:15:40 +00:00
Bill Fenner 49ee9f8cd7 * Implement replaces and replaced_by in search_result_row and idinternal_detail. (This is almost repeating myself, except for slightly different formatting and different links.)
* Implement displayname_with_link() to go with filename_with_link().
* Implement idtracker backwards linkage in RFC model.
* Don't use unformat_textarea to display Note: - it hasn't been implemented, and seems to want to de-HTML stuff but we're displaying HTML
 - Legacy-Id: 320
2007-06-11 20:27:14 +00:00
Bill Fenner ea639f96c4 * Add filename_with_link to create links only for active documents
* Display document status if it's not Active
* Use revision_display in displayname()
* Check for DocumentComment.created_by flag value of 999
 - Legacy-Id: 317
2007-06-11 18:47:44 +00:00
Bill Fenner 5c674df41e Remove non-wg wizard header that accidentally snuck in.
- Legacy-Id: 313
2007-06-11 17:10:34 +00:00
Bill Fenner 178c5e13e0 * search_result_row.html no longer takes care of the ballot set rendering for you; you have to pass it the entire contents of the ballot set.
* Model and template changes to allow documents to report their name via doctype() to allow "Draft Name:" vs. "RFC Name:"
* Add parenthesis around the submission type to match the cgi
* Pass the whole ballot set to search_result_row from idinternal_detail
* Display only public comments in idinternal_detail
* Use comment.get_absolute_url instead of a relative URL.  (This fixes /idtracker/NNN/comment/YYY/ which wouldn't work)
* Add a search url to compare
* In view, when searching, don't filter for primary_flag=1, but do order by ballot and -primary_flag so that the results are grouped properly.
* Introduce public_comments() accessor which filters comments()
* Fix comments() to not use rfc_flag, to match the schema
* Order ballot_set() by -primary_flag so the results are grouped properly.
 - Legacy-Id: 312
2007-06-11 16:53:25 +00:00
Henrik Levkowetz 76f759c19c Minor fixes to the ipr details template
- Legacy-Id: 279
2007-06-10 11:31:29 +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 ebe29bc1af Add javascript to display/clear the requestor's address in
the textbox at the top of the list administrators multifield.
 - Legacy-Id: 273
2007-06-09 03:45:35 +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 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
Michael Lee 415e274dde IESG Announcment list page only lists announcements with ballog_id
- Legacy-Id: 269
2007-06-08 19:21:03 +00:00
Bill Fenner b16a65966e I committed the middleware that uses this but forgot to commit
the template.
 - Legacy-Id: 268
2007-06-08 18:25:13 +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 804f669e45 Actually include the template. Don't use titlecase since
It Looks Weird To Say I Want To Move The Wg Email List For
Eap To Ietf.Org
 - Legacy-Id: 263
2007-06-08 17:07:51 +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
Henrik Levkowetz 742737251f Adding a placeholder HTTP 500 error page template
- Legacy-Id: 251
2007-06-07 14:17:09 +00:00
Henrik Levkowetz 7962e722d3 Adding HTTP 404 error page template
- Legacy-Id: 250
2007-06-07 14:11:43 +00:00
Michael Lee ac82271bcb Update IESG Announcement scripts to work with latest models and template changes.
- Legacy-Id: 247
2007-06-06 05:11:06 +00:00
Bill Fenner 7fec55b633 Initial implementation of view_related. The related_docs() function
is still a work in progress.  I've been using
draft-ietf-dnsext-dnssec-protocol as a test case; related_docs()
returns the same 137 documents as the cgi code but some of the
relationships are different.  Right now, the skip argument is
ignored.
 - Legacy-Id: 246
2007-06-06 02:14:29 +00:00
Bill Fenner 3754c0c6b4 Initial list wizard templates.
- Legacy-Id: 240
2007-06-05 18:05:57 +00:00
comimom b73efa811a Complete Meeting Materials page
* Tested with IETF 67 and 68 data.
 * For testing, c_sub_cut_off_date should set to future date, otherwise a Closed page will show.
 - Legacy-Id: 228
2007-06-04 19:52:52 +00:00
Bill Fenner 688b4fdd43 Use revision_display to decrease the version number appropriately
- Legacy-Id: 225
2007-06-04 13:53:17 +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
Michael Lee 27edcb2b3e * Add meeting materials list page
* For testing, the page lists meeting materials regardless the submission cut off date.
 * Need to add Training sessions, IRTF RGs, and Interim WGs
 - Legacy-Id: 203
2007-06-01 04:10:39 +00:00
Bill Fenner 4a5c6b5c57 Create I-D Search form, with field names matching the old search
form, to allow bookmarked searches to continue to work.
 - Legacy-Id: 200
2007-06-01 02:05:00 +00:00
Bill Fenner 0ecb3e5e8f Change from id to class designators for "largefont", etc.
- Legacy-Id: 195
2007-05-31 20:14:34 +00:00
Bill Fenner c8cc298c5d Add links to state description pages.
- Legacy-Id: 194
2007-05-31 20:14:02 +00:00
Bill Fenner 2b46e031e2 Use .count to gain a smidge of efficiency when checking for
a ballot set, and use the right comment syntax.
 - Legacy-Id: 193
2007-05-31 20:13:41 +00:00