80 Commits

Author SHA1 Message Date
Christopher Allan Webber
fc714df00d Removing PyPump as we aren't using it yet and there's a dependency conflict ;| 2013-08-15 18:29:35 -05:00
Christopher Allan Webber
4834ef8ec2 Merge remote-tracking branch 'refs/remotes/tsyesika/master'
New oauth tools!  Heck yeah!
2013-08-15 10:34:20 -05:00
Rodney Ewing
130b85f81a babel 1.0 doesn't have a localedata.list() method, so updated setup.py.
made "import crypto" fully qualified
2013-07-29 11:26:06 -07:00
xray7224
d41c6a5349 Adds oauth support up until authorization 2013-07-11 18:21:43 +01:00
Christopher Allan Webber
2ae78574b3 Merge branch 'release-0.4.1'
Conflicts:
	mediagoblin/_version.py
2013-07-10 17:40:57 -05:00
Christopher Allan Webber
cd1fda4d94 PyTest needs to be >= 2.3.1 2013-07-10 13:34:49 -05:00
Christopher Allan Webber
c1b342ba95 Reverting "No more of this find_packages nonsense."
This reverts commit b75eb88fabdac4a9fdc863969ec9472110732607.
2013-06-24 09:10:48 -05:00
Joar Wandborg
2d7b6bdef9 New notifications
- Added request.notifications
- Email configuration fixes
  - Set config_spec default SMTP port to `0` and switch to SSL/non-SSL
    default if `port == 0`
  - Added email_smtp_use_ssl configuration setting
- Added migrations for notification tables
- Added __repr__ to MediaComment(Mixin)
- Added MediaComment.get_entry => MediaEntry
- Added CommentSubscription, CommentNotification, Notification,
  ProcessingNotification tables
- Added notifications.task to celery init
- Fixed a bug in the video transcoder where pygst would hijack the
  --help argument.
- Added notifications
  - views
    - silence
    - subscribe
  - routes
  - utility methods
  - celery task
- Added half-hearted .active comment CSS style
- Added quick JS to show header_dropdown
- Added fragment template to show notifications in header_dropdown
- Added fragment template to show subscribe/unsubscribe buttons on
  media/comment pages
- Updated celery setup tests with notifications.task
- Tried to fix test_misc tests that I broke
- Added notification tests
- Added and extended tests.tools fixtures
- Integrated new notifications into media_home, media_post_comment views
- Bumped SQLAlchemy dependency to >= 0.8.0 since we need polymorphic for
  the notifications to work
2013-06-09 21:18:37 +02:00
Christopher Allan Webber
ee4687752f Make sure that the pytest revision is at least at 2.3. 2013-06-03 13:29:04 -05:00
Christopher Allan Webber
b75eb88fab No more of this find_packages nonsense.
Explicitly declare mediagoblin as the only package.  find_packages has
caused messes in the past :)

This commit sponsored by Pedro Ângelo.  Thanks!
2013-05-24 18:49:19 -05:00
Elrond
bc92ff9d3c Start to use six for basestring.
six allows us to smoothly get more forward compatible with
py3.  The idea is to change things over to use six, when/if
we feel a need for it.
2013-04-18 16:14:16 +02:00
Jessica T
f1c3807db7 Adds the timesince ability which fixes #394 2013-04-11 22:37:48 +01:00
Elrond
8021cc5605 Merge remote-tracking branch 'brett/itsdangerous'
* brett/itsdangerous:
  Call is_updated instead of testing it boolean.
  Harden It's Dangerous key management.
  First tests for the Session class.
  Set a starting value for session.send_new_cookie.
  Remove beaker stuff from the code.
  Delete the session cookie on an empty session.
  Back sessions with It's Dangerous.
  Improve fs security for itsdangerous secret.
  Docs for get_timed_signer_url.
  Basic itsdangerous infrastructure.

Conflicts:
	mediagoblin/tests/test_cache.py
2013-04-09 19:40:54 +02:00
Christopher Allan Webber
39a71c09d7 Also require pytest-xdist! 2013-04-03 16:31:42 -05:00
Christopher Allan Webber
c8196f2805 Use py.test --boxed for unit tests from now on! 2013-04-03 15:21:40 -05:00
Brett Smith
9e1fa2396f Remove beaker stuff from the code.
This is all obsoleted by It's Dangerous.
2013-03-24 15:10:08 -04:00
Brett Smith
c7424612d7 Back sessions with It's Dangerous.
This is a contribution to #668.
2013-03-24 14:44:41 -04:00
Christopher Allan Webber
db9ab08a11 Webtest2 breaks response.cookies stuff for some reason.
I don't understand why but other people do!

This is a terrible commit message and I am sorry for it.
2013-03-24 13:22:31 -05:00
Christopher Allan Webber
394a4a37f7 require mock for the new uuid-mocking tests 2013-01-23 16:47:30 -06:00
Christopher Allan Webber
e535b9b36f Make translitcodec optional, and work nicely without it. 2013-01-06 21:41:08 -06:00
Sebastian Spaeth
8d19cb2445 Don't require webob as dependency
It is pushing up the daisies. Also relnote the change.
2012-12-21 08:24:28 +01:00
Sebastian Spaeth
1ac1f00ebe Use pypi-compatible license signature
It complains about a non-compatible license string. so use the
GNU AGPL v3+ string that is listed at
http://pypi.python.org/pypi?%3Aaction=list_classifiers

With this change, we are able to create a  pypi mediagoblin package.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-12-03 09:32:29 +01:00
Elrond
df7e06c40c Require werkzeug >= 0.7
We need it, really. For csrf.py's request.scheme.

Thanks to Sebastian Spaeth!
2012-11-24 00:16:51 +01:00
Joar Wandborg
5b60ec41ee Removed Routes dependency, added admin routes 2012-10-20 12:35:03 +02:00
Christopher Allan Webber
27a68d2b1e Setting celery and kombu at very specific versions so that doing a fresh install doesn't break
We really ought to get mediagoblin working with the latest packages.
2012-08-20 11:04:13 -05:00
Will Kahn-Greene
3031764d13 Add python language version classifiers 2012-08-06 11:42:15 -04:00
Christopher Allan Webber
33e902e3b3 Removing PIL from the setup.py develop process.
People should use package managers to install PIL.  It's too much of a
mess to install via python packaging.
2012-07-26 10:46:21 -05:00
Christopher Allan Webber
f2e3a6a01c Explicitly state that we need a webob version >= 1.1 also. 2012-07-01 10:41:37 -05:00
Christopher Allan Webber
2a376ae77f Now require sqlalchemy >= 0.7.0 2012-06-11 07:30:42 -05:00
Christopher Allan Webber
9679ab6c1c Removing mongo and mongokit as dependencies. 2012-04-29 11:11:08 -05:00
Christopher Allan Webber
ec05785089 Remove kombu-sqlalchemy and use database string in modern kombu-proper format
Previously we were using kombu-sqlalchemy the library for sqlalchemy
support.  Newer kombu has support for this internally, so we're using
that.  Requires changing a celery setting and also removing
kombu-sqlalchemy from your path.

I hope the process of removing kombu-sqlalchemy from one's path
doesn't confuse too many people...!
2012-04-21 20:29:02 -05:00
Christopher Allan Webber
b594eadfbf kombu-sqlalchemy a requirement in order for kombu sqlalchemy transport to work 2012-02-26 13:25:02 -06:00
Christopher Allan Webber
99812bbc4a We now require sqlalchemy and sqlalchemy-migrate 2012-02-19 15:30:38 -06:00
Will Kahn-Greene
7f4ebeed76 Fix copyright statements; add LICENSE for EXIF.py 2012-02-08 10:47:08 -05:00
Christopher Allan Webber
b4e877ae97 We were using translitcodec and I didn't understand how it worked ;)
My bad!
2012-01-28 11:31:26 -06:00
Christopher Allan Webber
da471f26f2 We aren't using translitcodec anymore. Kill it! 2012-01-28 11:13:03 -06:00
Elrond
d595374d18 Packaging improvement by Clint Byrum from Debian/Ubuntu
1) MANIFEST.in missed a bunch of things, especially
   config_spec.ini.

2) You need to specify include_package_data=True in
   setup.py to actually activate MANIFEST.in it seems.

Thanks go to Clint Byrum!
2012-01-26 21:33:49 +01:00
Christopher Allan Webber
38f102515a Cloudfiles not actually a dependency, removing from setup.py
If users want cloudfiles, they can always ./bin/easy_install it.
2011-12-04 23:58:58 -06:00
Christopher Allan Webber
1b7662012f Uncommenting requires=['gst'] till I figure out why Joar added it there :) 2011-11-25 12:33:34 -06:00
Joar Wandborg
b9e1fa280e Merge branch 'video_gstreamer-only'
Conflicts:
	mediagoblin/db/migrations.py
	mediagoblin/submit/views.py
2011-11-21 21:51:30 +01:00
Joar Wandborg
a63b640f12 Stashing changes 2011-11-21 00:06:59 +01:00
Christopher Allan Webber
ee91c2b88d Merge remote-tracking branch 'remotes/nyergler/pep8-ification'
Conflicts:
	mediagoblin/db/migrations.py
	mediagoblin/db/models.py
	mediagoblin/user_pages/views.py
	mediagoblin/util.py
2011-11-13 20:23:26 -06:00
Joar Wandborg
6cde0361c7 Added pygtk to dependencies 2011-10-27 12:14:53 +02:00
Christopher Allan Webber
eb5bb3fc99 Require an older version of WebOb as a stopgap fix for Issue #622
Hopefully they'll release a new version with my patch soon!
2011-10-18 17:50:24 -05:00
Joar Wandborg
363d774eea Removed arista dependency 2011-10-14 03:18:30 +02:00
Joar Wandborg
26729e0277 Multimedia refractoring, and added video thumbnail support 2011-10-05 22:58:42 +02:00
Nathan Yergler
243c3843bd Whitespace and formatting cleanup.
* Removed trailing whitespace
* Line length < 80 where possible
* Honor conventions on number of blank lines
* Honor conventions about spaces around :, =
2011-10-01 15:10:02 -07:00
Joar Wandborg
81291bbb89 Added arista to install requires 2011-09-28 21:00:33 +02:00
Will Kahn-Greene
12a100e4d8 508. Updates copyright/license information 2011-09-01 20:50:19 -04:00
Will Kahn-Greene
cf37fffc11 Switches to Zooko's version method
This centralizes the version number into a single place but makes it
available in the code as well as in setup.py.

Based on the recipe found at
http://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package/7071358#7071358
2011-09-01 20:50:19 -04:00