comparison docs/CHANGES.config @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children 1738cbba372c
comparison
equal deleted inserted replaced
-1:000000000000 0:77665d8e2254
1 # this is a part of multiconfig.py - the stuff that changed recently:
2 actions_excluded = [] # ['DeletePage', 'AttachFile', 'RenamePage']
3 auth = [moin_cookie]
4 cookie_domain = None # use '.domain.tld" for a farm with hosts in that domain
5 cookie_path = None # use '/wikifarm" for a farm with pathes below that path
6 editor_default = 'text' # which editor is called when nothing is specified
7 editor_ui = 'freechoice' # which editor links are shown on user interface
8 editor_force = False
9 hacks = {} # { 'feature1': value1, ... }
10 # Configuration for features still in development.
11 # For boolean stuff just use config like this:
12 # hacks = { 'feature': True, ...}
13 # and in the code use:
14 # if cfg.hacks.get('feature', False): <doit>
15 # A non-existing hack key should ever mean False, None, "", [] or {}!
16 interwiki_preferred = [] # list of wiki names to show at top of interwiki list
17 lupy_search = False # disabled until lupy is finished
18 mail_sendmail = None # "/usr/sbin/sendmail -t -i" to not use SMTP, but sendmail
19 superuser = [] # list of unicode user names that have super powers :)
20 user_email_unique = True # do we check whether a user's email is unique?
21
22 user_checkbox_fields = [
23 ('mailto_author', lambda _: _('Publish my email (not my wiki homepage) in author info')),
24 ('edit_on_doubleclick', lambda _: _('Open editor on double click')),
25 ('remember_last_visit', lambda _: _('Remember last page visited')),
26 ('show_nonexist_qm', lambda _: _('Show question mark for non-existing pagelinks')),
27 ('show_page_trail', lambda _: _('Show page trail')),
28 ('show_toolbar', lambda _: _('Show icon toolbar')),
29 ('show_topbottom', lambda _: _('Show top/bottom links in headings')),
30 ('show_fancy_diff', lambda _: _('Show fancy diffs')),
31 ('wikiname_add_spaces', lambda _: _('Add spaces to displayed wiki names')),
32 ('remember_me', lambda _: _('Remember login information')),
33 ('want_trivial', lambda _: _('Subscribe to trivial changes')),
34
35 ('disabled', lambda _: _('Disable this account forever')),
36 # if an account is disabled, it may be used for looking up
37 # id -> username for page info and recent changes, but it
38 # is not usable for the user any more:
39 ]
40
41 user_checkbox_defaults = {'mailto_author': 0,
42 'edit_on_doubleclick': 0,
43 'remember_last_visit': 0,
44 'show_nonexist_qm': nonexist_qm,
45 'show_page_trail': 1,
46 'show_toolbar': 1,
47 'show_topbottom': 0,
48 'show_fancy_diff': 1,
49 'wikiname_add_spaces': 0,
50 'remember_me': 1,
51 'want_trivial': 0,
52 }
53 # don't let the user change those
54 # user_checkbox_disable = ['disabled', 'want_trivial']
55 user_checkbox_disable = []
56 # remove those checkboxes:
57 user_checkbox_remove = ['edit_on_doubleclick', 'show_nonexist_qm', 'show_toolbar', 'show_topbottom',
58 'show_fancy_diff', 'wikiname_add_spaces', 'remember_me', 'disabled',]
59
60 user_form_fields = [
61 ('name', _('Name'), "text", "36", _("(Use Firstname''''''Lastname)")),
62 ('aliasname', _('Alias-Name'), "text", "36", ''),
63 ('password', _('Password'), "password", "36", ''),
64 ('password2', _('Password repeat'), "password", "36", _('(Only when changing passwords)')),
65 ('email', _('Email'), "text", "36", ''),
66 ('css_url', _('User CSS URL'), "text", "40", _('(Leave it empty for disabling user CSS)')),
67 ('edit_rows', _('Editor size'), "text", "3", ''),
68 ##('theme', _('Preferred theme'), [self._theme_select()])
69 ##('', _('Editor Preference'), [self._editor_default_select()])
70 ##('', _('Editor shown on UI'), [self._editor_ui_select()])
71 ##('', _('Time zone'), [self._tz_select()])
72 ##('', _('Date format'), [self._dtfmt_select()])
73 ##('', _('Preferred language'), [self._lang_select()])
74 ]
75
76 user_form_defaults = { # key: default
77 'name': '',
78 'aliasname': '',
79 'password': '',
80 'password2': '',
81 'email': '',
82 'css_url': '',
83 'edit_rows': "20",
84 }
85
86 # don't let the user change those, but show them:
87 user_form_disable = ['name', 'aliasname', 'email',]
88
89 # remove those completely:
90 user_form_remove = ['password', 'password2', 'css_url', 'logout', 'create', 'account_sendmail',]
91
92 user_homewiki = 'Self' # interwiki name for where user homepages are located
93