]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
carstenklapp [Sun, 9 Nov 2003 18:43:57 +0000 (18:43 +0000)]
Rebuilt pot file for new/changed strings.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2772
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 9 Nov 2003 18:42:50 +0000 (18:42 +0000)]
Updated translation strings from Helmer Pardun.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2771
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 9 Nov 2003 04:54:40 +0000 (04:54 +0000)]
Minor update: make dep to update for newly added files.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2770
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 9 Nov 2003 01:24:13 +0000 (01:24 +0000)]
SF patch 710035 - Error when dumping a Zip snapshot on Windows NT 5 build 2195 with PHP 4.3.1. Patch applied but I did not test it on on Windows, doesn't seem to interfere with ZipDumps on PhpWiki 1.3.5pre running Linux.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2769
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Nov 2003 19:39:55 +0000 (19:39 +0000)]
New function getTmpName of class Request_UploadedFile, required for
UpLoad plugin. (Sorry I forgot to commit this earlier together with
the UpLoad plugin).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2768
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 5 Nov 2003 03:01:35 +0000 (03:01 +0000)]
smaller button
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2767
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 4 Nov 2003 18:41:41 +0000 (18:41 +0000)]
New plugin which was submitted to the mailing list some time
ago. (This is the best UpLoad function I have seen for PhpWiki so
far. Cleaned up text formatting and typos from the version on the
mailing list. Still needs a few adjustments.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2766
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 4 Nov 2003 18:22:23 +0000 (18:22 +0000)]
typo
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2765
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 4 Nov 2003 18:20:21 +0000 (18:20 +0000)]
Moved "redirected from" message onto next line after h1,
instead of within h1 (too gross;)).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2764
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 2 Nov 2003 20:42:35 +0000 (20:42 +0000)]
Allow for easy page creation when search returns no matches.
Based on cuthbertcat's patch, SF#655090 2002-12-17.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2763
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Nov 2003 04:55:55 +0000 (04:55 +0000)]
Alternate/optional translation of "RecentChanges" button.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2762
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 28 Oct 2003 21:51:51 +0000 (21:51 +0000)]
Commented out E-mail Notification section until it can be
finished or removed. Reformatted theme & language selection
to avoid using a table.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2761
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 28 Oct 2003 21:24:09 +0000 (21:24 +0000)]
Commented out html-output referring to not yet functional feature.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2760
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 28 Oct 2003 21:13:46 +0000 (21:13 +0000)]
Security bug fix for admin password, submitted by Julien Charbon.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2759
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 24 Oct 2003 20:38:09 +0000 (20:38 +0000)]
New SeitenInfo (PageInfo) button for de. (pngcrush~ed).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2758
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 24 Oct 2003 19:37:21 +0000 (19:37 +0000)]
An "Empty well" version of the Mac OS X PhpWiki logo, suitable as a
template for creating your own logo.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2757
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 15 Oct 2003 19:47:53 +0000 (19:47 +0000)]
Minor updates from Usemod's intermap.txt.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2756
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 15 Oct 2003 19:46:17 +0000 (19:46 +0000)]
Crude script to assist in updating interwiki.map from Usemod.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2755
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 10 Oct 2003 04:41:20 +0000 (04:41 +0000)]
German instructions to update/modify .po translations (
\86 bersetzungen Aktualisieren).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2754
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 20 Sep 2003 02:28:28 +0000 (02:28 +0000)]
Text-wrap.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2753
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 20 Sep 2003 02:26:23 +0000 (02:26 +0000)]
German AllUsers plugin added.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2752
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 20 Sep 2003 00:33:04 +0000 (00:33 +0000)]
Require double entry of password to be encrypted,
minor text rewording and code reformatting.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2751
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 20 Sep 2003 00:02:12 +0000 (00:02 +0000)]
Possible solution for isWindowsNT() using PHP_OS (unconfirmed).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2750
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 19 Sep 2003 22:01:19 +0000 (22:01 +0000)]
BOGO users allowed preferences too when ALLOW_BOGO_LOGIN == true.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2749
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 14 Sep 2003 23:40:50 +0000 (23:40 +0000)]
Start of some theme documentation.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2748
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:51:12 +0000 (22:51 +0000)]
pngcrush
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2747
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:50:10 +0000 (22:50 +0000)]
New LinkIcon for WikiUser links.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2746
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:47:04 +0000 (22:47 +0000)]
New preference to hide LinkIcons. New LinkIcons for links to WikiUser pages.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2745
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:43:00 +0000 (22:43 +0000)]
New preference to hide LinkIcons.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2744
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:25:38 +0000 (22:25 +0000)]
Hook for new user preference 'noLinkIcons'.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2743
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 22:20:55 +0000 (22:20 +0000)]
Added a default getVersion() function for any remaining
or new plugins which do not provide one.
(See: lib/plugin/PluginManager.php)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2742
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 21:57:26 +0000 (21:57 +0000)]
Reformatting only.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2741
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 13 Sep 2003 21:53:41 +0000 (21:53 +0000)]
Added lang and theme arguments, getVersion(), copyright and cvs log.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2740
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
zorloc [Fri, 20 Jun 2003 16:44:25 +0000 (16:44 +0000)]
Override the base PearDB functions that create the sql match clauses for text searches
to use PGSQLs non-standard "ILIKE" instead of "LIKE". This will return many more
results on a PGSQL backend -- jbw
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2739
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Wed, 28 May 2003 05:12:37 +0000 (05:12 +0000)]
Added proper citation.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2738
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 29 Apr 2003 14:34:20 +0000 (14:34 +0000)]
Bug fix: "add sidebar" link didn't work when USE_PATH_INFO was false.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2737
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 1 Apr 2003 17:55:18 +0000 (17:55 +0000)]
Fix CSS list vertical spacing.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2736
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 1 Apr 2003 17:20:16 +0000 (17:20 +0000)]
Convert " to " in XML output.
(Problem pointed out by Martin Geisler.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2735
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Mar 2003 19:37:08 +0000 (19:37 +0000)]
Fix "object to string conversion" bug with external image links.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2734
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Mar 2003 21:05:27 +0000 (21:05 +0000)]
Ensure pagenames are strings.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2733
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Mar 2003 21:04:41 +0000 (21:04 +0000)]
Fix to ensure that getWikiPageLinks() returns an array of strings.
(Pagenames like '1' were getting converted to integers.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2732
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Mar 2003 21:03:02 +0000 (21:03 +0000)]
Cleanup debugging output.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2731
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Mar 2003 21:01:52 +0000 (21:01 +0000)]
Remove debugging cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2730
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Mar 2003 22:57:24 +0000 (22:57 +0000)]
Fixes for windows compatibility in strftime format strings.
This was fixed quite some time ago for the default case (in lib/Theme.php),
I'm just propagating the changes into the comments and customizations
in the various themeinfo.php's.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2729
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Mar 2003 21:40:05 +0000 (21:40 +0000)]
Copy Lawrence's memo on USE_PATH_INFO/AcceptPathInfo to configurator.php
(as promised).
Plus slight clarification of default (auto-detect) behavior.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2728
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
lakka [Tue, 18 Mar 2003 20:51:10 +0000 (20:51 +0000)]
Revised comments on use of USE_PATH_INFO with Apache 2
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2727
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Mar 2003 16:47:32 +0000 (16:47 +0000)]
Fix for SF bug #704423.
(Hopefully this doesn't break something else...)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2726
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Mar 2003 23:59:19 +0000 (23:59 +0000)]
Fix for auto-detection of USE_PATH_INFO.
(The 'apache 2.0 filter' API doesn't seem to support PATH_INFO.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2725
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Mar 2003 22:32:26 +0000 (22:32 +0000)]
Minor HTTP caching fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2724
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Mar 2003 22:20:20 +0000 (22:20 +0000)]
Use gzencode() and gzinflate() when available rather than
reading/writing temp files via gzopen().
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2723
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Mar 2003 21:24:53 +0000 (21:24 +0000)]
Fix security bugs in the RawHtml plugin.
Change the default configuration to allow use of plugin, since
I believe the plugin is now safe for general use. (Raw HTML will only
work on locked pages.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2722
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 13 Mar 2003 20:17:05 +0000 (20:17 +0000)]
Bug fix: Fix linking of pages whose names contain a hash ('#').
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2721
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 13 Mar 2003 18:57:56 +0000 (18:57 +0000)]
Hack so that (when using the IncludePage plugin) the including page shows
up in the BackLinks of the included page.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2720
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 12 Mar 2003 09:31:31 +0000 (09:31 +0000)]
Rebuilt Makefile dep. Added a few more German translations.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2719
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 10 Mar 2003 19:51:03 +0000 (19:51 +0000)]
Bug fix. Wiki-markup like *0* (that's a zero) resulted in no output,
since the string empty('0') is true.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2718
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 10 Mar 2003 18:25:22 +0000 (18:25 +0000)]
Bug/typo fix. If you use the edit page to un/lock a page, it
failed with: Fatal error: Call to a member function on a
non-object in editpage.php on line 136
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2717
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 22:47:01 +0000 (22:47 +0000)]
A few more if(!defined(...))'s
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2716
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 22:46:38 +0000 (22:46 +0000)]
Fix/cleanup several more config options and messages.
Fix password autogeneration and encryption.
Put a few more if(!defined('...'))'s in.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2715
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 21:52:34 +0000 (21:52 +0000)]
Wups. Didn't save the last of the previous changes before commit.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2714
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 21:46:55 +0000 (21:46 +0000)]
Glean page description (for meta tag) from CachedMarkup.
Since CachedMarkup has access to the parsed wiki-text, it doesn't have
to do it's own (flawed parsing) to find paragraphs, and convert links
to plain text, etc...
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2713
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 20:51:59 +0000 (20:51 +0000)]
New feature: Automatic extraction of keywords (for the meta keywords tag)
from Category* and Topic* links on each page.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2712
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 06:31:16 +0000 (06:31 +0000)]
Disabled the ability to write the config file.
Having the configurator write the config file to the install
directory is a big security hole. It allows _anyone_ to write a working
index-user.php with, e.g., an admin username and password of their
own choosing.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2711
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:57:08 +0000 (02:57 +0000)]
Remove redundant RCS ids. (From Klaus-Guenther Leiss).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2710
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:51:31 +0000 (02:51 +0000)]
FileFinder::_get_include_path(): Add @ before ini_get('include_path')
to suppress warnings. (This needs more attention.)
FileFinder::isWindowsNT(): Check that php_uname is usable before using
it. (This needs more attention.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2709
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:50:48 +0000 (02:50 +0000)]
Force redirect. (The code for generating the text below the redirect
was broken anyway...)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2708
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:50:16 +0000 (02:50 +0000)]
Fixes for new javascript redirect.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2707
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:49:48 +0000 (02:49 +0000)]
New template to support Request::redirect() in lib/Request.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2706
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:48:23 +0000 (02:48 +0000)]
Add option to prevent HTTP redirect.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2705
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:47:32 +0000 (02:47 +0000)]
Fix class DebugTimer so that it doesn't fail when posix_times() is not
available.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2704
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:46:57 +0000 (02:46 +0000)]
Omit checks for safe_mode before set_time_limit(). Just prefix the
set_time_limit() calls with @ so that they fail silently if not
supported.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2703
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:46:24 +0000 (02:46 +0000)]
function_usable(): New function.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2702
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:45:51 +0000 (02:45 +0000)]
Rename BASE_URL to PHPWIKI_BASE_URL. Lycos pre-defines BASE_URL (to
the wrong thing).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2701
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:44:29 +0000 (02:44 +0000)]
Get SCRIPT_NAME from SCRIPT_URL if SCRIPT_NAME appears to be incorrect.
If php_sapi_name() == 'cgi', default to USE_PATH_INFO = false.
Rename BASE_URL to PHPWIKI_BASE_URL. Lycos pre-defines BASE_URL
(to the wrong thing).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2700
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:41:44 +0000 (02:41 +0000)]
Content-Length computation seems to come up with the wrong length
sometimes (on UK Lycos). Disabled for now.
Request_SessionVars: Check that ini_get is usable before using it.
Request::redirect): Add option to prevent HTTP redirect. Try to
"redirect" via sneaky JavaScript and <meta http-equiv="Refresh">.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2699
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Mar 2003 02:39:47 +0000 (02:39 +0000)]
WikiRequest::requiredAuthorityForAction(): Allow anonymous action='search'.
Mark ETag weak. Should look more carefully at this.
When DEBUG is false a strong ETag may be safe, but for now,
take the paranoid approach.
Open WikiDB earlier, this seems to get around some bug in the
UK Lycos PHP interpreter (WikiDB connects fail if attempted from
too deep in a call stack?)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2698
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 5 Mar 2003 21:38:15 +0000 (21:38 +0000)]
More HTML comment reduction patches by "Klaus-Guenter Leiss"
<Leiss.Klaus-Guenter@epost.de>
(With a few adjustments by me. Any bugs are probably my fault.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2697
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 23:34:11 +0000 (23:34 +0000)]
Patches to minimize HTML comment verbosity by
Klaus-Guenter Leiss <LeissKG@web.de>
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2696
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 20:01:03 +0000 (20:01 +0000)]
Add some missing config entries.
Fix code so that it produces valid XHTML.
Fix the show/hide section javascript.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2695
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 05:33:00 +0000 (05:33 +0000)]
Fix and cleanup lib/DB_Session.php.
Base64 encode session data for postgres.
Fix problems with use of closed database handles.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2694
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 05:26:49 +0000 (05:26 +0000)]
sess_date in the session table should be an INT, not a TIMESTAMP
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2693
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 02:08:08 +0000 (02:08 +0000)]
Fix and document the WIKIDB_NOCACHE_MARKUP config define.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2692
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:55:05 +0000 (01:55 +0000)]
Fix to ensure absolute URL for logo in RSS recent changes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2691
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:54:17 +0000 (01:54 +0000)]
Output Content-Length HTTP header when possible.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2690
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:53:30 +0000 (01:53 +0000)]
Inconsequential decrufting.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2689
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:52:40 +0000 (01:52 +0000)]
Move call to $backend->optimize from WikiDB_Page::createRevision() to
WikiDB_Page::save. Postgres doesn't like to optimize when the
tables are locked.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2688
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:49:27 +0000 (01:49 +0000)]
Bug fix for the postgres backend:
Base64_encode pagedata and versiondata, since these are stored in a TEXT
field, which is apparently not binary safe.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2687
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 4 Mar 2003 01:44:58 +0000 (01:44 +0000)]
DROP session table before creating.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2686
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Mar 2003 13:57:31 +0000 (13:57 +0000)]
Added fontpath (see PhpWiki:VisualWiki), tries to be smart about which OS.
(This plugin still doesn't work for me on OS X, but at least image files
are actually being created now in '/tmp/cache'.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2685
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Mar 2003 22:28:02 +0000 (22:28 +0000)]
Updated from obsolete do_transform() function to TransformLinks().
Fixes bug:
Fatal error: Call to undefined function: do_transform() in
phpwiki/themes/SpaceWiki/lib/RecentChanges.php on line 49
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2684
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 23:55:52 +0000 (23:55 +0000)]
Clean up <br clear="all" style="clear: both;" /> tags.
This rage was triggered by one in editpage.tmpl which used clear="both",
which is not valid HTML. Then I figured might as well use a class for them
and make them all consistent.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2683
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 23:23:38 +0000 (23:23 +0000)]
Fix my breakage of CSS and sidebar RecentChanges output.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2682
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 22:48:44 +0000 (22:48 +0000)]
Fixes invalid HTML generated by PageHistory plugin.
(<noscript> is block-level and not allowed within <p>.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2681
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 22:47:27 +0000 (22:47 +0000)]
New functions in HtmlElement:
JavaScript($js)
Helper for generating javascript.
IfJavaScript($if_content, $else_content)
Helper for generating
<script>document.write('...')</script><noscript>...</noscript>
constructs.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2680
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 21:15:14 +0000 (21:15 +0000)]
Javascript fix.
Fix so that you can never have more than two checkboxes checked. (If this
happens, all but the current checkbox are unchecked.)
It used to be that one could view a PageHistory, check two boxes to view
a diff, then hit the back button. (The originally checked two boxes are
still checked at this point.) Checking a third box resulted in viewing
a diff between a quasi-random pair of versions selected from the three
which were selected. Now clicking the third box results in the first
two being unchecked.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2679
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 20:10:31 +0000 (20:10 +0000)]
Disable profiling output when DEBUG is defined but false.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2678
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 20:02:47 +0000 (20:02 +0000)]
Fix HTTP validator bug (Last-Modified times for pages with plugins
were wrong.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2677
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 23:59:48 +0000 (23:59 +0000)]
Fixes from Todd Mokros for linkUnknownWikiWord in MacOSX and Portland themes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2676
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 22:32:06 +0000 (22:32 +0000)]
Wups. Delete disused cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2675
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 22:27:22 +0000 (22:27 +0000)]
Fix and refactor FrameInclude plugin (more or less).
(This should now generate valid HTML. Woohoo!)
The output when using the Sidebar theme is ugly enough that it should
be considered broken. (But the Sidebar theme appears pretty broken in
general right now.)
(Personal comment (not to be taken personally): I must say that I
remain unconvinced of the usefulness of this plugin.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2674
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 17:17:52 +0000 (17:17 +0000)]
Patch from Todd Mokros:
This fixes "PHP Fatal error: Call to undefined function: gettag() in
lib/BlockParser.php", when including plugins in a list.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2673
96ab9672 -09ca-45d6-a79d-
3d69d39ca109