Commit graph

2349 commits

Author SHA1 Message Date
James Polley
c7e29b3cb1 Don't try to initialise dataTable twice
Old code was initialising the dataTable twice - once in the parent
block and once in the child. This doesn't actually work and just
caused errors.

Switch to only initializing it once. Unfortunately this creates
copy-pasta :(
2017-12-03 17:30:43 +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
cfc19f309f If there are no track names for today, don't show the row
If there are track names today, show the row for track names. If there aren't, don't show an empty row.
2017-12-03 15:36:06 +11:00
James Polley
bc3edb80d9 Point static urls to the build dir rather than src dir 2017-12-03 14:49:37 +11:00
James Polley
233818c33b Set width to avoid Firefox rending icons very large 2017-12-01 16:14:59 +11:00
James Polley
4f37556db0 Only copy visible columns on attendee reports
Also, add the ability to choose which columns are visible.
2017-12-01 12:22:42 +11:00
James Polley
a0610972fc Improve display of abstract and presenter bio
Relocate buttons to be beside the presenter's name.

Format abstract and bio in monospace hack as intended.
2017-11-22 18:26:06 +11:00
James Polley
ad2dd4c560 Ensure twitter/link buttons get displayed 2017-11-22 17:35:25 +11:00
James Polley
a96207fcdf Restore buttons referenced in current templates
Partial revert of 271d9e05 - these are two of the many files removed then. Looks like these are the only two still used.
2017-11-22 16:53:46 +11:00
James Polley
c762b52ea9 Improve mobile view of schedule
Don't show the table header in mobile view
2017-11-12 15:10:46 +11:00
James Polley
8d15a6cbeb Make talk audience and format visible to reviewers
* Audience is visible on review details, but not the list. Perhaps
  useful for cases where reviwer wishes to only review for a
  particular audience. This change adds audience to the list view.

* Format is not visible anywhere. This changes adds it to list and
  detail views for the reviewers.

This change also adds some buttons to control visibility of the new
columns.
2017-11-12 14:05:43 +11:00
James Polley
79d3270a32 Rough hack at app.css for issue #28 2017-10-31 05:55:56 +00:00
James Polley
2af7eaea7f Supply a default value for target_audience for the ART+TECH miniconf
* The base model requires a value here
* But we aren't using one; so there's none on the form
* This change supplies a custom enumeration that's specific for this
  particular model, which has one value, which is a default value,
  which simply says that the field is N/A
* This does mean that when viewing or reviewing the proposal one sees
  the Target Audience field, but it will say N/A.

* Testing has shown that this does not affect the other types which
  descend from the base Proposal class; they still use the default
  enumeration.
2017-10-23 21:18:17 +11:00
James Polley
c133f88832 Add the page title into the well 2017-10-16 21:59:19 +11:00
James Polley
bfa94b8c5e Enable flatpages 2017-10-16 21:53:18 +11:00
James Polley
79310913ad rename symposion-fixtures->symposion-tools 2017-10-16 20:05:30 +11:00
James Polley
6bf3d71bff Require login for proposal submit
- This has the effect of bouncing people to the login page if they're
  unauthenticated, rather than returning a 502 because 'home' doesn't
  exist.

- If they're authenticated but don't have a speaker profile, send them
  to the speaker profile create page rather than just to the
  dashboard.

Closes #26
2017-10-16 15:07:36 +11:00
James Polley
bb42d098fd Update fields for arttech miniconf 2017-10-15 22:42:27 +11:00
James Polley
4570eb1665 Test sphinx generation on every commit
Produces a downloadable artifact
2017-10-15 16:20:36 +10: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
df1fe7a9f5 Fix duplicate room-slot in sample data 2017-10-15 15:31:20 +10:00
James Polley
18e338c2c1 Enhance docs about schedule creation
Add clearer notes about the preconditions for using a csv to populate
the schedule.

Update the sample data to one that makes it clear which date format
must be used.
2017-10-15 15:25:45 +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
8ded9ff4fc Remove reference to analytics.html
Don't know what it was, but it currently doesn't exist.
2017-10-15 14:29:33 +10:00
James Polley
493306bfff update favico 2017-10-14 16:47:17 +11:00
James Polley
e18cfc4704 Rework navbar to have a consistent look with the static site. 2017-10-14 16:47:06 +11:00
James Polley
cd4c640c1b Allow filter of team memberships by state 2017-10-14 14:31:57 +11:00
James Polley
f460e88850 Merge branch 'ticket-testing' into 'master'
Final preparations for miniconf CFP golive

See merge request LCA2018/symposion_app!65
2017-10-13 23:56:38 +00:00
James Polley
06eae1df07 Add environment labels for deploy jobs 2017-10-14 10:32:46 +11:00
James Polley
5689fd3fce Open DevDevDev immediately, no close
https://rt.lca2018.org/Ticket/Display.html?id=499
2017-10-13 18:43:34 +11:00
James Polley
d7bf6d721a Set start/end dates for FP miniconf
https://rt.lca2018.org/Ticket/Display.html?id=510
2017-10-13 18:37:59 +11:00
James Polley
dfc9c003cc Update start dates for miniconfs 2017-10-13 18:35:32 +11:00
James Polley
5832745148 Add missing </div> so that available teams is properly positioned 2017-10-13 18:35:32 +11:00
James Polley
f7993de3bb Merge branch 'ticket-testing' into 'master'
Reviews enhancements

See merge request LCA2018/symposion_app!64
2017-10-13 02:15:06 +00:00
James Polley
c9223aeef0 Restore datatables to review lists 2017-10-13 13:07:05 +11:00
James Polley
9bf90b411e Enhance admin interface for result notifications 2017-10-13 13:02:44 +11:00
James Polley
1725664aec Merge branch 'ticket-testing' into 'master'
Tweak invoice template so that instructional text does not print.

See merge request LCA2018/symposion_app!63
2017-10-11 11:16:40 +00:00
James Polley
3334469d30 Tweak invoice templates so that header text is hidden on print 2017-10-11 21:57:04 +11:00
James Polley
3da89a0549 Format the speaker bio as intended. 2017-10-08 22:23:13 +11:00
James Polley
c2b40fabbc Merge branch 'ticket-testing' into 'master'
Update profile form and datatables

See merge request LCA2018/symposion_app!60
2017-10-08 05:32:19 +00:00
James Polley
d0f4b1c455 Update datatables libraries
This fixes some display issues and adds functionality.
2017-10-08 16:14:28 +11:00
James Polley
f0933d897d Add notes to profile form about being able to edit form
Also about the known issue with some emoji
2017-10-08 15:10:34 +11:00
James Polley
3ee9c6ef4d Merge branch 'ticket-testing' into 'master'
Datatable improvements: bigger uwsgi buffers, work for all tables

See merge request LCA2018/symposion_app!58
2017-10-04 14:37:34 +00:00
James Polley
8aa1148f7a Make datatable work for each table on the page, not just the first 2017-10-05 00:55:30 +11:00
James Polley
8f28a444a2 Increase uwsgi buffer size
The DataTables sets a lot of data into some cookies. It's currently
overwhelming the uwsgi buffer size.
2017-10-05 00:38:05 +11:00
James Polley
e3c0aa510a Merge branch 'ticket-testing' into 'master'
Revert "Split out dev/prod docker builds into parallel jobs."

See merge request LCA2018/symposion_app!57
2017-10-04 13:16:24 +00:00
James Polley
df389b9ce5 Revert "Split out dev/prod docker builds into parallel jobs."
This reverts commit d7065ee43d.

Dev build re-uses prod build, so they can't be split (and dev build
won't take much extra time anyway)
2017-10-04 23:56:28 +11:00