]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
21 years agoFix so that PageHistory will work when the current revision
dairiki [Mon, 17 Feb 2003 02:19:01 +0000 (02:19 +0000)]
Fix so that PageHistory will work when the current revision
of a page has been "deleted".

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

21 years agoFix so that PageInfo will work when current version of page
dairiki [Mon, 17 Feb 2003 02:18:30 +0000 (02:18 +0000)]
Fix so that PageInfo will work when current version of page
has been "deleted".

Fix so that PageInfo will work on an old version of a page.

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

21 years agoFix so that action=diff will work when the most recent version
dairiki [Mon, 17 Feb 2003 02:17:31 +0000 (02:17 +0000)]
Fix so that action=diff will work when the most recent version
of a page has been "deleted".

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

21 years agoRefactor the HTTP validator generation/checking code.
dairiki [Sun, 16 Feb 2003 20:04:48 +0000 (20:04 +0000)]
Refactor the HTTP validator generation/checking code.

This also fixes a number of bugs with yesterdays validator mods.

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

21 years agoWhen redirecting to a page, use an absolute URL.
dairiki [Sun, 16 Feb 2003 19:49:18 +0000 (19:49 +0000)]
When redirecting to a page, use an absolute URL.
This fixes a bug when redirecting from a sub-page (since,
in that case the redirect happens before the <base> element gets
sent.)

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

21 years agoUpdate WikiDB timestamp when editing or deleting pages.
dairiki [Sun, 16 Feb 2003 19:47:17 +0000 (19:47 +0000)]
Update WikiDB timestamp when editing or deleting pages.

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

21 years agoNew function hash(). This is a helper, primarily for generating
dairiki [Sun, 16 Feb 2003 19:44:20 +0000 (19:44 +0000)]
New function hash().  This is a helper, primarily for generating
HTTP ETags.

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

21 years agoNew methods:
dairiki [Sun, 16 Feb 2003 19:43:10 +0000 (19:43 +0000)]
New methods:
  WikiDB::set($key, $val)
  WikiDB::get($key)
To support global meta-data.  Before you make use of these methods,
please consider that they are implemented in a somewhat
hackish manner, and are not likely to be very efficient.

New methods:
  WikiDB::getTimestamp()
  WikiDB::touch()
To support the notion of a global timestamp on the WikiDB.

In WikiDB_Page::set():
  Delete special magic for setting 'pref'.  Currently, this appears to
  be either unused or broken (since 'pref' seems to be set to a
  serialized value.)  In any case, this magic shouldn't be here.
  If you need special handling put it before the call
  to WikiDB_Page::set().

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

21 years agoTypo fix.
dairiki [Sun, 16 Feb 2003 05:10:00 +0000 (05:10 +0000)]
Typo fix.

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

21 years agoStarting to fix handling of the HTTP validator headers, Last-Modified,
dairiki [Sun, 16 Feb 2003 05:09:43 +0000 (05:09 +0000)]
Starting to fix handling of the HTTP validator headers, Last-Modified,
and ETag.

Last-Modified was being set incorrectly (but only when DEBUG was not
defined!)  Setting a Last-Modified without setting an appropriate
Expires: and/or Cache-Control: header results in browsers caching
the page unconditionally (for a certain period of time).
This is generally bad, since it means people don't see updated
page contents right away --- this is particularly confusing to
the people who are editing pages since their edits don't show up
next time they browse the page.

Now, we don't allow caching of pages without revalidation
(via the If-Modified-Since and/or If-None-Match request headers.)
(You can allow caching by defining CACHE_CONTROL_MAX_AGE to an
appropriate value in index.php, but I advise against it.)

Problems:

  o Even when request is aborted due to the content not being
    modified, we currently still do almost all the work involved
    in producing the page.  So the only real savings from all
    this logic is in network bandwidth.

  o Plugins which produce "dynamic" output need to be inspected
    and made to call $request->addToETag() and
    $request->setModificationTime() appropriately, otherwise the
    page can change without the change being detected.
    This leads to stale pages in cache again...

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

21 years agoNew member functions:
dairiki [Sun, 16 Feb 2003 04:55:54 +0000 (04:55 +0000)]
New member functions:

  Request::addToETag($key, $val)
  Request::hasETag()
  Request::setETagIsWeak()
  Request::setModificationTime()
  Request::setValidators()

These deal with setting the Last-Modified and ETag headers of the
HTTP response. They also parse and handle the conditional request
headers 'If-Modified-Since', 'If-Unmodified-Since', 'If-Match',
and 'If-None-Match'.

New helper class HTTP_ETag.

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

21 years agoNew functions:
dairiki [Sun, 16 Feb 2003 04:50:09 +0000 (04:50 +0000)]
New functions:
Rfc1123DateTime(), ParseRfc1123DateTime()
for converting unix timestamps to and from strings.

These functions produce and grok the time strings
in the format specified by RFC 2616 for use in HTTP headers
(like Last-Modified).

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

21 years agoDocs (& demo) for RedirectTo plugin.
dairiki [Sat, 15 Feb 2003 23:56:05 +0000 (23:56 +0000)]
Docs (& demo) for RedirectTo plugin.

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

21 years agoUsability improvements for the RedirectTo plugin.
dairiki [Sat, 15 Feb 2003 23:32:57 +0000 (23:32 +0000)]
Usability improvements for the RedirectTo plugin.

(Mostly this applies when using RedirectTo with a page=OtherPage
argument to redirect to another page in the same wiki.)

(Most of these ideas are stolen verbatim from UseModWiki.)

 o Multiple redirects (PageOne -> PageTwo -> PageThree) not allowed.

 o Redirects are not activated except when action == 'browse'.

 o When redirections are disabled, (hopefully understandable)
   diagnostics are displayed.

 o A link to the redirecting page is displayed after the title
   of the target page.  If the user follows this link, redirects
   are disabled.  This allows for easy editing of the redirecting
   page.

FIXME: Stylesheets, and perhaps templates other than the defaults
will probably have to be updated before this works well in other
styles and/or themes.

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

21 years agoNew method WikiPlugin::disabled($message).
dairiki [Sat, 15 Feb 2003 23:25:48 +0000 (23:25 +0000)]
New method WikiPlugin::disabled($message).

For use when expansion of a plugin is disabled.
This displays a message (like WikiPlugin::error()), and also
displays the text of the plugin invocation.

See lib/plugins/RedirectTo.php for usage examples.

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

21 years agoFix for PHP warning (when host PHP does not have gzip support compiled in.)
dairiki [Sat, 15 Feb 2003 23:21:16 +0000 (23:21 +0000)]
Fix for PHP warning (when host PHP does not have gzip support compiled in.)

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

21 years agoRedirect back to browse current version of page upon save,
dairiki [Sat, 15 Feb 2003 23:20:27 +0000 (23:20 +0000)]
Redirect back to browse current version of page upon save,
even when no changes were made.

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

21 years agoA couple of fixes so that this passes w3.org's CSS validator.
dairiki [Sat, 15 Feb 2003 03:13:58 +0000 (03:13 +0000)]
A couple of fixes so that this passes w3.org's CSS validator.
One's obviously a typo.  The other I'm not so sure about...

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

21 years agoFix for WikiUser constructor API change.
dairiki [Sat, 15 Feb 2003 03:04:30 +0000 (03:04 +0000)]
Fix for WikiUser constructor API change.

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

21 years agoAdd id="logo-img" to the logo image.
dairiki [Sat, 15 Feb 2003 02:50:12 +0000 (02:50 +0000)]
Add id="logo-img" to the logo image.

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

21 years agoDon't use "Printer" style for media=screen.
dairiki [Sat, 15 Feb 2003 02:48:48 +0000 (02:48 +0000)]
Don't use "Printer" style for media=screen.

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

21 years agoFix for API change in WikiUser constructor.
dairiki [Sat, 15 Feb 2003 02:24:23 +0000 (02:24 +0000)]
Fix for API change in WikiUser constructor.

However it seems that the only code affected is this file is currently
unused.  I commented out the vestigal code --- if no one screams about
it, then whoever looks at it next can delete it.

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

21 years agoAPI Change! Explicit $request argument added to contructor for WikiUser.
dairiki [Sat, 15 Feb 2003 02:21:54 +0000 (02:21 +0000)]
API Change!  Explicit $request argument added to contructor for WikiUser.

This seemed the best way to fix a problem whereby the WikiDB
was being opened twice.  (Which while being merely inefficient
when using an SQL backend causes hangage when using a dba backend.)

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

21 years agoWhen default language was English (at least), pgsrc was being
dairiki [Sat, 15 Feb 2003 02:18:04 +0000 (02:18 +0000)]
When default language was English (at least), pgsrc was being
loaded twice.

LimitedFileSet: Fix typo/bug. ($include was being ignored.)

SetupWiki(): Fix bugs in loading of $GenericPages.

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

21 years agoOutput newlines between content-less non-inline elements.
dairiki [Sat, 15 Feb 2003 02:14:52 +0000 (02:14 +0000)]
Output newlines between content-less non-inline elements.

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

21 years agoTheme::getCSS(): Add Default-Style HTTP(-eqiv) header in attempt
dairiki [Sat, 15 Feb 2003 01:59:47 +0000 (01:59 +0000)]
Theme::getCSS():  Add Default-Style HTTP(-eqiv) header in attempt
to fix default stylesheet selection on some browsers.
For details on the Default-Style header, see:
 http://home.dairiki.org/docs/html4/present/styles.html#h-14.3.2

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

21 years agoAdded HTML::meta() for <meta> tag.
dairiki [Sat, 15 Feb 2003 01:54:19 +0000 (01:54 +0000)]
Added HTML::meta() for <meta> tag.

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

21 years agofix by Steven D. Brewer <sbrewer@bio.umass.edu> to respect the $pages argument
rurban [Tue, 11 Feb 2003 09:34:34 +0000 (09:34 +0000)]
fix by Steven D. Brewer <sbrewer@bio.umass.edu> to respect the $pages argument

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

21 years agoCommented-out debugging message.
carstenklapp [Sat, 1 Feb 2003 03:12:51 +0000 (03:12 +0000)]
Commented-out debugging message.

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

21 years agoNew plugin which provides entry forms to search any site listed in the InterWikiMap.
carstenklapp [Fri, 31 Jan 2003 23:04:44 +0000 (23:04 +0000)]
New plugin which provides entry forms to search any site listed in the InterWikiMap.

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

21 years agoNew plugin which provides entry forms to search any site listed in the InterWikiMap.
carstenklapp [Fri, 31 Jan 2003 22:56:21 +0000 (22:56 +0000)]
New plugin which provides entry forms to search any site listed in the InterWikiMap.

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

21 years agoAdded hook/hack to allow plugins to provide their own or override a PageType.
carstenklapp [Fri, 31 Jan 2003 22:53:39 +0000 (22:53 +0000)]
Added hook/hack to allow plugins to provide their own or override a PageType.

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

21 years agoBugfix: Plugin was redirecting to nonexistant local wiki page named
carstenklapp [Thu, 30 Jan 2003 02:46:46 +0000 (02:46 +0000)]
Bugfix: Plugin was redirecting to nonexistant local wiki page named
"ExternalSearch" instead of the invoked url. Reported by Arthur Chereau.

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

21 years agoUpdated my e-mail
carstenklapp [Wed, 29 Jan 2003 21:50:25 +0000 (21:50 +0000)]
Updated my e-mail

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

21 years agoForgot to remove dead website link & use my correct e-mail address.
carstenklapp [Wed, 29 Jan 2003 21:49:18 +0000 (21:49 +0000)]
Forgot to remove dead website link & use my correct e-mail address.

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

21 years agoAdded note about www permissions for wiki_access.log.
carstenklapp [Wed, 29 Jan 2003 21:43:17 +0000 (21:43 +0000)]
Added note about www permissions for wiki_access.log.
Added links to Fink website.
Updated instructions for use with keychain-2.0.2.
Updated my e-mail address.
Other minor rewording.

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

21 years agoBugfix for &nbsp showing on diff page.
carstenklapp [Wed, 29 Jan 2003 19:17:37 +0000 (19:17 +0000)]
Bugfix for &nbsp showing on diff page.

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

21 years agoBetter error messages from PhpWeather Plugin -- Martin Geisler
zorloc [Tue, 28 Jan 2003 21:10:38 +0000 (21:10 +0000)]
Better error messages from PhpWeather Plugin -- Martin Geisler

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

21 years agoThe get_cfg_var() function should only be used when one is
zorloc [Tue, 28 Jan 2003 21:09:17 +0000 (21:09 +0000)]
The get_cfg_var() function should only be used when one is
interested in the value from php.ini or similar. Use ini_get()
instead to get the effective value of a configuration variable.
-- Martin Geisler

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

21 years agoThe regexp that matches InterWiki links was too greedy; it didn't
zorloc [Tue, 28 Jan 2003 21:07:16 +0000 (21:07 +0000)]
The regexp that matches InterWiki links was too greedy; it didn't
stop before a !. So Google:Hello! would search for 'Hello!' whereas
Google:Hello? only searches for 'Hello'. -- Martin Geisler

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

21 years agoA fix for problems when file_exists($file) triggers a warning
zorloc [Tue, 28 Jan 2003 21:06:05 +0000 (21:06 +0000)]
A fix for problems when file_exists($file) triggers a warning
because $file lies outside the area that PHP allows you to access
when running in Safe Mode. -- Martin Geisler

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

21 years agoI have added all of the values for Part One of our configuration values.
zorloc [Tue, 28 Jan 2003 18:55:25 +0000 (18:55 +0000)]
I have added all of the values for Part One of our configuration values.

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

21 years agoAdded some more Validator subclasses to handle arrays of for which the
zorloc [Tue, 28 Jan 2003 18:53:25 +0000 (18:53 +0000)]
Added some more Validator subclasses to handle arrays of for which the
validation criteria should be the same for all members.

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

21 years agoMartin Geisler's clever Comment plugin.
carstenklapp [Tue, 28 Jan 2003 17:57:24 +0000 (17:57 +0000)]
Martin Geisler's clever Comment plugin.

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

21 years agoThis file holds all of the config settings for the constants, variables,
zorloc [Tue, 28 Jan 2003 07:32:24 +0000 (07:32 +0000)]
This file holds all of the config settings for the constants, variables,
and arrays that can be customized/defined.

I have done a template and one constant (WIKI_NAME).  More to follow.

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

21 years agoMostly done but ConfigArray will probably need some more helper methods.
zorloc [Tue, 28 Jan 2003 06:31:00 +0000 (06:31 +0000)]
Mostly done but ConfigArray will probably need some more helper methods.

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

21 years agoInitial work for classes to hold configuration constants/variables. Base
zorloc [Thu, 23 Jan 2003 00:32:04 +0000 (00:32 +0000)]
Initial work for classes to hold configuration constants/variables. Base
ConfigValue class and subclasses for constants and variables.

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

21 years agoModified WikiUser constructor to move the DB request for the homepage to
zorloc [Wed, 22 Jan 2003 03:21:40 +0000 (03:21 +0000)]
Modified WikiUser constructor to move the DB request for the homepage to
the end of the logic to prevent it from being requested and then dropped.
Added more phpdoc comments.

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

21 years agoModified WikiUser::_ok() -- Inverted the logic so the default is to return
zorloc [Tue, 21 Jan 2003 07:40:50 +0000 (07:40 +0000)]
Modified WikiUser::_ok() -- Inverted the logic so the default is to return
false and to return true only in the desired condition.  Added phpdoc
comments

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

21 years agoAdded Log entry and page footer.
zorloc [Tue, 21 Jan 2003 04:02:39 +0000 (04:02 +0000)]
Added Log entry and page footer.

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

21 years agodefined constant for arrow, eliminate use of fmt()
carstenklapp [Sat, 18 Jan 2003 22:22:36 +0000 (22:22 +0000)]
defined constant for arrow, eliminate use of fmt()

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

21 years agoFixed renamed plugin arg; reformatted text.
carstenklapp [Sat, 18 Jan 2003 22:18:27 +0000 (22:18 +0000)]
Fixed renamed plugin arg; reformatted text.

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

21 years agoCode cleanup:
carstenklapp [Sat, 18 Jan 2003 22:14:30 +0000 (22:14 +0000)]
Code cleanup:
Reformatting & tabs to spaces;
Added copyleft, getVersion, getDescription, rcs_id.

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

21 years agoCode cleanup:
carstenklapp [Sat, 18 Jan 2003 22:01:44 +0000 (22:01 +0000)]
Code cleanup:
Reformatting & tabs to spaces;
Added copyleft, getVersion, getDescription, rcs_id.

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

21 years agoCode cleanup:
carstenklapp [Sat, 18 Jan 2003 21:49:01 +0000 (21:49 +0000)]
Code cleanup:
Reformatting & tabs to spaces;
Added copyleft, getVersion, getDescription, rcs_id.

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

21 years agoCode cleanup:
carstenklapp [Sat, 18 Jan 2003 21:41:02 +0000 (21:41 +0000)]
Code cleanup:
Reformatting & tabs to spaces;
Added copyleft, getVersion, getDescription, rcs_id.

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

21 years agoCode cleanup:
carstenklapp [Sat, 18 Jan 2003 21:19:25 +0000 (21:19 +0000)]
Code cleanup:
Reformatting; added copyleft, getVersion, getDescription

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

21 years agoIn the cache of membership, added caching of false results.
zorloc [Fri, 17 Jan 2003 23:53:48 +0000 (23:53 +0000)]
In the cache of membership, added caching of false results.

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

21 years agoReplaced tabs with four spaces
zorloc [Fri, 17 Jan 2003 21:11:31 +0000 (21:11 +0000)]
Replaced tabs with four spaces

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

21 years agoFirst incarnation of the Group interface for Group authentication
zorloc [Fri, 17 Jan 2003 20:39:09 +0000 (20:39 +0000)]
First incarnation of the Group interface for Group authentication

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

21 years agospelling fixes
carstenklapp [Wed, 15 Jan 2003 05:45:47 +0000 (05:45 +0000)]
spelling fixes

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

21 years agocode reformatting
carstenklapp [Wed, 15 Jan 2003 05:37:20 +0000 (05:37 +0000)]
code reformatting

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

21 years agoBugfix: Previously stored preferences were not loading when user
carstenklapp [Wed, 15 Jan 2003 04:59:27 +0000 (04:59 +0000)]
Bugfix: Previously stored preferences were not loading when user
signed in. (Fixed... I hope.)

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

21 years agoNew documentation: chart which maps template relationships
carstenklapp [Sun, 12 Jan 2003 17:54:09 +0000 (17:54 +0000)]
New documentation: chart which maps template relationships

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

21 years agoTweaked diff formatting.
carstenklapp [Sat, 11 Jan 2003 23:05:04 +0000 (23:05 +0000)]
Tweaked diff formatting.

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

21 years agoAdded Page type field displayed for special pages.
carstenklapp [Sat, 11 Jan 2003 22:54:28 +0000 (22:54 +0000)]
Added Page type field displayed for special pages.

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

21 years agoTweak redundant bookmark title when browsing a custom home page with
carstenklapp [Sat, 11 Jan 2003 22:29:47 +0000 (22:29 +0000)]
Tweak redundant bookmark title when browsing a custom home page with
the same name as the wiki (i.e. avoid titles like "MyWiki - MyWiki"
when HOME_PAGE==WIKI_NAME)

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

21 years agoMore refactoring to use templated output. Use page meta "summary" field.
carstenklapp [Sat, 11 Jan 2003 22:23:00 +0000 (22:23 +0000)]
More refactoring to use templated output. Use page meta "summary" field.

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

21 years agoTweaked logo's text positioning and moved it's border into css.
carstenklapp [Sat, 11 Jan 2003 22:18:01 +0000 (22:18 +0000)]
Tweaked logo's text positioning and moved it's border into css.

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

21 years agoTweaked diff formatting. Added outset border to logo.
carstenklapp [Sat, 11 Jan 2003 22:15:58 +0000 (22:15 +0000)]
Tweaked diff formatting. Added outset border to logo.

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

21 years agoDon't perform a diff when the page doesn't exist (such as a
carstenklapp [Wed, 8 Jan 2003 02:23:02 +0000 (02:23 +0000)]
Don't perform a diff when the page doesn't exist (such as a
nonexistant calendar day/sub-page)

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

21 years agoNew: use blog.tmpl template to format output. Some cosmetic
carstenklapp [Mon, 6 Jan 2003 02:29:02 +0000 (02:29 +0000)]
New: use blog.tmpl template to format output. Some cosmetic
issues, it mostly works but code still needs cleanup. Added
getVersion() for PluginManager.

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

21 years agoNew template for WikiBlog plugin.
carstenklapp [Mon, 6 Jan 2003 02:17:08 +0000 (02:17 +0000)]
New template for WikiBlog plugin.

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

21 years agoBugfix: Also identify any WikiBlogs which are subpages of subpages.
carstenklapp [Mon, 6 Jan 2003 01:46:31 +0000 (01:46 +0000)]
Bugfix: Also identify any WikiBlogs which are subpages of subpages.

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

21 years agoAdded a basic WikiBlog page type, takes advantage of editpage summary field.
carstenklapp [Mon, 6 Jan 2003 00:08:08 +0000 (00:08 +0000)]
Added a basic WikiBlog page type, takes advantage of editpage summary field.

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

21 years agoNew plugin by Ted Vinke (sf tracker patch #661189)
carstenklapp [Sun, 5 Jan 2003 04:21:06 +0000 (04:21 +0000)]
New plugin by Ted Vinke (sf tracker patch #661189)

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

21 years agoSample file for PhotoAlbum plugin
carstenklapp [Sun, 5 Jan 2003 04:18:17 +0000 (04:18 +0000)]
Sample file for PhotoAlbum plugin

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

21 years agoNew: Implemented 'smalltitle' argument and date sorting fix from
carstenklapp [Sun, 5 Jan 2003 02:37:30 +0000 (02:37 +0000)]
New: Implemented 'smalltitle' argument and date sorting fix from
Cuthbert Cat's sf patch 655095. Added getVersion & getDescription;
code rewrapping.

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

21 years agoNew: Gracefully handle non-existant pages. Added copyleft;
carstenklapp [Sat, 4 Jan 2003 23:27:39 +0000 (23:27 +0000)]
New: Gracefully handle non-existant pages. Added copyleft;
getVersion() for PluginManager.

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

21 years agoWorkaround: when page has no subpages avoid include of nonexistant pages.
carstenklapp [Sat, 4 Jan 2003 22:46:07 +0000 (22:46 +0000)]
Workaround: when page has no subpages avoid include of nonexistant pages.

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

21 years agoNew: display a "Never edited." message instead of an invalid epoch date.
carstenklapp [Sat, 4 Jan 2003 22:30:16 +0000 (22:30 +0000)]
New: display a "Never edited." message instead of an invalid epoch date.

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

21 years agoBugfix UnfoldSubpages: "Undefined offset: 1" error when plugin invoked
carstenklapp [Sat, 4 Jan 2003 22:19:43 +0000 (22:19 +0000)]
Bugfix UnfoldSubpages: "Undefined offset: 1" error when plugin invoked
on a page with no subpages (explodeList(): array 0-based, sizeof 1-based).

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

21 years agoAdded copyleft flowerboxes
wainstead [Sat, 4 Jan 2003 03:41:51 +0000 (03:41 +0000)]
Added copyleft flowerboxes

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

21 years agoAdded 'file' as a database type alongside 'dbm'; added cvs log tag
wainstead [Sat, 4 Jan 2003 03:36:58 +0000 (03:36 +0000)]
Added 'file' as a database type alongside 'dbm'; added cvs log tag

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

21 years agoadded log tag, converted file to unix format
wainstead [Sat, 4 Jan 2003 03:30:34 +0000 (03:30 +0000)]
added log tag, converted file to unix format

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

21 years agook, this time log tag for sure.
wainstead [Sat, 4 Jan 2003 03:29:02 +0000 (03:29 +0000)]
ok, this time log tag for sure.

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

21 years agoAdded credits, php emacs stuff, log tag for CVS.
wainstead [Sat, 4 Jan 2003 03:28:14 +0000 (03:28 +0000)]
Added credits, php emacs stuff, log tag for CVS.

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

21 years agodumping this in favor of Jochen Kalmbach's flat file database.
wainstead [Sat, 4 Jan 2003 03:22:15 +0000 (03:22 +0000)]
dumping this in favor of Jochen Kalmbach's flat file database.

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

21 years agoNew flat file database for the 1.3 branch thanks to Jochen Kalmbach.
wainstead [Sat, 4 Jan 2003 03:21:00 +0000 (03:21 +0000)]
New flat file database for the 1.3 branch thanks to Jochen Kalmbach.

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

21 years agoFixed incorrect <dl> indentation
carstenklapp [Sat, 4 Jan 2003 03:04:15 +0000 (03:04 +0000)]
Fixed incorrect <dl> indentation

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

21 years agoNew plugin page.
carstenklapp [Sat, 4 Jan 2003 02:39:16 +0000 (02:39 +0000)]
New plugin page.

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

21 years agoAdded 'col' and 'colgroup' table elements used by PluginManager.
carstenklapp [Sat, 4 Jan 2003 02:32:30 +0000 (02:32 +0000)]
Added 'col' and 'colgroup' table elements used by PluginManager.

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

21 years agoAdded 'info' argument to show / hide plugin "Arguments"
carstenklapp [Sat, 4 Jan 2003 02:30:12 +0000 (02:30 +0000)]
Added 'info' argument to show / hide plugin "Arguments"
column. Improved row highlighting and error message when viewed by
non-admin user. Code refactored. Added copyleft.

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

21 years agoAdded copyleft and plugin description & version, tweaked default
carstenklapp [Sat, 4 Jan 2003 02:25:41 +0000 (02:25 +0000)]
Added copyleft and plugin description & version, tweaked default
exclude list code to allow spaces (a cosmetic workaround for
PluginManager plugin).

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

21 years agoMinor adjustments to diff block markers ("<<<<<<<"). Source reformatting.
carstenklapp [Fri, 3 Jan 2003 22:27:17 +0000 (22:27 +0000)]
Minor adjustments to diff block markers ("<<<<<<<"). Source reformatting.

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

21 years agoCosmetic fix to "Merge Edit" & "Overwrite" buttons. Added "The PhpWiki
carstenklapp [Fri, 3 Jan 2003 22:25:53 +0000 (22:25 +0000)]
Cosmetic fix to "Merge Edit" & "Overwrite" buttons. Added "The PhpWiki
programming team" as author when loading from pgsrc. Source
reformatting.

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

21 years agoMinor adjustments to diff block markers ("<<<<<<<"). Source reformatting.
carstenklapp [Fri, 3 Jan 2003 22:22:00 +0000 (22:22 +0000)]
Minor adjustments to diff block markers ("<<<<<<<"). Source reformatting.

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

21 years agofunction SavePage: Added loadfile options for overwriting or merge &
carstenklapp [Fri, 3 Jan 2003 02:48:05 +0000 (02:48 +0000)]
function SavePage: Added loadfile options for overwriting or merge &
compare a loaded pgsrc file with an existing page.

function LoadAny: Added a general error message when unable to load a
file instead of defaulting to "Bad file type".

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

21 years agoNew class LoadFileConflictPageEditor, for merging / comparing a loaded
carstenklapp [Fri, 3 Jan 2003 02:43:26 +0000 (02:43 +0000)]
New class LoadFileConflictPageEditor, for merging / comparing a loaded
pgsrc file with an existing page.

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

21 years agoSpecifying a leading diff context size larger than the available
carstenklapp [Thu, 2 Jan 2003 22:51:43 +0000 (22:51 +0000)]
Specifying a leading diff context size larger than the available
context now returns the available number of lines instead of the
default. (Prevent negative offsets to array_slice() when $nlead >
sizeof($context)). Added BlockDiffFormatter, to be used by future
enhancements to reload / upgrade pgsrc.

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