70 Commits

Author SHA1 Message Date
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
Christopher Allan Webber
72ae87af4a Slightly wrapping paste error middleware and turning it on
Now we can show a nice "borked goblin" error :)
2011-08-21 00:09:29 -05:00
Christopher Allan Webber
fbeeacd7ae Tools to extract translation from python files and templates
- Added pybabel script to entry points
 - Added babel.ini, which we'll use to extract stuff
2011-08-06 22:00:49 -05:00
Joar Wandborg
851c51a354 Feature 477 - Support Cloud Files public storage
*   Added configuration options to mediagoblin.ini
*   process_media supports the python-cloudfiles
    almost-file-like objects by wrapping them in a
    contextlib.contextmanager-decorated func.
*   storage now has the CloudFilesStorage
*   New dependency added to setup.py; `python-cloudfiles`
2011-08-04 01:32:34 +02:00
Will Kahn-Greene
c7f0b6fab0 Updating version to 0.0.4. 2011-08-01 12:17:03 -04:00
Will Kahn-Greene
b7e57b1f76 Adds additional metadata to setup.py
* trove classifiers
* long description
* url and download_url
* ...
2011-08-01 12:13:02 -04:00
Will Kahn-Greene
132773ae08 Updates version to 0.0.3. 2011-07-05 09:26:45 -04:00
Christopher Allan Webber
0692c01e4c Merge remote branch 'remotes/jwandborg/issue_363'
Conflicts:
	setup.py
2011-06-19 20:00:35 -05:00
Christopher Allan Webber
d45e39664a Re-commenting-out lxml from setup.py
Clarifying that this is something to install from the package manager
and not via python setuptools itself.
2011-06-19 15:35:19 -05:00
Christopher Allan Webber
c897283849 Merge branch 'master' into configobj
Conflicts:
	setup.py
2011-06-18 11:10:46 -05:00
Christopher Allan Webber
5a994e37c2 We require lxml. Updating setup.py to reflect that. 2011-06-17 17:44:36 -05:00