]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
23 years agoReread and updated.
wainstead [Sun, 8 Oct 2000 19:08:06 +0000 (19:08 +0000)]
Reread and updated.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@253 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMissed an occurance of the extension php3.
wainstead [Sun, 8 Oct 2000 18:27:09 +0000 (18:27 +0000)]
Missed an occurance of the extension php3.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@252 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoChanged occurances of *php3 to *php.
wainstead [Sun, 8 Oct 2000 18:12:14 +0000 (18:12 +0000)]
Changed occurances of *php3 to *php.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@251 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRenamed from index.php3
wainstead [Sun, 8 Oct 2000 17:48:37 +0000 (17:48 +0000)]
Renamed from index.php3

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@250 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRenamed to index.php.
wainstead [Sun, 8 Oct 2000 17:47:40 +0000 (17:47 +0000)]
Renamed to index.php.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@249 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoThese have been moved to lib/*.php.
wainstead [Sun, 8 Oct 2000 17:43:06 +0000 (17:43 +0000)]
These have been moved to lib/*.php.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@248 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAll wiki_*.php3 files are now renamed to lib/*.php. The files I commited
wainstead [Sun, 8 Oct 2000 17:33:26 +0000 (17:33 +0000)]
All wiki_*.php3 files are now renamed to lib/*.php. The files I commited
a while back, lib/*.inc, were dropped because you can still see the
source of the pages that way, in a default Apache setup.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@247 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded [[not linked to] and !NotLinkedTo.
wainstead [Sun, 8 Oct 2000 17:30:00 +0000 (17:30 +0000)]
Added [[not linked to] and !NotLinkedTo.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@246 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUsing ".inc" for an extension lets browsers see the source of the pages
wainstead [Sat, 7 Oct 2000 17:58:29 +0000 (17:58 +0000)]
Using ".inc" for an extension lets browsers see the source of the pages
as plain text, which is probably not a good idea (depending on how much
you believe in "open source" :-)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@245 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMerged in latest changes from Arno's hacking.
wainstead [Sat, 7 Oct 2000 17:47:20 +0000 (17:47 +0000)]
Merged in latest changes from Arno's hacking.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@244 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded SandBox and MostPopular
ahollosi [Sat, 23 Sep 2000 15:06:27 +0000 (15:06 +0000)]
added SandBox and MostPopular

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@243 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded links to ReleaseNotes and SandBox
ahollosi [Sat, 23 Sep 2000 14:56:59 +0000 (14:56 +0000)]
added links to ReleaseNotes and SandBox

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@242 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded SandBox file for experimentation
ahollosi [Sat, 23 Sep 2000 14:56:26 +0000 (14:56 +0000)]
added SandBox file for experimentation

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@241 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agocommented out link related functions - not compatible with my latest changes
ahollosi [Sat, 23 Sep 2000 14:36:09 +0000 (14:36 +0000)]
commented out link related functions - not compatible with my latest changes

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@240 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded NUM_RELATED_PAGES definition
ahollosi [Sat, 23 Sep 2000 14:34:22 +0000 (14:34 +0000)]
added NUM_RELATED_PAGES definition

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@239 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadapted call to ParseAndLink()
ahollosi [Sat, 23 Sep 2000 14:33:37 +0000 (14:33 +0000)]
adapted call to ParseAndLink()

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@238 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded scored related pages
ahollosi [Sat, 23 Sep 2000 14:32:26 +0000 (14:32 +0000)]
added scored related pages

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@237 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded wikiscore table
ahollosi [Sat, 23 Sep 2000 14:31:38 +0000 (14:31 +0000)]
added wikiscore table

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@236 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded wikilinks functionality plus placeholder for scored related pages
ahollosi [Sat, 23 Sep 2000 14:31:06 +0000 (14:31 +0000)]
added wikilinks functionality plus placeholder for scored related pages

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@235 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agocommented out debug statement for hitcounter
ahollosi [Sat, 23 Sep 2000 14:29:08 +0000 (14:29 +0000)]
commented out debug statement for hitcounter

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@234 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agobringing documentation up to date
ahollosi [Thu, 21 Sep 2000 19:44:31 +0000 (19:44 +0000)]
bringing documentation up to date

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@233 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofixed raw HTML bug in search results
ahollosi [Thu, 21 Sep 2000 19:21:25 +0000 (19:21 +0000)]
fixed raw HTML bug in search results

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@232 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofix odd bug (disapperaing linespace) introduced by Jeff in v1.13 of wiki_savepage...
ahollosi [Wed, 20 Sep 2000 19:28:46 +0000 (19:28 +0000)]
fix odd bug (disapperaing linespace) introduced by Jeff in v1.13 of wiki_savepage.php3

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@231 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agobrought function interface upto date (e.g. RetrievePage now takes 3 arguments)
ahollosi [Wed, 20 Sep 2000 19:26:36 +0000 (19:26 +0000)]
brought function interface upto date (e.g. RetrievePage now takes 3 arguments)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@230 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAll files of the pattern wiki_foo.php3 have been moved to lib/foo.inc,
wainstead [Mon, 18 Sep 2000 04:36:04 +0000 (04:36 +0000)]
All files of the pattern wiki_foo.php3 have been moved to lib/foo.inc,
as a matter of organization and security. To read the log file for
lib/foo.inc you need to see wiki_foo.php3.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@229 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded GetAllWikiPageNames.
wainstead [Sat, 16 Sep 2000 19:20:46 +0000 (19:20 +0000)]
Added GetAllWikiPageNames.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@228 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoCommented out the code for the "wikilinks" table, for the 1.1.8 release
wainstead [Fri, 8 Sep 2000 02:55:00 +0000 (02:55 +0000)]
Commented out the code for the "wikilinks" table, for the 1.1.8 release

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@227 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoInitial support for the wikilinks table. I added three functions to
wainstead [Tue, 5 Sep 2000 03:33:18 +0000 (03:33 +0000)]
Initial support for the wikilinks table. I added three functions to
populate and manipulate the table, and right now basic functionality
is there; the table is loaded when a new Wiki is created.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@226 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoFixed bug in fullsearch with case-sensitive matches
wainstead [Mon, 4 Sep 2000 16:55:54 +0000 (16:55 +0000)]
Fixed bug in fullsearch with case-sensitive matches

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@225 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRemoved the magic number 20 for MostPopular, replaced with the
wainstead [Mon, 4 Sep 2000 05:54:15 +0000 (05:54 +0000)]
Removed the magic number 20 for MostPopular, replaced with the
define() MOST_POPULAR_LIST_LENGTH.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@224 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded a new define() for MostPopular, which needs to be propagated to
wainstead [Mon, 4 Sep 2000 05:50:40 +0000 (05:50 +0000)]
Added a new define() for MostPopular, which needs to be propagated to
the template still.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@223 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMostPopular finally debugged, looks good.
wainstead [Mon, 4 Sep 2000 05:47:35 +0000 (05:47 +0000)]
MostPopular finally debugged, looks good.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@222 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoI removed the calls to RenderQuickSearch, RenderFullSearch and
wainstead [Mon, 4 Sep 2000 05:12:12 +0000 (05:12 +0000)]
I removed the calls to RenderQuickSearch, RenderFullSearch and
RenderMostPopular from the main loop in this file; they were being
called for each iteration and this was a little expensive.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@221 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMoved the search to the bottom, since it's not what people come to the
wainstead [Mon, 4 Sep 2000 01:38:46 +0000 (01:38 +0000)]
Moved the search to the bottom, since it's not what people come to the
page to see.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@220 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoImplemeted search features
aredridel [Tue, 29 Aug 2000 08:02:41 +0000 (08:02 +0000)]
Implemeted search features

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@219 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUpdated to include locking
aredridel [Tue, 29 Aug 2000 07:55:35 +0000 (07:55 +0000)]
Updated to include locking

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@218 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoSupport functions for a Filesystem based database
aredridel [Tue, 29 Aug 2000 07:42:46 +0000 (07:42 +0000)]
Support functions for a Filesystem based database

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@217 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded commented-out configuration for the Filsystem-based database.
aredridel [Tue, 29 Aug 2000 07:27:00 +0000 (07:27 +0000)]
Added commented-out configuration for the Filsystem-based database.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@216 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoChanged short <? tags to longer <?php tags so that the installation will work with...
aredridel [Tue, 29 Aug 2000 02:37:42 +0000 (02:37 +0000)]
Changed short <? tags to longer <?php tags so that the installation will work with any PHP settings

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@215 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoChanged short <? tag to long <?php tag, so it will work with all installations
aredridel [Tue, 29 Aug 2000 02:30:54 +0000 (02:30 +0000)]
Changed short <? tag to long <?php tag, so it will work with all installations

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@214 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMostPopular added.
wainstead [Wed, 16 Aug 2000 03:55:31 +0000 (03:55 +0000)]
MostPopular added.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@213 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoCorrected a bug in saving pages to the archive.
wainstead [Wed, 16 Aug 2000 03:30:58 +0000 (03:30 +0000)]
Corrected a bug in saving pages to the archive.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@212 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoPartially updated to come in line with the refactoring. It cannot do
wainstead [Tue, 15 Aug 2000 04:22:46 +0000 (04:22 +0000)]
Partially updated to come in line with the refactoring. It cannot do
page diffs properly.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@211 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRetrievePage now takes a third argument ('wiki' or 'archive' basically),
wainstead [Tue, 15 Aug 2000 02:59:20 +0000 (02:59 +0000)]
RetrievePage now takes a third argument ('wiki' or 'archive' basically),
and I think that's about it. wiki_editpage.php3 has some logic changes
to accomodate editing copies or live pages. OpenDataBase calls have been
commented out.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@210 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMoved SaveCopyToArchive into these files; I then rewrote it for DBM and
wainstead [Tue, 15 Aug 2000 02:54:04 +0000 (02:54 +0000)]
Moved SaveCopyToArchive into these files; I then rewrote it for DBM and
Postgresql versions only. This allowed me to refactor the interface so
we aren't making multiple calls to open the database when only one call
is needed. I also added IsInArchive(), which is a clone of IsWikiPage().
It's unfortunate in a way, but I think treating the 'wiki' and 'archive'
tables/files separately will bring benefits.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@209 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMoved SaveCopyToArchive to the database libraries while refactoring.
wainstead [Tue, 15 Aug 2000 02:49:06 +0000 (02:49 +0000)]
Moved SaveCopyToArchive to the database libraries while refactoring.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@208 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRemoved the if/else for opening the database; there is only one
wainstead [Tue, 15 Aug 2000 02:46:58 +0000 (02:46 +0000)]
Removed the if/else for opening the database; there is only one
call now to open the db, regardless whether it's an edit of a copy
or a regular page.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@207 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded a variable to define the database name for Postgresql.
wainstead [Tue, 15 Aug 2000 02:44:16 +0000 (02:44 +0000)]
Added a variable to define the database name for Postgresql.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@206 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoFixed a whitespace problem.
wainstead [Tue, 15 Aug 2000 02:39:39 +0000 (02:39 +0000)]
Fixed a whitespace problem.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@205 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoI found msql_pconnect to be unstable on wcsb.org (which has a fairly
wainstead [Fri, 11 Aug 2000 18:45:23 +0000 (18:45 +0000)]
I found msql_pconnect to be unstable on wcsb.org (which has a fairly
recent version of msql 2.x) so we'll do without persistent
connections.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@204 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUpdated info on embedding images.
wainstead [Thu, 10 Aug 2000 15:29:20 +0000 (15:29 +0000)]
Updated info on embedding images.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@203 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded LinkImage() and code to catch [http://foo.com/image.jpg] and
wainstead [Thu, 10 Aug 2000 15:23:35 +0000 (15:23 +0000)]
Added LinkImage() and code to catch [http://foo.com/image.jpg] and
embed it.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@202 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAgain, corrected the list.
wainstead [Thu, 10 Aug 2000 04:51:54 +0000 (04:51 +0000)]
Again, corrected the list.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@201 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoCoded and tested the four new DB functions for MostPopular.
wainstead [Thu, 10 Aug 2000 04:49:59 +0000 (04:49 +0000)]
Coded and tested the four new DB functions for MostPopular.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@200 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agocorrected the list of pages
wainstead [Thu, 10 Aug 2000 04:46:43 +0000 (04:46 +0000)]
corrected the list of pages

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@199 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded the proper list of program authors.
wainstead [Thu, 10 Aug 2000 04:43:42 +0000 (04:43 +0000)]
Added the proper list of program authors.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@198 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUpdated FrontPage; renamed WhatIsWikiWikiWeb to WikiWikiWeb.
wainstead [Thu, 10 Aug 2000 03:03:07 +0000 (03:03 +0000)]
Updated FrontPage; renamed WhatIsWikiWikiWeb to WikiWikiWeb.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@197 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoChanged the names $WikiDataBase and $ArchiveDataBase to $WikiPageStore
wainstead [Mon, 7 Aug 2000 22:47:40 +0000 (22:47 +0000)]
Changed the names $WikiDataBase and $ArchiveDataBase to $WikiPageStore
and $ArchivePageStore, so they are more accurate.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@196 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUse file mtime as default for $pagehash['lastmodified'].
dairiki [Thu, 3 Aug 2000 19:41:18 +0000 (19:41 +0000)]
Use file mtime as default for $pagehash['lastmodified'].

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@195 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoI just discovered that PHP has a built-in pack() and unpack(), so I've
dairiki [Thu, 3 Aug 2000 19:40:19 +0000 (19:40 +0000)]
I just discovered that PHP has a built-in pack() and unpack(), so I've
eliminated zip_pack()/zip_unpack().  Also now extract file mtime from
header when unzipping.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@194 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoStrip trailing white space from lines when initializing page content.
dairiki [Tue, 1 Aug 2000 18:57:38 +0000 (18:57 +0000)]
Strip trailing white space from lines when initializing page content.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@191 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoPHP4 compatibility fixes. Also add "versions are identical" message.
dairiki [Tue, 1 Aug 2000 18:55:22 +0000 (18:55 +0000)]
PHP4 compatibility fixes.  Also add "versions are identical" message.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@190 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoPHP4 compatibility fixes.
dairiki [Tue, 1 Aug 2000 18:54:18 +0000 (18:54 +0000)]
PHP4 compatibility fixes.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@189 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoDelete trailing spaces from page lines when saving.
dairiki [Thu, 20 Jul 2000 18:36:46 +0000 (18:36 +0000)]
Delete trailing spaces from page lines when saving.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@173 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoCode cleanup and bug fixes.
dairiki [Thu, 20 Jul 2000 18:30:44 +0000 (18:30 +0000)]
Code cleanup and bug fixes.
Discovered PHP builtin quoted_printable_decode().
Strip trailing spaces and tabs from page text lines.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@172 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUse quoted-printable encoding for MIMEified pages.
dairiki [Wed, 19 Jul 2000 16:25:58 +0000 (16:25 +0000)]
Use quoted-printable encoding for MIMEified pages.
Rawurlencode pagenames (and other meta-data strings) in MIME- and zip- files.
Reset PHP's watchdog timer when zipping and unzipping.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@171 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded configuration constant WIKI_PGSRC, which specifies the source of the
dairiki [Tue, 18 Jul 2000 05:15:58 +0000 (05:15 +0000)]
Added configuration constant WIKI_PGSRC, which specifies the source of the
initial page contents when index.php3 is invoked on an empty (ie. no
FrontPage) database.

If WIKI_PGSRC is set to './pgsrc' (or the name of some other directory), the
old behavior results: page contents are read from the pgsrc (or other
named) directory.

WIKI_PGSRC can also be set to the name of a ZIP file.  The page contents
are then (surprise) read from the ZIP file.

In either case (directory or zip file), one file per page is expected.
The file can be plain text, in which case the page name is taken from the
file name, and the rest of the page meta-data gets filled in with defaults.
Or the file can be MIMEified, containing one or more parts with the
application/x-phpwiki.  In this case, page meta-data (including page name)
is taken from the MIME headers.  Note also that a multipart MIME file
can contain several versions of a page --- in this case all the versions
are entered into the database.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@170 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoMoved the bulk of the zip and MIME code from admin/wiki_zip.php3 into
dairiki [Tue, 18 Jul 2000 03:25:52 +0000 (03:25 +0000)]
Moved the bulk of the zip and MIME code from admin/wiki_zip.php3 into
new file wiki_ziplib.php3.  Wiki_ziplib.php3 also contains new unzipping
and MIME parsing code.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@169 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded a hash to define DBM files and new definitions for wikilinks,
wainstead [Sun, 16 Jul 2000 06:46:36 +0000 (06:46 +0000)]
Added a hash to define DBM files and new definitions for wikilinks,
hottopics etc.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@168 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoRefactored the way DBM files and handles are used. We should be able
wainstead [Sun, 16 Jul 2000 06:44:46 +0000 (06:44 +0000)]
Refactored the way DBM files and handles are used. We should be able
to refactor the function library without too much trouble now... also,
I can roll out the other features for the DBM version like MostPopular.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@167 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded two functions to pad serialized hash with spaces,
wainstead [Sun, 16 Jul 2000 05:50:58 +0000 (05:50 +0000)]
Added two functions to pad serialized hash with spaces,
PadSerializedData() and UnPadSerializedData(). This should help reduce
the amount of space a DBM file uses.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@166 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofixed magic_quotes_gpc=1 bug release-1_1_7
ahollosi [Sat, 15 Jul 2000 21:00:38 +0000 (21:00 +0000)]
fixed magic_quotes_gpc=1 bug

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@164 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoUpdated for 1.1.7.
wainstead [Sat, 15 Jul 2000 20:58:45 +0000 (20:58 +0000)]
Updated for 1.1.7.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@163 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoFirst version of the mSQL install file.
wainstead [Sat, 15 Jul 2000 20:53:00 +0000 (20:53 +0000)]
First version of the mSQL install file.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@162 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded diff links to UpdateRecentChanges() (Jeff's idea)
ahollosi [Sat, 15 Jul 2000 18:06:40 +0000 (18:06 +0000)]
added diff links to UpdateRecentChanges() (Jeff's idea)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@161 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoBug fixes: "[[Link] [Link]", "[SomeLink] [HammondWiki]".
dairiki [Wed, 12 Jul 2000 18:47:53 +0000 (18:47 +0000)]
Bug fixes: "[[Link] [Link]", "[SomeLink] [HammondWiki]".

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@160 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded a lot more markup. Added some bugs.
wainstead [Wed, 12 Jul 2000 02:53:40 +0000 (02:53 +0000)]
Added a lot more markup. Added some bugs.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@159 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded a few things
wainstead [Tue, 11 Jul 2000 04:08:30 +0000 (04:08 +0000)]
added a few things

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@158 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoThis will test all the markup rules eventually. Right now I'm using it
wainstead [Tue, 11 Jul 2000 04:01:25 +0000 (04:01 +0000)]
This will test all the markup rules eventually. Right now I'm using it
to test changes to rules that use the tab key (I'm writing tabless
equivalents.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@157 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded new markup rules for ordered and unordered lists.
wainstead [Tue, 11 Jul 2000 03:59:06 +0000 (03:59 +0000)]
Added new markup rules for ordered and unordered lists.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@156 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded comment about Postgresql's 8K limit per row.
wainstead [Tue, 11 Jul 2000 02:57:05 +0000 (02:57 +0000)]
Added comment about Postgresql's 8K limit per row.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@155 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoI think Zend didn't like the way Jeff wrote the rcs_id function as the
wainstead [Tue, 11 Jul 2000 02:50:04 +0000 (02:50 +0000)]
I think Zend didn't like the way Jeff wrote the rcs_id function as the
block of an 'if' statement; I added brackets to it and now it works fine.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@154 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoNew function rcs_id(): we don't want any garbage emitted when generating zip files.
dairiki [Fri, 7 Jul 2000 19:53:50 +0000 (19:53 +0000)]
New function rcs_id(): we don't want any garbage emitted when generating zip files.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@153 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agostripped an obsolete comment.
wainstead [Fri, 7 Jul 2000 04:49:25 +0000 (04:49 +0000)]
stripped an obsolete comment.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@152 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded mysql_error() to diagnose a problem writing a page.
wainstead [Fri, 7 Jul 2000 02:44:59 +0000 (02:44 +0000)]
Added mysql_error() to diagnose a problem writing a page.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@151 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded a function to get all Wiki page names
wainstead [Fri, 7 Jul 2000 02:37:01 +0000 (02:37 +0000)]
Added a function to get all Wiki page names

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@150 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadd an empty line after date to RecentChanges, so that if all files of that day are...
ahollosi [Wed, 5 Jul 2000 14:52:04 +0000 (14:52 +0000)]
add an empty line after date to RecentChanges, so that if all files of that day are deleted, each date remains a paragraph on its own.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@149 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofixed sloppy coding: had omitted an "
ahollosi [Wed, 5 Jul 2000 13:52:28 +0000 (13:52 +0000)]
fixed sloppy coding: had omitted an "

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@148 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded support for locked pages
ahollosi [Tue, 4 Jul 2000 22:32:17 +0000 (22:32 +0000)]
added support for locked pages

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@147 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofixed bug: searching/updating for names containing '/' didn't work
ahollosi [Tue, 4 Jul 2000 21:26:43 +0000 (21:26 +0000)]
fixed bug: searching/updating for names containing '/' didn't work

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@146 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agofixed redundant htmlspecialchars() in ConcurrentUpdates()
ahollosi [Tue, 4 Jul 2000 21:19:58 +0000 (21:19 +0000)]
fixed redundant htmlspecialchars() in ConcurrentUpdates()

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@145 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded function GetAllWikiPageNames($dbi)
ahollosi [Tue, 4 Jul 2000 21:18:09 +0000 (21:18 +0000)]
added function GetAllWikiPageNames($dbi)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@144 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoI got tired of seeing the line about the birthday.
wainstead [Tue, 4 Jul 2000 02:11:48 +0000 (02:11 +0000)]
I got tired of seeing the line about the birthday.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@143 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoThis is a near complete rewrite.
dairiki [Mon, 3 Jul 2000 23:55:22 +0000 (23:55 +0000)]
This is a near complete rewrite.
New, faster, diff algorithm in _WikiDiffEngine.
New methods: WikiDiff::reverse, and  WikiDiff::compose.
New argument to constructors of Wiki*DiffFormatter to generate reversed diffs.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@142 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded two echo statements to report mysql_error in OpenDataBase(). I
wainstead [Sun, 2 Jul 2000 22:12:05 +0000 (22:12 +0000)]
Added two echo statements to report mysql_error in OpenDataBase(). I
did this while installing phpwiki on Sourceforge, and it was how I
figured out what I was doing wrong.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@141 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoNew CREDITS file so everybody gets credit for what they did, in classic
wainstead [Sun, 2 Jul 2000 21:27:54 +0000 (21:27 +0000)]
New CREDITS file so everybody gets credit for what they did, in classic
GNU fashion.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@140 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoAdded the $Id:$ tag at the top of the file.
wainstead [Sun, 2 Jul 2000 15:54:44 +0000 (15:54 +0000)]
Added the $Id:$ tag at the top of the file.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@139 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoadded <!DOCTYPE> and ALT tag for logo so that phpwiki becomes fully HTML compliant...
ahollosi [Fri, 30 Jun 2000 17:51:53 +0000 (17:51 +0000)]
added <!DOCTYPE> and ALT tag for logo so that phpwiki becomes fully HTML compliant, also added <meta http-equiv>

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@138 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoFixed bugs: empty diffs; WikiUnifiedDiffFormatter.
dairiki [Fri, 30 Jun 2000 15:04:17 +0000 (15:04 +0000)]
Fixed bugs: empty diffs; WikiUnifiedDiffFormatter.
Fleshed out Arno's version info table.
Use unified diff's rather than plain diffs.
(Is there a good reason to prefer plain diffs?)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@137 96ab9672-09ca-45d6-a79d-3d69d39ca109

23 years agoFixed searches finally. Both full and title searches now work.
wainstead [Fri, 30 Jun 2000 02:47:07 +0000 (02:47 +0000)]
Fixed searches finally. Both full and title searches now work.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@136 96ab9672-09ca-45d6-a79d-3d69d39ca109