1974 Commits

Author SHA1 Message Date
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
Elrond
582958e333 The video media_type needs pygtk/gtk.
Note in the docs, that the video media_type needs the gtk
and pygtk modules and where to get them on debian.
2012-03-29 13:15:38 +02:00
Elrond
02f07bfe14 411: Add relationship and backrefs to media_data tables.
Adding proper relationship()s and especially backref()s
will delete media_data rows along with the main MediaEntry.
This fixes #411.
2012-03-28 13:21:47 +02:00
Joar Wandborg
352a180765 Changed audio.* Image* imports
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.
2012-03-27 23:43:15 +02:00
Joar Wandborg
0308958b2d Fixed test_submission -> test_evil_file test 2012-03-27 16:38:41 +02:00
Joar Wandborg
deea3f6661 Merge remote-tracking branch 'joar/audio+sniffing'
Conflicts:
	mediagoblin/media_types/image/processing.py
	mediagoblin/media_types/video/__init__.py
	mediagoblin/media_types/video/processing.py
	mediagoblin/tests/test_submission.py
2012-03-27 12:05:09 +02:00
Christopher Allan Webber
d0cb752992 Removing superfluous whitespace 2012-03-26 15:11:05 -05:00
Christopher Allan Webber
c051615889 Merge remote-tracking branch 'remotes/slikdigit/bassam'
Conflicts:
	mediagoblin/media_types/image/processing.py
2012-03-26 15:09:35 -05:00
Christopher Allan Webber
e3e5980624 Merge remote-tracking branch 'remotes/bretts/bug261-resized-filenames' 2012-03-26 14:33:12 -05:00
Jef van Schendel
ebb24e4fd1 Add comment in JavaScript file about duplicating the password field 2012-03-26 20:23:49 +02:00
Brett Smith
c16b819663 Merge remote branch 'origin/master' into bug261-resized-filenames
This merge involved moving the new FilenameBuilder class to
processing/__init__.py, and putting the comment deletion tests back into
test_submission.py using the refactored functions.
2012-03-26 14:10:22 -04:00
Brett Smith
28f364bd6d Rename to FilenameBuilder, with a main method named fill.
I think these names better convey what's actually going on.  I updated the
documentation a bit while I was at it.
2012-03-26 13:40:35 -04:00
Joar Wandborg
c56d4b55a1 Media type refractors, pep8, lint
- Removed THUMB_SIZE, MEDIUM_SIZE constants, depend on
  configuration values instead.
- pep8 refractoring
2012-03-26 17:44:08 +02:00
Jef van Schendel
7ccf418185 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-03-25 21:34:00 +02:00
Elrond
0608d57f5d Merge remote-tracking branch 'gandaro/forgot-password-autofillin'
* gandaro/forgot-password-autofillin:
  set username default server-side
  Fill username automatically in (Forget Password)
2012-03-25 21:34:05 +02:00
Jakob Kramer
952b97d5a0 set username default server-side 2012-03-25 21:51:09 +02:00
Jef van Schendel
afcb08553e Header style change 2012-03-25 21:33:52 +02:00
Brett Smith
84725abd64 Refactor video processing to use FilenameMunger. 2012-03-25 13:32:25 -04:00
Brett Smith
ab35ad4605 Use FilenameMunger. 2012-03-25 13:26:57 -04:00
Brett Smith
4774cfa3c0 Add documentation to the FilenameMunger class. 2012-03-25 12:16:19 -04:00
Brett Smith
095fbdaf8d Add FilenameMunger class to processing, with tests.
Munging filenames is something all media type processors want to be able to
do, so I'm refactoring it out into a nice bite-sized class.
2012-03-25 12:11:13 -04:00
Elrond
5101f84404 Drop debug from migration. 2012-03-25 15:01:24 +02:00
Elrond
e63656fcf7 Cleanup mongo->sql converter.
1. No need to drop media_data['exif'], we only have and
   want media_data['exif_all'].

2. Use media['_id'] instead of media._id (better not use
   dot-notation on mongo objects in such a low level tool).
2012-03-25 14:42:03 +02:00
Elrond
f7ab2f42ea Do not fill media_data['exif'] any more. 2012-03-25 14:42:03 +02:00
Elrond
11d36843b0 Migration fixup: Drop empty exif_all.
If the exif info is totally empty, do not add it at all to
the media_data dict in mongo.
2012-03-25 14:42:03 +02:00
Elrond
c8c75ad044 Create migration to move exif data around in media_data.
Move media_data['exif']['clean'] to media_data['exif_all']
drop media_data['exif']['useful']
drop media_data['exif']
2012-03-25 14:42:03 +02:00
Elrond
f116a1243f Use exif_display_iter in the template.
As the newly created entries have media_data.exif_all use
the exif_display_iter method to calculate the exif entries
for displaying on the fly.

After the mongo migration all the old entries will also
have exif_all and will work again.
2012-03-25 14:42:03 +02:00
Elrond
763ef5b77e Start to fill media_data.exif_all in addition.
In addition to filling the normal slot media_data['exif'],
now also fill media_data.exif_all. This is the new slot
used by SQL.
For a few moments this will create duplicated entries in
the mongo db. But this shouldn't hurt.
2012-03-25 14:12:53 +02:00
Jakob Kramer
6c49799deb Fill username automatically in (Forget Password)
Fill the username automatically in the "Forget Password" form
if the user already entered his username on the login page
2012-03-24 17:39:52 +01:00
Christopher Allan Webber
db4039165f Merge remote-tracking branch 'remotes/gandaro/wipealldata-from-db_name' 2012-03-24 09:58:26 -05:00
Jakob Kramer
9edd71ebf7 Wipe the configured database, not the default one 2012-03-24 15:33:36 +01:00