1 02/12/01 More Jeff's hacks:
3 * More CSS stuff. I think it's neat.
4 * Added tables! And modified the footnote stuff a litte.
5 See TextFormattingRules for details.
6 * Fixed bugs: including (I hope the two which
7 Reini Urban <rurban@x-ray.at> just reported.) Also added
8 Reini's patches to the README. Thanks!
11 02/11/01 Jeff's hacks continue:
13 * User preferences can be stored in a cookie. Currently the only user preference
14 is the size of the textarea on the edit page. See the UserPreferences wiki page.
16 * When a zip/file is uploaded, set the author to the user who does the upload
17 (ie. the administrator). Also enter the upload in RecentChanges.
18 * Don't load RecentChanges from zip or dir. Only from file.
20 * Clean up error reporting. Warning messages screw up header() and setcookie()
21 operations, and also corrupt the zip dumps. New function
22 PostponeErrorMessages() allows one to postpone the reporting of selected warnings.
24 * Beginnings of CSS support. Still in the ugly stage.
28 02/11/01 Jeff's hacks continue:
30 * Moved user configuration stuff into index.php. What was index.php is
33 * Refactored the DB configuration variables. There's one define() constant
34 which specifies type database type, and one hash (used by all the
35 databases) which holds database, file, and server selection.
36 The actual file/table names are now "hard-coded" into the individual
37 database modules --- I have added the hook for setting a prefix
38 to be applied to all file/table names.
39 I think it's much cleaner, but let me know if you think otherwise.
40 (I've only tested the dba and mysql backends.)
42 * Refactored the dump/load zip/directory stuff. You can now upload zip-dumps
43 or individual files from your local (client) machine.
44 See PhpWikiAdministration.
46 * Fixed a bunch of bugs --- mostly the one's I introduced in my last big
49 02/09/01 Jeff hack's again:
51 * Pagename in PATH_INFO support added. This is configurable,
52 cause, near as I can figure, if the php interpreter is run stand-alone
53 in /cgi-bin there's no way to pass any useful PATH_INFO to it.
54 (If a stand-alone php, in say /usr/local/bin, is used as a CGI interpreter,
55 PATH_INFO will work, as long as php was configured with --enable-discard-path .)
57 Along with this I refactored the semantics of all the query arguments to
58 make them (IMHO) more consistent.
60 * Redid the administrator authentication stuff. Eliminated admin.php ---
61 all access is now through index.php. (New file lib/userauth.php.)
62 Still a little rough, but a big improvement, I think. Hopefully this
63 can be developed into a more general user identification scheme...
65 Along with eliminating admin.php and the new auth scheme, completely
66 refactored index.php. It should be easy now to swap config.php and index.php.
69 * Continued cleaning out page reference stuff.
71 * Force archive of old page if author changes. (Unless new author
74 * More warning fixes in diff.php
76 * Refactored the semantics of the phpwiki: URL's.
77 See pgsrc/PhpWikiAdministration and pgsrc/MagicPhpWikiURLs
81 * Don't show signature image if $SignatureImg (in config.php) is left unset
82 * Bug fix: hang on full zip dump
83 * Bug fix: hang on diff
84 * Bug fix: unzip failed on some old zip-dumps
85 * Bug fix: check for DB files in /tmp was broken
86 * Minor security fix: pagename must now be url-encoded
87 * Spelling fixes in pgsrc/*
90 * Support for PHP 4.0.4 (using the dba_* interface for DBM files),
91 thanks to Joel Uckelman
92 * Swedish translation added, thanks to Jon Åslund
93 * dbmlib.php has all functions in mysql/postgresql, thanks to Jan Hidder
94 * German version updated
95 * Dutch translation updated
96 * Spanish version updated
97 * More robust support for flat file based Wiki (INSTALL.flatfile
99 * "named internal links," i.e. [wow | HomePage]
100 * New IF syntax added to templates
101 * New PhpWikiAdministration page added
102 * New term/defintion syntax (for <DT><DD> tags)
103 * Plenty of bug fixes
106 * Spanish language support added, thanks to Sandino Araico
107 Sánchez <sandino@sandino.net>
108 * German language support thanks to Arno Hollosi
109 * Postgresql version brought up to date (plus fixes from Sandino)
110 * Neil Brown contributed a patch Arno worked in to heavily modify
111 lib/transform.php, much cleaner structure now
112 * Various page updates to English pages
113 * Schema update for mSQL
114 * Assorted E_NOTICE warnings fixed throughout (though still not done)
115 * URL no longer stored in page source of RecentChanges
116 * various bugs squashed
119 * Internationalization, with support for Dutch, and an architecture
120 to add more languages easily
121 * Term/defintion tags updated to next and use tabless markup
122 * MostPopular works for all implementations, except flat files
123 * Flat file database support; it's not yet complete but the basic Wiki
124 functionality is there, thanks to Ari
125 * New zip file format for page dumps follows standard email format
126 * Removed tabs from all default pages
127 * Added whitespace padding to pages after they are serialized and
128 written to the DBM file; this goes a long way towards fixing the
129 memory leak problems for DBM-based Wikis.
130 * Numerous bug fixes, as always
131 * Some refactoring of the database interface
133 1.1.7 07/15/00: A lot was added since the 1.1.6b release. Diffs are
134 the handiwork of Jeff Dairiki, though Arno wrote the second
135 revision. Features and changes include:
137 * Page diffs, with color
138 * "MostPopular" page added which dynamically tracks most viewed pages
140 * Admin functions: page dumps, page loads, Zip dumps, page locking
141 * MySQL, DBM, mSQL and Postgresql support all functional and appear stable
142 * Full HTML compliance in page output
143 * Tabless markup language introduced for <UL> and <OL>
144 * Fixed raw HTML exploit in [info] page
145 * Perl script included to reduce the size of a DBM file
146 * documentation updates
147 * page source updates
148 * gazillion feature enhancements and bug fixes, no doubt necessitating
149 another gazillion feature enhancements and bug fixes ;-)
151 1.1.6b 06/27/00: The wrong wiki_config.php3 file was included in 1.1.6,
152 and this release corrects that; also in my hurry, I included all the CVS
153 directories and files, and a test file. That stuff was left out.
155 1.1.6 06/26/00: Added templates, Postgresql support, mSQL support, new
156 database schema, new date storage format, an "info" link on all pages,
157 and introduced some new bugs (RecentChanges is broken ;-)
159 1.1.5 06/08/00: Here are the comments from the CVS logs:
161 fixed magic_quotes_gpc=1 bug for $pagename
162 fixed raw-HTML exploit for $pagename
163 fixed javascript: links exploit
164 Concurrent editing of pages is detected now - fixes LostUpdateProblem
165 (note: EditLinks is *not* treated this way yet)
166 search term is now preg_quote()'ed instead of chars removed
167 bugfix: UpdateRecentChanges didn't link names of new-style pages.
168 Fixed FindPage and search boxes
169 Added headings (!,!!,!!!), suppression of wiki linking (!WikiName), and linebreaks (%%%)
170 changed mySQL schema: column 'data' renamed 'hash' because 'dada' is a
171 reserved word. (update your tables!)
173 This release should work fine with the new linking scheme, but then
174 again, hey, it's beta!
176 1.1.4 05/11/00: I added the new linking
177 scheme, which largely follows the scheme of Wikic
178 (http://wiki.cs.uiuc.edu/RefactoringBrowser/Wiki+Syntax). Both "classic
179 Wiki" linking and the new linking are supported; you can now also link
180 things by using square brackets, like this:
182 [this is a page link]
183 [this is an external link | http://wcsb.org/]
184 [ftp://ftp.redhat.com/]
186 Reference links are still supported.
188 1.1.3 04/22/00: I rewrote UpdateRecentChanges completely; it's more
189 efficient now because it only loops over the lines once, and entries are
190 now newest-first instead of oldest-first.
192 1.1.2 04/20/00: I finally solved the problem once and for all (I hope!)
193 with loading pages into a brand new wiki. Vim allows you to change the
194 file formats so I wrote a two line ex script to convert all the pages to
195 dos format. (This gives them the CR/NL, unlike Un*x).
197 1.1.1 04/15/00: I changed the way Wiki markup is converted and
198 displayed. Before pages were rendered line by line; now it accumulates
199 all the HTML in a variable and does one "echo" to display the page.
200 While this might be a bit slower (it will use a little bit more memory)
201 this means PhpWiki can be modified so the HTML can be written to a file.
202 a whole PhpWiki site might either be served as static HTML, or
203 periodically exported to disk after a period of activity. This is the
204 secod beta (more or less) of the 1.1 release.
206 1.1.0 04/10/00: Support for MySQL added. Thanks to Arno Hollosi for
207 his excellent work! He also provided patches to clean up the wiki_setup
208 procedure and fix rendering bugs with italics and bold text, amongst
209 others. Alister <alister@minotaur.nu> provided patches for arbitrary
210 numbers of reference links, fixing a rotten logic error on my part.
211 Removed "static" declarations to help the PHP4 porters.
213 1.03 03/21/00: Refactored index.php3 and wiki_display.php3, which
214 had dbm function calls in them. Thanks to Christian Lindig
215 <lindig@gaertner.de> for pointing this out. This should make it
216 a little easier to port to a different database.
218 1.02 02/02/00: Disabled embedded HTML, due to security holes
219 described in this CERT advisory: http://www.cert.org/advisories/CA-2000-02.html
220 You can re-enable it by removing the comment tags in wiki_display.php3.
221 Please be certain of what you are doing if you allow this!
223 1.01 02/01/11: Fixed bug where header rules (<hr>) were inserted
224 whenever four or more dashes occured; this only works if it starts the
225 line now. Thanks to Gerry Barksdale.
227 1.00 01/25/00: Changed the names of all files except index.php3; I
228 prefaced them all with "wiki_" to avoid collisions with other files
229 that might be in the include path. Thanks to Grant Morgan for the
230 suggestion. A few corrections to the default pages; I think the
231 small rendering problems are due to Unix's lack of a carriage
234 0.99 01/20/00: Added a logic change suggested by Clifford Adams,
235 where a copy is saved to the archive if the previous author was
236 different. A different person that is. Fixed a rendering bug. This was
237 breaking: http://c2.com/cgi-bin/wiki followed by
238 http://c2.com/cgi-bin/wiki?PhpWiki on the same line. Because PHP only
239 can do *global* search and replace, the second URL was incompletely
240 swapped and linked. Using rsort() on the array of matches worked.
241 Added a patch from Grant Morgan for servers with magic_quotes_gpc set.
243 0.98 01/18/00: Added code to build the $ServerAddress dyanamically. Now,
244 PhpWiki will work as soon as it's untarred. No configuration should be
247 0.97 01/16/00: Added a feature suggested by Clifford Adams. It stores
248 the author's remote address and disables the EditCopy the next time they
249 edit a page. Added <DL><DT><DD> support and debugged it. A new Wiki will
250 load a set of new pages, so the Wiki is ready to go out of the box.
252 0.96 01/15/00: Added EditCopy. This uses a second DBM file and could use
253 some more pounding. I also found a bug when two URL's appear on the same
255 http://foo.com/ http://foo.com/WikiWikiWeb
256 In this case the second URL will not be linked correctly due to PHP's
257 replace-all-or-nothing regular expression functions.
259 0.95 01/04/00: Severe reworking of the list code (UL amd OL tags). I
260 added a stack class and "implemented recursion," which seemed the
261 logical way to accomplish nested tags. There are a couple of minor bugs
262 to work out, and I have to get DL tags working. I changed some constants
263 to define()'s instead. There are magic numbers in stdlib.php3 that
264 probably should be defined. I also used while() loops while doing
265 push/pop operations which also gives me the willies, but I put in bounds
268 0.94: 12/22/99 Mostly code cleanups; added code for waiting on the dbm
269 file if not available; added more comments.
271 0.93: 12/21/99 Added full text search. Moved configuration code to a new
272 file, config.php3. Fixed another bug in RecentChanges. Page titles now
273 link to full search, which is a bit more useful. Added code to create a
274 new RecentChanges if none existed.
276 0.92: 12/20/99 Added REMOTE_HOST to RecentChanges edits; fixed a bug
277 where I typed in PUT instead of POST in editpage.php3; patched
278 RecentChanges so hopefully the lines won't get screwed up anymore.
280 0.91: 12/20/99 Fixed bug that occurred when creating new pages.
282 0.90: 12/19/99 Added user-defined links (i.e. [1], [2] etc) and embedded
283 images. This is the first beta release. Only an issue with second-level
284 lists remains, and a couple of other minor things.
286 0.81: 12/19/99 Fixed another wiki word linking issue. It arose from
287 having similar patterns in words in the same line.
289 0.80: 12/18/99 I'm bumping up the version to .8 because it's that close.
290 I finally solved the crucial linking problem, by reinventing how
291 classic Wiki does it ;-) URL's are first replaced with tokens, then Wiki
292 words are linked, then linked URL's are put back. I improved the code a
293 great deal for the differnet "modes" of display text; I have a function
294 maintain the mode, and whether end tags are needed or not.
296 0.07: 12/18/99 Fixed minor bug in preformatted/bulleted code output; fixed
297 reverse linking of page titles
299 0.06: 12/15/99: Added ChangeSpacesToTabs
301 0.05: 12/14/99: Added title searches, RecentChanges, fixed numerous bugs like
302 only trying to render valid page names, the last-edited-date, removed
303 the navigation toolbars, linked the new logo to HomePage, and a half
304 dozen other odd things. It's almost ready.
306 0.04: 12/12/99: Several additions to markup:
310 unordered lists (one level only, tow levels breaks)
312 In addition, wiki links have been further debugged, but I still
313 haven't solved the problem with wiki-links inside URLs.
315 0.03: 12/4/99: Pages are now serialized arrays instead of text blobs. Some
316 markup rules have been implemented. HTML is escaped; Wiki linking works
318 undefined pages do not have the question mark after them (they look like
319 a regular link to a Wiki page.) URL's hyperlink and should accept most
323 0.02: 12/3/99: Basic page editing/saving/displaying is now working.
325 Prior to 0.02, there were no numbered releases, and in fact there
326 was only one release, so I guess that would be 0.01 :-)