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
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
Henrik Levkowetz
f48669a8e4
Merged in [14884] from adam@nostrum.com:
...
Adding page count to last call page.
- Legacy-Id: 14907
Note: SVN reference [14884] has been migrated to Git commit e7b984dfa7
2018-03-24 15:09:50 +00:00
Henrik Levkowetz
92a82c3e72
Merged in [14883] from adam@nostrum.com:
...
Adding link to documents in last call to the AD dashboard side menu.
- Legacy-Id: 14906
Note: SVN reference [14883] has been migrated to Git commit 61c00a462a
2018-03-24 14:27:34 +00:00
Henrik Levkowetz
ec6424c9c4
Merged in [14882] from rjsparks@nostrum.com:
...
Replaced line that had mysteriously been deleted before commit. Sorry for the noise.
- Legacy-Id: 14905
Note: SVN reference [14882] has been migrated to Git commit 4a7cdf26d3
2018-03-24 13:39:49 +00:00
Henrik Levkowetz
bd205ae29b
Merged in [14849] from ben@nostrum.com:
...
Give ADs the red Clear Ballot button
- Legacy-Id: 14904
Note: SVN reference [14849] has been migrated to Git commit 7bf02077fd
2018-03-24 13:31:48 +00:00
Robert Sparks
1386a90de8
Test coverage improvements for ietf/secr/telechat/views. Commit ready for merge.
...
- Legacy-Id: 14902
2018-03-22 18:44:38 +00:00
Henrik Levkowetz
a485c74314
Merged in [14880] from rjsparks@nostrum.com:
...
Added a Draft test suite.
- Legacy-Id: 14901
Note: SVN reference [14880] has been migrated to Git commit e09a28cad2
2018-03-22 16:34:10 +00:00
Robert Sparks
79f2f5869f
Improvements to test coverage for ietf/secr/drafts/views.py. Commit ready for merge.
...
- Legacy-Id: 14900
2018-03-22 15:34:50 +00:00
Robert Sparks
8026f86cd3
Cleaner charter factory simplifies test code. Commit ready for merge.
...
- Legacy-Id: 14899
2018-03-22 14:01:24 +00:00
Henrik Levkowetz
c8ebcf1f88
Merged in [14879] from kivinen@iki.fi:
...
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents.
- Legacy-Id: 14898
Note: SVN reference [14879] has been migrated to Git commit 75dbe017a6
2018-03-22 00:01:57 +00:00
Henrik Levkowetz
ddbd244421
Tweaked the meeting registratoin import to deal more gracefully with too long names and email addresses, and to fill in the total attendees number for the meeting.
...
- Legacy-Id: 14897
2018-03-21 23:30:45 +00:00
Robert Sparks
f11907b6a0
Improved test coverage for ietf/doc/views_charter.py. Commit ready for merge.
...
- Legacy-Id: 14896
2018-03-21 21:59:45 +00:00
Henrik Levkowetz
0b0256c655
Set version info and settings back to development mode
...
- Legacy-Id: 14892
2018-03-21 10:59:08 +00:00
Henrik Levkowetz
6d580ed274
Set version info to release version 6.76.0 before branching.
...
- Legacy-Id: 14890
2018-03-21 10:58:59 +00:00
Adam Roach
e7b984dfa7
Adding page count to last call page. Commit ready for merge.
...
- Legacy-Id: 14884
2018-03-21 09:12:34 +00:00
Adam Roach
61c00a462a
Adding link to documents in last call to the AD dashboard side menu. Commit ready for merge
...
- Legacy-Id: 14883
2018-03-21 08:57:19 +00:00
Robert Sparks
4a7cdf26d3
Replaced line that had mysteriously been deleted before commit. Commit ready for merge. Sorry for the noise.
...
- Legacy-Id: 14882
2018-03-20 21:14:46 +00:00
Henrik Levkowetz
6499bdc7a8
Added a warnings ignore rule.
...
- Legacy-Id: 14881
2018-03-20 20:55:24 +00:00
Robert Sparks
e09a28cad2
Failed to add a file in a previous commit. Commit ready for merge.
...
- Legacy-Id: 14880
2018-03-20 18:21:37 +00:00
Tero Kivinen
75dbe017a6
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents. Commit ready for merge.
...
- Legacy-Id: 14879
2018-03-20 17:28:48 +00:00
Henrik Levkowetz
850aaa7a48
Merged in [14864] from rjsparks@nostrum.com:
...
Improved test coverage for ietf.meeting.views.
- Legacy-Id: 14878
Note: SVN reference [14864] has been migrated to Git commit 95af79ce7b
2018-03-20 16:31:15 +00:00
Henrik Levkowetz
2b1afa2fa2
Updated Note Well. Fixes issue 2474.
...
- Legacy-Id: 14876
2018-03-20 16:25:49 +00:00
Henrik Levkowetz
2354cc74d4
Tweaked person factory ascii name generation to not include periods inside names.
...
- Legacy-Id: 14875
2018-03-20 15:24:20 +00:00
Henrik Levkowetz
efb05a7f11
Tweaked a factory to make duplicate list names less likely
...
- Legacy-Id: 14874
2018-03-20 14:15:57 +00:00
Henrik Levkowetz
327ffb6559
Test data template tweak.
...
- Legacy-Id: 14873
2018-03-20 13:17:29 +00:00
Henrik Levkowetz
04495217bc
Merged in [14863] from rjsparks@nostrum.com:
...
Improved test coverage for ietf.utils.draft.
- Legacy-Id: 14872
Note: SVN reference [14863] has been migrated to Git commit 1d021770a8
2018-03-20 12:58:44 +00:00
Henrik Levkowetz
bccb7fb849
Merged in [14862] from rcross@amsl.com:
...
Add view for merge person records.
- Legacy-Id: 14871
Note: SVN reference [14862] has been migrated to Git commit 85f4861f9f
2018-03-20 12:31:34 +00:00
Henrik Levkowetz
57741de718
Merged in [14855] from rjsparks@nostrum.com:
...
Improved test coverage for ietf.meeting.views.
- Legacy-Id: 14870
Note: SVN reference [14855] has been migrated to Git commit 734072f572
2018-03-20 11:57:32 +00:00