Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.foswiki.org/trunk/FoswikiApplicationsContrib@2039 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
SvenDowideit
authored and
SvenDowideit
committed
Jan 19, 2009
0 parents
commit 57f0a5f
Showing
18 changed files
with
238 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
<title>%WIKITOOLNAME%'s <nop>%WEB% web</title> | ||
<subtitle>%MAKETEXT{"The [_1] web of Foswiki, the Free and Open Source Wiki." args="<nop>%WEB%"}%</subtitle> | ||
%INCLUDE{"%SYSTEMWEB%.WebAtomBase"}% <!-- | ||
* Set SKIN = rssatom | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%INCLUDE{"%SYSTEMWEB%.%TOPIC%"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="$Rev: 1838 $"}% | ||
<!-- | ||
* Set VIEW_TEMPLATE = WebCreateNewTopic | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
---+!! %MAKETEXT{"Welcome to the [_1] web" args="<nop>%WEB%"}% | ||
|
||
---++ %MAKETEXT{"Available Information"}% | ||
* ... | ||
* ... | ||
* ... | ||
|
||
---++ <nop>%WEB% Web Utilities | ||
<form action='%SCRIPTURLPATH{"search"}%/%WEB%/'> | ||
* <input type="text" name="search" size="22" /> <input type="submit" class="foswikiSubmit" value="%MAKETEXT{"Search"}%" /> - [[WebSearchAdvanced][%MAKETEXT{"advanced search"}%]] | ||
* WebTopicList - all topics in alphabetical order | ||
* WebChanges - recent topic changes in this web | ||
* WebNotify - subscribe to an e-mail alert sent when topics change | ||
* WebRss, WebAtom - RSS and ATOM news feeds of topic changes | ||
* WebStatistics - listing popular topics and top contributors | ||
* WebPreferences - preferences of this web | ||
</form> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%INCLUDE{"%SYSTEMWEB%.%TOPIC%"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1178746198" format="1.1" version="$Rev: 1340 $"}% | ||
%INCLUDE{"%IF{"context can_login" then="%SYSTEMWEB%.WebLeftBarLogin" else="<nop>"}%" warn="off"}% | ||
* *%MAKETEXT{"Toolbox"}%* | ||
* [[%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebCreateNewTopic?topicparent=%BASETOPIC%][ %ICON{"newtopic"}% %MAKETEXT{"Create New Topic"}%]] | ||
* [[WebTopicList][ %ICON{"index"}% %MAKETEXT{"Index"}%]] | ||
* [[%INCLUDINGWEB%.WebSearch][ %ICON{"searchtopic"}% %MAKETEXT{"Search"}%]] | ||
* [[WebChanges][ %ICON{"changes"}% %MAKETEXT{"Changes"}%]] | ||
* [[WebNotify][ %ICON{"notify"}% %MAKETEXT{"Notifications"}%]] | ||
* [[WebRss][ %ICON{"feed"}% %MAKETEXT{"RSS Feed"}%]] | ||
* [[WebStatistics][ %ICON{"statistics"}% %MAKETEXT{"Statistics"}%]] | ||
* [[WebPreferences][ %ICON{"wrench"}% %MAKETEXT{"Preferences"}%]] | ||
|
||
--- | ||
%INCLUDE{ "%SYSTEMWEB%.WebLeftBarWebsList" }% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%MAKETEXT{"This is a subscription service to be automatically notified by e-mail when topics change in this [_1] web. This is a convenient service, so you do not have to come back and check all the time if something has changed. To subscribe, please add a bullet with your [_2] in alphabetical order to this list:" args="*<nop>%WEB%*,[[%SYSTEMWEB%.WikiName][WikiName]]"}% | ||
|
||
* %USERSWEB%.WikiGuest | ||
* %USERSWEB%.WikiGuest - example@your.company | ||
|
||
|
||
%INCLUDE{"%SYSTEMWEB%.WebChangesAlert"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%META:TOPICPARENT{name="WebHome"}% | ||
---+!! <nop>%WEB% Web Preferences | ||
|
||
The following settings are *web preferences* of the [[%WEB%.%HOMETOPIC%][%WEB%]] web. These preferences overwrite the *site-level preferences* in [[%SYSTEMWEB%.%WIKIPREFSTOPIC%]] and [[%LOCALSITEPREFS%]], and can be overwritten by *user preferences* (your personal topic, eg: [[%USERSWEB%.%WIKINAME%][%WIKINAME%]] in the [[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] web). | ||
|
||
%TOC% | ||
|
||
---++ Web Preferences Settings | ||
|
||
These settings override the defaults for this web only. See [[%SYSTEMWEB%.DefaultPreferences#DefaultWebPreferences][full list of defaults with explanation]]. Many of the settings below are commented out. Remove the # sign to enable a local customisation. | ||
|
||
* List of topics of the <nop>%WEB% web: | ||
* #Set WEBTOPICLIST = %WEBTOPICLIST% | ||
|
||
<div style='background-color: %WEBBGCOLOR%;float: right'> | ||
%WEBBGCOLOR% | ||
</div> | ||
* Web-specific background color: (Pick a lighter one of the [[%SYSTEMWEB%.StandardColors][StandardColors]]). | ||
* Set WEBBGCOLOR = #DDDDDD | ||
* *Note:* This setting is automatically configured when you create a web | ||
|
||
* Image, URL and alternate tooltip text of web's logo.%BR% | ||
*Note:* Don't add your own local logos to the [[%SYSTEMWEB%.ProjectLogos][ProjectLogos]] topic; create your own logos topic instead. | ||
* #Set WEBLOGOIMG = %WEBLOGOIMG% | ||
* #Set WEBLOGOURL = %WEBLOGOURL% | ||
* #Set WEBLOGOALT = %WEBLOGOALT% | ||
|
||
* List this web in the [[%SYSTEMWEB%.SiteMap][SiteMap]]. If you want the web listed, then set SITEMAPLIST to =on=, do not set NOSEARCHALL, and add the "what" and "use to..." description for the site map. Use links that include the name of the web, i.e. <nop>%WEB%.Topic links.%BR% | ||
*Note:* Unlike other settings, SITEMAPLIST is *not* inherited from parent webs. It has to be set in *every* web that is to be listed in the [[%SYSTEMWEB%.SiteMap][SiteMap]] %BR% | ||
* Set SITEMAPLIST = on | ||
* Set SITEMAPWHAT = | ||
* Set SITEMAPUSETO = | ||
* *Note:* Above settings are automatically configured when you create a web | ||
|
||
* Exclude web from a =web="all"= search: (Set to =on= for hidden webs). | ||
* Set NOSEARCHALL = | ||
* *Note:* This setting is automatically configured when you create a web | ||
|
||
* Prevent automatic linking of [[%SYSTEMWEB%.WikiWords][WikiWords]] and acronyms (if set to =on=); link <nop>WikiWords (if empty); can be overwritten by web preferences: | ||
* #Set NOAUTOLINK = %NOAUTOLINK% | ||
* *Note:* You can still use the =[<nop>[...][...]]= syntax to link topics if you disabled <nop>WikiWord linking. The =<noautolink> ... </noautolink>= syntax can be used to prevents links within a block of text. | ||
|
||
* Default template for *new topics* for this web: | ||
* WebTopicEditTemplate: Default template for new topics in this web. (Site-level is used if topic does not exist) | ||
* [[%SYSTEMWEB%.WebTopicEditTemplate]]: Site-level default topic template | ||
|
||
* Comma separated list of *forms* that can be attached to topics in this web. See [[%SYSTEMWEB%.DataForms][DataForms]] for more information. | ||
* Set WEBFORMS = | ||
|
||
* Users or groups who *are not* / *are* allowed to *view* / *change* / *rename* topics in the <nop>%WEB% web: (See [[%SYSTEMWEB%.AccessControl][AccessControl]]). | ||
* Set DENYWEBVIEW = | ||
* Set ALLOWWEBVIEW = | ||
* Set DENYWEBCHANGE = | ||
* Set ALLOWWEBCHANGE = | ||
* Set DENYWEBRENAME = | ||
* Set ALLOWWEBRENAME = | ||
|
||
* Users or groups allowed to change or rename this <nop>%TOPIC% topic: (e.g., [[%USERSWEB%.AdminGroup][AdminGroup]]) | ||
* Set ALLOWTOPICCHANGE = | ||
* Set ALLOWTOPICRENAME = | ||
|
||
* Web preferences that are *not* allowed to be overridden by sub-web, user or topic preferences: | ||
* Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME | ||
|
||
%INCLUDE{%SYSTEMWEB%.WebPreferencesHelp}% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
<channel rdf:about="%SCRIPTURL{"view"}%/%WEB%"> | ||
%IF{ "$'URLPARAM{search}'!=''" then="<title><nop>%WIKITOOLNAME% search results for <nop>%URLPARAM{search}%</title>" else="<title><nop>%WIKITOOLNAME%'s <nop>%WEB% web</title>"}% | ||
<link>%SCRIPTURL{"view"}%/%WEB%</link> | ||
<description>%MAKETEXT{"The [_1] web of Foswiki, the Free and Open Source Wiki." args="<nop>%WEB%"}%</description> | ||
%INCLUDE{"%SYSTEMWEB%.WebRssBase"}%<!-- | ||
* Set SKIN = rss | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%INCLUDE{"%SYSTEMWEB%.%TOPIC%"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%META:TOPICPARENT{name="WebSearch"}% | ||
%INCLUDE{"%SYSTEMWEB%.%TOPIC%"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%META:TOPICPARENT{name="WebHome"}% | ||
---++ Statistics for <nop>%WEB% Web | ||
|
||
| *Month:* | *Topic <br /> views:* | *Topic <br /> saves:* | *File <br /> uploads:* | *Most popular <br /> topic views:* | *Top contributors for <br /> topic save and uploads:* | | ||
| <!--statDate--> | <!--statViews--> | <!--statSaves--> | <!--statUploads--> | <!--statTopViews--> | <!--statTopContributors--> | | ||
|
||
*Notes:* | ||
* Do not edit this topic, it is updated automatically. (You can also [[%SCRIPTURL{"statistics"}%/%WEB%][force]] an update) | ||
* [[%SYSTEMWEB%.SiteTools#WebStatistics_site_statistics][Site tools]] tells you how to enable the automatic updates of the statistics. | ||
* Suggestion: You could archive this topic once a year and delete the previous year's statistics from the table. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%INCLUDE{"%SYSTEMWEB%.%TOPIC%"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
---+!! !FoswikiApplicationsContrib | ||
<!-- | ||
One line description, required for extensions repository catalog. | ||
* Set SHORTDESCRIPTION = Dataform driven applications and framework | ||
--> | ||
%SHORTDESCRIPTION% | ||
|
||
%TOC% | ||
|
||
---++ Usage | ||
|
||
---++ Examples | ||
---+++ NewsApplication | ||
|
||
---++ Implementation details | ||
All applications use %SYSTEMWEB%.FormsPlugin, and store their data in a hidden FoswikiApplicationData web. | ||
|
||
---++ Installation Instructions | ||
|
||
%$INSTALL_INSTRUCTIONS% | ||
|
||
---++ Info | ||
|
||
|
||
| Author(s): | Foswiki:Main.SvenDowideit a [[http://wikiring.com][WikiRing]] founding partner | | ||
| Copyright: | © SvenDowideit@fosiki.com | | ||
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License v3)]] | | ||
| Version: | %$VERSION% | | ||
| Change History: | <!-- versions below in reverse order --> | | ||
| Dependencies: | %$DEPENDENCIES% | | ||
| Home page: | http://foswiki.org/bin/view/Extensions/FoswikiApplicationsContrib | | ||
|
||
<!-- Do _not_ attempt to edit this topic; it is auto-generated. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Contrib for Foswiki - The Free and Open Source Wiki, http://foswiki.org/ | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details, published at | ||
# http://www.gnu.org/copyleft/gpl.html | ||
|
||
package Foswiki::Contrib::FoswikiApplicationsContrib; | ||
|
||
use strict; | ||
|
||
use vars qw( $VERSION $RELEASE $SHORTDESCRIPTION ); | ||
|
||
$VERSION = '$Rev$'; | ||
$RELEASE = ''; | ||
$SHORTDESCRIPTION = 'easy to use Dataform driven applications and framework'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Dependencies for FoswikiApplicationsContrib | ||
# Example: | ||
# Time::ParseDate,>=2003.0211,cpan,Required. | ||
# Foswiki::Plugins,>=1.2,perl,Requires version 1.2 of handler API. | ||
Foswiki::Plugins::FormPlugin,>=1.3,perl,required to make the forms work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Release manifest for FoswikiApplicationsContrib | ||
data/System/FoswikiApplicationsContrib.txt 0644 Documentation | ||
lib/Foswiki/Contrib/FoswikiApplicationsContrib.pm 0644 Perl module | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/perl -w | ||
BEGIN { unshift @INC, split( /:/, $ENV{FOSWIKI_LIBS} ); } | ||
use Foswiki::Contrib::Build; | ||
|
||
# Create the build object | ||
$build = new Foswiki::Contrib::Build('FoswikiApplicationsContrib'); | ||
|
||
# (Optional) Set the details of the repository for uploads. | ||
# This can be any web on any accessible Foswiki installation. | ||
# These defaults will be used when expanding tokens in .txt | ||
# files, but be warned, they can be overridden at upload time! | ||
|
||
# name of web to upload to | ||
$build->{UPLOADTARGETWEB} = 'Extensions'; | ||
# Full URL of pub directory | ||
$build->{UPLOADTARGETPUB} = 'http://foswiki.org/pub'; | ||
# Full URL of bin directory | ||
$build->{UPLOADTARGETSCRIPT} = 'http://foswiki.org/bin'; | ||
# Script extension | ||
$build->{UPLOADTARGETSUFFIX} = ''; | ||
|
||
# Build the target on the command line, or the default target | ||
$build->build($build->{target}); | ||
|