Changeset 799
- Timestamp:
- 11/19/08 08:55:36 (3 years ago)
- Location:
- branches/Release04x02/twikiplugins
- Files:
-
- 9 edited
-
BuildContrib/data/TWiki/BuildContrib.txt (modified) (7 diffs)
-
JSCalendarContrib/data/TWiki/JSCalendarContrib.txt (modified) (1 diff)
-
MailerContrib/tools/mailnotify (modified) (1 diff)
-
PreferencesPlugin/data/TWiki/DefaultPreferencesForm.txt (modified) (1 diff)
-
TopicUserMappingContrib/data/Main/UserHomepageHeader.txt (modified) (1 diff)
-
TopicUserMappingContrib/lib/TWiki/Contrib/TopicUserMappingContrib.pm (modified) (1 diff)
-
UnitTestContrib/lib/TWiki/Contrib/UnitTestContrib.pm (modified) (1 diff)
-
UnitTestContrib/test/unit/Fn_INCLUDE.pm (modified) (2 diffs)
-
UnitTestContrib/test/unit/FormattingTests.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/twikiplugins/BuildContrib/data/TWiki/BuildContrib.txt
r672 r799 118 118 Now install the !BuildContrib. In a subversion checkout, =cd= to the TWiki root 119 119 and =perl pseudo-install.pl BuildContrib=. In a non-subversion environment, 120 install the =BuildContrib= package from TWiki.org.120 install the =BuildContrib= package from foswiki.org. 121 121 122 122 ---+++ Environment Variables … … 125 125 pick up the components of the build system. Set =TWIKI_LIBS= (which is a 126 126 path, same as =PERL5LIB=) to point to your =lib= directory in your development 127 TWiki. =$TWIKI_LIBS= is used to extend @INC _for the duration of the build127 Foswiki. =$TWIKI_LIBS= is used to extend @INC _for the duration of the build 128 128 only_, so it won't mask problems during testing. 129 129 … … 256 256 The installer script written by the build process uses the dependency type 257 257 to decide how to install dependant modules. 'cpan' means 'get the module 258 from CPAN' and 'perl' means 'get the module from the Plugins web on TWiki.org'258 from CPAN' and 'perl' means 'get the module from the Extensions web on foswiki.org' 259 259 (or whatever other repositories the admin has specified using =$TWIKI_PACKAGES= 260 260 or =$PLUGINS_URL=). … … 263 263 When your module (the _depender_) depends on another module (a _dependee_), it is important to think carefully about what version of the dependee your module requires. 264 264 265 When you are working with TWiki modules (such as contribs and plugins) you should list the version number of the module that you tested with. Normally you will want to use a <code>></code> condition, so that more recent versions will also work. If a dependency on a TWiki module fails (because the module isn't installed, for example) then the installer script will pull *the latest version* of the module from TWiki.org, whether that is the required version or not. This is a limitation of the way plugins are stored on TWiki.org.265 When you are working with TWiki modules (such as contribs and plugins) you should list the version number of the module that you tested with. Normally you will want to use a <code>></code> condition, so that more recent versions will also work. If a dependency on a TWiki module fails (because the module isn't installed, for example) then the installer script will pull *the latest version* of the module from foswiki.org, whether that is the required version or not. This is a limitation of the way plugins are stored on foswiki.org. 266 266 267 267 When you are working with CPAN modules, you need to take account of the fact that there are *two types* of CPAN modules; _built-ins_ and _add-ons_. … … 280 280 contans <code>ONLYIF ( _condition_ )</code>, where _condition_ is a Perl 281 281 conditional. This is most useful for enabling dependencies only for certain 282 versions of TWiki. For example,282 versions of Foswiki. For example, 283 283 <verbatim> 284 284 TWiki::Rhinos,>=1.000,perl,Required. Download from TWiki:Plugins/RhinosContrib and install. … … 301 301 all the files you want to include in the release package 302 302 During development we recommend you use the =pseudo-install.pl= script to 303 soft-link your plugin code into your development TWiki. This script uses the303 soft-link your plugin code into your development Foswiki. This script uses the 304 304 MANIFEST you write and creates softlinks in your development TWiki that allow 305 305 you to run your test code without having to do a full re-install each time you … … 375 375 * =cd twikiplugins/BathPlugin/lib/TWiki/Plugins/BathPlugin= 376 376 * =perl build.pl upload= 377 By default the =upload= target will upload to TWiki.org. You will be prompted377 By default the =upload= target will upload to foswiki.org. You will be prompted 378 378 to enter an alternate upload target, should you require it (e.g. to upload to 379 379 private corporate repository). The upload updates the topic and any associated -
branches/Release04x02/twikiplugins/JSCalendarContrib/data/TWiki/JSCalendarContrib.txt
r789 r799 17 17 18 18 ---++ Summary of Contents 19 This module packages the [[http://dynarch.com/mishoo/calendar.epl][Mishoo JSCalendar]] Javascript in a form suitable for use with TWiki.19 This module packages the [[http://dynarch.com/mishoo/calendar.epl][Mishoo JSCalendar]] Javascript in a form suitable for use with Foswiki. 20 20 21 21 ---++ Detailed Documentation -
branches/Release04x02/twikiplugins/MailerContrib/tools/mailnotify
r3 r799 1 1 #!/usr/bin/perl -w 2 2 # 3 # TWiki Collaboration Platform, http://TWiki.org/3 # Foswiki - The Free Open Source Wiki, http://foswiki.org/ 4 4 # 5 5 # Copyright (C) 2004 Wind River Systems Inc. -
branches/Release04x02/twikiplugins/PreferencesPlugin/data/TWiki/DefaultPreferencesForm.txt
r707 r799 23 23 | WEBLOGOALT | text | 30 | Home | Logo tooltip text of the logo | S | 24 24 | WIKILOGOIMG | text | 30 | %PUBURL%/%SYSTEMWEB%/ProjectLogos/horzTWiki.gif | URL of a logo image | S | 25 | WIKILOGOURL | text | 30 | http:// TWiki.org/ | URL under the logo| S |26 | WIKILOGOALT | text | 30 | Powered by TWiki | Logo tooltip text of the logo | S |25 | WIKILOGOURL | text | 30 | http://foswiki.org/ | URL under the logo| S | 26 | WIKILOGOALT | text | 30 | Powered by Foswiki | Logo tooltip text of the logo | S | 27 27 | WIKIWEBLIST | textarea | | [[%MAINWEB%.%HOMETOPIC%][%MAINWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[Sandbox.%HOMETOPIC%][Sandbox]] | | S | 28 28 | ATTACHFILESIZELIMIT | text | 30 | 3000 | Maximum size of attachments in KB, 0 for no limit | S | -
branches/Release04x02/twikiplugins/TopicUserMappingContrib/data/Main/UserHomepageHeader.txt
r747 r799 4 4 __Note:__ This is a maintenance topic, used by the Wiki administrator. 5 5 6 The part between the horizontal rules gets included at the top of every [[%WIKIUSERSTOPIC%]] homepage. The header can be customized to the needs of your organization. For example, show all frequently used fields from the [[%SYSTEMWEB%.UserForm][UserForm]] on top, followed by a personalized portal. The portal can pull content from other places, such as headline news by department, a list of current projects, etc. The TWiki:TWiki.UserHomepageSupplement has some additional documentation and ideas on customizing the homepages.6 The part between the horizontal rules gets included at the top of every [[%WIKIUSERSTOPIC%]] homepage. The header can be customized to the needs of your organization. For example, show all frequently used fields from the [[%SYSTEMWEB%.UserForm][UserForm]] on top, followed by a personalized portal. The portal can pull content from other places, such as headline news by department, a list of current projects, etc. 7 7 8 8 ----- -
branches/Release04x02/twikiplugins/TopicUserMappingContrib/lib/TWiki/Contrib/TopicUserMappingContrib.pm
r707 r799 1 # Contrib for TWiki Collaboration Platform, http://TWiki.org/1 # Contrib for Foswiki - The Free Open Source Wiki, http://foswiki.org/ 2 2 # 3 3 # This program is free software; you can redistribute it and/or -
branches/Release04x02/twikiplugins/UnitTestContrib/lib/TWiki/Contrib/UnitTestContrib.pm
r21 r799 1 # Contrib for TWiki Collaboration Platform, http://TWiki.org/1 # Contrib for Foswiki - The Free Open Source Wiki, http://foswiki.org 2 2 # 3 3 # This program is free software; you can redistribute it and/or -
branches/Release04x02/twikiplugins/UnitTestContrib/test/unit/Fn_INCLUDE.pm
r21 r799 55 55 7 ($includedTopic) 56 56 8 #$includedTopic 57 9 [[ TWiki.$includedTopic]]57 9 [[System.$includedTopic]] 58 58 10 [[$includedTopic]] 59 59 11 [[http://fleegle][$includedTopic]] … … 83 83 7 ($this->{other_web}.$includedTopic) 84 84 8 #$includedTopic 85 9 [[ TWiki.$includedTopic]]85 9 [[System.$includedTopic]] 86 86 10 [[$this->{other_web}.$includedTopic][$includedTopic]] 87 87 11 [[http://fleegle][$includedTopic]] -
branches/Release04x02/twikiplugins/UnitTestContrib/test/unit/FormattingTests.pm
r21 r799 295 295 my $this = shift; 296 296 my $expected = <<EXPECTED; 297 <a class="twikiLink" href="$this->{sup}/ TWiki/WebRssBase">TWiki.WebRss <nop>Base</a>298 EXPECTED 299 300 my $actual = <<ACTUAL; 301 [[ TWiki.WebRss Base]]297 <a class="twikiLink" href="$this->{sup}/System/WebRssBase">System.WebRss <nop>Base</a> 298 EXPECTED 299 300 my $actual = <<ACTUAL; 301 [[System.WebRss Base]] 302 302 ACTUAL 303 303 $this->do_test( $expected, $actual );
Note: See TracChangeset
for help on using the changeset viewer.
