Commit graph

231 commits

Author SHA1 Message Date
Henrik Levkowetz a66fa82b06 Fixed some review reminders issues.
- Legacy-Id: 16863
2019-10-15 16:46:12 +00:00
Henrik Levkowetz be641ac22a Merged in [16792] from sasha@dashcare.nl:
Fix #2475 - Send opt-in reminders for unconfirmed review assignments.
If enabled for a team, reminders will be sent every X days to reviewers
for review assignments they have not accepted or rejected.
 - Legacy-Id: 16846
Note: SVN reference [16792] has been migrated to Git commit 486b6daa29
2019-10-08 15:57:28 +00:00
Henrik Levkowetz 678f8a5787 Merged in [16765] from sasha@dashcare.nl:
Refs #2277 - Send daily reminders of overdue reviews to secretaries
 - Legacy-Id: 16839
Note: SVN reference [16765] has been migrated to Git commit cc64992204
2019-10-08 10:41:37 +00:00
Henrik Levkowetz 09e38dffa0 Merged in [16705] from sasha@dashcare.nl:
Fix #2337 - Send periodic reminders of open reviews every X days (opt-in)
The interleaved_migrations_test currently fails due to the various 
migrations that have been added for individual tickets/commits (unless
--permit-mixed-migrations is set). I think this is better fixed in a
later cleanup, as doing it now could cause confusion when merging
individual commits, and more migrations are likely to be added soon.
 - Legacy-Id: 16823
Note: SVN reference [16705] has been migrated to Git commit ec56a03ec6
2019-10-04 17:09:57 +00:00
Henrik Levkowetz 4c3e869d5c Merged in [16704] from sasha@dashcare.nl:
Fix #2231 - Send reminders before long UnavailabilityPeriods expire
A notification is sent to the team secretary and reviewer, if an
unavailability period lasting 30 days or more will end in 3 days.
 - Legacy-Id: 16822
Note: SVN reference [16704] has been migrated to Git commit 179c151f9e
2019-10-04 14:07:54 +00:00
Sasha Romijn 486b6daa29 Fix #2475 - Send opt-in reminders for unconfirmed review assignments.
If enabled for a team, reminders will be sent every X days to reviewers
for review assignments they have not accepted or rejected.

Commit ready for merge.
 - Legacy-Id: 16792
2019-10-01 13:01:19 +00:00
Sasha Romijn cc64992204 Refs #2277 - Send daily reminders of overdue reviews to secretaries
Commit ready for merge.
 - Legacy-Id: 16765
2019-09-30 12:27:43 +00:00
Sasha Romijn ec56a03ec6 Fix #2337 - Send periodic reminders of open reviews every X days (opt-in)
The interleaved_migrations_test currently fails due to the various 
migrations that have been added for individual tickets/commits (unless
--permit-mixed-migrations is set). I think this is better fixed in a
later cleanup, as doing it now could cause confusion when merging
individual commits, and more migrations are likely to be added soon.

Commit ready for merge.
 - Legacy-Id: 16705
2019-09-05 15:02:56 +00:00
Sasha Romijn 179c151f9e Fix #2231 - Send reminders before long UnavailabilityPeriods expire
A notification is sent to the team secretary and reviewer, if an
unavailability period lasting 30 days or more will end in 3 days.
Commit ready for merge.
 - Legacy-Id: 16704
2019-09-05 11:59:40 +00:00
Sasha Romijn 296b126c70 Ref #2231 - Fix send-review-reminders and add it to daily cron
This fixes a syntax error and a Python 3 incompatibility, and adds
send-review-reminders to the daily cron script.

Important notes:
- I have not tested to what degree the existing reminders work as they
  should, as that's out of scope. It does have tests.
- I can't assess whether the virtualenv activation works in the
  production setup, and it may be obsolete as bin/daily also
  activates the virtualenv.
- The same Python 3 incompatibility (execfile() no longer exists) seems
  to exist in various other scripts.
  
Commit ready for merge.
 - Legacy-Id: 16703
2019-09-05 10:50:39 +00:00
Henrik Levkowetz 10f623cc75 Merged in [16096] from rcross@amsl.com:
Update admin permissions. Grant secretariat change permissions on dbtemplate so they can update proceedings pages.
 - Legacy-Id: 16424
Note: SVN reference [16096] has been migrated to Git commit 3089404f3d
2019-07-07 19:26:50 +00:00
Henrik Levkowetz eeb4c08b01 Reduced generate-draft-alias verbosity again
- Legacy-Id: 16279
2019-06-17 18:23:18 +00:00
Henrik Levkowetz 5de5e97dd0 Fixed a docalias problem with generate-draft-aliases
- Legacy-Id: 16275
2019-06-17 13:14:53 +00:00
Henrik Levkowetz 8726e74709 Merged in a refactoring of document review code from rjsparks@nostrum.com. This introduces ReviewAssignments, letting us do multiple assingments for a given RevieRequest, without conflating the assignments and their results with the request itself.
- Legacy-Id: 16177
2019-04-30 16:54:06 +00:00
Henrik Levkowetz bb4fe3fbbf Undid previous commit
- Legacy-Id: 16153
2019-04-22 19:22:42 +00:00
Ryan Cross 3089404f3d Update admin permissions. Grant secretariat change permissions on dbtemplate so they can update proceedings pages. Commit ready for merge.
- Legacy-Id: 16096
2019-03-24 14:47:57 +00:00
Robert Sparks a4db66564c Checkpoint. Ended up chasing group.views_review before stats.
- Legacy-Id: 16030
2019-03-13 22:02:10 +00:00
Robert Sparks e91d706d5b Checkpointing. This is an incomplete idea. The tests will fail massively.
- Legacy-Id: 15985
2019-03-01 23:19:47 +00:00
Henrik Levkowetz e8a59ce1e5 Rewrote the submission deduce_group() to consider all groups with acronyms that are also GroupTypeNames. Added GroupTypeName for iesg,ise,adhoc groups, and appropriate GroupFeatures for each. Updated the names.json fixture.
- Legacy-Id: 15960
2019-02-21 15:27:58 +00:00
Henrik Levkowetz 194659093d Merged in [15810] from rcross@amsl.com:
Grant secretariat admin permissions to mailtrigger models.  Fixes #2637.
 - Legacy-Id: 15817
Note: SVN reference [15810] has been migrated to Git commit e41b3d85ea
2018-12-13 20:59:35 +00:00
Ryan Cross e41b3d85ea Grant secretariat admin permissions to mailtrigger models. Fixes #2637. Commit ready for merge.
- Legacy-Id: 15810
2018-12-12 23:32:00 +00:00
Henrik Levkowetz af4e0b48fd Pyflakes fixes to ietf/bin/fix-ambiguous-timestamps
- Legacy-Id: 15761
2018-11-12 15:44:22 +00:00
Henrik Levkowetz ec682f34ad Updated the script to fix ambiguous timestamps to fix ambiguous time fields for additional objects.
- Legacy-Id: 15754
2018-11-12 11:58:18 +00:00
Henrik Levkowetz d6565f0450 Added exception logging for ietf/bin/rfc-editor-queue-updates. Changed the logging in the ietf/bin/rfc-editor-* scripts to use ietf.utils.log.log(). Reordered some imports.
- Legacy-Id: 15318
2018-07-12 12:52:58 +00:00
Henrik Levkowetz fb4804a4ca Fixed an incorrect file name in a log message.
- Legacy-Id: 15115
2018-05-03 19:32:10 +00:00
Henrik Levkowetz 18b9d8b400 Fixed a problem with the expire-ids code, and added logging to catch future problems.
- Legacy-Id: 15051
2018-04-18 12:34:31 +00:00
Henrik Levkowetz 819c142b51 Merged in [14516] from rcross@amsl.com:
Add admin permissions to secretariat group for nomcom objects.
 - Legacy-Id: 14522
Note: SVN reference [14516] has been migrated to Git commit 4e1ab4888e
2018-01-15 00:31:44 +00:00
Ryan Cross 4e1ab4888e Add admin permissions to secretariat group for nomcom objects. Commit ready for merge
- Legacy-Id: 14516
2018-01-12 01:16:31 +00:00
Henrik Levkowetz edcfcd11f1 Added more logging during draft resurrection. Added a guard agains draft status changes while the draft expiration loop is running.
- Legacy-Id: 14488
2018-01-06 16:01:21 +00:00
Robert Sparks e36cad65ed Include an explicitly set Responsible ADs email addresses in generated aliases when a document has a group. Commit ready for merge.
- Legacy-Id: 14404
2017-12-07 21:33:04 +00:00
Henrik Levkowetz 3305cbfc64 Merged in [14106] from rcross@amsl.com:
Add support for directorates to generate-wg-aliases.  Fixes #2363.
 - Legacy-Id: 14110
Note: SVN reference [14106] has been migrated to Git commit 4269d3b68e
2017-09-08 14:29:32 +00:00
Ryan Cross 4269d3b68e Add support for directorates to generate-wg-aliases. Fixes #2363. Commit ready for merge.
- Legacy-Id: 14106
2017-09-07 21:03:25 +00:00
Ryan Cross 6772afdd24 Update secretariat admin permissions. Change AnnouncementFrom.address to CharField because full emails, with real name, fail EmailField validation. Includes migration. Commit ready for merge.
- Legacy-Id: 14104
2017-09-06 22:42:15 +00:00
Ryan Cross a18c9c1014 Add meeting_importantdate to Secretatriat admin permissions. Commit ready for merge
- Legacy-Id: 14018
2017-07-31 22:59:02 +00:00
Henrik Levkowetz d35ec73069 Added support for mime-encoding of non-ascii name parts in document notify lists when generating draft email aliases.
- Legacy-Id: 13990
2017-07-27 19:22:59 +00:00
Henrik Levkowetz 6cd18d6324 Merged in [13628] from rcross@amsl.com:
Grant secretariat meeting__meeting admin permissions.
 - Legacy-Id: 13721
Note: SVN reference [13628] has been migrated to Git commit fd60ce6868
2017-06-27 15:58:56 +00:00
Ryan Cross fd60ce6868 Grant secretariat meeting__meeting admin permissions. Commit ready for merge.
- Legacy-Id: 13628
2017-06-14 17:20:29 +00:00
Henrik Levkowetz a9785674ea Merged in [13575] from rcross@amsl.com:
Create new script ietf/bin/set_admin_permissions to configure Django Admin group permissions.  Fixes #2008.
 - Legacy-Id: 13581
Note: SVN reference [13575] has been migrated to Git commit 1876927cbc
2017-06-10 09:29:26 +00:00
Henrik Levkowetz 3d387e5ff6 Merged in [13567] from rcross@amsl.com:
Refactor ietf/bin/merge-person-records to facilitate testing.  Add tests.  Fixes #2162.
 - Legacy-Id: 13580
Note: SVN reference [13567] has been migrated to Git commit e9b7c5753e
2017-06-10 07:48:19 +00:00
Ryan Cross 1876927cbc Create new script ietf/bin/set_admin_permissions to configure Django Admin group permissions. Fixes #2008. Commit ready for merge.
- Legacy-Id: 13575
2017-06-09 21:01:56 +00:00
Henrik Levkowetz 22d83d2d2c Fixed another place where None author email needed an extra guard.
- Legacy-Id: 13573
2017-06-09 20:07:55 +00:00
Ryan Cross e9b7c5753e Refactor ietf/bin/merge-person-records to facilitate testing. Add tests. Fixes #2162. Commit ready for merge.
- Legacy-Id: 13567
2017-06-08 23:28:43 +00:00
Henrik Levkowetz 4971c01ced Moved the fetch-meeting-registration script in order to convert it to a management command.
- Legacy-Id: 13489
2017-06-01 20:54:42 +00:00
Henrik Levkowetz b6b45166bf Added email address to the MeetingRegistration model, and also to the fields imported from ietf.org/registration/attendees/NN . Changed the bin counting code for attendee-related stats to use names plus email as unique string, rather than only names.
- Legacy-Id: 13481
2017-05-31 23:08:23 +00:00
Henrik Levkowetz 76628be3fd Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Henrik Levkowetz 1b7a39545b Merged in [13290] from rjsparks@nostrum.com:
Provides the utility used to reconcile the RFC Editor database against what the draft parser returns for document authors.  (But only if keeping this in trunk is a good idea.)
 - Legacy-Id: 13361
Note: SVN reference [13290] has been migrated to Git commit 6d8182965b
2017-05-15 14:22:16 +00:00
Ole Laursen cceb4188ab Extend --latest to support a parameter
- Legacy-Id: 13270
2017-05-05 13:58:25 +00:00
Ole Laursen a2b8819cfe Add meeting statistics - overview and country/continent across
meetings + detail pages with country and continent
 - Legacy-Id: 13264
2017-05-04 15:55:15 +00:00
Ole Laursen 8325ffa9de Add a script for keeping the meeting registration data in sync
- Legacy-Id: 13253
2017-04-28 12:33:21 +00:00
Henrik Levkowetz 42a1fdb151 Merged in [13197] from rcross@amsl.com:
Fix issue with bin/merge-person-records when User.last_login == None.  Fixes #2274.
 - Legacy-Id: 13207
Note: SVN reference [13197] has been migrated to Git commit 767e9f9695
2017-04-12 19:11:31 +00:00
Henrik Levkowetz 978e8f72f5 Changed the signature of ietf.utils.aliases.dump_sublist() to include a list of the alias domains, in order to be able to generate IRTF group aliases @irtf.org. Updated ietf/bin/generate-*-aliases accordingly.
- Legacy-Id: 13206
2017-04-12 18:51:38 +00:00
Ryan Cross 767e9f9695 Fix issue with bin/merge-person-records when User.last_login == None. Fixes #2274. Commit ready for merge.
- Legacy-Id: 13197
2017-04-12 17:36:45 +00:00
Ole Laursen 5b677dc6ba Merge author stats branch into new branch from trunk
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Ryan Cross aa76ea4040 Fixes #2207. bin/merge-person-records remove _meta.get_all_related_objects() deprecated in Django 1.10. Commit ready for merge.
- Legacy-Id: 12917
2017-02-24 21:25:33 +00:00
Ole Laursen 9308948195 Add person, affiliation and country (through django-countries) to
DocumentAuthor, rename author field to email and make it optional (for
modeling old email-less submissions), remove the authors many to many
referencing field from Document as it is not really pointing the right
place.

Update the Secretariat tools to show affiliation and country.

Add migration for getting rid of the fake email addresses that the
migration script created some years ago (just set the author email
field to null).
 - Legacy-Id: 12739
2017-01-26 17:10:08 +00:00
Ryan Cross 68bd38d22d Fixes #2141. Resolve issue with merge_person_records caused by Django 1.8 upgrade. Commit ready for merge.
- Legacy-Id: 12724
2017-01-24 20:47:41 +00:00
Henrik Levkowetz 5e3f3378d3 Updated scripts in ietf/bin/ to look in env/bin/ for the virtualenv activation script.
- Legacy-Id: 12560
2016-12-16 17:50:04 +00:00
Henrik Levkowetz 3c812b04cb Added a script to list role holder emails.
- Legacy-Id: 12516
2016-12-13 17:45:53 +00:00
Ole Laursen ceec1254f2 Add review team secretary reminders, like those for reviewers
- Legacy-Id: 12283
2016-11-08 16:24:28 +00:00
Ole Laursen 59180240af Add a simple reminder system for reviewers so that they can opt in to
being reminded X days before deadline of an assignment
 - Legacy-Id: 12101
2016-10-07 16:43:29 +00:00
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