Lars Eggert
f870715a80
fix: Allow more email addresses in notification lists ( #4792 )
...
* fix: Allow more email addresses in notification lists
Fixes #4736
* Do what @rjsparks suggested
* Number migration
* Number migration
* Fix tests and apply for all doc types
2022-12-08 15:46:35 -06:00
Lars Eggert
6eabd4a3a1
chore: Use codespell
to fix typos in comments. ( #4794 )
...
First part of replacement of #4651
2022-11-28 10:36:36 -06:00
Jennifer Richards
bef7492eda
chore: renumber migrations
2022-10-14 16:51:43 -03:00
Jennifer Richards
f3bdbf0ed4
Merge branch 'feat/tzaware' into jennifer/main-for-tzaware-merge
...
# Conflicts:
# ietf/meeting/tests_js.py
# ietf/meeting/tests_models.py
# ietf/meeting/tests_views.py
# ietf/meeting/views.py
# ietf/name/fixtures/names.json
# ietf/templates/meeting/agenda.html
# ietf/templates/meeting/session_buttons_include.html
# ietf/templates/meeting/timeslot_start_end.html
2022-10-14 16:35:57 -03:00
Robert Sparks
50668c97cd
feat: apis for attaching chatlogs and polls to session materials ( #4488 )
...
* feat: apis for attaching chatlogs and polls to session materials
* fix: anticipate becoming tzaware, and improve guard against attempts to provide docs for sessions that have no official timeslot assignment.
* fix: get chatlog upload to actually work
Modifications to several initial implementation decisions.
Updates to the fixtures.
* fix: test polls upload
Refactored test to reduce duplicate code
* fix: allow api keys to be created for the new endpoints
* feat: add ability to view chatlog and polls documents. Show links in session materials.
* fix: commit new template
* fix: typo in migration signatures
* feat: add main doc page handling for polls. Improve tests.
* feat: chat log vue component + embedded vue loader
* feat: render polls using Vue
* fix: address pug syntax review comments from Nick.
* fix: repair remaining mention of chat log from copymunging
* fix: use double-quotes in html attributes
* fix: provide missing choices update migration
* test: silence html validator empty attr warnings
* test: fix test_runner config
* fix: locate session when looking at a dochistory object for polls or chatlog
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-10-13 09:20:36 -05:00
Jennifer Richards
32054111df
fix: fix failing tests and eliminate naive datetime warnings ( #4402 )
...
* test: fix timestamp construction in several doc tests
* refactor: rename date2datetime to datetime_from_date and clarify code
* chore: helper to get tzinfo for PRODUCTION_TIMEZONE
* fix: fix timezone handling in make_last_call()
* test: fix datetime generation in doc.tests_charter
* refactor: remove PRODUCTION_TIMEZONE setting
Replaces the PRODUCTION_TIMEZONE setting with a constant,
DEADLINE_TZINFO, in ietf.utils.timezone.
* test: be more careful about timezone in tests_charter.py
* test: be more careful about timezone in doc/tests.py
* fix: fix timezone handling affecting doc.tests_draft
* fix: fix timezone handling affecting tests_irsg_ballot.py
* fix: fix timezone handling affecting tests_review.py
* fix: fix timezone handling affecting last ietf.doc tests
* fix: fix timezone handling affecting last ietf.group tests
* fix: fix timezone handling affecting ietf.iesg tests
* fix: handle timezones in get_8989_eligibility_querysets
* fix: handle timezones affecting ietfauth tests
* fix: return tz-aware datetime from utc_from_string
* fix: specify timezone for constants in ipr_rfc_number()
* fix: specify tz for ipr deadlines
* fix: handle timezones affecting liaisons tests
* fix: treat leap day in get_8989_eligibility_querysets()
Manual cherry-pick of 248d6474
* test: treat leap day properly in nomcom tests
* fix: fix timezone handling affecting nomcom tests
* test: fix timezone handling in review tests
* fix: fix timezone handling affecting secr.meetings tests
* fix: handle both pytz and zoneinfo timezones in ietf.utils.timezone
* fix: fix timezone handling affecting secr.proceedings tests
* refactor: use make_aware() helper in secr.meetings tests
* test: fix timezone handling in secr.telechat tests
* fix: fix timezone handling affecting stats tests
* fix: eliminate tz-naive helpers affecting sync email parsing
* fix: include timezone data when serializing DeletedEvent data
* fix: fix timezone handling affecting sync tests
* style: remove unused import
2022-09-01 13:07:28 -03:00
Jennifer Richards
ebebdbed3e
refactor: replace datetime.now and datetime.today with timezone.now ( #4211 )
...
* refactor: replace datetime.now with timezone.now
* refactor: migrate model fields to use timezone.now as default
* refactor: replace datetime.today with timezone.now
datetime.datetime.today() is equivalent to datetime.datetime.now(); both
return a naive datetime with the current local time.
* refactor: rephrase datetime.now(tz) as timezone.now().astimezone(tz)
This is effectively the same, but is less likely to encourage accidental
use of naive datetimes.
* refactor: revert datetime.today() change to old migrations
* refactor: change a missed datetime.now to timezone.now
* chore: renumber timezone_now migration
* chore: renumber migrations
2022-08-25 13:45:16 -03:00
Robert Sparks
d5b0bc6ccc
Reordered migrations. Updated name fixture.
...
- Legacy-Id: 19336
2021-09-04 15:33:53 +00:00
Jennifer Richards
2060173f3a
Improve proceedings display with new title block, configurable host logos, and additional PDF or URL materials. Fixes #3147 . Commit ready for merge.
...
- Legacy-Id: 19306
2021-08-30 17:02:49 +00:00
Robert Sparks
805d1f4a7e
Use BOF consistently.
...
- Legacy-Id: 19212
2021-07-14 17:33:14 +00:00
Robert Sparks
f5a04263e5
Added the notion of responsible leadership.
...
- Legacy-Id: 19202
2021-07-07 17:49:35 +00:00
Robert Sparks
338da98661
merged forward. Gave IAB same abilities as IESG.
...
- Legacy-Id: 19201
2021-07-06 20:19:12 +00:00
Robert Sparks
6b383255ad
Staging for merge forward
...
- Legacy-Id: 19199
2021-07-06 18:05:54 +00:00
Jennifer Richards
e11583a87f
Allow assignment of Person as "action holder" for a Doc, plus rudimentary automation of assignment. Fixes #3146 . Commit ready for merge.
...
- Legacy-Id: 18829
2021-02-12 20:31:00 +00:00
Henrik Levkowetz
088033d843
Added matching indexes to a number of models with ordering by multiple keys.
...
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz
0eee548999
Fixed a couple of pyflakes issues.
...
- Legacy-Id: 18516
2020-09-24 10:23:30 +00:00
Henrik Levkowetz
e2caecba2f
Added a migration to create missing DocAlias instances (and remove some bad ones).
...
- Legacy-Id: 18511
2020-09-22 15:25:58 +00:00
Robert Sparks
2b70735fd2
Improved the classification of some github related external resources. Tightened validation of new resource values. Commit ready to merge.
...
- Legacy-Id: 18378
2020-08-17 23:50:22 +00:00
Henrik Levkowetz
606cedd796
Merged in the ExtResource work from rjsparks@nostrum.com, based on a feature request and contributions from rsalz@akamai.com. This provides external resource models for Person, Group, and Document models, as a generalisation of the previous related-URL concept. This provides a consistent labelling and classification of URLs and other resources related to a Group, Document, or Person. The GroupURL (and similar) classes will be removed in a later step. Some DocumentURL instances (such as auth48 URLs) remain to convert, as they have come in with other merged-in work while the ExtResource work was in transit.
...
- Legacy-Id: 18192
2020-07-20 01:58:26 +00:00
Henrik Levkowetz
4fa431651c
Renumbered some migrations to avoid multiple leaf nodes.
...
- Legacy-Id: 18169
2020-07-14 17:40:41 +00:00
Henrik Levkowetz
a7b3d9c83b
Merged in [18157] from jennifer@painless-security.com:
...
Store Auth48 URL as DocumentURL and display in RFC-Editor state. Migrates old data when possible. Alternative to 17563. Fixes #2722 .
- Legacy-Id: 18166
Note: SVN reference [18157] has been migrated to Git commit fff927b085
2020-07-14 11:22:11 +00:00
Robert Sparks
99df95d542
Cleaned up created names. Improved validation during migration. Cleaned up migration output. Cleaned the last of the awp includes from secr views. Removed now unused secr templates. Build extresource urls correctly during submission and when creating group wikis.
...
- Legacy-Id: 18158
2020-07-13 16:03:39 +00:00
Jennifer Richards
fff927b085
Store Auth48 URL as DocumentURL and display in RFC-Editor state. Migrates old data when possible. Alternative to 17563. Fixes #2722 . Commit ready for merge.
...
- Legacy-Id: 18157
2020-07-13 15:34:01 +00:00
Robert Sparks
53f7bc3ce6
migrated forward
...
- Legacy-Id: 18144
2020-07-09 21:07:05 +00:00
Henrik Levkowetz
dc7581fef4
Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations.
...
- Legacy-Id: 18051
2020-06-24 20:33:57 +00:00
Robert Sparks
bf53bf1057
Merged forward. Added some missing parts to the XMPPURLValidator.
...
- Legacy-Id: 18050
2020-06-24 19:01:45 +00:00
Robert Sparks
d87a1d009b
Map some new urls. Create a new external resource type
...
- Legacy-Id: 17873
2020-05-21 21:46:51 +00:00
Robert Sparks
7e57be2bd3
merged forward ^/personal/rjs/explore-extref
...
- Legacy-Id: 17840
2020-05-19 18:47:47 +00:00
Robert Sparks
2de9eb93b5
Added validation to the migrations. Added external resources to the draft display page. Built an editor for DocExternalResources.
...
- Legacy-Id: 17683
2020-04-24 16:14:43 +00:00
Robert Sparks
672f9bce26
Added display-name. Refined migrations.
...
- Legacy-Id: 17646
2020-04-15 19:54:29 +00:00
Henrik Levkowetz
f10ddadc0e
Merged in changes from trunk up to r17584.
...
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Robert Sparks
c055d37dcb
Removed extref app. Refined population migrations.
...
- Legacy-Id: 17509
2020-03-22 19:27:28 +00:00
Robert Sparks
316dd183d9
first run at external resources
...
- Legacy-Id: 17470
2020-03-19 23:32:24 +00:00
Henrik Levkowetz
08130f4986
Merged in [17396] from rjsparks@nostrum.com:
...
Move charters for replaced groups to a new replaced state. Close any outstanding ballots on them. Fixes #2889 , #2873 , and #1286 .
- Legacy-Id: 17420
Note: SVN reference [17396] has been migrated to Git commit 79bb245f8a
2020-03-11 19:21:43 +00:00
Henrik Levkowetz
638fbc592e
Added a data migration to fix up some incorrect external URLs for reviews.
...
- Legacy-Id: 17402
2020-03-07 14:21:41 +00:00
Robert Sparks
79bb245f8a
Move charters for replaced groups to a new replaced state. Close any outstanding ballots on them. Fixes #2889 , #2873 , and #1286 . Commit ready for merge.
...
- Legacy-Id: 17396
2020-03-06 16:47:59 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Jennifer Richards
b02b42da81
Create DocEvent when related IprDisclosure is posted or removed. Fixes #2811 . Commit ready for merge.
...
- Legacy-Id: 17284
2020-02-07 20:41:13 +00:00
Henrik Levkowetz
6482254a03
Merged in ^/branch/akayla/irsg/6.113.1.dev0 from peter@akayla.com.
...
This provides support for IRSG ballots, similar to the IESG ballots support which has been in use for quite some time. The IRSG ballots differ from IESG ballots in a number of ways, described in detail in the RFP and SoW for this work and implemented here.
- Legacy-Id: 17164
2019-12-20 15:00:55 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
96f6f47758
Updated rfc-editor sync code to recognize the new Tooling Issue queue state.
...
- Legacy-Id: 16730
2019-09-11 16:20:25 +00:00
Henrik Levkowetz
3336f4a11b
Merged in [16656] from rjsparks@nostrum.com:
...
Add IANA expert review tracking.
- Legacy-Id: 16716
Note: SVN reference [16656] has been migrated to Git commit e45a32e49f
2019-09-08 14:34:29 +00:00
Henrik Levkowetz
e49ff19255
Merged in [16615] from peter@akayla.com:
...
Spelling correction in a comment. No open issue.
- Legacy-Id: 16697
Note: SVN reference [16615] has been migrated to Git commit 7f6edfcabc
2019-09-03 12:52:26 +00:00
Robert Sparks
e45a32e49f
Add IANA expert review tracking. Commit ready for merge.
...
- Legacy-Id: 16656
2019-08-15 20:36:07 +00:00
Henrik Levkowetz
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Peter E. Yee
7f6edfcabc
Spelling correction in a comment. No open issue. Commit ready for merge.
...
- Legacy-Id: 16615
2019-08-04 23:58:43 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
04a728c23d
Fixed bytes/str issues in some migrations (models.Index() arguments).
...
- Legacy-Id: 16410
2019-07-07 12:41:11 +00:00