Commit graph

8080 commits

Author SHA1 Message Date
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
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
Henrik Levkowetz a5d1266834 Removed superfluous stats pages headers which would be repeated with different layout on the next line, as part of the graphs.
- Legacy-Id: 14953
2018-03-28 06:39:16 +00:00
Henrik Levkowetz 010910a847 Tweaked the meeting date format in the attendees per meeting bargraph tooltip.
- Legacy-Id: 14952
2018-03-28 06:37:31 +00:00
Henrik Levkowetz 9547646f81 Added a test for IPR edit.
- Legacy-Id: 14951
2018-03-27 17:55:11 +00:00
Henrik Levkowetz e830f0f976 Fill in the IPR edit form, section V, with patent information derived from the patent_info field, the same way we do for the IPR update form.
- Legacy-Id: 14950
2018-03-27 10:40:59 +00:00
Henrik Levkowetz 76404ceb4b Don't show links to individual meeting stats pages when there's no content (meeting 71 and earlier currently has no attendance records).
- Legacy-Id: 14948
2018-03-26 23:05:43 +00:00
Henrik Levkowetz 176022f57b Added meeting dates to the meeting stats overview graph.
- Legacy-Id: 14947
2018-03-26 22:58:14 +00:00
Henrik Levkowetz dac30f6ff7 Changed the name of a loop variable so as not to obscure a previous local variable.
- Legacy-Id: 14946
2018-03-26 21:42:10 +00:00
Henrik Levkowetz 68f64e9ecb Don't show future meetings in the meeting stats overview.
- Legacy-Id: 14945
2018-03-26 21:39:41 +00:00
Henrik Levkowetz 23b8a3bba5 Settings tweak.
- Legacy-Id: 14944
2018-03-26 21:26:55 +00:00
Henrik Levkowetz 4c297ba4c0 Changed settings so that cache keys used by memcached includes the release version, in order to avoid stale and incorrect cache content on new release deployment. Made it easier to pick out cache key composition by normalizing the variable name. Adjusted cache prefix and the composition of some keys to have a unique and consistent cache key prefix.
- Legacy-Id: 14943
2018-03-26 21:26:20 +00:00
Henrik Levkowetz 7e7fadb75e Use the actual defaults from settings.py when showing the defaults on /accounts/settings/.
- Legacy-Id: 14941
2018-03-26 17:10:28 +00:00
Henrik Levkowetz 8a4406bd81 Set version info and settings back to development mode
- Legacy-Id: 14937
2018-03-26 13:38:40 +00:00
Henrik Levkowetz a6abb6be97 Set version info to release version 6.76.1 before branching.
- Legacy-Id: 14935
2018-03-26 13:38:30 +00:00
Henrik Levkowetz 2b4011c34b Adjusted the meeting attendees migration to match the updated model.
- Legacy-Id: 14932
2018-03-26 13:11:56 +00:00
Henrik Levkowetz 047376becf Updated bower-managed static web assets
- Legacy-Id: 14931
2018-03-26 13:06:00 +00:00
Henrik Levkowetz 4b05b7b88b Fixed some issues with agenda and proceedings code for meetings numbered 64 and below, actualized by the introduction of meeting records for such meetings.
- Legacy-Id: 14918
2018-03-25 11:01:37 +00:00
Henrik Levkowetz a7a195abcc The template filter keep_spacing can interact badly with wordwrap. Removed it from several places, and made text document display more consistent. Fixes issue #2481.
- Legacy-Id: 14917
2018-03-25 07:12:31 +00:00
Henrik Levkowetz 4e5050a6e1 Merged in [14902] from rjsparks@nostrum.com:
Test coverage improvements for ietf/secr/telechat/views.
 - Legacy-Id: 14916
Note: SVN reference [14902] has been migrated to Git commit 1386a90de8
2018-03-25 00:18:44 +00:00
Henrik Levkowetz 70b2cb5841 Merged in [14900] from rjsparks@nostrum.com:
Improvements to test coverage for ietf/secr/drafts/views.py.
 - Legacy-Id: 14915
Note: SVN reference [14900] has been migrated to Git commit 79f2f5869f
2018-03-24 22:06:39 +00:00
Henrik Levkowetz c0eb9e3aa6 Merged in [14899] from rjsparks@nostrum.com:
Cleaner charter factory simplifies test code.
 - Legacy-Id: 14914
Note: SVN reference [14899] has been migrated to Git commit 8026f86cd3
2018-03-24 21:24:03 +00:00
Henrik Levkowetz 56b22f3fec Added submenu to the Statistics menu entry, pointing at the individual stats pages, and entries for NomComs and Releases.
- Legacy-Id: 14913
2018-03-24 20:47:54 +00:00
Henrik Levkowetz cc717946f5 Merged in [14896] from rjsparks@nostrum.com:
Improved test coverage for ietf/doc/views_charter.py.
 - Legacy-Id: 14912
Note: SVN reference [14896] has been migrated to Git commit f11907b6a0
2018-03-24 17:54:14 +00:00
Henrik Levkowetz 7f45745af9 Fixed the base template to have id='content' for the content also when not showing the left-hand menu.
- Legacy-Id: 14911
2018-03-24 17:53:37 +00:00
Henrik Levkowetz 78e6707c3a Updated the cookies tests to match the new left_menu default.
- Legacy-Id: 14910
2018-03-24 15:51:31 +00:00
Henrik Levkowetz ad022f42d4 Changed the default setting for the datatracker left-hand menu to 'off'. The top menu is always present, and works well.
- Legacy-Id: 14909
2018-03-24 15:30:51 +00:00
Henrik Levkowetz 6d5f604d5b Tweaked the document list iCalendar links to not show for presentations on days in the past.
- Legacy-Id: 14908
2018-03-24 15:29:10 +00:00