diff options
author | Alex Legler <a3li@gentoo.org> | 2009-03-31 22:25:40 +0200 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2009-03-31 22:25:40 +0200 |
commit | f70fe20eeffe26d1b35b5dc312f550ee9120cd17 (patch) | |
tree | 55497f36b327c224cf893d58d4cc557412bf9924 /doc | |
parent | Adding access level validation and updating schema (diff) | |
download | glsamaker-f70fe20eeffe26d1b35b5dc312f550ee9120cd17.tar.gz glsamaker-f70fe20eeffe26d1b35b5dc312f550ee9120cd17.tar.bz2 glsamaker-f70fe20eeffe26d1b35b5dc312f550ee9120cd17.zip |
Moving to Affero GPL3, adding RDoc
Diffstat (limited to 'doc')
45 files changed, 5994 insertions, 2 deletions
diff --git a/doc/README_FOR_APP b/doc/README_FOR_APP index fe41f5c..03a81bd 100644 --- a/doc/README_FOR_APP +++ b/doc/README_FOR_APP @@ -1,2 +1,18 @@ -Use this README file to introduce your application and point to useful places in the API for learning more. -Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. +=GLSAMaker v2 + +GLSAMaker is a core tool for the Gentoo Security Team. +It is used to track, create, edit and review Security announcements and drafts. + +Project website: http://security.gentoo.org + +==Copyright + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> + +==License +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +For more information, see the LICENSE file.
\ No newline at end of file diff --git a/doc/app/classes/ApplicationController.html b/doc/app/classes/ApplicationController.html new file mode 100644 index 0000000..58b9cd8 --- /dev/null +++ b/doc/app/classes/ApplicationController.html @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: ApplicationController</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">ApplicationController</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/controllers/application_controller_rb.html"> + app/controllers/application_controller.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActionController::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Filters added to this controller apply to all controllers in the +application. Likewise, all the methods added will be available for all +controllers. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + <div id="includes"> + <h3 class="section-bar">Included Modules</h3> + + <div id="includes-list"> + <span class="include-name"><a href="Authentication.html">Authentication</a></span> + </div> + </div> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/ApplicationHelper.html b/doc/app/classes/ApplicationHelper.html new file mode 100644 index 0000000..8c9dfbe --- /dev/null +++ b/doc/app/classes/ApplicationHelper.html @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: ApplicationHelper</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">ApplicationHelper</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/helpers/application_helper_rb.html"> + app/helpers/application_helper.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Methods added to this helper will be available to all templates in the +application. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Authentication.html b/doc/app/classes/Authentication.html new file mode 100644 index 0000000..cec0982 --- /dev/null +++ b/doc/app/classes/Authentication.html @@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: Authentication</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">Authentication</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/lib/authentication_rb.html"> + lib/authentication.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Authentication.html">Authentication</a> module +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000024">current_user</a> + <a href="#M000025">included</a> + <a href="#M000023">login_required</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Protected Class methods</h3> + + <div id="method-M000025" class="method-detail"> + <a name="M000025"></a> + + <div class="method-heading"> + <a href="#M000025" class="method-signature"> + <span class="method-name">included</span><span class="method-args">(base)</span> + </a> + </div> + + <div class="method-description"> + <p> +Populate user to views, shamelessly stolen from restful auth. ;) +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000025-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000025-source"> +<pre> + <span class="ruby-comment cmt"># File lib/authentication.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>) +64: <span class="ruby-identifier">base</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:helper_method</span>, <span class="ruby-identifier">:current_user</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:helper_method</span> +65: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <h3 class="section-bar">Protected Instance methods</h3> + + <div id="method-M000024" class="method-detail"> + <a name="M000024"></a> + + <div class="method-heading"> + <a href="#M000024" class="method-signature"> + <span class="method-name">current_user</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Returns the ActiveRecord object of the currently logged in user +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000024-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000024-source"> +<pre> + <span class="ruby-comment cmt"># File lib/authentication.rb, line 58</span> +58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_user</span> +59: <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_login</span>(<span class="ruby-identifier">user_name</span>) +60: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000023" class="method-detail"> + <a name="M000023"></a> + + <div class="method-heading"> + <a href="#M000023" class="method-signature"> + <span class="method-name">login_required</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Login filter to be applied to <b>all</b> pages on GLSAMaker +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000023-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000023-source"> +<pre> + <span class="ruby-comment cmt"># File lib/authentication.rb, line 16</span> +16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">login_required</span> +17: <span class="ruby-comment cmt"># Production authentication via REMOTE_USER</span> +18: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RAILS_ENV</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"production"</span> <span class="ruby-keyword kw">or</span> <span class="ruby-constant">GLSAMAKER_FORCE_PRODUCTION_AUTH</span> +19: <span class="ruby-comment cmt"># REMOTE_USER should be there in FCGI or Passenger</span> +20: <span class="ruby-identifier">env_user_name</span> = <span class="ruby-identifier">user_name</span> +21: +22: <span class="ruby-comment cmt"># Autentication system most likely broken</span> +23: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">env_user_name</span>.<span class="ruby-identifier">nil?</span> +24: <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'error'</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'system'</span> +25: <span class="ruby-keyword kw">return</span> +26: <span class="ruby-keyword kw">end</span> +27: +28: <span class="ruby-identifier">user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_login</span>(<span class="ruby-identifier">env_user_name</span>) +29: +30: <span class="ruby-comment cmt"># User not known to GLSAMaker</span> +31: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">user</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> +32: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-node">"Unknown user #{env_user_name} tried to log in from #{request.request_origin}"</span> +33: <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'error'</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'user'</span> +34: <span class="ruby-keyword kw">return</span> +35: <span class="ruby-keyword kw">end</span> +36: +37: <span class="ruby-comment cmt"># User is marked as disabled in the DB</span> +38: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">disabled</span> +39: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-node">"Disabled user #{env_user_name} tried to log in from #{request.request_origin}"</span> +40: <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'error'</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'disabled'</span> +41: <span class="ruby-keyword kw">return</span> +42: <span class="ruby-keyword kw">end</span> +43: +44: <span class="ruby-comment cmt"># Auth is fine now.</span> +45: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span> <span class="ruby-node">"Environment username: #{env_user_name}"</span> +46: +47: <span class="ruby-comment cmt"># For all other environments request, HTTP auth by ourselves</span> +48: <span class="ruby-comment cmt"># The password can be set in config/initializers/glsamaker.rb</span> +49: <span class="ruby-keyword kw">else</span> +50: <span class="ruby-identifier">authenticate_or_request_with_http_basic</span>(<span class="ruby-value str">"GLSAMaker testing environment"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">username</span>, <span class="ruby-identifier">password</span><span class="ruby-operator">|</span> +51: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span> <span class="ruby-node">"Environment username: #{username}"</span> +52: <span class="ruby-identifier">check_auth</span>(<span class="ruby-identifier">username</span>, <span class="ruby-identifier">password</span>) +53: <span class="ruby-keyword kw">end</span> +54: <span class="ruby-keyword kw">end</span> +55: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Bug.html b/doc/app/classes/Bug.html new file mode 100644 index 0000000..14f9660 --- /dev/null +++ b/doc/app/classes/Bug.html @@ -0,0 +1,160 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Bug</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Bug</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/bug_rb.html"> + app/models/bug.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Bug.html">Bug</a> model +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000016">bug_url</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000016" class="method-detail"> + <a name="M000016"></a> + + <div class="method-heading"> + <a href="#M000016" class="method-signature"> + <span class="method-name">bug_url</span><span class="method-args">(secure = true)</span> + </a> + </div> + + <div class="method-description"> + <p> +Returns the Gentoo <a href="Bugzilla.html">Bugzilla</a> URI for the bug. +Set <tt>secure</tt> to false to get a HTTP instead of a HTTPS URI +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000016-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000016-source"> +<pre> + <span class="ruby-comment cmt"># File app/models/bug.rb, line 18</span> +18: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bug_url</span>(<span class="ruby-identifier">secure</span> = <span class="ruby-keyword kw">true</span>) +19: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secure</span> +20: <span class="ruby-node">"https://bugs.gentoo.org/show_bug.cgi?id=#{self.bug_id}"</span> +21: <span class="ruby-keyword kw">else</span> +22: <span class="ruby-node">"http://bugs.gentoo.org/show_bug.cgi?id=#{self.bug_id}"</span> +23: <span class="ruby-keyword kw">end</span> +24: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Bugzilla.html b/doc/app/classes/Bugzilla.html new file mode 100644 index 0000000..3fcea67 --- /dev/null +++ b/doc/app/classes/Bugzilla.html @@ -0,0 +1,169 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: Bugzilla</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">Bugzilla</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/lib/bugzilla_rb.html"> + lib/bugzilla.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Bugzilla.html">Bugzilla</a> module +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000017">find_glsa_bugs</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + <div id="class-list"> + <h3 class="section-bar">Classes and Modules</h3> + + Class <a href="Bugzilla/Bug.html" class="link">Bugzilla::Bug</a><br /> +Class <a href="Bugzilla/Comment.html" class="link">Bugzilla::Comment</a><br /> + + </div> + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000017" class="method-detail"> + <a name="M000017"></a> + + <div class="method-heading"> + <a href="#M000017" class="method-signature"> + <span class="method-name">find_glsa_bugs</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000017-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000017-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 109</span> +109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_glsa_bugs</span> +110: <span class="ruby-identifier">url</span>=<span class="ruby-value str">"http://bugs.gentoo.org/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&component=Vulnerabilities&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field-1-0-0=product&field-1-1-0=component&field-1-2-0=bug_status&field-1-3-0=status_whiteboard&field0-0-0=noop&keywords=&keywords_type=allwords&long_desc=&long_desc_type=substring&product=Gentoo%20Security&query_format=advanced&remaction=&short_desc=&short_desc_type=allwordssubstr&status_whiteboard=%5Bglsa%5D&status_whiteboard_type=substring&type-1-0-0=anyexact&type-1-1-0=anyexact&type-1-2-0=anyexact&type-1-3-0=substring&type0-0-0=noop&value-1-0-0=Gentoo%20Security&value-1-1-0=Vulnerabilities&value-1-2-0=UNCONFIRMED%2CNEW%2CASSIGNED%2CREOPENED&value-1-3-0=%5Bglsa%5D&value0-0-0=&votes=&ctype=csv"</span> +111: <span class="ruby-identifier">bugs</span> = [] +112: +113: <span class="ruby-constant">FasterCSV</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">Glsamaker</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> +114: <span class="ruby-identifier">bugs</span> <span class="ruby-operator"><<</span> { <span class="ruby-value str">"bug_id"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +115: <span class="ruby-value str">"severity"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +116: <span class="ruby-value str">"priority"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +117: <span class="ruby-value str">"os"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +118: <span class="ruby-value str">"assignee"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +119: <span class="ruby-value str">"status"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +120: <span class="ruby-value str">"resolution"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span>, +121: <span class="ruby-value str">"summary"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">shift</span> +122: } +123: <span class="ruby-keyword kw">end</span> +124: +125: <span class="ruby-identifier">bugs</span>.<span class="ruby-identifier">shift</span> +126: <span class="ruby-identifier">bugs</span> +127: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Bugzilla/Bug.html b/doc/app/classes/Bugzilla/Bug.html new file mode 100644 index 0000000..3a1d943 --- /dev/null +++ b/doc/app/classes/Bugzilla/Bug.html @@ -0,0 +1,362 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Bugzilla::Bug</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Bugzilla::Bug</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../../files/lib/bugzilla_rb.html"> + lib/bugzilla.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + Object + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Encapsulates a <a href="../Bugzilla.html">Bugzilla</a> <a +href="Bug.html">Bug</a> +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000019">load_from_id</a> + <a href="#M000021">new</a> + <a href="#M000022">str2bugIDs</a> + <a href="#M000020">url</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + <div id="attribute-list"> + <h3 class="section-bar">Attributes</h3> + + <div class="name-list"> + <table> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">alias</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">assigned_to</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">bug_id</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">cc</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">comments</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">component</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">created_at</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">product</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">reporter</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">resolution</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">status</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">status_whiteboard</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">summary</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">url</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + </table> + </div> + </div> + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Class methods</h3> + + <div id="method-M000019" class="method-detail"> + <a name="M000019"></a> + + <div class="method-heading"> + <a href="#M000019" class="method-signature"> + <span class="method-name">load_from_id</span><span class="method-args">(bugid)</span> + </a> + </div> + + <div class="method-description"> + <p> +Creates a <a href="Bug.html#M000021">new</a> <tt><a +href="Bug.html">Bug</a></tt> object from the Gentoo bug referenced as +#<tt>bugid</tt> +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000019-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000019-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 23</span> +23: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load_from_id</span>(<span class="ruby-identifier">bugid</span>) +24: <span class="ruby-keyword kw">begin</span> +25: <span class="ruby-identifier">id</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">bugid</span>) +26: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">ArgumentError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +27: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"Invalid Bug ID"</span> +28: <span class="ruby-keyword kw">end</span> +29: +30: <span class="ruby-keyword kw">begin</span> +31: <span class="ruby-identifier">xml</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-constant">Glsamaker</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span>.<span class="ruby-identifier">get</span>(<span class="ruby-node">"http://bugs.gentoo.org/show_bug.cgi?ctype=xml&id=#{id}"</span>)) +32: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +33: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"Couldn't load bug: #{e.message}"</span> +34: <span class="ruby-keyword kw">end</span> +35: +36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-value str">"bug"</span>).<span class="ruby-identifier">first</span>) +37: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000021" class="method-detail"> + <a name="M000021"></a> + + <div class="method-heading"> + <a href="#M000021" class="method-signature"> + <span class="method-name">new</span><span class="method-args">(bug)</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000021-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000021-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 48</span> +48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">bug</span>) +49: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">bug</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span> +50: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"Nokogiri failure"</span> +51: <span class="ruby-keyword kw">end</span> +52: +53: <span class="ruby-ivar">@bug_id</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'bug_id'</span>) +54: <span class="ruby-ivar">@summary</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'short_desc'</span>) +55: <span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'creation_ts'</span>)) +56: <span class="ruby-ivar">@reporter</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'reporter'</span>) +57: <span class="ruby-ivar">@alias</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'alias'</span>) +58: <span class="ruby-ivar">@assigned_to</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'assigned_to'</span>) +59: <span class="ruby-ivar">@cc</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'cc'</span>) +60: <span class="ruby-ivar">@status_whiteboard</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'status_whiteboard'</span>) +61: <span class="ruby-ivar">@product</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'product'</span>) +62: <span class="ruby-ivar">@component</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'component'</span>) +63: <span class="ruby-ivar">@status</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'bug_status'</span>) +64: <span class="ruby-ivar">@resolution</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'resolution'</span>) +65: <span class="ruby-ivar">@url</span> = <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">bug</span>, <span class="ruby-value str">'bug_file_loc'</span>) +66: +67: <span class="ruby-ivar">@comments</span> = [] +68: <span class="ruby-identifier">bug</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-value str">'long_desc'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">comment</span><span class="ruby-operator">|</span> +69: <span class="ruby-ivar">@comments</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Comment</span>.<span class="ruby-identifier">new</span>( +70: <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">comment</span>, <span class="ruby-value str">'who'</span>), +71: <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">comment</span>, <span class="ruby-value str">'thetext'</span>), +72: <span class="ruby-identifier">xml_content</span>(<span class="ruby-identifier">comment</span>, <span class="ruby-value str">'bug_when'</span>) +73: ) +74: <span class="ruby-keyword kw">end</span> +75: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000022" class="method-detail"> + <a name="M000022"></a> + + <div class="method-heading"> + <a href="#M000022" class="method-signature"> + <span class="method-name">str2bugIDs</span><span class="method-args">(str)</span> + </a> + </div> + + <div class="method-description"> + <p> +Splits a String <tt>str</tt> into an array of valid bug IDs +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000022-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000022-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 78</span> +78: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">str2bugIDs</span>(<span class="ruby-identifier">str</span>) +79: <span class="ruby-identifier">bug_ids</span> = <span class="ruby-identifier">str</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/,\s*/</span>) +80: +81: <span class="ruby-identifier">bug_ids</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">bug</span><span class="ruby-operator">|</span> +82: <span class="ruby-identifier">bug</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\D/</span>, <span class="ruby-value str">''</span>) +83: <span class="ruby-keyword kw">end</span> +84: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000020" class="method-detail"> + <a name="M000020"></a> + + <div class="method-heading"> + <a href="#M000020" class="method-signature"> + <span class="method-name">url</span><span class="method-args">(secure = true)</span> + </a> + </div> + + <div class="method-description"> + <p> +Returns the URL for the bug, set <tt>secure</tt> to false to get a <a +href="http:-URL">-URL</a> +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000020-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000020-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 40</span> +40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">url</span>(<span class="ruby-identifier">secure</span> = <span class="ruby-keyword kw">true</span>) +41: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secure</span> +42: <span class="ruby-node">"https://bugs.gentoo.org/show_bug.cgi?id=#{@bug_id}"</span> +43: <span class="ruby-keyword kw">else</span> +44: <span class="ruby-node">"http://bugs.gentoo.org/show_bug.cgi?id=#{@bug_id}"</span> +45: <span class="ruby-keyword kw">end</span> +46: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Bugzilla/Comment.html b/doc/app/classes/Bugzilla/Comment.html new file mode 100644 index 0000000..a7189b0 --- /dev/null +++ b/doc/app/classes/Bugzilla/Comment.html @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Bugzilla::Comment</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Bugzilla::Comment</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../../files/lib/bugzilla_rb.html"> + lib/bugzilla.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + Object + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Encapsulates a comment to a <a href="Bug.html">Bug</a> +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000018">new</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + <div id="attribute-list"> + <h3 class="section-bar">Attributes</h3> + + <div class="name-list"> + <table> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">author</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">date</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">text</td> + <td class="context-item-value"> [R] </td> + <td class="context-item-desc"></td> + </tr> + </table> + </div> + </div> + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Class methods</h3> + + <div id="method-M000018" class="method-detail"> + <a name="M000018"></a> + + <div class="method-heading"> + <a href="#M000018" class="method-signature"> + <span class="method-name">new</span><span class="method-args">(by, text, date)</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000018-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000018-source"> +<pre> + <span class="ruby-comment cmt"># File lib/bugzilla.rb, line 100</span> +100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">by</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">date</span>) +101: <span class="ruby-ivar">@author</span> = <span class="ruby-identifier">by</span> +102: <span class="ruby-ivar">@text</span> = <span class="ruby-identifier">text</span> +103: <span class="ruby-ivar">@date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">date</span>) +104: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Comment.html b/doc/app/classes/Comment.html new file mode 100644 index 0000000..2a9761d --- /dev/null +++ b/doc/app/classes/Comment.html @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Comment</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Comment</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/comment_rb.html"> + app/models/comment.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Comment.html">Comment</a> model +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Glsa.html b/doc/app/classes/Glsa.html new file mode 100644 index 0000000..fb85cbd --- /dev/null +++ b/doc/app/classes/Glsa.html @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Glsa</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Glsa</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/glsa_rb.html"> + app/models/glsa.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +GLSA model +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000014">last_revision</a> + <a href="#M000015">next_revid</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000014" class="method-detail"> + <a name="M000014"></a> + + <div class="method-heading"> + <a href="#M000014" class="method-signature"> + <span class="method-name">last_revision</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Returns the last revision object, referring to the current state of things +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000014-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000014-source"> +<pre> + <span class="ruby-comment cmt"># File app/models/glsa.rb, line 25</span> +25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_revision</span> +26: <span class="ruby-ivar">@last_revision</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">revisions</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:first</span>, <span class="ruby-identifier">:order</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"revid DESC"</span>) +27: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000015" class="method-detail"> + <a name="M000015"></a> + + <div class="method-heading"> + <a href="#M000015" class="method-signature"> + <span class="method-name">next_revid</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Returns the next revision ID to be given for this GLSA +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000015-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000015-source"> +<pre> + <span class="ruby-comment cmt"># File app/models/glsa.rb, line 30</span> +30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_revid</span> +31: <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">rev</span> = <span class="ruby-identifier">last_revision</span>) +32: <span class="ruby-identifier">rev</span>.<span class="ruby-identifier">revid</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span> +33: <span class="ruby-keyword kw">else</span> +34: <span class="ruby-value">1</span> +35: <span class="ruby-keyword kw">end</span> +36: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/GlsaController.html b/doc/app/classes/GlsaController.html new file mode 100644 index 0000000..20eb5bf --- /dev/null +++ b/doc/app/classes/GlsaController.html @@ -0,0 +1,391 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: GlsaController</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">GlsaController</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/controllers/glsa_controller_rb.html"> + app/controllers/glsa_controller.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + <a href="ApplicationController.html"> + ApplicationController + </a> + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +GLSA controller +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000008">comment</a> + <a href="#M000003">create</a> + <a href="#M000007">destroy</a> + <a href="#M000005">edit</a> + <a href="#M000001">index</a> + <a href="#M000002">new</a> + <a href="#M000004">show</a> + <a href="#M000006">update</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000008" class="method-detail"> + <a name="M000008"></a> + + <div class="method-heading"> + <a href="#M000008" class="method-signature"> + <span class="method-name">comment</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000008-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000008-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 114</span> +114: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">comment</span> +115: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000003" class="method-detail"> + <a name="M000003"></a> + + <div class="method-heading"> + <a href="#M000003" class="method-signature"> + <span class="method-name">create</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000003-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000003-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 39</span> +39: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> +40: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:what</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"request"</span> +41: <span class="ruby-identifier">bug_ids</span> = <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">str2bugIDs</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:bugs</span>]) +42: +43: <span class="ruby-identifier">glsa</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">new</span> +44: <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">requester</span> = <span class="ruby-identifier">current_user</span> +45: <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">glsa_id</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:description</span>] <span class="ruby-operator">+</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">to_s</span>)[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-value">10</span>] +46: <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">restricted</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:access</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"confidential"</span> +47: <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">status</span> = <span class="ruby-value str">"request"</span> +48: +49: <span class="ruby-keyword kw">begin</span> +50: <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">save!</span> +51: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +52: <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:error</span>] = <span class="ruby-node">"Error while saving GLSA object #{e.message}"</span> +53: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"new-request"</span> +54: <span class="ruby-keyword kw">return</span> +55: <span class="ruby-keyword kw">end</span> +56: +57: <span class="ruby-identifier">revision</span> = <span class="ruby-constant">Revision</span>.<span class="ruby-identifier">new</span> +58: <span class="ruby-identifier">revision</span>.<span class="ruby-identifier">revid</span> = <span class="ruby-identifier">glsa</span>.<span class="ruby-identifier">next_revid</span> +59: <span class="ruby-identifier">revision</span>.<span class="ruby-identifier">glsa</span> = <span class="ruby-identifier">glsa</span> +60: <span class="ruby-identifier">revision</span>.<span class="ruby-identifier">description</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:description</span>] +61: +62: <span class="ruby-keyword kw">begin</span> +63: <span class="ruby-identifier">revision</span>.<span class="ruby-identifier">save!</span> +64: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +65: <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:error</span>] = <span class="ruby-value str">"Error while saving Revision object"</span> +66: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"new-request"</span> +67: <span class="ruby-keyword kw">return</span> +68: <span class="ruby-keyword kw">end</span> +69: +70: <span class="ruby-identifier">bug_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">bug</span><span class="ruby-operator">|</span> +71: <span class="ruby-keyword kw">begin</span> +72: <span class="ruby-identifier">bugzie</span> = <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">load_from_id</span>(<span class="ruby-identifier">bug</span>) +73: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +74: <span class="ruby-keyword kw">end</span> +75: +76: <span class="ruby-keyword kw">begin</span> +77: <span class="ruby-identifier">b</span> = <span class="ruby-constant">Bug</span>.<span class="ruby-identifier">new</span> +78: <span class="ruby-identifier">b</span>.<span class="ruby-identifier">revision</span> = <span class="ruby-identifier">revision</span> +79: <span class="ruby-identifier">b</span>.<span class="ruby-identifier">bug_id</span> = <span class="ruby-identifier">bugzie</span>.<span class="ruby-identifier">bug_id</span>.<span class="ruby-identifier">to_i</span> +80: <span class="ruby-identifier">b</span>.<span class="ruby-identifier">title</span> = <span class="ruby-identifier">bugzie</span>.<span class="ruby-identifier">summary</span> +81: <span class="ruby-identifier">b</span>.<span class="ruby-identifier">save!</span> +82: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +83: <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:error</span>] = <span class="ruby-value str">"Error while saving Bug object"</span> +84: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"new-request"</span> +85: <span class="ruby-keyword kw">return</span> +86: <span class="ruby-keyword kw">end</span> +87: <span class="ruby-keyword kw">end</span> +88: <span class="ruby-keyword kw">end</span> +89: +90: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000007" class="method-detail"> + <a name="M000007"></a> + + <div class="method-heading"> + <a href="#M000007" class="method-signature"> + <span class="method-name">destroy</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000007-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000007-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 111</span> +111: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">destroy</span> +112: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000005" class="method-detail"> + <a name="M000005"></a> + + <div class="method-heading"> + <a href="#M000005" class="method-signature"> + <span class="method-name">edit</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000005-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000005-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 96</span> + 96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">edit</span> + 97: <span class="ruby-ivar">@glsa</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>]) + 98: <span class="ruby-ivar">@rev</span> = <span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">revisions</span>[<span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">revisions</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>] + 99: <span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:glsa</span>]) +100: <span class="ruby-ivar">@rev</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:rev</span>]) +101: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000001" class="method-detail"> + <a name="M000001"></a> + + <div class="method-heading"> + <a href="#M000001" class="method-signature"> + <span class="method-name">index</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000001-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000001-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 16</span> +16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span> +17: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:show</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"requests"</span> +18: <span class="ruby-ivar">@glsas</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>) +19: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:show</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"drafts"</span> +20: <span class="ruby-ivar">@glsas</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>) +21: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:show</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"sent"</span> +22: <span class="ruby-ivar">@glsas</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>) +23: <span class="ruby-keyword kw">else</span> +24: <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:error</span>] = <span class="ruby-value str">"Don't know what to show you."</span> +25: <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"index"</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"index"</span> +26: <span class="ruby-keyword kw">end</span> +27: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000002" class="method-detail"> + <a name="M000002"></a> + + <div class="method-heading"> + <a href="#M000002" class="method-signature"> + <span class="method-name">new</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000002-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000002-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 29</span> +29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span> +30: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:what</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"request"</span> +31: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"new-request"</span> +32: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:what</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"draft"</span> +33: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"new-draft"</span> +34: <span class="ruby-keyword kw">else</span> +35: <span class="ruby-identifier">render</span> +36: <span class="ruby-keyword kw">end</span> +37: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000004" class="method-detail"> + <a name="M000004"></a> + + <div class="method-heading"> + <a href="#M000004" class="method-signature"> + <span class="method-name">show</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000004-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000004-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span> +93: <span class="ruby-ivar">@glsa</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>]) +94: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000006" class="method-detail"> + <a name="M000006"></a> + + <div class="method-heading"> + <a href="#M000006" class="method-signature"> + <span class="method-name">update</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000006-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000006-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/glsa_controller.rb, line 103</span> +103: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span> +104: <span class="ruby-ivar">@glsa</span> = <span class="ruby-constant">Glsa</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>]) +105: <span class="ruby-ivar">@rev</span> = <span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">revisions</span>[<span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">revisions</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>] +106: <span class="ruby-ivar">@glsa</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:glsa</span>]) +107: <span class="ruby-ivar">@rev</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:rev</span>]) +108: <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'show'</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@glsa</span> +109: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/GlsaHelper.html b/doc/app/classes/GlsaHelper.html new file mode 100644 index 0000000..01c6184 --- /dev/null +++ b/doc/app/classes/GlsaHelper.html @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: GlsaHelper</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">GlsaHelper</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/helpers/glsa_helper_rb.html"> + app/helpers/glsa_helper.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +GLSA Helper +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Glsamaker.html b/doc/app/classes/Glsamaker.html new file mode 100644 index 0000000..00b9461 --- /dev/null +++ b/doc/app/classes/Glsamaker.html @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: Glsamaker</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">Glsamaker</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/lib/glsamaker_rb.html"> + lib/glsamaker.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +GLSAMaker library +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + <div id="class-list"> + <h3 class="section-bar">Classes and Modules</h3> + + Module <a href="Glsamaker/HTTP.html" class="link">Glsamaker::HTTP</a><br /> + + </div> + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Glsamaker/HTTP.html b/doc/app/classes/Glsamaker/HTTP.html new file mode 100644 index 0000000..f3b3af4 --- /dev/null +++ b/doc/app/classes/Glsamaker/HTTP.html @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: Glsamaker::HTTP</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">Glsamaker::HTTP</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../../files/lib/glsamaker_rb.html"> + lib/glsamaker.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +GLSAMaker <a href="HTTP.html">HTTP</a> utilities +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000026">get</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000026" class="method-detail"> + <a name="M000026"></a> + + <div class="method-heading"> + <a href="#M000026" class="method-signature"> + <span class="method-name">get</span><span class="method-args">(url)</span> + </a> + </div> + + <div class="method-description"> + <p> +Tries to fetch <tt>url</tt> via <a href="HTTP.html">HTTP</a> GET, sending a +GLSAMaker custom <a href="../User.html">User</a>-Agent header. The body +part is returned. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000026-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000026-source"> +<pre> + <span class="ruby-comment cmt"># File lib/glsamaker.rb, line 20</span> +20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>) +21: <span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">url</span>) +22: <span class="ruby-identifier">req</span> = <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Get</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">uri</span>.<span class="ruby-identifier">request_uri</span>, {<span class="ruby-value str">'User-Agent'</span> =<span class="ruby-operator">></span> <span class="ruby-node">"GLSAMaker/#{GLSAMAKER_VERSION} (http://security.gentoo.org/)"</span>}) +23: <span class="ruby-identifier">res</span> = <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span>.<span class="ruby-identifier">start</span>(<span class="ruby-identifier">uri</span>.<span class="ruby-identifier">host</span>, <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">port</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">http</span><span class="ruby-operator">|</span> <span class="ruby-identifier">http</span>.<span class="ruby-identifier">request</span>(<span class="ruby-identifier">req</span>) } +24: +25: <span class="ruby-comment cmt"># Raises an exception if HTTP status is not a successful one</span> +26: <span class="ruby-identifier">res</span>.<span class="ruby-identifier">value</span> +27: <span class="ruby-identifier">res</span>.<span class="ruby-identifier">body</span> +28: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/IndexController.html b/doc/app/classes/IndexController.html new file mode 100644 index 0000000..16d2a4c --- /dev/null +++ b/doc/app/classes/IndexController.html @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: IndexController</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">IndexController</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/controllers/index_controller_rb.html"> + app/controllers/index_controller.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + <a href="ApplicationController.html"> + ApplicationController + </a> + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Index controller +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000013">error</a> + <a href="#M000012">index</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000013" class="method-detail"> + <a name="M000013"></a> + + <div class="method-heading"> + <a href="#M000013" class="method-signature"> + <span class="method-name">error</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000013-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000013-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/index_controller.rb, line 19</span> +19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span> +20: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:type</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"user"</span> +21: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:template</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index/error-user'</span>, <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'notice'</span> +22: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:type</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"disabled"</span> +23: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:template</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index/error-disabled'</span>, <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'notice'</span> +24: <span class="ruby-keyword kw">else</span> +25: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:template</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'index/error-system'</span>, <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'notice'</span> +26: <span class="ruby-keyword kw">end</span> +27: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000012" class="method-detail"> + <a name="M000012"></a> + + <div class="method-heading"> + <a href="#M000012" class="method-signature"> + <span class="method-name">index</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000012-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000012-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/index_controller.rb, line 16</span> +16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span> +17: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/IndexHelper.html b/doc/app/classes/IndexHelper.html new file mode 100644 index 0000000..bc246b3 --- /dev/null +++ b/doc/app/classes/IndexHelper.html @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: IndexHelper</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">IndexHelper</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/helpers/index_helper_rb.html"> + app/helpers/index_helper.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Index Helper +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Reference.html b/doc/app/classes/Reference.html new file mode 100644 index 0000000..e286d5f --- /dev/null +++ b/doc/app/classes/Reference.html @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Reference</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Reference</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/reference_rb.html"> + app/models/reference.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Reference.html">Reference</a> model +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/Revision.html b/doc/app/classes/Revision.html new file mode 100644 index 0000000..11559e2 --- /dev/null +++ b/doc/app/classes/Revision.html @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Revision</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Revision</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/revision_rb.html"> + app/models/revision.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +<a href="Revision.html">Revision</a> model +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/ToolsController.html b/doc/app/classes/ToolsController.html new file mode 100644 index 0000000..fce1cd4 --- /dev/null +++ b/doc/app/classes/ToolsController.html @@ -0,0 +1,257 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: ToolsController</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">ToolsController</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/controllers/tools_controller_rb.html"> + app/controllers/tools_controller.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + <a href="ApplicationController.html"> + ApplicationController + </a> + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Tools controller +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000010">ajaxbugs</a> + <a href="#M000011">ajaxdescr</a> + <a href="#M000009">buginfo</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000010" class="method-detail"> + <a name="M000010"></a> + + <div class="method-heading"> + <a href="#M000010" class="method-signature"> + <span class="method-name">ajaxbugs</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000010-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000010-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/tools_controller.rb, line 25</span> +25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ajaxbugs</span> +26: <span class="ruby-identifier">bug_ids</span> = <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">str2bugIDs</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:bugs</span>]) +27: +28: <span class="ruby-ivar">@bugs</span> = [] +29: <span class="ruby-identifier">bug_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">bug_id</span><span class="ruby-operator">|</span> +30: <span class="ruby-keyword kw">begin</span> +31: <span class="ruby-ivar">@bugs</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">load_from_id</span>(<span class="ruby-identifier">bug_id</span>.<span class="ruby-identifier">to_i</span>) +32: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +33: <span class="ruby-ivar">@bugs</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"Errorneous ID #{CGI.escapeHTML(bug_id)}, ignoring."</span> +34: <span class="ruby-keyword kw">end</span> +35: <span class="ruby-keyword kw">end</span> +36: +37: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span> +38: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000011" class="method-detail"> + <a name="M000011"></a> + + <div class="method-heading"> + <a href="#M000011" class="method-signature"> + <span class="method-name">ajaxdescr</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000011-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000011-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/tools_controller.rb, line 40</span> +40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ajaxdescr</span> +41: <span class="ruby-identifier">bug_ids</span> = <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">str2bugIDs</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:bugs</span>]) +42: +43: <span class="ruby-ivar">@bugs</span> = [] +44: <span class="ruby-identifier">bug_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">bug_id</span><span class="ruby-operator">|</span> +45: <span class="ruby-keyword kw">begin</span> +46: <span class="ruby-ivar">@bugs</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Bugzilla</span><span class="ruby-operator">::</span><span class="ruby-constant">Bug</span>.<span class="ruby-identifier">load_from_id</span>(<span class="ruby-identifier">bug_id</span>.<span class="ruby-identifier">to_i</span>) +47: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span> +48: <span class="ruby-keyword kw">end</span> +49: <span class="ruby-keyword kw">end</span> +50: +51: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@bugs</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> +52: <span class="ruby-ivar">@text</span> = <span class="ruby-ivar">@bugs</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">summary</span> +53: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span> +54: <span class="ruby-keyword kw">return</span> +55: <span class="ruby-keyword kw">end</span> +56: +57: <span class="ruby-comment cmt"># Process 2 or more bugs</span> +58: <span class="ruby-ivar">@atoms</span> = [] +59: <span class="ruby-ivar">@bugs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">bug</span><span class="ruby-operator">|</span> +60: <span class="ruby-identifier">matchdata</span> = <span class="ruby-regexp re">/([\w-]+)\/([\w-]+)(-([\w.]+))?/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">bug</span>.<span class="ruby-identifier">summary</span>) +61: +62: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">matchdata</span>.<span class="ruby-identifier">nil?</span> +63: <span class="ruby-identifier">category</span> = <span class="ruby-identifier">matchdata</span>[<span class="ruby-value">1</span>] +64: <span class="ruby-identifier">package</span> = <span class="ruby-identifier">matchdata</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/-+?$/</span>, <span class="ruby-value str">''</span>) +65: +66: <span class="ruby-ivar">@atoms</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{category}/#{package}"</span> +67: <span class="ruby-keyword kw">end</span> +68: <span class="ruby-keyword kw">end</span> +69: +70: <span class="ruby-ivar">@atoms</span>.<span class="ruby-identifier">uniq!</span> +71: +72: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@atoms</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> +73: <span class="ruby-ivar">@text</span> = <span class="ruby-ivar">@atoms</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">', '</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">": Multiple vulnerabilities"</span> +74: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span> +75: <span class="ruby-keyword kw">return</span> +76: <span class="ruby-keyword kw">end</span> +77: +78: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:text</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"(no suggestion available)"</span>, <span class="ruby-identifier">:layout</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span> +79: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000009" class="method-detail"> + <a name="M000009"></a> + + <div class="method-heading"> + <a href="#M000009" class="method-signature"> + <span class="method-name">buginfo</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000009-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000009-source"> +<pre> + <span class="ruby-comment cmt"># File app/controllers/tools_controller.rb, line 14</span> +14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">buginfo</span> +15: <span class="ruby-comment cmt"># bug = Bugzilla::Bug.load_from_id(params[:id])</span> +16: +17: <span class="ruby-identifier">str</span> = <span class="ruby-value str">"<dev-ruby/rails-2.2.2: XSS (CVE 2009-5607)"</span> +18: +19: <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span> +20: <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { } +21: <span class="ruby-identifier">format</span>.<span class="ruby-identifier">ajax</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">:text</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"text to render..."</span>, <span class="ruby-identifier">:status</span> =<span class="ruby-operator">></span> <span class="ruby-value">1</span> } +22: <span class="ruby-keyword kw">end</span> +23: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/ToolsHelper.html b/doc/app/classes/ToolsHelper.html new file mode 100644 index 0000000..792b1a8 --- /dev/null +++ b/doc/app/classes/ToolsHelper.html @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Module: ToolsHelper</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Module</strong></td> + <td class="class-name-in-header">ToolsHelper</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/helpers/tools_helper_rb.html"> + app/helpers/tools_helper.rb + </a> + <br /> + </td> + </tr> + + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +Tools helper +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/classes/User.html b/doc/app/classes/User.html new file mode 100644 index 0000000..3542fef --- /dev/null +++ b/doc/app/classes/User.html @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: User</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">User</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/app/models/user_rb.html"> + app/models/user.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + ActiveRecord::Base + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h1>Access levels</h1> +<dl> +<dt><b>0 (Contributor)</b></dt><dd>Can see own drafts, can fill in requests + +</dd> +<dt><b>1 (Padawan)</b></dt><dd>all of the above, plus see and edit all drafts + +</dd> +<dt><b>2 (Full member)</b></dt><dd>all of the above, plus voting + +</dd> +<dt><b>3 (Confidential member)</b></dt><dd>all of the above, including restricted drafts + +</dd> +</dl> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/created.rid b/doc/app/created.rid new file mode 100644 index 0000000..8ad9208 --- /dev/null +++ b/doc/app/created.rid @@ -0,0 +1 @@ +Tue, 31 Mar 2009 22:25:09 +0200 diff --git a/doc/app/files/app/controllers/application_controller_rb.html b/doc/app/files/app/controllers/application_controller_rb.html new file mode 100644 index 0000000..585f9cd --- /dev/null +++ b/doc/app/files/app/controllers/application_controller_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: application_controller.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>application_controller.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/controllers/application_controller.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:17:16 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/controllers/glsa_controller_rb.html b/doc/app/files/app/controllers/glsa_controller_rb.html new file mode 100644 index 0000000..08455d0 --- /dev/null +++ b/doc/app/files/app/controllers/glsa_controller_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: glsa_controller.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>glsa_controller.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/controllers/glsa_controller.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:17:25 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/controllers/index_controller_rb.html b/doc/app/files/app/controllers/index_controller_rb.html new file mode 100644 index 0000000..5497226 --- /dev/null +++ b/doc/app/files/app/controllers/index_controller_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: index_controller.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>index_controller.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/controllers/index_controller.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:17:34 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/controllers/tools_controller_rb.html b/doc/app/files/app/controllers/tools_controller_rb.html new file mode 100644 index 0000000..227ee87 --- /dev/null +++ b/doc/app/files/app/controllers/tools_controller_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: tools_controller.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>tools_controller.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/controllers/tools_controller.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:17:40 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/helpers/application_helper_rb.html b/doc/app/files/app/helpers/application_helper_rb.html new file mode 100644 index 0000000..d87e6c8 --- /dev/null +++ b/doc/app/files/app/helpers/application_helper_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: application_helper.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>application_helper.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/helpers/application_helper.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:22:33 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/helpers/glsa_helper_rb.html b/doc/app/files/app/helpers/glsa_helper_rb.html new file mode 100644 index 0000000..56dd3d5 --- /dev/null +++ b/doc/app/files/app/helpers/glsa_helper_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: glsa_helper.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>glsa_helper.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/helpers/glsa_helper.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:22:41 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/helpers/index_helper_rb.html b/doc/app/files/app/helpers/index_helper_rb.html new file mode 100644 index 0000000..85f7274 --- /dev/null +++ b/doc/app/files/app/helpers/index_helper_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: index_helper.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>index_helper.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/helpers/index_helper.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:22:49 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/helpers/tools_helper_rb.html b/doc/app/files/app/helpers/tools_helper_rb.html new file mode 100644 index 0000000..ea85460 --- /dev/null +++ b/doc/app/files/app/helpers/tools_helper_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: tools_helper.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>tools_helper.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/helpers/tools_helper.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:24:22 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/bug_rb.html b/doc/app/files/app/models/bug_rb.html new file mode 100644 index 0000000..798956d --- /dev/null +++ b/doc/app/files/app/models/bug_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: bug.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>bug.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/bug.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:15:24 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/comment_rb.html b/doc/app/files/app/models/comment_rb.html new file mode 100644 index 0000000..83fa21d --- /dev/null +++ b/doc/app/files/app/models/comment_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: comment.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>comment.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/comment.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:16:13 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/glsa_rb.html b/doc/app/files/app/models/glsa_rb.html new file mode 100644 index 0000000..391d2c0 --- /dev/null +++ b/doc/app/files/app/models/glsa_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: glsa.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>glsa.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/glsa.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:16:20 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/reference_rb.html b/doc/app/files/app/models/reference_rb.html new file mode 100644 index 0000000..92970f1 --- /dev/null +++ b/doc/app/files/app/models/reference_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: reference.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>reference.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/reference.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:16:30 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/revision_rb.html b/doc/app/files/app/models/revision_rb.html new file mode 100644 index 0000000..574014b --- /dev/null +++ b/doc/app/files/app/models/revision_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: revision.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>revision.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/revision.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:16:36 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/app/models/user_rb.html b/doc/app/files/app/models/user_rb.html new file mode 100644 index 0000000..ad7f120 --- /dev/null +++ b/doc/app/files/app/models/user_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: user.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>user.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>app/models/user.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:25:06 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/doc/README_FOR_APP.html b/doc/app/files/doc/README_FOR_APP.html new file mode 100644 index 0000000..26043cc --- /dev/null +++ b/doc/app/files/doc/README_FOR_APP.html @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: README_FOR_APP</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>README_FOR_APP</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>doc/README_FOR_APP + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:21:57 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h1>GLSAMaker v2</h1> +<p> +GLSAMaker is a core tool for the Gentoo Security Team. It is used to track, +create, edit and review Security announcements and drafts. +</p> +<p> +Project website: <a +href="http://security.gentoo.org">security.gentoo.org</a> +</p> +<h2>Copyright</h2> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<h2>License</h2> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/lib/authentication_rb.html b/doc/app/files/lib/authentication_rb.html new file mode 100644 index 0000000..0a040b1 --- /dev/null +++ b/doc/app/files/lib/authentication_rb.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: authentication.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>authentication.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>lib/authentication.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:15:58 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/lib/bugzilla_rb.html b/doc/app/files/lib/bugzilla_rb.html new file mode 100644 index 0000000..1f85127 --- /dev/null +++ b/doc/app/files/lib/bugzilla_rb.html @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: bugzilla.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>bugzilla.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>lib/bugzilla.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:15:08 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + <div id="requires-list"> + <h3 class="section-bar">Required files</h3> + + <div class="name-list"> + nokogiri + fastercsv + </div> + </div> + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/files/lib/glsamaker_rb.html b/doc/app/files/lib/glsamaker_rb.html new file mode 100644 index 0000000..f6b624f --- /dev/null +++ b/doc/app/files/lib/glsamaker_rb.html @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: glsamaker.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>glsamaker.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>lib/glsamaker.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Tue Mar 31 22:24:44 +0200 2009</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <h3>GLSAMaker v2</h3> +<pre> + Copyright (C) 2009 Alex Legler <a3li@gentoo.org> + Copyright (C) 2009 Pierre-Yves Rofes <py@gentoo.org> +</pre> +<p> +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at your +option) any later version. +</p> +<p> +For more information, see the LICENSE file. +</p> + + </div> + + <div id="requires-list"> + <h3 class="section-bar">Required files</h3> + + <div class="name-list"> + net/http + </div> + </div> + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/doc/app/fr_class_index.html b/doc/app/fr_class_index.html new file mode 100644 index 0000000..931dcbf --- /dev/null +++ b/doc/app/fr_class_index.html @@ -0,0 +1,46 @@ + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<!-- + + Classes + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Classes</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Classes</h1> + <div id="index-entries"> + <a href="classes/ApplicationController.html">ApplicationController</a><br /> + <a href="classes/ApplicationHelper.html">ApplicationHelper</a><br /> + <a href="classes/Authentication.html">Authentication</a><br /> + <a href="classes/Bug.html">Bug</a><br /> + <a href="classes/Bugzilla.html">Bugzilla</a><br /> + <a href="classes/Bugzilla/Bug.html">Bugzilla::Bug</a><br /> + <a href="classes/Bugzilla/Comment.html">Bugzilla::Comment</a><br /> + <a href="classes/Comment.html">Comment</a><br /> + <a href="classes/Glsa.html">Glsa</a><br /> + <a href="classes/GlsaController.html">GlsaController</a><br /> + <a href="classes/GlsaHelper.html">GlsaHelper</a><br /> + <a href="classes/Glsamaker.html">Glsamaker</a><br /> + <a href="classes/Glsamaker/HTTP.html">Glsamaker::HTTP</a><br /> + <a href="classes/IndexController.html">IndexController</a><br /> + <a href="classes/IndexHelper.html">IndexHelper</a><br /> + <a href="classes/Reference.html">Reference</a><br /> + <a href="classes/Revision.html">Revision</a><br /> + <a href="classes/ToolsController.html">ToolsController</a><br /> + <a href="classes/ToolsHelper.html">ToolsHelper</a><br /> + <a href="classes/User.html">User</a><br /> + </div> +</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/app/fr_file_index.html b/doc/app/fr_file_index.html new file mode 100644 index 0000000..d9f0895 --- /dev/null +++ b/doc/app/fr_file_index.html @@ -0,0 +1,44 @@ + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<!-- + + Files + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Files</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Files</h1> + <div id="index-entries"> + <a href="files/app/controllers/application_controller_rb.html">app/controllers/application_controller.rb</a><br /> + <a href="files/app/controllers/glsa_controller_rb.html">app/controllers/glsa_controller.rb</a><br /> + <a href="files/app/controllers/index_controller_rb.html">app/controllers/index_controller.rb</a><br /> + <a href="files/app/controllers/tools_controller_rb.html">app/controllers/tools_controller.rb</a><br /> + <a href="files/app/helpers/application_helper_rb.html">app/helpers/application_helper.rb</a><br /> + <a href="files/app/helpers/glsa_helper_rb.html">app/helpers/glsa_helper.rb</a><br /> + <a href="files/app/helpers/index_helper_rb.html">app/helpers/index_helper.rb</a><br /> + <a href="files/app/helpers/tools_helper_rb.html">app/helpers/tools_helper.rb</a><br /> + <a href="files/app/models/bug_rb.html">app/models/bug.rb</a><br /> + <a href="files/app/models/comment_rb.html">app/models/comment.rb</a><br /> + <a href="files/app/models/glsa_rb.html">app/models/glsa.rb</a><br /> + <a href="files/app/models/reference_rb.html">app/models/reference.rb</a><br /> + <a href="files/app/models/revision_rb.html">app/models/revision.rb</a><br /> + <a href="files/app/models/user_rb.html">app/models/user.rb</a><br /> + <a href="files/doc/README_FOR_APP.html">doc/README_FOR_APP</a><br /> + <a href="files/lib/authentication_rb.html">lib/authentication.rb</a><br /> + <a href="files/lib/bugzilla_rb.html">lib/bugzilla.rb</a><br /> + <a href="files/lib/glsamaker_rb.html">lib/glsamaker.rb</a><br /> + </div> +</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/app/fr_method_index.html b/doc/app/fr_method_index.html new file mode 100644 index 0000000..39b3e24 --- /dev/null +++ b/doc/app/fr_method_index.html @@ -0,0 +1,52 @@ + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<!-- + + Methods + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Methods</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Methods</h1> + <div id="index-entries"> + <a href="classes/ToolsController.html#M000010">ajaxbugs (ToolsController)</a><br /> + <a href="classes/ToolsController.html#M000011">ajaxdescr (ToolsController)</a><br /> + <a href="classes/Bug.html#M000016">bug_url (Bug)</a><br /> + <a href="classes/ToolsController.html#M000009">buginfo (ToolsController)</a><br /> + <a href="classes/GlsaController.html#M000008">comment (GlsaController)</a><br /> + <a href="classes/GlsaController.html#M000003">create (GlsaController)</a><br /> + <a href="classes/Authentication.html#M000024">current_user (Authentication)</a><br /> + <a href="classes/GlsaController.html#M000007">destroy (GlsaController)</a><br /> + <a href="classes/GlsaController.html#M000005">edit (GlsaController)</a><br /> + <a href="classes/IndexController.html#M000013">error (IndexController)</a><br /> + <a href="classes/Bugzilla.html#M000017">find_glsa_bugs (Bugzilla)</a><br /> + <a href="classes/Glsamaker/HTTP.html#M000026">get (Glsamaker::HTTP)</a><br /> + <a href="classes/Authentication.html#M000025">included (Authentication)</a><br /> + <a href="classes/IndexController.html#M000012">index (IndexController)</a><br /> + <a href="classes/GlsaController.html#M000001">index (GlsaController)</a><br /> + <a href="classes/Glsa.html#M000014">last_revision (Glsa)</a><br /> + <a href="classes/Bugzilla/Bug.html#M000019">load_from_id (Bugzilla::Bug)</a><br /> + <a href="classes/Authentication.html#M000023">login_required (Authentication)</a><br /> + <a href="classes/GlsaController.html#M000002">new (GlsaController)</a><br /> + <a href="classes/Bugzilla/Comment.html#M000018">new (Bugzilla::Comment)</a><br /> + <a href="classes/Bugzilla/Bug.html#M000021">new (Bugzilla::Bug)</a><br /> + <a href="classes/Glsa.html#M000015">next_revid (Glsa)</a><br /> + <a href="classes/GlsaController.html#M000004">show (GlsaController)</a><br /> + <a href="classes/Bugzilla/Bug.html#M000022">str2bugIDs (Bugzilla::Bug)</a><br /> + <a href="classes/GlsaController.html#M000006">update (GlsaController)</a><br /> + <a href="classes/Bugzilla/Bug.html#M000020">url (Bugzilla::Bug)</a><br /> + </div> +</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/app/index.html b/doc/app/index.html new file mode 100644 index 0000000..bf4361d --- /dev/null +++ b/doc/app/index.html @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> + +<!-- + + Rails Application Documentation + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Rails Application Documentation</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +</head> +<frameset rows="20%, 80%"> + <frameset cols="25%,35%,45%"> + <frame src="fr_file_index.html" title="Files" name="Files" /> + <frame src="fr_class_index.html" name="Classes" /> + <frame src="fr_method_index.html" name="Methods" /> + </frameset> + <frame src="files/doc/README_FOR_APP.html" name="docwin" /> +</frameset> +</html>
\ No newline at end of file diff --git a/doc/app/rdoc-style.css b/doc/app/rdoc-style.css new file mode 100644 index 0000000..44c7b3d --- /dev/null +++ b/doc/app/rdoc-style.css @@ -0,0 +1,208 @@ + +body { + font-family: Verdana,Arial,Helvetica,sans-serif; + font-size: 90%; + margin: 0; + margin-left: 40px; + padding: 0; + background: white; +} + +h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; } +h1 { font-size: 150%; } +h2,h3,h4 { margin-top: 1em; } + +a { background: #eef; color: #039; text-decoration: none; } +a:hover { background: #039; color: #eef; } + +/* Override the base stylesheet's Anchor inside a table cell */ +td > a { + background: transparent; + color: #039; + text-decoration: none; +} + +/* and inside a section title */ +.section-title > a { + background: transparent; + color: #eee; + text-decoration: none; +} + +/* === Structural elements =================================== */ + +div#index { + margin: 0; + margin-left: -40px; + padding: 0; + font-size: 90%; +} + + +div#index a { + margin-left: 0.7em; +} + +div#index .section-bar { + margin-left: 0px; + padding-left: 0.7em; + background: #ccc; + font-size: small; +} + + +div#classHeader, div#fileHeader { + width: auto; + color: white; + padding: 0.5em 1.5em 0.5em 1.5em; + margin: 0; + margin-left: -40px; + border-bottom: 3px solid #006; +} + +div#classHeader a, div#fileHeader a { + background: inherit; + color: white; +} + +div#classHeader td, div#fileHeader td { + background: inherit; + color: white; +} + + +div#fileHeader { + background: #057; +} + +div#classHeader { + background: #048; +} + + +.class-name-in-header { + font-size: 180%; + font-weight: bold; +} + + +div#bodyContent { + padding: 0 1.5em 0 1.5em; +} + +div#description { + padding: 0.5em 1.5em; + background: #efefef; + border: 1px dotted #999; +} + +div#description h1,h2,h3,h4,h5,h6 { + color: #125;; + background: transparent; +} + +div#validator-badges { + text-align: center; +} +div#validator-badges img { border: 0; } + +div#copyright { + color: #333; + background: #efefef; + font: 0.75em sans-serif; + margin-top: 5em; + margin-bottom: 0; + padding: 0.5em 2em; +} + + +/* === Classes =================================== */ + +table.header-table { + color: white; + font-size: small; +} + +.type-note { + font-size: small; + color: #DEDEDE; +} + +.xxsection-bar { + background: #eee; + color: #333; + padding: 3px; +} + +.section-bar { + color: #333; + border-bottom: 1px solid #999; + margin-left: -20px; +} + + +.section-title { + background: #79a; + color: #eee; + padding: 3px; + margin-top: 2em; + margin-left: -30px; + border: 1px solid #999; +} + +.top-aligned-row { vertical-align: top } +.bottom-aligned-row { vertical-align: bottom } + +/* --- Context section classes ----------------------- */ + +.context-row { } +.context-item-name { font-family: monospace; font-weight: bold; color: black; } +.context-item-value { font-size: small; color: #448; } +.context-item-desc { color: #333; padding-left: 2em; } + +/* --- Method classes -------------------------- */ +.method-detail { + background: #efefef; + padding: 0; + margin-top: 0.5em; + margin-bottom: 1em; + border: 1px dotted #ccc; +} +.method-heading { + color: black; + background: #ccc; + border-bottom: 1px solid #666; + padding: 0.2em 0.5em 0 0.5em; +} +.method-signature { color: black; background: inherit; } +.method-name { font-weight: bold; } +.method-args { font-style: italic; } +.method-description { padding: 0 0.5em 0 0.5em; } + +/* --- Source code sections -------------------- */ + +a.source-toggle { font-size: 90%; } +div.method-source-code { + background: #262626; + color: #ffdead; + margin: 1em; + padding: 0.5em; + border: 1px dashed #999; + overflow: hidden; +} + +div.method-source-code pre { color: #ffdead; overflow: hidden; } + +/* --- Ruby keyword styles --------------------- */ + +.standalone-code { background: #221111; color: #ffdead; overflow: hidden; } + +.ruby-constant { color: #7fffd4; background: transparent; } +.ruby-keyword { color: #00ffff; background: transparent; } +.ruby-ivar { color: #eedd82; background: transparent; } +.ruby-operator { color: #00ffee; background: transparent; } +.ruby-identifier { color: #ffdead; background: transparent; } +.ruby-node { color: #ffa07a; background: transparent; } +.ruby-comment { color: #b22222; font-weight: bold; background: transparent; } +.ruby-regexp { color: #ffa07a; background: transparent; } +.ruby-value { color: #7fffd4; background: transparent; }
\ No newline at end of file |