Sphene Community Tools

Community

Copyright © 2007-2008 by Herbert Poul
You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Profile for Anderson Santos

Name Anderson Santos
Email Address Reveal this emailaddress
Website URLhttp://curaloucura.blogspot.com/
AvatarUsers avatar
Posts39
Board Signature
what the heck am I doing?
  • Re: Missing snip permission for is_staff
    Board >> General >> Feature Discussions
    No, by superusers but not by staff =)
    what the heck am I doing?
  • Wiki markdown
    Board >> General >> Feature Discussions
    I tried to create a table wich according to markdown syntax is possible usign html tags but when rendered in wiki, it displays "HTML_REMOVED".

    There's another way to create a table?


    what the heck am I doing?
  • Re: Missing snip permission for is_staff
    Board >> General >> Feature Discussions
    Hmmm, maybe it would be good to review the security options, wich include one for "only staff" item. Anyway, we can have a situation that are pages wich only admin can edit, but I don't know if it's the case to set an Admin group or use the Django's Admin feature. What do you think?
    what the heck am I doing?
  • Re: Missing snip permission for is_staff
    Board >> General >> Feature Discussions
    Hello hello,

    You are fast, as usual.

    In my case I added a is_staff condition because our website is public but the wiki is private, from first to the last page =)
    what the heck am I doing?
  • Missing snip permission for is_staff
    Board >> General >> Feature Discussions
    In the admin it's possible to set a snip to staff members, but it seems there's no code to check this on wiki models:

    def __has_permission(self, user, pref, permission):
    if permission == None or permission <= -1:
    return True

    if user == None or not user.is_authenticated():
    return False

    if user.is_superuser: return True

    if permission == 0: return True

    if permission == 1 and pref != None and pref.snip != None:
    if pref.snip.group.get_member(user) != None: return True

    return False
    what the heck am I doing?
  • Re: Separation Wiki and Board
    Board >> General >> Feature Discussions
    Correcting, SCT can be much more than this. It can be an intermediate layer for bigger projects =)
    what the heck am I doing?
  • Re: Separation Wiki and Board
    Board >> General >> Feature Discussions
    Thank you very much, Herbert

    I hope SCT grow fast, it's the best django wiki/board available =)
    what the heck am I doing?
  • Template Revision
    Board >> General >> Feature Discussions
    I found one more intriguing issue. I was changing css styles and I found one inline style, wiki_title on _snip_header, when cleaning up templates I suggest separate content from presentation styles too. It will make designer's life a lot easier =)
    what the heck am I doing?
  • Re: Themes
    Board >> General >> Feature Discussions
    I am used to CSS themes, wich could be more standardista then using templates, wich could be more flexible.
    But I know that the first one can be implemented using javascript or something, so it doesn't really makes sense.

    Maybe I have a "real world" use for themes. We have two different companies with different websites, but they will use the same Wiki. Their design are different but the content are the same.

    I am not going to implement those layouts yet, but maybe someday it can be useful. =)
    what the heck am I doing?
  • Themes
    Board >> General >> Feature Discussions
    I couldn't find documentation for themes. What is the idea, give a path for template pages or css files?
    It was implemented already or is just a future release?
    what the heck am I doing?


Powered by Sphene Community Tools