Commit graph

8205 commits

Author SHA1 Message Date
Ole Laursen 19a3f10f69 Fix bug in telechat code, a previous rewrite to fix a possible problem
was misguided - we should always only look at the latest telechat
event
 - Legacy-Id: 12265
2016-11-03 23:43:01 +00:00
Ole Laursen ac1b93a8a2 Base the assignment checks on persons rather than email addresses -
otherwise people may use a new email address and not be caught in a
check
 - Legacy-Id: 12264
2016-11-03 21:01:41 +00:00
Henrik Levkowetz 90bf63f01e Fixed the import path for formtools.
- Legacy-Id: 12263
2016-11-03 20:54:35 +00:00
Henrik Levkowetz c05d53da09 Fixed the import path for some template classes.
- Legacy-Id: 12262
2016-11-03 20:52:02 +00:00
Henrik Levkowetz 8d1aca19cc Rewrote the template coverage loader function to a proper template loader class.
- Legacy-Id: 12261
2016-11-03 20:51:06 +00:00
Henrik Levkowetz f690333ea3 Formtools has been moved from django.contrib to an external package. Add it to requirements.
- Legacy-Id: 12260
2016-11-03 20:50:10 +00:00
Henrik Levkowetz f7cf00b7ec Use get_or_create when creating test data, to avoid duplicate key warnings.
- Legacy-Id: 12259
2016-11-03 20:48:38 +00:00
Henrik Levkowetz 4f2eb07fa7 Updated proceedings_templates fixture.
- Legacy-Id: 12258
2016-11-03 20:47:14 +00:00
Ole Laursen 7461409f7f Fix bug in suggestion algorithm, it was pruning suggestions with
review requests from all teams, not just the team under consideration
 - Legacy-Id: 12257
2016-11-03 20:31:44 +00:00
Henrik Levkowetz 87e1339924 Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense.
- Legacy-Id: 12256
2016-11-03 20:13:44 +00:00
Ole Laursen 010c20801e When importing next reviewer, set it to the reviewer following the one
that the old tool was pointing to, as it was pointing to the
last one having completed a review (despite being named next)
 - Legacy-Id: 12255
2016-11-03 20:13:00 +00:00
Henrik Levkowetz cfe4d2f6aa Removed use of the fix_ampersands() function.
- Legacy-Id: 12254
2016-11-03 20:11:49 +00:00
Henrik Levkowetz ca570ae355 Reverted an inadvertent commit of all changes.
- Legacy-Id: 12253
2016-11-03 20:10:09 +00:00
Henrik Levkowetz 276c9c1030 Removed use of the fix_ampersands() function.
- Legacy-Id: 12252
2016-11-03 20:08:44 +00:00
Henrik Levkowetz 7b6407dfed Rewrote the test runner command-line switch declarations to use parser.add_argument() instead of the now unsupported option_list class attribute.
- Legacy-Id: 12251
2016-11-03 20:07:22 +00:00
Henrik Levkowetz 1813fa8aa7 Changed requirements to the latest Django 1.8 release.
- Legacy-Id: 12250
2016-11-03 20:05:14 +00:00
Ole Laursen b16a829ec7 Modify review import to read result data for genart from an extra dataset
- Legacy-Id: 12248
2016-11-03 12:49:50 +00:00
Ole Laursen 54bc9ff596 Modify importer to close review requests for done documents as status
"Unknown" instead of auto-closing those where the IESG state is
further in the process on - this seems to leave more requests in
genart open, but hopefully the extra data for genart will fix this
problem shortly.
 - Legacy-Id: 12247
2016-11-02 16:58:03 +00:00
Ole Laursen 67e6423cb4 Modify importer to pick deadline from documents when there's an exact
match, otherwise prefer what's stored with the review request (fixes
a bunch of cases with multiple reviews of the same draft)
 - Legacy-Id: 12246
2016-11-02 12:37:47 +00:00
Ole Laursen b9d5352afd Display the reviewed revision in reviewer overview page
- Legacy-Id: 12245
2016-11-02 11:33:25 +00:00
Ole Laursen 70dfb760cb Don't import reviewer roles for completely unavailable reviewers who were marked as away until after 2020
- Legacy-Id: 12244
2016-11-01 20:57:34 +00:00
Henrik Levkowetz ec3723f875 Made the svn and libsvn symlinking code more robust against bad settings.
- Legacy-Id: 12243
2016-10-31 16:12:40 +00:00
Henrik Levkowetz 288d211ca1 Made doc.views_stat.make_title() more robust against inconsistent query arguments.
- Legacy-Id: 12242
2016-10-30 18:16:52 +00:00
Henrik Levkowetz db203a53cb Fixed typo
- Legacy-Id: 12241
2016-10-30 18:15:22 +00:00
Henrik Levkowetz 1d6853037e Updated the create_group_wikis management command with additional switches to make it easier to do test deployment of individual wikis.
- Legacy-Id: 12240
2016-10-30 18:10:41 +00:00
Henrik Levkowetz 4ab2fe53cb Don't run ietf.checks.* more than once per invocation (under Django 1.7, these can be run more times than there are apps with migrations, posibly as many times as twice that number).
- Legacy-Id: 12239
2016-10-30 18:08:52 +00:00
Henrik Levkowetz 6e46de45d4 Tweaked debug.py
- Legacy-Id: 12238
2016-10-30 18:02:13 +00:00
Henrik Levkowetz 0d62fdeb23 Set version info and settings back to development mode
- Legacy-Id: 12236
2016-10-30 12:15:42 +00:00
Henrik Levkowetz 9c818093b0 Set version info to release version 6.37.0 before branching.
- Legacy-Id: 12234
2016-10-30 12:15:33 +00:00
Henrik Levkowetz f08d089eab Changelog entry for 6.37.0
- Legacy-Id: 12233
2016-10-30 12:15:27 +00:00
Henrik Levkowetz 89ab91b2a8 Code coverage data for release 6.37.0
- Legacy-Id: 12232
2016-10-30 12:15:18 +00:00
Henrik Levkowetz bebc074b29 Changelog information for 6.37.0
- Legacy-Id: 12231
2016-10-29 11:47:56 +00:00
Henrik Levkowetz 21dfc19441 Added some logging to wsgi.py, to show the virtualenv settings being used.
- Legacy-Id: 12230
2016-10-29 11:44:00 +00:00
Henrik Levkowetz 47681c5924 Tweaks to settings.py, adding information about the use of some settings.
- Legacy-Id: 12229
2016-10-29 11:41:22 +00:00
Henrik Levkowetz 2b2abdbc29 Merged in [12213] from rcross@amsl.com:
Fix bug where interim announcement form was initialized with lists instead of strings.
 - Legacy-Id: 12228
Note: SVN reference [12213] has been migrated to Git commit ab945b16e5
2016-10-29 10:56:34 +00:00
Henrik Levkowetz 1c5fb1366a Added sqlparse to requirements.
- Legacy-Id: 12227
2016-10-28 17:34:36 +00:00
Henrik Levkowetz aec77c2385 Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz a1934d1713 Refined the sql debug view at the bottom of each page. Added a column showing the WHERE clause, as that is quite helpful in working out where a given query is coming from. Added an sql_debug template variable to make it easier to switch between the sql debug view and using the django-debug-toolbar.
- Legacy-Id: 12225
2016-10-28 16:46:05 +00:00
Henrik Levkowetz c6177d4f92 Added call duration information to the @debug.trace decorator.
- Legacy-Id: 12224
2016-10-28 16:41:59 +00:00
Ole Laursen 77d7d8b236 Add totals to review statistics tables and make it possible to select
multiple teams in the graph and get accumulated counts shown
 - Legacy-Id: 12223
2016-10-27 21:36:02 +00:00
Henrik Levkowetz 0aabc4b96c Updated installation instructions
- Legacy-Id: 12222
2016-10-27 11:37:12 +00:00
Henrik Levkowetz 7f9fa7b02a Tweaked SQL a debug table header.
- Legacy-Id: 12221
2016-10-26 20:21:09 +00:00
Henrik Levkowetz 534a8d3e12 Reverted last commit as it leads to test failures. Doubtful if these actually can occur in production, but tests will have to be re-written before using the added caching.
- Legacy-Id: 12220
2016-10-26 20:20:37 +00:00
Henrik Levkowetz e1cadcb119 Added caching to avoid calling the meat of each of the Session minutes(), recordings(), bluesheets(), slides(), drafts() methods more than once per session. This removes another 3*#sessions sql queries when the materials are all in place (less when the first invocation reurns nothing).
- Legacy-Id: 12219
2016-10-26 19:17:41 +00:00
Henrik Levkowetz af584c6a1f Removed caching of the materials page (edit buttons are different for different users), and used select_related() and code re-write to reduce the sql query count from ~1900 to ~600, query time from ~2s to ~0.5s. More can be done, but the page response time is more acceptable now.
- Legacy-Id: 12218
2016-10-26 19:06:06 +00:00
Henrik Levkowetz 681395ff8e Added a column to the debug view of sql queries which indicate whether a query originated in view code or template rendering.
- Legacy-Id: 12217
2016-10-26 18:49:58 +00:00
Henrik Levkowetz 5c6f0c748b Removed the pip.conf file; not needed when we back away from using system-site-packages.
- Legacy-Id: 12216
2016-10-26 18:44:10 +00:00
Ole Laursen 3835532d71 Insert iconic link to review statistics from the team pages
- Legacy-Id: 12215
2016-10-26 13:35:32 +00:00
Henrik Levkowetz 6a905897f8 Fixed a bad link to uploaded session agendas.
- Legacy-Id: 12214
2016-10-25 21:38:46 +00:00
Ryan Cross ab945b16e5 Fix bug where interim announcement form was initialized with lists instead of strings. Commit ready for merge
- Legacy-Id: 12213
2016-10-25 20:25:54 +00:00