Commit graph

9919 commits

Author SHA1 Message Date
Henrik Levkowetz 9c042b4f7d Tweaked the django_cprofile_middleware patch to use a query arg of psort instead of sort, to avoid conflict with app query args 'sort'.
- Legacy-Id: 15021
2018-04-06 21:21:41 +00:00
Henrik Levkowetz 248c2dd055 Added back the on-agenda calendar links to document lists, now in an implementation with better performance characteristics.
- Legacy-Id: 15020
2018-04-06 15:17:18 +00:00
Henrik Levkowetz 2bb5788a76 Updated minimum requirements for bootstrap3, to work with django 1.11
- Legacy-Id: 15019
2018-04-06 13:55:50 +00:00
Henrik Levkowetz 51f491ddf0 Tweaked settings to not try to patch missing dev libs.
- Legacy-Id: 15018
2018-04-05 20:41:36 +00:00
Henrik Levkowetz 583d8882c5 Fixed an issue where the change of slide naming between IETF 96 and 97 caused the datatracker to not provide correct link to pre-IETF-97 materials. Thanks to tjw.ietf@gmail.com for the heads-up.
- Legacy-Id: 15017
2018-04-05 20:34:56 +00:00
Henrik Levkowetz 6a32a363cc Merged in [15012] from ford@isoc.org:
Add IRTF State option to Additional Search Criteria pulldown.
 - Legacy-Id: 15016
Note: SVN reference [15012] has been migrated to Git commit cd912600e6
2018-04-05 14:50:40 +00:00
Henrik Levkowetz 18572cb536 Merged in [14970] from rjsparks@nostrum.com:
Factories for the ipr app. Coverage of ietf.ipr.views.ajax_search, and a factory-driven test of ietf.ipr.views.edit.
 - Legacy-Id: 15015
Note: SVN reference [14970] has been migrated to Git commit ce8f73fd9c
2018-04-05 13:52:09 +00:00
Henrik Levkowetz 493b8daccd Enhanced debug.py: made the mark() function indicate file and line number it was called from. Added if debug: conditions around some other function actions.
- Legacy-Id: 15014
2018-04-05 13:14:09 +00:00
Henrik Levkowetz 0ef7382f99 Merged in [15011] from ford@isoc.org:
Fix typo.
 - Legacy-Id: 15013
Note: SVN reference [15011] has been migrated to Git commit 56869d9be6
2018-04-05 12:37:36 +00:00
Mat Ford cd912600e6 Add IRTF State option to Additional Search Criteria pulldown. Commit ready for merge.
- Legacy-Id: 15012
2018-04-05 11:56:37 +00:00
Mat Ford 56869d9be6 Fix typo. Commit ready for merge.
- Legacy-Id: 15011
2018-04-05 11:49:56 +00:00
Henrik Levkowetz 421621eb51 Another round of iesg page optimizations. Reduced additional instances of individual lookups to a single lookup followed by annotation of document objects. Reduced several instances of repeating the same work multiple times (queries for telechat documents, queries for telechat dates).
- Legacy-Id: 15010
2018-04-05 11:03:26 +00:00
Henrik Levkowetz 67a17bb227 Fixed a number of tests to deal correctly with model method caching.
- Legacy-Id: 15009
2018-04-05 10:55:27 +00:00
Henrik Levkowetz bdd3f808c4 Fixed a typo
- Legacy-Id: 15008
2018-04-05 10:53:33 +00:00
Henrik Levkowetz 15d45b4d22 Changed the ballot_icon template tag to use an already found ballot if available, rather than doing lookups to find it (twice!).
- Legacy-Id: 15007
2018-04-04 17:12:08 +00:00
Henrik Levkowetz 1ec98fdd59 Added @memoize to two Document methods
- Legacy-Id: 15006
2018-04-04 17:10:06 +00:00
Henrik Levkowetz cc9ef7a5f5 Added a show_caller() method to debug.py
- Legacy-Id: 15005
2018-04-04 17:09:21 +00:00
Henrik Levkowetz 6d096e7f2a Added a patch for debug mode, to add a filtering option to the django-cprofile-middleware.
- Legacy-Id: 15004
2018-04-04 17:08:26 +00:00
Henrik Levkowetz 7d4cb5be59 Found additional pip versions that are broken. Limiting pip to 9.0.1 for now.
- Legacy-Id: 15003
2018-04-04 13:10:46 +00:00
Henrik Levkowetz d84b06fa02 Be more specific with bootstrap's layout classes for small devices in the base template, to avoid the bottom links and footer overlaying the bottom of the content area. Fixes a problem with entering login information on small devices.
- Legacy-Id: 15002
2018-04-02 21:06:30 +00:00
Henrik Levkowetz 215f99fb36 Set version info and settings back to development mode
- Legacy-Id: 15000
2018-04-02 11:55:26 +00:00
Henrik Levkowetz 6567666b6a Set version info to release version 6.77.1 before branching.
- Legacy-Id: 14998
2018-04-02 11:55:14 +00:00
Henrik Levkowetz 70a1af87f6 Changelog entry for 6.77.1
- Legacy-Id: 14997
2018-04-02 11:55:08 +00:00
Henrik Levkowetz fa97c783f7 Code coverage data for release 6.77.1
- Legacy-Id: 14996
2018-04-02 11:54:57 +00:00
Henrik Levkowetz ea0a4666d3 - Legacy-Id: 14995 2018-04-02 11:38:43 +00:00
Henrik Levkowetz 7545230ca5 Added an item for transition from bower to yarn. Some packages are phasing out bower support, and yarn is gaining wider acceptance as web asset package manager.
- Legacy-Id: 14994
2018-04-02 11:38:14 +00:00
Henrik Levkowetz 68cea6d523 Replaced an inline model method caching with a @memoize decorator.
- Legacy-Id: 14993
2018-04-02 11:18:55 +00:00
Henrik Levkowetz 7bb8ce55a6 Fixed an issue with the image cleanup at the end of docker/run
- Legacy-Id: 14992
2018-04-02 09:25:14 +00:00
Henrik Levkowetz f47e5ccf81 Updated requirement for decorator
- Legacy-Id: 14991
2018-04-02 09:24:24 +00:00
Henrik Levkowetz 43a9291053 Added an index for (doc, type) on DocEvent to speed up latest_event() queries.
- Legacy-Id: 14990
2018-04-01 19:33:16 +00:00
Henrik Levkowetz 4da044e2db Pyflakes fixes.
- Legacy-Id: 14989
2018-04-01 19:06:02 +00:00
Henrik Levkowetz 675c652052 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().
- Legacy-Id: 14988
2018-04-01 18:51:48 +00:00
Henrik Levkowetz 60a60de94b Replaced inline database lookups with get_active_ads().
- Legacy-Id: 14987
2018-04-01 18:38:50 +00:00
Henrik Levkowetz 8e97669dff Added a get_active_ads() utility function that uses the cache to reduce database access. Moved some utility functions so as to reduce import loops.
- Legacy-Id: 14986
2018-04-01 18:36:36 +00:00
Henrik Levkowetz db3a4eb20e Changed some instances of .slug to _id
- Legacy-Id: 14985
2018-04-01 18:32:27 +00:00
Henrik Levkowetz dde5cfb11e Added a profiling middleware to development settings, if found during django setup.
- Legacy-Id: 14984
2018-04-01 15:24:38 +00:00
Henrik Levkowetz 1bbe5cf9ef Added a guard to bin/mkpatch to avoid overwriting existing patches.
- Legacy-Id: 14983
2018-04-01 15:19:48 +00:00
Henrik Levkowetz ff196edc0c Set version info and settings back to development mode
- Legacy-Id: 14981
2018-03-30 19:12:14 +00:00
Henrik Levkowetz 92238d3e76 Set version info to release version 6.77.0 before branching.
- Legacy-Id: 14979
2018-03-30 19:12:02 +00:00
Henrik Levkowetz 9d389b0786 Changelog entry for 6.77.0
- Legacy-Id: 14978
2018-03-30 19:11:56 +00:00
Henrik Levkowetz 8cffb74497 Code coverage data for release 6.77.0
- Legacy-Id: 14977
2018-03-30 19:11:48 +00:00
Henrik Levkowetz 1132bc27bf Intermediate release coverage.
- Legacy-Id: 14976
2018-03-30 18:48:48 +00:00
Henrik Levkowetz 189cb2a2f9 Added another check to test_api_set_session_video_url()
- Legacy-Id: 14974
2018-03-30 18:21:57 +00:00
Henrik Levkowetz 934c884f4d Migration to match the new endpoint choice avilable in the PersonalApiKey model.
- Legacy-Id: 14973
2018-03-30 15:11:20 +00:00
Henrik Levkowetz d53c6e5779 Updated bower-managed static web assets
- Legacy-Id: 14972
2018-03-30 15:07:58 +00:00
Henrik Levkowetz 85279445d3 Added a menu link to API information. Tweaked a menu item text.
- Legacy-Id: 14971
2018-03-30 15:06:19 +00:00
Robert Sparks ce8f73fd9c Factories for the ipr app. Coverage of ietf.ipr.views.ajax_search, and a factory-driven test of ietf.ipr.views.edit. Commit ready for merge.
- Legacy-Id: 14970
2018-03-29 15:29:55 +00:00
Henrik Levkowetz a1c79a075d Merged in ^/personal/henrik/6.76.1-meetecho-api/ which provides new API endpoint to let video urls be associated with sessions. Also added some more checks to the test_api_set_session_video_url() test.
- Legacy-Id: 14969
2018-03-29 15:25:36 +00:00
Henrik Levkowetz 2b5315f89e Fixed a typo.
- Legacy-Id: 14968
2018-03-29 11:06:14 +00:00
Henrik Levkowetz e8f999dc07 Added an API endpoint to let Meetech associate recording urls with sessions.
- Legacy-Id: 14967
2018-03-29 11:04:47 +00:00