Changeset 506


Ignore:
Timestamp:
11/10/08 02:51:45 (3 years ago)
Author:
KennethLavrsen
Message:

Item109: Continuing TWiki to Default/SitePreferences update
The Release04x02 should be close to done for preferences
More to come in trunk

Location:
branches/Release04x02
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/Release04x02/lib/MANIFEST

    r487 r506  
    5454bin/viewfile 0555 
    5555data/Main/ProjectContributor.txt 0644 
     56data/Main/SitePreferences.txt 0644 
    5657data/Main/TWikiAdminUser.txt 0644 
    5758data/Main/TWikiGroups.txt 0644 
    5859data/Main/TWikiGuest.txt 0644 
    59 data/Main/TWikiPreferences.txt 0644 
    6060data/Main/UnknownUser.txt 0644 
    6161data/Main/WebAtom.txt 0644 
     
    9595data/TWiki/ClassMethod.txt 0644 
    9696data/TWiki/ContributedAddOns.txt 0644 
     97data/TWiki/DefaultPreferences.txt 0644 
    9798data/TWiki/DeleteOrRenameATopic.txt 0644 
    9899data/TWiki/DeleteOrRenameAnAttachment.txt 0644 
     
    161162data/TWiki/TWikiPlannedFeatures.txt 0644 
    162163data/TWiki/TWikiPlugins.txt 0644 
    163 data/TWiki/TWikiPreferences.txt 0644 
    164164data/TWiki/TWikiReferenceManual.txt 0644 
    165165data/TWiki/TWikiReleaseNotes04x00.txt 0644 
  • branches/Release04x02/lib/TWiki.pm

    r465 r506  
    15231523    $this->{forms} = {}; 
    15241524 
    1525     # Push global preferences from TWiki.TWikiPreferences 
     1525    # Push global preferences from %SYSTEMWEB%.DefaultPreferences 
    15261526    $prefs->pushGlobalPreferences(); 
    15271527 
  • branches/Release04x02/lib/TWiki.spec

    r486 r506  
    10141014# Examples: mail.your.company 
    10151015# <b>CAUTION</b> This setting can be overridden by a setting of SMTPMAILHOST 
    1016 # in TWikiPreferences. Make sure you delete that setting if you are using a 
    1017 # TWikiPreferences topic from a previous release of TWiki. To disable all 
     1016# in SitePreferences. Make sure you delete that setting if you are using a 
     1017# SitePreferences topic from a previous release of TWiki. To disable all 
    10181018# outgoing mail from TWiki leave both this field and the MailProgram field 
    10191019# above blank. 
     
    10251025# Net::SMTP will guess it for you. Example: twiki.your.company. 
    10261026# <b>CAUTION</b> This setting can be overridden by a setting of SMTPSENDERHOST 
    1027 # in TWikiPreferences. Make sure you delete that setting if you are using a 
    1028 # TWikiPreferences topic from a previous release of TWiki. 
     1027# in SitePreferences. Make sure you delete that setting if you are using a 
     1028# SitePreferences topic from a previous release of TWiki. 
    10291029$TWiki::cfg{SMTP}{SENDERHOST} = ''; 
    10301030 
     
    10571057# server. (e.g. proxy.your.company). 
    10581058# <b>CAUTION</b> This setting can be overridden by a PROXYHOST setting 
    1059 # in TWikiPreferences. Make sure you delete the setting from there if 
    1060 # you are using a TWikiPreferences topic from a previous release of TWiki. 
     1059# in SitePreferences. Make sure you delete the setting from there if 
     1060# you are using a SitePreferences topic from a previous release of TWiki. 
    10611061$TWiki::cfg{PROXY}{HOST} = ''; 
    10621062 
     
    10651065# server. Set the port number here (e.g: 8080). 
    10661066# <b>CAUTION</b> This setting can be overridden by a PROXYPORT setting 
    1067 # in TWikiPreferences. Make sure you delete the setting from there if you 
    1068 # are using a TWikiPreferences topic from a previous release of TWiki. 
     1067# in SitePreferences. Make sure you delete the setting from there if you 
     1068# are using a SitePreferences topic from a previous release of TWiki. 
    10691069$TWiki::cfg{PROXY}{PORT} = ''; 
    10701070 
     
    11211121# {SitePrefsTopicName}.<br /> 
    11221122# You are <b>strongly</b> recommended to keep all your local changes in 
    1123 # a {LocalSitePreferences} topic rather than changing TWikiPreferences, 
     1123# a {LocalSitePreferences} topic rather than changing DefaultPreferences, 
    11241124# as it will make upgrading a lot easier. 
    11251125$TWiki::cfg{LocalSitePreferences} = 'Main.SitePreferences'; 
  • branches/Release04x02/lib/TWiki/UI/Search.pm

    r21 r506  
    4444| =topic="%WEBPREFSTOPIC%"= <br /> =topic="*Bug"= | Limit search to topics: A topic, a topic with asterisk wildcards, or a list of topics separated by comma. | All topics in a web | 
    4545| =excludetopic="Web*"= <br /> =excludetopic="%HOMETOPIC%, <nop>WebChanges"= | Exclude topics from search: A topic, a topic with asterisk wildcards, or a list of topics separated by comma. | None | 
    46 | =type="keyword"= <br /> =type="literal"= <br /> =type="regex"= | Do a keyword search like =soap "web service" -shampoo=; a literal search like =web service=; or RegularExpression search like =soap;web service;!shampoo= | =%<nop>SEARCHVAR- DEFAULTTYPE%= [[TWikiPreferences][preferences]] setting (%SEARCHVARDEFAULTTYPE%) | 
     46| =type="keyword"= <br /> =type="literal"= <br /> =type="regex"= | Do a keyword search like =soap "web service" -shampoo=; a literal search like =web service=; or RegularExpression search like =soap;web service;!shampoo= | =%<nop>SEARCHVAR- DEFAULTTYPE%= [[DefaultPreferences][preferences]] setting (%SEARCHVARDEFAULTTYPE%) | 
    4747| =scope="topic"= <br /> =scope="text"= <br /> =scope="all"= | Search topic name (title); the text (body) of topic; or all (both) | ="text"= | 
    4848| =order="topic"= <br /> =order="created"= <br />  =order="modified"= <br /> =order="editby"= <br /> =order=<br />&nbsp;"formfield(name)"= | Sort the results of search by the topic names, topic creation time, last modified time, last editor, or named field of TWikiForms. The sorting is done web by web; in case you want to sort across webs, create a [[FormattedSearch][formatted]] table and sort it with TablePlugin's initsort | Sort by topic name | 
  • branches/Release04x02/tools/TWikiKernel/MANIFEST

    r487 r506  
    3535data/Main/NobodyGroup.txt 0660 
    3636data/Main/ProjectContributor.txt 0660 
     37data/Main/SitePreferences.txt 0660 
    3738data/Main/TWikiAdminGroup.txt 0660 
    3839data/Main/TWikiGroupTemplate.txt 0660 
    3940data/Main/TWikiGroups.txt 0660 
    4041data/Main/TWikiGuest.txt 0660 
    41 data/Main/TWikiPreferences.txt 0660 
    4242data/Main/TWikiRegistrationAgent.txt 0660 
    4343data/Main/TWikiUsers.txt 0660 
     
    8787data/TWiki/ClassMethod.txt 0660 
    8888data/TWiki/DakarReleaseNotes.txt 0660 
     89data/TWiki/DefaultPreferences.txt 0660 
    8990data/TWiki/DeleteOrRenameATopic.txt 0660 
    9091data/TWiki/DeleteOrRenameAnAttachment.txt 0660 
     
    151152data/TWiki/TWikiPlannedFeatures.txt 0660 
    152153data/TWiki/TWikiPlugins.txt 0660 
    153 data/TWiki/TWikiPreferences.txt 0660 
    154154data/TWiki/TWikiReferenceManual.txt 0660 
    155155data/TWiki/TWikiRegistration.txt 0660 
  • branches/Release04x02/tools/benchmark.pl

    r3 r506  
    6262 
    6363    $skin = "" unless $skin; 
    64     my $url = "$server/$install/bin/view/TWiki/TWikiPreferences"; 
     64    my $url = "$server/$install/bin/view/TWiki/DefaultPreferences"; 
    6565    print "*** Getting plugins for $install\n" if $debug; 
    6666    my $plugins = `wget -O - $url 2>&1 | grep 'Currently activated plugins:' | sed -e 's/^.*: //'`; 
  • branches/Release04x02/twikiplugins/BuildContrib/create_new_extension.pl

    r487 r506  
    317317|  Appraisal: | %$UPLOADTARGETSCRIPT%/view%$UPLOADTARGETSUFFIX%/%$UPLOADTARGETWEB%/%$MODULE%Appraisal | 
    318318 
    319 __Related Topics:__ %SYSTEMWEB%.TWiki%$TYPE%s, %SYSTEMWEB%.DeveloperDocumentationCategory, %SYSTEMWEB%.AdminDocumentationCategory, %SYSTEMWEB%.TWikiPreferences 
     319__Related Topics:__ %SYSTEMWEB%.TWiki%$TYPE%s, %SYSTEMWEB%.DeveloperDocumentationCategory, %SYSTEMWEB%.AdminDocumentationCategory, %SYSTEMWEB%.DefaultPreferences, %USERSWEB%.SitePreferences 
    320320 
    321321<!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the feedback topic on twiki.org instead. --> 
  • branches/Release04x02/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm

    r463 r506  
    20832083      1 Manually edit !LocalSite.cfg to set any configuration variables. 
    20842084 
    2085 %IF{"defined 'SYSTEMWEB'" else="<div class='twikiAlert'>%X% WARNING: SYSTEMWEB is not defined in this TWiki. Please add these definitions to your %MAINWEB%.TWikiPreferences, if they are not already there:<br><pre>   * <nop>Set SYSTEMWEB = %<nop>SYSTEMWEB%<br>   * <nop>Set USERSWEB = %<nop>MAINWEB%</pre></div>"}% 
     2085%IF{"defined 'SYSTEMWEB'" else="<div class='twikiAlert'>%X% WARNING: SYSTEMWEB is not defined in this TWiki. Please add these definitions to your %MAINWEB%.DefaultPreferences, if they are not already there:<br><pre>   * <nop>Set SYSTEMWEB = %<nop>SYSTEMWEB%<br>   * <nop>Set USERSWEB = %<nop>MAINWEB%</pre></div>"}% 
  • branches/Release04x02/twikiplugins/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm

    r463 r506  
    9696# is not recommended. Instead, use $TWiki::cfg entries set in LocalSite.cfg, or 
    9797# if you want the users to be able to change settings, then use standard TWiki 
    98 # preferences that can be defined in your Main.TWikiPreferences and overridden 
     98# preferences that can be defined in your %USERSWEB%.SitePreferences and overridden 
    9999# at the web and topic level. 
    100100$NO_PREFS_IN_TOPIC = 1; 
  • branches/Release04x02/twikiplugins/TWikiUserMappingContrib/test/unit/TWikiUserMappingContrib/TWikiUserMappingTests.pm

    r487 r506  
    5757    $TWiki::cfg{UsersWebName}         = $testUsersWeb; 
    5858    $TWiki::cfg{SystemWebName}        = $testSysWeb; 
    59     $TWiki::cfg{LocalSitePreferences} = "$testUsersWeb.TWikiPreferences"; 
     59    $TWiki::cfg{LocalSitePreferences} = "$testUsersWeb.SitePreferences"; 
    6060    $TWiki::cfg{UserMappingManager}   = 'TWiki::Users::TWikiUserMapping'; 
    6161    $TWiki::cfg{Register}{AllowLoginName}            = 1; 
  • branches/Release04x02/twikiplugins/WysiwygPlugin/lib/TWiki/Plugins/WysiwygPlugin/Constants.pm

    r21 r506  
    2222our (%KNOWN_COLOUR); 
    2323 
    24 # Colours with colour settings in TWikiPreferences. WTF does TWiki see 
     24# Colours with colour settings in DefaultPreferences. WTF does TWiki see 
    2525# fit to *redefine* the standard colors? e.g. ORANGE below is *not* orange. 
    2626# For goodness sakes! 
Note: See TracChangeset for help on using the changeset viewer.