154 Commits

Author SHA1 Message Date
Christopher Allan Webber
b19491c535 specify older sqlalchemy-migrate because pbr ruins everything. 2014-04-03 14:20:44 -05:00
Christopher Allan Webber
052d3d985a Removing extlib submodule and switching it to being a package.
Much nicer!

This commit sponsored by Cameron Merkel.  Thanks Cameron!  Good luck
with yer projects!
2014-03-27 15:05:25 -05:00
Christopher Allan Webber
9caaff48af Okay, nm, that didn't fix it. Setting it back. Sigh. 2014-03-26 16:41:56 -05:00
Christopher Allan Webber
a946908d0f I guess this also fixes it and is nicer 2014-03-26 16:35:46 -05:00
Christopher Allan Webber
0b3b9a291f six==1.5.2 2014-03-26 16:17:29 -05:00
Christopher Allan Webber
5d04469315 Babel now requires >= 1.0 2014-03-26 14:17:18 -05:00
tilly-Q
74d7ff9614 Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.
2014-03-23 16:40:12 -04:00
Christopher Allan Webber
023cda0974 Fix Babel version restriction. Onward and upward!
(Fix suggested by simonft... thanks!)
2014-03-22 11:02:24 -05:00
Christopher Allan Webber
c07bb3123c Fix version conflicts we were hitting with six 2014-03-20 23:25:25 -05:00
Boris Bobrov
2636dddfa6 added new slugify with unidecode 2014-03-11 11:01:04 -05:00
tilly-Q
157794d704 fixed my mistaken use of => from last commit >__< 2014-02-13 14:10:11 -05:00
tilly-Q
6d0cafdcca Changed setup.py install_requirements to require sqlalchemy at least of version
0.8.0. Our code was crashing when running with sqlalchemy 0.7.4 because of
imports like sqlalchemy.orm.with_polymorphic
2014-02-13 14:00:09 -05:00
Christopher Allan Webber
cebd1ad71c Okay that broke the build process(?), testing if this fixes it 2014-01-23 09:32:54 -06:00
Christopher Allan Webber
16a952a4eb Once we can, that is. 2014-01-23 09:23:51 -06:00
Christopher Allan Webber
9a7d986304 Setting a specific pbr version in setup.py 2014-01-23 09:23:38 -06:00
Christopher Allan Webber
f7f38fb047 sqlalchemy-migrate 0.8.X doesn't get along with sqlalchemy 0.9.0 2014-01-01 16:42:04 -06:00
Christopher Allan Webber
edb55f7f8f Previous ordering seemed weird. 2013-12-02 13:38:45 -06:00
Christopher Allan Webber
e73afbd57f Including python-dateutil in our dependency list 2013-12-02 13:36:55 -06:00
Asheesh Laroia
26990bc0e0 In the case of setuptools/sqlalchemy conflict, explain the issue
This commit tri-licensed under:
  CC0 1.0, AGPLv3 or later (at your option), and Apache License 2.0
2013-12-02 12:13:31 -06:00
Christopher Allan Webber
904caab6b1 Apparently kombu is fine again 2013-11-10 12:38:49 -06:00
Christopher Allan Webber
496d779a63 Apparently we need a version of Kombu less than 3.0 for now.
This commit sponsored by Andrés Muñiz Piniella.  Thank you!
2013-11-03 20:22:57 -06:00
Christopher Allan Webber
6b61a51e45 We're presently tied to a very specific version of oauthlib... 2013-08-30 16:27:39 -05:00
Christopher Allan Webber
6a01fafc98 Explicitly require a newer celery 2013-08-29 09:36:34 -05:00
Sebastian Spaeth
65875f24e4 Remove specific celery version requirement
Any celery above 2.5 should work just fine.
2013-08-19 14:42:39 -07:00
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