Giter Club home page Giter Club logo

automgtic's People

Contributors

arthurlutz avatar joar avatar phaer avatar spaetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

automgtic's Issues

Support collections

It would be nice if we could specify a collection for the uploaded photos. I think its a common use case that one has a few dozen/hundred photos from a e.g. a field trip and wants to add them to a collection without doing so manually in the web interface (especially as long as there's no batch editing interface in mediagoblin).

As far as i know we would first have to add collection support to mediagoblins api plugin, but i thought i'll open an issue here anyway to start a discussion.

'Missing access token parameter.' when running authorize

Was running --authorize, gave it the code and it crashed with:

Traceback (most recent call last): File "./run.py", line 39, in <module> automgtic.authorize() File "/home/vadi/Programs/automgtic/automgtic/__init__.py", line 146, in authorize token_data = client.parse_request_body_response(token_response) File "/home/vadi/Programs/automgtic/local/lib/python2.7/site-packages/oauthlib/oauth2/draft25/__init__.py", line 302, in parse_request_body_response response = parse_token_response(body, scope=scope) File "/home/vadi/Programs/automgtic/local/lib/python2.7/site-packages/oauthlib/oauth2/draft25/parameters.py", line 251, in parse_token_response validate_token_parameters(params, scope) File "/home/vadi/Programs/automgtic/local/lib/python2.7/site-packages/oauthlib/oauth2/draft25/parameters.py", line 259, in validate_token_parameters raise KeyError("Missing access token parameter.") KeyError: 'Missing access token parameter.'

Order the upload files by using dates in exif (for Photos)

It would be nice to have pictures uploaded in the correct order (for example when migrating from another photo gallery).

If automgtic would read exif info and order the upload then the "recent uploads" views on mediagoblin would be nicer.

Thanks for automgtic.

oauthlib install requirement missing

$ python -c "from automgtic.models import Base, engine 
> Base.metadata.create_all(engine)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "automgtic/__init__.py", line 10, in <module>
    from oauthlib.oauth2.draft25 import WebApplicationClient
ImportError: cannot import name WebApplicationClient

After this change seems to work fine:

diff --git a/setup.py b/setup.py
index 6c59f14..6a97c2b 100644
--- a/setup.py
+++ b/setup.py
@@ -13,5 +13,6 @@ setup(
             'configobj',
             'sqlalchemy',
             'simplejson',
-            'poster'],
+            'poster',
+            'oauthlib'],
         license='Apache License v2')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.