2114 Commits

Author SHA1 Message Date
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
Elrond
df1c94f52d Cleanup unused media_data tables and migration info.
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.
2012-04-02 13:51:52 +02:00
Elrond
e85a953951 Mongo -> SQL conversion tool: UI improvements
Output some headers while converting things.
And indent some info.
Also some DRY things.
2012-04-02 13:51:52 +02:00
Joar Wandborg
f69223e973 Fixed an issue where orphaned comments breaks the import 2012-04-02 13:44:28 +02:00
Christopher Allan Webber
e089b66bde Merge remote-tracking branch 'refs/remotes/elrond/sql/final'
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
%
             __________
          .-'          '-.
        .'                '.
      .'  _--_        _--_  '.
     /   /  (_).     /  (_).  \
    .   |      |    |      |   .
    |    ._____,     ._____,   |
    |   ____________________   |
    |    |                 |   |
    '    \                 /   '
     \    '.        .----./   /
      \     '._    /     /   /
       '.      '--------'  .'
         '._            _.'
            '----------'
2012-04-01 15:36:11 -05:00
Elrond
bc27a100fc Fix unit tests for sql: cache media_id.
Attributes of SQLAlchemy objects get "lost". So "cache"
them locally in the code.
This is really the simple explanation for some scarry
sqlalchemy details.
2012-04-01 22:02:06 +02:00
Elrond
ce29c140ed Finally enable SQL for everybody!
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!
2012-04-01 21:46:36 +02:00
Elrond
1e3a0e0ca0 Switch JSONEncoded from VARCHAR to TEXT
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.
2012-04-01 19:58:23 +02:00
Jef van Schendel
98853c63fd JS: fix first part of #422; make items in drop-down acutally work 2012-04-01 18:06:49 +02:00
Jef van Schendel
339105fa36 CSS: change padding-left to margin-left 2012-04-01 17:25:50 +02:00
Jef van Schendel
e4898f43fd CSS: change comment margins 2012-04-01 17:25:25 +02:00
Jef van Schendel
55dbaa9b77 HTML/CSS: comment style changes 2012-04-01 17:22:37 +02:00
Jef van Schendel
ff2e9dc0d6 HTML: remove elements for comment button style change 2012-04-01 17:11:57 +02:00
Jef van Schendel
2d65b47360 CSS: remove background 2012-04-01 17:07:52 +02:00
Jef van Schendel
30a89a5704 Logo margin fix 2012-04-01 17:04:50 +02:00
Jef van Schendel
d297d8e834 Add dropdown to header 2012-04-01 16:02:23 +02:00
Jef van Schendel
e79d69739e Revert changes from last commit; I am an idiot 2012-03-31 16:55:35 +02:00
Jef van Schendel
18dbdf07ba Switch over content to new layout/text; slight css edits 2012-03-31 16:48:06 +02:00
Jef van Schendel
c5a9ecf247 Increase bottom margin header 2012-03-31 14:25:37 +02:00
Jef van Schendel
d317d9d690 Small CSS changes to header 2012-03-31 14:10:58 +02:00
Joar Wandborg
9fb336fdc2 Added pygst.require('0.10') since it's absence breaks stuff 2012-03-30 17:50:56 +02:00
Joar Wandborg
c3c2f163c5 Updated Video docs, so that I won't forget 2012-03-30 00:18:54 +02:00
Joar Wandborg
ab0d5b59ab Cleaned up media_types.video.transcoders 2012-03-29 23:53:05 +02:00
Elrond
73758391f3 And remove some now useless methods. 2012-03-29 23:23:57 +02:00
Elrond
dda67f7152 Remove the DictReadProxy thing.
And some other stuff, that the converter does not need.
2012-03-29 23:23:57 +02:00
Elrond
19535af4e5 Fix some simple errors. 2012-03-29 23:23:57 +02:00
Elrond
c0fddc63e8 Change models to a _v0 suffix.
And add the image and video media_data tables.
And start to rewrite the convert tool.
2012-03-29 23:23:57 +02:00
Elrond
7f5ae1c315 Make a copy of models for v0. 2012-03-29 23:23:57 +02:00
Joar Wandborg
450ea6094d Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-03-29 23:01:40 +02:00
Joar Wandborg
ff3136d0e8 Cleanded up video imports, removed PyGTK dependency 2012-03-29 22:52:39 +02:00
Elrond
c45dfee61e Audio: And add empty migrations. 2012-03-29 21:52:26 +02:00
Elrond
c7cf6235fe Audio: Add models and disable media_data.
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.
2012-03-29 21:45:05 +02:00
Joar Wandborg
90b25eb2d1 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-03-29 16:19:11 +02:00
Joar Wandborg
97e40b5285 Seeking works in firefox
- Added support for indicating multiple buffered
  ranges (Firefox)
- Added volume slider (Chromium)
- Replaced stop button with faux pause button
- Added 'ended' event handler
2012-03-29 16:06:36 +02:00