Commit graph

512 commits

Author SHA1 Message Date
Christopher Neugebauer
0c4597c4ea Update models.py
Fixes a typo.

Closes issue #31.
2016-07-22 13:37:24 -07:00
Christopher Neugebauer
f126330390 Handles unicode strings properly. 2016-07-04 22:18:34 +10:00
Christopher Neugebauer
6ebd0f0905 snoops 2016-07-04 16:28:31 +10:00
Christopher Neugebauer
6811708b33 Adds a view that returns all proposals in CSV format.
Fixes #27
2016-07-04 16:10:02 +10:00
Christopher Neugebauer
e17df73dde Update models.py
en-GB spelling of "programme"
2016-07-03 12:14:07 +10:00
Scott Bragg
073174e617 Adds bcc to emails sent from server 2016-07-01 10:10:23 +10:00
Scott Bragg
7225dcd660 Merge pull request #22 from lca2017/chrisjrn/21-chairs-can-see-own-proposals
Lets programme chairs see their own proposals.
2016-06-29 22:26:46 +10:00
Christopher Neugebauer
d4230feab0 #16 adds view for jumping to a random proposal 2016-06-29 16:00:07 +10:00
Christopher Neugebauer
d43d42bbc3 Fixes #21 — the check_speaker argument to proposals_generator is *false* for section chairs. 2016-06-29 15:16:24 +10:00
Scott Bragg
f56ce51459 Merge pull request #18 from lca2017/chrisjrn/017-cfp-models-and-forms
CFP models and forms
2016-06-21 09:57:56 +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
14dea7eafa Fixes deletion of reviews 2016-06-19 18:38:14 +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
388c722ed6 Makes sure accessibility requirements are parsed 2016-06-19 14:07:43 +10:00
Christopher Neugebauer
c0e9b90476 Requires acceptance of the code of conduct and T&Cs 2016-06-19 14:00:17 +10:00
Christopher Neugebauer
782e5c9ea2 Tidies up some of the proposal fields 2016-06-19 13:30:10 +10:00
Christopher Neugebauer
aa56ac00c3 Updates speaker model to include information that LCA typically asks for 2016-06-19 13:19:32 +10:00
Christopher Neugebauer
0ce99678c3 Updates ProposalBase to include information that LCA typically asks for 2016-06-19 12:39:28 +10:00
Scott Bragg
08698e5326 Merge pull request #15 from lca2017/chrisjrn/002-abstain
Fixes two bugs in abstain voting
2016-06-18 18:12:19 +10:00
Scott Bragg
ee1c352571 Merge pull request #14 from lca2017/chrisjrn/011-travel-requirements
Adds extra fields to the speaker profile
2016-06-18 17:38:08 +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
b2af1d0c06 oops 2016-06-18 16:51:28 +10:00
Christopher Neugebauer
f64a7573d3 - Adds defaults to the speaker profile
- Removes “experience”, as this is listed in “other notes” on a per-proposal basis.
2016-06-18 16:50:11 +10:00
Christopher Neugebauer
217f2f32c1 Adds extra fields to the speaker profile model 2016-06-18 13:53:02 +10:00
Christopher Neugebauer
47a6f212f2 Add display of scores to the review list 2016-06-18 13:13:18 +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
ce122994cc Changed admin to the 'can_manage' permission and added an is_manager to the page context 2016-06-13 21:32:55 +10:00
Scott Bragg
a6405ccfc7 Fix team permissions backend not pulling out manager_permissions
Something like
request.user.has_perm('reviews.can_manage_%s' % proposal.kind.section.slug)

Will aways return false as the backend does a lookup of team membership
(member or manager) but only grabs the 'permissions' and not the
'manager_permissions' field
2016-06-13 21:21:21 +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
Martey Dodoo
251f9ea280 Show unpublished conference schedule to staff.
This is an addendum to #123 to allow the `schedule_conference` view to
show unpublished conference schedules to staff members.
2016-03-15 12:17:46 -04:00
Patrick Altman
d10d313f64 Merge pull request #128 from jefftriplett/speaker-twitter-username
Adds twitter username to Speaker
2016-03-15 08:54:58 -05:00
Martey Dodoo
6fb529aad2 Display content_override in slot admin list view.
Fix typo and use `content_override` field (instead of `content`) for a
Slot's `list_display`.
2016-03-15 05:47:25 -04:00
Jeff Triplett
c7ce7fe020 Adds twitter_username to Speaker
This change is based on the PyOhio fork located at: https://github.com/PyCon/pycon/search?utf8=%E2%9C%93&q=twitter_username
2016-03-14 22:24:14 -05:00
Martey Dodoo
78d13a9ffa Fix queryset used in "Not Reviewed" view.
The `speaker` field on the `Proposal` model corresponds to a `Speaker`,
not a `User`, so the old queryset created a ValueError.
2016-03-10 20:35:41 -05:00
Patrick Altman
7b77b9aa29 Drop deprecated url patterns format 2016-02-27 16:54:42 -06:00
Patrick Altman
1ab7a30435 Update for BI changes in django-reversion 2016-02-27 16:38:27 -06:00
Patrick Altman
3b635d9cb7 Merge pull request #120 from appropriatetech/master
Python3 compatibility
2016-02-20 17:06:57 -06:00
Patrick Altman
a1cbcdddd5 Add back in parsing the content override into html 2016-02-20 17:06:09 -06:00
Patrick Altman
6e83588f31 Merge pull request #119 from pydata/fix-duplicate-slot-save-method
Remove duplicate Slot.save method.
2016-02-20 17:05:29 -06:00
Patrick Altman
6bee00dff7 Merge pull request #122 from pydata/sponsor-listing-text-is-none
Make sponsor description default empty string.
2016-02-20 17:04:32 -06:00
Martey Dodoo
6b41b5c477 Don't show unpublished schedule info to non-staff.
Add checks to schedule_list, schedule_list_csv, and
schedule_presentation_detail views to verify that either schedule is
published or that current user is staff before displaying information.

See c7592bc33e.
2016-02-20 08:39:12 -05:00
Martey Dodoo
a487f78f7e Make sponsor description default empty string.
Set sponsor listing text to an empty string instead of None. If a
sponsor doesn't have a benefit named "Sponsor Description", this will
prevent the text "None" from displaying in the Django template.
2016-01-25 15:17:23 -05:00
Mjumbe Wawatu Ukweli
47c28439d9 Python3 compatibility
Update the StringIO import in symposion.sponsorship.views
2016-01-12 20:39:55 -05: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
de23056b51 Merge pull request #115 from miurahr/pip8
fix pip8 warnings
2015-12-28 10:50:06 -06:00
Didier Raboud
b50a42f243 Fix SponsorBenefit __str__ by using self.benefit.type instead of self.benefit_type 2015-10-26 12:40:22 +01:00