2043 Commits

Author SHA1 Message Date
Christopher Allan Webber
21a84362ea Also tell people to install python-psycopg2 if using postgres in docs 2012-04-30 22:12:07 -05:00
Christopher Allan Webber
084a619079 ./bin/gmg migrate -> ./bin/gmg dbupdate in the docs 2012-04-30 22:05:27 -05:00
Christopher Allan Webber
9716031483 Committing extracted and compiled translations 2012-04-30 10:48:49 -05:00
Christopher Allan Webber
fc8d2334e2 Committing present MediaGoblin translations before pushing extracted messages 2012-04-30 10:48:21 -05:00
Christopher Allan Webber
fe191ea48a Removing references to MongoDB in docs/ 2012-04-29 13:11:31 -05:00
Christopher Allan Webber
2eae6ae1ce No need to keep around mongodb migration tests. 2012-04-29 13:05:00 -05:00
Christopher Allan Webber
088644a80b Deprecate ./bin/gmg migrate.
Keeping it around just in case someone manually wants to migrate
before running the convert thing or... something.  Probably silly.
2012-04-29 12:08:44 -05:00
Christopher Allan Webber
63578ee395 Removing wipealldata command and deleting env_export/env_import for now.
None of these tools really work anymore in the SQL world, and possibly
aren't as necessary either.  In the meanwhile, just disabling them to
reduce confusion.
2012-04-29 11:45:48 -05:00
Christopher Allan Webber
9679ab6c1c Removing mongo and mongokit as dependencies. 2012-04-29 11:11:08 -05:00
Elrond
d2eab8868e Translate form validation error messages.
Okay, this is a long story.
There are two ways to translate validation error messages:

1) Let wtforms do it. You give wtforms a translation thingy
   and it calls it for the message to be translated. Good
   idea maybe. Except: The translation function is only
   called for the builtin messages of wtforms. It's not
   called for any handcrafted messages in the constructor.
   And we can't translate the message there! Because the
   message needs to be translated when the form is
   rendered, for each user's locale.

   This does not work for us.

2) Translate the message while it gets rendered.
   Luckily we render the message completely by hand. So we
   can just translate it there also!

   Simple, easy, works!

This all does not cover translating the builtin messages of
wtforms. They're currently not extracted in any way, so our
translators can't translate them.

But that's another issue!
2012-04-24 00:17:03 +02:00
Christopher Allan Webber
80dc071b79 Making celeryd consistent: look for mediagoblin_local.ini
Use mediagoblin_local.ini as default conf file if it exists, else use
mediagoblin.ini, just like everything else.
2012-04-22 14:09:47 -05:00
Christopher Allan Webber
fe44915922 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-04-22 10:06:52 -05:00
Christopher Allan Webber
5d88f39875 Switching BROKER_HOST to sqlite:// instead of sqlalchemy+sqlite://
Okay, so if you run git master of kombu, this works.  And if you run
the older kombu + kombu-sqlalchemy, this also worked.  In the last
release of kombu (2.1.5) there's a bug, and sqlalchemy+sqlite://
worked for processes consuming tasks but not ones publishing tasks.

Aye aye aye.

I guess we might have to move our setup.py back to the old kombu +
kombu-sqlalchemy setup until they put out a new kombu release? :(
2012-04-22 10:02:04 -05:00
Elrond
e2afad955f Committing extracted and compiled translations 2012-04-22 12:45:18 +02: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
c2c66ea1c1 Committing extracted and compiled translations 2012-04-21 16:36:35 -05:00
Christopher Allan Webber
370314b5ae Committing present MediaGoblin translations before pushing extracted messages 2012-04-21 16:36:02 -05:00
Elrond
345afe1eff Extract new translatable strings. 2012-04-21 23:15:03 +02:00
Elrond
756274b631 transifex: Wait a bit after push.
We're seeing somewhat inconsistent data in tx pull.
My theory is: The server needs longer to process the
uploaded new template and work that into the translations.
2012-04-21 23:13:05 +02:00
Will Kahn-Greene
7798f911ab Documentation updates and fixes
* Nixed some of the mongodb references--pretty sure we're done with that.
* Fixed some awkward language.
* Fixed : :: stuff. Sphinx lets you do :: so you don't need the additional
  colon.
* Turned a paragraph into a .. note:: section. That makes it easier to
  notice and read.
2012-04-20 22:10:21 -04:00
Jakob Kramer
f646e2e11b use _ function on some now untranslatable strings 2012-04-19 20:15:07 +02:00
Jakob Kramer
7ca40b5992 '+ Add media' and 'View your profile' translatable 2012-04-19 20:14:23 +02:00
Christopher Allan Webber
add8d351de Also make sure mimetype here is set correctly via mimetype[0] (Thanks Shackra!) 2012-04-18 09:22:51 -05:00
Christopher Allan Webber
6a26e4b055 Committing extracted and compiled translations 2012-04-18 08:49:14 -05:00
Christopher Allan Webber
4a5b97babb Make image-for-media_title alt tag translatable 2012-04-18 08:48:17 -05:00
Christopher Allan Webber
4dafbaee1f Committing extracted and compiled translations 2012-04-18 08:23:46 -05:00
Christopher Allan Webber
754ba1762f Committing present MediaGoblin translations before pushing extracted messages 2012-04-18 08:23:26 -05:00
Joar Wandborg
098d20ab58 Merge remote-tracking branch 'joar/html5slider' 2012-04-18 12:10:23 +02:00
Joar Wandborg
1d83cf8a81 Added html5slider to support range inputs in Firefox 2012-04-18 12:06:10 +02:00
Shackra
ea42790bc3 Save the MIMEtype to cloudfiles correctly. 2012-04-16 22:06:54 +02:00
Joar Wandborg
2bfb811892 Updated the audio display <source> element
as per
<http://www.w3.org/TR/html5/the-source-element.html#attr-source-type>.

This closes bug <http://issues.mediagoblin.org/ticket/435>.
2012-04-16 10:43:50 +02:00
Elrond
3f36967401 log.debug the used config file.
Might be useful at some point.
2012-04-09 22:49:41 +02:00
Elrond
cb9b2b2a6f Fix atom feed for tags.
This one was missed. Needs to call a big sql join.
Luckily the join was already implemented.
2012-04-09 22:43:25 +02:00
Joar Wandborg
0db3e10afb Fixed video skin
Removed the default video.js skin entirely, now running on vjs-mg-skin
only!
2012-04-09 21:34:29 +02:00
Joar Wandborg
577ae8a8e1 Removed commented out pdb.set_trace 2012-04-09 20:50:43 +02:00
Joar Wandborg
d684af2766 Merge remote-tracking branch 'joar/media-fixes' 2012-04-09 20:36:50 +02:00
Joar Wandborg
196a518132 Media processing, transcoding, display fixes
- Added configurable options
  - Video
    - vp8_quality
    - vp8_threads
    - vorbis_quality
  - Audio
    - spectrogram_fft_size
  - ASCII
    - thumbnail_font
- Cleaned up ascii.asciitoimage
- Cleaned up video.transcoders
- Changed default video quality settings to better quality
- Changed default audio spectrogram solution to the double.
- Added a hacky notice for Firefox users instead of the broken range
  input.
2012-04-09 16:28:46 +02:00
Jef van Schendel
ab299ba449 Add MediaGoblin video player skin by chron0 2012-04-08 21:53:17 +02:00
Christopher Allan Webber
d9a31a3980 CELERY_ALWAYS_EAGER environment variable only recognized if 'true' now 2012-04-08 10:43:23 -05:00
Christopher Allan Webber
8a0d35e72a Allow users to pass callables in as controllers, not just import paths 2012-04-08 09:54:32 -05:00
Christopher Allan Webber
241503101d Committing extracted and compiled translations 2012-04-07 16:33:50 -05:00
Christopher Allan Webber
78da158fef Committing present MediaGoblin translations before pushing extracted messages 2012-04-07 16:33:17 -05:00
Elrond
e824570a23 Cleanup sql session after request. ALWAYS!
The cleanup could be missed if the request handling code in
app.py:__call__ exits early (due to exception, or due to
one of those early "return"s).
So to make sure the sql session is cleaned up for real,
wrap the whole thing in a try: finally:.

Also wrote a short tool to test if the session is actually
empty. The tool is currently disabled, but ready to be
used.
2012-04-07 23:21:59 +02:00
Will Kahn-Greene
abe7417827 Fix relnotes formatting
* adds link to deployment docs.
* tweaks formatting
2012-04-07 12:26:40 -04:00
Elrond
5be6425c28 Start adding release notes.
This is especially for noting the switch to sql and
explaining how to convert your mongodb data over to sql.
2012-04-05 19:49:14 +02:00
Joar Wandborg
775ec9e8f7 Updated documentation
Added PostgreSQL deployment documentation
2012-04-03 00:49:24 +02:00
Joar Wandborg
0e43491374 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-04-02 15:09:53 +02:00
Joar Wandborg
c8bee965ad gmg env_import shouldn't crash on unicode ...
characters in media titles
2012-04-02 15:08:22 +02:00
Elrond
797f4437eb Check that the media_data tables are empty.
In the analyzing part also check that the media_data tables
are empty (as expected) before dropping them.
2012-04-02 14:02:56 +02:00
Elrond
f9d62eccf4 Add ascii and audio tables/migration data.
Well, and if it's not needed, drop it again. ;)
2012-04-02 13:51:53 +02:00