2171 Commits

Author SHA1 Message Date
Christopher Allan Webber
a066e8bb54 Merge remote-tracking branch 'refs/remotes/merge-requests/42' 2012-08-19 12:18:18 -05:00
Christopher Allan Webber
944b92dc2f Merge remote-tracking branch 'refs/remotes/merge-requests/40' 2012-08-19 12:14:39 -05:00
Christopher Allan Webber
2a9f519b29 Uncomment plugins section in mediagoblin.ini 2012-08-19 12:00:47 -05:00
Aleksej
fafef8df2e add titles to two pages and fix a typo in docs 2012-08-18 23:31:27 +04:00
Aleksej
b3b42bbe7b use YYYY-MM-DD HH:MM 24-hour format on panels 2012-08-13 22:19:23 +04:00
Aleksej
daecdea906 added title tags to various pages and marked a string translatable 2012-08-13 20:28:48 +04:00
Aleksej
9d3e56d500 replaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments 2012-08-13 16:07:58 +04:00
Christopher Allan Webber
5257f5f554 Duplication of rstrip unnecessary in link_assets function
Thanks for catching AVRS!
2012-08-12 12:49:14 -04:00
Joar Wandborg
549000d991 Audio support now creates OGG instead of WAV
While creating the spectrogram, and alternative version of the audio
file has been needed. Before this, it has been a WAV format file, the
issue with WAV is that it takes a lot of space. Starting with this it
will be an OGG file.

Rejoice :)
2012-08-12 01:57:00 +02:00
Joar Wandborg
089508d07b Changed <pre> margin to confirm with <p> margins 2012-08-08 00:22:52 +02:00
Jakob Kramer
cf29edcd74 allow pre+code tags in rendered HTML 2012-08-07 22:19:10 +02:00
Jakob Kramer
c042801650 renamed MARKDOWN_INSTANCE to UNSAFE_...
as proposed by Elrond.

Conflicts:
	mediagoblin/tools/text.py

Signed-off-by: Joar Wandborg <git@wandborg.com>
2012-08-07 18:48:57 +02:00
Will Kahn-Greene
3031764d13 Add python language version classifiers 2012-08-06 11:42:15 -04:00
Joar Wandborg
a07d052f0d Non-performance improvements to cloudfiles
Improved documentation and added logging to cloudfiles
2012-08-05 22:55:45 +02:00
Christopher Allan Webber
8d9aa03fba Fixing grammar on telling users to run dbupdate 2012-08-05 10:14:15 -05:00
Christopher Allan Webber
325e9bc418 Committing extracted and compiled translations 2012-08-05 10:01:55 -05:00
Christopher Allan Webber
42001ce86f Committing present MediaGoblin translations before pushing extracted messages 2012-08-05 10:01:16 -05:00
Christopher Allan Webber
468d25474b Removing text on frontpage that suggests we have favorites (we don't) 2012-08-04 11:34:23 -05:00
Joar Wandborg
79f28e0b93 Fixed a UnicodeError in the sql.models.MediaEntry
The __repr__() call would crash the process when it tried to convert an
unicode title to ASCII for terminal/logfile output.
2012-08-03 16:02:18 +02:00
Joar Wandborg
2891b2c6d0 All processing exceptions are now logged
All processing exceptions should now be logged, the MediaEntry marked as
failed, the exception re-raised.
2012-08-01 01:16:00 +02:00
Joar Wandborg
65a2eb6694 Added text-overflow: ellipsis to the media thumbnails 2012-07-28 21:01:56 +02:00
Joar Wandborg
1afa230c59 Copied base.html to airy and changed the logo 2012-07-28 01:08:56 +02:00
Christopher Allan Webber
cd1abb1172 Reference the new theme aliasing nginx stuff in the theming documentation 2012-07-27 09:02:07 -05:00
Christopher Allan Webber
8d051cc085 Add documentation on how to alias your theme static files 2012-07-27 08:48:25 -05:00
Will Kahn-Greene
4d1761d22f Tweak theming docs
I did a pass on language and more reST formatting. This is a little
cleaner, though there are a couple of parts that feel like they could
use some work.
2012-07-26 21:33:25 -04:00
Christopher Allan Webber
a04c07376d Merge remote-tracking branch 'refs/remotes/gandaro/369-thread-gettext' 2012-07-26 11:09:52 -05:00
Christopher Allan Webber
5e9e2deee6 Merge remote-tracking branch 'refs/remotes/willkg/plugins-infrastructure-rewrite' 2012-07-26 10:46:52 -05:00
Christopher Allan Webber
33e902e3b3 Removing PIL from the setup.py develop process.
People should use package managers to install PIL.  It's too much of a
mess to install via python packaging.
2012-07-26 10:46:21 -05:00
Jef van Schendel
c7fd56c9e0 Include Airy theme by default 2012-07-23 21:37:56 +02:00
Jef van Schendel
36f8e350d4 Add zoom-in cursor css; small indentation fix 2012-07-21 00:27:49 +02:00
Jef van Schendel
e175251899 Edit comment-notification text 2012-07-20 22:03:43 +02:00
Jef van Schendel
5381b4b7a0 Insignificant edits to logo SVG 2012-07-20 21:06:41 +02:00
Jef van Schendel
47ab857fa3 Increase Description and Bio textarea height to 100px 2012-07-20 00:45:49 +02:00
Jakob Kramer
c80982c7a0 make mg_globals.translations thread-safe
I added mg_globals.thread_scope (an instance of threading.local)
and made `translations' an attribute of it.
2012-07-18 19:25:53 +02:00
Will Kahn-Greene
05d8f314c6 [Issue 466] Implement e-z plugin disabling 2012-07-17 21:14:45 -04:00
Will Kahn-Greene
05e007c1db Rework plugin infrastructure to nix side-effects
This reworks the plugin infrastructure so as to remove module-loading
side-effects which were making things a pain in the ass to test.

With the new system, there's no auto-registering meta class. Instead
plugins do whatever they want and then specify a hooks dict that maps
hook names to callables for the things they're tying into. The most
common one (and the only one we've implemented so far) is "setup".

This also simplifies the sampleplugin a little by moving the code
to __init__.py.
2012-07-17 21:02:12 -04:00
Will Kahn-Greene
8464bcc3e8 Fix themeing docs
This fixes a bunch of formatting issues in the themeing docs and makes
them easier to read.
2012-07-16 17:06:57 -04:00
Will Kahn-Greene
54b42ee564 Overhaul flatpages
* move contents of main.py to __init__.py
* update documentation in README
* change the key/value configuration specification
* added a recipe for passing values from the url to the template
* removed some unused code
2012-07-16 09:26:28 -04:00
Will Kahn-Greene
8815541c26 Fix template 2012-07-16 09:26:28 -04:00
Will Kahn-Greene
4bd65f69c7 Finish flatpagesplugin; add plugin docs 2012-07-16 09:26:28 -04:00
Will Kahn-Greene
8545dd50f0 Flatpages first pass
This fixes the template loader so that it can load plugin templates.

This adds code for registering template paths so that plugins can add
their own templates.

This adds the base code for the flatpagesfile plugin. It doesn't serve
pages, yet, but it's pretty close.
2012-07-16 09:26:28 -04:00
Christopher Allan Webber
62157a898f Added a section describing how to do theming via simple CSS stuff! 2012-07-14 22:58:42 -05:00
Christopher Allan Webber
667d1fc893 Moving extrahead.html -> extra_head.html because it's easier to read 2012-07-14 22:52:22 -05:00
Christopher Allan Webber
27c9bb8a58 Small fix to themedata_for_theme_dir utility about sections
If we can't find the theme section, we should use a dictionary instead
of None in this section of code.
2012-07-14 22:44:06 -05:00
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