Commit graph

8303 commits

Author SHA1 Message Date
Henrik Levkowetz 778775ca48 Merged in [15320] from rjsparks@nostrum.com:
The cookie tests were all calling make_test_data, but not using anything it created. Removed the calls.
 - Legacy-Id: 15348
Note: SVN reference [15320] has been migrated to Git commit 151b5bc39a
2018-07-14 20:12:28 +00:00
Henrik Levkowetz 50b546338a Merged in [15314] from rjsparks@nostrum.com:
Converted the community app tests to use factories.
 - Legacy-Id: 15346
Note: SVN reference [15314] has been migrated to Git commit ae70706faf
2018-07-14 19:50:22 +00:00
Henrik Levkowetz f0d343aaea Set version info and settings back to development mode
- Legacy-Id: 15336
2018-07-14 16:48:13 +00:00
Henrik Levkowetz 597255579f Set version info to release version 6.82.0 before branching.
- Legacy-Id: 15334
2018-07-14 16:48:04 +00:00
Henrik Levkowetz 991c7a5e54 Captured another GroupFeatures model tweak.
- Legacy-Id: 15330
2018-07-14 16:26:11 +00:00
Henrik Levkowetz 321af9f26b Tweaked migration ordering.
- Legacy-Id: 15323
2018-07-13 05:19:02 +00:00
Henrik Levkowetz 8783fb11ab Fixed a migration ordering issue
- Legacy-Id: 15322
2018-07-13 03:40:32 +00:00
Robert Sparks 151b5bc39a The cookie tests were all calling make_test_data, but not using anything it created. Removed the calls. Commit ready for merge.
- Legacy-Id: 15320
2018-07-12 20:33:39 +00:00
Henrik Levkowetz eaca9cee5e Fixed a migration issue.
- Legacy-Id: 15319
2018-07-12 15:18:19 +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 85c24b8450 Added a missing template.
- Legacy-Id: 15317
2018-07-12 12:16:13 +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 21f38a364e Replaced the use of a deprecated Django field attribute with the sanctioned replacement.
- Legacy-Id: 15315
2018-07-12 10:19:00 +00:00
Robert Sparks ae70706faf Converted the community app tests to use factories. Commit ready for merge.
- Legacy-Id: 15314
2018-07-12 05:56:14 +00:00
Henrik Levkowetz e87442f33a Merged in [15282] from housley@vigilsec.com:
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
2018-07-10 17:16:47 +00:00
Henrik Levkowetz 35deea3391 Added support for kind codes as part of patent numbers.
- Legacy-Id: 15285
2018-07-05 17:22:48 +00:00
Russ Housley 733c304e3d Set reply-to for I-D Announcements that include a CC to a mail list. Fixes #2530.
- Legacy-Id: 15282
2018-06-29 18:15:42 +00:00
Henrik Levkowetz c9cc9ff214 Upped the permitted number of search results for the /stream/ise/ page (and friends) from 200 to 1000. Fixes issue #2527.
- Legacy-Id: 15281
2018-06-26 16:43:40 +00:00
Henrik Levkowetz c7a9c2f121 Set version info and settings back to development mode
- Legacy-Id: 15278
2018-06-20 21:47:59 +00:00
Henrik Levkowetz b238767c25 Set version info to release version 6.81.3 before branching.
- Legacy-Id: 15276
2018-06-20 21:47:50 +00:00
Henrik Levkowetz 9c39dc85d0 Updated bower-managed static web assets
- Legacy-Id: 15273
2018-06-20 21:24:21 +00:00
Henrik Levkowetz c219f2f998 Merged in [15266] from rcross@amsl.com:
Update blue sheet template.  Replace start time / end time with date.
 - Legacy-Id: 15271
Note: SVN reference [15266] has been migrated to Git commit e65748103b705e5dddea75bc550884498f42e75e
2018-06-20 04:10:22 +00:00
Henrik Levkowetz dbfdb94c34 Merged in [15267] from rcross@amsl.com:
Fix issue with decorator on utils.html.remove_tags().
 - Legacy-Id: 15270
Note: SVN reference [15267] has been migrated to Git commit 0d255f7d0874f01163f292568e76fa9d830a54e2
2018-06-19 21:23:35 +00:00
Henrik Levkowetz 9fe1820640 Tweaked the 'Related documents' part of the Document admin page to more intuitively show the relationships.
- Legacy-Id: 15259
2018-06-14 19:22:55 +00:00
Henrik Levkowetz 0df2c0dee8 Tweaked unidecode_name() to avoid double-quotes in the ascii string.
- Legacy-Id: 15256
2018-06-14 15:06:08 +00:00
Henrik Levkowetz 41a5f5dca4 Merged in [15248] from rjsparks@nostrum.com:
Improvements to tests after converting to factories suggested by studying coverage_changes.
 - Legacy-Id: 15255
Note: SVN reference [15248] has been migrated to Git commit b86bd84278
2018-06-14 13:11:29 +00:00
Henrik Levkowetz 434b62d7a5 Merged in [15247] from rjsparks@nostrum.com:
Tweaked the color palatte for the agenda editor.
 - Legacy-Id: 15254
Note: SVN reference [15247] has been migrated to Git commit 13df62f8ba
2018-06-14 12:35:39 +00:00
Henrik Levkowetz b3301de22e Fixed a pyflakes nit.
- Legacy-Id: 15253
2018-06-14 12:35:16 +00:00
Henrik Levkowetz a3c12d937f Removed two instances of log.assertion(); we have enough data on these now.
- Legacy-Id: 15252
2018-06-14 12:03:02 +00:00
Henrik Levkowetz bf3074e493 Changed an attribute guard to work with a reverse relationship attribute (using hasattr()).
- Legacy-Id: 15251
2018-06-14 04:35:04 +00:00
Robert Sparks b86bd84278 Improvements to tests after converting to factories suggested by studying coverage_changes. Commit ready to merge.
- Legacy-Id: 15248
2018-06-13 22:09:01 +00:00
Robert Sparks 13df62f8ba Tweaked the color palatte for the agenda editor. Commit ready for merge.
- Legacy-Id: 15247
2018-06-13 19:58:08 +00:00
Henrik Levkowetz 159b5daee9 Fixed a broken mailto link on the account edit page.
- Legacy-Id: 15246
2018-06-13 14:44:57 +00:00
Henrik Levkowetz fd56cfdf6b Merged in [15238] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_status_change. Repair previous commit errors in ietf.doc.tests_material.
 - Legacy-Id: 15243
Note: SVN reference [15238] has been migrated to Git commit 340b6591b2
2018-06-11 11:38:16 +00:00
Henrik Levkowetz b3ee0fe9c1 Merged in [15228] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_downref.
 - Legacy-Id: 15242
Note: SVN reference [15228] has been migrated to Git commit 3eeece797a
2018-06-10 21:28:19 +00:00
Henrik Levkowetz 4287b7651d Merged in [15227] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_conflict_review.
 - Legacy-Id: 15241
Note: SVN reference [15227] has been migrated to Git commit 67df7bd8cf
2018-06-10 18:36:42 +00:00
Henrik Levkowetz 05af647ebc Merged in [15226] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_charter.
 - Legacy-Id: 15240
Note: SVN reference [15226] has been migrated to Git commit 880dafdb24
2018-06-10 14:49:49 +00:00
Henrik Levkowetz dbe9211963 Tweaked unidecode_name() to not produce single-letter ascii surnames from non-ascii codepoints. The unidecode transliteration is in any case somewhat arbitrary, and in most cases a real person will tweak the ascii name of his account. When running tests, however, this tweak avoids some false test failures. And no, it's not simple to fix the draft author-extraction heuristics to deal well with single-letter surnames.
- Legacy-Id: 15239
2018-06-10 14:48:13 +00:00
Robert Sparks 340b6591b2 Use factories for ietf.doc.tests_status_change. Repair previous commit errors in ietf.doc.tests_material. Commit ready for merge.
- Legacy-Id: 15238
2018-06-09 22:16:26 +00:00
Robert Sparks a2fa0d6400 Use factories for ietf.doc.tests_material and ietf.doc.tests_review. Commit ready for merge.
- Legacy-Id: 15237
2018-06-09 21:20:37 +00:00
Henrik Levkowetz 5f7fb2e0bd Added a guard against trying to access attributes of a None object.
- Legacy-Id: 15236
2018-06-09 13:20:14 +00:00
Henrik Levkowetz 4c9903cd01 Merged in [15225] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_draft.
 - Legacy-Id: 15235
Note: SVN reference [15225] has been migrated to Git commit 6f011a3e56
2018-06-08 19:50:30 +00:00
Henrik Levkowetz b94f79e4b4 Set version info and settings back to development mode
- Legacy-Id: 15233
2018-06-08 16:05:31 +00:00
Henrik Levkowetz 87de2f0a21 Set version info to release version 6.81.2 before branching.
- Legacy-Id: 15231
2018-06-08 16:05:22 +00:00
Robert Sparks 3eeece797a Use factories for ietf.doc.tests_downref. Commit ready for merge.
- Legacy-Id: 15228
2018-06-08 14:42:45 +00:00
Robert Sparks 67df7bd8cf Use factories for ietf.doc.tests_conflict_review. Commit ready for merge.
- Legacy-Id: 15227
2018-06-08 00:13:00 +00:00
Robert Sparks 880dafdb24 Use factories for ietf.doc.tests_charter. Commit ready for merge.
- Legacy-Id: 15226
2018-06-07 23:50:27 +00:00
Robert Sparks 6f011a3e56 Use factories for ietf.doc.tests_draft. Commit ready for merge.
- Legacy-Id: 15225
2018-06-07 22:03:09 +00:00
Henrik Levkowetz b5cceedbb3 Merged in [15219] from rjsparks@nostrum.com:
Use factories for ietf.doc.tests_ballots. Fixed a long-hidden bug in test_edit_verify_permissions where non-existing usernames were used and passed the tests accidently. Added list_email to the GroupFactory.
 - Legacy-Id: 15224
Note: SVN reference [15219] has been migrated to Git commit dcf9e6b40f
2018-06-07 14:20:26 +00:00
Henrik Levkowetz 3c389969ec Merged in [15217] from rjsparks@nostrum.com:
Factoryalized the rest of ietf.doc.tests. Created draft type specific factories.
 - Legacy-Id: 15223
Note: SVN reference [15217] has been migrated to Git commit a064e28926
2018-06-07 10:09:05 +00:00