Robert Sparks
2862727d02
Add used_roles to Group and default_used_roles to GroupFeatures. Dynamically build the group edit form to provide a field for all used_roles. Fixes #2785 and #2572 . Partially addresses #2160 . Commit ready for merge.
...
- Legacy-Id: 17908
2020-06-04 21:05:33 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Robert Sparks
fb8e5c6842
Allow IAB programs to use normal meeting mechanics. Fixes #2970 . Commit ready for merge.
...
- Legacy-Id: 17764
2020-05-08 21:11:25 +00:00
Robert Sparks
fec811de36
Show recent meetings on a group's meeting tab even if there aren't other past meetings. Fixes #2961 . Commit ready for merge.
...
- Legacy-Id: 17663
2020-04-20 17:31:28 +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
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
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
Robert Sparks
3568e72ec5
Default use_milestone_dates to True. Allow changing use_milestone_dates from the edit milestone dates form for charters if it is the initial chartering effort. Fixes #2884 . Commit ready for merge.
...
- Legacy-Id: 17287
2020-02-11 18:53:40 +00:00
Robert Sparks
7c3a4ce3f5
Only show groups in reasonable states when showing current chartering efforts (otherwise crufty charter states can would lead to abandoned or replaced groups showing here). Fixes #2872 . Commit ready for merge.
...
- Legacy-Id: 17246
2020-01-17 20:14:22 +00:00
Robert Sparks
b4ac9f83f1
Restrict the ability to change whether a group uses milestone dates to the ADs and the secretariat. Fixes #2869 . Commit ready for merge.
...
- Legacy-Id: 17234
2020-01-16 21:19:29 +00:00
Robert Sparks
f0f522322a
Be clear about who changed a group's personnel in the resulting email message. Fixes #2868 . Commit ready for merge.
...
- Legacy-Id: 17233
2020-01-15 21:38:44 +00:00
Robert Sparks
42e5163b09
Adds support for dateless milestones. Fixes #2799 . Commit ready for merge.
...
- Legacy-Id: 17185
2020-01-06 20:48:53 +00:00
Robert Sparks
f71e9995a7
Dateless milestone work. Commit in preparation for merging forward.
...
- Legacy-Id: 17174
2019-12-24 21:38:26 +00:00
Sasha Romijn
e145832808
Fix #2185 - Close review assignments when reviewer is removed from team.
...
If a reviewer is removed from a team, any accepted or assigned review
assignments are set to rejected if the request deadline has not passed,
or set to no-response when the request deadline has passed.
Per [16819], if this scenario happens, and there are no other active or
completed review assignments, the request is shown as an
unassigned review.
Commit ready for merge.
- Legacy-Id: 16850
Note: SVN reference [16819] has been migrated to Git commit fdb4c2a055
2019-10-09 13:36:25 +00:00
Henrik Levkowetz
5a1c35909a
Updated a test to match the change in r16560
...
- Legacy-Id: 16575
2019-07-22 17:55:29 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +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
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
dfd3b60322
Removed tests for the confirm_acronym field removed in [16412].
...
- Legacy-Id: 16413
Note: SVN reference [16412] has been migrated to Git commit 1997a90d10
2019-07-07 12:50:27 +00:00
Henrik Levkowetz
fa85e6edee
Typo fixes and removal of an unused import.
...
- Legacy-Id: 16394
2019-07-04 20:55:32 +00:00
Henrik Levkowetz
97a555936d
Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
...
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz
15e74e89cb
Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
...
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
db12f2b948
Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729 .
...
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
a62e029932
After feedback from the RFC-Editor staff, changed the URL POST notification of Group name changes to an Email notification.
...
- Legacy-Id: 16210
2019-05-15 18:40:23 +00:00
Henrik Levkowetz
3ec9d7b678
Updated the role handling to use GroupFeatures.groupman_roles consistently for group management access. Fixes a IRTF RG delegate permissions issue.
...
- Legacy-Id: 16160
2019-04-25 13:19:30 +00:00
Henrik Levkowetz
2b811b3d3d
Updated the tests to always use @ietf.org addresses where appropriate, and not do so when not appropriate. All test user login addresses have been changed away from @ietf.org.
...
- Legacy-Id: 15988
2019-03-04 20:08:48 +00:00
Robert Sparks
fdf0964c40
Make it more obvious that a group has been replaced when looking at its pages. Fixes #2661 . Commit ready for merge.
...
- Legacy-Id: 15824
2018-12-14 22:25:55 +00:00
Henrik Levkowetz
2e83c529b1
Merged in [15355] from rjsparks@nostrum.com:
...
Used factories for ietf.group.tests_info.
- Legacy-Id: 15398
Note: SVN reference [15355] has been migrated to Git commit 5a0b005939
2018-07-19 15:54:53 +00:00
Robert Sparks
5a0b005939
Used factories for ietf.group.tests_info. Commit ready for merge.
...
- Legacy-Id: 15355
2018-07-14 22:03:11 +00:00
Henrik Levkowetz
2daef52bea
This commit replaces the code defined group features with features held
...
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
2018-07-12 10:51:48 +00:00
Henrik Levkowetz
2c0348cc7a
Found that django's urlize() does not deal well with adjacent parantheses. Replaced it with a filter based on bleach.linkify, which does better.
...
- Legacy-Id: 14752
2018-03-09 15:07:04 +00:00
Henrik Levkowetz
26bf387356
Replaced direct assignment to m2m fields with .clear() and .set()
...
- Legacy-Id: 14666
2018-02-21 23:58:25 +00:00
Henrik Levkowetz
7a0a99001c
Merged in [14468] from rjsparks@nostrum.com:
...
Add the ability to add a comment to a group's history. Fixes #1483 .
- Legacy-Id: 14485
Note: SVN reference [14468] has been migrated to Git commit 13e8f8982c
2018-01-01 00:42:10 +00:00
Robert Sparks
13e8f8982c
Add the ability to add a comment to a group's history. Fixes #1483 . Commit ready for merge.
...
- Legacy-Id: 14468
2017-12-28 20:48:58 +00:00
Robert Sparks
2c92aa213d
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
...
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz
6c2331a34e
Added test cases for ADs and IRTF Chair for the chartering buttons on /group/chartering.
...
- Legacy-Id: 13781
2017-07-06 13:57:52 +00:00
Henrik Levkowetz
108c00a0a3
Merged in [13731] from rjsparks@nostrum.com:
...
Reworked how review assigments are processed in order to ensure a team's queue rotates when it should. Fixes #2305 .
- Legacy-Id: 13743
Note: SVN reference [13731] has been migrated to Git commit 7f5cef056ade1641f1d815b0a5f35962077d6d01
2017-06-30 20:16:22 +00:00
Henrik Levkowetz
ce1b655fa2
Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
...
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz
dcc1bca058
Added assertion logging for found group parent loops to is_decendant_of().
...
- Legacy-Id: 13687
2017-06-20 13:18:33 +00:00
Henrik Levkowetz
f5298d7bb8
Fixed a bug in which operations were available on the /group/chartering/ 'Chartering or re-chartering' page, so that not only operations on groups in a chartering state is shown, but also the options to start chartering. Fixes issue #2312 .
...
- Legacy-Id: 13584
2017-06-12 19:25:39 +00:00
Henrik Levkowetz
7e3ee06b0b
Adjusted test to match new name fixture.
...
- Legacy-Id: 13209
2017-04-12 21:23:29 +00:00
Henrik Levkowetz
14c748df98
Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
...
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
4daf66d11c
Added DocEvent rev= parameter througout the code.
...
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
23ebe5d35d
This addresses ease of editing various group attributes, and in particular is
...
intended to make it easier to see that you can edit things like the
external/additional URLs:
- Added the ability to edit individual fields in a group's about page, and
added edit buttons for editable fields on the about page, just as for
documents (the ability to edit all editable fields already was available
from the 'Edit group' button on the /group//about/ page).
- Made the tab label for the group-about tab consistently say 'About',
instead of 'Charter' for some groups.
= Shifted the position of the about tab to the start of the tab line.
- Removed the datatracker account requirement information at the top of the
group edit page for users logged in to their account.
- Tweaked the 'Show update' link on the 'Status Update' line.
- Changed the label for the external URLs from 'More Info' to 'Additional
URLs', which was already in use on the edit form.
- Legacy-Id: 12904
2017-02-23 20:55:38 +00:00