+ 2012-09-18 Justin J. Novack <jnovack@gmail.com>
+
+ * Add Markdown as a known file-type.
+
+2012-09-17 Justin J. Novack <jnovack@gmail.com>
+
+ * Add OpenID authentication
+
2012-09-16 Christian Weiske <cweiske@cweiske.de>
* Implement request #12: DOAP documents for all pastes
$ pear channel-discover zustellzentrum.cweiske.de
$ pear install zz/mime_type_plaindetect-alpha
+ $ pear channel-discover pear.michelf.ca
+ $ pear install michelf/Markdown
+
Note that this version of GeSHi is a bit outdated, but it's the fastest
way to install it.
List all pastes, with optional page
``/new``
Shows form for new paste
+``/login``
+ Login page for protecting site
+``/user``
+ Edit logged-in user information
+
Internal directory layout
=========================
rewrite ^/search$ /search.php;
rewrite ^/search/([0-9]+)$ /search.php?page=$1;
+
+ rewrite ^/login$ /login.php;
+ rewrite ^/user$ /user.php;
}
'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
'index' => 'new'//"new" or "list"
);
+$GLOBALS['phorkie']['auth'] = array(
+ // 0 = public, no authentication, 1 = protect adds/edits/deletes,
+ // 2 = require authentication
+ 'securityLevel' => 0,
+ 'listedUsersOnly' => false,
+ 'users' => array(), // Array of OpenIDs that may login
+ 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
+ 'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
+);
$GLOBALS['phorkie']['tools'] = array(
'\\phorkie\\Tool_Xmllint' => true,
'\\phorkie\\Tool_PHPlint' => true,
'mime' => 'application/javascript',
'geshi' => 'javascript'
),
+ 'md' => array(
+ 'title' => 'Markdown',
+ 'mime' => 'text/x-markdown',
+ 'renderer' => '\\phorkie\\Renderer_Markdown'
+ ),
'pl' => array(
'title' => 'Perl',
'mime' => 'application/x-perl',