Henrik Levkowetz
39d6dee878
Fixed various html issues.
...
- Legacy-Id: 15032
2018-04-08 15:56:33 +00:00
Henrik Levkowetz
33e7be35e3
Added more information about personal API keys to the API help page.
...
- Legacy-Id: 15031
2018-04-08 13:24:14 +00:00
Henrik Levkowetz
a96c6c4c5b
Tweaked the test runner to more consistently force the test coverage tests to be run last.
...
- Legacy-Id: 15030
2018-04-08 12:42:03 +00:00
Henrik Levkowetz
ea7728b501
Changed calls to .related_that*() and .relations_that*() to use tuples rather than lists (a slight optimization).
...
- Legacy-Id: 15029
2018-04-07 10:47:16 +00:00
Henrik Levkowetz
9e51072bbe
Silenced another deprecation warning from a library.
...
- Legacy-Id: 15028
2018-04-07 10:45:30 +00:00
Henrik Levkowetz
bac162d0d0
Reduced the max number of results returned by document searches from 500 to 200, for a better user experience. A faster return and a search term tweak to pinpoint the desired search result is better than a long wait and then maybe having to tweak the search terms anyway.
...
- Legacy-Id: 15027
2018-04-07 10:12:13 +00:00
Henrik Levkowetz
9bd18df83b
Use .assertIn(...) in tests instead of .assertTrue(x in y) as the failure messages are much more informative
...
- Legacy-Id: 15026
2018-04-07 10:09:07 +00:00
Henrik Levkowetz
96e4059e43
Undid some memoization; these values can change during an object's lifetime.
...
- Legacy-Id: 15025
2018-04-07 10:07:57 +00:00
Henrik Levkowetz
5446ae642a
Changed the signature of some document methods to not accept lists (but still accept tuples) in order to make caching possible. Added @memoize to some methods.
...
- Legacy-Id: 15024
2018-04-06 21:25:56 +00:00
Henrik Levkowetz
d44c2dc92c
Added another prefetch to search doc query results.
...
- Legacy-Id: 15023
2018-04-06 21:24:07 +00:00
Henrik Levkowetz
6b27daa58a
Imposed sort order (most recent docs first) on document search results, in order to retain the most recent docs in case we have to chop the result list due too many hits.
...
- Legacy-Id: 15022
2018-04-06 21:23:14 +00:00
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