]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
22 years agotypos & minor adj.
carstenklapp [Mon, 3 Dec 2001 09:18:57 +0000 (09:18 +0000)]
typos & minor adj.

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

22 years agoAdded ProjectBuilder info, hint about libphp4.so and logging instructions.
carstenklapp [Mon, 3 Dec 2001 08:58:03 +0000 (08:58 +0000)]
Added ProjectBuilder info, hint about libphp4.so and logging instructions.

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

22 years agoUpdated the names of the sql files.
wainstead [Mon, 3 Dec 2001 04:10:38 +0000 (04:10 +0000)]
Updated the names of the sql files.

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

22 years agoRenamed these files with .sql extensions for two reasons: the naming was
wainstead [Mon, 3 Dec 2001 04:05:38 +0000 (04:05 +0000)]
Renamed these files with .sql extensions for two reasons: the naming was
redundant (schemas/schema.mysql) and the .sql extension will let text
editors with syntax highlighting and other goodies recognize the files
(like Emacs and vim).

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

22 years agoFixed a typo in get_all_pages() that was preventing zip dumps from working.
joe_edelman [Mon, 3 Dec 2001 03:18:34 +0000 (03:18 +0000)]
Fixed a typo in get_all_pages() that was preventing zip dumps from working.

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

22 years agoAdded/changed info specific to wiki 1.3 branch pertinent to Mac OS X.
carstenklapp [Mon, 3 Dec 2001 03:07:26 +0000 (03:07 +0000)]
Added/changed info specific to wiki 1.3 branch pertinent to Mac OS X.

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

22 years ago//define("autosplit_wikiwords", 1); option to automatically split WikiWords by insert...
carstenklapp [Sun, 2 Dec 2001 07:53:59 +0000 (07:53 +0000)]
//define("autosplit_wikiwords", 1); option to automatically split WikiWords by inserting spaces for all WikiWords everywhere in a document.

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

22 years ago//define("USE_LINK_ICONS", 1) this turns on url indicator icons, inserted before...
carstenklapp [Sun, 2 Dec 2001 03:33:50 +0000 (03:33 +0000)]
//define("USE_LINK_ICONS", 1) this turns on url indicator icons, inserted before embedded links to indicate the type of link.

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

22 years agoOops. This is undoing a previous & unnecessary patch I didn't mean to check
joe_edelman [Sun, 2 Dec 2001 02:52:37 +0000 (02:52 +0000)]
Oops.  This is undoing a previous & unnecessary patch I didn't mean to check
in.

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

22 years agoA patch necessary to support plugin/UserPage.php. The problem was that
joe_edelman [Sun, 2 Dec 2001 02:34:48 +0000 (02:34 +0000)]
A patch necessary to support plugin/UserPage.php.  The problem was that
WikiUser() was checking the http auth status and resetting the
session/cookie auth data on every single pageload, which made it impossible
for another auth solution to compete.  With this patch they both work.  Feel
free to refactor it.

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

22 years agoThis is an alternative sign-in scheme that uses a Plugin page instead of
joe_edelman [Sun, 2 Dec 2001 02:31:17 +0000 (02:31 +0000)]
This is an alternative sign-in scheme that uses a Plugin page instead of
HTTP authentication.  This is just a first draft, but it works.  For now it
can exist side by side with the HTTP auth methods built into WikiUser.  To
set it up on your system, do this:

1) Create a new page called "UserPage" which contains:

        <?plugin UserPage?>

2) Modify your templates so that, if there is no one logged on, the various
edit buttons point to something like "${BROWSE}UserPage&edit=${PAGEURL}" (or
use a <?plugin-link UserPage?> tag) instead of "${ACTION}edit".  You can
replace the "SignOn" link with a link to UserPage, too.

UserPage is a copy of the "clublet" wikis sign-on scheme.  Check out
<http://why.clublet.com>.

Soon UserPage will also serve as a mechanism for setting hidden email
addresses and other UserPreferences.

KNOWN ISSUES
       needs gettext()ification
       UnknownWikiWord links still go directly to edit

COMING SOON
       email address collection
       distinction between new and returning users (based on Page metadata)

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

22 years agoMy IncludePage plugin. Docs at phpwiki:IncludePage. A cheap substitute for
joe_edelman [Sun, 2 Dec 2001 02:12:21 +0000 (02:12 +0000)]
My IncludePage plugin.  Docs at phpwiki:IncludePage.  A cheap substitute for
PageAlias, partial locks, and weblog summary pages.

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

22 years ago*** empty log message ***
joe_edelman [Sun, 2 Dec 2001 01:59:23 +0000 (01:59 +0000)]
*** empty log message ***

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

22 years agomoved these from the root dir.
wainstead [Sat, 1 Dec 2001 22:01:48 +0000 (22:01 +0000)]
moved these from the root dir.

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

22 years agoMoved these into doc/.
wainstead [Sat, 1 Dec 2001 22:00:49 +0000 (22:00 +0000)]
Moved these into doc/.

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

22 years agoUpdated some of the info; pointed to the doc/ directory for other files.
wainstead [Sat, 1 Dec 2001 21:55:57 +0000 (21:55 +0000)]
Updated some of the info; pointed to the doc/ directory for other files.

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

22 years agoAdded example of alternate text for inline image.
carstenklapp [Sat, 1 Dec 2001 14:53:41 +0000 (14:53 +0000)]
Added example of alternate text for inline image.

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

22 years agominor changes to TextFormattingRules\radditional German translations
carstenklapp [Sat, 1 Dec 2001 14:51:06 +0000 (14:51 +0000)]
minor changes to TextFormattingRules\radditional German translations

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

22 years agominor changes to TextFormatting reference
carstenklapp [Sat, 1 Dec 2001 14:50:20 +0000 (14:50 +0000)]
minor changes to TextFormatting reference

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

22 years agoMoved hyperlink in delete-page confirmation to clarify.
carstenklapp [Sat, 1 Dec 2001 13:07:43 +0000 (13:07 +0000)]
Moved hyperlink in delete-page confirmation to clarify.

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

22 years agominor rewording of TextFormatting reference
carstenklapp [Sat, 1 Dec 2001 13:01:45 +0000 (13:01 +0000)]
minor rewording of TextFormatting reference

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

22 years agoNew text2png WikiPlugin. Doesn't accept any arguments yet, just dumps a png image...
carstenklapp [Sat, 1 Dec 2001 10:01:42 +0000 (10:01 +0000)]
New text2png WikiPlugin. Doesn't accept any arguments yet, just dumps a png image file in the same dir as index.php. Requires PHP to be compiled with support for GD version 1.6 or later.\r<?plugin text2png ?>

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

22 years agoFix bugs in access logging code.
dairiki [Thu, 29 Nov 2001 18:03:59 +0000 (18:03 +0000)]
Fix bugs in access logging code.

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

22 years agoRe-make in locale (to update .po and .mo files).
dairiki [Thu, 29 Nov 2001 03:09:29 +0000 (03:09 +0000)]
Re-make in locale (to update .po and .mo files).

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

22 years agoObsolete. Use the Makefile instead.
dairiki [Thu, 29 Nov 2001 03:08:48 +0000 (03:08 +0000)]
Obsolete.  Use the Makefile instead.

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

22 years agoFix so that xgettext scans templates, too, for strings to translate.
dairiki [Thu, 29 Nov 2001 03:04:36 +0000 (03:04 +0000)]
Fix so that xgettext scans templates, too, for strings to translate.
Also add -k_ flag to xgettext so that it recognizes _("") as an
alias for gettext("").

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

22 years agoExtracted a few translated phrases from the (now obsolete)
dairiki [Thu, 29 Nov 2001 03:01:44 +0000 (03:01 +0000)]
Extracted a few translated phrases from the (now obsolete)
translated templates.  (All the .po files (& pgsrc) still need
a lot of work.)

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

22 years agoMake _("string") an alias for gettext("string").
dairiki [Thu, 29 Nov 2001 03:00:19 +0000 (03:00 +0000)]
Make _("string") an alias for gettext("string").

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

22 years agoLanguage independent templates.
dairiki [Thu, 29 Nov 2001 02:59:21 +0000 (02:59 +0000)]
Language independent templates.

Support for get-textification of strings within templates.

  $_("string")
     [ -> htmlspecialchars(gettext("string")) ]

  <tag attrib=_("string") [...]>
     [ ->
       <tag attrib="<?php echo htmlspecialchars(gettext("string")); ?>"
            [...] >
     ]

  <?plugin{-form,-link,} PluginName arg=_("string") [...]?>
     [ ->
       <?plugin PluginName arg="<?php echo gettext("string"); ?>"
            [...] ?>
     ]

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

22 years ago*** empty log message ***
carstenklapp [Wed, 28 Nov 2001 22:16:53 +0000 (22:16 +0000)]
*** empty log message ***

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

22 years agoRevert to working version until theme support becomes functional.
dairiki [Wed, 28 Nov 2001 20:12:48 +0000 (20:12 +0000)]
Revert to working version until theme support becomes functional.

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

22 years agoFix SF bug #484557: "Fatal error: Call to a member function on a
dairiki [Mon, 26 Nov 2001 22:43:24 +0000 (22:43 +0000)]
Fix SF bug #484557: "Fatal error: Call to a member function on a
non-object in lib/main.php on line 205" when trying to set
user preferences.

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

22 years agoFix typos in getPreferences.
dairiki [Mon, 26 Nov 2001 22:37:29 +0000 (22:37 +0000)]
Fix typos in getPreferences.

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

22 years agoFix my last fix: minor cleanup of file load diagnostics.
dairiki [Mon, 26 Nov 2001 22:00:26 +0000 (22:00 +0000)]
Fix my last fix: minor cleanup of file load diagnostics.

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

22 years agoimplemented the most_recent and most_popular functions, and minor
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

22 years agoserver needs access to subdirectories of templates for theme files (css and images).
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

22 years agoCSS & images now stored in a folder within templates according to global $theme.
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

22 years agoSignature, logo & css settings moved to /templates/theme, to allow for themes and...
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

22 years agoNew class: WikiAnonymousCb
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

22 years agoFix typo/bug in PearDB::text_search.
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

22 years agoChange argument semantics for TextSearchQuery::makeSqlClause.
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

22 years agoChange calling conventions for ErrorManager::pushErrorHandler() and
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

22 years agoClasses for callbacks.
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

22 years agoTypo fix.
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

22 years agoFix file upload bug.
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

22 years agoFor maximum portability, use old fashioned comma join instead of
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

22 years agoHack/fix to get proper nesting of lists and
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

22 years agoFix regexp so that punctuation does not get included in the rhs of
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

22 years agoAnother XHTML fix.
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

22 years agoXHTML fixes. At this point, PhpWiki's output is almost valid XHTML.
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

22 years agoAdd new entries collected by Adam Shand.
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

22 years agoAdd support for '%s' (which gets replaced by rhs of interwiki link)
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

22 years agoChange regexp for InterWiki links to accept non-WikiWord right hand
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

22 years agoWhen loading pages from a directory, ignore file names starting
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

22 years agoWarn about zip-dump bug in 1.2.0 and 1.2.1.
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

22 years agoFix typo.
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

22 years agoAdd note about making sure the path to PEAR code is in include_path.
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

22 years agoComment out the not yet implemented action=xmldump code.
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

22 years agoFirst crack at calendar plugin based on ideas from Gary Benson.
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

22 years agoUpdated notes on how to move an older PhpWiki to a new 1.3.x wiki.
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

22 years agoAddress SF bug #480064: "relative" vs "absolute" URLs (in comments).
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

22 years agoFix SF bug #480061: Example search forms on MagicPhpWikiURLs
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

22 years agoRenamed pgsrc files whose filenames contained non-ascii characters.
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

22 years agoAdd comment: setting $LANG to '' will cause systems default language
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

22 years agoEncode leading '.' in filenames for both zip dumps and dumps to
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

22 years agoComment out putenv(LANG) which causes trouble when PHP's safe_mode
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

22 years agoDocumentation fixes based on SF patch #479791 by Carsten Klapp.
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

22 years agoMerge changes from http://usemod.com/intermap.txt
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

22 years agoUpdate plugin args for latest version.
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

22 years agoAdded RCS $Id$ tags.
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

22 years agoNew file.
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

22 years agoMove admin/removepage.php to lib/removepage.php.
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

22 years agoFor security add .htaccess files to subdirectories.
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

22 years agoThis is obsolete. Deleted.
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

22 years agoextended the functionality of the cvs backend, extended the unit test
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

22 years agoNew page. This one show all recent edits.
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

22 years agoAdded note about creating a HomePage before making a zip dump.
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

22 years agoFix quoting of search expressions. (Searches for words containing
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

22 years agoFix typo.
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

22 years agoFixes based on SF Patch #471014. Detect when protocol is https rather than release-1_3_1
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

22 years ago(Slightly modified) SF Patch #473466 by <ax@condat.de>.
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

22 years agoExplicitly set auto_redirect=0 in TitleSearch form.
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

22 years agoTitle and full-text searches are now handled by plug-ins.
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

22 years agoFix SF bug #473493: Need to include lib/template.php before calling
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

22 years agoFix SF Bug #473499: Diff from page history always diffs HomePage when
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

22 years agoFix SF bug #468595: Can not unlock pages.
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

22 years agoCleanup to get rid of PHP warning.
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

22 years agounit test for the cvs backend class
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

22 years agoinitial implementation of a cvs backend ...
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

22 years agofirst skeleton version of the cvs
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

22 years agoFix the fix: fun with regexps. (minor).
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

22 years agoUpdated assert_text. I think the version of httpunit I developed against
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

22 years agoSimple test to verify text appears in the source of a page.
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

22 years agoThree simple tests.
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

22 years agoGiven an input file, generate a Java source file.
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

22 years agoThis Perl script generates a Makefile and a build.xml for ant, based on the available...
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

22 years ago_pear_notice_filter: Another minor fix (this time for windows.)
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

22 years agoWorkaround for apparent bug in some versions of PHP (notably the
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

22 years ago_pear_notice_filter(): minor fix.
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

22 years agoSearch some standard locations for PEAR library code if DB.php is
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