aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removing mongo and mongokit as dependencies.Christopher Allan Webber2012-04-291-2/+0
|
* Translate form validation error messages.Elrond2012-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* Making celeryd consistent: look for mediagoblin_local.iniChristopher Allan Webber2012-04-221-1/+6
| | | | | Use mediagoblin_local.ini as default conf file if it exists, else use mediagoblin.ini, just like everything else.
* Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2012-04-2212-20/+120
|\
| * Committing extracted and compiled translationsElrond2012-04-2212-20/+120
| |
* | Switching BROKER_HOST to sqlite:// instead of sqlalchemy+sqlite://Christopher Allan Webber2012-04-221-1/+1
|/ | | | | | | | | | | | 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? :(
* Remove kombu-sqlalchemy and use database string in modern kombu-proper formatChristopher Allan Webber2012-04-212-2/+1
| | | | | | | | | | 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...!
* Committing extracted and compiled translationsChristopher Allan Webber2012-04-2140-36/+376
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-04-215-33/+34
|
* Extract new translatable strings.Elrond2012-04-211-1/+21
|
* transifex: Wait a bit after push.Elrond2012-04-211-0/+3
| | | | | | 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.
* Documentation updates and fixesWill Kahn-Greene2012-04-203-35/+45
| | | | | | | | | * 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.
* use _ function on some now untranslatable stringsJakob Kramer2012-04-192-3/+3
|
* '+ Add media' and 'View your profile' translatableJakob Kramer2012-04-191-2/+2
|
* Also make sure mimetype here is set correctly via mimetype[0] (Thanks Shackra!)Christopher Allan Webber2012-04-181-1/+1
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-04-1845-419/+601
|
* Make image-for-media_title alt tag translatableChristopher Allan Webber2012-04-181-2/+4
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-04-182-4/+4
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-04-181-46/+57
|
* Merge remote-tracking branch 'joar/html5slider'Joar Wandborg2012-04-184-8/+273
|\
| * Added html5slider to support range inputs in FirefoxJoar Wandborg2012-04-184-8/+273
| |
* | Save the MIMEtype to cloudfiles correctly.Shackra2012-04-161-0/+6
|/
* Updated the audio display <source> elementJoar Wandborg2012-04-161-1/+1
| | | | | | | as per <http://www.w3.org/TR/html5/the-source-element.html#attr-source-type>. This closes bug <http://issues.mediagoblin.org/ticket/435>.
* log.debug the used config file.Elrond2012-04-091-0/+1
| | | | Might be useful at some point.
* Fix atom feed for tags.Elrond2012-04-091-3/+1
| | | | | This one was missed. Needs to call a big sql join. Luckily the join was already implemented.
* Fixed video skinJoar Wandborg2012-04-091-2/+1
| | | | | Removed the default video.js skin entirely, now running on vjs-mg-skin only!
* Removed commented out pdb.set_traceJoar Wandborg2012-04-091-1/+0
|
* Merge remote-tracking branch 'joar/media-fixes'Joar Wandborg2012-04-098-46/+87
|\
| * Media processing, transcoding, display fixesJoar Wandborg2012-04-098-46/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Add MediaGoblin video player skin by chron0Jef van Schendel2012-04-083-1/+417
|/
* CELERY_ALWAYS_EAGER environment variable only recognized if 'true' nowChristopher Allan Webber2012-04-081-1/+1
|
* Allow users to pass callables in as controllers, not just import pathsChristopher Allan Webber2012-04-081-1/+7
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-04-0740-792/+988
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-04-075-46/+689
|
* Cleanup sql session after request. ALWAYS!Elrond2012-04-072-8/+17
| | | | | | | | | | | | 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.
* Fix relnotes formattingWill Kahn-Greene2012-04-072-5/+7
| | | | | * adds link to deployment docs. * tweaks formatting
* Start adding release notes.Elrond2012-04-052-0/+53
| | | | | This is especially for noting the switch to sql and explaining how to convert your mongodb data over to sql.
* Updated documentationJoar Wandborg2012-04-031-3/+88
| | | | Added PostgreSQL deployment documentation
* Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinJoar Wandborg2012-04-021-1/+8
|\
| * Check that the media_data tables are empty.Elrond2012-04-021-1/+8
| | | | | | | | | | In the analyzing part also check that the media_data tables are empty (as expected) before dropping them.
* | gmg env_import shouldn't crash on unicode ...Joar Wandborg2012-04-021-1/+1
|/ | | | characters in media titles
* Add ascii and audio tables/migration data.Elrond2012-04-022-1/+23
| | | | Well, and if it's not needed, drop it again. ;)
* Cleanup unused media_data tables and migration info.Elrond2012-04-021-6/+34
| | | | | | After converting everything, check what is actually used in the db. For media_types that are not used, drop all the media_data tables and remove the migration info.
* Mongo -> SQL conversion tool: UI improvementsElrond2012-04-021-16/+28
| | | | | | Output some headers while converting things. And indent some info. Also some DRY things.
* Fixed an issue where orphaned comments breaks the importJoar Wandborg2012-04-021-5/+11
|
* Merge remote-tracking branch 'refs/remotes/elrond/sql/final'Christopher Allan Webber2012-04-019-53/+94
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/tests/test_submission.py Also, WHOO SQL SWITCHOVER PARTY! ASCII DANCE PARTY /_o_/ \ / \o_ o ( _|_ ) //) /\ / o \ /| /| *BMCH BMCH BMCH BMCH* % /_o_/ HHHYAAaaaaa /_ / / % AAAAAHAHAHAHAHHHAAHA ,, .------ o_o ;; /\\ \ $ __ '\/ || // \\ # /_/ \// // //\\ \ ) \\ \ % \\ \\_____\ | ) //------- /_/_ // // SWITCH YOUR DATABASE FLIP A FUKKEN BOOLEAN % __________ .-' '-. .' '. .' _--_ _--_ '. / / (_). / (_). \ . | | | | . | ._____, ._____, | | ____________________ | | | | | ' \ / ' \ '. .----./ / \ '._ / / / '. '--------' .' '._ _.' '----------'
| * Fix unit tests for sql: cache media_id.Elrond2012-04-011-2/+3
| | | | | | | | | | | | | | Attributes of SQLAlchemy objects get "lost". So "cache" them locally in the code. This is really the simple explanation for some scarry sqlalchemy details.
| * Finally enable SQL for everybody!Elrond2012-04-012-1/+1
| | | | | | | | | | | | This switches the whole source code over to use sql instead of mongodb. It's a pretty easy change, but changes nearly the complete way things work. Hopefully everythong works!
| * Reload the user for current values.Elrond2012-03-261-0/+1
| | | | | | | | This might not be needed, but it helped at one point.
| * Reload and detach the test user.Elrond2012-03-261-0/+7
| | | | | | | | | | | | | | | | The code often needs to know some fields of the test user even after doing some sql and stuff. The solultion is to reload it and properly detach it from its Session. That way all its fields are available and the whole thing is not connected to a session. It feels like a normal object.