Commit graph

38 commits

Author SHA1 Message Date
Joel Addison
ff281c17ee Add speaker bio to JSON API 2021-12-06 23:42:32 +10:00
Joel Addison
72b5c3ff55 Add code to speaker
Add unique identifier (code) to speakers within schedule JSON API
to allow speakers to be identified throughout the schedule.
2021-11-28 21:41:45 +10:00
Joel Addison
ef420b2d43 Embedded schedule view
Allow the schedule to be embedded in external platforms.
Hide header and footer when embedded for easier consumption.
2021-01-22 23:22:06 +10:00
Joel Addison
252697b842 Update to Django 2.2
Upgrade site and modules to Django 2.2. Remove and replace obsolete
functionality with current equivalents. Update requirements to latest
versions where possible. Remove unused dependencies.
2020-11-22 23:58:14 +10:00
Joel Addison
e1e86a7a39 Update licence for schedule JSON
Change licence to CC-BY-SA so YouTube gets appropriate licencing for talks.
This does not correspond to the YouTube Creative Common licence, which is
CC-BY-3.0, which is more permissive than we allow.
2020-01-11 12:30:32 +10:00
Joel Addison
5b93b39f67 Improve slot editing
Fix placement of form to allow submit button to work again.
Display information about slot on the edit popup.
2020-01-05 14:07:34 +10:00
Joel Addison
bc0f49f391 Fix presentation detail
Do not retrieve schedule if it does not exist for proposal kind section.
Do not show slot information if slot is not assigned.
2019-12-15 16:02:44 +10:00
Joel Addison
eb1193b265 Enable slot admin editable grid 2019-12-15 14:49:46 +10:00
Joel Addison
0d6890c849 Fix schedule day view
Retrieve day from URL on page load and open the schedule for that day.
2019-12-15 14:49:00 +10:00
Tobias
cd77380eac Add hidden flag to raffle 2019-01-22 08:16:38 +13:00
Tobias
adcfa45967 Modify json API for Carl 2019-01-16 13:55:05 +13:00
Tobias
590b25d5f8 Actually fix slot ordering 2019-01-12 13:12:21 +13:00
Tobias
77bc4e42b1 Fix sort order for slots 2019-01-12 12:20:39 +13:00
Tobias
494b8ffb17 Fix slot naming if re-using talk types 2019-01-04 12:45:51 +13:00
Tobias
ac71aa170b Fix overly verbose slot names 2018-12-29 14:38:16 +13:00
Tobias
2cce659c28 Use miniconf schedule based on sections 2018-12-29 13:36:13 +13:00
Tobias
9c64a33fd2 Refactor timeteabel to speed up dashboard 2018-12-08 19:25:14 +13:00
Tobias
e6da164193 Add additional speakers into schedule upload 2018-10-06 10:54:13 +13:00
Tobias
97d55b8876 Use sensible date format in symposion schedule upload 2018-09-29 17:14:21 +12:00
Joel Addison
135c5d2da3 Add track to schedule JSON
Include the track of the slow in the schedule JSON so the miniconf can be identified.
2018-01-18 21:40:14 +11:00
James Polley
18fc3bd4a7 Fix typo in list_filter 2018-01-15 06:36:05 +11:00
James Polley
8da6d18098 Enhance session admin to show room names 2018-01-15 03:42:01 +11:00
James Polley
98e0abf30c Use filter_vertical for sessions in admin 2018-01-10 22:27:55 +11:00
James Polley
f99765ca0b Add admin action to update slot names
* The slot object updates its name every time it is saved
* But sometimes its slotrooms are changed underneath it, and so the
  name can become out of date
* This method is a simple way of updating the names for all the slots
2018-01-10 22:27:55 +11:00
James Polley
23f4a38126 Add filter on room to Slot admin 2018-01-10 15:58:36 +11:00
James Polley
25bff81eab Revert "Fix off-by-one error in rowspan calcuations"
This reverts commit 96a24489b6.
2017-12-25 21:44:31 +11:00
James Polley
96a24489b6 Fix off-by-one error in rowspan calcuations 2017-12-24 19:20:14 +11:00
James Polley
b833b7d869 Order slots by room order first
* lca2018 has a situation where we have multiple slots starting at the
  same time, but ending at different times
* The headers of the timetable grid are sorted by room sort order
* In sqlite at least, ordering by start,order seems to implicitly
  resolve duplicate start times by looking at the other sort fields
  first, and will only sort on order if all other fields are identical

* This results in the slot that ends first going in column 1, which
  gets out of sync with the room listed in the header

* I can't figure out how to solve this in the database, so...

* Force the slots to be sorted by room order.
* Then, for each start_time, select out slots starting at that time
  and operate on them
* This both gets the slots in the right order *and* keeps multi-room
  slots with the right colspan. Yay!

* It's possible that this wouldn't be needed on some DBs which might
do the sorting differently.
2017-12-24 19:20:04 +11:00
James Polley
193ffc76d5 List rooms in slot admin
In many parts of the schedule there are multiple slots with the same
start/end times, and it can be hard to find the one you want to edit.

Make this slightly simpler by listing the room names in the admin list.
2017-12-24 13:54:57 +11:00
James Polley
a880bc27fb Enhance track admin 2017-12-03 18:11:39 +11:00
James Polley
3239bbe29a Don't duplicate existing rooms when importing schedule CSV
* Old implementation needs to see exactly the same rooms in exactly
  the same order every time it loads new data, otherwise it will
  create a duplicate entry for the room that differs only in display
  order.
* New implementation ignores the display order when checking to see
  if the room already exists.
2017-12-03 16:15:19 +11:00
James Polley
1eb28f2c80 Enhance Schedule list display 2017-10-15 15:58:43 +10:00
James Polley
fab25ad0f5 Room needs dunder-str as well as dunder-unicode 2017-10-15 15:33:56 +10:00
James Polley
e48c8c171a Display (editably) the exclusvity of the slot in the admin
(Also add filtering so that we can easily find eg all plenaries which
are not yet flagged as exclusive)
2017-10-15 15:14:55 +10:00
James Polley
6b17e021ca Add a __unicode__ method to the Room model
Closes #25
2017-10-15 15:07:56 +10:00
James Polley
b154d90eed Wrap input CSV in an TextIOWrapper
Closes #24
2017-10-15 14:59:57 +10:00
James Polley
183dea0b6e Python3 compatibility in timetable listing
itertools changed a little between py2 and py3
2017-09-17 22:08:39 +10:00
Sachi King
d95d66dac8 Taking one out of PyCon's (US) book
We're lock-step with symposion, and upstream is dead.
Vendor it.
2017-05-27 20:11:39 +10:00