Commit graph

190 commits

Author SHA1 Message Date
Robert Sparks 4f99fef377 Provide a __unicode__ member for ImportantDate. Commit ready for merge.
- Legacy-Id: 15124
2018-05-04 18:16:28 +00:00
Robert Sparks c75b5e9386 Use importantdates for material submisssion cutoff and revision if they exist. Fixes #2514. Commit ready for merge.
- Legacy-Id: 15123
2018-05-04 18:01:49 +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 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 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
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
Adam Roach 2e8740cca8 Fixing 'href' field for https://datatracker.ietf.org/meeting/<meeting-num>/json. Commit ready for merge.
- Legacy-Id: 14844
2018-03-17 15:21:59 +00:00
Henrik Levkowetz 91ee536322 Renamed some datetime fields from 'time' to 'modified', to match their semantics, and changed them to use auto_now=True. This should fix an issue with outdated timestamps on some meeting-related objects.
- Legacy-Id: 14724
2018-03-03 14:44:58 +00:00
Henrik Levkowetz 1ed8e967e7 Merged in ^/personal/henrik/6.72.1-django-1.11@14676: Upgrade to Django 1.11
- Legacy-Id: 14695
2018-02-25 19:55:16 +00:00
Henrik Levkowetz dcbd28f048 Adjusted ordering for a number of meeting-related models to make the most relevant entries appear first in lists and drop-downs. Fixes issue #2457.
- Legacy-Id: 14694
2018-02-23 22:12:53 +00:00
Henrik Levkowetz 742ad090fc Changed the floorplan short string from 2 to 3 characters, in order to support things like London Hilton Metropole's level -3E, 3rd lower ground floor East.
- Legacy-Id: 14685
2018-02-22 22:40:56 +00:00
Henrik Levkowetz a4768bb514 Removed unused imports. Added some explicit orderings to avoid pagination issues.
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz 5638cf3da3 Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz 9369255764 In order to make it possible to enter meeting important dates and have the IESG see and approve them before they are generally visible, a flag has been added to the Meeting model, and code has been added to show the important dates as appropriate. A menu link to the important dates has also been added.
- Legacy-Id: 14315
2017-11-06 17:20:21 +00:00
Henrik Levkowetz bfce2d5c83 Tweaked the Meeting.days field type.
- Legacy-Id: 14241
2017-10-30 12:28:32 +00:00
Henrik Levkowetz 4f83548b49 Added a new field Meeting.days to capture the length of a meeting. This is necessary now that we have previous meetings officially starting Sunday, lasting to Friday, and future meetings starting Saturday, Lasting to Friday. We use Meeting.days to calculate Meeting.end_date(). Meeting.get_ietf_monday() and two cut_off() methods have also been updated to be instance methods instead of class methods, and to not assume that a meeting starts on Sunday.
- Legacy-Id: 14225
2017-10-25 13:38:15 +00:00
Henrik Levkowetz 1e7b906535 Fixed another place where updated logic is needed to get the current
meeting when we have multiple future meetings.  Fixes issue #2371.
 - Legacy-Id: 14120
2017-09-15 17:49:22 +00:00
Henrik Levkowetz 2de6855ccd Fixed a time arithmetics issue in meeting cutoff date methods
- Legacy-Id: 13966
2017-07-23 14:47:46 +00:00
Robert Sparks 2e6f26af23 Moves Important Dates into the datatracker. Fixes #2338. Commit ready for merge.
- Legacy-Id: 13957
2017-07-21 10:29:56 +00:00
Robert Sparks 68d70aaeb2 Show all the sessions for area groups in the proceedings. Fixes #2265. Commit ready for merge. Should be patched into production.
- Legacy-Id: 13830
2017-07-11 18:13:16 +00:00
Henrik Levkowetz a18cf20868 Removed code which has been marked as unreachable since February/March 2017 without triggering any usage indications.
- Legacy-Id: 13667
2017-06-17 17:54:40 +00:00
Henrik Levkowetz f75ec3622a A first go at adding floor labels to the agenda pages. The placement of the labels are complicated by available whitespace beeing in different horizontal positions for different types of lines. Adding another column will push the session title out of the screen on small devices.
- Legacy-Id: 13587
2017-06-12 21:00:08 +00:00
Henrik Levkowetz fb93a8c293 Added dates to unreachable() calls, to make it easier to decide when to remove marked code.
- Legacy-Id: 13538
2017-06-06 07:27:07 +00:00
Ryan Cross 9ba73e70a2 Fixes #2211. Session admin edit fails if no resources selected. Commit ready for merge.
- Legacy-Id: 13303
2017-05-10 19:04:11 +00:00
Henrik Levkowetz 3c6f00869f Dead code removal: meeting models and test_utils.
- Legacy-Id: 12965
2017-03-04 05:19:39 +00:00
Henrik Levkowetz 0745fac189 Undo commit
- Legacy-Id: 12963
2017-03-04 05:17:41 +00:00
Henrik Levkowetz 49ba774ae3 Updated unreachable() marking.
- Legacy-Id: 12962
2017-03-04 05:14:51 +00:00
Henrik Levkowetz 5bb5ca727b Created a special function log.unreachable() to mark code unreachable, and changed a function name from log.affirm() to log.assertion().
- Legacy-Id: 12933
2017-02-28 20:16:52 +00:00
Henrik Levkowetz 171a7be029 Removed an incorrect Unreachable Code mark.
- Legacy-Id: 12928
2017-02-28 05:08:03 +00:00
Henrik Levkowetz 10cac86165 Preparation for dead code removal: Marked probable dead code with affirm() statements which will signal if we ever reach that point in the code. If no signals seen, the marked functions/methods will be removed after one release cycle.
- Legacy-Id: 12926
2017-02-27 16:45:21 +00:00
Henrik Levkowetz ac9aa326ef Dead code removal: placement.py and related.
- Legacy-Id: 12924
2017-02-27 13:22:04 +00:00
Henrik Levkowetz 67b2fc1107 Extended the form fields used for duration to accept additional formats, including formats the secretariat are currently using, in order to avoid trouble with the TimedeltaField --> DurationField transition.
- Legacy-Id: 12598
2016-12-21 15:26:32 +00:00
Henrik Levkowetz 3d6b370c59 Upgraded custom TimedeltaFields to use the builtin DurationField from Django 1.8, and adjusted forms and initialization values accordingly.
- Legacy-Id: 12597
2016-12-20 22:56:34 +00:00
Henrik Levkowetz 14776bae70 Merged django18 work forward to r12447
- Legacy-Id: 12455
2016-12-05 15:03:40 +00:00
Henrik Levkowetz 0bb7854591 Merged django18 work forward to 6.39
- Legacy-Id: 12449
2016-12-05 14:01:25 +00:00
Henrik Levkowetz 2a9a7afd0b Added a link to the meetecho session recording (not the youtube conversion) on the IETF agenda page.
- Legacy-Id: 12430
2016-11-30 21:02:33 +00:00
Robert Sparks 2b0ec6df16 Fixed bug where slides from multiple sessions for a group were not all showing. Improved handling of multiple minutes and agendas for groups. Fixes #2058. Commit ready for merge. Commit should be patched into production.
- Legacy-Id: 12393
2016-11-23 17:09:53 +00:00
Robert Sparks 224999e948 Performance improvements for the proceedings page. Commit ready for merge.
- Legacy-Id: 12348
2016-11-14 12:37:04 +00:00
Robert Sparks 467ec82336 Added groups that did not meet to the proceedings. Commit ready for merge.
- Legacy-Id: 12329
2016-11-12 07:09:01 +00:00
Henrik Levkowetz 87e1339924 Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense.
- Legacy-Id: 12256
2016-11-03 20:13:44 +00:00
Henrik Levkowetz ca570ae355 Reverted an inadvertent commit of all changes.
- Legacy-Id: 12253
2016-11-03 20:10:09 +00:00
Henrik Levkowetz 276c9c1030 Removed use of the fix_ampersands() function.
- Legacy-Id: 12252
2016-11-03 20:08:44 +00:00
Henrik Levkowetz aec77c2385 Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz 534a8d3e12 Reverted last commit as it leads to test failures. Doubtful if these actually can occur in production, but tests will have to be re-written before using the added caching.
- Legacy-Id: 12220
2016-10-26 20:20:37 +00:00
Henrik Levkowetz e1cadcb119 Added caching to avoid calling the meat of each of the Session minutes(), recordings(), bluesheets(), slides(), drafts() methods more than once per session. This removes another 3*#sessions sql queries when the materials are all in place (less when the first invocation reurns nothing).
- Legacy-Id: 12219
2016-10-26 19:17:41 +00:00
Henrik Levkowetz af584c6a1f Removed caching of the materials page (edit buttons are different for different users), and used select_related() and code re-write to reduce the sql query count from ~1900 to ~600, query time from ~2s to ~0.5s. More can be done, but the page response time is more acceptable now.
- Legacy-Id: 12218
2016-10-26 19:06:06 +00:00
Henrik Levkowetz a6db502108 Removed some dead code.
- Legacy-Id: 12194
2016-10-21 13:58:36 +00:00
Henrik Levkowetz 20c9bc9e62 Reverted one instance of caching, as it seems schedules can change owners.
- Legacy-Id: 12138
2016-10-13 19:51:10 +00:00
Henrik Levkowetz de82a244fa Added some caching to methods which are called very often when showing the meeting schedule edit view.
- Legacy-Id: 12133
2016-10-13 18:40:26 +00:00
Henrik Levkowetz 23532102f8 Fixed room_name() to not fail when a timeslog has no location. Fixes a server 500 for agenda.json
- Legacy-Id: 12118
2016-10-12 14:17:22 +00:00