jparyani / mediagoblin Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
======== 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/>`_.
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.
To reproduce:
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.
It would be good to have a mechanism to publish the mediagoblin site (similar to the DNS txt record alias used by ghost)
when i'm trying to build a image with Dockerfile. i'm getting error in step 22.
please help me.
Error: Installed distribution six 1.5.2 conflicts with requirement six>=1.9
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.
The Sandstorm packaging is currently of MediaGoblin 0.7.1, whereas MediaGoblin 0.9.0 has been out since early 2016. Please update!
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.
From @arthurlutz:
One click install of mediagoblin is awesome! Congrats !
It would be even more awesome if the video plugins were activated (with some added libraries I guess, such as transcoding with ffmpeg?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.