Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (43 sloc) 1.98 KB
Features to implement:
_ move javascript to set userpane and messages to Network.Gitit?
_ revamp caching.
new plan (see stashed):
cache should base64-encode the rawPathInfo from waiRequest
so it's on a per-request basis
in a separate directory we need to track which cached pages
are derived from which filestore paths, so we can expire them
when the filestore paths change. use symlinks?
_ preview in edit?
when you edit, you should be able to switch back and forth to a preview
tab. when you activate the preview tab it should render the current
content of the edit pane.
_ plugins/interface [started]
_ plugin loading
_ plugins in config file
_ sample plugins: abc notation?
_ config file [started]
x make Front Page, Help configurable
_ implement page locking (no edit, no delete) as in gitit
_ command-line option to specify config file? (but what about rest of config dir?)
_ site initialization [started]
_ explicit 'init' command? or wizard?
_ user logins/accounts
_ user pages (linked from history)
_ documentation
_ man page produced from README
_ Michael Snoyman suggests that instead of using a static subsite,
we do something like the following:
The only recommendation that comes to mind
would be to put some of the hard-coded static paths used in
makeDefaultLayout into the HasGitit typeclass, with sensible defaults.
That would theoretically make it much easier for users to override. In
the specific case of jQuery, you could use the existing YesodJquery
class from yesod-form. In general, the approach we take for these kinds
of typeclasses is to have methods like:
siteLogo :: master -> Either Text (Route master)
That way, the user can load the information from the master site
datatype if desired (which in turn means it can be in a config file),
and the `Either Text Route` lets the user either specify some external
URL or a type-safe URL.
Note: this applies to robots.txt and favicon.ico as well.