Commit graph

189 commits

Author SHA1 Message Date
Henrik Levkowetz f45947c079 Removed exec of activate_this.py from 2 more scripts that are in activbe use.
- Legacy-Id: 17270
2020-01-30 22:38:44 +00:00
Henrik Levkowetz ac38dba94b Ran scripts invoked from bin/hourly and bin/daily through pyflakes3 and test invocation, and tweaked the code (with an added comment) to consistently require virtualenv to be set up before script invocation.
- Legacy-Id: 17269
2020-01-30 22:19:42 +00:00
Henrik Levkowetz ba3010e3b0 Added fetch and use of the RFC-Editor's errata.json file in order to set a new 'verified-errata' document tag, and use that to show the link to inline-errata documents only when there is verified errata. Fixes issue #2861.
- Legacy-Id: 17212
2020-01-10 12:22:33 +00:00
Henrik Levkowetz b48ca82df7 Merged in [17195] from rcross@amsl.com:
Update admin permissions. Grant access to LiaisonStatementGroupContacts.
 - Legacy-Id: 17199
Note: SVN reference [17195] has been migrated to Git commit 1f1d88fe24
2020-01-08 17:00:12 +00:00
Ryan Cross 1f1d88fe24 Update admin permissions. Grant access to LiaisonStatementGroupContacts. Commit ready for merge.
- Legacy-Id: 17195
2020-01-08 00:07:27 +00:00
Henrik Levkowetz 83de8b9f1e Changed print() statements to syslog logging in a cron-invoked script, to remove non-error output. Fixes issue #2849.
- Legacy-Id: 17163
2019-12-20 14:31:28 +00:00
Henrik Levkowetz feaa5038a0 Rewrote the ietf/bin/fix-ambiguous-timestamps command as a management command (fix_ambiguous_timestamps) and made it look at all instances of DateTimeField by means of model introspection.
- Legacy-Id: 16954
2019-11-04 12:56:52 +00:00
Henrik Levkowetz c474b42f2d Send review reminders output to log, rather than stdout (since this is run from cron, stdout and stderr should be quiet if nothing unexpected happens)
- Legacy-Id: 16878
2019-10-18 14:46:59 +00:00
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