Commits

joshjcarrier  committed fd0ea86

Clean up unused files in preparation for 1.1.20100623 release

  • Participants
  • Parent commits e4483bb
  • Tags 1.1.20100623

Comments (0)

Files changed (12)

 syntax: regexp
 ^admin/lock$
 syntax: regexp
-^cgi-bin$
+^cgi-bin$
+syntax: regexp
+^_media$
 Web: http://redirect.joshjcarrier.com/?r=hgphp
 
 Changelog:
-1.1.xxx (unstable)
+1.1.201023
 - rebranded to phpHgAdmin
 - framework revised
 - support for multiple hgweb.config
 - much more customizable and flexible installation
-- blacklists creation of a repo derived from config 'base_url' instead of value "admin"
-	where $config['base_url'] = http://www.contoso.com/hgadmin will blacklist "hgadmin"
 - multiple bug fixes
-Upgrade warning: fresh install recommended due to significant changes.
+Upgrade warning: 
+	Fresh install recommended due to significant changes. hgweb.config [paths] section is now modified in preference to [collections].
+	You should manually repair the hgweb.config file. An entry:
+		[collections]
+		/path/to/repo/name = name
+		should now be referred to as
+		[paths]
+		name = /path/to/repo/name 
 
 1.0.20100519
 - initial release

File admin/application/config/mantis_auth.php

-<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
-
-/*
- * 
- */
-$config['administrators'] = array('joshjcarrier', 'gnat123');
-$config['mantis_root'] = '/home/joshjca1/public_html/bugs.joshjcarrier.com/mantisbt/';

File admin/application/config/phphgadmin_core.php

 define('HGPHP_REPO_STATUS_MISSING', 2);
 
 define('HGPHP_NAME', 'phpHgAdmin Mercurial Repository Manager');
-define('HGPHP_VERSION', '1.1.20100614');
+define('HGPHP_VERSION', '1.1.20100623');
 define('HGPHP_AUTHOR_NAME', 'Josh Carrier');
 define('HGPHP_AUTHOR_LINK', 'http://www.joshjcarrier.com');
 

File admin/application/libraries/hg_filesystem.php

 <?php
-
+/**
+ * File system manipulation for Mercurial-based actions.
+ * @package        	CodeIgniter
+ * @subpackage    	Libraries
+ * @category    	Libraries
+ * @author 			Josh Carrier
+ * @link			blog.joshjcarrier.com
+ */
 class Hg_Filesystem
 {
 	private $_ci;

File admin/application/libraries/iniparser.php

 	}
 }
 
+/**
+ * An object which represents key-values of an ini file.
+ * This implementation is necessary as certain values of a key are illegal in the PHP implementation (attempts to store as associative array).
+ */
 class ini64
 {
 	private $_values;

File admin/application/libraries/phphgadmin.php

 <?php
-
+/**
+ * Moderates all actions between the application controllers and the underlying libraries,
+ * - permissions
+ * - optimistic locking
+ * - error catching
+ * @package        	CodeIgniter
+ * @subpackage    	Libraries
+ * @category    	Libraries
+ * @author 			Josh Carrier
+ * @link			blog.joshjcarrier.com
+ */
 class phpHgAdmin
 {
 	private $_ci;

File admin/themes/mercurial/index.html

-<html>
-<head>
-	<title>403 Forbidden</title>
-</head>
-<body>
-
-<p>Directory access is forbidden.</p>
-
-</body>
-</html>

File admin/themes/mercurial/views/coal.php

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 
-<head> 
-<link rel="icon" href="<?php echo base_url(); ?>static/hgicon.png" type="image/png" /> 
-<meta name="robots" content="index, nofollow" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>static/style-coal.css" type="text/css" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>themes/mercurial/css/smoothness/jquery-ui-1.8.1.custom.css" type="text/css" /> 
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-1.4.2.min.js"></script>
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-ui-1.8.1.custom.min.js"></script>
-
-<title><?php echo $template['title']; ?></title> 
-
-<style type="text/css">
-.dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative; font-size: 70%;}
-.dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
-.ui-dialog-content {font-size: 70%;}
-.ui-dialog-title {font-size: 70%;}
-.ui-dialog-buttonpane {font-size: 70%;}
-</style>
-</head> 
-<body> 
- 
-<div class="container"> 
-<div class="menu"> 
-<a href="http://mercurial.selenic.com/"> 
-<img src="<?php echo base_url(); ?>static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a> 
-</div> 
-<div class="main"> 
-<h2><?php echo htmlentities($template['title']); ?></h2> 
- 
-<table class="bigtable" style="border-bottom: 0">
-  <tr>
-    <td> 
-	<a href="<?php echo base_url()?>"><?php echo lang('hgphp_title_adminhome'); ?></a> | <a href="/"><?php echo lang('hgphp_title_listingshome'); ?></a>
-    </td>
-  </tr>
-<?php if(isset($template['partials']['user_err'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
-				<strong><?php echo lang('hgphp_msg_err'); ?>:</strong> <?php echo $template['partials']['user_err']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-<?php if(isset($template['partials']['user_msg'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
-				<?php echo $template['partials']['user_msg']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-  <tr>
-    <td> 
-<?php echo $template['body']; ?>
-    </td>
-  </tr>
-  <tr>
-  	<td>
-<span style="background:#ffc;font-size:70%;">
-Processed in {elapsed_time} seconds. <?php echo HGPHP_NAME; ?> v<?php echo HGPHP_VERSION; ?> <a href="<?php echo HGPHP_AUTHOR_LINK; ?>"><?php echo HGPHP_AUTHOR_NAME; ?></a>. 
-</span>  	
-  	</td>
-  </tr>
-</table>
-
-</div> 
-
-</div> 
-  
-</body> 
-</html> 
- 

File admin/themes/mercurial/views/gitweb.php

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 
-<head> 
-<link rel="icon" href="<?php echo base_url(); ?>static/hgicon.png" type="image/png" /> 
-<meta name="robots" content="index, nofollow" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>static/style-gitweb.css" type="text/css" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>themes/mercurial/css/smoothness/jquery-ui-1.8.1.custom.css" type="text/css" /> 
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-1.4.2.min.js"></script>
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-ui-1.8.1.custom.min.js"></script>
-
-<title><?php echo $template['title']; ?></title> 
-
-<style type="text/css">
-.dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative; font-size: 70%;}
-.dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
-.ui-dialog-content {font-size: 70%;}
-.ui-dialog-title {font-size: 70%;}
-.ui-dialog-buttonpane {font-size: 70%;}
-</style>
-</head> 
-<body> 
- 
-<div class="page_header"> 
-<a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><?php echo htmlentities($template['title']); ?>
-
-</div> 
- 
-<div class="page_nav"> 
-<a href="<?php echo base_url()?>"><?php echo lang('hgphp_title_adminhome'); ?></a> |
-<a href="/"><?php echo lang('hgphp_title_listingshome'); ?></a>
-<br/> 
-</div>  
-<table cellspacing="0"> 
-
-<?php if(isset($template['partials']['user_err'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
-				<strong><?php echo lang('hgphp_msg_err'); ?>:</strong> <?php echo $template['partials']['user_err']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-<?php if(isset($template['partials']['user_msg'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
-				<?php echo $template['partials']['user_msg']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-  <tr>
-    <td> 
-<?php echo $template['body']; ?>
-    </td>
-  </tr>
-  <tr>
-  	<td>
-<span style="background:#ffc;font-size:70%;">
-Processed in {elapsed_time} seconds. <?php echo HGPHP_NAME; ?> v<?php echo HGPHP_VERSION; ?> <a href="<?php echo HGPHP_AUTHOR_LINK; ?>"><?php echo HGPHP_AUTHOR_NAME; ?></a>. 
-</span>  	
-  	</td>
-  </tr>
-</table>
-
-</body> 
-</html> 
- 

File admin/themes/mercurial/views/index.html

-<html>
-<head>
-	<title>403 Forbidden</title>
-</head>
-<body>
-
-<p>Directory access is forbidden.</p>
-
-</body>
-</html>

File admin/themes/mercurial/views/monoblue.php

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 
-<head> 
-<link rel="icon" href="<?php echo base_url(); ?>static/hgicon.png" type="image/png" /> 
-<meta name="robots" content="index, nofollow" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>static/style-monoblue.css" type="text/css" /> 
-<link rel="stylesheet" href="<?php echo base_url(); ?>themes/mercurial/css/smoothness/jquery-ui-1.8.1.custom.css" type="text/css" /> 
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-1.4.2.min.js"></script>
-<script type="text/javascript" src="<?php echo base_url(); ?>themes/mercurial/js/jquery-ui-1.8.1.custom.min.js"></script>
-
-<title><?php echo $template['title']; ?></title> 
-
-<style type="text/css">
-.dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative; font-size: 80%;}
-.dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
-.ui-dialog-content {font-size: 90%;}
-.ui-dialog-title {font-size: 90%;}
-.ui-dialog-buttonpane {font-size: 90%;}
-</style>
-</head> 
- 
-<body> 
-<div id="container"> 
-    <div class="page-header"> 
-        <h1><?php echo htmlentities($template['title']); ?></h1> 
-    </div> 
-
-        <ul class="submenu"> 
-        	<li class="current"><a href="<?php echo base_url()?>"><?php echo lang('hgphp_title_adminhome'); ?></a></li> 
-			<li><a href="/"><?php echo lang('hgphp_title_listingshome'); ?></a></li>     
-    	</ul> 
- 
-    <table> 
-
-<?php if(isset($template['partials']['user_err'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
-				<strong><?php echo lang('hgphp_msg_err'); ?>:</strong> <?php echo $template['partials']['user_err']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-<?php if(isset($template['partials']['user_msg'])): ?>
-  <tr>
-    <td>
-		<div class="ui-widget">
-			<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
-				<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
-				<?php echo $template['partials']['user_msg']; ?></p>
-			</div>
-		</div>
-    </td>
-  </tr>
-<?php endif; ?>
-  <tr>
-    <td> 
-<?php echo $template['body']; ?>
-    </td>
-  </tr>
-  <tr>
-  	<td>
-<span style="background:#ffc;font-size:70%;">
-Processed in {elapsed_time} seconds. <?php echo HGPHP_NAME; ?> v<?php echo HGPHP_VERSION; ?> <a href="<?php echo HGPHP_AUTHOR_LINK; ?>"><?php echo HGPHP_AUTHOR_NAME; ?></a>. 
-</span>  	
-  	</td>
-  </tr>
-</table> 
-    <div id="powered-by"> 
-        <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="<?php echo base_url(); ?>static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p> 
-    </div> 
- 
-    <div id="corner-top-left"></div> 
-    <div id="corner-top-right"></div> 
-    <div id="corner-bottom-left"></div> 
-    <div id="corner-bottom-right"></div> 
- 
-</div> 
- 
-</body> 
-</html> 
-