Commit graph

200 commits

Author SHA1 Message Date
Ryan Cross 5649bfdfd1 Remove drafts secretariat tool because this functionality is now provided by the core Datatracker. Moved ID reports to proceedings tool. Fixes #1655. Commit ready for merge.
- Legacy-Id: 17488
2020-03-21 19:52:12 +00:00
Henrik Levkowetz db0a57e143 Added some missing imports.
- Legacy-Id: 17428
2020-03-13 14:04:55 +00:00
Henrik Levkowetz 6300c359b4 Merged back fixes from production
- Legacy-Id: 17413
2020-03-09 17:59:44 +00:00
Henrik Levkowetz 5d824b59c2 Changed some cases of urlopen() to use requests.get()
- Legacy-Id: 17374
2020-03-02 15:18:00 +00:00
Henrik Levkowetz a33f66bb90 Merged back production changes to two scripts indirectly called by /a/www/www6s/scripts/run-ietf-report, through /a/www/www6s/scripts/run-report.
- Legacy-Id: 17371
2020-03-02 12:27:07 +00:00
Henrik Levkowetz a2318d9f2c Backported patches from production
- Legacy-Id: 17370
2020-02-28 20:46:20 +00:00
Henrik Levkowetz 4b35ee43d2 Moved code from a couple of simple urlopen() wrappers used only once into the calling scripts. Removed a case of Py2 virtualenv activation.
- Legacy-Id: 17354
2020-02-27 13:35:14 +00:00
Henrik Levkowetz cbdf718892 More Py2/3 adaptations fetched from production.
- Legacy-Id: 17335
2020-02-25 15:53:52 +00:00
Henrik Levkowetz ab40807c36 Converted send-scheduled-mail to py3
- Legacy-Id: 17332
2020-02-23 16:22:40 +00:00
Henrik Levkowetz d2ad86c5df Python 2/3 changes pulled from the production server after the switch to python 3.
- Legacy-Id: 17327
2020-02-23 01:34:52 +00:00
Henrik Levkowetz 2aa948a17b Changed some remaining cases of open() to io.open().
- Legacy-Id: 17319
2020-02-20 22:35:49 +00:00
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