]> oss.titaniummirror.com Git - webber.git/log
webber.git
12 years agoFix directories key error in get_path_to_root master
R. Steve McKown [Tue, 9 Aug 2011 02:17:27 +0000 (20:17 -0600)]
Fix directories key error in get_path_to_root

12 years agoMerge branch 'upstream'
R. Steve McKown [Tue, 9 Aug 2011 02:14:40 +0000 (20:14 -0600)]
Merge branch 'upstream'

Conflicts:
in/sitemap.md
plugins/read_markdown.py

12 years agoIntro: add links to repository and to discussion group upstream
Holger Schurig [Wed, 1 Jun 2011 13:09:27 +0000 (15:09 +0200)]
Intro: add links to repository and to discussion group

12 years agoIntro: Fix wrong path
Holger Schurig [Wed, 1 Jun 2011 12:44:40 +0000 (14:44 +0200)]
Intro: Fix wrong path

Thanks to Richard Duivenvoorde for spotting this error.

13 years agoplugins/hierarchy: fix get_recently() after last changes
Holger Schurig [Thu, 13 Jan 2011 11:45:18 +0000 (12:45 +0100)]
plugins/hierarchy: fix get_recently() after last changes

13 years agoplugins/hierarchy: warn about orphan files
Holger Schurig [Thu, 13 Jan 2011 11:35:33 +0000 (12:35 +0100)]
plugins/hierarchy: warn about orphan files

Once all files are scanned, warn about files which don't have
a parent.

13 years agoplugins/hierarchy: remove show_orphan_files
Holger Schurig [Thu, 13 Jan 2011 11:22:22 +0000 (12:22 +0100)]
plugins/hierarchy: remove show_orphan_files

13 years agoplugins/hierarchy.py: index _parents{} and _childs{} by File objects
Holger Schurig [Thu, 13 Jan 2011 11:17:06 +0000 (12:17 +0100)]
plugins/hierarchy.py: index _parents{} and _childs{} by File objects

Previously the keys for _parents{} and _childs{} where linktitles.
This made problems when several pages had the same linktitle. Having
two pages with the same linktitle however was perfectly legal, as the
linktitle is supposed to be displayed in sidemenus or breadcrumbs,
when the normal page title is too long.

13 years agowebber.py: smaller __repr__() string for webber.Directory and
Holger Schurig [Thu, 13 Jan 2011 11:12:32 +0000 (12:12 +0100)]
webber.py: smaller __repr__() string for webber.Directory and
webber.File

13 years agowebber.py: make get_link_from() raise an error if there's no link
Holger Schurig [Thu, 13 Jan 2011 11:12:12 +0000 (12:12 +0100)]
webber.py: make get_link_from() raise an error if there's no link

13 years agoRemove lots of documentation typos.
Holger Schurig [Thu, 13 Jan 2011 09:21:33 +0000 (10:21 +0100)]
Remove lots of documentation typos.

13 years agowebber.py: allow custom format for get_time() and format_date()
Holger Schurig [Wed, 7 Jul 2010 08:01:37 +0000 (10:01 +0200)]
webber.py: allow custom format for get_time() and format_date()

13 years agodoc: added tutorial
Holger Schurig [Tue, 6 Jul 2010 11:23:39 +0000 (13:23 +0200)]
doc: added tutorial

13 years agodoc rss_feed: fix link
Holger Schurig [Tue, 6 Jul 2010 11:23:26 +0000 (13:23 +0200)]
doc rss_feed: fix link

13 years agowebber.py: preset some variables with defaults
Holger Schurig [Tue, 6 Jul 2010 11:23:12 +0000 (13:23 +0200)]
webber.py: preset some variables with defaults

13 years agowebber.py: make it exclude_dirs (plural), not exclude_dir
Holger Schurig [Tue, 6 Jul 2010 11:22:54 +0000 (13:22 +0200)]
webber.py: make it exclude_dirs (plural), not exclude_dir

13 years agodocs: many misc enhancements and clarifications
Holger Schurig [Tue, 6 Jul 2010 11:22:23 +0000 (13:22 +0200)]
docs: many misc enhancements and clarifications

13 years agogoogle_sitemap.py: don't put the source files into the sitemap, use
Holger Schurig [Mon, 5 Jul 2010 18:56:12 +0000 (20:56 +0200)]
google_sitemap.py: don't put the source files into the sitemap, use
the generated output filename instead

13 years agorss_feed.py: documentation incorrectly had references to out/
Holger Schurig [Mon, 5 Jul 2010 18:55:30 +0000 (20:55 +0200)]
rss_feed.py: documentation incorrectly had references to out/

13 years agodoc: give a little overview about webber's function
Holger Schurig [Mon, 5 Jul 2010 18:19:59 +0000 (20:19 +0200)]
doc: give a little overview about webber's function

13 years agowebber.py: allow class Directory to read directory.conf files
Holger Schurig [Mon, 5 Jul 2010 18:19:33 +0000 (20:19 +0200)]
webber.py: allow class Directory to read directory.conf files

13 years agohierarchy.py: fix get_linear_sitemap()
Holger Schurig [Mon, 5 Jul 2010 14:31:45 +0000 (16:31 +0200)]
hierarchy.py: fix get_linear_sitemap()

13 years agowebber.py: moan about impossible link
Holger Schurig [Fri, 2 Jul 2010 10:52:17 +0000 (12:52 +0200)]
webber.py: moan about impossible link

13 years agohierarchy.py: preliminary get_hierarchal_sitemap()
Holger Schurig [Fri, 2 Jul 2010 10:52:00 +0000 (12:52 +0200)]
hierarchy.py: preliminary get_hierarchal_sitemap()

13 years agogoogle_sitemap.py, rss_feed.py: ignore hidden pages
Holger Schurig [Thu, 1 Jul 2010 21:33:57 +0000 (23:33 +0200)]
google_sitemap.py, rss_feed.py: ignore hidden pages

13 years agowebber.py: renamed some german comments to english
Holger Schurig [Thu, 1 Jul 2010 12:11:08 +0000 (14:11 +0200)]
webber.py: renamed some german comments to english

13 years agoread_rst: strip trailing blanks
Holger Schurig [Thu, 1 Jul 2010 12:09:59 +0000 (14:09 +0200)]
read_rst: strip trailing blanks

13 years agolink.py: removed a TODO item: finally correcly search for wrong links
Holger Schurig [Thu, 1 Jul 2010 12:09:48 +0000 (14:09 +0200)]
link.py: removed a TODO item: finally correcly search for wrong links

13 years agowebber.py: removed a TODO item: output file will not the modification time
Holger Schurig [Thu, 1 Jul 2010 11:32:15 +0000 (13:32 +0200)]
webber.py: removed a TODO item: output file will not the modification time
from file.mtime

13 years agoread_copyonly.py: don't use os.system() with "cp -l" command, but use
Holger Schurig [Thu, 1 Jul 2010 11:25:00 +0000 (13:25 +0200)]
read_copyonly.py: don't use os.system() with "cp -l" command, but use
shutil.copy() instead

13 years agoDocumentation: added marker that all pages are in the english language
Holger Schurig [Thu, 1 Jul 2010 09:39:43 +0000 (11:39 +0200)]
Documentation: added marker that all pages are in the english language
(or what I as a german assume to be english ...)

13 years agomisc re-orderings
Holger Schurig [Thu, 1 Jul 2010 08:51:29 +0000 (10:51 +0200)]
misc re-orderings

13 years agotoc.py, hierarchy.py: add new "Hide: true" page attribute
Holger Schurig [Thu, 1 Jul 2010 08:51:12 +0000 (10:51 +0200)]
toc.py, hierarchy.py: add new "Hide: true" page attribute

13 years agotoc.py: automatically adjust indentation level according to first found
Holger Schurig [Thu, 24 Jun 2010 09:41:54 +0000 (11:41 +0200)]
toc.py: automatically adjust indentation level according to first found
<h1>/<h2>/<h3> etc

13 years agoskeleton.py: added change text
Holger Schurig [Thu, 24 Jun 2010 09:25:43 +0000 (11:25 +0200)]
skeleton.py: added change text

13 years agodoc hooks: added change to page header
Holger Schurig [Thu, 24 Jun 2010 08:44:26 +0000 (10:44 +0200)]
doc hooks: added change to page header

13 years agodoc functions: described get_toc()
Holger Schurig [Thu, 24 Jun 2010 08:43:20 +0000 (10:43 +0200)]
doc functions: described get_toc()

13 years agofix some links
Holger Schurig [Thu, 24 Jun 2010 08:30:09 +0000 (10:30 +0200)]
fix some links

13 years agolink.py: validate link
Holger Schurig [Thu, 24 Jun 2010 08:24:45 +0000 (10:24 +0200)]
link.py: validate link

13 years agotoc.py: make get_toc() work like get_recently()
Holger Schurig [Thu, 24 Jun 2010 08:23:49 +0000 (10:23 +0200)]
toc.py: make get_toc() work like get_recently()

13 years agohierarchy.py: fixed wrong link, minor rewording
Holger Schurig [Thu, 24 Jun 2010 08:21:27 +0000 (10:21 +0200)]
hierarchy.py: fixed wrong link, minor rewording

13 years agoused Emacs' "tabify" command on some python file.
Holger Schurig [Thu, 24 Jun 2010 07:06:05 +0000 (09:06 +0200)]
used Emacs' "tabify" command on some python file.

By using http://www.emacswiki.org/emacs-en/SmartTabs together with a
tab-width of 4 you get a nice havior and a pleasing look.

13 years agotoc.py: more comments
Holger Schurig [Thu, 24 Jun 2010 06:58:34 +0000 (08:58 +0200)]
toc.py: more comments

13 years agotoc.py: don't mix contents and style: remove <ul id="toc"></ul>.
Holger Schurig [Wed, 23 Jun 2010 21:28:58 +0000 (23:28 +0200)]
toc.py: don't mix contents and style: remove <ul id="toc"></ul>.
That's the business of the template.

13 years agotoc.py: now we can generate a table-of-contents
Holger Schurig [Wed, 23 Jun 2010 13:55:17 +0000 (15:55 +0200)]
toc.py: now we can generate a table-of-contents

13 years agodoc template_make: finally documented how templates work
Holger Schurig [Wed, 23 Jun 2010 11:10:11 +0000 (13:10 +0200)]
doc template_make: finally documented how templates work

13 years agoconfig: fix default date format
Holger Schurig [Wed, 23 Jun 2010 11:09:46 +0000 (13:09 +0200)]
config: fix default date format

13 years agodoc pageformat: delete trailing whitespace
Holger Schurig [Wed, 23 Jun 2010 11:09:16 +0000 (13:09 +0200)]
doc pageformat: delete trailing whitespace

13 years agorss_feed.py: fix link to articles
Holger Schurig [Wed, 23 Jun 2010 10:05:13 +0000 (12:05 +0200)]
rss_feed.py: fix link to articles

13 years agodoc rss_feed: added documentation
Holger Schurig [Wed, 23 Jun 2010 09:33:53 +0000 (11:33 +0200)]
doc rss_feed: added documentation

13 years agorss_feed.py: limit number of published items via "rss_max_items"
Holger Schurig [Wed, 23 Jun 2010 09:27:03 +0000 (11:27 +0200)]
rss_feed.py: limit number of published items via "rss_max_items"

13 years agorss_feed.py: limit age of published files via "rss_max_age_days"
Holger Schurig [Wed, 23 Jun 2010 09:25:41 +0000 (11:25 +0200)]
rss_feed.py: limit age of published files via "rss_max_age_days"

13 years agorss_feed.py: sort items by modification time
Holger Schurig [Wed, 23 Jun 2010 09:14:30 +0000 (11:14 +0200)]
rss_feed.py: sort items by modification time

13 years agorss_feed.py: changed XML beatification a but
Holger Schurig [Wed, 23 Jun 2010 09:02:12 +0000 (11:02 +0200)]
rss_feed.py: changed XML beatification a but

13 years agorss_feed.py: generate "lastBuildDate" in GMT, not local time
Holger Schurig [Wed, 23 Jun 2010 09:01:32 +0000 (11:01 +0200)]
rss_feed.py: generate "lastBuildDate" in GMT, not local time

13 years agorss_feed.py: add a bit of atom support
Holger Schurig [Wed, 23 Jun 2010 08:12:38 +0000 (10:12 +0200)]
rss_feed.py: add a bit of atom support

13 years agorss_feed.py: simply XML formatting
Holger Schurig [Wed, 23 Jun 2010 08:12:17 +0000 (10:12 +0200)]
rss_feed.py: simply XML formatting

13 years agorss_feed.py: the guid isn't a permalink
Holger Schurig [Wed, 23 Jun 2010 08:11:48 +0000 (10:11 +0200)]
rss_feed.py: the guid isn't a permalink

13 years agorss_feed.py: publish also pages that have been created
Holger Schurig [Wed, 23 Jun 2010 08:11:15 +0000 (10:11 +0200)]
rss_feed.py: publish also pages that have been created

13 years agodoc google_sitemap: minor rewording
Holger Schurig [Wed, 23 Jun 2010 08:10:58 +0000 (10:10 +0200)]
doc google_sitemap: minor rewording

13 years agowebber: always return complete python trace-back if a module cannot be
Holger Schurig [Wed, 23 Jun 2010 08:10:35 +0000 (10:10 +0200)]
webber: always return complete python trace-back if a module cannot be
loaded

13 years agorss_feed: moan about a missing python-pyrss2gen
Holger Schurig [Tue, 22 Jun 2010 22:26:23 +0000 (00:26 +0200)]
rss_feed: moan about a missing python-pyrss2gen

13 years agoinitial version of the RSS feed generator
Holger Schurig [Tue, 22 Jun 2010 11:47:45 +0000 (13:47 +0200)]
initial version of the RSS feed generator

13 years agomake file.out_path already known for the 'scan' hook
Holger Schurig [Tue, 22 Jun 2010 11:47:33 +0000 (13:47 +0200)]
make file.out_path already known for the 'scan' hook

14 years agoplugin doc: fix link
Holger Schurig [Thu, 22 Apr 2010 22:10:39 +0000 (00:10 +0200)]
plugin doc: fix link

14 years agowebber: remove trailing whitespace
Holger Schurig [Fri, 16 Apr 2010 08:59:52 +0000 (10:59 +0200)]
webber: remove trailing whitespace

14 years agoplugins doc: fix link
Holger Schurig [Fri, 16 Apr 2010 08:59:43 +0000 (10:59 +0200)]
plugins doc: fix link

14 years agowebber.py: add plugin_dirs[] configuration
Holger Schurig [Fri, 16 Apr 2010 08:59:22 +0000 (10:59 +0200)]
webber.py: add plugin_dirs[] configuration

14 years agowebber.py: stop if requested plugin cannot be loaded
Holger Schurig [Fri, 16 Apr 2010 08:48:32 +0000 (10:48 +0200)]
webber.py: stop if requested plugin cannot be loaded

14 years agoread_markdown.py: upgrade to 1.0.1.16
Holger Schurig [Fri, 16 Apr 2010 08:36:43 +0000 (10:36 +0200)]
read_markdown.py: upgrade to 1.0.1.16

14 years agoread_markdown.py: upgrade to 1.0.1.15
Holger Schurig [Fri, 16 Apr 2010 08:31:56 +0000 (10:31 +0200)]
read_markdown.py: upgrade to 1.0.1.15

14 years agoread_markdown.py: upgrade to 1.0.1.14
Holger Schurig [Fri, 16 Apr 2010 08:28:54 +0000 (10:28 +0200)]
read_markdown.py: upgrade to 1.0.1.14

14 years agoread_markdown.py: upgrade to 1.0.1.13
Holger Schurig [Fri, 16 Apr 2010 08:21:01 +0000 (10:21 +0200)]
read_markdown.py: upgrade to 1.0.1.13

14 years agoread_markdown.py: delete trailing whitespace
Holger Schurig [Fri, 16 Apr 2010 08:17:47 +0000 (10:17 +0200)]
read_markdown.py: delete trailing whitespace

14 years agowebber: fix warning message for pages with quite long linktitles
Holger Schurig [Wed, 14 Apr 2010 14:26:31 +0000 (16:26 +0200)]
webber: fix warning message for pages with quite long linktitles

14 years agohierarchy: correctly display last recently changed pages
Holger Schurig [Wed, 14 Apr 2010 14:25:22 +0000 (16:25 +0200)]
hierarchy: correctly display last recently changed pages

Don't truncate prematurely, a quite recent page can very well be at position 15 and advance
to position 1 due to sorting.

14 years agoskeleton: fix function name "start" to match comment and @set_hook()
Holger Schurig [Wed, 31 Mar 2010 19:54:29 +0000 (21:54 +0200)]
skeleton: fix function name "start" to match comment and @set_hook()

14 years agomostly white-space changes, but also slightly different contents handling
Holger Schurig [Wed, 31 Mar 2010 19:53:31 +0000 (21:53 +0200)]
mostly white-space changes, but also slightly different contents handling

14 years agoallow pylint
Holger Schurig [Wed, 31 Mar 2010 19:51:47 +0000 (21:51 +0200)]
allow pylint

14 years agoskeleton: describe it's usage
Holger Schurig [Fri, 26 Mar 2010 12:56:43 +0000 (13:56 +0100)]
skeleton: describe it's usage

14 years agoskeleton: added two more comments
Holger Schurig [Fri, 26 Mar 2010 12:50:16 +0000 (13:50 +0100)]
skeleton: added two more comments

14 years agoPatch markdown2.py like old read_markdown.py, treating '=' like '#' for headers.
R. Steve McKown [Wed, 16 Dec 2009 02:08:24 +0000 (19:08 -0700)]
Patch markdown2.py like old read_markdown.py, treating '=' like '#' for headers.

14 years agoDispense with webber's version of markdown2 and use the real/latest version.
R. Steve McKown [Tue, 15 Dec 2009 20:53:58 +0000 (13:53 -0700)]
Dispense with webber's version of markdown2 and use the real/latest version.

14 years agoA mini web server that serves the contents of 'out'.
R. Steve McKown [Tue, 15 Dec 2009 02:11:29 +0000 (19:11 -0700)]
A mini web server that serves the contents of 'out'.

14 years agoSet the default template to sidebar.tmpl
R. Steve McKown [Tue, 15 Dec 2009 01:00:30 +0000 (18:00 -0700)]
Set the default template to sidebar.tmpl

14 years agoAdd a template with a sidebar.
R. Steve McKown [Tue, 15 Dec 2009 00:58:03 +0000 (17:58 -0700)]
Add a template with a sidebar.

14 years agoAdd css from the author's web page.
R. Steve McKown [Tue, 15 Dec 2009 00:55:45 +0000 (17:55 -0700)]
Add css from the author's web page.

14 years agoAdd get_path_to_root, so we can create relative links to other objects like css.
R. Steve McKown [Tue, 15 Dec 2009 00:54:20 +0000 (17:54 -0700)]
Add get_path_to_root, so we can create relative links to other objects like css.

14 years agositemap.md had wrong parent
R. Steve McKown [Tue, 15 Dec 2009 00:52:21 +0000 (17:52 -0700)]
sitemap.md had wrong parent

14 years agogoogle_sitemap: generate valid XML ;-/
Holger Schurig [Fri, 26 Jun 2009 21:45:03 +0000 (23:45 +0200)]
google_sitemap: generate valid XML ;-/

14 years agowebber: ./webber -v warns now about common mistakes
Holger Schurig [Fri, 26 Jun 2009 14:59:38 +0000 (16:59 +0200)]
webber: ./webber -v warns now about common mistakes

14 years agodoc: misc fixes to page creation time ("ctime: "), which was after
Holger Schurig [Fri, 26 Jun 2009 13:04:25 +0000 (15:04 +0200)]
doc: misc fixes to page creation time ("ctime: "), which was after
modification time because I confused the date :-(

14 years agowebber: make sure file modification time is not earlier than
Holger Schurig [Fri, 26 Jun 2009 11:25:19 +0000 (13:25 +0200)]
webber: make sure file modification time is not earlier than
file creation time ("ctime: ")

14 years agodoc: more documentation about plugin/google_sitemap.py
Holger Schurig [Fri, 26 Jun 2009 10:12:05 +0000 (12:12 +0200)]
doc: more documentation about plugin/google_sitemap.py

14 years agolink: use URL if no text has been specified
Holger Schurig [Fri, 26 Jun 2009 10:11:41 +0000 (12:11 +0200)]
link: use URL if no text has been specified

14 years agonew plugin: google_sitemap.py, which auto-generates a sitemap.xml
Holger Schurig [Fri, 26 Jun 2009 08:20:10 +0000 (10:20 +0200)]
new plugin: google_sitemap.py, which auto-generates a sitemap.xml

14 years agodoc: move plugin documentation into plugin/ directory
Holger Schurig [Fri, 26 Jun 2009 08:02:22 +0000 (10:02 +0200)]
doc: move plugin documentation into plugin/ directory

While at it: fix typos in the "linktitle:" tags.

14 years agowebber: allow relative paths in cfg.exclude_files
Holger Schurig [Thu, 25 Jun 2009 22:14:08 +0000 (00:14 +0200)]
webber: allow relative paths in cfg.exclude_files

14 years agohierarchy: correcly sort recently-used by mtime
Holger Schurig [Thu, 25 Jun 2009 21:52:30 +0000 (23:52 +0200)]
hierarchy: correcly sort recently-used by mtime

14 years agotemplate_mako: apply cfg.input_encoding on templates as well
Holger Schurig [Thu, 25 Jun 2009 21:46:02 +0000 (23:46 +0200)]
template_mako: apply cfg.input_encoding on templates as well

This finally allows templates to contain Umlaut characters.