datatracker/ietf/utils
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
..
management Tweaked the wording of coverage_changes output. 2018-04-17 11:35:36 +00:00
migrations Got rid of old migrations and created new initial migrations. 2018-02-21 23:46:22 +00:00
templatetags Included django.utils.html.escape() in the linkify() code, and removed it from various templates, to make sure escape is consistently applied before linkify. Fixes issue #2492. 2018-04-09 16:36:07 +00:00
.gitignore * Moved utility functions into utils/ directory, and started breaking out 2007-05-11 15:48:45 +00:00
__init__.py Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules. 2014-03-16 07:09:38 +00:00
accesstoken.py Rename unique key to random key as it is not really unique, add function for generating an access token from the key 2013-11-15 16:07:10 +00:00
admin.py Added a test to check for missing admin models, and added the admin models that were currently missing. 2017-08-01 14:00:29 +00:00
aliases.py Changed the signature of ietf.utils.aliases.dump_sublist() to include a list of the alias domains, in order to be able to generate IRTF group aliases @irtf.org. Updated ietf/bin/generate-*-aliases accordingly. 2017-04-12 18:51:38 +00:00
bootstrap.py Changed some instances of error strings from ascii to unicode in order to avoid problems with unicode error messages, such as the file size indications generated by django.template.defaultfilters.filesizeformat(). 2016-05-22 14:40:37 +00:00
bower_storage.py Cleaned up bower_storage a bit. 2015-08-01 15:03:40 +00:00
crawlurls.txt Put a proper command-line interface on the test crawler, spit out number of errors (if any), also add wrapper script for running the test-crawler and idindex generation scripts, in the future other (safe, non-mutating) scripts operating on real data can be added too 2014-01-12 16:55:42 +00:00
decorators.py Additional changes to speed up the IESG agenda docs page: Changed telechat_page_count() to accept a list of documents if that's already been generated, to avoid double work. Changed the reviewed_by_teams list to provide acronyms directly, to avoid group lookups during template rendering. Provided page counts directly to the template instead of repeated (costly) filtering through telechat_page_count, with new document lookups. Removed the telechat_page_count template filter, due to its cost. Tweaked some lookups in fill_in_document_table_attributes() . Added to the select_related() list for documents in IESG agenda_documents(). 2018-04-01 18:51:48 +00:00
draft.py Merged in [14880] from rjsparks@nostrum.com: 2018-03-22 16:34:10 +00:00
draft_search.py Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py 2007-07-04 21:17:57 +00:00
fields.py Fixed some pyflakes and form initialization issues with the upgrade to DurationField. 2016-12-21 17:03:39 +00:00
history.py Updated comment text 2018-05-05 12:49:39 +00:00
html.py Merged in [15267] from rcross@amsl.com: 2018-06-19 21:23:35 +00:00
log.py Fixed an issue with the scope of the logfunc variable in production. 2017-07-03 14:03:53 +00:00
mail.py Merged in [15282] from housley@vigilsec.com: 2018-07-10 17:16:47 +00:00
markup_txt.py Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies. 2017-12-08 21:51:11 +00:00
models.py Added proxy ForeignKey and OneToOneField classes which set the now required on_delete parameter on the fields to the legacy value. 2018-02-20 15:33:20 +00:00
ordereddict.py Summary: Fix comment on insert_after_in_ordered_dict 2015-01-22 17:42:52 +00:00
pdf.py Summary: Make the meeting agenda code use the historic info available 2015-06-17 13:37:16 +00:00
pipe.py Added a missing string format parmameter. 2016-10-11 12:53:14 +00:00
resources.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
serialize.py Dump redacted events in DeletedEvent table 2012-11-07 14:59:17 +00:00
storage.py Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking). 2016-09-08 14:48:59 +00:00
test_data.py This commit replaces the code defined group features with features held 2018-07-12 10:51:48 +00:00
test_runner.py Tweaked the test runner to more consistently force the test coverage tests to be run last. 2018-04-08 12:42:03 +00:00
test_smtpserver.py Refactored draft submission checks so that new checkers can be slotted in through a configuration in settings.py. Refactored the calling of idnits to use the new API, and added a pyang validation check. 2016-03-04 20:08:29 +00:00
test_utils.py Added a new TestCase assertion: assertMailboxContains(), to be able to better express some test cases. 2017-09-19 19:47:48 +00:00
tests.py Merged in ^/personal/henrik/6.79.1-gdpr@15180 containing GDPR-adaptations. 2018-05-28 11:26:24 +00:00
tests_restapi.py Updated some tests to match api views refactoring. 2017-11-03 16:42:09 +00:00
texescape.py Added TeX escaping utility functions and template filters. Removed 2018-02-27 18:15:21 +00:00
text.py Added TeX escaping utility functions and template filters. Removed 2018-02-27 18:15:21 +00:00
textupload.py Some refactoring of the agenda and minutes validation work. 2017-07-13 10:42:48 +00:00
timezone.py Fixed a time arithmetics issue in meeting cutoff date methods 2017-07-23 14:47:46 +00:00
urls.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
validators.py Fixed a bug in a RegexValidator error message string interpolation. 2018-03-17 13:09:58 +00:00