1 1.3.10 May, 13 2004, Reini Urban, Joby Walker:
3 In short: paging support, adodb rewrite, permission problem fixed.
6 * fixed severe permission problem:
7 Default permissions not honored. Everybody was able to edit.
8 * set UserPreferences for bool and int fixed
10 * dba open problems improved, but not generally fixed
11 * fixed dba session reading, but still broken
12 * support wikiword links and image links in RichTable content,
13 backlinks still not working.
14 * fixed navbar links in theme smaller, and made them default
15 * fixed loading of localized pagenames on action=upgrade
16 * fixed interwiki.map loading on certain PrettyWiki setups
17 * re-enabled php-4.0.6 support (broken since 1.3.8: superglobals, array_key_exists),
18 4.0.4-pl1 and 4.0.5 do work, but not stable enough.
19 * fix running phpwiki in "http://server/" (empty DATA_PATH)
20 * fix PhpWiki:PrettyWiki detection: starter script includes index.php,
21 and include main.php by its own to override certain config values.
22 * fix WikiAdminRemove arguments passed from WikiAdminSelect,
23 WikiAdminRemove deleted too many args if passed from WikiAdminSelect
24 * session transportation improved, no db objects stored
25 * PageGroup support for [links] and subpages
26 * HttpClient fixes for older php's
27 * RssFeed for allow_url_fopen=false, IMAGE support, empty ITEM list
28 * Theme buttons are now also searched in the default theme
29 * numerous other minor bugfixes.
32 * ADODB update from ancient mysql-only, to 4.21 with all supported databases.
33 transaction support, with mysql locking-workarounds
34 * pear not in our include_path anymore: either use your pear or our pear,
35 by adding it to your include_path or not. use now 1:1 copies of pear libs.
36 * CreateToc parses now headers with links and formatting optionally, if
37 TOC_FULL_SYNTAX is defined
38 * PageChangeNotification: userids, not emails are printed
39 * default theme navbar consistency: linkButtons instead of action buttons
40 * _~WikiTranslation what=buttons, noT=1, nolinks=1
41 * ~SetupWiki (virgin setup) also loads all mandatory pages now
42 and overwrites ReleaseNotes
43 * PageChangeNotification changed subject to "[WikiName] Page change %s",
44 update your filters accordingly
45 * action=upgrade now linked in PhpWikiAdministration,
46 db: fix page.id auto_increment and ADD session.sess_ip
47 * some internal InlineParser optimization
48 * DBAuthParam statement syntax change: variables now like '$userid'
51 * new ini-style config instead of old index.php, by Joby Walker
52 * paging support for pagelists longer than limit
53 * PopularNearby plugin: same as the classic most popular footer
54 * formatted single-line plugins supported
55 * RelatedChanges plugin: only those which are links at the current page
56 * new GoogleLink pref: add "[G]" lookup on unknown links
57 * added chinese language support, by Yan-ren Tsai (druryl)
58 * added missing MacOSX buttons, by Carsten Klapp.
59 * new Crao theme from http://wiki.crao.net, by Arnaud Fontaine and Laurent Lunati
60 * extended PhpWiki:InlineImages markup (size, border, ...)
62 1.3.9-p1 May,5 2004, Reini Urban:
64 Bugfix patch for the following 1.3.9 problems:
66 * Default permissions not honored. Everybody was able to edit.
67 * set UserPreferences for bool and int fixed
68 * dba open problems improved
69 * session transportation improved, no db objects stored
70 * php-4.0.6 support re-enabled (superglobals, array_key_exists)
71 * WikiAdminRemove deleted too many if args passed from WikiAdminSelect
72 * PageGroup support for [links] and subpages
73 * disabled default dba sessions, broken!
74 * HttpClient fixes for older php's
75 * RssFeed for allow_url_fopen=false, IMAGE support, empty ITEM list
77 1.2.4 (the old-stable version) May, 4 2004, Reini Urban:
78 * improves possible deadlocks in DBA,
79 * fixes problems with DBA open failures.
81 1.2.3 (the old-stable version) Apr, 29 2004, Reini Urban:
82 * added the most popular footer for dba
83 * added remove for dba
84 * fixed a warning on info page
86 1.3.9 Apr, 12 2004, Reini Urban:
88 Bugfix release for the following 1.3.8 problems:
90 * syntax errors in lib/plugin/UpLoad.php
91 * syntax errors in lib/plugin/WikiAdminRemove.php
92 * syntax error in schemas/mysql.sql
93 * several path issues (cannot findfile...), which were caused
94 by a chdir for bindtextdomain in lib/config.php.
95 Failed opening required 'lib/stdlib.php',
96 templates/html.tmpl: not found, and more
97 * added self-registration for DbPassUser
98 * added GoTo plugin, RateIt action page
100 1.3.8 Jan-Apr 2004, Reini Urban:
102 External plugable authentification, DB prefs and sessions,
103 some more fixes, docs, themes and plugins.
105 * new WikiUserNew class (after a kick in the ass by Carsten Klapp),
106 with new Preferences (finally from DB), and improved DB_Session (+ ADODB support)
107 * changed cookie policy: only WIKI_ID stored as string, older pref cookies deleted.
108 They should be stored in the users homepage or in a db.
109 * individual PagePermissions (enabled, but not yet enforced)
111 * new WikiAdminRename, WikiAdminSearchReplace, WikiAdminSetAcl
112 * several other new plugins: WikiPoll, WhoIsOnline, UpLoad,
113 RichTable, CreateToc, AddComment, _WikiTranslation, TranslateText
114 * pear DB update, pear DB query simplification as in ADODB.
115 * InterWiki image buttons
116 * PageList + WikiDB: enhanced sortby + limit support, sortable gridbuttons enforced
117 * preliminary SOAP support (only nusoap, no soap extension yet)
118 * Japanese language support added, thanks to Tadashi Jokagi <webmaster@elf.no-ip.org>
119 * minor theme/default overhaul and new theme/smaller
120 * fixed WikiAdminSelect, WikiAdminRemove
121 * fixed UnfoldSubpages sortby
122 * fixed XHTML dumps (css, images, unlinked pages, \r\r\n issue)
123 * preliminary experimental action=upgrade
124 * experimental PearDB sqlite support
125 * started work for php5 fixes (XmlElement problems)
127 1.3.4 until 1.3.7, 2002-2003 Jeff, Carsten and Steve Wainstead:
129 * several stable releases with better documentation (most plugins) and various bugfixes.
130 * EditMetaData (by MichaelVanDam) for example. (forgot what else was new)
131 * Jochen Kalmbach's new UserFileManagement and UserRegistration didn't went upstream.
132 (personal uploads, ...)
134 1.3.3 early 2002, Jeff strikes back, with the help of Carsten Klapp:
136 * major feature enhancements:
137 * Cache all output and use a clever page cache. Get rid of plugin-head.
138 * new PageType class. Formatter and Search engine rewrite.
140 * broke several older plugins: InterWikiSearch, WikiAdminSelect. broke image buttons
141 * Carsten Klapp's beloved MACOSX theme, button factory and CSS wizardry in general.
142 * XHTML dumps, WikiBlog as page type.
143 * PluginManager and several more plugins.
145 1.3.2 early 2002, Reini Urban strikes:
147 * Start of external authorisation in the config, but not in code.
148 * Store Preferences in the users PersonalPage (Jeff)
149 * Sessions in DB, pear DB update
150 * concept of Subpages, UnfoldSubpages, SiteMap, AllPages, AllUsers, ...
151 * PageList (Jeff and Reini)
152 * Several new plugins: RedirectTo, plugin-head architecture.
153 Normalize template names. WikiAdminSelect architecture: WikiAdminRemove
154 * VisualWiki, TexToPng, text2png + several cached plugins (by Johannes Große)
155 * PhpWeather (?), PrevNext, image buttons,
156 * IncludePage (Joe Edelman), FrameInclude (Reini), Transclude (Jeff)
157 * Calendar (contributed by ?), CalendarList, WikiBlog, ...
159 .... a small hole here .... (three years no detailed HISTORY. see the outline above)
161 02/12/01 More Jeff's hacks:
163 * More CSS stuff. I think it's neat.
164 * Added tables! And modified the footnote stuff a litte.
165 See TextFormattingRules for details.
166 * Fixed bugs: including (I hope the two which
167 Reini Urban <rurban@x-ray.at> just reported.) Also added
168 Reini's patches to the README. Thanks!
170 02/11/01 Jeff's hacks continue:
172 * User preferences can be stored in a cookie. Currently the only user preference
173 is the size of the textarea on the edit page. See the UserPreferences wiki page.
175 * When a zip/file is uploaded, set the author to the user who does the upload
176 (ie. the administrator). Also enter the upload in RecentChanges.
177 * Don't load RecentChanges from zip or dir. Only from file.
179 * Clean up error reporting. Warning messages screw up header() and setcookie()
180 operations, and also corrupt the zip dumps. New function
181 PostponeErrorMessages() allows one to postpone the reporting of selected warnings.
183 * Beginnings of CSS support. Still in the ugly stage.
187 02/11/01 Jeff's hacks continue:
189 * Moved user configuration stuff into index.php. What was index.php is
192 * Refactored the DB configuration variables. There's one define() constant
193 which specifies type database type, and one hash (used by all the
194 databases) which holds database, file, and server selection.
195 The actual file/table names are now "hard-coded" into the individual
196 database modules --- I have added the hook for setting a prefix
197 to be applied to all file/table names.
198 I think it's much cleaner, but let me know if you think otherwise.
199 (I've only tested the dba and mysql backends.)
201 * Refactored the dump/load zip/directory stuff. You can now upload zip-dumps
202 or individual files from your local (client) machine.
203 See PhpWikiAdministration.
205 * Fixed a bunch of bugs --- mostly the one's I introduced in my last big
208 02/09/01 Jeff hack's again:
210 * Pagename in PATH_INFO support added. This is configurable,
211 cause, near as I can figure, if the php interpreter is run stand-alone
212 in /cgi-bin there's no way to pass any useful PATH_INFO to it.
213 (If a stand-alone php, in say /usr/local/bin, is used as a CGI interpreter,
214 PATH_INFO will work, as long as php was configured with --enable-discard-path .)
216 Along with this I refactored the semantics of all the query arguments to
217 make them (IMHO) more consistent.
219 * Redid the administrator authentication stuff. Eliminated admin.php ---
220 all access is now through index.php. (New file lib/userauth.php.)
221 Still a little rough, but a big improvement, I think. Hopefully this
222 can be developed into a more general user identification scheme...
224 Along with eliminating admin.php and the new auth scheme, completely
225 refactored index.php. It should be easy now to swap config.php and index.php.
228 * Continued cleaning out page reference stuff.
230 * Force archive of old page if author changes. (Unless new author
233 * More warning fixes in diff.php
235 * Refactored the semantics of the phpwiki: URL's.
236 See pgsrc/PhpWikiAdministration and pgsrc/MagicPhpWikiURLs
237 for more information.
240 * Don't show signature image if $SignatureImg (in config.php) is left unset
241 * Bug fix: hang on full zip dump
242 * Bug fix: hang on diff
243 * Bug fix: unzip failed on some old zip-dumps
244 * Bug fix: check for DB files in /tmp was broken
245 * Minor security fix: pagename must now be url-encoded
246 * Spelling fixes in pgsrc/*
249 * Support for PHP 4.0.4 (using the dba_* interface for DBM files),
250 thanks to Joel Uckelman
251 * Swedish translation added, thanks to Jon Åslund
252 * dbmlib.php has all functions in mysql/postgresql, thanks to Jan Hidder
253 * German version updated
254 * Dutch translation updated
255 * Spanish version updated
256 * More robust support for flat file based Wiki (INSTALL.flatfile
258 * "named internal links," i.e. [wow | HomePage]
259 * New IF syntax added to templates
260 * New PhpWikiAdministration page added
261 * New term/defintion syntax (for <DT><DD> tags)
262 * Plenty of bug fixes
265 * Spanish language support added, thanks to Sandino Araico
266 Sánchez <sandino@sandino.net>
267 * German language support thanks to Arno Hollosi
268 * Postgresql version brought up to date (plus fixes from Sandino)
269 * Neil Brown contributed a patch Arno worked in to heavily modify
270 lib/transform.php, much cleaner structure now
271 * Various page updates to English pages
272 * Schema update for mSQL
273 * Assorted E_NOTICE warnings fixed throughout (though still not done)
274 * URL no longer stored in page source of RecentChanges
275 * various bugs squashed
278 * Internationalization, with support for Dutch, and an architecture
279 to add more languages easily
280 * Term/defintion tags updated to next and use tabless markup
281 * MostPopular works for all implementations, except flat files
282 * Flat file database support; it's not yet complete but the basic Wiki
283 functionality is there, thanks to Ari
284 * New zip file format for page dumps follows standard email format
285 * Removed tabs from all default pages
286 * Added whitespace padding to pages after they are serialized and
287 written to the DBM file; this goes a long way towards fixing the
288 memory leak problems for DBM-based Wikis.
289 * Numerous bug fixes, as always
290 * Some refactoring of the database interface
292 1.1.7 07/15/00: A lot was added since the 1.1.6b release. Diffs are
293 the handiwork of Jeff Dairiki, though Arno wrote the second
294 revision. Features and changes include:
296 * Page diffs, with color
297 * "MostPopular" page added which dynamically tracks most viewed pages
299 * Admin functions: page dumps, page loads, Zip dumps, page locking
300 * MySQL, DBM, mSQL and Postgresql support all functional and appear stable
301 * Full HTML compliance in page output
302 * Tabless markup language introduced for <UL> and <OL>
303 * Fixed raw HTML exploit in [info] page
304 * Perl script included to reduce the size of a DBM file
305 * documentation updates
306 * page source updates
307 * gazillion feature enhancements and bug fixes, no doubt necessitating
308 another gazillion feature enhancements and bug fixes ;-)
310 1.1.6b 06/27/00: The wrong wiki_config.php3 file was included in 1.1.6,
311 and this release corrects that; also in my hurry, I included all the CVS
312 directories and files, and a test file. That stuff was left out.
314 1.1.6 06/26/00: Added templates, Postgresql support, mSQL support, new
315 database schema, new date storage format, an "info" link on all pages,
316 and introduced some new bugs (RecentChanges is broken ;-)
318 1.1.5 06/08/00: Here are the comments from the CVS logs:
320 fixed magic_quotes_gpc=1 bug for $pagename
321 fixed raw-HTML exploit for $pagename
322 fixed javascript: links exploit
323 Concurrent editing of pages is detected now - fixes LostUpdateProblem
324 (note: EditLinks is *not* treated this way yet)
325 search term is now preg_quote()'ed instead of chars removed
326 bugfix: UpdateRecentChanges didn't link names of new-style pages.
327 Fixed FindPage and search boxes
328 Added headings (!,!!,!!!), suppression of wiki linking (!WikiName), and linebreaks (%%%)
329 changed mySQL schema: column 'data' renamed 'hash' because 'dada' is a
330 reserved word. (update your tables!)
332 This release should work fine with the new linking scheme, but then
333 again, hey, it's beta!
335 1.1.4 05/11/00: I added the new linking
336 scheme, which largely follows the scheme of Wikic
337 (http://wiki.cs.uiuc.edu/RefactoringBrowser/Wiki+Syntax). Both "classic
338 Wiki" linking and the new linking are supported; you can now also link
339 things by using square brackets, like this:
341 [this is a page link]
342 [this is an external link | http://wcsb.org/]
343 [ftp://ftp.redhat.com/]
345 Reference links are still supported.
347 1.1.3 04/22/00: I rewrote UpdateRecentChanges completely; it's more
348 efficient now because it only loops over the lines once, and entries are
349 now newest-first instead of oldest-first.
351 1.1.2 04/20/00: I finally solved the problem once and for all (I hope!)
352 with loading pages into a brand new wiki. Vim allows you to change the
353 file formats so I wrote a two line ex script to convert all the pages to
354 dos format. (This gives them the CR/NL, unlike Un*x).
356 1.1.1 04/15/00: I changed the way Wiki markup is converted and
357 displayed. Before pages were rendered line by line; now it accumulates
358 all the HTML in a variable and does one "echo" to display the page.
359 While this might be a bit slower (it will use a little bit more memory)
360 this means PhpWiki can be modified so the HTML can be written to a file.
361 a whole PhpWiki site might either be served as static HTML, or
362 periodically exported to disk after a period of activity. This is the
363 secod beta (more or less) of the 1.1 release.
365 1.1.0 04/10/00: Support for MySQL added. Thanks to Arno Hollosi for
366 his excellent work! He also provided patches to clean up the wiki_setup
367 procedure and fix rendering bugs with italics and bold text, amongst
368 others. Alister <alister@minotaur.nu> provided patches for arbitrary
369 numbers of reference links, fixing a rotten logic error on my part.
370 Removed "static" declarations to help the PHP4 porters.
372 1.03 03/21/00: Refactored index.php3 and wiki_display.php3, which
373 had dbm function calls in them. Thanks to Christian Lindig
374 <lindig@gaertner.de> for pointing this out. This should make it
375 a little easier to port to a different database.
377 1.02 02/02/00: Disabled embedded HTML, due to security holes
378 described in this CERT advisory: http://www.cert.org/advisories/CA-2000-02.html
379 You can re-enable it by removing the comment tags in wiki_display.php3.
380 Please be certain of what you are doing if you allow this!
382 1.01 02/01/11: Fixed bug where header rules (<hr>) were inserted
383 whenever four or more dashes occured; this only works if it starts the
384 line now. Thanks to Gerry Barksdale.
386 1.00 01/25/00: Changed the names of all files except index.php3; I
387 prefaced them all with "wiki_" to avoid collisions with other files
388 that might be in the include path. Thanks to Grant Morgan for the
389 suggestion. A few corrections to the default pages; I think the
390 small rendering problems are due to Unix's lack of a carriage
393 0.99 01/20/00: Added a logic change suggested by Clifford Adams,
394 where a copy is saved to the archive if the previous author was
395 different. A different person that is. Fixed a rendering bug. This was
396 breaking: http://c2.com/cgi-bin/wiki followed by
397 http://c2.com/cgi-bin/wiki?PhpWiki on the same line. Because PHP only
398 can do *global* search and replace, the second URL was incompletely
399 swapped and linked. Using rsort() on the array of matches worked.
400 Added a patch from Grant Morgan for servers with magic_quotes_gpc set.
402 0.98 01/18/00: Added code to build the $ServerAddress dyanamically. Now,
403 PhpWiki will work as soon as it's untarred. No configuration should be
406 0.97 01/16/00: Added a feature suggested by Clifford Adams. It stores
407 the author's remote address and disables the EditCopy the next time they
408 edit a page. Added <DL><DT><DD> support and debugged it. A new Wiki will
409 load a set of new pages, so the Wiki is ready to go out of the box.
411 0.96 01/15/00: Added EditCopy. This uses a second DBM file and could use
412 some more pounding. I also found a bug when two URL's appear on the same
414 http://foo.com/ http://foo.com/WikiWikiWeb
415 In this case the second URL will not be linked correctly due to PHP's
416 replace-all-or-nothing regular expression functions.
418 0.95 01/04/00: Severe reworking of the list code (UL amd OL tags). I
419 added a stack class and "implemented recursion," which seemed the
420 logical way to accomplish nested tags. There are a couple of minor bugs
421 to work out, and I have to get DL tags working. I changed some constants
422 to define()'s instead. There are magic numbers in stdlib.php3 that
423 probably should be defined. I also used while() loops while doing
424 push/pop operations which also gives me the willies, but I put in bounds
427 0.94: 12/22/99 Mostly code cleanups; added code for waiting on the dbm
428 file if not available; added more comments.
430 0.93: 12/21/99 Added full text search. Moved configuration code to a new
431 file, config.php3. Fixed another bug in RecentChanges. Page titles now
432 link to full search, which is a bit more useful. Added code to create a
433 new RecentChanges if none existed.
435 0.92: 12/20/99 Added REMOTE_HOST to RecentChanges edits; fixed a bug
436 where I typed in PUT instead of POST in editpage.php3; patched
437 RecentChanges so hopefully the lines won't get screwed up anymore.
439 0.91: 12/20/99 Fixed bug that occurred when creating new pages.
441 0.90: 12/19/99 Added user-defined links (i.e. [1], [2] etc) and embedded
442 images. This is the first beta release. Only an issue with second-level
443 lists remains, and a couple of other minor things.
445 0.81: 12/19/99 Fixed another wiki word linking issue. It arose from
446 having similar patterns in words in the same line.
448 0.80: 12/18/99 I'm bumping up the version to .8 because it's that close.
449 I finally solved the crucial linking problem, by reinventing how
450 classic Wiki does it ;-) URL's are first replaced with tokens, then Wiki
451 words are linked, then linked URL's are put back. I improved the code a
452 great deal for the differnet "modes" of display text; I have a function
453 maintain the mode, and whether end tags are needed or not.
455 0.07: 12/18/99 Fixed minor bug in preformatted/bulleted code output; fixed
456 reverse linking of page titles
458 0.06: 12/15/99: Added ChangeSpacesToTabs
460 0.05: 12/14/99: Added title searches, RecentChanges, fixed numerous bugs like
461 only trying to render valid page names, the last-edited-date, removed
462 the navigation toolbars, linked the new logo to HomePage, and a half
463 dozen other odd things. It's almost ready.
465 0.04: 12/12/99: Several additions to markup:
469 unordered lists (one level only, tow levels breaks)
471 In addition, wiki links have been further debugged, but I still
472 haven't solved the problem with wiki-links inside URLs.
474 0.03: 12/4/99: Pages are now serialized arrays instead of text blobs. Some
475 markup rules have been implemented. HTML is escaped; Wiki linking works
477 undefined pages do not have the question mark after them (they look like
478 a regular link to a Wiki page.) URL's hyperlink and should accept most
482 0.02: 12/3/99: Basic page editing/saving/displaying is now working.
484 Prior to 0.02, there were no numbered releases, and in fact there
485 was only one release, so I guess that would be 0.01 :-)
487 $Id: HISTORY,v 1.9 2004-05-14 11:32:51 rurban Exp $