Commit graph

33 commits

Author SHA1 Message Date
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Michael Lee 76b254f3d8 Fix agenda.html
- Legacy-Id: 654
2007-06-26 17:40:29 +00:00
Michael Lee 342a9fa633 Remove ztrain area name for training sessions
- Legacy-Id: 553
2007-06-20 12:59:08 +00:00
Henrik Levkowetz 7349cc3329 Reverting some additional quick-fixes.
- Legacy-Id: 552
2007-06-20 09:23:02 +00:00
Michael Lee 271e7ff6a5 Fix meeting agenda
- Legacy-Id: 551
2007-06-20 06:18:39 +00:00
Henrik Levkowetz 6737d9392c Template and model fixes for the agenda. The model fixes really should be fixed in the database instead -- what's the sense in having the break names in the database so you can change the if you hardcode the names in the code when you need to change them ??
- Legacy-Id: 548
2007-06-20 01:44:13 +00:00
Henrik Levkowetz 64c0a771d0 Fix 'Morning Beverages' --> 'Continental Breakafast'
- Legacy-Id: 547
2007-06-20 00:50:31 +00:00
Henrik Levkowetz d6a31b4f7f Provide and use an acronym_lower() method so sorting works as expected.
- Legacy-Id: 540
2007-06-19 21:05:19 +00:00
Michael Lee 81ed8b20db Fix buildbot errors, 28, 29, 30
- Legacy-Id: 534
2007-06-19 17:54:09 +00:00
Henrik Levkowetz 2f8f7742a4 Improved fix to the first undefined symbol problem in proceedings/models.py (Bills original fix in [213] reinstated)
- Legacy-Id: 237
Note: SVN reference [213] has been migrated to Git commit 01f0baaf56
2007-06-05 17:30:22 +00:00
Henrik Levkowetz 888418a14f Fixed two instances of undefined symbols in proceedings/models.py
- Legacy-Id: 236
2007-06-05 17:06:31 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
comimom b73efa811a Complete Meeting Materials page
* Tested with IETF 67 and 68 data.
 * For testing, c_sub_cut_off_date should set to future date, otherwise a Closed page will show.
 - Legacy-Id: 228
2007-06-04 19:52:52 +00:00
Bill Fenner 01f0baaf56 Fix some undefined names reported by pyflakes
- Legacy-Id: 213
2007-06-02 01:12:41 +00:00
Bill Fenner 949bc0cbb8 Oops, a unique_together of the first two fields is wrong, since
there are two ADs per area, and of the three fields doesn't add
anything real, so just don't try to make it unique.
 - Legacy-Id: 207
2007-06-01 18:10:50 +00:00
Bill Fenner e452d4b89d IESGHistory needs to have a single primary key. Will add to
[wiki:Models] page.
 - Legacy-Id: 206
2007-06-01 18:04:35 +00:00
Michael Lee 27edcb2b3e * Add meeting materials list page
* For testing, the page lists meeting materials regardless the submission cut off date.
 * Need to add Training sessions, IRTF RGs, and Interim WGs
 - Legacy-Id: 203
2007-06-01 04:10:39 +00:00
Michael Lee 1c9bf9b1ca meeting_agenda_html.cgi porting has been completed.
* Add a new method, affiliation to idtracker/models.py, in class PersonOrOrgInfo
 * Agenda for the Plenaries should be stored in /home/master-site/proceedings directory to be displayed.
 * Bug found in listing ADs at the end of the agenda. An agenda always lists the current IESG instead of the IESG at each meeting. Bug is fixed in the ported tool.
 * meeting_agenda_text.cgi was obsolete, but ported anyway in case someone still has it bookmarked.
 - Legacy-Id: 182
2007-05-30 13:47:09 +00:00
Bill Fenner 0eb450cab7 Finish the poorly-thought-through and poorly-implemented
GroupIETF->IETFWG rename.
 - Legacy-Id: 179
2007-05-29 13:39:32 +00:00
Bill Fenner 38c07bacf1 We don't actually use GroupIETF here, so don't try to import it.
(This is actually preparation for renaming it.)
 - Legacy-Id: 175
2007-05-28 18:38:08 +00:00
Michael Lee 959274e048 * Add links to WG charters and agenda files
* Add special note
 * Need to display combined sessions
 - Legacy-Id: 167
2007-05-25 04:12:17 +00:00
Bill Fenner 2d3bbede29 Allow day_id to be NULL, since breakfast time is stored that way.
Expand the sessions() helper function in MeetingTime to iterate over
the sessions and set the room_id helper attribute to the correct room.
This means that for the list returned by sessions(), s.room_id is the
correct room for this time.  It also changes the return value from
a QuerySet to a list, so you can't filter it further like a QuerySet -
but I don't think anything is using this functionality.

I didn't do the same for combined_sessions because I don't actually
know what that's used for - if it should be part of sessions, or
if it's even used.
 - Legacy-Id: 157
2007-05-23 17:22:16 +00:00
Bill Fenner 5528a04cd9 Use get() instead of filter()[0]. This results in a better exception
on failure (DoesNotExist instead of IndexError).

Call the database query once and store it in a temp variable instead
of doing the same query twice.

Handle day_id=NULL for the morning beverages/breakfast time.

Use the DoesNotExist exception instead of a generic except: for
the area - except: is likely to hide things that you didn't expect.
 - Legacy-Id: 156
2007-05-23 16:56:07 +00:00
Henrik Levkowetz fca8b30b51 The 'area' returned from the AreaGroup.objects is itself a foreign key,
which means we need to look up area_acronym, but that's also a foreign
key, so again we look up the value we want: acronym.  Simply doing
dictsort in the template on area would sort on the FK, I assume --
at least it didn't resolve things to 3 levels, each time looking up the
key we were interested in...
 - Legacy-Id: 151
2007-05-22 21:50:42 +00:00
Michael Lee b2f8368971 Need to order WG sessions by area
- Legacy-Id: 150
2007-05-22 20:27:36 +00:00
Michael Lee 68970cb597 Two new methods have been added to proceedings/models.py to display meeting dates
- Legacy-Id: 141
2007-05-21 15:35:15 +00:00
Michael Lee 8b2e90f212 * Display more session data
* Add 'area' to class ResolveAcronym
 * MeetingTime.session returns WgMeetingSession objects, BUT STILL NEED TO FIGURE OUT WHICH sched_room_id[1|2|3] TO USE
 - Legacy-Id: 137
2007-05-17 04:43:21 +00:00
Michael Lee 9e5d36c1d1 * Roll back WgMeetingSession.group_acronym_id per Bill
* add a method, acronym_name to ResolveAcronym
 * Sunday sessions displaying is done
 * Need to figure out how to increment date by one day in a template
 - Legacy-Id: 135
2007-05-16 04:32:17 +00:00
Michael Lee 1e1a2bb989 Display Meeting Agenda for Sunday
- Legacy-Id: 132
2007-05-15 05:02:03 +00:00
Bill Fenner 2edecd6f0d Reindent NonSession.
Give NonSession a __str__ to try to help understand what is in it.
 - Legacy-Id: 125
2007-05-10 22:11:35 +00:00
Vidyut Luther 783ffb713d - Legacy-Id: 111 2007-05-09 21:05:20 +00:00
Bill Fenner d6b328188f Add accessors for "all sessions at this time" and "all combined
sessions at this time"
 - Legacy-Id: 109
2007-05-08 22:24:21 +00:00
Henrik Levkowetz 5872696834 Moving ietf to trunk/ietf
[[Split portion of a mixed commit.]]
 - Legacy-Id: 96.1
2007-05-04 12:37:28 +00:00