changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > werc / sites/werc.cat-v.org/development/todo.md

changeset 646: 8704f5149b91
parent: 0d80704bf0a2
child: fce7c8747d57
author: Uriel <u@berlinblue.org>
date: Sun, 09 Jan 2011 10:44:54 +0000
permissions: -rw-r--r--
description: Werc website and doc updates.
1 Plans and Ideas for the Future
2 ==============================
3 
4 This page lists various assorted ideas and features that have been proposed at
5 some point or another, nothing (except fixing the listed bugs) is assured to be
6 implemented, many things here might turn out to be bad ideas.
7 
8 Features
9 --------
10 
11 * Review ideas from: http://www.w3.org/TR/chips/ and http://www.w3.org/Provider/Style/URI and see if we can do better.
12 * Canonize and redirect all requests, we already do this for things like missing or trailing /, should do the same for /. and /./, etc. Deleting trailing . and , should make pasted urls in emails work as links (**Mostly done in RC1**)
13 * Blog:
14  * Comment threading.
15  * Some form of pagination (taking advantage of history browsing.) (**Partially done**)
16 * Sitemaps:
17  * Index pages should be used for description of directories.
18  * Cache web sitemap generation. (**Done in RC0**)
19 * Layout improvements:
20  * Need to find a way to rig the order of items in the sidebar.
21  * Right sidebar.
22  * Top+left/right nav vars (breadcrumbs at the top, current dir listing on the side)
23  * Make it easier to disable all sidebars and headers/footers, eg., for full screen mode.
24  * More testing and optimizations for mobile browsers, eg., http://www.operamini.com/demo/ Left sidebar had some minor issues in cellphones at some point.
25 * Better page titles (include whole path hierarchy?) (**Partially done, is it good enough now?**)
26 * Allow utf-8 characters in path elements (need to make sure this is safe, and not sure how useful it will be)
27 * General code:
28  * Write a regression test suite. (*Started*)
29  * Replace all references to non p9p/p9 programs (*Done?*)
30  * Document better the 'API' for sub-apps, both a set of environment vars apps can rely on (and in some cases set) and functions they can call (WIP).
31 * Better generation of descriptive HTML META tags, eg.,: {META name="description" content="This is the Google Summer of Code blog for Plan9 and Inferno projects."} {META name="keywords" content="google, summer of code, inferno, plan9, programming"}
32 * Should add werc to certain wikipedia lists:
33  * `http://en.wikipedia.org/wiki/List_of_content_management_systems`
34  * `http://en.wikipedia.org/wiki/Comparison_of_wiki_software`
35 * Include txt2tags as builtin alternative to markdown.
36 * Mathematic pseudo-CAPTCHA ala WP's 'Math Comment Spam Protection Plugin'.
37 
38 
39 Future Plansi and Blue Sky
40 --------------------------
41 
42 * Wanted [apps](/apps/):
43  * Tagging, eg., append to _werc/tags
44  * Related links sidebar generation.
45  * [Bug/issue tracking app](/apps/gregor/).
46  * Hg/git repository browser.
47  * Implement AtomPub.
48 
49 * Further modularization and extensibility (meta-templates) (Is the new app framework enough for this?)
50 * A way to wrap external cgi applications (eg., existing hg/git browser)
51 * A way to generate static sites (ie., use werc as an offline templating system)
52 * [9P](http://9p.cat-v.org) interface.
53 * New (simplified) markdown implementation, ideally in C or awk (maybe smu/libsmu by gottox?), yiyus great md2html.awk is a great start!
54  * Simplified
55  * Tables
56  * Images
57  * Autogenerated anchors/navigation boxes
58  * No inline html
59 
60 Similar frameworks to be investigated and mined for good ideas to steal:
61 
62  * TinyTim: http://www.reddit.com/r/programming/duplicates/dbaee/
63 
64 
65 Known Bugs
66 ----------
67 
68 * It seems that certain chars are not propely encoded in cookies, possibly broken chars: :&%[+ Fix should go in cgilib.rc^set_cookie (Have to figure out the proper way to scape cookie strings first)
69 * If a dir under apps/ doesn't contain an app.rc file, werc fails to start. A possible fix would be to replace $werc_apps default with `apps/*/app.rc` instead of `apps/*/`, this would be backwards incompatible, but I doubt anyone uses that option.
70 * Links in Blagh feeds become confused if markdown 'references' are used, markdown references suck, but I guess we need to address this somehow...
71 * Somewhat similarly to the abouve, relative urls in imgs, links, etc. can easily break when used in Blagh posts, so it is not all markdown's fault.
72 
73 
74 Fixed or WFM Bugs
75 -----------------
76 
77 * Sitemap can handle $dirfilter inconsistently from other places (**fixed**).
78 * Finding directories that are inaccessible (-rx) can generate an infinite loop (**Works for me? Fixed with new menu code?**)
79 * Some cat-v.org bits still left over here and there, should make them configurable (1.0 blocker) (**fixed**?)