ietfdb (4.95) ietf; urgency=medium This release upgrades Django from version 1.2 to version 1.6, including a large number of refactorings and adjustments (about 140 individual changes) to adapt to changes in both interfaces and the style of how things are done between Django 1.2 and 1.6. The full list of changes is available here: http://tools.ietf.org/tools/ietfdb/log/branch/iola/djangoport -- Henrik Levkowetz 13 Jan 2014 19:14:05 +0100 ietfdb (4.90) ietf; urgency=medium This release removes almost all parts of the shim-layer code which was used to provide a semblance of the old database schema to user-interface code after we moved to a new database schema in the early part of 2012. There should be no changes in basic functionality changes in this release, even if there are many small optimisations and changes in code details which come in as a result of the shim-layer removal. -- Henrik Levkowetz 20 Dec 2013 18:07:48 +0100 ietfdb (4.84) ietf; urgency=low This is a minor bugfix release, in preparation for merging in the latest shim-removal work. * Merged [6859] from rcross@amsl.com: Fixed calls to reverse() to match new url names since code merge * Merged [6858] from rcross@amsl.com: Use correct URL in new IPR notification email * Merged [6857] from rjsparks@nostrum.com: A script to run from cron to send daily messages to IETF Announce showing the email header field change. his should be run from Jan 6 to Jan 20, after which point we need to deploy analagous changes to the code that constructs last call announcements. This is related to bug #811. * Merged [6701] from rjsparks@nostrum.com: Adds pages to show what a given document refers to and what refers to it. ixes bug #1194 ommit ready for merge * Merged [6672] from rjsparks@nostrum.com: Removed requirement to enter a phone number in various places on an IPR disclosure entry form. Fixes bug #1176 * Fixed a typo. Fixes issue #1216. -- Henrik Levkowetz 16 Dec 2013 23:34:37 +0100 ietfdb (4.83) ietf; urgency=high This release provides the code from the IETF-88 code sprint, and also a number of fixes to things reported during the IETF. The number of enhancements coming out of the sprint this time is impressive; this may actually have been the most successful sprint till now. Of particular note is the new ability for chairs and others who has the permission to edit a document's state, to edit replaced-by information for documents; and the introduction of information about which documents a given document references, for all documents. Future enhancements will display this information as diagrams and textually, and use it to re-introduce the dependency diagrams originally provide by Bill Fenner in his stand-alone dependency graph application. From rcross@amsl.com: * Changed draft replaces action: move document to archive directory From tterriberry@mozilla.com: * Allow wgchairs to edit document replacement relationships. This actually allows anyone with can_edit_stream_info permission to edit the list. This does draft name completion, but does not currently filter those names for likely replacements. Styling is also basically non-existent. Fixes #1002 * Added 'Track this document' link on drafts. Fixes #1085. * Mark concluded BoFs as BoFs, not Concluded WGs. Fixes #1169. From bartosz.balazinski@interdigital.com: * Added the new version of the shepherd writeup as a comment when it's edited. The new version works like this: - Any shepherd writeups done before the document is submitted for publication are not disclosed in the history. - When the document is submitted for publication the available writeup (if available) is added to history. - Any further writeups after the document has been submitted for publication are disclosed in the history. From suresh.krishnan@ericsson.com: * Refactored the mails sent when state is changed along with annotation tags. Don't send emails for only comment changes, just add a history entry. For state changes and annotation changes, only send one email, containing information about both state changes and annotation tag changes. Fixes issue #1127. From jmh@joelhalpern.com: * Included confirmation addresses in ID-Submission success notice. Fixes issue #1097. * Added document titles to status change request email. Fixes issue #1069. * Added \'Last Call Issued:\' to front of last call atom feed entry subjects. * Fixed conflict review text for irtf docs to reference RFC 5743. * Added the last call expiration date to the document header, and remove duplicate code for producing the iest state summary. From markus.stenberg@iki.fi: * Added .csv export from private community lists. Fixes #1074 * Took care of #841 by moving correctly outside altogether. From adam@nostrum.com: * Fixed #1153: Fixes IPR disclosures being counted multiple times and counting of \'not yet approved\' IPR disclosures. From rjsparks@nostrum.com: Refined Bill Fenner's regex based search through documents for references. This populates RelatedDocument with relations for references for each type draft Document; replaces these reference relationships with updated copies upon draft submission. Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop. Fixes bug #1173 Other changes: * Tweaked the style used on the nomcom feedback pages a bit, to give people a bit more room to write in the feedback field. * It turns out that the get_user_email is called for every nominee listed on a feedback page, which is insane. But until the template can be rewritten to do this in a more sane way, we cache the lookup result. * Changed things so the left-side navbar doesn't jump to full page width in the instant before the main content is loaded. NB: Cleanup action needed: replace all px dimensions with em, consistently. * Included the IAOC update session in the training section of the agenda. * By preference, show the same email for a logged-in user as his login, if it exists; otherwise show the newest active email address. * Many minor fixes to agenda templates and the known-good agenda test files. -- Henrik Levkowetz 06 Nov 2013 20:33:43 +0100 ietfdb (4.82) ietf; urgency=high * Removed the ams_filters template tag file from the meeting app -- it was a copy of the ams_filters under secr/, and masked it. * Added another state to the possible IETFWG states in the group proxy models file, to avoid exceptions. * Changed the 'pipe' utility to work with commands taking input on standard in, also when providing an emtpy string as input. This is now different from providing 'None' as the input argument, or omitting it. * Tweaked the utility script to find missing submission confirmation emails. * Rewrote html and text agenda templates to take schedule as data. * Added the utility program (vzic) used to generate timezone-specific iCalendar information, and the original .ics files generated by the utility program in 2010. * Added some code to vzic to make it output symlinks for all timezone links specified in the Olson database, not only some of them. * Included newly generated .ics files, from http://www.iana.org/time-zones/repository/releases/tzdata2013h.tar.gz. This updates the .ics files to use timezone information current as of 27 Oct 2013. * Added links to the individual nominee fedback pages to the private nomcom index page, in order to make it easier to find and look at the feedback for a filtered set of nominees. * Added a template filter to do required escaping in iCalendar pages. * Changed the path to iCalendar vtimezone information to point into the release directory, so that we can make updated vtimezone information available directly in a release, instead of out-of-band. * Provided new methods Meeting.vtimezone() which return a vtimezone stanza for ical files, based on the timezone setting for a meeting, fetched from a pre- generated file; and Session.ical_status(), which provides a string appropriate for use in ical STATUS: entries. * New view code and templates for agenda pages, updating all agenda templates to take schedule-specific information so that they will work with arbitrary schedules, not just the official schedule for a meeting. * Updated test masters to match the changed (and now more predictable) order of some entries in the agenda pages. * Merged [6486] from rjsparks@nostrum.com: Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position * Marked some instances of code in the meetings app which used variables that don't exist with XXX Fixme. Removed dependency on the logging module, we use syslog by default. Replaced some log.debug() calls with debug.log(). * Removed a lot of dead code and unused imports. * Merged [6580] from rjsparks@nostrum.com: Reverted materials.html and the view that drives it to before the 4.70 merge. Tweaked the view to get (I hope) the right things. * Updated the template and support functions for iPhone agenda page. -- Henrik Levkowetz 31 Oct 2013 19:13:02 +0100 ietfdb (4.81) ietf; urgency=medium * Merged in branch/amsl/1.50@6388 from rcross@amsl.com, with secretariat tool announcement fixes, permission fixes, and agenda database schema fixes. * Required logins to be all-lowercase. This was prompted by repeated trouble with people registering non-lowercase logins, then trying to log in with all-lowercase, or vice versa. * Merged [6465] and [6466] from rjsparks@nostrum.com: Added the ability to send reminders to complete questionnaires to nominees in the accepted state. Changed the send_reminders management command to not take any arguments and run against all active nomcoms. Removed bugs from the send_reminders management command and added tests for it. Adjusted several dbtemplate titles and content. Fixes bug 1157 * Merged [6468] and [6469] from ejimenez@yaco.es: Now a Nomcom incumbent can be set to None for positions. Fixes #1156. * Let Timeslot.session() Return the first session, rather than none, for timeslots with multiple associated sessions for the public schedule. * Made the timeslots sent to the agenda.ics and agenda.txt template distinct, to avoid duplicate agenda items. Fixes issue #1155. * Added caching for the somewhat costly TimeSlot.session() method/property. This speeds up text agenda generation using the legacy template substantially. * Tweaked the strings displayed when a plenary agenda cannot be shown. * Changed the select statement in MeetingProxy.sessions() to produce correct results for the official agenda, and filter out timeslot entries without scheduled sessions. * Remove the AD information from the text agenda until we fix the database so that it displays consistently correctly for past meetings. * Reverted to release 4.72 versions of several functions and methods, starting with agenda_info() and the view functions that use it. Also changed meeting/tests/agenda.py to accept matching return values. Reverted old supporting models and proxy models to 4.72 versions, too, in meeting/proxy.py and proceedings/models.py. Updated the proxy models which rely on TimeSlot to work properly with the m2m sessions field, and adjusted some other functions, such as session_agenda() to also understand the m2m sessions field (and its reverse). Added an understanding of the "bof-conc" state to the code which returns 'BOF' or 'WG' for agenda templates. * Reverted to release 4.72 versions of txt, ics, and csv agendas, with minor tweaks. * Improved the test suite with improved diff tests for retrieved urltest files. A number of other test tweaks and enhancements, including several known-good master files to diff generated pages against. * Cleanup action: replaced the noTable block construct with start/end table_content blocks in order to not have to open and close tables in different blocks, and not have empty tables lying about. * Reinstated the release 4.72 get_agenda_info() as legacy_get_agenda_info(), and tweaked it to work with the new Timeslot model's sessions field. Reverted the html agenda view code to use legacy_get_agenda_info(), based on the release 4.72 code. This is a fix to display the html agenda for now, and will need more cleanup, but this should be done without introducing scheduledsession instances to the template. * Added a property method to return what the 'session' field used to return, but based on the 'sessions' m2m field filtered with the meeting agenda. This is right for the main meeting agenda, but not for personal schedule layouts, so this isn't a final fix. * Reverted html agenda templates to release 4.72 state, except for a jquery version change and moving inline weekview javascript to a separate file. * Changed the WG edit form so that once an acronym has been set, the acronym field is read-only; also changed the form validation to not permit changes to an existing acronym. * Changed NOMCOM_FROM_EMAIL to be the Nomcom chair instead of the secretariat. Fixes issue #1152. * Merged [6413] from rjsparks@nostrum.com: Removed redundant call to not_duplicated from the nomcom/private_index template. It was already applied in the view, and interacted badly with the list comprehension method of filtering for NomineePositions that had associated questionnaire responses. Fixes bug 1151. * Added Ryan to the admin list so he'll get 500 notifications. -- Henrik Levkowetz 21 Oct 2013 22:58:26 +0200 ietfdb (4.80) ietf; urgency=high This is a major release which provides the code drop from phase 3 of the Agenda Scheduling Tool. The code has been merged in, and a lot of minor alignments done. Deployment of this will make the phase 3 agenda editing tools available from the main ietf site, will align the database schema with that used in the ongoing development work, and will provide the correct models for secretariat tool adaptations. Other changes: * Reworked the TestCase code and fixture loading substantially, resulting in a substantial speed increase for tests when run on a transaction- capable database engine. * Added an index page for nomcoms, at /nomcom/, with links to nomcom pages and announcements, where they exist. * Fixed some bugs in the EncryptedTextField class. * Fixed the language of the nomination confirmation message. * Changed 'requirement' to 'desired expertise' in user-visible places in the nomcom app. * Fixed a wrong secretariat template extension name. * Provide the missing safe_rep function required in the back-ported assertIsNone() test case method. * Added an explanatory paragraph to the Desired Expertise page. * The exception string for submission upload read errors seems to have changed after we switched to wsgi, from "Client read error" to "request data read error". Now looking for just "read error" to catch both. * Tweaked the introductory text on the Nomcom Desired Expertise page. * Added a makefixture management command, from http://djangosnippets.org/snippets/918/, somewhat hacked. * Updated the test fixtures, built to be more internally consistent in order to be able to pre-load them for the test suite. * Fixed the many times duplicated position names in the position selection drop-down list in the nomcom private index page. Fixes issue #1137. -- Henrik Levkowetz 03 Oct 2013 16:22:39 +0200 ietfdb (4.72) ietf; urgency=medium * Added a migration for a new ConstraintName field: penalty * Fixed 2 issues with the wg document list: Wrong heading for the related docs, and candidate wg docs listed as wg docs, rather than related docs. * Fixed an issue arising when trying to edit a document state when there's no prior state, and removed the link to edit the document state when there's no set state. * Tweaked the template used to generate the various 1wg-charter*.txt files to properly fetch email addresses. * Merged in a fix from rjsparks@nostrum.com for incorrect IANA notification email addresses. * Added Nomcom role suport to role_required() through has_role(). This will let us get rid of the more specialized ad_hoc nomcom_memeber_required() function which can't handle access for multiple roles. * Replaced the ad_hoc nomcom_member_required() decorator with the generic role_required() decorator. Changed access permission for nomcom-chair only pages to also permit nomcom advisor access (this lets the previous nomcom chair explain and assist as needed). Also tweaked some text strings in the email feedback pipe script. * Added a WSGI connector for the datatracker, to let us run under mod_wsgi. * Modified the code which accumulates ipr disclosures associated with a document, shown as an IPR count in search results. The previous code had two deficiencies: it could count some IPR disclosures twice, and it also included withdrawn and pending disclosures. The current count matches the IPR search results better. * Moved the nomcom private key storage out of the source tree, which is a silly place to put it. * Added a dev-specific robots.txt, which blocks all robots. * Merged in the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149. * Added the ability to search for documents from a certain stream to the main document search form. * Added overview pages for non-ietf-stream documents (ise, iab, irtf), and links to them form the sidebar. * Removed the old ad documents page and its view function, and put in a redirect from the temporary /ad2/ url to the /ad/ url. Also replaced the two AD document links in the lefthand menubar with one pointing to the new view (under the old URL). -- Henrik Levkowetz 19 Sep 2013 21:31:42 +0200 ietfdb (4.71) ietf; urgency=medium * Merged in personal/rjs/r6117-pubreq@6119: - Made Publication Request (for documents from IETF working groups) an explicit action rather than a side-effect. - Simplified the working group state edit form. - Added hints to the WG state edit form to use the document's main page to request publication. - If a document is moved into IESG processing directly by the secretariat or an AD (old processing path), set working group state accordingly. * Merged in branch/iola/shimfree@6083. This cleans up and moves relevant code from idrfc/ to doc/. There should now only be a bit of old wrapper code left in idrfc; that will go away when the remaining models which use it are cleaned up. * Fixed the manage.py command so it adds our own import path to the Python path automatically; people won't have to explicitly add pythonpath any more:: $ PYTHONPATH=$PWD ietf/manage.py ... * Applied a patch from rjsparks@nostrum.com to fix a line colouring bug in IPR lists. * Fixed a regression: wrong URL to IESG state diagram in state help. Fixes issue #1119. * Merged personal/rjs/v4.70@6042: - Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete. - Brought search results against WGs and document titles into consistency with results from searching for individual documents - Added the IPR count to the link on the documents main page (when not zero) - Built on Henrik's reimplementation of all_related\_\*, making the \*_related_\* functions return DocAlias? lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument? objects. - Added getting the DocAlias? with the same name to Document - Added getting related IPR disclosures (as described in the first bullet) to Document - Simplified ipr/related.py - Removed the use of DraftLikeDocAlias? and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias? and IprDocAlias? directly. - Removed dead code from ipr/search.py - Removed the special handling of WG 2000 from ipr/search.py This fixes bug #1071 * Fixed a regression in display of IESG state; added back substate information. Fixes issue #1117. * Added template rendering verification on dbtemplate form submission in order to catch errors in edited templates before they are committed. This should prevent server 500 errors when rendering dbtemplate pages. Fixes issue #1113. * Selectively removed the agenda and minutes warnings from the meeting materials page, for educational sessions where agenda and minutes aren't expected. Fixes issue #1115. * Changed the order of the files diffed in the draft diff links on the history page. Fixes issue #1114. * Added Auto-Submitted and Precedence header fields to outgoing email messages. * Fixed a possible KeyError bug for a missing form field 'by'. * Added code to expire last calls for statechg documents too (in addition to iesg drafts) with the expire-last-call script. Fixes issue #1092. * Added secretaries to those who are authorized to edit stream info for a document. * Added a penalty field to the ConstraintNames, for use in agenda scheduling. * Refactored group membership code, adding advisors and liaisons to the membership list. Needed for the nomcom code. * Fixed the broken WG document list template (regression caused by the shimfree merge). * Fixed the red-on-red error message style which came in with the nomcom code merge. * Fixed the nomcom email pipe command to read from stdin if no file given, and give better error messages. * Added migrations which should have been part of release 4.70. -- Henrik Levkowetz 09 Sep 2013 21:40:25 +0200 ietfdb (4.70) ietf; urgency=high This release provides a datatracker nomcom app, ported from the earlier standalone nomcom app written by henrik. It includes public nomcom pages which provides an interface for members of the community to propose and comment on nominees for the positions the nomcom is filling, and private nomcom pages for secure management and browsing of positions, nominees, and comments. -- Henrik Levkowetz 06 Aug 2013 12:15:56 +0200 ietfdb (4.61) ietf; urgency=medium This release provides the code from the IETF-87 code sprint, and also a number of fixes to things reported during the IETF, and some enhancements requested. Noticeable enhancements are that document search now permits you to search for all kind of documents, not only for drafts and RFCs (you can searc for charters, slides and whatnot); that Research Group chairs now have the ability to manage their documents in the tracker; and that the tracker now has the ability to generate WG and draft email aliases, which permits us to plan a transition of the email aliases to the main ietf mail server. There are however many other much requested fixes and enhancements :-) From markus.stenberg@iki.fi: * Added support and scripts for generation of wg- and draft-aliases. Fixes issue #713. From adam@nostrum.com: * Added the capability to search for all kinds of documents in the main datatracker search page. Fixes bug #838. * Added tooltip capability to document tabs, and tooltips for disabled IESG Evaluation/Review tab. Fixes bug #448. * Added a document link to the emails sent on discuss/comment changes. Fixes bug #916 From rjsparks@nostrum.com: * Added related documents to the set of documents checked for IPR declarations when building last call text. Partially addresses #1071. From suresh.krishnan@ericsson.com: * When working group chairs added an annotation to a document, the date on the history entry was wrong. It has now been fixed. Fixes issue #1046. * Fixed the last call processing code to identify the new placeholder writeup. Fixes issue #884. Other fixes: * Added group secretaries to those authorise to edit group document meta-information. * Added RG chairs and secretaries to those authorized to edit group document meta-information. * Added a landing page for missing associations between login and Person record. * Tweaked the charter-and-milestones presentation in order to not blow up on bad character encodings in charter file. * Added back the 'Request Publication' action (regression loss) on draft pages for the non-ietf streams. * Fixed a bug in rendering the AD/Shepherd column in document list pages, when no AD is associated with a document. Fixes issue #1079. * Modified the doc stream-change edit form to reset doc.group to None on stream changes. Fixes issue #1078. * Fixed double plural 's' caused by the use of 'pluralize' in the template *and* plural forms for the group headers returned by fill_in_search_attributes(). Fixes issue #1077. * Fixed the incorrect blankline placemnt in the refactored template for id-index and id-abstracts, when generating abstracts. Fixes issue #1076. * Added convenience methods to the Document class to recursively retrieve all forward / reverse relationship of a kind or set of kinds. * Fixed the handling of help pages for doc states. * Added a direct link to the cookie options in use by the datatracker to the lefthand menubar. Fixes issue #1075. * Fixed a regression: restore diff pane in history page for RFCs. * Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting. * Changed the mimetype detection code to only read first 4k block of file, not the whole file. * Made the code which uses the 'magic' module to determine file type and encoding work with both the old and new interface to python-magic. * Added a guard to prevent duplicate RFC-Editor notifications for approved documents, and added logging to the notification routine. -- Henrik Levkowetz 01 Aug 2013 18:26:21 +0200 ietfdb (4.60) ietf; urgency=high This release provides new shimfree code in /doc/ which replaces code mainly from /idrfc/ and /idindex/. It comprises the first two code drops from the shimfree project. There are also some additional functionality, as detailed below. * Added an index page at /help/state, listing the document states that have help information. * On request form the secretariat, added a note to the new I-D announcement messages about there being a couple of minutes delay between submission and the appearance of htmlized document and diff on the tools servers. * Merged in two huge chunks of shim-layer removals from olau@iola.dk, comprising: - Deleted dead code in many places. - Renamed id-something to draft-something, make the "is this eligible for expiration" logic clearer - Added a name for IPR search URL - Revamped the ballot popup view - URL reversed the IPR search link instead of hardcoding it - Cleaned up search views and remove dead code, port them to the new DB schema, hack related views in iesg/ and wginfo/ to use the new search interfaces, avoid camelCase in search GET parameters (with backwards-compat fallback), add some simple search unit tests, remove caching from views_search.py index pages as they're now pretty fast to generate, rewrite ballot popup JS, regularize some CSS classes to use hyphen-notation rather than camelCase, move some of the search templates to doc/. idrfc/ now mostly contains some wrapper code still in use by other subdirs, some ported code not yet moved, and dead code. - Fixed output bug in test crawler and print referrer upon errors so it's easier to figure out where a link came from - Added /doc/in-last-call/ to crawler, report original page as referrer in a redirect chain rather than intermediate URL - Ported idindex to new schema, speed them up, add tests, refactor index page in views_search to share code with the text index file, get rid of some special-case idindex filters from ietf_filters, move "/drafts/" redirects to a file in /doc/ - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of drafts in IESG process to new schema in /doc/iesg/ and /doc/iesg/last-call/ - Added redirects for all of /idtracker/\*, removed all view code and other dead code from idtracker/ - Removed the idtracker sitemap indexing drafts - in its current form, it adds nothing of value to the HTML-based /doc/all/ view, and it's pretty slow - Ported idtracker feeds to new schema, move them to doc/, cleaned up idtracker/ - only templatetags/ietf_filters and proxy code is left - Removed .related many to many relationship, it's not really useful since we always have to restrict on the relationship type anyway, instead add two helpers for doing the necessary queries (in both directions) - Added migration for transforming the .desc on the new_revision events into something more akin to what is actually shown in the history page - Added migration for blanking IESG notes that just consist of "RFC XXXX", these have been superfluous for some time - Grant stream chairs access to changing the stream on a draft - Hacked the format_history_text filter to be less weird, using the same formatting for snippets and full text, also link up legacy ballot set events - Moved the decoraters + utilities to new ietfauth/utils.py file - Added simple helper to Email to identify invalid email addresses (from legacy author entries) - Used new new_revision .desc format for when drafts are submitted - Improved the looks of the button class by adding extra contrast and a linear gradient. Currently the gradient is only visible in fairly recent browsers. - Rewrote draft and RFC tabs in terms of the new schema, porting write-up and history tabs as well - Fixed two bugs in RFC Editor syncing: make sure documents we don't know beforehand get a "draft" type and make sure individually submitted drafts get the type="individ" group instead of NULL - Made the CSS-styled button feel a bit nicer to use by flattening the active state, also introduce some temporary styles until browsers catch up with the standard syntax - Added migrations for fixing 1) a dummy RFC entry, 2) three stand-alone RFCs that didn't get their doc.type set, 3) a big bunch of historic stand-alone RFCs that have doc.group=None - set these to the individual submission "none" group for the time being so the view code doesn't have to deal with a special case. In some cases this is wrong since there actually was a WG associated but unfortunately fixing them properly requires detective work (probably parsing the RFCs) and in at least some cases recreating historic WGs. In case someone ends up doing this, the documents to check can still be found with Document.objects.filter(name__startswith="rfc", group__type="individ") since there are almost no new RFCs that didn't went through the I-D process. - Merged the I-D and RFC views by showing I-D information on RFCs too. I-Ds that have been published as RFCs redirect to the RFC URL. Also support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX. - Fixed revision augmentation so events after RFC publication gets a "RFC" designation - Fixed a bug with tabs not using provided name but rather doc.name - Displaying draft-iesg state rather than doc.friendly_state as IESG state, also show a notice that the IESG state refers to post-RFC processing if it does, like the old separate RFC page did - Fixed the RFC number doc.note migration to catch combined "RFC XXX; BCP XXX" notes too, use the opportunity to remove inserted HTML tags from notes and rely on linebreaksbr filter instead (the other thing was a left-over from the Perl days), update the various uses of the note to reflect that - Refactored slightly to make views_doc.py independent of other idrfc code - Moveed idrfc/views_doc.py to doc/ with associated templates, replace the somewhat fragile simple URL tests for views_doc.py with ordinary unit tests. The new tests are still fairly basic but at least test more than the URL tests did. - Made sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of RFC0123 in the alias table with a new migration and a change to the RFC Editor sync, this in turn makes /doc/std1/ do the right thing - Now /doc/std1/ works, we can actually do a local link in urlize_ietf_docs rather than linking to the tools.ietf.org server - Fixed history text formatter: sanitize HTML before adding linebreaks and non-breaking spaces, this cuts the time to render a history page with long comments in half - Added a test crawler that walks through the crawlable part of the site, reporting errors and slow pages - Got rid of initial "No record" positions when showing old positions, it's just noise - Added a .select_related() to the document main tab to reduce the number of DB queries, unfortunately it seems it doesn't really help with Django 1.2.x due to a bug (Document inherits from DocumentInfo which makes things a bit more complicated) - Introduced a simple cache in doc.get_state so repeated reads don't cause a DB query - Cleaned up the search code in preparation for removal of the shim-layer; use a static button and don't send extraneous GET parameters -- Henrik Levkowetz 23 Jul 2013 18:32:52 +0200 ietfdb (4.53) ietf; urgency=low This release provides improvements in the test suite, which nows runs cleanly with test database rollbacks (using InnoDB) in less than half he time it takes to run with a MyISAM test database without rollback support. Most of the time is now spent on the page load tests, not on fixture re-loading. -- Henrik Levkowetz 15 Jul 2013 09:32:18 +0200 ietfdb (4.52) ietf; urgency=medium This is a minor bugfix release, in preparation for the next major merge. * Fixed problem with caching of utc agenda -- use a separate cache name for this. * Permit unicode milestone text (using unicode() instead of str() in comparison when looking for milestone changes). Fixes issue #1065. * Added a list of releases below the release notes at /releases/* * From RjS: Added a case in the render_ballot_icon() filter for statchg documents. * Removed duplicate '.errorlist' style. * Fixed missing name change when moving settings from rfceditor module to settings.py. * Merged [5613] from mcr@sandelman.ca: include a way to dump timedeltafields so that it is possible to save data to fixtures. From olau@iola.dk: * Skip IANA - Review Needed and Version Changed - Review Needed changes from IANA as it turns out that the Datatracker is the authoritative source on these states. Also improve logging so that the raw JSON from IANA is dumped, the parsed JSON on imported changes is dumped and we write to syslog before starting a sync script in the notification view. * Only add charter state change link when chartering, it doesn't make sense for an approved charter. Fixes #861. * Don't display group.comments on the charter document page. Apparently group.comments have been used by the Secretariat in the past for chartering comments, but it's not possible to edit the field and the whole thing doesn't make sense from a modelling perspective - a feature like this should probably use the note field on the charter. Fixes issue #1048. * Don't crash if an attachment has been created already, just reuse it - this case shouldn't actually happen, but apparently sometimes does, probably due to a concurrency issue * Add link to charter pages from the milestones editing page (besides the cancel button), fixes #1044. * Special-case proposed working groups with respect to milestones, they get the charter milestones on the WG charter page rather than the current set * Show approved milestones on /doc/charter-xyz/ page if the charter is approved instead of only showing proposed milestones for proposed charters -- Henrik Levkowetz 14 Jul 2013 16:05:36 +0200 ietfdb (4.51) ietf; urgency=low This is a minor bugfix release, in preparation for the next major merge. Fixes: * Use argument 'draft' for document instead of 'approved_draft_name' when sending sync notifications to the RFC-Editor. * Moved settings for RFC-Editor sync to settings.py. * Don't actually do a post to the rfc-editor's state sync interface for a publication request when not in production mode. * Merged [5770] from rjsparks@nostrum.com: - Added editing last call messages, requesting, issuing and tracking IETF LCs to status-change documents - Added a Cancel button to the form that allows editing the relations for status-change documents - Added instructions to the agenda section 3.3 This adds states to status-change- documents and has a migration that must be applied. Fixes bug #1039 -- Henrik Levkowetz 09 Jun 2013 22:03:29 +0200 ietfdb (4.50) ietf; urgency=medium This is a major feature release, which introduces datatracker support for milestone management. WG Chairs will, if they are logged in, see an 'Add or edit milestones' button on the WG's Charter page in the datatracker, just below the charter text, and Area Directors and Secretariat staff will see a new link 'Milestones' in the left-hand menu-bar, leading to a page which lists Milestones Needing Review. -- Henrik Levkowetz 16 May 2013 00:34:16 +0200 ietfdb (4.45) ietf; urgency=medium This release contains bugfixes and some minor features. * Added IAB Chair permission for some IESG agenda links. * Added alternative names for 2 iana states which seems to have changed name since the code was originally deployed. Also added a guard against sending state change emails when the iana state hasn't actually changed. * Don't use non-ascii names in the email lists (at least for now), as the the code doesn't generate proper email header IDN encoding for non-ascii addresses. * Added the secretariat to the recipient list for publication request emails generated by the datatracker. Fixes issue #964. * Fixed a problem with checking shepherd writeup editing permissions for logged-in users with no associated person object. * Reverted a change from [5602], reinstating the explicit To: field for last-call announcements, because removing it caused the copies of the announcements destined for email lists to be held by Mailman for moderation because of implicit destination. Relates to issue #811. * Changed additional places to use IANA sync settings from settings.py * Merged [5645],[5646] and [5647] from olau@iola.dk: - Added support for notifying the RFC Editor upon draft approval - Added action to post to RFC Editor on non-IESG publication requests too - Fixed a bug that the CC on the announcement copy sent to IANA wasn't cleared causing people on the CC to get duplicate emails * Refined the INSTALL instructions for secretariat releases. * Added instructions on updating the release version and date for patch releases. * Added RjS to the ADMINS setting, so he will receive exception emails. -- Henrik Levkowetz 14 May 2013 21:50:09 +0200 ietfdb (4.44) ietf; urgency=medium This is a combined bugfix and feature release. It provides improvements to last-call messages, the display of document shepherd information, the content of AD pages, IESG ballot information, and various forms; and it fixes a number of bugs. From rjsparks@nostrum.com: * Merged [5600] and [5602]: Changed the header to last call messages to IETF Announce and to IANA to make replying to the announcement less likely to create an unnecessary ticket. * Merged [5569] and [5572]: Small fixes in 4.43 and showing the shepherd (when there is one) on search results, documents for this ad, and wg document lists. Fixes bug #972. * Merged [5570]: Moves the interface to edit shepherds and sheperd writeups out of the wgtracker interface and into the doc views (via idrfc). Added a little to the simple authorization code (can_edit) in idrfc. Added a way to reset the writeup to the current templates (leaving extension points to take templates for non-ietf stream documents). Fixes bug #967. (This also fixes tickets #834 and #691 (which were effectively duplicates of #967) * Merged [5595]: Tweaked the grouping code to not break documents of the same type up * Merged [5476]: - Added a document type for changing the publication status of other documents, and the UI for manipulating them. - Added charters, conflict reviews, and status changes to the AD's \'My Documents\' page - Improved the presentation of all document types on the Agenda, Future Telechats, Scribe and Moderator package pages - Made the reverse name for document relationships explicit rather than deriving them from forward names - Added a way to get to the underlying Document (when it exists) from an RfcWrapper - Unified several common forms used by different document types From henrik@levkowetz.com: * Changed which email addresses the submission tool uses for confirmation emails and sending out full submission status URLs from the emails found in the submitted document (which could be empty, broken, or intentionally different than the original authors) to the author emails from the previous version, where a previous version exists. This fixes breakage which can occur when no valid email addresses can be found in a broken submission, and also ensures that at least one of the authors of a previous version signs off on a new version, preventing submission hijacking. * Added a section to the meeting materials page for IAB sessions. Added a link bar at the top to make it easier to find sections like Training and IAB. * Don't list documents replaced by other documents in the IESG Status list at /idtracker/status/. * Fixed a bug which would set the state in the event accompanying a WG activation to 'Proposed', which messes up various views. * Add new tag 'rev-wg' to the list of valid annotation tags for the ietf stream. Note: This list and those on nearby lines needs to be refactored into a table, instead of sitting in the code. * Added instructions on how to patch the production code (if necessary) to the INSTALL description. * Fixed rounding issue in IESG positions neded calculation. Fixes issue #974. * Made agenda views with timezone information work also for earlier meetings (those without timezone data available). -- Henrik Levkowetz 16 Apr 2013 00:49:24 +0200 ietfdb (4.43) ietf; urgency=high From Jim Schaad : * Working Group document page now allows for addition of documents to community lists. * Added new rules to the atom tracker for picking up documents in specific states * Added new rules to the atom tracker for picking up RFCs * Changed the header fields on the RFC table so that they reflect RFC descriptions rather than I-D descriptions. * Increased the set of information being returned on the atom viewer to reflect IETF specific information. From housley@vigilsec.com: * Send email to statements@ietf.org when a pending liaison statement gets queued. From jmh@joelhalpern.com: * Fixed the moderator package Conflict review text. * Added the document notification list to the destination email addresses when the document leaves IETF LC. * Repaired the ballot requirements string * Removed the \'Set all to not on agenda\' button, as it is never used. From adam@nostrum.com: * Fixed formatting for history page. Relates to issue #210. * Added links to the session request page * Two changes: (1) searches by substring rather than \'begins with\' (to allow, e.g., searching by last name); and (2) limits results to 10 entries (to limit server load and limit effectiveness of email-scraping attacks) * Fixed agenda oscillation problem (removed scrollbars from iframe) From cabo@tzi.org: * Added javascript functionality to make the UTC agenda convert it's UTC times to Browser local time. From rcross@amsl.com: * Ticket #673: Add the ability for the secretariat to clear a ballot to the tracker From suresh.krishnan@ericsson.com: * Checking for loss of comments when AD enters comments without changing state. Also modified the base css to have an unified errorlist format. From henrik@levkowetz.com * Some additional tweaks to the INSTALL text. * Added a note on secretariat releases. Reformatted to resolve rst markup mistakes -- '$ rst2pdf INSTALL' now works. * Ask people to use their account profile management form to add email addresses, instead of creating new accounts, on the create-account form. * Tweaked mergedevbranch to make the sprint merge/test cycle a little bit easier. * Tweaked the code from [5518] to handle the case where a document doesn't have any state set yet. * Changed the community tool email notification code to not try to send to nobody, and to use individual To: addressing rather bulk Bcc: addressing. -- Henrik Levkowetz 13 Mar 2013 19:26:54 +0100 ietfdb (4.42) ietf; urgency=high This release brings only minor new functionality to the datatracker (timezone indications on the html agenda, and an UTC version of the html agenda), but it's important because it includes the secretariat tools as part of the datatracker release and source repository, and makes the test suite also run secretariat app tests. Details: * Provides the html agenda for IETF meetings with local timezone indications, and adds a new html agenda with UTC timezone indications. * Merged in branch/amsl/trunkmerge@5449 from rcross@amsl.com, with some tweaks. This provides the secretariat apps. * In order that document states (which may be used by old documents) should not need to be removed when state machines change and states go out of use, all document states have a 'used' field. The code which accesses the state fields have not been requiring that used=True for the states returned, which is an error. Fixed this by adding 'used=True' to all State.objects.get() and State.objects.filter() call where it's relevant. * Applied patch from olau@iola.dk for some email problems, see issues #949 and #877. * With RFC6410, there are only two RFC maturity levels, 'Proposed Standard' and 'Internet Standard'. Added a mapping between 'Internet Standard' and slug 'std', to be able to process newer RFC info from the RFC Editor. -- Henrik Levkowetz 06 Mar 2013 20:37:14 +0100 ietfdb (4.41) ietf; urgency=low This release is a minor release, with bugfixes and some enhancements to the community draft-tracking feeds. For detailed commit messages, please see: http://wiki.tools.ietf.org/tools/ietfdb/log/trunk * Added a set of help pages for document states, and dded links from the new IANA states to help pages describing the different states. * From rjsparks@nostrum.com: Fixed a bug in the state change logging which caused the wrong document state log entries in some cases. * Merged [5426] from ietf@augustcellars.com: Make sure that the same rule cannot be entered twice in a community list. * Merged [5425] from ietf@augustcellars.com: Modify atom change feed so that 1. It returns the last 14 days of changes rather than the last 20 2. Change the atom template so that it has correct time offsets rather than saying that PST and UTC are the same 3. Change the atom template so that it uses content rather than summary and return HTML content with line breaks as needed. * Merged [5424] from ietf@augustcellars.com: Close the image tag. An empty image tag displays on IE although it does not display on Firefox. * Added variations on the recognized date formats during submitted draft parsing, such that comma need not be followed by whitespace in the formats using comma as a separator between some of the fields. Added extraction of drafts referenced by a document, in addition to RFCs referenced. * Modified the set of permissible parents for session groups, in order to permit an IAB-sponsored BoF to appear on the agenda. -- Henrik Levkowetz 27 Feb 2013 23:24:53 +0100 ietfdb (4.40) ietf; urgency=high This release is a major feature release, which provides the means to do state synchronization to and from the RFC-Editor and IANA, so that relevant state changes to drafts and RFCs at any of the 3 organizations can be picked up and reflected automatically in the tracking system used by the others. This release is the last piece of a multi-year effort to make the tracker provide seamless tracking of state information from the very first beginnngs of a document (which is provided through the community tracker part of the IETD datatracker, which lets anyone in the community set up tracking notifications for their specific set of documents) all the way through the working group process, IESG processing, to the final IANA and REF-Editor processing and publication. There isn't a lot of eye-candy associated with the current release, but as we get the RFC-Editor and IANA ends set up to use the notification interfaces provided in this release, the state shown in the datatracker should faithfully and timely reflect the state changes in the RFC-Editor and IANA parts of the process. For detailed commit messages, please see: http://wiki.tools.ietf.org/tools/ietfdb/log/branch/iola/statesync -- Henrik Levkowetz 20 Jan 2013 16:38:22 +0100 ietfdb (4.37) ietf; urgency=low This is a minor bug-fix release of the datatracker. It fixes issues with presentation of IESG discusses and comments, anchor names in the materials list page, details of the 1wg-summary.txt page, and some other minor issues. * Merged in a patch from housley@vigilsec.com to handle different documents better in the agenda JSON output. * Added simple logging of test runs, to make it easier to be sure that tests has been run successfully on the latest code. * Added a new field, #16: draft AD (name and email) to all_id2.txt * Made the IPR country field wider to accomodate IPR disclosures referencing many patent instances in many countries. * Updated draft submission author extraction module to handle dash-separated double given names. * Tweaks and fixes to the IESG scribe template templates. * Added a filter for use in displaying document comments and discusses which unfortunately sometimes use html
markup, which should give line breaks, and sometimes contain which should *not* be interpreted as html, but rendered as <... * Limited the 1wg-summary list and friends to WGs, (excluding the 'iesg' area which lists the areas as subgroups, for instance). * Resolved a naming conflict between the builtin messages framework and a variable named messages in wgcharter.views.change_state. Fixes issue #901. * Tweaked the handling of the syslog module not being available on windows. * Fixed what may have been a regression in the form of the anchors in the materials list page. -- Henrik Levkowetz 16 Dec 2012 19:30:30 +0100 ietfdb (4.36) ietf; urgency=medium This release contains the features and bugfixes from the IETF-85 code sprint, providing improved WG chair document handling, improved document and agenda display. The code in this release has been contributed by Robert Sparks, Joel Halpern, Ryan Cross, Adam Roach, and Henrik Levkowetz. From rjsparks@nostrum.com: * Enabled diff on the conflict review history tab. Fixes bug #882 * Made it more obvious when an intended status or shepherding AD is not set Removed an unused template Show reset approval text immediately. Fixes bug #900 From jmh@joelhalpern.com: * Moved the Replaced By: line in docent headers up to main header with Replaces: * Added a link to the Shepherd update page to get back to the document manipulatin page. * Made comments optional on WG adoption and WG state changes. * Corrected the test of final shepherd update flag. From rcross@amsl.com: * Changed CONFLICT_REVIEW_PATH from conflict_reviews to conflict-reviews From adam@nostrum.com: * Fixed '%2C' bug introducted (exposed?) by Apple's iCloud handling of URLs * Fixed time column wrapping problem that exhibits in (at least) Safari. From henrik@levkowetz.com: * Tweaked the changelog presentation to work irrespective of current directory, and give a sensible 404 if the changelog can't be found. * Tweaked the html agenda a little bit by adding a day indication for each timeslot, to make it easier to see which day you're actually seeing when the day separator is outside the window. -- Henrik Levkowetz 07 Nov 2012 20:41:36 +0100 ietfdb (4.35) ietf; urgency=medium This release provides a long list of fixes and minor enhancements, covering more than 50 different items found through feedback from users. Major contributors were Robert Sparks, Adam Roach, and Henrik. The changelog will be available at http://datatracker.ietf.org/release/4.35 after deployment. The commit log is at http://trac.tools.ietf.org/tools/ietfdb/log/trunk Details: * Added an 'email sent' success message after sending out a WG review announcement. Todo: Add equivalent messages in all other situations where email is sent out, for consistency. * Added various things which lets us use Django's messages framework to give feedback to users. This includes adding the messages middleware in settings.py, adding a message display are at the top of the page base template, and adding style setting for message display. * Tweaked test/mergedevbranch in a number of places in order to simplify handling (merging and testing) of multiple merges. * Merged [4909] from rjsparks@nostrum.com: Reimplemented clear_ballot to close the existing ballot and create a new one. Changed the all_positions code to only return synthetic no-positions for current ADs when a ballot is actually open * Merged [4904] from adam@nostrum.com: Fixing conflict list; adding AD column. * Merged [4885] from rjsparks@nostrum.com: Refactored close_open_ballots, creating a way to close one abllot at a time. rewrote the clear ballot code to close each open ballot and open a new one * Modified the format of the changelog to confirm fully to the debian changelog format. * Added a simple page to show release information parsed from a release's changelog file. * Improved the handling of iCalendar timezone information -- instead of simplified VTIMEZONE information generated from a template, the VTIMEZONE information for a meeting's timezone is read from file (where it presumably has been generated from the Olson timezone database, for instance using vzic. * Added an utility script to extract information about the outgoing confirmation request email related to a draft submission. * Added a management command to generate bibxml files for drafts. It's not fully cooked yet, as it needs to differentiate between documents which are currently drafts, and those that have been published as RFCs, but the basics are there. * Add an name utility function to return a name's initials. Handle names with an uppercase surname to the left of the given name correctly. * Added support for reverse-order (i.e., Japanese, Chinese, and other) names with uppercase family name in the draft submission author extraction. * Added an 'agenda_note' field to meeting.models.Meeting, and added display of content (if any) in html and txt agendas. * Fixed a misleading error message given when disallowed character occurs in a draft filename. * Merged [4879] from rjsparks@nostrum.com: Changed 'protocol writeup' to 'shepherd writeup' in several templates. Fixes bug #885 * Merged [4873] from rjsparks@nostrum.com: Includes the conflict-review document contents in the email sent with the results of the conflict review. Fixes bug #883 * Merged [4866] from rjsparks@nostrum.com: Show link to pending liaison statements to approve to the secretariat. This fixes bug #878 * Merged [4836] from housley@vigilsec.com: Add stream to conflict-review documents in the agenda.json object for the IESG telechat agenda * Merged [4825] from rjsparks@nostrum.com: Updated tests to deal with the mandatory state field * Merged [4811] from rjsparks@nostrum.com: Cleaned up setting wg state, leaving events, and facilitated creating an initial charter for an existing unchartered group * Merged [4806] from rjsparks@nostrum.com: Better handling for BoFs, particularly those that won't create WGs * Updated wginfo/tests.py to work with the merged wginfo/edit.py which requires the wg state to be set. * Fixed a problem with the spiffy ajax handling of email fields when test cases submit a textual list of email addresses instead of a python list. * Use decorator.decorator consistenly in debug wrappers. * Updated version of debug.py, which adds timing and profiling support functions. * Added Michele Simionato's decorator module, for use in debug.py * Merged [4805] from rjsparks@nostrum.com: When abandoning a chartering effort, only revert to approved charters if there's a chance one is there. Fixes bug #868 * Merged [4805] from rjsparks@nostrum.com: When abandoning a chartering effort, only revert to approved charters if there's a chance one is there. Fixes bug #868 * Removed debug statements * Added the creation of a WG state change event for WG state changes. * Tweak the GroupHistoryAdmin list_display. * Fixed missing import of Role. * Added a docstring note about the convention for when save_*_in_history() shoudl be called. * Merged [4842] from rjsparks@nostrum.com: Warn when putting a charter in an unusual state onto a telechat agenda * Merged [4841] from rjsparks@nostrum.com: Allows the IESG Note field to be edited even when empty. * Merged [4840] from rjsparks@nostrum.com: Added more information about RFC5742 conflict review documents to the /agenda, moderator, and scribe pages. Fixes bug #874 * Merged [4858] from rcross@amsl.com: The IPR notification email was still referring to the old CGI admin script; fixed. * Merged [4835] from rjsparks@nostrum.com: Improve the robustness of get_wg_section * Merged [4833] from rjsparks@nostrum.com: Send email to IANA and the IESG when entering IESG evaluation of an RFC5742 conflict review * Added a script to create NewRevisionDocEvent entries for charter files. * Fixed an instance of old use of first_name, last_name in submission tool code. * Fix up scribe template to suite John, undoing a number of fixes from the sprint. * Add shepherd field to all_id2.txt * Reverted a number of changes to the scribe template which made life more difficult for the scribe. * Fixed a problem with blocking comments on charter documents pointed out by rjsparks@nostrum.com. * Fixed another typo. * Show ballot positions also for documents without an active ballot. * Fix typo in import. * Fixed a password reset url which didn't work due to a wrong keyword name in the urlpattern. * Don't try to add a ballot's AD email addresses to a new version notification email if there's no ballot. Also did some linguistic fixes, and got rid of a wildcard import. * Make the mergedevbranch script more flexible in accepting different partial repository paths on the command line. * Make .ballot_open() available on DocumentInfo instead of on Document, too. * Fixed a crash for the case where we're looking at a historic charter page and there's no active ballot for the histoic charter. * Make .active_ballot() available on DocumentInfo instead of on Document, to make charter history snapshots work. * Merged [4773] from olau@iola.dk: Encode uploaded charter text with UTF-8 to avoid crashing on Unicode content -- Henrik Levkowetz 30 Oct 2012 15:19:09 +0100 ietfdb (4.34) ietf; urgency=medium * Merged in [4772] from rjsparks@nostrum.com, a big chunk which in itself combines a number of separate fixes: Liasion Manager: * Patch from Yaco to avoid resetting the From field when changing other items on the form * Gave the secretariat the ability to find/approve any unapproved liaisons * Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept) Charter documents and the Agenda pages: * Added charter documents to iesg/agenda and iesg/agenda/documents * Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents * Allow setting a responsible AD for charter documents * Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews) Moderator package: * Refactor: Simplified access to the current BallotDocEvent from a Document * Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions. * Updated the moderator package to use the Documents from _agenda_data. * Added a filter to assist with rendering the moderator package. * Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function). Cleanup from codesprint: * Removed some duplication between doc/util and doc/models by moving things into doc/models * Do not show non-empty discuss text when the ballot position is not blocking * Added a migration to update non-blocking ballot positions that have non-empty discuss text DEPLOYMENT NOTES Please be aware that migration step will take a few minutes to complete. Fixes issue #865 * Tweaked the author extraction code to handle company names in the author list on the first page, when the company names contain a comma, such as for instance 'Foo Bar, Inc'. * Added support for get_file_path() for conflrev documents based on branch /personal/rcross/v4.32@4722, but tweaked to return only the directory, not the full directory+name+ext path, in order to behave the same way as for other document types. * Merged in [4746] from adam@nostrum.com: Adding slides to agenda page * Merged in [4738] from adam@nostrum.com: Added a link to the cookie page, at Robert's request * Merged in [4737] from adam@nostrum.com: Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page. * Applied fix from rjsparks@nostrum.com: Remove old document filtering which is now to strict, letting conflict review documents show in the iesg agenda. * Applied fix from adam@nostrum.com: Display meeting materials with correct ordering. * Removed the ValueError exceptions introduced in the previous revision of the draft author extraction code. Fixes issue #858. * Fixed problem with diff links which erroneously included a template variable interpolation. * Fixed problem with displaying ISE stream documents. * Fixed the update password request form to *not* give an error for existing accounts ,:-) * Fixed some parameter names in the ietfauth urlconf which had reverted to an old form in a recent merge. * Used the .plain_name Person attribute in the agenda documents form instead of the full .name attribute. * The call to liaison_manager_sdos() in set_organization_field was missing a Person parameter -- added it. -- Henrik Levkowetz 22 Aug 2012 14:57:33 +0200 ietfdb (4.33) ietf; urgency=medium This is the IETF-84 codesprint release: * Changeset [4724] from rbarnes@bbn.com: Adjusted the scribe template to make it XHTML compliant and fix what Robert broke * Changeset [4721] from adam@nostrum.com: Adding an 'href' method to documents. It doesn't work for documents of type 'liai-att' or 'liaison', but it's a good start. * Changeset [4709] from housley@vigilsec.com: Ability to fetch the IESG Telechat Agenda as a JSON object (agenda.json). * Changesets [4720], [4706], and [4705] from adam@nostrum.com: Adding self-management page for user profile information * Changeset [4704] from suresh.krishnan@ericsson.com: - When the state changes from whatever to Publication Requested, the regular state change mail will go out. - The regular state change mail will be sent to the authors and the wg chairs (this is the current behavior). - Now, in addition to this regular state change mail, another mail will be sent with the title 'Publication has been requested for draft ' and this mail will be sent to the AD responsible for the WG. I considered sending the mail to both the ADs but decided not to bother the other AD :-). * Changeset [4701] from rjsparks@nostrum.com: Moved the prefix for the URI to use for rfcdiff into settings.py. Fixes bug #808 -- Henrik Levkowetz 30 Jul 2012 23:54:19 +0200 ietfdb (4.32) ietf; urgency=medium This is a feature release that provides support for a new document type, Conflict Review documents (conflrev-\*.txt). From rjsparks@nostrum.com: * Adds a new document type for conflict reviews, with a ballot for the IESG 5742 response to a review request * Integrated the new document type into the iESG agenda views (including RSS feeds) * Removed the Edit and Add buttons from the document main view. * Replaced Add with actions appropriate for the document type, such as "Begin IESG Processing" or "Begin IETF Conflict Review", and made most data directly editable on the document's main page, depending on access permissions. * Removed a manual editing step that the secretariat had to perform when sending conflict review messages. The view now composes the message correctly given the stream. * Added a pencil icon motif to differentiate fields that are editable. * Generalized several views and helper functions to use Document instead of (e.g.) IdWrapper * Generalized reading documents from the repository * Added a way to get from IdWrapper to the underlying Document to facilitate migrating way from the Wrapper classes * Added many helpers to Document to assist with migrating off IdWrapper * Minor fixes and other changes - Fixes to document main view to avoid (silent) template failures. - Began removing some of the code that is no longer reachable post-migration - Corrected the behavior of the undefer code and added test cases for it - Improved initial population of notification lists and added the ability to regenerate the initial list * Made the test code that scans for template coverage more robust. Deployment notes: * new setting: CONFLICT_REVIEW_PATH. The associated directory will need to be created -- Henrik Levkowetz 28 Jul 2012 18:29:34 +0200 ietfdb (4.31) ietf; urgency=medium This is primarily a bugfix-release, catching a lot of issues related to the most recent few releases. A few features have also been included, liste first: * Added support for IRTF liaisons. * Improved I-D submission author extraction code, adding support for extraction of affiliation, improved date format extraction, support for additional (unusual) name abbreviation patterns, and more. Bugfixes. Not all fixes are mentioned here; for a complete list please see the commitlog. * Fixed a language typo in the registration confirmation page. * Tweaked the community tracker notification email. * Changed and tweaked various I-D submission emails in order to 1) make it less likely that they would be classified as spam (better ratio of English text to hash urls) and 2) provide better consistency in formatting of key/value information. * From adam@nostrum.com: Fixed an URL in the agenda.csv file which hadn't been updated to match current naming conventions and code. * Added new RFC-Editor state tag 'AUTH48-DONE' to the rfc-ed-queue mirror script. * Tweaked the meeting materials list to avoid duplicate rows for WGs with more than one slot, as long as the materials list is the same (which is the only thing supported by other parts of the system at this time). * Applied ballot popup patch from olau@iola.dk. * Made links to other versions available also for expired documents. * Changed community I-D tracking rule update frequency to every hour. * Rewrote the view and template code for the meeting materials list, which was showing nothing. Better to do the rewrite for the new models than trying to dig into why the proxy models doesn't work any more. * Fixed id_abstracts to include drafts assigned directly to areas, not only individual and WG drafts. * Fixed 1wg-charters.txt (and friends) to not list the areas as if they were WGs. * Updated utils/draft.py and modified the submit app code accordingly. * Merged in [4604] from adam@nostrum.com, which fixes problems with the html agenda code related to the schema transition. * Ballot ids are limited to integers, rather than being descriptive as intended at one point. Adjusted the url regexes accordingly. Patch from olau@iola.dk. * Introduced a line break to clean up the state display for tracked drafts a bit. * Make the link to the search form more prominent in the community list explicitly added documents page. * Sorted WGs in the community rules drop-down list by acronym rather than WG name. * Provided a more comprehensive document state indication. May need further refinement. * Tweaked the community tracker links in the lefthand menubar to avoid line breaking for the WG documents link visible to WG chairs. * Enabled the check for existing account, disabled when we started using self-service http password reset, but hadn't started creating accounts yet. * Refactored the two confirm*() methods in ietfauth/views.py; they need the same processing, only the templates to use differ. * Fixed the back-link on personal list email subscription confirmation page -- it just lead to the confirmation page itself, now leads to read-only list view. * When logged in as secretariat, at /iesg/agenda/ or /iesg/agenda/documents/, and clicking on the position matrix for a document, the overlay window would give a code 500 error, because of a missing ballot id in the templates' url lookup. Fix this by providing the ballot id. -- Henrik Levkowetz 28 Jul 2012 01:51:26 +0200 ietfdb (4.30) ietf; urgency=medium This is a feature release which provides the community document tracking functionality defined in RFC 6293. * Merged community tracking branch from esanchez@yaco.es, r3175-3679,3713-3830. Some additional fixes and smaller upgrades have also been included, as follows: From esanchez@yaco.es: * Patch to add a new IETF liaison-sending entity "IESG and IAB". From olau@iola.dk: * Small patch to avoid constant 500 traceback when someone tries to push an invalid cookie. From henrik@levkowetz.com: * Fix a bug which made the community tracking code crash when search results would show an old RFC without an associated draft. * Tweak the menubar listing of community tracking to show when login is needed, some other text tweaks, and fitting the I-D tracking links under Drafts and RFCs where they seem to belon.g * Minor cleanup of test_runner.py. Added guards against settings which can make tests inexplicably fail. Updated check to avoid running tests on production server. * Remove old non-functional "management issues" link from IESG agenda section 6 title. * Add a way to reach charter urls given a wg name rather than the charter document name. * Add some help for chairs which fuss about not being able to clearly see that they need to be logged in in order to handle approvals. * Behave slightly more gracefully if a submission has already been moved into place, and we are asked to do it again. * Disable the reference-to/referenced-by rules of the community app; they will only produce hits after we populate the document relationship table with reference information. * Simplify "document by WG" display name code. * Correct typo in community draft tracking subscription confirmation email. * Changed the group link on the personal doc list page to use the group acronym instead of whole name, and made the acronym a link to the wg documents page. * Tweaked the display of explicitly added documents (saying "explicitly" rather than "manually", and including the active/expired/rfc state of the document. * When adding a rule for I-Ds, only apply the selection to active I-Ds, not those which are expired or published. * Changes to the rule specifications for document tracking lists: Simplify the filter rules, show acronym in wg and area selection lists, list only ADs of active areas. * Fixups to the merged code, to match the code refactoring done to trunk after the split off of the community development branch. * Removed the grep based searches in utils.py; they are too costly. If tracing lists based on word search is needed, another implementation must be found. * Other minor cleanup. -- Henrik Levkowetz 03 Jul 2012 17:01:08 +0200 ietfdb (4.21) ietf; urgency=medium This is a bugfix release for the charter release (4.20) with some extra changes which were pending: Updated via-rfc-editor handling, better /meeting/requests page, added WG document approval page. From olau@iola.dk: * Add approval/pre-approval page for Secretariat and WG Chairs, with subpages for adding and canceling pre-approvals and a set of migrations for replacing the old IdApprovedDetail with a slightly less confusing Preapproval model. * Add listing of recently approved drafts to approval page by request from Barry Leiba. * Replace get_profile() hack with a test on the user instead, this also makes the ballot icon more robust against users without profiles (which shouldn't happen, but apparently we sometimes get one which results in a crash rather than something more graceful) * Give the incoming name to the top renderer so the links are internally consistent, this is needed because we still have different views for /doc/rfcXXXX/ and /doc/draft-foo-bar/ * Fix regexp fix - [.-_] does not mean "dot or dash or underscore", it means all characters between dot and underscore * Include _ in allowed document name regexp, we currently have 7 drafts with _ in the database despite it not being valid - they can be found with: select name from doc_document where name like '%\_%' and type_id = "draft"; * Fix flow of approval of charters/announcement of the WG action based on feedback from Cindy Morgan, now there's a link on the approval page to go to the edit page which sends you back upon saving, and the edit page doesn't provide a button to send the announcement since you should do that on the approve page (instead it provides a link). * Include current milestones in charter action/review announcements, fixes issue #835. * Add CC for group mailing list in action/review emails, fixes issue #837. * Fix link to charter .txt file on agenda page * Apparently, CHARTER_TXT_URL http://www.ietf.org/charters/ is really http://www.ietf.org/charter/, fix this in the settings.py file * Replace get_profile() hack with a test on the user instead, this also makes the ballot icon more robust against users without profiles (which shouldn't happen, but apparently we sometimes get one which results in a crash rather than something more graceful) * Give the incoming name to the top renderer so the links are internally consistent, this is needed because we still have different views for /doc/rfcXXXX/ and /doc/draft-foo-bar/ * Fix regexp fix - [.-_] does not mean "dot or dash or underscore", it means all characters between dot and underscore * Include _ in allowed document name regexp, we currently have 7 drafts with _ in the database despite it not being valid - they can be found with: select name from doc_document where name like '%\_%' and type_id = "draft"; * Fix flow of approval of charters/announcement of the WG action based on feedback from Cindy Morgan, now there's a link on the approval page to go to the edit page which sends you back upon saving, and the edit page doesn't provide a button to send the announcement since you should do that on the approve page (instead it provides a link). * Include current milestones in charter action/review announcements, fixes issue #835. * Add CC for group mailing list in action/review emails, fixes issue #837. * Fix link to charter .txt file on agenda page From rjsparks@nostrum.com: * Expose how many pages each document contains on the docs on future telechats page. Fixes bug #828 * Replaced the concept of a tag (via-rfc) identifying ise or irtf document (previously the idinternal.via_rfc_editor boolean) with looking at the document's stream. Removed the stream editing form - that functionality is on the edit info form. Put the old-ADs back into the list of choices when editing a document's info. This (re) fixes bug #749 * Fixed a bug in determining if a document is on the agenda, leftover from transition to new schema. From adam@nostrum.com: * Fix to the requests data page: - uses native schema for much greater efficiency - Uses meeting ID properly, so it can find future meetings even if their ID does not match the meeting number - Dramatic improvements to layout From henrik@levkowetz.com: * Try to not use explicit .html extensions in the urls. Redirect from those to .html-less urls. * Added a new field 'short' to Session, to help produce file names for agendas, minutes and slides for groups with different named session, such as for instance 'edu'. Generating distinct filenames directly from the name field gives too long names. * Quick fix for extensionless get_absolute_url(). XXX Fixme: needs bigger refactoring. * Quick fix for crash when going to /wg/imapmove/charter/. I'm not happy about the 'charter-ietf-' constant which now appears several places in the code; we need settings which defines the correct name pattern for different document types (or a table or table column, maybe). But this hopefully will make it possible to continue processing proposed WGs ... * Added missing '{{' before 'submission.filename' in draft announcement email templates. * Other minor fixes -- Henrik Levkowetz 11 Jun 2012 18:40:14 +0200 ietfdb (4.20) ietf; urgency=medium This release introduces major new functionality for managing WG charters as documents. A large number of related and unrelated fixes has also been included, an almost complete list is available below, latest first: * Added a debug utility module on the same level as south,html5lib etc. * Don't try to call get_profile() on a user if the method isn't available. * Merged in fixes from Ole, from branch/charter:r4382-4407, and some changes from Henrik (removing the use of pos.blocked in views_ballot.py, and setting a ballot id in idrfc/testsREDESIGN.py) to make idrfc.EditPositionTestCase succeed. * Don't include interim meetings in those considered for the default meeting number for the '/meeting/' url. * Tweaked the error messages for acronym collisions in the create-wg form. * Added quotes around the WG name in the state change text, for better readability. * Applied a fix to missing nomcom chair in [4384] instead of [4385]. * Made arguments to url help_charter_states match the definition in ietf/idrfc/urls.py. * Fixed a bug in picking up blocking text (patch provided by olau@iola.dk). * Added a parameter to make the commitlog script useful for other branches than the current. * Catch exception which is raised if a nomcom NN group has been created, but no nomcom chair has been announced and added yet. Merged in [4364] from rjsparks@nostrum.com: * Expose how many pages each document contains on the docs on future telechats page. Fixes bug #828 Merged in fixes to the charter branch (r4345 - r4353 and r4354 - r4381) from olau@iola.dk.: * Check and sanitize text file upload (code is factored out in a new helper so it can be reused elsewhere in the future). * Move charter state help to /doc/help/state/charter/. * Say "generate" rather than "edit" when there's no text in the boxes * Don't show diff box if there's only 1 entry (and itself). * Say "Charter" rather than "Recharter" on the charter /doc/ page if the group is proposed or a BoF. * Treat BoF as proposed WG. * s/WG/group/ in acronym clash error message. * Add a star to the required fields. * Fix test broken by previous commit. * Fix buggy new group acronym check. * Amend previous commit to generate writeups on entering internal review instead. * Generate action and review text automatically. * Make phrasing sligtly more clear. * Make it move obvious what the change state view actually does by rephrasing the form. * Fix some phrasing bugs. * Fix terminology confusion and say "send ballot" rather than "issue ballot" to clear up that it is not actually created. * Fix wording of send ballot comment, the actual text was still specific to drafts. * Don't show edit button for snapshots. * Fix bug in hiding "external review needed" checkbox. * Create charters in state notrev instead of intrev, as a side effect this fixes a problem with comments not being saved when starting review on charter. * Use revision numbers to identify ballots and put a warning on closed ballots. * Fix bug in event description when copying over the final approved charter file. * Offer text from latest approved revision in case there's no initial text for a recharter submit form. * Reverse direction of revisions on charter /doc/ page to match tools.ietf.org/html/draft-\*. * Change max acronym length to 10 instead of 8 Additional fixes from Henrik: * Fixed the signature of DocEventAdmin method (needs explicit 'self' parameter) * Added various fixes and correction of merge errors. * Merged in fixes to the migration from olau@iola.dk. * Merged in the charter branch from olau@iola.dk. From Adam: * Added a fix for empty .ics files -- Henrik Levkowetz 11 Jun 2012 18:40:14 +0200 ietfdb (4.02) ietf; urgency=medium Merged [4288] from rjsparks@nostrum.com: * Made several changes to correctly use the new (RFC6410) "Internet Standard" level in email that gets sent at various stages in the handling of documents. Fixes bug 821. Merged branch/iola/migration-fixes@4319, containing these changesets from olau@iola.dk: * [4319]: Only query for regular IETF meetings when calculating cut off dates (reported by Ryan Cross). * [4311]: Fix bug in liaison form that prevents Secretariat users from posting statements on behalf of SDO liaison managers in some cases. * [4310]: Fix problem with direct replyto path in liaison form not using role emails (reported by Stephanie McCammon). * [4307]: Fix missing return in liaison proxy, fixes problem with from email on https://datatracker.ietf.org/liaison/1154/ as reported by Stephanie McCammon. * [4260]: Move note about IANA scraping messages, apparently I managed to put it in the wrong place (they're of course scraping draft approvals, not the ballot announcements). * [4253]: Move last call announcement text to last call event rather than stuffing it inside the state change event. * [4252]: Declare coding system to work around annoying problem when the date produced by SVN is localized. -- Henrik Levkowetz 26 Apr 2012 22:27:36 +0200 ietfdb (4.01) ietf; urgency=medium * Made various fixes to test cases in order to support the new code and database setup. * Merged [4265] from adam@nostrum.com: Migrated HTML agenda to new data model. This has several improvements, as well, such as clearer marking of BOFs. * Merged [4226] from adam@nostrum.com: Updated agenda.ics to use new data model. Also, tons more efficient. Additionally, the description field now includes links to relevant meeting materials. * Merged [4224] from york@isoc.org: Related to #816 - Modified base.html so that the logo is clickable as well as the text. * Merged [4223] from york@isoc.org: Related to #817 - added a 401.html page for responding to authentication failures * Merged [4212] from rcross@amsl.com: Ticket #673 Add ability to clear ballot * Merged [4214] from york@isoc.org: Fixes #816 - Turns datatracker.ietf.org into a clickable link * Merged [4213] from suresh.krishnan@ericsson.com: Making doc writeup available as read-only text to regular users who are not shepherd/AD/Secretariat etc. Adding a link for viewing a writeup to the main datatracker page. * Merged [4205] from shane@time-travellers.org: Added a link to the datatracker main document page when we announce a new document * Merged [4207] from adam@nostrum.com: Ported week view over to use the new meeting data model * Merged [4204] from shane@time-travellers.org: Adds a link to the datatracker main document page in the new-version notification messages * Added a fix to catch summer/wintertime changes. -- Henrik Levkowetz 22 Apr 2012 20:38:00 +0200 ietfdb (4.00) ietf; urgency=medium * This is the official release of the 4.00 series releases, which expects the redesigned database schema, and thus has an all new models layer. For a full changelog, please go tot he commit log for the iola/conversion branch, web accessible at: http://trac.tools.ietf.org/tools/ietfdb/log/branch/iola/conversion/ -- Henrik Levkowetz 24 Mar 2012 10:33:43 +0100 ietfdb (3.64) ietf; urgency=medium This release contains the features and bugfixes from the IETF-82 code sprint. From adam@nostrum.com: * Fixed a bug in is_authorized_in_draft_stream: would never return true for WG chairs. From lars.eggert@nokia.com: * Automatically set the recipients of RFC5742 review emails sent by the IESG based on the RFC Stream. * Fixed a typo. From rjsparks@nostrum.com: * Marked area directors who are not on the current IESG with square brackets on the discuss summary page. Fixes bug 666. * Changed the AD status page to group documents by current state. Fixes bug 742. * Changed the edit info form to allow (force) setting the stream when editing or adding a document to the iesg tracker. Fixes bug 743. From henrik@levkowetz.com: * Added a colour indication to the Area/WG overview page showing responsible AD for each WG. Also some html reformatting for better readability. * Be more specific about the submission startup time on meeting Monday. Indicate time and timezone for more cases on the submission form. * Various fixes to test fixtures and admin pages. -- Henrik Levkowetz 16 Nov 2011 07:08:11 +0100 ietfdb (3.63) ietf; urgency=medium This is a feature release which adds support for Alternate Stream draft tracking, similar to the WG Chair draft tracking. Some bug fixes have also been included. From esanchez@yaco.es: * Merged /branch/yaco/wgchairs.r3120:r3154-3558 from esanchez@yaco.es. This adds support for alternate streams document tracking, similar to the WG chairs tracking functionality. * Merged /branch/yaco/wgchairs.r3120/static/media:r3152-3153. Do not show the draft addoption form when editing stream. See #671. * Merged /branch/yaco/wgchairs.r3120/static/media:r3122-3152. Do no try to create an already existing model. See #671. From henrik@levkowetz.com: * Improved handling of a particular IO Error that sometimes occur during draft submission. * Removed some of the bling and unnecessary information from the document WG state display. * Aligned the workflow admin display lists with the current model fields. -- Henrik Levkowetz 03 Nov 2011 13:50:14 +0100 ietfdb (3.62) ietf; urgency=medium This is a minor bugfix release in preparation for merging in the Alternate Streams draft tracker enhancements. * Fixed a problem where server IO failures could be silently discarded resulting in an ID submission upload being quietly ignored, returning the upload form anew. * Changed to a more helpful text on the 500 server error page. * Tweaked various submission cutoff message strings. Also made the cut-off messages use the actual hour defined in settings, rather than a hardcoded string saying '5 PM (PT)' ... * Cleaned up the display of 'Sign In' and version number when rendering the base template without context (which is the case for the 500 server error template). * Fixed a wrong settings variable (introduced when merging code from the yaco idsubmit branch for v3.61). Refine the error report for failures to move files from staging to repository. * Refined the admin list page for submission details a bit. * Change the 'Sign In' link to be https, preventing clear-text passwords over the wire (given the current use of basic http auth, rather than diget auth, on the web server). * Added a 'Report a bug' link in the lefthand column, below the version indication. * The cutoff hour setting is in UTC, not PST or PDT. Adjusted accordingly in the settings file. -- Henrik Levkowetz 26 Oct 2011 15:55:18 +0200 ietfdb (3.61) ietf; urgency=medium From esanchez@yaco.es: * Check for missed files on staging area. Fixes #707 * Validate title extraction. Fixes #706 From henrik@levkowetz.com: * Improved extraction of draft title during submission. * Fixed a problem where the scan for an author's email address was prematurely terminated because another author's affiliation also was part of this author's address information. * Changed the length of the username field from 30 to 64 characters, to avoid datatracker login problems for people with long email addresses. * Speeded up things and increased reliability during submission author information extraction by looking for a recognizable author's address section, and not searching for author names earlier in the document if found. Fixes a known bad case where the author name occurred in the middle of a draft. * Added handling for the case where an author name is followed by parentheses which are not closed on the same line. * Added some columns to the admin interface for WgProceedingsActivities. Fixed breakage in the feeds code caused by table entries for this model containing meeting FKs which don't have an associated meeting entry. The base problem of broken table entries remain, though. -- Henrik Levkowetz 19 Oct 2011 15:46:27 +0200 ietfdb (3.60) ietf; urgency=medium * Added basic automated apache password management functionality. -- Henrik Levkowetz 26 Aug 2011 21:43:47 +0200 ietfdb (3.59) ietf; urgency=medium * Merged [3331] from rjsparks@nostrum.com: Make it more likely that one will issue a ballot when it makes sense to do so. Fixes bug 703. * From smccammon@amsl.com: Updated field help for liaison statements, to match the current form. -- Henrik Levkowetz 19 Aug 2011 00:11:00 +0200 ietfdb (3.58) ietf; urgency=medium * Merged [3272] from rjsparks@nostrum.com: Fixed errors with the edit state link, the new ability to set an initial state when adding a document, the status date on the edit state form, and brought several tests up to date. Fixes issues 695, 696, 697, and 698. -- Henrik Levkowetz 12 Aug 2011 22:42:14 +0200 ietfdb (3.57) ietf; urgency=medium * Merged [3254] from suresh.krishnan@ericsson.com: Added a link to the ARO search including the IESG lists * Merged [3249] from suresh.krishnan@ericsson.com: Allowing adding documents in AD is watching state in addition to the default Publication Requested state. Fixes issue #684 * Merged [3245] from rjsparks@nostrum.com: Removes the "Change State" button and makes changing state a link further up on the form. This fixes bug 683, but creates a new one that we will need to address later - editing the state of an RFC that is going through the iesg process again (for going to draft in place for example) will need followup once the changes to get an rfc into that state easily are made. * Merged [3246] from adam@nostrum.com: Adding page to allow viewing meeting slot requests as they are made. There's no link to these yet. * Merged [3240] from adam@nostrum.com: Added csv output format for meeting agenda information, to assist external applications (e.g., Android app, iPhone app) in harvesting and displaying meeting agenda info. * Merged [3182] from adam@nostrum.com: Fix for bug 677 -- no longer assume that code sprint will always be scheduled. * Merged [3181] from adam@nostrum.com: Fix for bug 676 * Merged [3166] from rjsparks@nostrum.com: Simple changes to EditInfoForm field initialization * Various bugfixes and admin enhancements from henrik@levkowetz.com: - Some enhancements to the admin for IDInternal - Fix a bug where the wrong text was shown for IPR declarations which specified that licensing terms would be announced later (option d). - Fix a bug where the plenary entries in the html agenda didn't have links to the room map. - Enhance the admin list page for Stream a bit. - Add some debug output utility functions. - Tweak the admin list for WgMeetingSession to show wg acronym instead of group id. -- Henrik Levkowetz 27 Jul 2011 23:13:30 +0200 ietfdb (3.56) ietf; urgency=medium This is a minor release with various bugfixes and minor admin enhancements. The most long-term noticable enhancement is added support for app- and module-specific admin email addresses which will receive stack traces on uncaught exceptions. Details: * Change the cutoff-settings to match what's desired. Move CUTOFF_HOUR to settings. Change the submission page template to not show the form during the down period. * Set up app-specific email addresses so the respective developers will be notified about failures in code they have worked with. Make django pick up app- and module-specific admin email addresses for stack trace messages. * Make admin form lists work a bit better with non-ascii content in non-unicode tables. * Admin support for StreamedID, so one can look at it. * Get person info without limiting hits to iesglogins. WG Chairs will have logins but not IESG logins ... * Tweak ipr search to only look for IPRs in the appropriate state. * Tweak PersonOrOrgName.email() to handle non-ascii names a bit better. * Don't let the linewrapping algorithm churn infinitely. * Some IPR admin tweaks. Provide a __unicode__ method and show a contact even if multiple have been set for an IPR declaration. -- Henrik Levkowetz 23 Jul 2011 15:27:36 +0200 ietfdb (3.55) ietf; urgency=medium This release adds the wgchair tracker functionality, and also contains some bugfixes. Feature: * Merged in branch branch/yaco/wgchairs from esanchez@yaco.es. This provides the WG Chair Tracker functionality. Fixes: * Changed the default initial state for a WG document to 'WG Document', instead of 'Call for Adoption ...'. * Labelled the link to edit a document's WG state 'Change WG State', in order to not confuse it with changing the IESG state. * Reordered the state information for a document into related groups, separated by rulers. Add some indentation to the template code to make it a bit easier to read in some places. * Made the WG a draft belongs to into a link to the WG page. * Corrected an inappropriate use of the idsubmission repository location instead of the ID repository. Reported by Robert Sparks. * Correct the text (add an omitted word 'press'). Reported by Tomas Narten. * Fixed a problem with author extraction when a given name is the same as the surname. * Only try to return a shepherd for a document if one has been assigned to the document. * Merged in changes from esanchez@yaco.es, changeset [3067]. Makes Liaisons' Date field editable. * Added a bit of admin goodness for MeetingSessions. -- Henrik Levkowetz 24 May 2011 22:58:44 +0200 ietfdb (3.54) ietf; urgency=medium From rjsparks@nostrum.com: * Restructured the position editing page to better integrate the defer button. Fixes bug #659 * Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js) because that's where the main document template was looking for it. There have probably been several problems since the change that left this dangling that showed up as things not behaving, but not as errors. The one that clued me in was the discuss text-box not being hidden when the position wasn't DISCUSS. They should all behave better now. * Added a django form validator to the discuss text field to not allow actions when the position is Discuss, but the discuss-text is empty. 2 and 3 together fix bug #660 * Added logic to the undefer fuction to put the document back on the previous telechat (if that hasn't already passed). That is, date1 from telechat dates, and not date2. Fixes bug #661 * Changed the last_call_announcement generation function's template to include the abstracts from the document sets (which with modern usage means the abstract of the document) reflecting the IESGs decision of a few months back. Fixes bug #662 * Removed the old tracker link from the document's main page. Fixes bug #663 From henrik@levkowetz.com: * Handle email recipient lists which contain 'None' elements correctly. Fixes an instance of failure to send notifications about a submitted draft where an author email address was missing. * Add an admin interface to the I-D submission app, to make it easier to handle manual tasks related to submissions. * Add the submission hash to initial-revision-approval emails to WG chairs, so their approvals will take effect. Fixes a problem where WG Chair approvals of WG draft submissions didn't take effect * Apply 'autoescape off' to all email templates which don'have it but might need it, to avoid html entity escapes in emails. Fixes another set of instances where this potentially could occur. * We cannot currently assume that BallotInfo entries matching IDInternal.ballot exists. It seems ballot may be set to a value before the actual ballot entry is created, possibly by some old secretariat tool. Very broken, but we need to survive it :-( Fixes a crash in the admin interface. * Reordered entries of submission forms and notification emails to be more appropriate. * Changed wrapping of formatted text to expand tabs during text wrapping, in order to get consistent indentation handling. -- Henrik Levkowetz 10 May 2011 14:57:09 +0200 ietfdb (3.53) ietf; urgency=medium From esanches@yaco.es: * Do not allow cancellation of submissions with GET requests, and Ensure that 'get full url', 'approve' and 'force' views are called via POST request. Insert a button to perform the last step of autopost via POST request. Fixes #650 * Do not assume that the two_pages_field field is not None. Fixes #651 * Allow creation dates that are 3 days after or 3 days before the current date. Fixes #652 * Change substate from Revised ID Needed to AD Followup if needed. Fixes #654 * Fix expected revision for expired drafts. Fixes #656 * Send announcements when posting new version of a draft. Fixes #649 From henrik@levkowetz.com: * Previous IPR information in last call announcements could be incomplete. Use a better search for IPR declarations related to a document, and include the IPR information in the last call preview. Fixes an AD request and a request from the IESG * When extracting meta-information from drafts, it is required that some data reside on the first page. Split unpaginated drafts into chunks so we can adhere better to this. Fixes a bug where submission filename was picked up (incorrectly) later in a document. * Wrap long lines in the 'save and send email' view of AD ballot comments and discusses. Fixes a request from the IESG * Give development and test deployment a /robots.txt which doesn't permit robots. Avoids indexing of development servers by web spiders. -- Henrik Levkowetz 04 May 2011 00:37:33 +0200 ietfdb (3.52) ietf; urgency=medium * A very small bugfix release, providing the ability for secretariat staff to post liaisons on behalf of others, and when doing so assuming the powers of the liaison manager they are posting for. This contains the changes that should have been part of 3.51, but wasn't... -- Henrik Levkowetz 18 Apr 2011 12:27:29 +0200 ietfdb (3.51) ietf; urgency=medium * A very small bugfix release, providing the ability for secretariat staff to post liaisons on behalf of others, and when doing so assuming the powers of the liaison manager they are posting for. -- Henrik Levkowetz 13 Apr 2011 16:20:21 +0200 ietfdb (3.50) ietf; urgency=medium * For this release, the idsubmit port from esanchez@yaco.es has been merged in, which constitute substantial added functionality. This integrates the draft upload functionality with the python/django datatracker; it improves draft submission handling and security, and fixes problems with database breakage and inconsistency caused by the old implementation. With this also comes a major improvement of author extraction from draft text, provided by the ietf/utils/draft.py module from henrik@levkowetz.com. * Deployment note: Once the new release has been placed in its deployment directory, and the correct settings_local.py has been copied in, a command needs to be run in order to update the database tables to work with the new code. In the directory containing the ietf/ directory, run this command: $ PYTHONPATH=$PWD ietf/manage.py migrate The output should be as follows:: Running migrations for liaisons: - Nothing to migrate. Running migrations for submit: - Migrating forwards to 0003_add_extra_name_fields. > submit: 0001_initial > submit: 0002_add_submission_hash > submit: 0003_add_extra_name_fields - Loading initial data for submit. Once this is done, the regular deployment routine should be continued. -- Henrik Levkowetz 12 Apr 2011 18:23:44 +0200 ietfdb (3.16) ietf; urgency=medium This is a minor bugfix release. * Merged in [3029] from esanchez@yaco.es. Make the Cc: field of new liaisons editable. * Set the 'person' field of the LegacyLiaisonUser in the admin interface to be handled as a raw id field with search button, rather than as a choice list. This should make admin updates involving the LegacyLiaisonUser table much speedier. * Added a new fix for empty query strings to /meeting/agenda/agenda.ics. (The QUERY_STRING in request.META is not set the same way under the builtin server as under Apache; under apache there will be a QUERY_STRING entry wich is explicitly Null. Handles this.) * Included a javascript change not previsously merged in from branch/yaco/liaison/. -- Henrik Levkowetz 07 Apr 2011 17:15:41 +0200 ietfdb (3.15) ietf; urgency=medium This is a minor bugfix release. * Fix the weekday-dependent plenary information in the materials list. * In urls under /wg/, only accept wgnames which adhere to the constraints currently practiced. (Before this change, the URL patterns would match wg names containing non-ascii characters, which later would bomb due to mix of collations when accessing the database. Might as well return a 404 at once instead). * Don't return 500 if the /meeting/agenda/agenda.ics URL is without query part. * Get rid of a print statement used during testing. -- Henrik Levkowetz 06 Apr 2011 15:17:11 +0200 ietfdb (3.14) ietf; urgency=medium * From lars.eggert@nokia.com: Update jQuery to 1.5.1 and jQuery UI to 1.8.11. * From adam@nostrum.com: On the agenda page, for the custom agenda display, now only displays groups that are actually meeting. * From lars.eggert@nokia.com: Remove unused images. Convert GIFs to smaller PNGs. Optimize all images with http://www.smushit.com/ysmush.it/ * From lars.eggert@nokia.com: Change default vertical alignment of various datatracker tables for better readability. * From peter.musgrave@magorcorp.com: Fix typo. Fixes #566. * From jelte@nlnetlabs.nl: Make search result table headers clickable; clicking will sort on said column, fixes #484. * From peter.musgrave@magorcorp.com: Don't show AD/Secretariat links for Last Call etc. if they will 404. Fixes #550. * From adam@nostrum.com: Meeting boxes now expand to reveal all text when users hover over them. Fixes ticket #602. * From kivinen@iki.fi: Added an URL to retrieve a text/plain version of the list of drafts for a given WG. Useful for building WG-speific ePub documents of a WG's drafts. * From shane@time-travellers.org: Updated the JavaScript associated with the search page to control whether the 'search' button is enabled or not. It is now enabled if either the main search box has input, or if any of the sub-options have input, or both. * From rjsparks@nostrum.com: Adds a view of documents currently in IETF Last Call. Fixes #630. * From bmheight@gmail.com: Remove explicit URLs in the code, using reverse() and the newly created helper function reverse_lazy(). Fixes #628. * From rjsparks@nostrum.com: Changed the way ballot discuss/comment texts are displayed to put the text from current ADs first, and mark ex-ADs with [] following the convention on the left bar. This fixes issue #608 * From adam@nostrum.com: Added ical-format agenda. Fixes issue #601. * From peter.musgrave@magorcorp.com: Add IPR column to IESG Telechat Agenda. Fixes issue #552. * From rjsparks@nostrum.com: Add a defer/undefer button to the edit_position dialog. Fixes issue #627. * From kivinen@iki.fi: Changed cookie settings to be valid for 10 years, they used to be valid until the end of session. -- Henrik Levkowetz 28 Mar 2011 19:43:25 +0200 ietfdb (3.13) ietf; urgency=medium * Provide a full URL to IPR issues in the last call email, rather than just the local url path. Fixes an issue reported by Russ. * Tweak the admin interface for WGs and Chairs, adding some useful links to the tabular displays. * Add refinements for the liaison admin interface. Show contact link and coloured Login/User links to show broken entries. * Wrap the sdo name query in a try clause to avoid server 500 errors. * Only try to populate the liaison user/email list from the from_entity if it's set. * Make the document announcement default Cc: somewhat configurable. Remove iab@iab.org (on request). * Link to the State help page from the 'State:' label. * Don't use '<' and '>' in text/plain email text. * Don't permit just any characters in the document name; limit this to characters we currently permit in the names, or which has occurred in posted documents. Fixes a problem where non-ascii characters were propagated to the database search and caused collation sequence exceptions, instead of giving 404 errors. * Remove the To/From/Subject headers from extra headers to prevent duplicate headers. -- Henrik Levkowetz 26 Mar 2011 09:27:14 +0100 ietfdb (3.12) ietf; urgency=medium Note: Deploying this release requires a database schema update, see below. From esanches@yaco.es: * Allow an SDO Liason Manager to send outgoing liaison from any IETF Entity to his SDO. * Allow the secretariat to send liaisons on behalf of another user. * On login, retrieve the person record related to the login from the legacy tables of non IESG logins. Provides the link between login name and person listed in the liaison manager table. Fixes #576. * Refined handling of the To: and From: address lists when the Liaison Manager is also a WG Chair or AD. From henrik@levkowetz.com: * Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles. Fixes a problem with bad email headers in announcements related to documents with newlines embedded in the title. * Don't try to send out mail which has no recipients. Fixes a crash when trying to send announcements related to drafts which have an empty 'email notes to' field. * Fix typo in method calls to send email, fixes a crash when submitting liaison statements. * Renamed 'LiaisonDetail.taken_care' field to 'action_taken'. Miscellaneous associated fixes. Enhanced liaison-related admin pages. Note: Deploying this release requires an additional steps to create a new column in a table. This is done as a South migration (see http://south.aeracode.org/ for more info on South): # 8<---------- # First the regular checkout and prepare: cd /a/www/ietf-datatracker svn co http://svn.tools.ietf.org/svn/tools/ietfdb/tags/3.12 cp web/ietf/settings_local.py 3.12/ietf/ cd 3.12 # Next, apply the migrations: PYTHONPATH=$PWD ietf/manage.py migrate liaisons # Then carry on with the usual actions: cd ../ rm ./web; ln -s 3.12 web sudo /etc/init.d/apache restart # 8<---------- -- Henrik Levkowetz 02 Feb 2011 18:34:58 +0100 ietfdb (3.11) ietf; urgency=medium * Fixed a bug in the IPR Search, where searches against the IPR notice content would fail (Only try to open a legacy url if it leads to a file; not if it leads to a directory). * For a new IESG tracker document, only add a history comment about previous history if some previous history exists (i.e., if the replaced document also existed in the IESG tracker). * Show status of Dead Expired documents appropriately; just 'Expired' is insufficient. * Restore, for the secretariat only, the re-scheduling functionality of the /iesg/agenda/documents/ page which was removed in [2366] as the ADs felt that it made the page too busy. * Propagate all extra fields on to the final email sending function, not only the Cc and Bcc fields. Restores previously missing Reply-To: headers. * Turn autoescaping off for everything in text/plain email templates. Fixes multiple problems with '<' and '>' in emails showing up as '<' and '>', and related problems. * The liaison tool is deployed. Show the links to the new tool. * Prevent things from crashing if some of the email fields are null for a liaison. * It should be possible to edit the area of a draft even if it's been set before. Re-enabled the area list box on the document/edit/info/ page. * Corrected spelling error in list_display specification for the PersonOrOrgInfo Admin page. * Corrected the path to the draft archive in the settings file. (Some of the fixes above has been deployed already before this release by patching the previous release on the server.) -- Henrik Levkowetz 28 Jan 2011 13:15:40 +0100 ietfdb (3.10) ietf; urgency=medium * Fix css for IPR header (status column was included by mistake). Fixes issue #546. * Tweak some GUI strings in the Liaison Manager From adam@nostrum.com: * Added week-at-a-time view to agenda page when viewing selected areas and/or groups. If no groups are selected, the week view is hidden, leaving the base-level functionality unchanged. From peter.musgrave@magorcorp.com: * 548# Link in IPR column should use an absolute, not relative URL. This fixes issue #546. From kivinen@iki.fi: * Added new setting to the /cookies page which enables always showing full document text instead of showing beginning of the document. This fixes issue #551. From rjsparks@nostrum.com: * Refined the email sent when an position changes. -- Henrik Levkowetz 07 Dec 2010 21:39:17 +0100 ietfdb (3.09) ietf; urgency=medium From suresh.krishnan@ericsson.com: * Added the last call e-mail event to the draft history page. * Added a search function for drafts on their respective mailing lists. Fixes issue #458. From adam@nostrum.com: * Added tarfile and pdf-composite links and functionality to download working group documents from the agenda page. Fixes #539 From peter.musgrave@magorcorp.com: * Added column 'IPR' to documnet table for WG docs and by AD docs, and also in search results. Fixes issue #497. From kivinen@iki.fi: * Make the idea of what is 'soon' and 'new' in the I-D and RFC lists configurable. From lars.eggert@nokia.com: * Fix for #467: History tab: Avoid HTTP/HTTPS warning for the diff tool form submission. * Fix for #456: Make it possible for an IESG member to add a comment (for the document history) in the 'change document state' dialog * Fix for #537: Remove redundant "by" info from doc history text. * Fix for #525. Adds more information to the document history tab, specifically changes to writeup, announcement and last-call text. * Fix for #372. Makes the position editing form display the name of the document being edited. * Fix for #526 and #530: Change the format of the notification email sent out when an AD posts a ballot position on a draft, it by default CCs that email to the authors and chairs, and adds some explanatory text to the body of those messages. From rjsparks@nostrum.com: * Changed the language used in the last call email to be closer to the language the tracker uses when no IPR declarations are found directly on the draft. Fixes #506 * Retained search results on login. Fixes #482. * Added filename to the subject of Protocol Action and Document Action email messages (and fixed a bug that was preventing CC/BCC from being honored). Fixes issue #528. From fenner@fenron.net: * Split the /doc/ tabs into separate pages. This fixes #533. (Eventually, this will use to ask the tabs to be prefetched when the first tab is loaded, as documented at https://developer.mozilla.org/en/Link_prefetching_FAQ, but as there is some issues with this which haven't been fully resolved, the prefetch part is not part of this release.) * Fill in the X-IETF-IDTracker header with the I-D Tracker version number. This fixes #513 * Added support for admin site documentation From henrik@levkowetz.com: * Updated IESG Agenda Section 3.3 title * Added fix for announcement email multipart bug, in part contributed by glen@amsl.com and tony@att.com. * Other minor fixes -- Henrik Levkowetz 09 Nov 2010 10:42:13 +0100 ietfdb (3.08) ietf; urgency=medium From olau@iola.dk: * Ported scripts for expiration of drafts and last-calls, and sending scheduled announcements. The command-line front-ends are in bin/ as expire-ids, expire-last-calls and send-scheduled-mail. The last one already existed with some code, but it's not certain it actually worked. The new one accepts the same arguments as the Perl script (there's a little bit of help if you run it). All three log to syslog. They need to be started from cron with PYTHONPATH=/a/www/ietf-datatracker/web , in the same manner as other scripts which use the django models to interact with the database. -- Henrik Levkowetz 27 Oct 2010 13:52:26 +0200 ietfdb (3.07) ietf; urgency=medium From esanchez@yaco.es: * Merged in Yaco's Liaison Management Tool Port & Rewrite. Enjoy! Note: Deploying this release requires additional steps; to verify that liaison related settings in settings.py are correct, and to create new tables and update existing tables and table content. The latter is done as South migrations (see http://south.aeracode.org/ for more info on the South app). More extensiive documentation about the actions needed are provided in the user manual (doc/LSMT_user_manual.pdf in the release). The brief version follows:: # 8<---------- # First the regular checkout and prepare: cd /a/www/ietf-datatracker svn co http://svn.tools.ietf.org/svn/tools/ietfdb/tags/3.07 cp web/ietf/settings_local.py 3.07/ietf/ cd 3.07 # Verify that the new variables in settings.py are correct; if not, # add the correct settings in settings_local.py and inform the release # manager of the correct settings so they can be incorporated in the # next release. The variables in question are (as set in the release): # # # The email address from wich all liaison emails come: # LIAISON_UNIVERSAL_FROM = 'Liaison Statement Management Tool ' # # # The filesystem path where the liaison attachments will be saved: # LIAISON_ATTACH_PATH = '/a/www/ietf-datatracker/documents/LIAISON/' # # # The url from where the webserver serves the liaison attachments # LIAISON_ATTACH_URL = '/documents/LIAISON/' # Next, the changes to the MySQL tables will be done. # You can list the table migrations which will be applied if desired, # this should list migrations from 0001_... to 0009_... under liaisons: PYTHONPATH=$PWD ietf/manage.py migrate --list # Apply the migrations: PYTHONPATH=$PWD ietf/manage.py migrate # Add the static/doc location as statically served files to the apache # configuration. Fix line 6 in etc/apache2/vhoosts.d/ietf-datatracker.common # to read: # # (i.e., add '|doc' to the exception list). # Then carry on with the usual actions: cd ../ rm ./web; ln -s 3.07 web sudo /etc/init.d/apache restart # 8<---------- Once the datatracker is up and running with the new liaison tool in place, liaison role assignments have to be done as described in the LSMT user manual (in doc/LSMT_user_manual.pdf) page 14, summarized by Patrik on the yaco-liaison-tool mailing list: 1. Add the IAB and IETF chairs, wg chairs, area directors etc as apropriate (as described in the document). 2. Add the liaisons in the IETF assigned and named on the IAB list of liaisons. -- Henrik Levkowetz 26 Oct 2010 16:11:24 +0200 ietfdb (3.06) ietf; urgency=medium From rjsparks@nostrum.com: * Changed the navigation round editing ballots and sending discuss/email so that the user comes back to the page the edit started from. * Fix for ticket #374 (all in base.js) and removal of a vestigial 'save all changes' button from the iesg/agenda/documents page. * Split the ballot writeups page into three pages, for a more understandable user interface. From henrik@levkowetz.com: * Fix a presentation bug in /iesg/agenda/documents.txt -- Henrik Levkowetz 20 Sep 2010 16:45:37 +0200 ietfdb (3.05) ietf; urgency=medium Bugfix release. Fixes the following issues (for more details, see the release page http://trac.tools.ietf.org/tools/ietfdb/milestone/3.05) From olau@iola.dk: * #354 Document State Change Edit lacks dropdowns in IE 8 * #359 Test cases fail in fresh checkout from iesg-tracker branch * #364 Impossible to move back to No-Position * #366 The popup view of current positions when you left click on the grids needs to be smarter when it doesn't fit on the display. * #369 IDInternal entry with missing information generated * #370 Documents marked for telechat not on the web agenda From Henrik: * #367 Document state age not always shown correctly * #355 tarfile generation fails on production system * #371 When a draft lacks creation date, the all_id* and 1id_* generating script fail -- Henrik Levkowetz 24 Aug 2010 15:42:30 +0200 ietfdb (3.04) ietf; urgency=medium * From Adam Roach: Make the selectable WG agenda feature of the datatracker IETF Agenda less resource intensive by not preloading all WG agendas. * From Peter Musgrave: Improve the selection of listed 'related documents' on the WG document pages. * From olau@iola.dk: Fix for issue #351 which caused server error when editing the state of a document (as IESG user). The following features were included already in v3.03, but by mistake weren't listed in the changelog for that revision: * IETF 78 Sprint code from Peter Musgrave: Add related documents section to the wg documents page (e.g., /wg/sipclf/). * IETF 78 Sprint code from Robert Sparks: Relabel the 'Issue Ballot' button (for AD use, on the draft info page). * IETF 78 Sprint code from Robert Sparks: provide a downloadable tarball of the documents on the IESG agenda of a given date. -- Henrik Levkowetz 28 Jul 2010 16:13:23 +0200 ietfdb (3.03) ietf; urgency=medium * IETF 78 Sprint code from Adam Roach: Make the IETF agenda page view user-modifiable, providing a custom bookmarkable agenda view for each user. * Make WG agendas available trough datatracker URLs; this will avoid problems when the text from these pages are incorporated in frames in other datatracker pages. Example: /meeting/78/agenda/sipcore -- Henrik Levkowetz 27 Jul 2010 15:09:56 +0200 ietfdb (3.02) ietf; urgency=medium * Remove the per-document rescheduling dropdown boxes from the future iesg telechat document list (/iesg/agenda/documents/). Fixes issue #346. -- Henrik Levkowetz 21 Jul 2010 15:30:46 +0200 ietfdb (3.01) ietf; urgency=medium * Add a button to issue a ballot for documents which has entered IESG processing but don't have a ballot yet. * Always make idinternal.docstate() return a string -- there are callers that assume this, like the script which generates all_id2. * Don't fail with a server error (500) if a bad draft name (containing for instance newlines) is entered -- just return a 404. * For WG charters under evaluation, show the year too, not only month and day. This will reveal bad date information in the charter files. * If we fail to parse the date of a WG charter under evaluation, use 1 Jan 1900, and carry on. Don't fail with a server error. -- Henrik Levkowetz 20 Jul 2010 18:41:31 +0200 ietfdb (3.00) ietf; urgency=medium * This release adds the IOLA port of the former Perl IESG datatracker to the Python/Django datatracker. This should make most AD actions on drafts available through the Django datatracker, normally from the datatracker.ietf.org/doc// page or from the /doc/ad/.../ page, or expressed UI-wise: from the pages reached from the 'AD Dashboard' menu at the top of the lefthand menubar in the datatracker. This includes actions such as: - Change draft state - Edit draft metadata - Defer ballot, undefer ballot - Handle ballot comments - Handle ballot writeups - Approve ballots - Initiate last call Secretariat staff actions supported through the Django datatracker now includes: - Manage telechat dates - Manage working group descriptions Tweaks to the new interface and capabilities will be releases with a short release cycle, as they are discovered and fixed over the next weeks. -- Henrik Levkowetz 16 Jul 2010 18:14:48 +0200 ietfdb (2.52) ietf; urgency=medium * Added machine-readable ballot information (tsv and json) for drafts with ballots: /doc//ballot.tsv and /doc//ballot.json . Json data for the whole document is available for all drafts at /doc//doc.json . * Added Unicode NFKC normalization of paths. Somebody just tried to access /wg/ipfix/charter/ with 'fi' represented as the unicode ligature \ufb01... * Changed the text emitted during testing to have less noise at the beginning of the line -- only 'OK', 'Fail', and the initial line of coverage reports now starts at the beginning of the line, without whitespace. This makes it easier to scan a test run visually to find reported failures. -- Henrik Levkowetz 16 Jul 2010 13:02:46 +0200 ietfdb (2.51) ietf; urgency=medium * Add an html sanitizer and a sanitize_html template filter. This uses the html5lib, which has also been included in the svn tree. * Provide better handling of both text/plain document comments and document comments which contain html tags. Adds urlization, linebreak-preservation and html sanitization. Html sanitization would be better applied when adding comments, but we're not yet a position to enforce this for all input paths. * Catch an additional exception which can occur during generation of all_id2.txt -- Henrik Levkowetz 07 May 2010 12:26:58 +0200 ietfdb (2.50) ietf; urgency=medium From RjS: * Don't send mail if we don't have any recipients... From Pasi: * /iesg/agenda/: fix bug related to non-existing ballots * Removed old (unused) YUI js/css * /ipr/search/: avoid exception for unexpected search types; comment out debug logging * /doc/active, all: add link to all_id2.txt * /liaison/: add link to liaison statement manager tool From Henrik: * Make version information on the web pages a little less cryptic. * Tweak the IESG agenda page for better placement of IPR information; requested by Russ. Also align the ballot graphics. * Add admin site support for the DocumentComment model. * If replaced-by information exists, display it, even if the document state seems to be incorrect (something else than 'Replaced'). -- Henrik Levkowetz 26 Apr 2010 11:45:24 +0200 ietfdb (2.49) ietf; urgency=medium From Pasi: * New script to generate all_id2.txt. This should be called in www6s/scripts/datatracker-updater: run "python -m ietf.idindex.generate_all_id2_txt" and place its output in $ID/all_id2.txt. * /wg/: link to both www.ietf.org and tools lists of concluded WGs * /doc/: show full responsible AD name for old drafts, too * Eliminated some cases where exceptions could be thrown * Various minor tweaks and fixes From Henrik: * Added commands to the mkrelease script to update the IETF Tools feed with release information. -- Henrik Levkowetz 24 Mar 2010 21:11:27 +0100 ietfdb (2.48) ietf; urgency=medium From Pasi: * Show comments feed link only if it exists (=document is in IDInternal) * Fixed a broken link on main page * Move new look-and-feel base templates from templates/idrfc/ to just templates/ * Remove more unused code * Replaced /idtracker/help/evaluation/ with redirect to www.ietf.org * /wg/: fix mailto links for WG chairs * /doc/: show telechat date in search results list * Show correct version number of expired drafts * /doc/rfcNNNN/: show rfc stream * Use new look for more pages * Replaced most of /idtracker/ (search, document page, ballot page, comment page) with redirects to /doc/ * /doc/\*: Show information about ballot sets * Refactoring /wg/: use redirects instead of redundant URLs; removed old charter pages (not used/linked to); misc. cleaning * Point to /wg// in left navbar and /meeting/agenda/ -- Henrik Levkowetz 22 Mar 2010 00:26:41 +0100 ietfdb (2.47) ietf; urgency=medium From Suresh: * Added a link to the draft pages with email address to the draft authors From RjS: * Added STD/FYI/BCP info to the standard RFC display page * Added a link to the comment feed next to the nits link From Bill: * Output a summary of what's needed for the document to be approved in the main and ballot views. From Tony: * Search plugin for Firefox/IE/etc. From Pasi: * Correctly handle entities (like >) in IESG note field * New script for finding database tables with non-ASCII data * /doc/\*: allow direct links to tabs/individual comments * /iesg/agenda/: show management item text if logged in as AD * /wg/acronym/: fix warning for concluded WGs * Support PPTX meeting slides -- Henrik Levkowetz 21 Mar 2010 03:03:42 +0100 ietfdb (2.46) ietf; urgency=medium From Robert: * Add the I-D expiration notification script. \*\*\* Please add the following cron entry:: # Send notifications about pending I-D expirations. 42 4 \* \* 1 /a/www/ietf-datatracker/web/ietf/bin/notify-expirations From Henrik: * Adding the south schema migration app (http://south.aeracode.org/). * Change the text of IPR search result to more correctly reflect the status of the search result when IPR has been found on documents related to a listed document, but not on that document itself. From Pasi: * Use the new look for a bunch of additional pages * /admin/: fix login redirects to work with RemoteUserMiddleware; hide password changing functionality (which doesn't work with RemoteUser anyway) * /ipr/: remove separate list for updating * /wg/acronym/\*: clearer warning about concluded WGs * A lot of various code and deployment cleanup * A lot of minor tweaks and fixes (tooltips, links, and more) * /doc/rfcNNNN/: include link to errata * /doc/rfcNNN/: include links to PDF/PS versions (if they exist); handle RFCs that are not available as .txt * Added meta description tags (to improve search result usability): drafts/RFCs, IPR disclosures, liaison statements * Cache/gzip meeting agenda and materials pages * If draft doesn't exist under /idtracker/, redirect to /doc/ instead of showing error * Show /doc/ad/first.last/ only for ADs, not other folks in IESGLogin table * Fixed bunch of null/unique attributes for model fields * New script to check for violated database constraints (NOT NULL, UNIQUE, FOREIGN KEY) -- Henrik Levkowetz 21 Mar 2010 00:36:05 +0100 ietfdb (2.45) ietf; urgency=medium From Pasi: * Use wg_www_pages table (and removed unused idtracker_areaurl). Requires applying changes to database as follows: cd /a/www/ietf-datatracker/2.45/ietf PYTHONPATH=../ python manage.py dbshell < ../test/sql_fixup.sql * Parse stream/wg/file formats from rfc-index.xml; prepare for parsing auth48 info from queue2.xml * IPR disclosures: Don't include .doc/.html inline; don't fail if file does not exist * Replaced /drafts/* with redirects * Show datatracker version+date in new look, too * IESG discuss page: shade even/odd rows * Use new look for IETF meeting agenda; add color-coding support (like tools has). Also use new look for /iesg/agenda/, /ipr/ and /ipr/NNN/ * Show RFC publication date as YYYY-MM (since we don't currently have the day) * Fix searching for RFCs that are processed by IESG; made 'advanced search' options mutually exclusive * For plain text RFCs, point to www.rfc-editor.org instead of www.ietf.org * Fix page title for 404/500 pages (ticket:298) From Henrik: * Apply django changeset 12634 to our copy, to permit usernames containing '@'. See http://code.djangoproject.com/changeset/12634 . -- Henrik Levkowetz 11 Mar 2010 14:41:47 +0100 ietfdb (2.44) ietf; urgency=medium From Robert: * Moved old (1995-2003) liaison statements from the template file to the database. This requires applying database fixups as follows: cd /a/www/ietf-datatracker/2.44/ietf PYTHONPATH=../ python manage.py dbshell < ../test/liaison_fixup.sql And updating the liaison files as follows: cd /a/www/ietf-datatracker/documents/LIAISON/ # TAKE A BACKUP OF THE WHOLE DIRECTORY, JUST IN CASE . /a/www/ietf-datatracker/2.44/test/liaison_fixup.sh From Pasi: * Use new look for more pages * Make obsoletes/updates/etc. lists links (with new urlize_ietf_docs template filter) * Always show year in /idtracker/status/ dates * /doc/rfcNNNN/: show the internet-draft name (if known) and link to its history; show information about post-RFC IESG processing * Use yellow for 'abstain' also in /iesg/agenda/documents/ * IESG ballot grid icon: show 'abstain' as yellow instead of gray * IESG telechat agenda: include "private" links also if logged in, link from document list * Added /doc/all/ page * Better output if /doc/ search doesn't match anything * Show state-change-notice-to field in /doc/ (to AD/secretariat) * Make IESG telechat agenda feed discoverable * Added IPR/dependency links and edit/add buttons for RFCs, too; some template refactoring * Avoid exceptions from MySQL when searching for non-ASCII draft names/WG acronyms/etc. * Handle non-ASCII characters gracefully in old cgi-bin script redirects * IPR search: handle non-numeric RFC numbers/ID document tags gracefully (instead of uncaught exception) * Change Atom feeds (+couple of other places) to point to /doc/draft-.. instead of /idtracker/draft-.../ From Henrik: * In PersonOrOrgInfo.email(), try harder to find a relevant email address. The new code will eventually fall back to a broad filter which matches that of the perl code which creates WG charter pages, where the old code would sometimes result in django-generated charter pages with missing email addresses. * Serve ipr disclosures which are available on the server directly, instead of through an external http link in an