2025 Commits

Author SHA1 Message Date
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
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