Commit graph

35 commits

Author SHA1 Message Date
Sachi King
0652471164 Sanitize user input on markdown fields
This is an XSS vulnribilitiy.

This also blocks a number of MD attributes that a user might attempt to
use.

The following are the allowed attributes.

['a', 'abbr', 'acronym', 'b', 'blockquote', 'code', 'em', 'i', 'li',
'ol', 'p', 'pre', 'strong', 'ul']

I belive this to be acceptable, as honeslty, a speaker using H1 is going
to stomp all over the page and make it harder for the reviewer to parse.

UX wise, it's less than great.  A user can do # title and be left with
<h1> in the sanitized output.
2017-04-29 15:47:08 +10:00
Sachi King
0517c61542 Update django-model-utils to support Django 1.10 2017-04-01 17:38:47 +11:00
Sachi King
f9e3603373 Support Django 1.10 with timezone upgrade
Needed as SubfieldBase is depricated
2017-03-30 23:16:25 +11:00
Sachi King
8621bdb8fe Use django to do lookups. Removes dj-user-accounts 2017-03-26 12:33:27 +11:00
Sachi King
a8a5d3b5e8 django-sitetree >= 1.7.0 and not use version pin
In the future, when we want to lock a package to a specific version, we
will do that via a constraints file in the master project.

Making it difficult to update deps is not okay.
2017-03-26 11:36:11 +11:00
Scott Bragg
a37d620afb Adds an ical feed 2016-12-22 12:00:23 +11:00
Scott Bragg
433a99a402 All the migrations seem fixed now 2016-09-17 15:53:47 +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
efe413a837 Bump requirements 2016-02-27 16:35:06 -06:00
Martey Dodoo
5b9f4fb71e Loosen Django package requirement.
Loosen Django requirement to allow versions greater or equal to 1.8.5,
instead of mandating 1.8.5. This makes it easier to use newer releases
of Django (e.g. the bugfix and security releases 1.8.6 or 1.8.7) with
symposion.
2015-12-12 15:34:58 -05: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
Tzu-ping Chung
1b51ef2ad8 Replace django-timezones w/ django-timezone-field
django-timezones does not support Python 3. django-timezone-field is
a revived fork that does.

For some unknown reason django-timezone-field's TimeZoneField does
not like positional arguments, so I changed to first argument to a
kwarg "verbose_name".
2015-08-04 13:47:35 +08:00
Patrick Altman
ba1df47d69 Remove templates
These have all been moved to the starter project,
pinax-project-symposion. The reasoning behind this is they are very
specific to the theme (pinax-theme-bootstrap) that the project uses and
not really all that reusable when packaged with this app.
2014-12-18 08:19:01 -06:00
Patrick Altman
5d8b092319 Just focus on Django 1.7+ 2014-12-18 08:19:01 -06:00
Patrick Altman
894e7b1b2e Upgrade requirements 2014-12-15 16:20:05 -06:00
David Ray
2f75033dc5 update dep 2014-02-26 13:56:19 -05:00
Rebecca Lovewell
9833a6a27c Loosen django-forms-bootstrap requirement 2014-02-11 09:24:03 -05:00
Rebecca Lovewell
8d5461d05d Loosen Django requirement
So that each project may control which version of Django to use. Not all
of the latest requirements are compatible with Django 1.4 anymore.
2014-02-03 10:07:17 -05:00
Rebecca Lovewell
e92dee1e0e Update easy-thumbnails from 1.2 -> 1.4
For Django 1.6 compatibility.
2014-01-31 17:30:32 -05:00
Rebecca Lovewell
8e85290107 Update django-taggit from 0.9.3 -> 0.11.2
For Django 1.6 compatibility.
2014-01-31 17:30:05 -05:00
Rebecca Lovewell
6d4e7b1eb1 Update django-sitetree from 0.9.4 -> 1.0.0
For Django 1.6 compatibility.
2014-01-31 17:29:36 -05:00
Rebecca Lovewell
8b7b097314 Update django-reversion from 1.7 -> 1.8
For Django 1.6 compatibility.
2014-01-31 17:28:54 -05:00
Rebecca Lovewell
6ab7e498ec Upgrade django-markitup from 1.0.0 -> 2.1
For Django 1.6 compatibility.
2014-01-31 17:27:58 -05:00
Rebecca Lovewell
b78f7ebb91 Create a requirements file 2014-01-15 09:58:20 -05:00
Luke Hatcher
d36713c26f move requirements up to base, single file (+ docs) 2012-07-18 19:47:52 -04:00
Luke Hatcher
c05ec5da46 bump site tree version 2012-07-13 03:01:47 -04:00
James Tauber
19d8b1dc7e added initial docs on speakers app and updated sphinx 2012-07-12 15:53:04 -04:00
Luke Hatcher
1243e2a8ab add django-model-utils to project base 2012-07-12 01:06:25 -04:00
Luke Hatcher
bc4ae3b099 update theme and dua 2012-07-10 18:19:42 -04:00
Luke Hatcher
2665fd5758 update cms/boxes to pycon parity 2012-07-10 18:18:48 -04:00
Luke Hatcher
1b04b7a9f7 update debug toolbar 2012-07-10 18:14:49 -04:00
Luke Hatcher
b06daba446 Merge branch 'master' into cms-features
* master:
  added BSD license
  Update master
  use django-forms-bootstrap
  fixed account links on homepage
  fixed staticfiles settings
  removed homepage use of ifsetting_tag
  updated urls
  updated templates
  updated imports to reflect new layout
  updated imports to reflect new layout
  updated settings
  updated manage.py
  updated requirements to 1.4 / DUA and latest versions
  updated project layout for 1.4 (without content changes)

Conflicts:
	requirements/base.txt
	symposion/settings.py
	symposion_project/urls.py
2012-07-10 15:35:30 -04:00
James Tauber
1191608a8a use django-forms-bootstrap 2012-05-29 21:50:46 -04:00
James Tauber
e96fe0bd5e updated requirements to 1.4 / DUA and latest versions 2012-05-29 15:00:14 -04:00
James Tauber
09aa60777f updated project layout for 1.4 (without content changes) 2012-05-29 14:53:04 -04:00