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
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
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
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
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
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
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
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
68cea6d523
Replaced an inline model method caching with a @memoize decorator.
...
- Legacy-Id: 14993
2018-04-02 11:18:55 +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
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
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
e8f999dc07
Added an API endpoint to let Meetech associate recording urls with sessions.
...
- Legacy-Id: 14967
2018-03-29 11:04:47 +00:00
Henrik Levkowetz
0ef66ae9e2
Added optional arguments title and user to create_recording(), to make it possible to affect those attributes.
...
- Legacy-Id: 14966
2018-03-29 11:02:58 +00:00
Henrik Levkowetz
e33afadcb7
Updated the names fixture with Recording Manager and Trac Editor role, plus some incidental changes.
...
- Legacy-Id: 14965
2018-03-29 11:01:24 +00:00
Henrik Levkowetz
496da66fc1
Added a new role 'Recording Manager'.
...
- Legacy-Id: 14964
2018-03-29 10:58:04 +00:00
Henrik Levkowetz
fdc996c792
Added another warnings filter item for a library issue.
...
- Legacy-Id: 14963
2018-03-29 10:50:23 +00:00
Henrik Levkowetz
8187339020
Set version info and settings back to development mode
...
- Legacy-Id: 14960
2018-03-28 20:55:09 +00:00
Henrik Levkowetz
07eb171ada
Set version info to release version 6.76.2 before branching.
...
- Legacy-Id: 14958
2018-03-28 20:55:00 +00:00
Henrik Levkowetz
db35af87ad
Fixed an issue which could result in server 500 errors for paths like /meeting/99/session/plenary.
...
- Legacy-Id: 14955
2018-03-28 12:58:04 +00:00
Henrik Levkowetz
d6a709f069
Stats submenu tweak.
...
- Legacy-Id: 14954
2018-03-28 06:43:31 +00:00