]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
23 years agoUpdated settings for mSQL. Retested it to be sure this copy uses DBM ;-)
wainstead [Thu, 29 Jun 2000 04:35:06 +0000 (04:35 +0000)]
Updated settings for mSQL. Retested it to be sure this copy uses DBM ;-)

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

23 years agoUpdated the column size of "line" to 128 in both WIKIPAGES and
wainstead [Thu, 29 Jun 2000 04:30:31 +0000 (04:30 +0000)]
Updated the column size of "line" to 128 in both WIKIPAGES and
ARCHIVEPAGES tables.

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

23 years agoGot the msqlDecomposeString function working. Now mSQL-based Wikis
wainstead [Thu, 29 Jun 2000 04:29:06 +0000 (04:29 +0000)]
Got the msqlDecomposeString function working. Now mSQL-based Wikis
will support any page length. I set the length of lines to 128,
thinking this is a fair number; it means users cannot have words of
more than 128 chars in length (that is, without white spaces).

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

23 years agoUpdated the list of functions at the top of the file.
wainstead [Thu, 29 Jun 2000 03:25:17 +0000 (03:25 +0000)]
Updated the list of functions at the top of the file.

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

23 years agoMinor updates to the text.
wainstead [Thu, 29 Jun 2000 03:08:37 +0000 (03:08 +0000)]
Minor updates to the text.

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

23 years agoAll the new functions now have "return" statements in them; this allows
wainstead [Wed, 28 Jun 2000 22:22:05 +0000 (22:22 +0000)]
All the new functions now have "return" statements in them; this allows
the other storage methods to work once again until the functions are
fleshed out.

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

23 years agoUpdates. Nothing big.
wainstead [Wed, 28 Jun 2000 16:40:08 +0000 (16:40 +0000)]
Updates. Nothing big.

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

23 years agoCopied the new functions Arno wrote into this file.
wainstead [Wed, 28 Jun 2000 02:13:22 +0000 (02:13 +0000)]
Copied the new functions Arno wrote into this file.

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

23 years agofixed typo in UpdateRecentChanges - these bugs are quite embarrasing
ahollosi [Tue, 27 Jun 2000 20:00:08 +0000 (20:00 +0000)]
fixed typo in UpdateRecentChanges - these bugs are quite embarrasing

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

23 years agofixed bug (missing init of $pagehash[created] and $pagehash[flags]) which
ahollosi [Tue, 27 Jun 2000 19:41:23 +0000 (19:41 +0000)]
fixed bug (missing init of $pagehash[created] and $pagehash[flags]) which
prevented creation of new pages when using mySQL

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

23 years agoIncorporated the fuction that decomposes the page text into strings
wainstead [Tue, 27 Jun 2000 03:57:40 +0000 (03:57 +0000)]
Incorporated the fuction that decomposes the page text into strings
less than MSQL_MAX_LINE_LENGTH. It is not all working together yet
though.

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

23 years agoAdded support for hitcount and MostPopular (%%Mostpopular%% markup)
ahollosi [Mon, 26 Jun 2000 21:26:45 +0000 (21:26 +0000)]
Added support for hitcount and MostPopular (%%Mostpopular%% markup)
quick hack - works only with mySQL so far

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

23 years agochanged markup for search boxes to %%Search%%, %%Fullsearch%%
ahollosi [Mon, 26 Jun 2000 21:23:41 +0000 (21:23 +0000)]
changed markup for search boxes to %%Search%%, %%Fullsearch%%

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

23 years agofixed raw HTML exploit
ahollosi [Mon, 26 Jun 2000 20:10:05 +0000 (20:10 +0000)]
fixed raw HTML exploit

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

23 years agofixed date check in UpdateRecentChanges
ahollosi [Mon, 26 Jun 2000 20:05:23 +0000 (20:05 +0000)]
fixed date check in UpdateRecentChanges

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

23 years agoThis is still in transition. Do not use in a production setting. release-1_1_6
wainstead [Mon, 26 Jun 2000 03:56:29 +0000 (03:56 +0000)]
This is still in transition. Do not use in a production setting.

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

23 years agoThis is in a completely transitional state, and should not be used in
wainstead [Mon, 26 Jun 2000 03:55:27 +0000 (03:55 +0000)]
This is in a completely transitional state, and should not be used in
a production setting under penalty of death.

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

23 years agoAdded some comments, and I think the mSQL stuff is revised
wainstead [Mon, 26 Jun 2000 03:54:10 +0000 (03:54 +0000)]
Added some comments, and I think the mSQL stuff is revised

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

23 years agoChanged the settings for mSQL.
wainstead [Sun, 25 Jun 2000 20:00:22 +0000 (20:00 +0000)]
Changed the settings for mSQL.

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

23 years agoReworked the schema to get around mSQL's limitation where you cannot
wainstead [Sun, 25 Jun 2000 19:40:16 +0000 (19:40 +0000)]
Reworked the schema to get around mSQL's limitation where you cannot
use TEXT in a LIKE clause. Lines of a page are now stored in a
separate table.

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

23 years agoAbandoned previous approach for handling search data... this
wainstead [Sun, 25 Jun 2000 19:38:55 +0000 (19:38 +0000)]
Abandoned previous approach for handling search data... this
implements a new schema, where page content is in a separate table,
stored by line.

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

23 years agoUpped the size of the "searchterms" field.
wainstead [Sun, 25 Jun 2000 07:34:36 +0000 (07:34 +0000)]
Upped the size of the "searchterms" field.

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

23 years agoEverything now works, though there may be some bugs lurking and I
wainstead [Sun, 25 Jun 2000 07:33:29 +0000 (07:33 +0000)]
Everything now works, though there may be some bugs lurking and I
cannot vouch for the timestamps either. There is a new field,
"searchterms," which is a uniq of all the words in the page source
(after all nonalphanumeric chars have been stripped).

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

23 years agoAdded settings for mSQL.
wainstead [Sun, 25 Jun 2000 03:46:18 +0000 (03:46 +0000)]
Added settings for mSQL.

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

23 years agoFirst commit of the function library to support mSQL. Already this
wainstead [Sun, 25 Jun 2000 03:43:33 +0000 (03:43 +0000)]
First commit of the function library to support mSQL. Already this
works for inserts and retrievals, and only the searching needs
implementation. That will be a little tricky because TEXT fields
cannot be used in LIKE clauses, but I have a workaround sketched out.

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

23 years agoFirst cut at a schema for a mSQL-based PhpWiki.
wainstead [Sat, 24 Jun 2000 06:41:33 +0000 (06:41 +0000)]
First cut at a schema for a mSQL-based PhpWiki.

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

23 years agoKnocked off about 4-5 items.
wainstead [Fri, 23 Jun 2000 03:54:01 +0000 (03:54 +0000)]
Knocked off about 4-5 items.

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

23 years agoFixed a syntax error with the h1, h2, h3 tags.
wainstead [Fri, 23 Jun 2000 03:20:01 +0000 (03:20 +0000)]
Fixed a syntax error with the h1, h2, h3 tags.

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

23 years agoupdated the information
wainstead [Fri, 23 Jun 2000 03:15:11 +0000 (03:15 +0000)]
updated the information

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

23 years agoAdded wiki_pageinfo.php3 and its description
wainstead [Fri, 23 Jun 2000 02:57:47 +0000 (02:57 +0000)]
Added wiki_pageinfo.php3 and its description

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

23 years agoWent through all the steps myself of installing a Postgresql
wainstead [Fri, 23 Jun 2000 02:54:50 +0000 (02:54 +0000)]
Went through all the steps myself of installing a Postgresql
based Wiki. No problems, mostly.

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

23 years agochanged the date from April 22 to a generic thing
wainstead [Fri, 23 Jun 2000 02:36:22 +0000 (02:36 +0000)]
changed the date from April 22 to a generic thing

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

23 years agoFixed searches so they are case insensitive.
wainstead [Fri, 23 Jun 2000 01:40:01 +0000 (01:40 +0000)]
Fixed searches so they are case insensitive.

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

23 years agoBrought the full search in line with the rest of the code; still
wainstead [Fri, 23 Jun 2000 01:30:27 +0000 (01:30 +0000)]
Brought the full search in line with the rest of the code; still
contains a small bug though... it does a full search on the serialized
data so a search on "wiki" will return pages that do not seem to
contain the word "wiki" (but the word appears in the "author" field).

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

23 years agoBrought the hash up to date with Arno's changes... this fixes FullSearch.
wainstead [Fri, 23 Jun 2000 01:01:24 +0000 (01:01 +0000)]
Brought the hash up to date with Arno's changes... this fixes FullSearch.

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

23 years agothe list just got longer
wainstead [Thu, 22 Jun 2000 05:23:08 +0000 (05:23 +0000)]
the list just got longer

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

23 years agofixed ConcurrentUpdate bug when doing EditCopy and versions difference >1.
ahollosi [Wed, 21 Jun 2000 23:55:45 +0000 (23:55 +0000)]
fixed ConcurrentUpdate bug when doing EditCopy and versions difference >1.
fixed logic for when EditCopy link may appear

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

23 years agoadapted to new $pagehash structure ("pagename")
ahollosi [Wed, 21 Jun 2000 23:34:08 +0000 (23:34 +0000)]
adapted to new $pagehash structure ("pagename")
fixed bug: multiple matches in one line were only counted as one match

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

23 years agochanged to new db schema
ahollosi [Wed, 21 Jun 2000 22:59:18 +0000 (22:59 +0000)]
changed to new db schema

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

23 years agoadapted to new $pagehash structure ("refs" and "lastmodified")
ahollosi [Wed, 21 Jun 2000 22:57:48 +0000 (22:57 +0000)]
adapted to new $pagehash structure ("refs" and "lastmodified")
added support for "__" bold markup

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

23 years agoadapted to new $pagehash structure ("refs" and "lastmodified")
ahollosi [Wed, 21 Jun 2000 22:57:17 +0000 (22:57 +0000)]
adapted to new $pagehash structure ("refs" and "lastmodified")

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

23 years agofile renamed as wiki_pageinfo.php3
ahollosi [Wed, 21 Jun 2000 19:34:39 +0000 (19:34 +0000)]
file renamed as wiki_pageinfo.php3

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

23 years agoadded support for wiki_pageinfo.php3
ahollosi [Wed, 21 Jun 2000 19:33:19 +0000 (19:33 +0000)]
added support for wiki_pageinfo.php3

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

23 years agorenamed pageviewer.php3 as wiki_pageinfo.php3
ahollosi [Wed, 21 Jun 2000 19:32:33 +0000 (19:32 +0000)]
renamed pageviewer.php3 as wiki_pageinfo.php3
uses templates now and is called from index.php3

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

24 years agoDebugged the InsertPage problem with adding new pages: 'flags' and
wainstead [Wed, 21 Jun 2000 04:53:11 +0000 (04:53 +0000)]
Debugged the InsertPage problem with adding new pages: 'flags' and
'pagename' were not defined and the database threw a fit about ,,
showing up as a result. Wrote and debugged the search functions and
they work now except they are case sensitive.

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

24 years agoAdded a few things.
wainstead [Tue, 20 Jun 2000 04:52:52 +0000 (04:52 +0000)]
Added a few things.

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

24 years agoInsertPage() and RetrievePage() now work mostly. I noticed during
wainstead [Tue, 20 Jun 2000 04:50:57 +0000 (04:50 +0000)]
InsertPage() and RetrievePage() now work mostly. I noticed during
testing that I cannot create new pages, which looks like a small bug
somewhere. But I was able to repeatedly: drop all tables, reload them
with the schema file, and then load a new Wiki via wiki_setup.php3. It
worked nicely. The solution was in hard-coding the data structure in
the pg functions. It should still be maintainable.

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

24 years agoTable 'archive' is now identical to table 'wiki' and I added all the
wainstead [Tue, 20 Jun 2000 04:39:16 +0000 (04:39 +0000)]
Table 'archive' is now identical to table 'wiki' and I added all the
GRANT statements needed for user 'nobody'. This might change again in
the future.

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

24 years agoCorrected the entry for 'flags' which is an integer, not a string
wainstead [Tue, 20 Jun 2000 03:41:43 +0000 (03:41 +0000)]
Corrected the entry for 'flags' which is an integer, not a string

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

24 years agoAdded "pagename" and "refs" (defined as an empty array) to bring this
wainstead [Tue, 20 Jun 2000 03:27:41 +0000 (03:27 +0000)]
Added "pagename" and "refs" (defined as an empty array) to bring this
in line with the page data structure (i.e. $pagehash). I tested this
by wiping my dbm libraries, and a new Wiki was created like usual. If
you use the updated pageviewer.php3 with page source turned off you
see refs and content both show up as "array".

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

24 years agoAdded a "go" button, and a checkbox that allows you to choose whether
wainstead [Tue, 20 Jun 2000 03:16:37 +0000 (03:16 +0000)]
Added a "go" button, and a checkbox that allows you to choose whether
to render the page source (on by default). The next step is to add a
button that allows you to dump the whole database, but it might be
easier to put that in a seperate page. The way this is now seems
reasonable.

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

24 years agoAdded a description of the primary data structure, $pagehash. Each
wainstead [Tue, 20 Jun 2000 02:29:18 +0000 (02:29 +0000)]
Added a description of the primary data structure, $pagehash. Each
field of the hash and the data type it contains is described.

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

24 years agoAdded some comments to the code for Postgresql support.
wainstead [Tue, 20 Jun 2000 01:38:42 +0000 (01:38 +0000)]
Added some comments to the code for Postgresql support.

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

24 years agoVarious hacks to try to get the InsertPage() function working, no
wainstead [Tue, 20 Jun 2000 01:25:16 +0000 (01:25 +0000)]
Various hacks to try to get the InsertPage() function working, no
luck yet though.

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

24 years agoThe to-do list.
wainstead [Tue, 20 Jun 2000 01:18:18 +0000 (01:18 +0000)]
The to-do list.

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

24 years agoI retrieved the 1.3 version, the last one Arno worked on, and
wainstead [Tue, 20 Jun 2000 01:11:14 +0000 (01:11 +0000)]
I retrieved the 1.3 version, the last one Arno worked on, and
correctly merged the differences this time. All I needed to add was a
hook that checks the data type of the "value" and if it's an array, it
implode()s it with <br> tags so the raw source is written to a
cell. This could be made configurable with a checkbox because it might
get annoying, but I like seeing the page source.

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

24 years agocorrected some typos
ahollosi [Mon, 19 Jun 2000 20:21:31 +0000 (20:21 +0000)]
corrected some typos

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

24 years agoadded info for mySQL and PostgreSQL
ahollosi [Mon, 19 Jun 2000 20:18:58 +0000 (20:18 +0000)]
added info for mySQL and PostgreSQL

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

24 years agoMerged differences between Arno's and mine; I modified it so it would
wainstead [Sun, 18 Jun 2000 17:23:03 +0000 (17:23 +0000)]
Merged differences between Arno's and mine; I modified it so it would
handle array elements that are also arrays, and Arno added a function
to display the page's properties.

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

24 years agoinitial commit: README describes template placehodlers
ahollosi [Sun, 18 Jun 2000 16:05:34 +0000 (16:05 +0000)]
initial commit: README describes template placehodlers

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

24 years agoadded support for HTML templates
ahollosi [Sun, 18 Jun 2000 15:12:13 +0000 (15:12 +0000)]
added support for HTML templates

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

24 years agoadded info for archived version
ahollosi [Sun, 18 Jun 2000 15:08:53 +0000 (15:08 +0000)]
added info for archived version

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

24 years agoAdded a few more SQL commands to give user 'nobody' permission to
wainstead [Sun, 18 Jun 2000 05:25:56 +0000 (05:25 +0000)]
Added a few more SQL commands to give user 'nobody' permission to
change tables.

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

24 years agoUpdated this file so it no longer uses its own variables to define the
wainstead [Sun, 18 Jun 2000 03:59:20 +0000 (03:59 +0000)]
Updated this file so it no longer uses its own variables to define the
database connection; they all come from wiki_config.php3 now.

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

24 years agoUpdated the test for the OpenDataBase function. It now tests to see
wainstead [Sun, 18 Jun 2000 03:53:29 +0000 (03:53 +0000)]
Updated the test for the OpenDataBase function. It now tests to see
what the return type is, and whether it returned true.

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

24 years agoOops, wrong file. This reverts back to 1.5.
wainstead [Sun, 18 Jun 2000 03:51:55 +0000 (03:51 +0000)]
Oops, wrong file. This reverts back to 1.5.

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

24 years agoUpdated the test for the open database function; it now tests what the
wainstead [Sun, 18 Jun 2000 03:50:30 +0000 (03:50 +0000)]
Updated the test for the open database function; it now tests what the
return type is, and if it's false it will report it.

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

24 years agoAdded the remaining database fields needed for a Wiki page on setup
wainstead [Wed, 14 Jun 2000 04:09:20 +0000 (04:09 +0000)]
Added the remaining database fields needed for a Wiki page on setup

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

24 years agoChanged "text" to "content" to come in line with the new db schema
wainstead [Wed, 14 Jun 2000 03:43:38 +0000 (03:43 +0000)]
Changed "text" to "content" to come in line with the new db schema

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

24 years agoMissed "$text" variable passed in from the HTML form
wainstead [Wed, 14 Jun 2000 03:41:09 +0000 (03:41 +0000)]
Missed "$text" variable passed in from the HTML form

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

24 years agoChanged "text" to "content" to come in line with the new db schema
wainstead [Wed, 14 Jun 2000 03:38:06 +0000 (03:38 +0000)]
Changed "text" to "content" to come in line with the new db schema

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

24 years agoConverted "text" to "content" to come in line with the new db schema
wainstead [Wed, 14 Jun 2000 03:31:50 +0000 (03:31 +0000)]
Converted "text" to "content" to come in line with the new db schema

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

24 years agoConverted RetrievePage; changed to pg_pconnect() for a persistent
wainstead [Wed, 14 Jun 2000 03:28:01 +0000 (03:28 +0000)]
Converted RetrievePage; changed to pg_pconnect() for a persistent
connection; changed the CloseDataBase() to NOOP; pulled out 'echo'
calls that were for debugging

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

24 years agoAdded tests for the RetrievePage function, and cleaned it up a bit
wainstead [Wed, 14 Jun 2000 03:25:23 +0000 (03:25 +0000)]
Added tests for the RetrievePage function, and cleaned it up a bit

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

24 years agoChanged 'text' to 'content' for the pagehash array; this will happen
wainstead [Wed, 14 Jun 2000 03:23:44 +0000 (03:23 +0000)]
Changed 'text' to 'content' for the pagehash array; this will happen
across a few files due to the new database schema

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

24 years agoAdded a test to see if RetrievePage returned an array or -1
wainstead [Wed, 14 Jun 2000 01:47:53 +0000 (01:47 +0000)]
Added a test to see if RetrievePage returned an array or -1

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

24 years agoSimple page viewer for viewing the structure of pages (that is, the
wainstead [Wed, 14 Jun 2000 01:34:51 +0000 (01:34 +0000)]
Simple page viewer for viewing the structure of pages (that is, the
internal structure.)

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

24 years agoGot IsWikiPage working but I don't like the implementation... it will
wainstead [Wed, 14 Jun 2000 01:04:56 +0000 (01:04 +0000)]
Got IsWikiPage working but I don't like the implementation... it will
be redone later.

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

24 years agoAdded a test for IsWikiPage(), but it will need refinement.
wainstead [Wed, 14 Jun 2000 01:02:41 +0000 (01:02 +0000)]
Added a test for IsWikiPage(), but it will need refinement.

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

24 years agoAdded the ID.
wainstead [Mon, 12 Jun 2000 04:19:17 +0000 (04:19 +0000)]
Added the ID.

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

24 years agoAdded variables for Postgresql, which are commented out for now.
wainstead [Mon, 12 Jun 2000 04:15:40 +0000 (04:15 +0000)]
Added variables for Postgresql, which are commented out for now.

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

24 years agoInitial commit of the INSTALL file for Postgresql.
wainstead [Mon, 12 Jun 2000 04:14:42 +0000 (04:14 +0000)]
Initial commit of the INSTALL file for Postgresql.

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

24 years agoInitial commit of the Postgresql DB library. This is just a hack of
wainstead [Mon, 12 Jun 2000 04:13:57 +0000 (04:13 +0000)]
Initial commit of the Postgresql DB library. This is just a hack of
the MySQL file for the moment; only the open and close functions
have been converted so far.

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

24 years agoInitial commit of a testbed for the dbm library files. My hope is
wainstead [Mon, 12 Jun 2000 04:11:47 +0000 (04:11 +0000)]
Initial commit of a testbed for the dbm library files. My hope is
that this will serve as a verifyer of any DB port, by validating all
the functions.

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

24 years agoAdded a note about requiring PHP 3.0.9 or greater.
wainstead [Sun, 11 Jun 2000 18:30:09 +0000 (18:30 +0000)]
Added a note about requiring PHP 3.0.9 or greater.

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

24 years agoInitial version of the schema for Postgresql.
wainstead [Sat, 10 Jun 2000 03:49:29 +0000 (03:49 +0000)]
Initial version of the schema for Postgresql.

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

24 years agofixed "[[link] [link]" bug
ahollosi [Fri, 9 Jun 2000 10:25:12 +0000 (10:25 +0000)]
fixed "[[link] [link]" bug
restructured wiki_display & wiki_transform:
wiki_display does RetrievePage now and adds WikiHeader & WikiFooter
wiki_transfrom only cares about creation of $html out of $pagehash

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

24 years agoleading & trailing spaces are now preserved within '[[]'
ahollosi [Fri, 9 Jun 2000 10:20:45 +0000 (10:20 +0000)]
leading & trailing spaces are now preserved within '[[]'

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

24 years agoadded quick help for formatting rules as seen on tcl'ers
ahollosi [Fri, 9 Jun 2000 10:19:40 +0000 (10:19 +0000)]
added quick help for formatting rules as seen on tcl'ers

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

24 years agocorrected description of InitTitleSearch and InitFullSearch plus minor additions...
ahollosi [Fri, 9 Jun 2000 10:17:42 +0000 (10:17 +0000)]
corrected description of InitTitleSearch and InitFullSearch plus minor additions throughout file

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

24 years agoAll pages now get a default version of "1" on setup; this is
wainstead [Fri, 9 Jun 2000 03:10:19 +0000 (03:10 +0000)]
All pages now get a default version of "1" on setup; this is
required by the new LostUpdateProblem feature.

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

24 years agobeautified 1.1.5 entry release-1_1_5
ahollosi [Thu, 8 Jun 2000 22:11:42 +0000 (22:11 +0000)]
beautified 1.1.5 entry

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

24 years agochanged mySQL schema: column 'data' renamed 'hash' because 'dada' is a reserved word.
ahollosi [Thu, 8 Jun 2000 22:11:05 +0000 (22:11 +0000)]
changed mySQL schema: column 'data' renamed 'hash' because 'dada' is a reserved word.

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

24 years agoNewest version, 1.1.5
wainstead [Thu, 8 Jun 2000 21:49:29 +0000 (21:49 +0000)]
Newest version, 1.1.5

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

24 years agoConcurrent editing of pages is detected now - fixes LostUpdateProblem
ahollosi [Wed, 7 Jun 2000 11:10:46 +0000 (11:10 +0000)]
Concurrent editing of pages is detected now - fixes LostUpdateProblem
(EditLinks is *not* treated this way yet)
RecentChanges now indicates newly created pages with '(new)'

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

24 years agoConcurrent editing of pages is detected now - fixes LostUpdateProblem
ahollosi [Wed, 7 Jun 2000 11:07:23 +0000 (11:07 +0000)]
Concurrent editing of pages is detected now - fixes LostUpdateProblem

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

24 years agoRecentChanges now indicates newly created pages with '(new)'
ahollosi [Wed, 7 Jun 2000 10:50:01 +0000 (10:50 +0000)]
RecentChanges now indicates newly created pages with '(new)'

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

24 years agofixed long-standing bug in SetHTMLOutputMode() when using SINGLE_DEPTH
ahollosi [Tue, 6 Jun 2000 06:17:38 +0000 (06:17 +0000)]
fixed long-standing bug in SetHTMLOutputMode() when using SINGLE_DEPTH
tags on the stack are now only closed as necessary (example: nested lists)

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

24 years agoI added the $Id:$ tag to all files; this is a mechanism that CVS
wainstead [Mon, 5 Jun 2000 21:46:50 +0000 (21:46 +0000)]
I added the $Id:$ tag to all files; this is a mechanism that CVS
follows to add the version information in each file. The ID's are in
HTML comments too, so they will show in the page source of all Wiki
pages, which might help debugging.

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

24 years agoThis is the first draft of the contract for the database interface. When
wainstead [Mon, 5 Jun 2000 20:54:42 +0000 (20:54 +0000)]
This is the first draft of the contract for the database interface. When
this document is finalized, it will allow porters to write a PHP file
that interfaces with any data store (like DBM files, RDBMS's, etc)
without needing to change any other files in the Wiki source tree.

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