Giter Site home page Giter Site logo

mediagoblin's Introduction

========
 README
========

Sandstorm
=========

This Sandstorm app uses docker to build it's package.

* You must have docker v1.1+ installed.
* First run `docker build -t mediagoblin .` to build the docker image
* Then you will need to run the image with `docker run -p 6543:6543 --dns='127.0.0.1' -i -t mediagoblin /sbin/my_init -- /bin/bash`
* Exit this image after it has booted up and run the app successfully. Then run `./export_docker.sh` from this directory to export the last run docker container into a folder named `dockerenv`.
* Once this is done, `spk dev` and `spk pack` should now work like normal

What is GNU MediaGoblin?
========================

* A place to store all your different media (photos, videos, audios,
  and more!) that’s as awesome as, if not more awesome than, existing
  network services (Flickr, YouTube, etc)
* Customizable!
* A place for people to collaborate and show off original and derived
  creations.  Free, as in freedom.  We’re a GNU project after all.
* Extensible: Plugins allow you to add new media types (3d models?
  Presentations and documents?  Yes, and more!) or extend old ones.
* A real community, and we'd love to have you join us!


Is it ready for me to use?
==========================

Yes!


Can I help/hang out/participate/whisper sweet nothings in your ear?
===================================================================

Yes!  Please join us and hang out!  For more information on where we
hang out, see `our Join page <http://mediagoblin.org/join/>`_


Where is the documentation?
===========================

The beginnings of a site administration manual is located in the ``docs/``
directory in HTML, Texinfo, and source (Restructured Text) forms.  It's
also available online at http://docs.mediagoblin.org/ in HTML form.

Contributor/developer documentation as well as documentation on the
project processes and infrastructure is located on
`the wiki <http://wiki.mediagoblin.org/>`_.

mediagoblin's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mediagoblin's Issues

Mistake in COPYING file

I read COPYING file.

JavaScript files located in the ``mediagoblin/`` directory tree 
are free software: you can redistribute and/or modify them under the
terms of the GNU Affero General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at
your option) any later version.

You should have received a copy of the GNU Lesser General Public
                                           ^^^^^^
License along with this program, in the file ``licenses/LGPLv3.txt``.
                                                        ^^^^^
If not, see <http://www.gnu.org/licenses/>.

According to commit logs, JS files are licensed under the AGPLv3 actually,
not LGPLv3.
You should correct this file.

Mediagoblin on Sandstorm crashes any time a user with an accent in their full name uploads a photo

To reproduce:

  • Make a user on sandstorm.io that has an accented character in their full name. Say "Jane Tölva".
  • Make a Mediagoblin grain.
  • Upload a photo to the grain.

You'll get a "YEOWCH" error with the following logs:

Error - <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 17-18: ordinal not in range(128)
URL: https://6fed0ea39eb58489a359840924405300.oasis.sandstorm.io/u/Karen%20Rustad%20T%C3%83%C2%B6lva/
File '/opt/app/local/lib/python2.7/site-packages/paste/exceptions/errormiddleware.py', line 144 in call
app_iter = self.application(environ, sr_checker)
File '/opt/app/local/lib/python2.7/site-packages/paste/deploy/config.py', line 291 in call
return self.app(environ, start_response)
File '/opt/app/mediagoblin/app.py', line 342 in call
return self.call_backend(environ, start_response)
File '/opt/app/local/lib/python2.7/site-packages/werkzeug/wsgi.py', line 570 in call
cleaned_path = cleaned_path.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 17-18: ordinal not in range(128)

The problem appears to be that Mediagoblin is using HTTP_X_SANDSTORM_USERNAME to generate the "username" for the user in the grain. But this property is the user's full name and can have special characters in it--something that the normal mediagoblin user creation flow prevents. You likely want to use HTTP_X_SANDSTORM_PREFERRED_HANDLE to get a username instead. Either that or make the username field Unicode compatible.

"Package hash did not match" while installing on self-hosting sandstorm

Hi,
I got the "Package hash did not match" error while installing on self-hosting sandstorm. (and it only happends on my self-hosting sandstorm)
Log:

Downloading app: https://app-index.sandstorm.io/packages/7c76eaa536d4a28742e965ebccc1dc89
Failed to install app: Error: Package hash did not match.
    at AppInstaller.<anonymous> (server/installer.js:492:1)
    at IncomingMessage.<anonymous> (server/installer.js:365:1)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:944:16
    at process._tickCallback (node.js:448:13)

Thank you.

On first login, show a message indicating that you are already logged in

Per feedback from @cwebber, we could do something to clearly indicate to MediaGoblin users via the Sandstorm demo (and the package generally) that the user has already been logged in.

One option is to add something special to the template on first login indicating, "This is Sandstorm! You're logged in! Everything's great!"

The way this works in normal, CLI-admin mediagoblin is that you create an admin account via CLI and then you log in, so you already know that you're logged in as an admin.

Broken css and no image

After instilling mediagoblin on a local machine when I navigated to the sites url the fonts and css were broken and no images were shown. I created an user and even after login the issue continue. Here is a screen short of the web page.

image

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.