| 1 |
$Id: CHANGELOG.txt,v 1.13 2006/03/17 13:59:55 syscrusher Exp $
|
| 2 |
|
| 3 |
NOTE: Please put most recent changes at the TOP of the list.
|
| 4 |
|
| 5 |
2006-06-05 Changes by Scott Courtney ("syscrusher")
|
| 6 |
|
| 7 |
* Applied patch from "jsloan" per issue #63252. Many thanks to
|
| 8 |
jsloan for this much-needed patch that I haven't had time to do!
|
| 9 |
|
| 10 |
There is still improvement needed to the module, and several people
|
| 11 |
are working on it. Issue #63252 is not yet closed due to a conflict
|
| 12 |
with image_exact. However, for the first time image_import now
|
| 13 |
is functional with Drupal 4.7. Consider it a beta, by all means, but
|
| 14 |
it works.
|
| 15 |
|
| 16 |
2006-03-17 Changes by Scott Courtney ("syscrusher")
|
| 17 |
|
| 18 |
* Documentation update to fix issue #48381.
|
| 19 |
|
| 20 |
* Please note that the conversion to Drupal 4.7 is still a work
|
| 21 |
in progress. This module is not yet functional in 4.7.
|
| 22 |
|
| 23 |
2005-11-03 Changes by Scott Courtney ("syscrusher")
|
| 24 |
|
| 25 |
* Incorporated patch from "gordon", addresses issue #30306.
|
| 26 |
|
| 27 |
* Forms ported to new Drupal 4.7 forms API. This version is now forked
|
| 28 |
away from Drupal 4.6 and will no longer operate in Drupal prior to
|
| 29 |
version 4.7. There is a separate code branch for Drupal 4.6.
|
| 30 |
|
| 31 |
THIS IS AN ALPHA-TEST VERSION, NOT YET COMPLETED
|
| 32 |
|
| 33 |
2005-10-11 Changes by Scott Courtney ("syscrusher")
|
| 34 |
|
| 35 |
* Slight change to debugging, adding one new message and eliminating
|
| 36 |
an obsoleted parameter from another message.
|
| 37 |
|
| 38 |
2005-09-13 Changes by Scott Courtney ("syscrusher")
|
| 39 |
|
| 40 |
* Eliminated "throttle" setting in favor of setting the timestamps
|
| 41 |
on new nodes to computed values that assume the real starting time
|
| 42 |
and one-node-per-second import rate, but reversed. The sysadmin sets
|
| 43 |
the default for this option, and users can override it for each
|
| 44 |
import operation if they wish. This has the useful side effect of
|
| 45 |
removing the reliance on sleep() function calls.
|
| 46 |
|
| 47 |
* Corrected a small bug in the handling of some checkbox fields in
|
| 48 |
the import form.
|
| 49 |
|
| 50 |
2005-06-30 Changes by Scott Courtney ("syscrusher")
|
| 51 |
|
| 52 |
* Fixed problem where users who could override import directory didn't
|
| 53 |
get the chance to do so, if the default was invalid.
|
| 54 |
|
| 55 |
* Added a warning and graceful failure if the node type workflow options
|
| 56 |
are not set at q=admin/node/configure/types/image_import. This is a
|
| 57 |
patch for bug #25858 and bug #24961.
|
| 58 |
|
| 59 |
2005-06-29 Changes by Scott Courtney ("syscrusher")
|
| 60 |
|
| 61 |
* Fixed incorrect order of concatenation of path components in
|
| 62 |
_image_import_get_image_path(). This addresses part of bug #25151.
|
| 63 |
Thanks to "denjer" for finding and patching the bug.
|
| 64 |
|
| 65 |
* Added the "%c" metatag in the title string, requested by "mariagwyn".
|
| 66 |
This new tag is replaced by a tag-stripped version of the first line
|
| 67 |
of the caption file, if applicable.
|
| 68 |
|
| 69 |
* Added "DEBUG:" to a few debug messages that didn't yet have it.
|
| 70 |
|
| 71 |
2005-06-14 Changes by Scott Courtney ("syscrusher")
|
| 72 |
|
| 73 |
* Modularized obtaining default image path setting from image.module
|
| 74 |
and upload.module, to decouple image_import.module from those two.
|
| 75 |
|
| 76 |
* Explicitly test for, and warn administrator of, erroneous config
|
| 77 |
in which default image path and image import path are the same.
|
| 78 |
|
| 79 |
* Inform administrator of PHP max_execution_time setting to guide
|
| 80 |
setting of import timeout option.
|
| 81 |
|
| 82 |
2005-06-02 Changes by Scott Courtney ("syscrusher")
|
| 83 |
|
| 84 |
* Default "delete" setting for system admin is now taken from the
|
| 85 |
setting for normal users instead of being hardcoded.
|
| 86 |
|
| 87 |
2005-06-02 Changes by Scott Courtney ("syscrusher")
|
| 88 |
|
| 89 |
* Added an improved variant of the throttle feature suggested by
|
| 90 |
"adrinux". This variant only calls sleep() if it needs to do so,
|
| 91 |
based on actual elapsed time.
|
| 92 |
|
| 93 |
* Added an optional overall time limit, which works if images are being
|
| 94 |
deleted (based on system and user options). The time limit allows the
|
| 95 |
script to exit in an orderly way before PHP or Apache time it out,
|
| 96 |
and the user can simply click "Import Images" again to continue the
|
| 97 |
process where it left off, with a fresh time interval.
|
| 98 |
|
| 99 |
* Improved modularity of node creation, in preparation for adding new
|
| 100 |
feature to migrate legacy images from old image.module.
|
| 101 |
|
| 102 |
* Made debugging optional instead of mandatory.
|
| 103 |
|
| 104 |
* Module is now considered BETA rather than alpha test level.
|
| 105 |
|
| 106 |
2005-06-02 Changes by Scott Courtney ("syscrusher")
|
| 107 |
|
| 108 |
Total rewrite, from scratch, of the import functions. This new version
|
| 109 |
is definitely an ALPHA TEST level. For best results, retrieve the latest
|
| 110 |
version of image.module from CVS, because there are some recent changes
|
| 111 |
there that affect this module.
|
| 112 |
|
| 113 |
2005-05-30 Changes by Scott Courtney ("syscrusher")
|
| 114 |
|
| 115 |
Oops! The watchdog changes didn't actually get in the commit
|
| 116 |
version. Sorry about that. (See 2005-05-22 changelog, last item.)
|
| 117 |
|
| 118 |
2005-05-22 Changes by Scott Courtney ("syscrusher")
|
| 119 |
|
| 120 |
Additional diagnostics to help find file permissions problems before
|
| 121 |
the user actually attempts the import. (Issue #23179)
|
| 122 |
|
| 123 |
Sorted filenames before import so that they are reported and processed
|
| 124 |
in alphabetical order, since the directory scan function doesn't do
|
| 125 |
this. (Issue #23524)
|
| 126 |
|
| 127 |
Added check for writable import directory before any operation is
|
| 128 |
begun. (Issue #23179)
|
| 129 |
|
| 130 |
Added explicitly-assigned timestamp to each image node as it is
|
| 131 |
imported, so that they don't all have the same timestamp.
|
| 132 |
(Related to Issue #23524)
|
| 133 |
|
| 134 |
Write summary and node creation info to watchdog. (Issue #23525)
|
| 135 |
|
| 136 |
2005-05-22 Changes by Scott Courtney ("syscrusher")
|
| 137 |
|
| 138 |
Initial commit into modules directory. WARNING: This code
|
| 139 |
is still considered BETA level. Use at your own risk.
|
| 140 |
|
| 141 |
2005-05-22 Changes by Scott Courtney ("syscrusher")
|
| 142 |
|
| 143 |
Fixed problem where superuser account showed no extensions,
|
| 144 |
even though it actually can do any extension in the system.
|
| 145 |
This is a further patch for bug #20583 and a new patch for
|
| 146 |
bug #22417.
|
| 147 |
|
| 148 |
Added smarter diagnostic messages when configuration problems
|
| 149 |
are detected (general improvement tied to several issues that
|
| 150 |
turned out to be config problems rather than bugs).
|
| 151 |
|
| 152 |
2005-04-27 Changes by Scott Courtney ("syscrusher")
|
| 153 |
|
| 154 |
Fixed bug in determination of allowed extensions, so that
|
| 155 |
multiple roles are queried where applicable. (Bug #20583)
|
| 156 |
|
| 157 |
Improved detection of allowable file size for image.
|
| 158 |
|
| 159 |
Added built-in links (in settings page) to go to the relevant
|
| 160 |
system settings pages for security and file uploads.
|
| 161 |
|
| 162 |
2005-04-11 Changes by Scott Courtney ("syscrusher")
|
| 163 |
|
| 164 |
Fixed bug that was causing the files in the import directory to
|
| 165 |
always be deleted, regardless of the settings in the UI.
|
| 166 |
|
| 167 |
2005-04-02 Changes by Scott Courtney ("syscrusher")
|
| 168 |
|
| 169 |
Fixed several menu problems (titles and paths) pointed out by Tim
|
| 170 |
Altman (thanks!). This is what happens when you copy one module to use
|
| 171 |
as a template for another. {sigh}
|
| 172 |
|
| 173 |
Clarified and tightened wording for some of the help text.
|
| 174 |
|
| 175 |
Fixed a minor bug with caption files not being deleted when they
|
| 176 |
were supposed to be.
|
| 177 |
|
| 178 |
2005-04-02 Changes by Scott Courtney ("syscrusher")
|
| 179 |
|
| 180 |
Many changes, including the following:
|
| 181 |
|
| 182 |
Extended and dynamically generated instructions on a separate web
|
| 183 |
page provide an overview of how to use the module, for new users.
|
| 184 |
The dynamic help looks at system parametes such as maximum file size,
|
| 185 |
maximum image resolution, what file extensions are allowed, the import
|
| 186 |
path for the current user, and numerous others, and builds these values
|
| 187 |
into the text to create an individualized help page. The Drupal path
|
| 188 |
for the new help page is node/add/image_import/help, and it is linked
|
| 189 |
from within the module description that appears on node/add and also
|
| 190 |
within the import form itself.
|
| 191 |
|
| 192 |
The Drupal path node/add now shows a description for this module
|
| 193 |
along with the other node creation options. Previously this module
|
| 194 |
showed up only as a link in the navigation menu.
|
| 195 |
|
| 196 |
Node configuration and workflow settings are now available for this
|
| 197 |
module. (NOTE: The default workflow settings have not been tested other
|
| 198 |
than the site-specific submission guidelines. That particular setting
|
| 199 |
is also incorporated into the dynamic help screen.)
|
| 200 |
|
| 201 |
Cleaned up and rationalized code to improve maintainability.
|
| 202 |
|
| 203 |
Improved wording of the existing help text.
|
| 204 |
|
| 205 |
File extensions for images and captions are now obtained by merging a
|
| 206 |
list of what the module itself will accept with what is allowed by the
|
| 207 |
site's overall list of acceptable extensions.
|
| 208 |
|
| 209 |
Code indentation to Drupal standards (sorry if this makes the diff
|
| 210 |
non-useful).
|
| 211 |
|
| 212 |
NOTE: If you were running the version from 2005-04-01, you will
|
| 213 |
want to go into the admin/settings/image_import page and review the
|
| 214 |
current settings, because a new setting was added.
|
| 215 |
|
| 216 |
2005-04-01 Changes by Scott Courtney ("syscrusher")
|
| 217 |
|
| 218 |
Initial ALPHA test release for Drupal 4.6 only.
|
| 219 |
Essentially feature-complete but unpolished in function.
|