Anonymous avatar Anonymous committed b566061

Explicit plugin versions.

Comments (0)

Files changed (15)

external-plugins/dark_vessel_colorscheme/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: A dark colorscheme for the vessel theme
 Description[de]: Ein dunkles Farbschema für das Vessel-Design
 Depends: vessel_theme

external-plugins/markdown_parser/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: 0.2
+Version: 0.1
 Contributors: Kiran Jonnalagadda <jace@pobox.com>
 Description: This plugin allows you to use Markdown for your posts.
 Description[de]: Dieses Plugin erlaubt dir Markdown für die Post-\

zine/plugins/akismet_spam_filter/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.2
 Contributors: Pedro Algarvio <ufs@ufsoft.org>
 Description: <a href="http://akismet.com/">Akismet</a> checks your comments\
  against the Akismet web service to see if they look like spam or not. It\

zine/plugins/blogger_feedimport/metadata.txt

 Author: Georg Brandl <georg@python.org>
 Author URL: http://dev.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: This plugin allows you to import the Atom feed export format from\
  blogger.com.
 Description[de]: Dieses Plugin dient dem Import von Atom-Feeds, die von\

zine/plugins/creole_parser/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.2
 Description: This plugin allows you to use the Creole Parser for your posts.
 Description[de]: Dieses Plugin erlaubt es dir deine Posts mit Creole Wikisyntax\
  zu formattieren.

zine/plugins/legacy_apis/metadata.txt

 Plugin URL: http://zine.pocoo.org/plugins/legacy_apis
 Author: Armin Ronacher <armin.ronacher@active-4.com>
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.2
 Description: Adds support for various legacy weblog APIs such as\
  MetaWeblog, WordPress or MovableType.
 Description[de]: Fügt Unterstützung für existierende Weblog APIs\

zine/plugins/miniblog_theme/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: A very simple theme for tumblelogs or whatever inspired by\
  the flickr design.
 Description[de]: Ein einfaches Design für thublelogs und ähnliches,\

zine/plugins/myrtle_theme/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: A brownish theme called "myrtle".
 Description[de]: Ein braunes Design namens "myrtle".
 Preview: myrtle_theme::preview.png

zine/plugins/pygments_support/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.2
 Description: Adds support for <a href="http://pygments.org/">pygments</a>\
  highlighted code blocks. Blocks marked with <code>&lt;sourcecode\
  syntax="language"&gt;</code> are highlighted using the Pygments\

zine/plugins/rst_parser/metadata.txt

 Plugin URL: http://zine.pocoo.org/plugins/rst_parser
 Author: Georg Brandl <georg@python.org>
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.2
 Description: Adds support for writing posts in \
  <a href="http://docutils.sf.net/rst.html">reStructuredText</a> markup.
 Description[de]: Fügt Unterstützung für das Schreiben von Blogposts in \

zine/plugins/typography/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: This plugin replaces some characters with their typographic\
  better equivalents (quotes etc.)
 Description[de]: Dieses Plugin erlaubt es dir, einige Zeichen automatisch\

zine/plugins/vessel_theme/metadata.txt

 Author: Armin Ronacher <armin.ronacher@active-4.com>
 Author URL: http://lucumr.pocoo.org/
 License: BSD
-Version: %ZINE_VERSION%
+Version: 0.1
 Description: A simple default theme
 Description[de]: Ein einfaches Standarddesign
 Preview: vessel_theme::preview.png

zine/pluginsystem.py

 from zine.utils.exceptions import UserException, summarize_exception
 from zine.i18n import ZineTranslations as Translations, lazy_gettext, _
 from zine.environment import BUILTIN_PLUGIN_FOLDER
-from zine import __version__ as zine_version
 
 
 _py_import = __builtin__.__import__
     @property
     def version(self):
         """The version of the plugin."""
-        rv = self.metadata.get('version')
-        if rv == '%ZINE_VERSION%':
-            return zine_version
-        return rv
+        return self.metadata.get('version')
 
     @property
     def depends(self):

zine/shared/admin/preview.css

     outline: 0;
     background: transparent;
     color: black;
-    font-family: sans-serif;
+    font-family: 'Trebuchet MS', sans-serif;
     font-style: normal;
-    font-size: 16px;
+    font-size: 14px;
     vertical-align: baseline;
     text-decoration: none;
     line-height: normal;
 
 div.preview div.text h1, div.preview div.text h2, div.preview div.text h3,
 div.preview div.text h4, div.preview div.text h5, div.preview div.text h6 {
-    font-family: sans-serif;
+    font-family: 'Trebuchet MS', sans-serif;
 }
 
 div.preview div.text h1 {

zine/shared/admin/style.css

 
 table.plugins td.plugin {
     font-weight: bold;
+    min-width: 200px;
 }
 
 table.plugins td.version {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.