-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item12865: fully specify all security switches for rest handlers
also: - added options to disable some parts of a category view template - added tool to list uncategorized topics git-svn-id: http://svn.foswiki.org/trunk/ClassificationPlugin@17760 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
MichaelDaum
authored and
MichaelDaum
committed
Jun 10, 2014
1 parent
dd72430
commit 4db3147
Showing
17 changed files
with
149 additions
and
78 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
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,10 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="autosave" date="1357565280" format="1.1" version="7"}% | ||
%META:TOPICPARENT{name="WebHome"}% | ||
wwwxxx | ||
yyy | ||
zzz | ||
111222 | ||
111 | ||
222 | ||
333 | ||
444 | ||
555 | ||
666 | ||
777 | ||
888 | ||
999 | ||
111 | ||
222 | ||
333 | ||
444 | ||
555 | ||
%META:TOPICINFO{author="micha" comment="reprev" date="1401709243" format="1.1" reprev="8" version="8"}% | ||
%META:TOPICPARENT{name="BusinessStructure"}% | ||
|
||
|
||
%META:FORM{name="Applications.ClassificationApp.ClassifiedTopic"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="ClassifiedTopic, CategorizedTopic, TaggedTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value="Org.Chart"}% | ||
%META:FIELD{name="Summary" attributes="" title="Summary" value="This is a test topic with a nop in it"}% | ||
%META:FIELD{name="Tag" attributes="" title="Tag" value=""}% | ||
%META:FIELD{name="Category" attributes="" title="Category" value=""}% | ||
%META:FIELD{name="Category" attributes="" title="Category" value="BusinessStructure"}% |
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
2 changes: 1 addition & 1 deletion
2
data/Applications/ClassificationApp/RenderClassifiedTopicView.txt
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
40 changes: 40 additions & 0 deletions
40
data/Applications/ClassificationApp/RenderUncategorizedTopics.txt
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,40 @@ | ||
%META:TOPICINFO{author="micha" comment="reprev" date="1401709324" format="1.1" reprev="2" version="2"}% | ||
%META:TOPICPARENT{name="TopicFunction"}% | ||
%TOC{depth="2"}% | ||
|
||
---++ Documentation | ||
%STARTSECTION{"documentation"}% | ||
%RED%TODO%ENDCOLOR% | ||
|
||
---+++++ Parameters | ||
* EXCLUDE: regular expression of topics to be excluded, defaults to =UncategorizedTopics|WebTopicEditTemplate= | ||
|
||
%ENDSECTION{"documentation"}% | ||
|
||
---++ Implementation | ||
<verbatim class="tml"> | ||
%STARTINCLUDE%%DBQUERY{ | ||
"TopicType=~'\b(Classified|Categorized)Topic\b' AND TopicType !~ '\bCategory\b' AND ('TopCategory' DISTANCE topic) = 1" | ||
exclude="%EXCLUDE{default="UncategorizedTopics|WebTopicEditTemplat"}%" | ||
web="%BASEWEB%" | ||
format=" 1 [[$web.$topic]]" | ||
}%%STOPINCLUDE% | ||
</verbatim> | ||
|
||
---++ Test | ||
%DBCALL{"%TOPIC%"}% | ||
|
||
%DBCALL{"Applications.RenderFunctionCallers"}% | ||
|
||
---++ Copyright | ||
© 2014 Michael Daum http://michaeldaumconsulting.com | ||
|
||
%DBCALL{"Applications.GnuGeneralPublicLicense" section="notice"}% | ||
|
||
%META:FORM{name="Applications.ApplicationTopic"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="DocuTopic, TopicFunction"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}% | ||
%META:FIELD{name="Summary" attributes="c" title="Summary" value="list all topics not categorized yet"}% | ||
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="ClassificationApp"}% | ||
%META:TOPICMOVED{by="micha" date="1401703596" from="Applications/ClassificationApp.RenderUncategorizedTopicsuncat" to="Applications/ClassificationApp.RenderUncategorizedTopics"}% | ||
%META:PREFERENCE{name="EDIT_TEMPLATE" title="EDIT_TEMPLATE" type="Set" value="Applications.WikiTopicEdit"}% |
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,13 @@ | ||
%META:TOPICINFO{author="micha" comment="reprev" date="1401709430" format="1.1" reprev="1" version="1"}% | ||
%META:TOPICPARENT{name="WebHome"}% | ||
%DBCALL{ | ||
"Applications.ClassificationApp.RenderUncategorizedTopics" | ||
EXCLUDE="UncategorizedTopics|WebTopicEditTemplate" | ||
}% | ||
|
||
%META:FORM{name="Applications.ClassificationApp.ClassifiedTopic"}% | ||
%META:FIELD{name="TopicType" title="TopicType" value="ClassifiedTopic, CategorizedTopic, TaggedTopic, WikiTopic"}% | ||
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value="Uncategorized Topics"}% | ||
%META:FIELD{name="Summary" attributes="" title="Summary" value=""}% | ||
%META:FIELD{name="Tag" attributes="" title="Tag" value=""}% | ||
%META:FIELD{name="Category" attributes="" title="Category" value=""}% |
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
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
Oops, something went wrong.