Christopher Allan Webber
0416b86621
Allow for an "extrahead" template where themers can include extra css, js, etc
2012-07-14 22:43:08 -05:00
Christopher Allan Webber
faa74bf9f5
Store licensing info as well
2012-07-14 20:23:21 -05:00
Christopher Allan Webber
04b24107fb
Mostly good theming documentation!
2012-07-14 20:22:25 -05:00
Christopher Allan Webber
e6aaaa9619
Fleshing out theming documentation; wrote out "structure of things" section
2012-07-14 15:54:14 -05:00
Christopher Allan Webber
777908759c
Setup the scaffolding for theme installing, but it doesn't work yet
2012-07-14 13:32:11 -05:00
Christopher Allan Webber
3da44aeba1
Break the asset linking code off into a reusable function
...
In the future, the install command should be able to use that as well.
2012-07-14 13:23:12 -05:00
Christopher Allan Webber
35a24fc263
Moving the "dependency injection printer tools" over to tools/common.py
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
8a22617ffe
asset linking command now works
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
111a97524a
Start of the ./bin/gmg theme assetlink
command.
...
Mostly works but doesn't handle all the places it could break.
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
aed7474e88
Make the theme_linked_assets_dir config option point to the right place by default
...
Should be in user_dev...
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
975be468cf
Making the register_themes() tool also return the current theme
...
This will reduce the amount of work reproducing this behavior when
pulling together the theme registry elsewhere.
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
71eb457748
Serve and setup the mediagoblin "linked theme" assets directory
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
9a422c1fd0
Add the theme domain to the application's staticdirector
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
5377114c4d
Update staticdirect stuff so it can handle "domains" of staticdirection
2012-07-14 12:55:14 -05:00
Christopher Allan Webber
00eda826cb
Kill MultiRemoteStaticDirect... nobody was really using it anyway
...
Since we're adding the new "domain" staticdirect system we should
clean this up.
2012-07-14 12:55:13 -05:00
Christopher Allan Webber
e8d4e58214
Moving staticdirect to tools/
2012-07-14 12:55:13 -05:00
Christopher Allan Webber
3b47da8eab
Themes are now registered and can have their templates loaded properly
2012-07-14 12:55:13 -05:00
Christopher Allan Webber
828fc6300a
Early version of theme registry code
2012-07-14 12:55:13 -05:00
Jakob Kramer
1e03504e9f
removed _make_safe in favor of functools.wraps
2012-07-12 15:01:40 +02:00
Joar Wandborg
808eac008b
Processing panel improvements
...
- Added admin processing panel
- Minor fixes on the user processing panel template
2012-07-11 01:43:21 +02:00
Joar Wandborg
6471291575
Panel improvements
...
- Added progress meter for video and audio media types.
- Changed the __repr__ method of a MediaEntry to display a bit more
useful explanation.
- Added a new MediaEntry.state, 'processing', which means that the task
is running the processor on the item currently.
- Fixed some PEP8 issues in user_pages/views.py
- Fixed the ATOM TAG URI to show the correct year.
2012-07-11 00:36:42 +02:00
Joar Wandborg
51eb0267d9
Minor improvements to the processing panel
...
- It is now possible to actually see what's processing, due to a bug fix
where __getitem__ was called on the db model.
- Removed DEPRECATED message from the docstring, it wasn't true.
2012-07-10 18:13:02 +02:00
Brett Smith
81d3c4cf1c
Merge branch 'master' into 201207-testfixes
2012-07-08 11:07:02 -04:00
Brett Smith
9c7688667e
Drop our scoped session sooner to prevent SQLAlchemy re-binding warnings.
2012-07-08 11:00:36 -04:00
Brett Smith
16b8e3afd8
Don't rely on app_config if common.TESTS_ENABLED.
...
app_config will be None in this case, so all of these subscripts will
fail.
2012-07-08 10:37:33 -04:00
Brett Smith
4a791b8006
Make filestorage available to code that only imports storage.
...
The storage-related tests were relying on this, if nothing else.
2012-07-08 10:30:55 -04:00
Brett Smith
766d9ae7be
Prevent SQLAlchemy non-Unicode warnings from this test.
2012-07-08 10:24:57 -04:00
Brett Smith
394512fb02
Prevent SQLAlchemy non-Unicode warnings in this test.
2012-07-08 10:23:02 -04:00
Brett Smith
ed3ff88eed
More Unicode titles to prevent non-Unicode SQLAlchemy warnings.
2012-07-08 10:18:33 -04:00
Brett Smith
7a258b1408
Fix docstring typo.
2012-07-08 10:04:58 -04:00
Brett Smith
5bd0adebd0
Prevent non-Unicode SQLAlchemy warnings in most submission tests.
...
This commit makes test_submission mostly warning-clean.
2012-07-08 10:04:06 -04:00
Jakob Kramer
a122357ee7
made the download links consistent
2012-07-07 21:44:12 +02:00
Jakob Kramer
62b7d1b287
put attachments into sidebar
...
also added {% trans %} tags
2012-07-07 21:44:04 +02:00
Joar Wandborg
f4cc3a9d52
Added API documentation
...
- Applied the MediaGoblin docs theme to the API docs
- Added api-docs/build to .gitignore
- Configured api-docs/source/conf.py
- Added /api-docs/source/mediagoblin* to .gitignore
- Added apidoc directive to api docs Makefile, will build the API docs
based on the source
2012-07-07 21:18:27 +02:00
Joar Wandborg
8588505c6f
Decoding EXIF strings as UTF-8 with replace in the ifd_tag_to_dict
...
method.
2012-07-07 20:01:19 +02:00
Joar Wandborg
d34757dc83
Updated the media types documentation, added steps for audio
...
- Added chapter about media type negotiation.
- Added instructions on how to install dependencies for the audio media
type.
- Moved part about how to enable media types in your config to a single
place at the top of the document named "Enable Media Types".
- Renamed the "Enable Media Types" page to "Media Types".
2012-07-06 22:51:49 +02:00
Joar Wandborg
9c6f6b78f4
Removed .ogg extension from audio MEDIA_MANAGER.
...
There is some historical controversy about the .ogg extension and what
you should expect from it. It's better to let the audio and video
plugins take the sniffing-based route to find out what it really seems
to be.
2012-07-06 22:42:31 +02:00
Christopher Allan Webber
118bafbd81
Switching the syntax of this exception-raise
...
It's nicer to raise exceptions like
raise Exception("foo")
than
raise Exception, "foo"
2012-07-06 09:06:01 -05:00
Christopher Allan Webber
1ec85bb3de
Removing _jointhat()... not really needed.
2012-07-06 09:03:08 -05:00
Christopher Allan Webber
a850b1e2a2
one more noSuchFiles->no_such_files
2012-07-06 09:02:24 -05:00
Christopher Allan Webber
46583ff4e6
Merge remote-tracking branch 'refs/remotes/merge-requests/37'
2012-07-06 08:52:35 -05:00
Jorge Araya Navarro
6d539afda6
changing NoSuchFiles for no_such_files
2012-07-05 22:07:44 -06:00
Brett Smith
c7dfd4fba6
Level exits are Unicode too.
2012-07-04 11:09:36 -04:00
Brett Smith
a00ac32045
Make sure MigrationManagers always get Unicode names.
...
If we fail to do this, SQLAlchemy complains that we're binding a
non-Unicode value to a Unicode column.
2012-07-04 10:54:44 -04:00
Christopher Allan Webber
f2e3a6a01c
Explicitly state that we need a webob version >= 1.1 also.
2012-07-01 10:41:37 -05:00
Christopher Allan Webber
6f8714fea4
Changing mediagoblin theme font files over to be symlinks to extlib
2012-07-01 10:34:29 -05:00
Christopher Allan Webber
dc4d1d8808
Clarifying that all original documentation theme files are CC0'ed.
2012-07-01 10:29:37 -05:00
Jorge Araya Navarro
fb2fbe2c0a
fixing bug #255 as Joar and CWebber ask me to do :)
2012-06-28 22:13:26 -06:00
Joar Wandborg
825b136227
Added some security checks to attachment upload, it's still not
...
waterproof.
2012-06-24 21:29:07 +02:00
Joar Wandborg
c72d661bed
Fixed EXIF longitude bug
...
- Negative or 'W' longitudes were not accounted for.
- pyflakes fixes.
2012-06-23 17:21:22 +02:00