Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
6b41f87
update requirements file to pull in symposion from pyohio fork
daaray Jan 14, 2014
d7dc40e
reset readme for 2014
daaray Jan 14, 2014
721d011
Update 2013 references to 2014
daaray Jan 14, 2014
fe10e41
adding local_settings to gitignore
daaray Jan 14, 2014
8b6b306
Adds south as a requirement and installed app; work on #2
daaray Jan 14, 2014
1fe0b60
Rename pyohio.proposals to avoid South dup app name issues; clean up …
daaray Jan 14, 2014
a887f28
Merge pull request #6 from pyohio/2-south-support
Jan 15, 2014
d34a62a
fix relative import path
daaray Jan 16, 2014
884aeac
big WIP, ostensibly for Travis support, but more of a project org ove…
daaray Jan 16, 2014
fca728f
Fix other relative import path
Jan 16, 2014
080c7b6
Add *.swp to .gitignore
Jan 16, 2014
4565661
[future-django] Update urls imports to django.conf.urls
Jan 16, 2014
88a643e
[future-django] Use TemplateView rather than direct_to_template
Jan 16, 2014
82cfef0
[future-django] Update URL syntax
Jan 16, 2014
a46ed27
update travis conf
daaray Jan 16, 2014
3dd126e
Merge pull request #7 from pyohio/future-django
Jan 16, 2014
7f187d9
Remove requirements that are specified in Symposion requirements
Jan 16, 2014
9d2f85d
Alphabetize remaining requirements
Jan 16, 2014
c55edca
Add model_utils to INSTALLED_APPS
Jan 16, 2014
26334d2
Remove former settings file
Jan 16, 2014
f8ce9dc
Merge remote-tracking branch 'origin/master' into reorg-project
Jan 16, 2014
36a4bb2
Updated comments from requirements files
Jan 16, 2014
f6a768b
Update virtualenv name in README
Jan 16, 2014
2b6f537
update ported over travis settings;
daaray Jan 17, 2014
886acae
remove deprecated ref to local_settings
daaray Jan 17, 2014
807a4c9
set default settings file for wsgi
daaray Jan 17, 2014
caf4603
Merge pull request #8 from pyohio/reorg-project
Jan 17, 2014
33553fd
moving to Pillow for sanity's sake
daaray Jan 17, 2014
cde09c6
Remove debug_toolbar stuff from base settings
Jan 17, 2014
757f954
Use reverse_lazy for LOGIN_URL
Jan 17, 2014
2275754
Default to DEBUG = False
Jan 17, 2014
7800847
Merge pull request #9 from pyohio/settings
Jan 17, 2014
e24f5b2
Add factory_boy requirement for tests
Jan 17, 2014
ba02018
Remove unnecessary code from models file
Jan 17, 2014
8e561fc
Add factories for pyohio_proposals
Jan 17, 2014
d97f75c
Merge pull request #10 from pyohio/test-factories
Jan 20, 2014
6fc0d58
Work on #5, Travis CI integration
daaray Jan 20, 2014
1b43d1b
Work on #5, Travis CI integration
daaray Jan 20, 2014
f913f2d
Work on #5, Travis CI integration
daaray Jan 20, 2014
b5cbdcd
Work on #5, tweak setup.py
daaray Jan 20, 2014
6b3a985
Update year to 2014
daaray Jan 22, 2014
e1c53cc
added homepage comp
rayt86 Jan 30, 2014
155ffa0
Added new static assets
rayt86 Jan 30, 2014
5a5d09f
Updated static file paths
rayt86 Jan 30, 2014
250bf78
Require Django 1.6
Feb 3, 2014
e21a021
Re-run tests
Feb 3, 2014
57f8e33
Merge pull request #11 from pyohio/django-1.6
Feb 3, 2014
a618e70
updating settings to point to new stack on gondor
daaray Feb 4, 2014
c1c4bf3
Merge branch 'master' of github.com:pyohio/pyohio
daaray Feb 4, 2014
fef55e6
updating settings to point to new stack on gondor
daaray Feb 4, 2014
86ea5a0
Created schedule page and updated static assets.
rayt86 Feb 5, 2014
c35d767
Merge remote-tracking branch 'origin/master' into design-refactor
Feb 5, 2014
692b158
Fix link to static asset
Feb 5, 2014
609f9a9
Update font import
Feb 5, 2014
de27c96
Add logo to homepage
Feb 5, 2014
8071e14
amend entry point for wsgi file
daaray Feb 6, 2014
98542ac
tweak Gondor settings for SECRET_KEY
daaray Feb 6, 2014
cb80ac7
update client version
daaray Feb 6, 2014
baabcb0
add migration step
daaray Feb 6, 2014
f657804
Changes to homepage to pass HTML5 validation
Feb 6, 2014
2fd14e0
Reindent homepage comp
Feb 6, 2014
317677a
Create base.html template from homepage
Feb 6, 2014
cf0fb0e
Extend homepage from base.html
Feb 6, 2014
d6ab379
Extend Schedule from base.html
Feb 6, 2014
4e7ea8e
revised schedule and test html and styles css
rayt86 Feb 6, 2014
a2134f0
Merge branch 'design-refactor' of https://github.com/pyohio/pyohio in…
rayt86 Feb 6, 2014
56b1103
Merge remote-tracking branch 'origin/design-refactor' into design-ref…
Feb 6, 2014
d82d309
Incorporate changes from Test.html into homepage.html
Feb 6, 2014
8ef8eac
Add user messages
Feb 6, 2014
61d8eb5
Changes based on current site_base.html
Feb 6, 2014
489f615
Remove unused symposion_sidebar_base.html
Feb 6, 2014
6ec8015
Navigation bar adjustments
Feb 7, 2014
0833aea
Copy comps/base.html to new_site_base.html
Feb 7, 2014
50caf39
Homepage extends from new_site_base.html
Feb 7, 2014
4818fc9
Fix navigation styles on homepage
Feb 7, 2014
116512e
Bump Django requirement to 1.6.2
Feb 7, 2014
e1ded5d
Copy comps homepage to real homepage
Feb 7, 2014
3c7af2e
Use staticfiles rather than STATIC_URL
Feb 7, 2014
f98411b
Remove comps/homepage.html and comps/base.html
Feb 7, 2014
98f418c
Add {% block body_outer %} for compatibility
Feb 7, 2014
62c80fe
Fixes in styles.css
Feb 7, 2014
272643a
Split up markitup_media; fix icon URL
Feb 7, 2014
960259a
Integrate schedule page
Feb 7, 2014
5051fc4
Update design for talks/tutorials lists
Feb 7, 2014
976e69b
Add page title structure to new_site_base.html
Feb 7, 2014
a627ee0
Add color to active navigation element
Feb 7, 2014
26af3a2
Merge pull request #12 from pyohio/security-release
Feb 10, 2014
04c6527
Homepage tweaks; links
Feb 10, 2014
a546dd7
Equal left-right padding in navigation
Feb 10, 2014
0ad6d35
Update sponsorship templates
Feb 10, 2014
3e3ac2f
Move new_site_base.html -> site_base.html
Feb 10, 2014
2c4d3ae
Use include for page_title
Feb 10, 2014
64ec068
Update requirements
Feb 10, 2014
19536de
Reindent part of styles.css
Feb 10, 2014
493c771
Move MarkItUp styles to styles.css
Feb 10, 2014
cea9e26
First pass at updating the dashboard
Feb 10, 2014
6c6d53f
Add pinax css; simplify footer styles
Feb 10, 2014
6117e6a
Content boxes on homepage; headline style adjustments
Feb 11, 2014
fc6390e
Some form fixes
Feb 11, 2014
5ada9d5
Merge remote-tracking branch 'origin/master' into design-refactor
Feb 11, 2014
c58c8a7
define ALLOWED_HOSTS
daaray Feb 11, 2014
ba0c9ee
Consistent headlines across the site
Feb 11, 2014
2d72da3
Customize THEME_CONTACT_URL
Feb 11, 2014
4f72ed9
Fixes to body setup
Feb 11, 2014
9147cf5
Only show sponsor benefit forms if they exist
Feb 11, 2014
b040f1a
Small form fixes
Feb 11, 2014
11a4cf0
Update css selector
Feb 11, 2014
b5117bb
Adjustments to footer
Feb 11, 2014
b111cf8
Style adjustments for full-page MarkItUp editor
Feb 11, 2014
3ef6b8f
List styles adjustments
Feb 11, 2014
8544be0
Update class names for "span12", etc.
Feb 11, 2014
921366e
Restore container class
Feb 11, 2014
22644c4
Use font-awesome; use pinax-theme-bootstrap account bar template
Feb 11, 2014
cab3c06
Remove unused _default_sidebar.html
Feb 11, 2014
18d5a65
Use font awesome icons on dashboard
Feb 11, 2014
138033c
Sponsorship page adjustments
Feb 11, 2014
67f5d9e
Replace sponsor image placeholders with real data
Feb 14, 2014
32c0f8a
Link to sponsors from homepage
Feb 14, 2014
acea47a
Remove old static files
Feb 14, 2014
cd1c53b
Remove redesign files to static base
Feb 14, 2014
5845fa1
Remove .png logo
Feb 20, 2014
7eab014
Update PyCamp link
Feb 20, 2014
102eeb8
Include Python version in README
Feb 20, 2014
9dfdc5d
Merge remote-tracking branch 'origin/master' into design-refactor
Feb 20, 2014
89f5d48
Remove stale logout Javascript
Feb 26, 2014
6f003d9
Render user messages as safe
Feb 26, 2014
dd6a00e
Merge pull request #13 from pyohio/design-refactor
Feb 26, 2014
57afbcd
Changed strategy for handling custom proposals based off legacy data …
daaray Feb 26, 2014
b73e5f9
remove cruft from experimenting
daaray Feb 26, 2014
22b240d
add force drop of old stale tables
daaray Feb 26, 2014
d73a22b
moved sponsors up on homepage.
rayt86 Feb 27, 2014
79f5062
remove experimental cruft
daaray Feb 27, 2014
2ab32d0
Merge pull request #14 from pyohio/refactor-proposals
Feb 27, 2014
6fc4d31
Use PyOhio styles for schedule edit templates
Feb 28, 2014
69fd639
Update the version of chosen js library
Feb 28, 2014
f7599e4
Fix schedule editing for MarkItUp editor
Feb 28, 2014
1cc9f8e
Pin version of jquery
Feb 28, 2014
b1bd65e
Improve styles for schedule edit page
Feb 28, 2014
8b07014
Fix width of chosen element
Feb 28, 2014
17fac53
Merge pull request #16 from pyohio/15-fix-schedule-edit
Mar 3, 2014
2de66cc
adding schedule builder form bits
daaray Mar 4, 2014
f28f268
WIP restyled schedule view/edit
daaray Mar 4, 2014
5b021ec
make header consistent
daaray Mar 4, 2014
c038dbd
v1 restyled schedules
daaray Mar 4, 2014
95aa691
clean up presentation linked title styles
daaray Mar 4, 2014
4f1017c
clean up edit template
daaray Mar 4, 2014
484ad3e
clean up margins/padding in table paras
daaray Mar 4, 2014
19c529e
tweak allowed host
daaray Mar 4, 2014
8acc534
tweak allowed host
daaray Mar 4, 2014
ebc5907
Add link to 2013 videos on homepage
daaray Mar 4, 2014
a1e301f
Merge branch 'master' into feature/restyle-schedule
daaray Mar 4, 2014
0e683a5
add styles in case legacy content_override data is utilized
daaray Mar 4, 2014
a29ccc5
relayout CMS boxes per schedule section
daaray Mar 4, 2014
17c5c6b
revert to non-24h time format
daaray Mar 4, 2014
c971479
Fixes #21
daaray Mar 7, 2014
180e1a2
Merge branch 'master' into feature/restyle-schedule
daaray Mar 7, 2014
a46d689
fix casing issue
daaray Mar 7, 2014
f2bbb7a
fix casing issue
daaray Mar 7, 2014
0103543
fixed #19
rayt86 Mar 11, 2014
0c8d911
Merge pull request #17 from pyohio/feature/restyle-schedule
Mar 11, 2014
6daf572
add PyCamp & Venue blocks
daaray Apr 7, 2014
1785686
update pycamp URL
daaray Apr 7, 2014
116eb14
update to match visible Venue refs
daaray Apr 7, 2014
d15e449
genericizing further from Venue to Details
daaray Apr 7, 2014
e0a71f2
Added bold style to links.
rayt86 Jul 2, 2014
355acff
Added ducking widget to homepage and resolved issue with navigation b…
rayt86 Jul 24, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
_build
*.pyc
*.swp
_build
dev.db
site_media
local.py
.project
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# If you change the DB name here, also change it in pyohio/settings/travis.py
before_script:
- psql -c 'create database pyohio2014;' -U postgres
language: python
python:
- "2.7"
env:
- TOXENV=pyohio
install:
- pip install -q tox==1.6.1
script:
- tox -- --settings=pyohio.settings.travis
15 changes: 0 additions & 15 deletions README.md

This file was deleted.

66 changes: 66 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
The PyOhio 2014 website being built by Caktus Consulting Group, based on Pinax
Symposion.

Rather than use this as the basis for your conference site directly, you should
instead look at https://github.com/pinax/symposion which was designed for reuse.

PyOhio 2014
============

PyOhio 2014 is built on top of Pinax Symposion but may have customizations that
will may make things more difficult for you.

To get running locally
----------------------

This documentation assume you have the following installed::

- `pip >= 1.2.1 <http://www.pip-installer.org/>`_
- `virtualenv >= 1.11 <http://www.virtualenv.org/>`_
- `virtualenvwrapper >= 3.6 <http://pypi.python.org/pypi/virtualenvwrapper>`_

Create a new virtualenv and install the necessary requirements::

mkvirtualenv --distribute pyohio --python=python2.7
$VIRTUAL_ENV/bin/pip install -r $PWD/requirements/dev.txt

(For production, install -r requirements/base.txt).

Then create a local settings file and set your ``DJANGO_SETTINGS_MODULE`` to use it::

cp pyohio/settings/local.py.example pyohio/settings/local.py
echo "export DJANGO_SETTINGS_MODULE=pyohio.settings.local" >> $VIRTUAL_ENV/bin/postactivate
echo "unset DJANGO_SETTINGS_MODULE" >> $VIRTUAL_ENV/bin/postdeactivate

Exit the virtualenv and reactivate it to activate the settings just changed::

deactivate
workon pyohio

Setup the postgres database and load fixtures::

createdb pyohio2014
python manage.py syncdb
python manage.py migrate
python manage.py loaddata fixtures/*

Create a user account::

python manage.py createsuperuser


Run local server::

python manage.py runserver

For Gondor
--------------

* TODO

To run tests
------------

::

python manage.py test pyhio
21 changes: 13 additions & 8 deletions gondor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# The key associated to your site.
key: FY0S42YC6U6
key: Y3D4C8S0C2I

# Version control system used locally for your project.
vcs: git

# Python version to run on Gondor.
# runtime: python-2.7.3
runtime: python-2.7.3

# This path is relative to your project root (the directory gondor.yml lives in.)
requirements_file: requirements.txt
requirements_file: requirements/base.txt

# Commands to be executed during deployment. These can handle migrations or
# moving static files into place. Accepts same parameters as gondor run.
on_deploy:
- manage.py syncdb --noinput
- manage.py collectstatic --noinput
- manage.py syncdb --noinput
- manage.py migrate
- manage.py collectstatic --noinput

# URLs which should be served by Gondor mapping to a filesystem location
# relative to your writable storage area.
Expand All @@ -30,14 +31,18 @@ wsgi:
#
# wsgi = the Python module which should be importable
# application = the callable in the Python module
use_environment_cache: true
entry_point: pyohio.wsgi:application

# Options for gunicorn which runs your WSGI project.
gunicorn:
# The worker class used to run gunicorn (possible values include:
# sync, eventlet and gevent)
worker_class: sync

# Determines whether to use virtual environment caching to speed up
# deployments (will only install new dependencies; use gondor deploy
# --fresh to deploy to rebuild the virtual environment)
use_environment_cache: true

env:
DJANGO_SETTINGS_MODULE: pyohio.settings_gondor
DJANGO_SETTINGS_MODULE: pyohio.settings.gondor
16 changes: 12 additions & 4 deletions manage.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
#!/usr/bin/env python
import os, sys
import os
import sys


if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pyohio.settings")

settings = 'local'

if 'test' in sys.argv:
# Running tests - use test-specific settings
settings = "test"

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pyohio.settings.%s" % settings)

from django.core.management import execute_from_command_line

execute_from_command_line(sys.argv)
4 changes: 2 additions & 2 deletions pyohio/proposals/admin.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from django.contrib import admin

from pyohio.proposals.models import TalkProposal, TutorialProposal, OpenSpaceProposal
from .models import OpenSpaceProposal, TalkProposal, TutorialProposal


admin.site.register(OpenSpaceProposal)
admin.site.register(TalkProposal)
admin.site.register(TutorialProposal)
admin.site.register(OpenSpaceProposal)
5 changes: 2 additions & 3 deletions pyohio/proposals/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

from markitup.widgets import MarkItUpWidget

from pyohio.proposals.models import TalkProposal, TutorialProposal
from pyohio.proposals.models import OpenSpaceProposal
from .models import OpenSpaceProposal, TalkProposal, TutorialProposal


class ProposalForm(forms.ModelForm):

def clean_description(self):
value = self.cleaned_data["description"]
if len(value) > 400:
Expand Down
Loading