aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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-018-52/+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-011-0/+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.
| * TestSubission's tag check stuff passing nowChristopher Allan Webber2012-03-261-3/+5
| |
| * Remove the user_dev directory on tests endingChristopher Allan Webber2012-03-261-7/+7
| | | | | | | | (We used to remove the mongo db on tests ending...)
| * Suggest we move to an in-memory database ;)Christopher Allan Webber2012-03-261-1/+1
| |
| * SQL based tests and refactored Celery setup stuffChristopher Allan Webber2012-03-264-33/+62
| | | | | | | | | | | | - Changed config files of test configs to use SQL - Updated celery initialization tools, factored them to be able to use the "big instance" application stuff
* | Switch JSONEncoded from VARCHAR to TEXTElrond2012-04-011-2/+2
| | | | | | | | | | | | | | | | The JSON fields are really "dumb stuff in here" fields. They are not intended to get indexed or anything. And they can get large. For example the exif_all field in one of my simple tests is nearly 7 kB large. Although VARCHAR might work, TEXT feels just better as the storage type.
* | JS: fix first part of #422; make items in drop-down acutally workJef van Schendel2012-04-011-8/+5
| |
* | CSS: change padding-left to margin-leftJef van Schendel2012-04-011-1/+1
| |
* | CSS: change comment marginsJef van Schendel2012-04-011-9/+9
| |
* | HTML/CSS: comment style changesJef van Schendel2012-04-012-8/+15
| |
* | HTML: remove elements for comment button style changeJef van Schendel2012-04-011-4/+0
| |
* | CSS: remove backgroundJef van Schendel2012-04-011-2/+1
| |
* | Logo margin fixJef van Schendel2012-04-011-1/+1
| |
* | Add dropdown to headerJef van Schendel2012-04-013-12/+97
| |
* | Revert changes from last commit; I am an idiotJef van Schendel2012-03-312-24/+0
| |
* | Switch over content to new layout/text; slight css editsJef van Schendel2012-03-312-0/+24
| |
* | Increase bottom margin headerJef van Schendel2012-03-311-1/+1
| |
* | Small CSS changes to headerJef van Schendel2012-03-311-7/+13
| |
* | Added pygst.require('0.10') since it's absence breaks stuffJoar Wandborg2012-03-301-0/+2
| |
* | Cleaned up media_types.video.transcodersJoar Wandborg2012-03-291-4/+4
| |
* | And remove some now useless methods.Elrond2012-03-291-36/+0
| |
* | Remove the DictReadProxy thing.Elrond2012-03-291-47/+4
| | | | | | | | And some other stuff, that the converter does not need.
* | Fix some simple errors.Elrond2012-03-292-4/+5
| |
* | Change models to a _v0 suffix.Elrond2012-03-292-48/+50
| | | | | | | | | | And add the image and video media_data tables. And start to rewrite the convert tool.
* | Make a copy of models for v0.Elrond2012-03-291-0/+375
| |
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinJoar Wandborg2012-03-293-2/+54
|\ \
| * | Audio: And add empty migrations.Elrond2012-03-291-0/+17
| | |
| * | Audio: Add models and disable media_data.Elrond2012-03-292-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add a super-minimal media_data table for audio. It currently contains nothing. Like the ascii one. 2. To avoid media_data trouble -- for now -- disable the creation of media_data completrly.
* | | Cleanded up video imports, removed PyGTK dependencyJoar Wandborg2012-03-292-38/+30
|/ /
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinJoar Wandborg2012-03-293-2/+12
|\ \
| * | 411: Add relationship and backrefs to media_data tables.Elrond2012-03-283-2/+12
| | | | | | | | | | | | | | | | | | Adding proper relationship()s and especially backref()s will delete media_data rows along with the main MediaEntry. This fixes #411.
* | | Seeking works in firefoxJoar Wandborg2012-03-292-34/+148
|/ / | | | | | | | | | | | | | | - Added support for indicating multiple buffered ranges (Firefox) - Added volume slider (Chromium) - Replaced stop button with faux pause button - Added 'ended' event handler
* | Changed audio.* Image* importsJoar Wandborg2012-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | so that they no longer import from PIL explicitly. This is due to explicit PIL.Image* imports failing on a Ubuntu machine within virtualenv. PIL is a mystery I have yet to find the energy to unravel. The 'implicit' approach works both for the affected machine and my local machine and I've seen it more often out in the wild, so I'm assuming it is the right way.
* | Fixed test_submission -> test_evil_file testJoar Wandborg2012-03-271-3/+2
| |
* | Merge remote-tracking branch 'joar/audio+sniffing'Joar Wandborg2012-03-2721-90/+920
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/media_types/image/processing.py mediagoblin/media_types/video/__init__.py mediagoblin/media_types/video/processing.py mediagoblin/tests/test_submission.py
| * | Media type refractors, pep8, lintJoar Wandborg2012-03-267-32/+34
| | | | | | | | | | | | | | | | | | - Removed THUMB_SIZE, MEDIUM_SIZE constants, depend on configuration values instead. - pep8 refractoring