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
Sachi King
298b162be6
Flake8 Fixes
...
Mostly whitespace fixes
Some unicode fixes
Fixed up CSV writer. str is not bytes and all.
2017-04-17 22:51:48 +10:00
Christopher Neugebauer
699b32b938
Adds “publish changes” behaviour to views so that we can publish edits to abstracts.
2016-09-18 15:52:45 +10:00
Scott Bragg
433a99a402
All the migrations seem fixed now
2016-09-17 15:53:47 +10:00
Scott Bragg
c7608fb0d5
Added ResultNotification to admin, fixed subject as template
2016-09-03 13:16:05 +10:00
Scott Bragg
420d8ec870
Remove description from Presentation, add fields to proposal for notification template.
2016-09-03 12:48:31 +10:00
Christopher Neugebauer
03a231093f
For some reason, our vote label in reviews.py used a unicode en dash. Oops.
...
Fixes #34 .
2016-08-02 10:53:53 +10:00
Christopher Neugebauer
7f3ed91dae
vote_count now only counts non-abstaining votes. Fixes #19
2016-06-19 18:39:07 +10:00
Christopher Neugebauer
57acd04852
Removes a block of egregious stupidity from update_vote and replaces with something that actually works
2016-06-19 18:37:54 +10:00
Christopher Neugebauer
d305cd8c13
Requires comments for non-abstain votes only
2016-06-18 17:07:21 +10:00
Christopher Neugebauer
6e133970d9
Removes div-by-zero error if the first vote is an abstention
2016-06-18 17:01:56 +10:00
Christopher Neugebauer
28592e352c
More changes that make abstention work
2016-06-18 13:07:13 +10:00
Christopher Neugebauer
be4404c602
#2 Adds abstain vote type and revises vote score to account for abstention.
2016-06-18 11:40:18 +10:00
Scott Bragg
acc1b1490e
Update css_class methods to use new vote scoring (removed VOTE_ZERO)
2016-06-13 20:46:13 +10:00
Scott Bragg
f1f29c6f61
Replaced +1/+0/-0/-1 voting with +2/+1/-1/-2 (fixes lca2017/symposion/#1)
2016-06-10 15:29:09 +10:00
Patrick Altman
031ee3807e
Fix typo
2015-10-16 19:54:11 -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
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
3dd2f14f72
multiple recipients for email
...
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-06-12 08:04:22 +09:00
Patrick Altman
5f311ca7bd
Replace dotted notation FKs with actual objects
2014-12-18 08:19:01 -06:00
Carlos Henrique Romano
36ab6d599f
Fix flake8 warnings
2014-07-30 15:19:26 -03:00
Taavi Burns
e180c7f00b
Adds a manage.py script to assign reviewers to talks.
...
Requires that a 'reviewers' group exist, and that there are people assigned to it (otherwise it won't find any reviewers to add!).
It will assign up to 3 reviewers, where those reviewers are NOT one of the speakers, and that reviewer has not opted out of reviewing that talk. It will choose random reviewers from those with the fewest existing not-opted-out assignments.
2013-06-25 22:53:18 -04:00
Brian Rosner
2c46e56b35
Fixed bug in review deletion
...
When a review was not the latest it would cause a bug on deletion of the
latest. We changed the logic to work with the latest vote versus the previous
to fix this issue. Now all review deletion ensure a consistent latest vote
state.
2012-10-03 12:18:05 -06:00
Brian Rosner
7c6970fc3d
Removed default values of one from ProposalResult denormalized fields
...
The original default value of one assumed ProposalResult was being created
when a Review was created which meant a comment and a vote was made. This is
no longer the case from changes after the original change and has caused off
by one errors in the denormalized count.
2012-10-01 10:48:06 -06:00
James Tauber
72620244ea
removed debugging prints and updated Presentation field name
2012-09-20 21:11:49 -04:00
James Tauber
d02e7f83c6
reverted incorrect guarding which removed the whole point of promote_proposal and ensured it was never called
2012-09-20 21:07:08 -04:00
Luke Hatcher
1202997a0d
guard against no schedule app installed
2012-09-19 01:36:35 -04:00
Brian Rosner
bd2fd5338d
added DTL handling of email body
2012-09-08 19:38:57 -06:00
Brian Rosner
ecfabd5b70
added from_address to NotificationTemplate and prepare form
2012-09-08 19:10:06 -06:00
Brian Rosner
c87225674f
added admin for NotificationTemplate
2012-09-08 17:29:18 -06:00
Brian Rosner
733c4adc53
create ResultNotification objects and send mail
2012-09-08 17:03:03 -06:00
James Tauber
3dd7468365
first pass at models and view for table with selection
2012-09-06 22:36:40 -04:00
James Tauber
8f5291b539
switched from reserve to standby and added support in UI review detail
2012-09-02 15:04:17 -04:00
James Tauber
0422855582
switched from using nullboolean accepted on proposal result to a more flexible status choice
2012-09-02 14:45:41 -04:00
James Tauber
d4b5326395
unpromote a proposal if undecided or rejected
2012-08-31 00:41:12 -04:00
James Tauber
37c976c2f7
hooked up presentation promotion
2012-08-31 00:30:53 -04:00
Luke Hatcher
3d68af9796
add reviews app
2012-08-14 03:54:45 -04:00