Commit graph

121 commits

Author SHA1 Message Date
Henrik Levkowetz 714781d6c5 Merged in [11890] from rcross@amsl.com:
Modify monthly progress report to handle unicode characters in document titles.
 - Legacy-Id: 11895
Note: SVN reference [11890] has been migrated to Git commit 98b9efdb02
2016-08-30 17:44:51 +00:00
Henrik Levkowetz 4940bf79e9 Merged in [11889] from rcross@amsl.com:
Strip .py extension of report scripts to match the rest.  Add svn:executable to scripts that were missing it.
 - Legacy-Id: 11894
Note: SVN reference [11889] has been migrated to Git commit 96fb33f50d
2016-08-30 17:34:23 +00:00
Ryan Cross 98b9efdb02 Modify monthly progress report to handle unicode characters in document titles. Commit ready for merge.
- Legacy-Id: 11890
2016-08-26 22:35:48 +00:00
Ryan Cross 96fb33f50d Strip .py extension of report scripts to match the rest. Add svn:executable to scripts that were missing it. Commit ready for merge.
- Legacy-Id: 11889
2016-08-26 21:37:42 +00:00
Henrik Levkowetz 4b0a9360f0 Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz ac31664f5b Added missing import statements.
- Legacy-Id: 11707
2016-07-18 11:00:01 +00:00
Henrik Levkowetz 53506389b3 Make all the scripts under ietf/bin/ set up the environment the same way.
- Legacy-Id: 11639
2016-07-12 20:52:09 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Henrik Levkowetz f9136dcad3 Changed the photo collection script to use a more sophisticated algorithm to separate name parts, in order to avoid photos named 'dr-foo-bar-ph-d', and in order to correctly identify surnames like 'le-faucheur'. Added translation for the first-name only named IAB photos. Added additional directories for IAB photos.
- Legacy-Id: 11271
2016-06-05 09:47:55 +00:00
Henrik Levkowetz 33a0629911 Enhanced the photo collection script to look in multiple locations, in order to capture missing IAB and IESG member photos, and to select full and thumbnail photos from a preference list based on timestamp and size.
- Legacy-Id: 11270
2016-06-03 22:54:35 +00:00
Henrik Levkowetz 88e56f2c98 Added heuristics to process existing photo files for a larger percentage of person records than earlier. Changed to checking all person records, not only those with roles. Added a summary of photo files not handled at the end. This reduced the number of unhandled files from ~350 to less than 10, and all the unhandled ones seems to belong to persons for which photos have been found.
- Legacy-Id: 11262
2016-06-02 19:11:53 +00:00
Henrik Levkowetz 14a4ea177c Merged in ^/personal/rjs/6.21.1.dev0@11257
- Legacy-Id: 11259
2016-06-01 16:37:01 +00:00
Ryan Cross cecdea3d72 Add utility script to send interim meeting minutes reminder. Add ability to include comments with meeting cancellation
- Legacy-Id: 11199
2016-05-17 22:55:47 +00:00
Ryan Cross 6ef2904307 Move standalone monthly report scripts to bin directory. Commit ready for merge.
- Legacy-Id: 11118
2016-04-11 15:54:36 +00:00
Robert Sparks e7f90214c5 Handle expiring the last call of status change documents. Be more robust about errors when expiring last calls. Fixes #1911. Commit ready for merge.
- Legacy-Id: 10811
2016-02-10 15:37:58 +00:00
Henrik Levkowetz 44e0835b0b Modified the ambiguous timestamp fixup scripts to cover the 3 last year instead of the last year.
- Legacy-Id: 10790
2016-02-07 13:04:02 +00:00
Henrik Levkowetz f9a49661cb Updated the fix-ambiguous-document-timestamps scripts to also fix DocEvent timestamps.
- Legacy-Id: 10789
2016-02-06 20:12:54 +00:00
Henrik Levkowetz e0ba96584a Merged in [10755] from rcross@amsl.com:
Change merge-person-records, don't delete User until we handle related objects.
 - Legacy-Id: 10767
Note: SVN reference [10755] has been migrated to Git commit a6399fdcf3c67b648f120bf42be987ca50935019
2016-02-03 20:28:16 +00:00
Henrik Levkowetz 33aff43ff6 Added a tiny script to disambiguate document timestamps.
- Legacy-Id: 10752
2016-01-27 14:27:12 +00:00
Henrik Levkowetz bc9a85a075 Merged [10721] and [10724] from rcross@amsl.com:
Removed Test watermark from interim meeting index background.  Rewrote merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute.  Fixes #1627.
 - Legacy-Id: 10740
Note: SVN reference [10721] has been migrated to Git commit e97cd64bbb

Note: SVN reference [10724] has been migrated to Git commit 8efb9229f6
2016-01-26 21:31:46 +00:00
Ryan Cross e97cd64bbb Rewrite merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute. Fixes #1627. Commit ready for merge
- Legacy-Id: 10721
2016-01-22 20:37:29 +00:00
Henrik Levkowetz 6c8629c4a9 Merged in [10629] from rjsparks@nostrum.com:
This set of changes focuses on improvements to the nomcom portion of
    the datatracker. 

    These changes:

    - Simplify the nomcom form for comments. Make it more obvious who
      receives mail when a comment is supplied. Fixes #1849.

    - Simplify the nomcom form for nominations. Provide a primary workflow
      where nominations choose an existing Person, and a secondary
      workflow for nominating new people. 

    - Allow nominees to add a comment when accepting or declining a
      nomination. Fixes #1845.

    - Organize the list of nominees on the feedback page. Fixes #1786 and
      #1809.

    - Simplify the mechanisms used to display feedback message counts.

    - Regroup the feedback view to make it easier to see where to spend
      review effort. Fixes #1866.

    - Capture when nomcom members last reviewed feedback for a given
      nominee. Add badges when new feedback is avaliable. Improve the
      layout of the feedback index page. Fixes #1850.

    - Reorganize the tab navigation on the nomcom private pages. Made it
      more obvious when the chair is doing something that only the chair
      gets to see. Fixes #1788 and #1795.

    - Regroup multiselect options to make classifying pending feedback
      simpler. Make the control larger and resizable. Fixes #1495.

    - Simplify the chair's views for editing nominee records. Replace the
      merge nominee form with a request to the secretariat to merge Person
      records. Fixes #1847. 

    - Added merging nominees to the secretariat's persson merging script. 

    - Show information for concluded nomcoms. Close feedback and
      nomination for concluded nomcoms. Fixes #1856.

    - Improve the questionnaire templates, reminding the nominee that
      receiving the questionnaire does not imply they have accepted a
      nomination. Fixes #1807.

    - Remove the description field from Postion. Simplify the Position
      list and the Position edit form. Make the nomcom pages more self
      documenting. Add a page to help nomcom chiars through setting up a
      new nomcom. Fixes #1867 and #1768.

    - Remove the type from the template pathname for the requirements
      templates. Make the requirements views work for both types plain and
      rst. Changed the default type for new nomcom requirement templates
      to rst.

    - Remove 'incumbent' from the models. Fixes #1771.

    - Adjust the models for Nominee and Nomination to better associate
      Nominee objects with Person objects.

    - Remove BaseNomcomForm and the implementation of custom fieldsets.

    - Replace the custom message framework with the django provided
      messages framework.

    - Improve SearchablePersonField to show the primary email address for
      any search result where a name appears more than once.

    - Add the use of factory-boy for generating test data. Normalize
      management of a test directory for test nomcom public keys.
      Significantly improve test coverage of the nomcom related code.
 - Legacy-Id: 10703
Note: SVN reference [10629] has been migrated to Git commit c8bbfbad78
2016-01-15 21:59:49 +00:00
Robert Sparks dc5ae398f2 Improved SearchablePersonField to show the primary email address for any search results where a name appears more than once.
Simplified the edit nominee form.
Replaced the merge nominee form with a request to the secretariat to merge Person records. Fixes #1847.
Added merging nominees to the secretariat's person merging script.
Restructured the person merging script to make it testable.
Updated some tests to match changes to the mailtriggers that hadn't made it to the fixtures.
 - Legacy-Id: 10625
2015-12-22 21:42:55 +00:00
Henrik Levkowetz 9b274111eb Added group secretaries to the alias lists. Refactored related utility functions to less code with fewer branches with greater generality.
- Legacy-Id: 10543
2015-12-04 20:30:43 +00:00
Henrik Levkowetz 0117af5657 Keep draft aliases for 2 years rather than 1 year from posting.
- Legacy-Id: 10415
2015-11-04 02:22:49 +00:00
Henrik Levkowetz 4d637e3587 Replaced a remaining use of removed function smtp_error_logging().
- Legacy-Id: 10331
2015-10-28 11:42:14 +00:00
Ole Laursen 86c3a430d1 Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Robert Sparks dbe4e3789d removed all the milestone reminder machinery
- Legacy-Id: 10091
2015-09-17 20:27:07 +00:00
Henrik Levkowetz 73a022cdb5 Merged in [9715] from rcross@amsl.com:
Update merge-person script to handle contraints and roles.
 - Legacy-Id: 9724
Note: SVN reference [9715] has been migrated to Git commit 5dfe492cfb
2015-07-15 11:14:15 +00:00
Ryan Cross 5dfe492cfb Update merge-person script to handle contraints and roles. Commit ready for merge.
- Legacy-Id: 9715
2015-07-10 21:57:55 +00:00
Henrik Levkowetz 0ebc6a3a13 Merged in [9699] from rcross@amsl.com:
Fix problem displaying non-ascii names.
 - Legacy-Id: 9704
Note: SVN reference [9699] has been migrated to Git commit 6ae71e5057
2015-07-09 12:15:42 +00:00
Ryan Cross 6ae71e5057 Fix problem displaying non-ascii names. Commit ready for merge.
- Legacy-Id: 9699
2015-07-07 00:17:32 +00:00
Henrik Levkowetz 9f63a1e322 Merged in [9662] from rcross@amsl.com:
Add Message objects to merge-person-records.
 - Legacy-Id: 9678
Note: SVN reference [9662] has been migrated to Git commit 92752f1b79
2015-06-22 20:28:01 +00:00
Ryan Cross 92752f1b79 Add Message objects to merge-person-records. Commit ready for merge
- Legacy-Id: 9662
2015-06-03 18:52:09 +00:00
Robert Sparks 1e30120710 checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
2015-04-30 15:57:48 +00:00
Robert Sparks 5fb3198368 Add pre-ads to .ad aliases. Keep draft aliases for drafts that have become RFCs for some time. Commit ready to merge.
- Legacy-Id: 9306
2015-03-21 20:23:09 +00:00
Henrik Levkowetz 4b80218548 Merged in [9185] from rcross@amsl.com:
Add DocEvent and SubmissionEvent to merge-person-records.
 - Legacy-Id: 9197
Note: SVN reference [9185] has been migrated to Git commit cadf07fab3
2015-03-14 15:47:24 +00:00
Ryan Cross cadf07fab3 Add DocEvent and SubmissionEvent to merge-person-records. Commit ready for merge.
- Legacy-Id: 9185
2015-03-11 22:38:12 +00:00
Henrik Levkowetz ebb00e5ac4 Merged in [9099] from rcross@amsl.com:
Add ietf/bin script merge-person-records.
 - Legacy-Id: 9122
Note: SVN reference [9099] has been migrated to Git commit 877e683270
2015-02-24 20:20:15 +00:00
Ryan Cross 877e683270 Add ietf/bin script merge-person-records. Commit ready for merge.
- Legacy-Id: 9099
2015-02-17 23:24:11 +00:00
Henrik Levkowetz f3b22aa300 Added django.setup() to some additional scripts, as required under Django 1.7.
- Legacy-Id: 9069
2015-02-11 06:52:07 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz 1210f77604 With django 1.7, standalone scripts need to call django.setup() before doing any operations involving models. Modified all scripts in bin/ and ietf/bin/ which seemed to need it.
- Legacy-Id: 9017
2015-02-07 21:13:38 +00:00
Henrik Levkowetz 58cc1e431f When draft email aliases are generated, the content of the doc.notify field is used to generate the .notify alias, and is also included in the .all alias. If the notify field contains either the .notify alias or the .all alias, this can create a mail loop. Changed the alias generation code to expand (or ignore, for .notify) aliases found in the notify field, and changed the code which fills in the notify field with a default value to insert the author, ad, and shepherd aliases instead of the .all alias.
- Legacy-Id: 8994
2015-02-05 15:38:01 +00:00
Henrik Levkowetz 45704a1363 Made the generated postfix alias/virtual files include the AD emails in the -chairs alias.
- Legacy-Id: 8859
2015-01-10 23:57:30 +00:00
Henrik Levkowetz f2d3d4213a Reworked the generation of draft aliases and WG aliases, after trying out the output of the previous version for real. This code seems to work better, based on tests on ietfa.
- Legacy-Id: 8633
2014-11-11 01:09:30 +00:00
Henrik Levkowetz 78da505019 Changed the signature line of the generate-wg-aliases to give the script path instead of a manually maintained string (which had become outdated) in the signature string at the top of the generated files.
- Legacy-Id: 8523
2014-10-30 15:39:46 +00:00