Sachi King
a36ff64a82
Support monospace TextFields instead of Markdown
...
Drop markdown for monospace
With markdown, we're only allowing about 1/10 of what is possible.
This creates a false reality and expectation. Lets not suggest this.
Nor do we have in-editor preview. So the user has to save, look at it,
then go back and edit. And seeing a bunch of sanitized HTML or just
missing sections isn't firendly.
Monospace, what you type, is what you're going to get. It gives the
presenter enough power to build a readable abstract, but not so much
that they can break the page and it's CSS, nor the ability to confuse
onselve through not getting what you expect.
We keep bleach sanitation and we should probably run linkify on this in
the long term. (Turn links into clickable links)
2017-05-07 13:22:28 +10:00
Sachi King
21b2a01a84
Py2 compatability has been broke elsewhere drop it
...
This is all noop in Py3, and Py2 is broke now in various places.
Dropping Py2 code as it will not be a thing going forward.
Django 2 is the next release, Py2 support will be dropped, as such,
dropping this is forward looking.
2017-04-29 15:47:19 +10:00
Christopher Neugebauer
34e250322c
Adds chair() method to sessions so that templates can easily determine who the chair is.
2017-01-10 21:23:07 +11:00
Scott Bragg
765e80765c
Added Track model for schedule headings
2016-12-24 17:55:11 +11:00
Scott Bragg
7ae022d2c4
Added track name to room, added day option to conference schedule view
2016-12-24 15:24:31 +11:00
Scott Bragg
cdec6e2258
Slot name needs to be looooooonger
2016-12-10 17:37:01 +11:00
Christopher Neugebauer
4838adf775
Adds “exclusive” field to slots, so that you don’t need to add every single room to exclusive events (like keynotes)
2016-12-10 08:30:51 +11:00
Scott Bragg
02d7066c44
Increase slot name since it's made up of room names and our room names are long.
2016-11-13 15:31:08 +11:00
Christopher Neugebauer
3b4a51e6d4
Adds “unpublish” option to presentations (to temporarily hide from the schedule and from view by non-staff)
2016-09-18 15:52:45 +10:00
Scott Bragg
420d8ec870
Remove description from Presentation, add fields to proposal for notification template.
2016-09-03 12:48:31 +10:00
Patrick Altman
a1cbcdddd5
Add back in parsing the content override into html
2016-02-20 17:06:09 -06:00
Martey Dodoo
ddc3553656
Remove duplicate Slot.save method.
...
Remove "save" method in Slot model since #107 added another "save"
method. This fixes the automated test failures in Travis CI.
2015-12-31 12:35:22 -05:00
Patrick Altman
46a10b9e3a
Merge pull request #107 from miurahr/gen_str_name_when_save
...
slot: generate __unicode__ name when save()
2015-12-28 10:50:32 -06:00
Patrick Altman
11f697d137
Massively upgrade symposion
...
* Remove markitup (to be replaced with Ace editor)
* Use DUA decorators
* Removed custom signup bits
* Upgraded dependencies
* Added migrations
* Namespaced template locations
* Removed html5parser/sanitizer (for now) - parsing functionality
should be moved out entirely to a hooks
* Replaced ProposalScoreExpression object with a function that returns
F() expressions
2015-10-16 12:37:35 -05:00
Hiroshi Miura
c040257547
Slot: gen name retrun by __str__() when save()
...
This name also used for itemize slots on admin screen
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-10-01 16:57:26 +09:00
Patrick Altman
67433cacb4
Merge branch 'i18n-all' of https://github.com/miurahr/symposion into miurahr-i18n-all
...
Conflicts:
symposion/boxes/models.py
symposion/conference/models.py
symposion/schedule/models.py
symposion/speakers/models.py
symposion/sponsorship/admin.py
symposion/sponsorship/models.py
symposion/teams/models.py
2015-09-08 15:07:24 -05:00
Hiroshi Miura
3207621058
i18n all part
...
- forms for labels and helps
- views for success or warning messages
- apps and models verbose_names for admin
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-08-03 23:37:33 +09:00
Hiroshi Miura
a95825ede8
python3 compatibility
...
- Things are suggested in python3 porting guide.
https://docs.djangoproject.com/en/1.8/topics/python3/
1. adding ```from django.utils.encoding import
python_2_unicode_compatible```
2. ``` __str__``` instead of ```__unicode__```
https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methods
3. Adding ```from __future__ import unicode_literals``` at the top
of your Python modules
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
4. Removing the `u` prefix before unicode strings;
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
- also closed #66
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-08-03 23:32:25 +09:00
Hiroshi Miura
acd5e9595a
slot name includes rooms
...
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-08-01 13:06:43 +09:00
Patrick Altman
702ddf9a2d
Merge pull request #78 from miurahr/unicode
...
Return unicode from _unicode_ methods
2015-06-18 23:00:50 -05:00
Hiroshi Miura
a41fb8bd35
schedule: add session and session role
...
port from pycon development
Luke Hatcher committed 6889d05
2013-01-31
add session volunteer staff
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-06-18 23:37:11 +09:00
Hiroshi Miura
039ce4e000
Return unicode from _unicode_ methods
...
Import from PyCon improvement.
Author: Dan Poirier <dpoirier@caktusgroup.com>
Date: Mon Jul 8 15:55:33 2013 -0400
Return unicode from __unicode__ methods
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-05-25 08:35:55 +09:00
Patrick Altman
5f311ca7bd
Replace dotted notation FKs with actual objects
2014-12-18 08:19:01 -06:00
Patrick Altman
f3614fcf52
Merge branch 'master' of https://github.com/pyohio/symposion into pyohio-master
...
Conflicts:
README.md
symposion/boxes/urls.py
symposion/cms/urls.py
symposion/proposals/actions.py
symposion/proposals/urls.py
symposion/proposals/views.py
symposion/reviews/tests.py
symposion/reviews/urls.py
symposion/reviews/views.py
symposion/schedule/forms.py
symposion/schedule/models.py
symposion/schedule/views.py
symposion/speakers/fixture_gen.py
symposion/sponsorship/urls.py
symposion/templates/cms/file_create.html
symposion/templates/cms/file_index.html
symposion/templates/conference/user_list.html
symposion/templates/dashboard.html
symposion/templates/emails/proposal_new_message/message.html
symposion/templates/emails/proposal_updated/message.html
symposion/templates/emails/speaker_addition/message.html
symposion/templates/emails/speaker_invite/message.html
symposion/templates/proposals/_pending_proposal_row.html
symposion/templates/proposals/_proposal_fields.html
symposion/templates/proposals/_proposal_row.html
symposion/templates/proposals/proposal_cancel.html
symposion/templates/proposals/proposal_detail.html
symposion/templates/proposals/proposal_edit.html
symposion/templates/proposals/proposal_speaker_manage.html
symposion/templates/proposals/proposal_submit.html
symposion/templates/reviews/_review_table.html
symposion/templates/reviews/base.html
symposion/templates/reviews/result_notification.html
symposion/templates/reviews/result_notification_prepare.html
symposion/templates/reviews/review_admin.html
symposion/templates/reviews/review_assignment.html
symposion/templates/reviews/review_detail.html
symposion/templates/reviews/review_review.html
symposion/templates/reviews/review_stats.html
symposion/templates/schedule/_edit_grid.html
symposion/templates/schedule/_grid.html
symposion/templates/schedule/_slot_edit.html
symposion/templates/schedule/presentation_detail.html
symposion/templates/schedule/schedule_list.html
symposion/templates/speakers/speaker_create.html
symposion/templates/speakers/speaker_edit.html
symposion/templates/speakers/speaker_profile.html
symposion/templates/sponsorship/add.html
symposion/templates/sponsorship/apply.html
symposion/templates/sponsorship/detail.html
symposion/templates/sponsorship/list.html
symposion/templates/teams/team_detail.html
2014-12-15 16:07:37 -06:00
Patrick Altman
cb4b0fac38
Merge branch 'django1.6-compatibility' of https://github.com/mbrochh/symposion into mbrochh-django1.6-compatibility
...
Conflicts:
symposion/boxes/urls.py
symposion/cms/urls.py
symposion/conference/urls.py
symposion/proposals/models.py
symposion/proposals/urls.py
symposion/reviews/urls.py
symposion/schedule/models.py
symposion/schedule/urls.py
symposion/speakers/urls.py
symposion/sponsorship/urls.py
symposion/teams/urls.py
2014-12-15 15:15:46 -06:00
Sheila Miguez
0ebcc2f124
flake8 fixes
2014-09-27 12:29:00 -05:00
Taavi Burns
c4db94b7e5
Adds a schedule_json view which provides a /schedule/conference.json endpoint, of the kind that Carl uses for producing conference videos.
...
Also useful to feed into mobile schedule apps!
It is expected that someone might have to customize this for their own installation (PyCon Canada definitely did, with modifications to some of the models).
2014-09-27 12:29:00 -05:00
David Ray
2f6930ae11
Fixes #12 ; 500 error when re/un assigning slot presentations
2014-08-11 16:33:23 -04:00
Carlos Henrique Romano
36ab6d599f
Fix flake8 warnings
2014-07-30 15:19:26 -03:00
Martin Brochhaus
bf4b682e8a
Bugfix: Cannot unassign presentation on schedule/edit view
2014-05-18 15:50:51 +08:00
Rebecca Lovewell
5e5de6c6ea
Pyflakes clean across the entire project
2014-01-13 16:49:40 -05:00
Luke Hatcher
c7592bc33e
add published and hidden attributes to schedules
2013-01-29 03:14:56 -05:00
Luke Hatcher
1b57961061
orderings on schedules
2013-01-29 03:14:56 -05:00
Luke Hatcher
582597b7b8
only yield actual users
2012-12-20 01:55:14 -05:00
Luke Hatcher
d98f9b82a8
add default ordering to schedule models
2012-12-20 01:53:22 -05:00
Luke Hatcher
c1ff1546fe
show all speakers of a presentation
2012-12-20 01:51:52 -05:00
Luke Hatcher
9977393d88
content override is optional
2012-11-25 19:12:36 -05:00
Luke Hatcher
3b46ba3012
provide string representations for schedule models
2012-11-25 13:26:25 -05:00
Brian Rosner
c09f887e72
added markitup on Slot content override
2012-10-26 16:01:01 -06:00
Brian Rosner
d7ac510555
Added Slot.content_override
...
Slots can now be controlled through content_override if custom content is
needed in non-talk slots.
2012-10-24 23:21:20 -06:00
Brian Rosner
f698d00fc8
added Room.__unicode__
2012-09-19 20:17:48 -06:00
Brian Rosner
f30dce6a61
added SLot.rooms property
2012-09-19 20:16:07 -06:00
Brian Rosner
1b2cdeffb0
fixed URLs and views to use section slug correctly
2012-09-19 20:03:30 -06:00
Brian Rosner
f98a3f2f9a
added ability to remove content from slots
2012-09-19 19:18:29 -06:00
Brian Rosner
7c102aefa3
fixed a few larger bugs with schedule edit
2012-09-13 23:17:54 -06:00
Brian Rosner
db66749046
improved Proposal.proposal
...
* renamed the field to avoid nasty underscore
* fixed code to avoid extra query
2012-09-13 14:39:58 -06:00
Luke Hatcher
402a02097f
use proposal number
2012-08-31 03:05:52 -04:00
Luke Hatcher
5b0354be90
add id and speaker to presentation
2012-08-31 02:52:12 -04:00
Luke Hatcher
fe29c708b9
no models in markupfield land
2012-08-30 22:57:58 -04:00
Luke Hatcher
40aede0839
add foreign key to presentation
2012-08-30 22:55:44 -04:00