]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
riessen [Mon, 26 Nov 2001 09:25:36 +0000 (09:25 +0000)]
implemented the most_recent and most_popular functions, and minor
refactorings
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@667
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:28:31 +0000 (06:28 +0000)]
server needs access to subdirectories of templates for theme files (css and images).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@665
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:23:42 +0000 (06:23 +0000)]
CSS & images now stored in a folder within templates according to global $theme.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@664
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:23:38 +0000 (06:23 +0000)]
Signature, logo & css settings moved to /templates/theme, to allow for themes and and a step towards simplifying various paths (VIRTUAL_PATH, DATA_PATH) & http server directives.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@663
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 20:01:52 +0000 (20:01 +0000)]
New class: WikiAnonymousCb
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@662
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:49:21 +0000 (19:49 +0000)]
Fix typo/bug in PearDB::text_search.
Change calling conventions for ErrorManager::pushErrorHandler() and
ErrorManager::setFatalHandler(). Now these take a WikiCallback
instead of the Pear style callback specification.
Change argument semantics for TextSearchQuery::makeSqlClause.
Now takes a WikiCallback.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@661
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:48:15 +0000 (19:48 +0000)]
Change argument semantics for TextSearchQuery::makeSqlClause.
Now takes a WikiCallback.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@660
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:46:50 +0000 (19:46 +0000)]
Change calling conventions for ErrorManager::pushErrorHandler() and
ErrorManager::setFatalHandler(). Now these take a WikiCallback
instead of the Pear style callback specification.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@659
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:44:34 +0000 (19:44 +0000)]
Classes for callbacks.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@658
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 17:58:46 +0000 (17:58 +0000)]
Typo fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@657
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 17 Nov 2001 16:39:08 +0000 (16:39 +0000)]
Fix file upload bug.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@656
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 17 Nov 2001 00:49:29 +0000 (00:49 +0000)]
For maximum portability, use old fashioned comma join instead of
"INNER JOIN ... USING(...)" and "INNER JOIN ... ON ...".
Fix for older MySQL's which don't support the "CASE WHEN ... END"
syntax. The fix is complicated by the fact that Postgres doesn't
support MySQL's "IF(,,)" syntax.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@655
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 16 Nov 2001 22:59:02 +0000 (22:59 +0000)]
Hack/fix to get proper nesting of lists and
list items. (Lists are allowed to contain list items but not
other lists. List items are allowed to contain sub lists.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@654
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 16 Nov 2001 21:02:58 +0000 (21:02 +0000)]
Fix regexp so that punctuation does not get included in the rhs of
interwiki links (without the use of square brackets, that is.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@653
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 21:25:32 +0000 (21:25 +0000)]
Another XHTML fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@647
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 21:05:38 +0000 (21:05 +0000)]
XHTML fixes. At this point, PhpWiki's output is almost valid XHTML.
(Most of these changes are based on patches by Tara/Steph.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@646
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 18:50:54 +0000 (18:50 +0000)]
Add new entries collected by Adam Shand.
Add new entry: RFC
BUG note: The entry for Category will only work when USE_PATH_INFO
is set. When USE_PATH_INFO is false, the following entry will,
I think, work:
Category index.php?pagename=Category
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@645
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 18:48:47 +0000 (18:48 +0000)]
Add support for '%s' (which gets replaced by rhs of interwiki link)
in interwiki map URLs. (This is needed for the new RFC entry in
interwiki.map.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@644
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 17:54:45 +0000 (17:54 +0000)]
Change regexp for InterWiki links to accept non-WikiWord right hand
sides. (Suggested by Adam Shand.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@643
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 17:43:50 +0000 (17:43 +0000)]
When loading pages from a directory, ignore file names starting
with '.'. (Based on SF patch #480195 by Carsten Klapp.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@642
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 17:15:42 +0000 (17:15 +0000)]
Warn about zip-dump bug in 1.2.0 and 1.2.1.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@641
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 17:07:07 +0000 (17:07 +0000)]
Fix typo.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@640
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 15:36:41 +0000 (15:36 +0000)]
Add note about making sure the path to PEAR code is in include_path.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@639
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 15:29:50 +0000 (15:29 +0000)]
Comment out the not yet implemented action=xmldump code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@638
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 10 Nov 2001 04:56:18 +0000 (04:56 +0000)]
First crack at calendar plugin based on ideas from Gary Benson.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@637
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 20:36:45 +0000 (20:36 +0000)]
Updated notes on how to move an older PhpWiki to a new 1.3.x wiki.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@636
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 18:58:42 +0000 (18:58 +0000)]
Address SF bug #480064: "relative" vs "absolute" URLs (in comments).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@635
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 17:58:09 +0000 (17:58 +0000)]
Fix SF bug #480061: Example search forms on MagicPhpWikiURLs
were broken.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@634
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 16:56:00 +0000 (16:56 +0000)]
Renamed pgsrc files whose filenames contained non-ascii characters.
These files seemed to be giving certain CVS clients (Mac OS X) gas.
Note that there is nothing wrong with non-ASCII characters in
wiki-page names --- it's just that the wiki-page name should be
urlencode()ed for use as a file name.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@632
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 16:25:02 +0000 (16:25 +0000)]
Add comment: setting $LANG to '' will cause systems default language
to be used.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@631
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 16:23:37 +0000 (16:23 +0000)]
Encode leading '.' in filenames for both zip dumps and dumps to
directories. (See SF bug #478449).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@630
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 16:22:43 +0000 (16:22 +0000)]
Comment out putenv(LANG) which causes trouble when PHP's safe_mode
is enabled. I hope this putenv() is not really necessary --- I
don't think it is.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@629
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 9 Nov 2001 04:50:30 +0000 (04:50 +0000)]
Documentation fixes based on SF patch #479791 by Carsten Klapp.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@627
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 19:07:43 +0000 (19:07 +0000)]
Merge changes from http://usemod.com/intermap.txt
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@622
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 19:06:34 +0000 (19:06 +0000)]
Update plugin args for latest version.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@621
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 16:35:05 +0000 (16:35 +0000)]
Added RCS $Id$ tags.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@620
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 16:26:08 +0000 (16:26 +0000)]
New file.
For people with (suitably configured) apache servers, this sets some
of PHP's configuration variables to safer values. In particular,
register_globals and allow_url_fopen are turned off.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@619
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 16:02:40 +0000 (16:02 +0000)]
Move admin/removepage.php to lib/removepage.php.
(Removepage.php was the only file in admin/ which was part
of the main phpwiki app.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@618
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 16:00:39 +0000 (16:00 +0000)]
For security add .htaccess files to subdirectories.
For people with (suitably configured) apache web servers, these
will deny direct web access to the files in the subdirectories:
lib, locale, pgsrc, schemas, and templates.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@617
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 15:47:31 +0000 (15:47 +0000)]
This is obsolete. Deleted.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@616
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
riessen [Thu, 8 Nov 2001 11:01:16 +0000 (11:01 +0000)]
extended the functionality of the cvs backend, extended the unit test
for the backend. have yet to start on th
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@615
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 8 Nov 2001 02:01:02 +0000 (02:01 +0000)]
New page. This one show all recent edits.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@614
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 7 Nov 2001 22:27:54 +0000 (22:27 +0000)]
Added note about creating a HomePage before making a zip dump.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@612
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 7 Nov 2001 21:12:47 +0000 (21:12 +0000)]
Fix quoting of search expressions. (Searches for words containing
'%', '\', or '_' were broken prior to this fix.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@610
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 6 Nov 2001 17:13:22 +0000 (17:13 +0000)]
Fix typo.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@600
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 21:08:09 +0000 (21:08 +0000)]
Fixes based on SF Patch #471014. Detect when protocol is https rather than
http, and adjust SERVER_URL appropriately.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@592
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 20:43:18 +0000 (20:43 +0000)]
(Slightly modified) SF Patch #473466 by <ax@condat.de>.
Fixes to work on windows systems where the path separator is ';'
rather than ':'.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@591
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 19:34:27 +0000 (19:34 +0000)]
Explicitly set auto_redirect=0 in TitleSearch form.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@590
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 19:31:11 +0000 (19:31 +0000)]
Title and full-text searches are now handled by plug-ins.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@589
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 18:41:11 +0000 (18:41 +0000)]
Fix SF bug #473493: Need to include lib/template.php before calling
GeneratePage(). (Patch from Steven Murdoch.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@588
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 18:24:26 +0000 (18:24 +0000)]
Fix SF Bug #473499: Diff from page history always diffs HomePage when
USE_PATH_INFO is false. (Patch from Steven Murdoch.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@587
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 17:58:37 +0000 (17:58 +0000)]
Fix SF bug #468595: Can not unlock pages.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@586
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 29 Oct 2001 17:57:24 +0000 (17:57 +0000)]
Cleanup to get rid of PHP warning.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@585
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
riessen [Mon, 1 Oct 2001 21:58:32 +0000 (21:58 +0000)]
unit test for the cvs backend class
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@584
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
riessen [Mon, 1 Oct 2001 21:55:54 +0000 (21:55 +0000)]
initial implementation of a cvs backend ...
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@583
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
riessen [Fri, 28 Sep 2001 14:28:22 +0000 (14:28 +0000)]
first skeleton version of the cvs
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@582
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Sep 2001 14:41:33 +0000 (14:41 +0000)]
Fix the fix: fun with regexps. (minor).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@577
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 21 Sep 2001 01:04:54 +0000 (01:04 +0000)]
Updated assert_text. I think the version of httpunit I developed against
was different in its output.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@576
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 20 Sep 2001 21:33:09 +0000 (21:33 +0000)]
Simple test to verify text appears in the source of a page.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@575
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 20 Sep 2001 20:55:20 +0000 (20:55 +0000)]
Three simple tests.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@574
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 20 Sep 2001 20:53:19 +0000 (20:53 +0000)]
Given an input file, generate a Java source file.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@573
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 20 Sep 2001 20:52:22 +0000 (20:52 +0000)]
This Perl script generates a Makefile and a build.xml for ant, based on the available input files in the tests directory.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@572
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 20 Sep 2001 19:09:26 +0000 (19:09 +0000)]
_pear_notice_filter: Another minor fix (this time for windows.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@571
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 20 Sep 2001 18:26:14 +0000 (18:26 +0000)]
Workaround for apparent bug in some versions of PHP (notably the
PHP 4.0.6 which is on SourceForge's project web server.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@570
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 20 Sep 2001 18:25:15 +0000 (18:25 +0000)]
_pear_notice_filter(): minor fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@569
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 19 Sep 2001 19:20:30 +0000 (19:20 +0000)]
Search some standard locations for PEAR library code if DB.php is
not found in PHP's include_path.
Added some workarounds for a bug in the PEAR DB code which ships
with PHP 4.0.6.
(I have now tested the MySQL backend with PEAR code from PHP 4.0.4pl1,
PHP 4.0.5 and PHP 4.0.6. Only the 4.0.6 code is buggy. With the new
fixes, all three versions seem to work fine. The bug is reported
to be fixed in the CVS version of the PHP source code.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@568
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 19 Sep 2001 19:16:27 +0000 (19:16 +0000)]
New file lib/FileFinder.php with utility code to help find source files.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@567
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 19 Sep 2001 19:12:16 +0000 (19:12 +0000)]
Added note about the possible need to set session.save_path.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@566
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 19 Sep 2001 03:54:28 +0000 (03:54 +0000)]
msql is not likely to be supported by DB.php, the demand is minimal, msql is going throught a revision anyway, etc. etc.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@565
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 19 Sep 2001 03:44:53 +0000 (03:44 +0000)]
Oops. I changed the directory for dbm files and committed it by
accident. Careless.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@564
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 19 Sep 2001 03:24:36 +0000 (03:24 +0000)]
Updated the "emacs local variables" blocks.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@563
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 19 Sep 2001 02:58:24 +0000 (02:58 +0000)]
Minor cleanup.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@562
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 19 Sep 2001 02:58:00 +0000 (02:58 +0000)]
Fixed a couple bugs having to do with file uploads, and zip archive
unzipping.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@561
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 19 Sep 2001 02:36:24 +0000 (02:36 +0000)]
Added new local variables list; reformatted leading whitespace.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@560
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 19 Sep 2001 02:27:50 +0000 (02:27 +0000)]
Testing latest Local Variables setting. I stripped all leading white
space and then did an indent-region.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@559
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Tue, 18 Sep 2001 21:26:31 +0000 (21:26 +0000)]
Updated info for posting patches, bugs and getting support.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@558
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Tue, 18 Sep 2001 21:20:30 +0000 (21:20 +0000)]
Added a CVS id tag.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@557
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Sep 2001 19:19:05 +0000 (19:19 +0000)]
Jeff's hacks II, continued:
More new files which I neglected to add during the previous commit.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@556
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Sep 2001 19:16:24 +0000 (19:16 +0000)]
Jeff's hacks II.
This is a major change, to say the least. Some highlights:
o Completely new database API.
WARNING: all database schemas (currently MySQL, Postgres and DBA
support is working) use completely revised schema, so you must
start this new code with a new blank database...
o WikiPlugins
o New template engine.
In addition, some more incremental changes:
o Cascading Style Sheets reworked.
o Expanded syntax for text search: e.g. "wiki OR wacky AND NOT page".
o PhpWiki should now work with register_globals off. (Security issue.)
o Edit preview button.
(and probably more, which I'm forgetting about now.)
Much of this code is still in a state of flux (particularly
the new template engine code, and to a lesser extent the API
for the plugins.)
Feel free to play and hack on this, just be warned that some of it may
still change quite a bit...
See pgsrc/ReleaseNotes for a few more notes.
And feel free to post questions or comments either publicly on
<phpwiki-talk@lists.sourceforge.net>, or privately, to
<dairiki@dairiki.org>.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@555
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Sep 2001 18:20:59 +0000 (18:20 +0000)]
Merged back some stuff which inadvertently (I think) got tossed during
the last edit.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@553
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 16 Sep 2001 21:31:19 +0000 (21:31 +0000)]
Mispelled Administer.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@551
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 16 Sep 2001 21:30:50 +0000 (21:30 +0000)]
Added link to PhpWikiAdministration. This is really for the person who
first installs PhpWiki, because we've gotten a lot of questions about
this. I would think most people will remove this link when they
personalize the HomePage, so putting it here should be fine.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@550
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 26 Aug 2001 17:00:50 +0000 (17:00 +0000)]
Fixed some bugs in the page source in the "Emphasis" section.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@545
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 14 Aug 2001 21:41:10 +0000 (21:41 +0000)]
(WikiUser::getPreferences): More fixes to address PHP warnings.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@534
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 12 Aug 2001 23:57:37 +0000 (23:57 +0000)]
Undefined links will now have a question mark at the start instead of
at the end of the link; this idea comes from the book The Wiki Way and
it's supposed to be a bit clearer to the user.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@533
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 9 Aug 2001 16:21:44 +0000 (16:21 +0000)]
Fix for PHP warning: "argument passed to unserialize() is not an string".
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@532
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 20 Jul 2001 17:40:12 +0000 (17:40 +0000)]
Added support for bogo-logins.
One can now "login" using any WikiWord as a user ID.
(Unless logging in as the admin user, any password will work.)
Currently, the sole effect of logging in is that the
the logged-in user ID is recorded as the author of any
page edits. Thus, "logging in" allows one to control
the author which appears in RecentChanges and the page
info display.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@531
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Fri, 20 Jul 2001 17:29:43 +0000 (17:29 +0000)]
Initial file for an abstract base class. For now I copy/pasted the
methods suggested in WikiDatabase
(http://phpwiki.sourceforge.net/phpwiki/index.php) as a starting
point, though there were a few that were undecided and I left those
out.
At least for now the class can support retrievePage() and insertPage()
and a few other basic methods, so rudimentary work can start.
The flowerbox reads:
/*
* Abstract base class for the database used by PhpWiki.
* This should be extended by classes for DB/dbx, dba and
* flat file.
*/
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@530
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
uckelman [Wed, 18 Jul 2001 04:59:47 +0000 (04:59 +0000)]
Changed PostgreSQL db library and schema to work with versioning, maybe.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@529
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
uckelman [Wed, 18 Jul 2001 04:56:14 +0000 (04:56 +0000)]
More cosmetic changes... wow did I not follow formating conventions the
first time around.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@528
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
uckelman [Wed, 18 Jul 2001 01:06:29 +0000 (01:06 +0000)]
Minor cosmetic changes (removed some hard tabs).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@527
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Jul 2001 15:58:28 +0000 (15:58 +0000)]
Bug fix: ..._wikilinks => ..._links.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@525
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 15 Jul 2001 16:03:26 +0000 (16:03 +0000)]
Updated the table names.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@524
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 15 Jul 2001 15:49:44 +0000 (15:49 +0000)]
Changed one line: lib/config.php to index.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@523
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sun, 15 Jul 2001 15:47:59 +0000 (15:47 +0000)]
Fixed the table names. Here is an example of duplicate information,
where the table names are stored both in schema.mysql and
mysql.php. Of course I failed to notice this and the nightly build was
broken. Task #34376.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@522
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 12 Jul 2001 03:49:05 +0000 (03:49 +0000)]
Added a comment regarding the table name prefix as a precaution to
admins who set up alpha versions of 1.3.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@521
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 12 Jul 2001 03:25:11 +0000 (03:25 +0000)]
Oops: fixed a typo just now.
Updated table names so all are prefaced with 'phpwiki_'. This is not
tested with Postgresql yet though.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@520
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 12 Jul 2001 03:24:18 +0000 (03:24 +0000)]
Updated table names so all are prefaced with 'phpwiki_'. This is not
tested with Postgresql yet though.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@519
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Thu, 12 Jul 2001 03:21:35 +0000 (03:21 +0000)]
I changed the table names in the schema so all are prefaced with phpwiki_.
I updated index.php (where the config info is) as well; seems to test OK.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@518
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sat, 7 Jul 2001 17:44:25 +0000 (17:44 +0000)]
Got fooled by an IF with no braces.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@517
96ab9672 -09ca-45d6-a79d-
3d69d39ca109