Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item13527: added support for multi-ling wiki apps
- display inheritance graph of TopicTypes using DirectedGraphPlugin - added editors and TopicTypes for all wiki app components
- Loading branch information
1 parent
e128d12
commit 7fdddff
Showing
126 changed files
with
1,305 additions
and
729 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
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
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" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="TopicView"}% | ||
%{<verbatim class="tml">}% | ||
%TMPL:INCLUDE{"Applications.ApplicationTopicEdit"}% | ||
%{</verbatim>}% | ||
|
||
%{<verbatim class="tml">}% | ||
%TMPL:DEF{"topictype"}%application license%TMPL:END% | ||
%{</verbatim>}% | ||
|
||
%{<verbatim class="tml">}% | ||
%TMPL:DEF{"formdefinition"}%Applications.ApplicationLicense%TMPL:END% | ||
%{</verbatim>}% | ||
|
||
%META:FORM{name="TopicView"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value="ApplicationLicenseEditTemplate "}% | ||
%META:FIELD{name="Summary" title="Summary" value="Editor for ApplicationLicenses"}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
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,11 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="TopicView"}% | ||
%{<verbatim class="tml">}% | ||
%TMPL:INCLUDE{"Applications.ApplicationTopicView"}% | ||
%{</verbatim>}% | ||
|
||
%META:FORM{name="TopicView"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Summary" title="Summary" value="a TopicView for ApplicationLicenses"}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
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 |
---|---|---|
@@ -1,34 +1,44 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1418752972" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="TopicType"}% | ||
%DBCALL{"RenderTopicInstaller" TYPE="TopicType" PARENT="TopicType"}% | ||
---++ Documentation | ||
%STARTSECTION{"documentation"}% | ||
An ApplicationTopic is a topic that belongs to a WikiApplication. TopicTypes, TopicFunctions, TopicViews etc are all ApplicationTopics as they belong to some WikiApplication. Based on this information | ||
An ApplicationTopic is a topic that belongs to a WikiApplication. [[TopicTypes]], [[TopicFunctions]], [[TopicViews]] etc are all <nop>ApplicationTopics as they belong to some WikiApplication. Based on this information | ||
all parts of an application are gathered to create documentation and use it for packaging purposes. | ||
|
||
%DBQUERY{ | ||
"Inheritance=~'\b%TOPIC%\b'" | ||
header="TopicTypes that are derived from %TOPIC%:$n" | ||
format=" * [[$web.$topic]]" | ||
hidenull="on" | ||
}% | ||
|
||
See also [[%TOPIC%ViewTemplate]], [[%TOPIC%EditTemplate]] | ||
%ENDSECTION{"documentation"}% | ||
|
||
---++ Topics of type '%TOPIC%' | ||
%STARTINCLUDE%<!-- --> | ||
%DBCALL{"Applications.RenderSimpleTopicCreator" | ||
FORM="Applications.ApplicationTopic" | ||
TYPE="ApplicationTopic" | ||
}% | ||
%DBCALL{"Applications.RenderSimpleTopicCreator"}% | ||
|
||
%DBCALL{"Applications.RenderTopicsOfType"}% | ||
%DBCALL{"Applications.RenderTopicsOfType" | ||
FIELDS="TopicTitle,TopicType,WikiApplication,Changed" | ||
}% | ||
%STOPINCLUDE% | ||
|
||
---++ <nop>%TOPIC% form | ||
| *Name:*| *Type:* | *Size:* | *Values:* | *Description:* | *Attributes:* | *Default: * | | ||
| TopicType | checkbox | 3 |%DBCALL{"Applications.GetTopicTypes" remote="off"}%| Document type | | | | ||
| <nop>TopicTitle | text | 75 | | title | | | | ||
| Summary | text | 75 | | Short description of the role of this topic | c | | | ||
| WikiApplication| wikiapp | 1 | | Application this topic belongs to | | | | ||
| TopicType | label | 1 | ApplicationTopic, WikiTopic | topic type | | | | ||
| <nop>TopicTitle | text | 75 | | | | | | ||
| Summary | text | 75 | | short description or tagline | c | | | ||
| WikiApplication| wikiapp | 1 | | application this topic belongs to | | | | ||
|
||
|
||
%META:FORM{name="Applications.TopicType"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value="ApplicationTopic"}% | ||
%META:FIELD{name="Inheritance" attributes="" title="Inheritance" value="WikiTopic"}% | ||
%META:FIELD{name="Summary" attributes="" title="Summary" value="A topic that is part of an application"}% | ||
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="WikiWorkbench"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Inheritance" title="Inheritance" value="WikiTopic"}% | ||
%META:FIELD{name="Summary" title="Summary" value="A topic that is part of an application"}% | ||
%META:FIELD{name="Icon" title="Icon" value="fa-fire"}% | ||
%META:FIELD{name="Editor" title="Editor" value="Applications.ApplicationTopicEditTemplate"}% | ||
%META:FIELD{name="Template" title="Template" value=""}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
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
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1418752972" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="TopicView"}% | ||
%{<verbatim class="tml">}% | ||
%TMPL:INCLUDE{"Applications.WikiTopicView"}% | ||
%TMPL:DEF{"form"}%%META{"form"}%%TMPL:END% | ||
%{</verbatim>}% | ||
|
||
%META:FORM{name="Applications.ApplicationTopic"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicView"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Summary" attributes="" title="Summary" value="TopicView for ApplicationTopics"}% | ||
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="WikiWorkbench"}% | ||
%META:FORM{name="TopicView"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Summary" title="Summary" value="TopicView for ApplicationTopics"}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
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
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
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" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="DataForm"}% | ||
%{<verbatim class="tml">}% | ||
%TMPL:INCLUDE{"Applications.ApplicationTopicEdit"}% | ||
%{</verbatim>}% | ||
|
||
%{<verbatim class="tml">}% | ||
%TMPL:DEF{"topictype"}%data form%TMPL:END% | ||
%{</verbatim>}% | ||
|
||
%{<verbatim class="tml">}% | ||
%TMPL:DEF{"formdefinition"}%Applications.DataForm%TMPL:END% | ||
%{</verbatim>}% | ||
|
||
%META:FORM{name="TopicView"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value="DataEditTemplate "}% | ||
%META:FIELD{name="Summary" title="Summary" value="Editor for DataForms"}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
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 |
---|---|---|
@@ -1,27 +1,34 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1418752972" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1435666503" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="TopicType"}% | ||
---++ Documentation | ||
%STARTSECTION{"documentation"}% | ||
DataForms add structured information to wiki topics. | ||
|
||
See also: %TOPIC%Template, WebPreferences, DataFormAttributes, %SYSTEMWEB%.DataForms | ||
See also: [[%TOPIC%Template]], [[%TOPIC%ViewTemplate]], [[%TOPIC%EditTemplate]], [[%SYSTEMWEB%.DataForms]] | ||
%ENDSECTION{"documentation"}% | ||
|
||
---++ Topics of type '%TOPIC%' | ||
%STARTINCLUDE%<!-- --> | ||
%DBCALL{"Applications.RenderSimpleTopicCreator" | ||
TEMPLATE="Applications.DataFormTemplate" | ||
FORM="Applications.ApplicationTopic" | ||
TYPE="DataForm" | ||
}% | ||
|
||
%DBCALL{"Applications.RenderTopicsOfType"}% | ||
%STOPINCLUDE% | ||
|
||
---++ <nop>%TOPIC% form | ||
| *Name:*| *Type:* | *Size:* | *Values:* | *Description:* | *Attributes:* | *Default: * | | ||
| TopicType | label | 1 | DataForm, ApplicationTopic, WikiTopic | topic type | | | | ||
| <nop>TopicTitle | text | 75 | | | | | | ||
| Summary | text | 75 | | short description or tagline | c | | | ||
| WikiApplication| wikiapp | 1 | | application this topic belongs to | | | | ||
|
||
%META:FORM{name="Applications.TopicType"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DocuTopic"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value="DataForm"}% | ||
%META:FIELD{name="Inheritance" attributes="" title="Inheritance" value="ApplicationTopic"}% | ||
%META:FIELD{name="Summary" attributes="c" title="Summary" value="DataForm definitions"}% | ||
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="WikiWorkbench"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Inheritance" title="Inheritance" value="ApplicationTopic, WikiTopic"}% | ||
%META:FIELD{name="Summary" title="Summary" value="DataForm definitions"}% | ||
%META:FIELD{name="Icon" title="Icon" value="fa-database"}% | ||
%META:FIELD{name="Editor" title="Editor" value="Applications.DataEditTemplate"}% | ||
%META:FIELD{name="Template" title="Template" value="Applications.DataFormTemplate"}% | ||
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}% |
Oops, something went wrong.