In python3, dict.keys() produces a dict_keys object, not a list.
Since this code treats it as a list, we'll just be explicit about
that.
- Legacy-Id: 15893
in python 3.7, re.sub() started treating unknown escape sequences in
as errors. Fix this by sending an escaped \ where we mean to
pass it through raw.
https://docs.python.org/3/library/re.html#re.sub
- Legacy-Id: 15892
Without this fix, in modern versions of python, the changed line
produces:
TypeError: 'float' object cannot be interpreted as an integer
- Legacy-Id: 15891
Fix issue where new non-session location field value isn't saved. Fixes#2625.
- Legacy-Id: 15756
Note: SVN reference [15715] has been migrated to Git commit a47fba833f
Added a mail alias for all review team secretaries. Fixes#2139. Use
the alias if there is one for email about review request changes. Added
a test for the review team secretary alias functionality.
- Legacy-Id: 15747
Note: SVN reference [15708] has been migrated to Git commit 6067dcbfef
Note: SVN reference [15730] has been migrated to Git commit d525ade0b0
Converted stats, submit, sync. and utils/test to use factories. Excluded utils/test_data from coverage checks.
- Legacy-Id: 15599
Note: SVN reference [15595] has been migrated to Git commit 39e76a836996ec9ed8ea449c92bdfae91c3dbaae
in a database table:
- Added a GroupFeatures model to the group models, and removed the old
features.py
- Added a agenda type for future use in showing different group types on
different agendas.
- Renamed the group feature has_materials to has_nonsession_materials.
- Added API resources and admin support for the new tables.
- Added a Directorate (with reviews) group type as complement to
Directorate, to distinguish between directorates with and without reviews.
- Adjusted tests as needed.
- Updated the fixtures, and fixed the generate_fixtures script to include
the new AgendaTypeName objects.
There still exists about 70 instances of code comparing the group type
with a list of types; most of these should probably be replaced with new
features, instead, to make it possible to add new group types through the
database table, rather than having to edit the code. That was the purpose
of this refactoring from the start, but the presence of this large number
of comparisons of group type against lists of types defeats the goal until
we add appropriate features and replace the group type list comparisons.
- Legacy-Id: 15316
Set reply-to for I-D Announcements that include a CC to a mail list. Fixes#2530.
- Legacy-Id: 15289
Note: SVN reference [15282] has been migrated to Git commit 733c304e3d
Fix issue with decorator on utils.html.remove_tags().
- Legacy-Id: 15270
Note: SVN reference [15267] has been migrated to Git commit 0d255f7d0874f01163f292568e76fa9d830a54e2
Corrected the implementation of clear_ballot. Added a test for it. Restored functionality to ballot popups that was missing because a template variable was not passed in.
- Legacy-Id: 15092
Note: SVN reference [15084] has been migrated to Git commit ee346edaba