]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
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
wainstead [Fri, 30 Jun 2000 01:57:09 +0000 (01:57 +0000)]
Applied a patch that adds ###LOGO### to the templating system. The value
of $logo is now used instead of the logo being hard coded.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@135
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 30 Jun 2000 01:40:40 +0000 (01:40 +0000)]
Applied a patch that adds ###LOGO### to the templating system. The value
of $logo is now used instead of the logo being hard coded.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@134
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 30 Jun 2000 00:56:27 +0000 (00:56 +0000)]
Now sets the "created" field only, and not "lastmodified".
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@133
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 30 Jun 2000 00:44:23 +0000 (00:44 +0000)]
Documented the four new functions IncreaseHitCount, GetHitCount,
InitMostPopular, and MostPopularNextMatch.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@132
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 30 Jun 2000 00:24:29 +0000 (00:24 +0000)]
Added the four new functions to the comment at the start of the file.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@131
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
ahollosi [Thu, 29 Jun 2000 16:20:32 +0000 (16:20 +0000)]
added some info about wiki/archive page
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@130
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
ahollosi [Thu, 29 Jun 2000 16:19:54 +0000 (16:19 +0000)]
added diff link
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@129
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
ahollosi [Thu, 29 Jun 2000 16:12:00 +0000 (16:12 +0000)]
added diff feature - diff code by Geoffrey T. Dairiki
slightly modified, so that it works with templates
changed some colors as well.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@128
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
ahollosi [Thu, 29 Jun 2000 14:43:36 +0000 (14:43 +0000)]
version is no longer part of primary key of archive. otherwise multiple versions got stored - and a random version retrieved.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@127
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 29 Jun 2000 04:40:50 +0000 (04:40 +0000)]
Added a few things.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@126
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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