Commit graph

221 commits

Author SHA1 Message Date
Jennifer Richards 6df0377fa1 Fix several review reminder problems.
Send secretary's review reminders to secretary instead of assignee. 
Send unconfirmed assignment reminders based on assignment age and CC secretaries. 
Correctly separate open review reminders by review team.

Fixes #3482. Fixes #3324. Commit ready for merge.
 - Legacy-Id: 19848
2022-01-14 19:14:06 +00:00
Jennifer Richards 6f3fb6930f Add timeouts to requests library calls. Fixes #3498. Commit ready for merge.
- Legacy-Id: 19839
2022-01-13 15:06:28 +00:00
Jennifer Richards 0d955b6328 Refactor expirable_drafts() and its usage to speed up doc.views_search.recent_drafts view (and discourage inefficient use of the method). Commit ready for merge.
- Legacy-Id: 19490
2021-10-28 22:24:45 +00:00
Robert Sparks 86102b9980 Allow people to volunteer for NomCom via the datatracker. Commit ready for merge.
- Legacy-Id: 19104
2021-06-10 20:35:50 +00:00
Russ Housley d8ec82524a Remove generate-wg-aliases and generate-draft-aliases scripts. They were replaced with management commands. Ready for merge.
- Legacy-Id: 19048
2021-05-31 18:49:38 +00:00
Russ Housley 3e7e7c99d9 Make mail aliases for review teams and IAB programs. Fixes #3210
- Legacy-Id: 18901
2021-03-05 15:07:50 +00:00
Jennifer Richards df37793e14 Use Roles instead of dedicated model for liaison statement group contacts. Fixes #3100. Commit ready for merge.
- Legacy-Id: 18828
2021-02-12 16:39:20 +00:00
Robert Sparks 3697180cc1 Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz 774e752a54 Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz af703915f4 Added *-chairs aliases for teams to the script that generates group *-chairs@ietf.org aliases for postfix
- Legacy-Id: 18657
2020-11-04 23:30:29 +00:00
Ole Laursen a39fa7f967 New branch from trunk @ r18382 for meeting improvements, with iola/meeting-improvement-r17835 merged in
- Legacy-Id: 18385
2020-08-20 09:36:41 +00:00
Ole Laursen c78ffbcd18 Introduce support for setting a base schedule on a schedule. All
assignments on the base schedule are shown in the pages for the
schedule, read-only.

This allows managing things like breaks and misc sessions separately
from the regular WG sessions.

Base schedules are not allowed to be the base of other base schedules
(the hierarchy can only be one level deep) to simplify the mental
model and the code.

Add link for creating new schedules instead of relying on copying
Empty-Schedule and change the meeting creation code to no longer
create the special Empty-Schedule. Instead a "base" schedule is
created and a first schedule with the name and permissions of the user
creating the meeting, using "base" as base.

Speed up a couple of the Secretariat/AD agenda views by adding
prefetches.
 - Legacy-Id: 18355
2020-08-11 17:34:32 +00:00
Robert Sparks 2b10465aa7 Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027. Commit ready for merge.
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Henrik Levkowetz 83a74c8f92 Tweaked the messages from bin/rfc-editor-index-updates to be slightly more informative.
- Legacy-Id: 18278
2020-07-26 14:09:43 +00:00
Henrik Levkowetz f10ddadc0e Merged in changes from trunk up to r17584.
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz e91e9092a8 Merged in [17488] from rcross@amsl.com:
Remove drafts secretariat tool because this functionality is now provided by the core Datatracker. Moved ID reports to proceedings tool. Fixes #1655.
 - Legacy-Id: 17508
Note: SVN reference [17488] has been migrated to Git commit 5649bfdfd1
2020-03-22 18:43:57 +00:00
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 e6e0b16005 Tweaked bin/rfc-editor-* scripts
- Legacy-Id: 17439
2020-03-14 18:42:48 +00:00
Henrik Levkowetz 4ecaeab9c6 Tweaked bin/rfc-editor-* scripts
- Legacy-Id: 17438
2020-03-14 16:26:21 +00:00
Henrik Levkowetz 04d93a8029 Removed a debug statement
- Legacy-Id: 17436
2020-03-13 17:50:22 +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 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz e9a37d8ac8 Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
- Legacy-Id: 17385
2020-03-05 14:41:41 +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