90 lines
5.6 KiB
HTML
90 lines
5.6 KiB
HTML
<!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">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||
<meta name="generator" content="pandoc" />
|
||
<title></title>
|
||
<style type="text/css">code{white-space: pre;}</style>
|
||
</head>
|
||
<body>
|
||
<h1 id="open-dir-dl">Open Dir DL</h1>
|
||
<p>The open directory downloader.</p>
|
||
<p>See inside opendirdl.py for usage instructions.</p>
|
||
<ul>
|
||
<li><strong>[addition]</strong> A new feature was added.</li>
|
||
<li><strong>[bugfix]</strong> Incorrect behavior was fixed.</li>
|
||
<li><strong>[change]</strong> An existing feature was slightly modified or parameters were renamed.</li>
|
||
<li><strong>[cleanup]</strong> Code was improved, comments were added, or other changes with minor impact on the interface.</li>
|
||
<li><strong>[removal]</strong> An old feature was removed.</li>
|
||
</ul>
|
||
<p> </p>
|
||
<ul>
|
||
<li>2016 10 03
|
||
<ul>
|
||
<li><strong>[bugfix]</strong> Fix KeyError caused by the 'root' -> 'domain' rename.</li>
|
||
</ul></li>
|
||
<li>2016 10 01
|
||
<ul>
|
||
<li><strong>[bugfix]</strong> Fixed the download function so it actually passes <code>headers</code> into downloady.</li>
|
||
<li><strong>[change]</strong> <code>url_split</code> key 'root' has been renamed to 'domain'.</li>
|
||
<li><strong>[change]</strong> Improved some variable names, including <code>walkurl -> root_url</code>.</li>
|
||
<li><strong>[cleanup]</strong> Removed import for Ratelimiter since downloady handles all of that now.</li>
|
||
</ul></li>
|
||
<li>2016 08 16
|
||
<ul>
|
||
<li><strong>[cleanup]</strong> Now that Downloady uses temp files for incomplete downloads, that logic can be removed from opendirdl.</li>
|
||
</ul></li>
|
||
<li>2016 08 10
|
||
<ul>
|
||
<li><strong>[addition]</strong> Added clickable links to each directory on HTML tree pages.</li>
|
||
<li><strong>[bugfix]</strong> Fixed bug in smart_insert caused by 404's being considered falsey, triggering the 'one and only one' exception.</li>
|
||
<li><strong>[bugfix]</strong> Fixed bug in smart_insert where 404'd URLs were not being deleted from the database.</li>
|
||
</ul></li>
|
||
<li>2016 08 02
|
||
<ul>
|
||
<li><strong>[cleanup]</strong> Removed the need for div IDs on the Tree pages by making the collapse button use <code>this.nextSibling</code>.</li>
|
||
<li><strong>[cleanup]</strong> Rewrote <code>build_file_tree</code> with a way simpler algorithm.</li>
|
||
<li><strong>[removal]</strong> Removed the ability to set a Node's parent during <code>__init__</code> because it wasn't fully fleshed out and doesn't need to be used anyway.</li>
|
||
</ul></li>
|
||
<li>2016 08 01
|
||
<ul>
|
||
<li><strong>[addition]</strong> Made the digest work even if you forget the <a href="http://" class="uri">http://</a></li>
|
||
</ul></li>
|
||
<li>2016 07 29
|
||
<ul>
|
||
<li><strong>[change]</strong> Moved some nested function definitions out to the top level, and made the construction of the file tree its own function. These functions really don't need to be used on their own, but they were cluttering the logic of the <code>tree</code> command.</li>
|
||
<li><strong>[change]</strong> Renamed <code>Tree.listnodes</code> to <code>Tree.list_children</code>, and the <code>customsort</code> now expects to operate on Node objects rather than <code>(identifier, Node)</code> tuples. Nodes already have their identifier so the tuple was unecessary.</li>
|
||
<li><strong>[change]</strong> Replaced local <code>download_file</code> function with a call to <code>downloady.download_file</code>. It supports download continuation and removes duplicate work.</li>
|
||
<li><strong>[cleanup]</strong> Replaced all <code>safeprint</code> calls with <code>write</code> because it provides access to safeprint as well as file writing if needed.</li>
|
||
<li><strong>[removal]</strong> Removed <code>Tree.sorted_children</code> since it was basically a duplicate of <code>Tree.listnodes</code> and I don't know why I had both.</li>
|
||
</ul></li>
|
||
<li>2016 07 25
|
||
<ul>
|
||
<li><strong>[change]</strong> Bytespersecond is now parsed by <code>bytestring.parsebytes</code> rather than <code>eval</code>, so you can write "100k" as opposed to "100 * 1024" etc.</li>
|
||
<li><strong>[removal]</strong> Removed the <code>Downloader</code> class after watching <a href="https://youtu.be/o9pEzgHorH0">this Jack Diederich talk</a> about unecessary classes.</li>
|
||
</ul></li>
|
||
<li>2016 07 19
|
||
<ul>
|
||
<li><strong>[addition]</strong> Gave the HTML tree divs a very gentle shadow and alternating colors to help with depth perception.</li>
|
||
<li><strong>[bugfix]</strong> Fixed the allowed characters parameter of <code>filepath_sanitize</code>, which was not written correctly but worked out of luck.</li>
|
||
<li><strong>[cleanup]</strong> Rearranged the big blocks to be in a logical order rather than alphabetical order. Walker > Downloader > other classes</li>
|
||
<li><strong>[cleanup]</strong> Renamed the <code>keep_pattern</code> and <code>remove_pattern</code> functions to <code>keep_pattern_argparse</code> etc to be consistent with the other functions used by the argparser. <em>Does not affect the commandline usage!</em></li>
|
||
<li><strong>[cleanup]</strong> Fixed some mismatched code vs comments</li>
|
||
</ul></li>
|
||
<li>2016 07 08
|
||
<ul>
|
||
<li><strong>[bugfix]</strong> Fixed bug in which trees wouldn't generate on server:port urls.</li>
|
||
</ul></li>
|
||
<li>2016 07 04
|
||
<ul>
|
||
<li><strong>[addition]</strong> Added new argparse command "tree"</li>
|
||
</ul></li>
|
||
<li>2016 02 08
|
||
<ul>
|
||
<li><strong>[bugfix]</strong> Fixed bug where server:port urls did not create db files because of the colon. It's been replaced by a hash.</li>
|
||
<li><strong>[change]</strong> Moved db commits to only happen at the end of a digest.</li>
|
||
</ul></li>
|
||
</ul>
|
||
</body>
|
||
</html>
|