-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
270 lines (177 loc) · 8.69 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
Changes v2.0
- improve compatibility with py3 and zope4
- readability changes (loosely PEP8)
Changes v1.12 - Thimo Kraemer <[email protected]>
- Removed management tab "Properties"
Changes v1.11 - Thimo Kraemer <[email protected]>
- Complete rewrite of StreamingFile.py
- Data is not longer loaded into memory on object creation
- Added streaming support for images
Changes v1.10 - Thimo Kraemer <[email protected]>
- Added builtin PythonScript (.py)
- Removed management options that cannot be used
Changes v1.9 - Thimo Kraemer <[email protected]>
- Added support for Zope 2.13 (should also work with Zope 2.12)
- Fixed Webdav support (now ExternalEditor can be used again)
- Cleaned up StreamingFile and added range support
- Fixed support of .xml files (useable via ParsedXML)
Changes v1.8
- ???
Changes v1.7-andreas
- Fix for FTP PUT bug on text/plain text/html and unknown files ;Stephen
Changes v1.6.1-andreas
- QUICKHACK fix for FTP PUT bug on text/plain text/html and unknown files
Changes v1.6-andreas
- fixes for FTP support ... thanks to Stephen Kirby
Changes v1.5-andreas
- added FTP support ... thanks to Stephen Kirby for his contribution
Changes v1.4-andreas
- added space separated file_filter option
If you want LocalFS to display only PDF files and
subdirectories file_filter should look like:
*.pdf *.PDF */
Changes v1.3-andreas
- added optional Zope2.7.1 filestream_iterator support
for better performance on large files (Thanks to Paul Winkler)
see also at: http://www.slinkp.com/linux/code/zopestuff/blobnotes
Changes v1.2-andreas
- applyed all changes from SmileyChris which are:
- Changed isPrincipiaFolderish to be always true for overall localFS object
- Fixed editing Page Templates in the ZMI
- Changing properties no longer just displays blank page
- Changed so that anonymous DOES NOT have upload rights by default!
- Changed property "tree_view" to off by default
- Fix for [ 610152 ] security settings in fs
- Fix for [ 742484 ] Cannot add LocalFS programmatically
- do not show MessageDialog if manahe_upload was called from PloneLocalFS
- added refresh.txt
Changes v1.1-andreas by Andreas Heckel ([email protected])
- changed sorting so that directory comes first
Changes v1.0-andreas by Andreas Heckel ([email protected])
- fixed missing dogstring error when used with Zope2.7b3, UserTrack
and Plone
- made changes on __bobo_traverse__
- created version.txt
Changes v1.0
- Fixed regex deprecation warning.
- Fixed possible IOError on module loadup trying to log exceptions.
- Fixed acquisition problems with LocalFile and LocalDirectory
objects. DTML rendered from the file system should now work just
like DTML in the object database.
- Fixed a permissions bug with the manage_upload() method. It was
looking for the wrong permission. =(
- Updated management pages to new Zope look and feel.
- Removed redundant edit page and manage_edit() method. All properties
are now edited through the properties page.
- Added help system documentation.
- Removed automatic text mode translation. All files are now copied
as binary (with a nice little performance boost!)
- Removed old, crusty win32wnet.pyd.
- Changed manage_upload() to use a new strategy for determining the
object id from the file path. First we check for Unix path seperators.
If we find one we grab everything after the last one as the filename.
Next we check for Windows and then Mac path separators and hope we
never get a Unix path without a Unix path seperator but with one of
these characters ('\' or ':'). Finally, if we never see any kind of
path separator we just assume there is no path and use the whole
thing as the filename. I think this should work for most browsers. :-/
- Changed object creation protocol. External adapters now receive an
open file object instead of a blob of text.
- Added get_size() and bobobase_modification_time() methods to
LocalFile objects.
- Added new manage_createDirectory() method to LocalDirectory objects
(uses the 'Manage local files' permission).
Changes v0.10.1
- Fixes for Zope 2.3
Changes v0.9.6
- Fixed saving large File and Image objects.
- Added ZCatalog support.
- Fixed fileIds, fileItems, fileValues behavior when spec='*/'.
- Added optional 'propagate' parameter to fileItems and fileValues
to prevent 'spec' from propagating to the url for child directories.
Changes v0.9.5
- Fixed bobobase_modification_time.
- Fixed cross-platform bug calculating object id in manage_upload.
- Added optional 'id' parameter to manage_upload to allow the
caller to specify the new object id.
- Added optional 'action' parameter to manage_upload to allow
redirecting somewhere other than the default 'manage_workspace'.
Changes v0.9.4
- Really fixed __getitem__ this time. Really.
Changes v0.9.3
- Fixed a bug in __getitem__ that broke the mapping protocol,
i.e. localfs['subobject'].
- Fixed a problem with tree tag items from separate localfs instances
affecting each other's state.
- Prevented exceptions in the localfs tree rendering from crashing the
management interface.
- Added 'Display in Tree View' option to disable displaying LocalFS
objects in the management tree.
- Added LocalFile properties display_size and display_mtime which return
formatted properties. The size and mtime attributes now return an integer
and a DateTime object, respectively. This should make the LocalFile
object more useful for creating custom directory views.
Changes v0.9.2
- Fixed a typo error in __ac_permissions__.
- Fixed a bug in manage_upload. The 'file' parameter must be a
FileUpload instance. It was accepting a string as input which
caused an error.
Changes v0.9.1
- Added Contents view.
- Added support for adding and editing objects in the local file
system through the management interface.
- Added rename, cut, copy, paste, and delete support.
Changes v0.8.1
- Set modified time on File and Image objects so browser caching works
correctly. This also fixes a bug with Zope versions 2.1.5 and later.
- Eliminated __init__ from factory class. Use __call__(self, id, data).
- Added file uploading.
Changes v0.7.1
- Fixed Zope permissions on LocalFS and LocalDirectory objects.
- Changed the spec parameter to filter directories as well as files.
(Use '*/' to include all directories.)
- Added ability to use LocalFS objects with the tree tag.
- Added object traversal methods: fileIds, fileValues, fileItems.
Obsoleted objectIds, objectProps.
- Renamed FSProps class to LocalFile and added getObject method
to get the Zope object from a LocalFile object. This is the object
returned by the fileValues and fileItems methods.
- Added 'type map' property to allow customizing the content-types
and optionally the Zope object class associated with each file
extension.
- Added 'icon map' property to specify the icon associated with
each content-type in directory browse view.
- Added Help tab.
Changes v0.6.1
- Fixed a bug with filtering in directory browse view.
- Fixed bogus text/html content-type on non-HTML files.
- Use a more aggressive search to determine whether files are
binary or text. This causes directory browsing to take a bit
longer but hopefully prevents file corruption problems.
- Added a Properties tab which allows specifying custom properties.
- Improved the formatting of directory browse view again with tables.
- Convert .xml files to XMLDocument objects if the XMLDocument
product is installed.
- Convert .stx files to StructuredDocument objects if the
StructuredDocument product is installed.
Changes v0.5.1
- Fixed lots of problems with local permissions. Many thanks to Greg Ward
for his help.
Changes v0.4.1
- Fixed problems with acquisition.
- Added the ability to connect to network shares using UNC paths on
win32 only. This does not affect non-Windows platforms. Many thanks
to Jephte CLAIN for submitting this code.
- Improved the formatting of directory browse view.
- Added 'default.html' and 'default.htm' to the default document list.
Changes v0.3.1
- Converted all dtml to 1.x syntax for backward compatibility.
- Prevented Zope from inserting <base> tag for HTML files.
- Moved icons to misc_/LocalFS/ to avoid name conflicts.
- Added default document property.
- Added date and time in directory browse view.
- Sort directory contents by filename in browse view.
Changes v0.2.1
- Fixed url escaping in directory browse view. Now filenames with
spaces and other 'special characters' work correctly.
- Added filtering by file extension in directory browse view.