bugpile-view-search-tasklist.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  5. <head>
  6. <title>Bugpile - Search Tasklist</title>
  7. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
  8. <meta name="title" content="Bugpile - Search Tasklist"/>
  9. <meta name="generator" content="Org-mode"/>
  10. <meta name="generated" content="2012-07-10 23:44:42 CEST"/>
  11. <meta name="author" content="nil"/>
  12. <meta name="description" content="nil"/>
  13. <meta name="keywords" content="nil"/>
  14. <style type="text/css">
  15. <!--/*--><![CDATA[/*><!--*/
  16. html { font-family: Times, serif; font-size: 12pt; }
  17. .title { text-align: center; }
  18. .todo { color: red; }
  19. .done { color: green; }
  20. .tag { background-color: #add8e6; font-weight:normal }
  21. .target { }
  22. .timestamp { color: #bebebe; }
  23. .timestamp-kwd { color: #5f9ea0; }
  24. .right {margin-left:auto; margin-right:0px; text-align:right;}
  25. .left {margin-left:0px; margin-right:auto; text-align:left;}
  26. .center {margin-left:auto; margin-right:auto; text-align:center;}
  27. p.verse { margin-left: 3% }
  28. pre {
  29. border: 1pt solid #AEBDCC;
  30. background-color: #F3F5F7;
  31. padding: 5pt;
  32. font-family: courier, monospace;
  33. font-size: 90%;
  34. overflow:auto;
  35. }
  36. table { border-collapse: collapse; }
  37. td, th { vertical-align: top; }
  38. th.right { text-align:center; }
  39. th.left { text-align:center; }
  40. th.center { text-align:center; }
  41. td.right { text-align:right; }
  42. td.left { text-align:left; }
  43. td.center { text-align:center; }
  44. dt { font-weight: bold; }
  45. div.figure { padding: 0.5em; }
  46. div.figure p { text-align: center; }
  47. div.inlinetask {
  48. padding:10px;
  49. border:2px solid gray;
  50. margin:10px;
  51. background: #ffffcc;
  52. }
  53. textarea { overflow-x: auto; }
  54. .linenr { font-size:smaller }
  55. .code-highlighted {background-color:#ffff00;}
  56. .org-info-js_info-navigation { border-style:none; }
  57. #org-info-js_console-label { font-size:10px; font-weight:bold;
  58. white-space:nowrap; }
  59. .org-info-js_search-highlight {background-color:#ffff00; color:#000000;
  60. font-weight:bold; }
  61. /*]]>*/-->
  62. </style><style type="text/css">#outline-container-introduction{ clear:both; }</style>
  63. <script type="text/javascript">
  64. <!--/*--><![CDATA[/*><!--*/
  65. function CodeHighlightOn(elem, id)
  66. {
  67. var target = document.getElementById(id);
  68. if(null != target) {
  69. elem.cacheClassElem = elem.className;
  70. elem.cacheClassTarget = target.className;
  71. target.className = "code-highlighted";
  72. elem.className = "code-highlighted";
  73. }
  74. }
  75. function CodeHighlightOff(elem, id)
  76. {
  77. var target = document.getElementById(id);
  78. if(elem.cacheClassElem)
  79. elem.className = elem.cacheClassElem;
  80. if(elem.cacheClassTarget)
  81. target.className = elem.cacheClassTarget;
  82. }
  83. /*]]>*///-->
  84. </script><script type="text/javascript" src="http://orgmode.org/mathjax/MathJax.js">
  85. <!--/*--><![CDATA[/*><!--*/
  86. MathJax.Hub.Config({
  87. // Only one of the two following lines, depending on user settings
  88. // First allows browser-native MathML display, second forces HTML/CSS
  89. // config: ["MMLorHTML.js"], jax: ["input/TeX"],
  90. jax: ["input/TeX", "output/HTML-CSS"],
  91. extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js",
  92. "TeX/noUndefined.js"],
  93. tex2jax: {
  94. inlineMath: [ ["\\(","\\)"] ],
  95. displayMath: [ ['$$','$$'], ["\\[","\\]"], ["\\begin{displaymath}","\\end{displaymath}"] ],
  96. skipTags: ["script","noscript","style","textarea","pre","code"],
  97. ignoreClass: "tex2jax_ignore",
  98. processEscapes: false,
  99. processEnvironments: true,
  100. preview: "TeX"
  101. },
  102. showProcessingMessages: true,
  103. displayAlign: "center",
  104. displayIndent: "2em",
  105. "HTML-CSS": {
  106. scale: 100,
  107. availableFonts: ["STIX","TeX"],
  108. preferredFont: "TeX",
  109. webFont: "TeX",
  110. imageFont: "TeX",
  111. showMathMenu: true,
  112. },
  113. MMLorHTML: {
  114. prefer: {
  115. MSIE: "MML",
  116. Firefox: "MML",
  117. Opera: "HTML",
  118. other: "HTML"
  119. }
  120. }
  121. });
  122. /*]]>*///-->
  123. </script>
  124. </head>
  125. <body>
  126. <div id="content">
  127. <h1 class="title">Bugpile - Search Tasklist</h1>
  128. <p>
  129. <i>Search the Tasks (Bug-Reports or Feature-Requests)</i>
  130. <i>stored in Bugpile</i></p>
  131. <div id="outline-container-c2ff8888-632d-4ecd-850d-af6f9c620098" class="outline-2">
  132. <h2 id="c2ff8888-632d-4ecd-850d-af6f9c620098"><a id="sec-1" name="sec-1"></a>Search Tasklist</h2>
  133. <div class="outline-text-2" id="text-c2ff8888-632d-4ecd-850d-af6f9c620098">
  134. <p>
  135. Lets assume that this is a page with a HTML form that allows the user
  136. to build a query based on <span style="text-decoration:underline;">tags</span> and <span style="text-decoration:underline;">property values</span> of tasks. There
  137. might be a textfield for free text input and one or more html select
  138. boxes that allow the user to choose from a list of allowed values. </p>
  139. <p>
  140. Matching tags and properties is functionality already available in Org
  141. mode (org-tags-view), as well as constructing sparse trees from regexp
  142. searches (with org-occur).</p>
  143. <p>
  144. Thus, making all the iOrg object files in <i>bugpile/objects</i> members of
  145. the Org agenda-file-list enables selection of objects (that are
  146. nothing else but Org outline trees) by tag or property value or by
  147. regular expression search in the objects content. </p>
  148. <p>
  149. Its all there, but unfortunately there are a few unconveniences:</p>
  150. <ol>
  151. <li>Both functions mentioned above do not return a list of sub-trees
  152. they match but are called for side-effects. A deeper look into the
  153. search and matching mechanism seems neccesary to get similar
  154. functions to org-tags-view and org-occur that return a list of
  155. matched subtrees (or their IDs).
  156. </li>
  157. <li>On a server exclusively used for one iOrg application its ok to
  158. define the applications object files as only Org agenda files. On a
  159. private machine it is not, since then all the Org mode agenda
  160. functionality is gone. Mixing private agenda files and e.g.
  161. bugpile object files in the agenda-file-list doesn't seem to be a
  162. good idea either. And changing the agenda files on the fly can
  163. become a real hassle with preserved old state, strange error
  164. messages and required Emacs re-start. An alternative variable that
  165. holds e.g. the bugpile-object-files and exists in parallel to the
  166. org-agenda-files seems neccesary.
  167. </li>
  168. </ol>
  169. <p>
  170. Since both features, match functions that return the matched subtrees
  171. and a separate list of application-object-files, are not yet
  172. incorporated in bugpile, we cannot make use of Org modes power here
  173. and simply link to an (imaginary) <a href="http://localhost:8008/take-action-on-selected-tasks" >result list</a>. </p>
  174. </div>
  175. </div>
  176. </div>
  177. <div id="postamble"><a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
  178. </div>
  179. </body>
  180. </html>