~divmod-dev/divmod.org/NULLIFY-versus-disallowNone-2736

« back to all changes in this revision

Viewing changes to Hyperbola/xmantissa/plugins/hyperbolaoff.py

  • Committer: glyph
  • Date: 2006-01-11 17:00:20 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:4021

Author: glyph
Reviewer: moe

Fixes #382

This merge provides basic sharing functionality, such as the ability to give a
user a publicly-viewable web page (at /by/username, for the cool kids, or
/users, if you're a fuddy-duddy).

It also adds (working) support for a simple ClickChronicle public page at
/by/username/clicks, which exposes the "my clicks" page without the "actions"
column, and also (not working) Hyperbola at /by/username/blog which should some
day soon grow into a blog.  Patches accepted :).


Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from axiom import iaxiom, userbase
 
2
 
 
3
from xmantissa import website, offering, provisioning
 
4
 
 
5
import hyperbola
 
6
 
 
7
from hyperbola import hyperbola_model
 
8
 
 
9
hyperbolaer = provisioning.BenefactorFactory(
 
10
    name = u'hyperbolaer',
 
11
    description = u'A wonderful ready to use application named Hyperbola',
 
12
    benefactorClass = hyperbola_model.HyperbolaBenefactor)
 
13
 
 
14
plugin = offering.Offering(
 
15
    name = u"Hyperbola",
 
16
 
 
17
    description = u"""
 
18
    This is the wonderful Hyperbola application. Click me to install.
 
19
    """,
 
20
 
 
21
    siteRequirements = (
 
22
        (userbase.IRealm, userbase.LoginSystem),
 
23
        (None, website.WebSite)),
 
24
 
 
25
    appPowerups = (
 
26
        ),
 
27
 
 
28
    benefactorFactories = (hyperbolaer,)
 
29
    )
 
30