]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
20 years agoORDER BY support for all other backends,
rurban [Sun, 25 Jan 2004 08:17:30 +0000 (08:17 +0000)]
ORDER BY support for all other backends,
all non-SQL simply ignoring it, using plain old dumb_iter instead

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

20 years agoPageList sortby support in PearDB and ADODB backends
rurban [Sun, 25 Jan 2004 08:00:46 +0000 (08:00 +0000)]
PageList sortby support in PearDB and ADODB backends

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

20 years agoWikiUserNew support (temp. ENABLE_USER_NEW constant)
rurban [Sun, 25 Jan 2004 04:21:02 +0000 (04:21 +0000)]
WikiUserNew support (temp. ENABLE_USER_NEW constant)

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

20 years agodos2unix (sorry)
rurban [Sun, 25 Jan 2004 04:04:34 +0000 (04:04 +0000)]
dos2unix (sorry)
fixed private pear path

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

20 years agoPrint "Sign in as:" to avoid people trying to enter their password here.
rurban [Sun, 25 Jan 2004 04:02:26 +0000 (04:02 +0000)]
Print "Sign in as:" to avoid people trying to enter their password here.

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

20 years agoa default LIMIT -1 is wrong.
rurban [Sun, 25 Jan 2004 04:00:16 +0000 (04:00 +0000)]
a default LIMIT -1 is wrong.

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

20 years agouse stdlib:isWikiWord()
rurban [Sun, 25 Jan 2004 03:58:44 +0000 (03:58 +0000)]
use stdlib:isWikiWord()

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

20 years agoWikiUserNew support (temp. ENABLE_USER_NEW constant)
rurban [Sun, 25 Jan 2004 03:57:15 +0000 (03:57 +0000)]
WikiUserNew support (temp. ENABLE_USER_NEW constant)

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

20 years agoadded isWikiWord() to avoid redundancy
rurban [Sun, 25 Jan 2004 03:49:03 +0000 (03:49 +0000)]
added isWikiWord() to avoid redundancy
added check_php_version() to check for older php versions.
  e.g. object::method calls, ...

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

20 years agoFirst working version, but has some problems with the current main loop.
rurban [Sun, 25 Jan 2004 03:05:00 +0000 (03:05 +0000)]
First working version, but has some problems with the current main loop.
Implemented new auth method dispatcher and policies, all the external
_PassUser classes (also for ADODB and Pear DB).
The two global funcs UserExists() and CheckPass() are probably not needed,
since the auth loop is done recursively inside the class code, upgrading
the user class within itself.
Note: When a higher user class is returned, this doesn't mean that the user
is authorized, $user->_level is still low, and only upgraded on successful
login.

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

20 years agoSupport more options: caption (seperate tag), border, summary, cellpadding,
rurban [Sat, 24 Jan 2004 23:37:08 +0000 (23:37 +0000)]
Support more options: caption (seperate tag), border, summary, cellpadding,
cellspacing
Fixes some errors from the version from the mailinglist.

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

20 years agoPatch by Alec Thomas, allows Perl regular expressions in SiteMap exclude lists.
rurban [Sat, 24 Jan 2004 23:24:07 +0000 (23:24 +0000)]
Patch by Alec Thomas, allows Perl regular expressions in SiteMap exclude lists.
  exclude=WikiWikiWeb,(?:Category|Topic).*
It is backwards compatible unless old exclude lists, and therefore Wiki
page names, contain regular expression characters.

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

20 years agoDeleted, obsolete.
wainstead [Mon, 5 Jan 2004 03:53:11 +0000 (03:53 +0000)]
Deleted, obsolete.

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

20 years agoremoved the manifest, which was way out of date.
wainstead [Mon, 5 Jan 2004 03:52:27 +0000 (03:52 +0000)]
removed the manifest, which was way out of date.

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

20 years agoPage explaining how to use the CalendarList plugin.
wainstead [Mon, 5 Jan 2004 03:43:06 +0000 (03:43 +0000)]
Page explaining how to use the CalendarList plugin.

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

20 years agoDescription with examples of the author history plugin.
wainstead [Sun, 4 Jan 2004 22:11:46 +0000 (22:11 +0000)]
Description with examples of the author history plugin.

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

20 years agoadded pagename
wainstead [Sun, 4 Jan 2004 22:11:08 +0000 (22:11 +0000)]
added pagename

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

20 years agoSimple example page for the WikiBlog plugin.
wainstead [Sun, 4 Jan 2004 20:01:54 +0000 (20:01 +0000)]
Simple example page for the WikiBlog plugin.

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

20 years agoadded pagename to header
wainstead [Sun, 4 Jan 2004 18:28:15 +0000 (18:28 +0000)]
added pagename to header

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

20 years agoAdded some more information to help the user out.
wainstead [Sun, 4 Jan 2004 18:22:44 +0000 (18:22 +0000)]
Added some more information to help the user out.

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

20 years agoAdded "Description:" to the beginning of the description string, so
wainstead [Sun, 4 Jan 2004 18:14:49 +0000 (18:14 +0000)]
Added "Description:" to the beginning of the description string, so
the plugin plays nice with surrounding text.

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

20 years agoAdded page for IncludePage, and linked back and forth with FrameInclude.
wainstead [Sun, 4 Jan 2004 18:09:29 +0000 (18:09 +0000)]
Added page for IncludePage, and linked back and forth with FrameInclude.

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

20 years agoPage describing the FrameIncludePlugin and its usage.
wainstead [Sun, 4 Jan 2004 17:59:23 +0000 (17:59 +0000)]
Page describing the FrameIncludePlugin and its usage.

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

20 years agoExample page on the usage of the RawHtml plugin.
wainstead [Sun, 4 Jan 2004 17:41:14 +0000 (17:41 +0000)]
Example page on the usage of the RawHtml plugin.

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

20 years agoPage showing how to use the EditMetaDataPlugin.
wainstead [Sun, 4 Jan 2004 17:17:34 +0000 (17:17 +0000)]
Page showing how to use the EditMetaDataPlugin.

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

20 years agoUpdated the header info
wainstead [Sat, 3 Jan 2004 22:39:44 +0000 (22:39 +0000)]
Updated the header info

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

20 years agoUpdated the header so it doesn't load with a version number.
wainstead [Sat, 3 Jan 2004 22:33:53 +0000 (22:33 +0000)]
Updated the header so it doesn't load with a version number.

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

20 years agoChanged 'end' to 'front'.
wainstead [Sat, 3 Jan 2004 22:09:29 +0000 (22:09 +0000)]
Changed 'end' to 'front'.

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

20 years agoBugfix: Try to defer OS errors about session.save_path and ACCESS_LOG,
carstenklapp [Fri, 26 Dec 2003 06:41:16 +0000 (06:41 +0000)]
Bugfix: Try to defer OS errors about session.save_path and ACCESS_LOG,
so they don't prevent IE from partially (or not at all) rendering the
page. This should help a little for the IE user who encounters trouble
when setting up a new PhpWiki for the first time.

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

20 years agoBugfix: commented out debugging code that snuck into the release.
carstenklapp [Mon, 22 Dec 2003 07:31:57 +0000 (07:31 +0000)]
Bugfix: commented out debugging code that snuck into the release.

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

20 years agoIncremented release version.
carstenklapp [Mon, 22 Dec 2003 04:58:11 +0000 (04:58 +0000)]
Incremented release version.

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

20 years agoMinor bugfix: Fixed broken debug argument.
carstenklapp [Sun, 21 Dec 2003 00:29:45 +0000 (00:29 +0000)]
Minor bugfix: Fixed broken debug argument.

Internal changes: Only create a DebugTimer when actually called for;
moved debug message out of page content and into deferred page error
notification via trigger_error. Memory management: Only include_once
lib/PageList when absolutely necessary (at this time, this will
probably only benefit the PluginManager as an incremental speedup &
slightly reduced memory).

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

20 years agoInternal change: Added rcs Log tag & emacs php mode tag (sorry, forgot
carstenklapp [Sat, 20 Dec 2003 23:59:19 +0000 (23:59 +0000)]
Internal change: Added rcs Log tag & emacs php mode tag (sorry, forgot
this in the last commit).

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

20 years agoMinor internal change: Reformatted DEBUGging output of templates.
carstenklapp [Sat, 20 Dec 2003 23:54:15 +0000 (23:54 +0000)]
Minor internal change: Reformatted DEBUGging output of templates.

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

20 years agoBugfix: Enclose FullTextSearch query with quotes when the [Wiki Word]
carstenklapp [Fri, 19 Dec 2003 06:57:49 +0000 (06:57 +0000)]
Bugfix: Enclose FullTextSearch query with quotes when the [Wiki Word]
contains spaces.

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

20 years agoInternal change: synced with recent modifications to head.tmpl
carstenklapp [Thu, 18 Dec 2003 20:52:32 +0000 (20:52 +0000)]
Internal change: synced with recent modifications to head.tmpl

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

20 years agoRebuilt po/mo files for new plugins to prepare for next PhpWiki release.
carstenklapp [Thu, 18 Dec 2003 03:54:39 +0000 (03:54 +0000)]
Rebuilt po/mo files for new plugins to prepare for next PhpWiki release.

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

20 years agoInternal change: Ran make dep to add new plugins for localization.
carstenklapp [Wed, 17 Dec 2003 20:28:10 +0000 (20:28 +0000)]
Internal change: Ran make dep to add new plugins for localization.

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

20 years agoInternal changes to prepare for an upcoming feature: Added some
carstenklapp [Sun, 14 Dec 2003 05:36:31 +0000 (05:36 +0000)]
Internal changes to prepare for an upcoming feature: Added some
conditions and alternate phrases (alternate wording of text srings
when referring to a non-existant page (i.e. WikiLink 'unknown')) when
calling the BackLinks plugin *within* a non-existant page, such as
from within an editpage or browse template while editing a new page.

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

20 years agoQuickFix for invalid Message-Id header format.
carstenklapp [Fri, 12 Dec 2003 01:08:30 +0000 (01:08 +0000)]
QuickFix for invalid Message-Id header format.

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

20 years agoNew feature: Plugin to download page dumps of individual pages. In the
carstenklapp [Fri, 12 Dec 2003 01:01:46 +0000 (01:01 +0000)]
New feature: Plugin to download page dumps of individual pages. In the
future this could be used as a rudimentary way to sync pages between
wikis.
Internal changes: enhanced and renamed from the experimental
_MailifyPage plugin.

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

20 years agoNew feature: Plugin to download page dumps of individual pages. In the
carstenklapp [Fri, 12 Dec 2003 00:52:55 +0000 (00:52 +0000)]
New feature: Plugin to download page dumps of individual pages. In the
future this could be used as a rudimentary way to sync pages between
wikis.
Internal changes: enhanced and renamed from the experimental
_MailifyPage plugin.

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

20 years agoFixed php syntax error. Text rewording. (Note that automatic homepage
carstenklapp [Thu, 11 Dec 2003 20:37:13 +0000 (20:37 +0000)]
Fixed php syntax error. Text rewording. (Note that automatic homepage
creation is not ready yet.)

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

20 years agoInternal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
carstenklapp [Thu, 11 Dec 2003 19:38:29 +0000 (19:38 +0000)]
Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated

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

20 years agoInternal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
carstenklapp [Thu, 11 Dec 2003 00:57:29 +0000 (00:57 +0000)]
Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated

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

20 years agoNew features: Also show plugin pages for localized variants.
carstenklapp [Wed, 10 Dec 2003 01:01:24 +0000 (01:01 +0000)]
New features: Also show plugin pages for localized variants.
Gracefully handle broken plugins in the plugins folder (such as other
lingering php files).

Bugfix: Cleaned up Php warnings related to oddities of UserPreference
plugin (whose default value contains an array).

Internal changes: Gave GoodVariableNames to the nightmarish
ones. Simplified some code with WikiLink 'if_known'.

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

20 years agoBugfix: The last BogoUserPrefs-bugfix prevented the admin from saving
carstenklapp [Tue, 9 Dec 2003 20:00:43 +0000 (20:00 +0000)]
Bugfix: The last BogoUserPrefs-bugfix prevented the admin from saving
prefs into his own homepage, fixed broken logic. Tightened up BogoUser
prefs saving ability by checking for true existance of homepage
(previously a page revision of 0 also counted as valid, again due to
somewhat flawed logic).

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

20 years agoCSS tweaks: Polish off diff appearance. Less obtrusive highlight
carstenklapp [Tue, 9 Dec 2003 06:04:42 +0000 (06:04 +0000)]
CSS tweaks: Polish off diff appearance. Less obtrusive highlight
for pagelist table hover.

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

20 years agoCode cleanup: fixed rcsid
carstenklapp [Mon, 8 Dec 2003 22:44:58 +0000 (22:44 +0000)]
Code cleanup: fixed rcsid

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

20 years agoNew experimental plugin to provide a different kind of
carstenklapp [Mon, 8 Dec 2003 22:43:30 +0000 (22:43 +0000)]
New experimental plugin to provide a different kind of
PageHistory. Functional as-is, but is in need of much cleanup and
refactoring. Probably very, very slow on wikis with many pages!

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

20 years agoBugfix: Concurrent updates broken since after 1.3.4 release: Fatal
carstenklapp [Sun, 7 Dec 2003 20:35:26 +0000 (20:35 +0000)]
Bugfix: Concurrent updates broken since after 1.3.4 release: Fatal
error: Call to undefined function: gettransformedcontent() in
/home/groups/p/ph/phpwiki/htdocs/phpwiki2/lib/editpage.php on line
205.

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

20 years agoCode Housecleaning: fixed syntax errors. (php -l *.php)
carstenklapp [Sun, 7 Dec 2003 19:29:48 +0000 (19:29 +0000)]
Code Housecleaning: fixed syntax errors. (php -l *.php)

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

20 years agoCode Housecleaning: adjust line-endings to unix style.
carstenklapp [Sun, 7 Dec 2003 19:23:48 +0000 (19:23 +0000)]
Code Housecleaning: adjust line-endings to unix style.

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

20 years agoFinished off logic for determining user class, including
carstenklapp [Sat, 6 Dec 2003 19:10:46 +0000 (19:10 +0000)]
Finished off logic for determining user class, including
PassUser. Removed ability of BogoUser to save prefs into a page.

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

20 years agoSecurity bugfix (minor): Prevent BogoUser~s from saving extraneous
carstenklapp [Sat, 6 Dec 2003 04:56:23 +0000 (04:56 +0000)]
Security bugfix (minor): Prevent BogoUser~s from saving extraneous
_pref object meta-data within locked pages.

Previously, BogoUser~s who signed in with a (valid) WikiWord such as
"HomePage" could actually save preferences into that page, even though
it was already locked by the administrator. Thus, any subsequent
WikiLink~s to that page would become prefixed with "that nice little"
UserIcon, as if that page represented a valid user.

Note that the admin can lock (even) non-existant pages as desired or
necessary (i.e. any DB page whose revision==0), to prevent the
arbitrary BogoUser from saving preference metadata into such a page;
for example, the silly WikiName "@qmgi`Vcft_x|" (that is the
\$examplechars presented in login.tmpl, in case it is not visible here
in the CVS comments).

http://phpwiki.sourceforge.net/phpwiki/
%C0%F1%ED%E7%E9%E0%D6%E3%E6%F4%DF%F8%FC?action=lock

To remove the prefs metadata from a page, the admin can use the
EditMetaData plugin, enter pref as the key, leave the value box empty
and then submit the change. For example:

http://phpwiki.sourceforge.net/phpwiki/
_EditMetaData?page=%C0%F1%ED%E7%E9%E0%D6%E3%E6%F4%DF%F8%FC

(It seems a rethinking of WikiUserNew.php with its WikiUser and
UserPreferences classes is in order. Ideally the WikiDB would
transparently handle such a situation, perhaps BogoUser~s should
simply be restricted to saving preferences into a cookie until his/her
e-mail address has been verified.)

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

20 years agoRemoved duplicate definition of _sql_match_clause and __fullsearch_sql_match_clause...
zorloc [Fri, 5 Dec 2003 23:52:17 +0000 (23:52 +0000)]
Removed duplicate definition of _sql_match_clause and __fullsearch_sql_match_clause -- jbw

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

20 years agoCSS tweaks: Removed the recently added border from definition lists
carstenklapp [Fri, 5 Dec 2003 20:54:14 +0000 (20:54 +0000)]
CSS tweaks: Removed the recently added border from definition lists
<dl>. It looks very bad with OldStyleMarkup, where dl~s were often
used to simply indent text.

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

20 years agoACK! gettext is not available at this point in index.php.
carstenklapp [Fri, 5 Dec 2003 16:00:42 +0000 (16:00 +0000)]
ACK! gettext is not available at this point in index.php.

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

20 years agoAdded note that use of the configurator is depreciated.
carstenklapp [Fri, 5 Dec 2003 15:51:37 +0000 (15:51 +0000)]
Added note that use of the configurator is depreciated.

Enable localization/gettextification of $KeywordLinkRegexp. (Also, now
users not familiar with regex can more easily just edit the $keywords
array).

Added four new constants to define author and copyright link rel~s
used in html head. This makes it easier to run multiple wikis off of
one set of code.

Eliminated RECENT_CHANGES constant for RSS auto discovery because it's
another step to watch out for when running a non-english wiki. Now
simply defined as _("RecentChanges") in head.tmpl itself. Non-standard
wikis where the RecentChanges page has been named to something else
will have to modify this in head.tmpl (along with all other places the
word RecentChanges appears in the code, something that already would
have had to be done on such a wiki anyway).

Added a little more info and instructions to flesh out:
DEBUG, WIKI_NAME, ADMIN_USER, $DisabledActions, $DBParams, CHARSET.

A few typos and spelling mistakes corrected, and some text rewrapped.

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

20 years agoImprovements: to make it easier to run multiple wikis off of one set
carstenklapp [Fri, 5 Dec 2003 15:36:39 +0000 (15:36 +0000)]
Improvements: to make it easier to run multiple wikis off of one set
of code, urls for link rel author and copyright now defined in
index.php.
Bugfix: updated language meta tag to use DEFAULT_LANGUAGE constant
instead of old LANG global.
Internal change: Eliminated RECENT_CHANGES constant from RSS link,
just use the easily localizable _("RecentChanges").
Typo fixed.

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

20 years agoWrong file committed :/ sorry.
carstenklapp [Fri, 5 Dec 2003 15:01:49 +0000 (15:01 +0000)]
Wrong file committed :/ sorry.

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

20 years agotypo fixed
carstenklapp [Fri, 5 Dec 2003 01:37:42 +0000 (01:37 +0000)]
typo fixed

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

20 years agoNew feature: Easier to run multiple wiks off of one set of code. Name
carstenklapp [Fri, 5 Dec 2003 01:32:28 +0000 (01:32 +0000)]
New feature: Easier to run multiple wiks off of one set of code. Name
your logo and signature image files "YourWikiNameLogo.png" and
"YourWikiNameSignature.png" and put them all into
themes/default/images. YourWikiName should match what is defined as
WIKI_NAME in index.php. In case the image is not found, the default
shipped with PhpWiki will be used.

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

20 years agoUpdated German LikePages page name to match new translation in
carstenklapp [Thu, 4 Dec 2003 22:45:58 +0000 (22:45 +0000)]
Updated German LikePages page name to match new translation in
de.po. Old page redirects to new.

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

20 years agoAdded missing markup2 flag
carstenklapp [Thu, 4 Dec 2003 21:36:58 +0000 (21:36 +0000)]
Added missing markup2 flag

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

20 years agoUse the API.
carstenklapp [Thu, 4 Dec 2003 20:27:00 +0000 (20:27 +0000)]
Use the API.

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

20 years agoBugfix: Under certain PhpWiki installations (such as the PhpWiki at
carstenklapp [Thu, 4 Dec 2003 19:33:30 +0000 (19:33 +0000)]
Bugfix: Under certain PhpWiki installations (such as the PhpWiki at
SF), the user was unable to select a theme other than the server's
default. (Use the more robust Theme::findFile instead of PHP's
file_exists function to detect installed themes).

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

20 years agoMore cleanup of UserPreferences.
carstenklapp [Thu, 4 Dec 2003 19:21:10 +0000 (19:21 +0000)]
More cleanup of UserPreferences.

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

20 years agoAdded admin user, password user, and preference classes. Added
carstenklapp [Wed, 3 Dec 2003 21:45:48 +0000 (21:45 +0000)]
Added admin user, password user, and preference classes. Added
password checking functions for users and the admin. (Now the easy
parts are nearly done).

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

20 years agoMinor new feature: Added 'PurgeHtmlCache' "convenience" button for the
carstenklapp [Wed, 3 Dec 2003 02:09:26 +0000 (02:09 +0000)]
Minor new feature: Added 'PurgeHtmlCache' "convenience" button for the
admin and for everyone when DEBUGging, to purge html cache for only
the current page. (Admin can still purge the html cache for all pages
in PhpWikiAdministration).

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

20 years agoMinor enhancement: Provide more meaningful filenames for WikiDB zip
carstenklapp [Tue, 2 Dec 2003 16:18:26 +0000 (16:18 +0000)]
Minor enhancement: Provide more meaningful filenames for WikiDB zip
dumps & snapshots.

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

20 years agoComplete rewrite of WikiUser.php.
carstenklapp [Tue, 2 Dec 2003 05:46:36 +0000 (05:46 +0000)]
Complete rewrite of WikiUser.php.

This should make it easier to hook in user permission groups etc. some
time in the future. Most importantly, to finally get UserPreferences
fully working properly for all classes of users: AnonUser, BogoUser,
AdminUser; whether they have a NamesakePage (PersonalHomePage) or not,
want a cookie or not, and to bring back optional AutoLogin with the
UserName stored in a cookie--something that was lost after PhpWiki had
dropped the default http auth login method.

Added WikiUser classes which will (almost) work together with existing
UserPreferences class. Other parts of PhpWiki need to be updated yet
before this code can be hooked up.

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

20 years agoBugfix: Ongoing work to untangle UserPreferences/WikiUser/request code
carstenklapp [Tue, 2 Dec 2003 00:10:00 +0000 (00:10 +0000)]
Bugfix: Ongoing work to untangle UserPreferences/WikiUser/request code
mess: UserPreferences should take effect immediately now upon signing
in.

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

20 years agoCleaned up php empty var warnings.
carstenklapp [Mon, 1 Dec 2003 22:54:56 +0000 (22:54 +0000)]
Cleaned up php empty var warnings.

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

20 years agoBugfix: UserPreferences are no longer clobbered when signing in after
carstenklapp [Mon, 1 Dec 2003 22:23:01 +0000 (22:23 +0000)]
Bugfix: UserPreferences are no longer clobbered when signing in after
the previous session has ended (i.e. user closed browser then signed
in again). This is still a bit of a mess, and the preferences do not
take effect until the next page browse/link has been clicked.

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

20 years agoFormatting: Updated css to hide new & renamed page elements for
carstenklapp [Mon, 1 Dec 2003 18:58:56 +0000 (18:58 +0000)]
Formatting: Updated css to hide new & renamed page elements for
printing, and a few other tweaks.

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

20 years agoCSS adjustments: added default print stylesheet for auto browser
carstenklapp [Mon, 1 Dec 2003 18:47:24 +0000 (18:47 +0000)]
CSS adjustments: added default print stylesheet for auto browser
selection when printing.

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

20 years agoCSS adjustments: Added Printer stylesheet back in as an alternate
carstenklapp [Mon, 1 Dec 2003 18:45:47 +0000 (18:45 +0000)]
CSS adjustments: Added Printer stylesheet back in as an alternate
screen-selectable CSS.

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

20 years agoNew alternate stylesheet with fixed toolbars (for Mozilla, Firebird,
carstenklapp [Mon, 1 Dec 2003 15:16:07 +0000 (15:16 +0000)]
New alternate stylesheet with fixed toolbars (for Mozilla, Firebird,
etc.). Removed modern stylesheet (really only for default theme).

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

20 years agoMinor code optimization: Only generate signout button when necessary.
carstenklapp [Sun, 30 Nov 2003 19:52:03 +0000 (19:52 +0000)]
Minor code optimization: Only generate signout button when necessary.

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

20 years agoVisual tweak: Ensure identical vertical alignment for adjacent form
carstenklapp [Sun, 30 Nov 2003 19:35:09 +0000 (19:35 +0000)]
Visual tweak: Ensure identical vertical alignment for adjacent form
buttons.

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

20 years agoVisual tweak: Try to improve/match vertical alignment of
carstenklapp [Sun, 30 Nov 2003 19:33:53 +0000 (19:33 +0000)]
Visual tweak: Try to improve/match vertical alignment of
signin/signout with rest of action buttons.

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

20 years agoFixed careless mistakes in my last optimization commit.
carstenklapp [Sun, 30 Nov 2003 18:43:18 +0000 (18:43 +0000)]
Fixed careless mistakes in my last optimization commit.

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

20 years agoCode housekeeping: PEAR coding standards reformatting only.
carstenklapp [Sun, 30 Nov 2003 18:23:48 +0000 (18:23 +0000)]
Code housekeeping: PEAR coding standards reformatting only.

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

20 years agoMinor code optimization: reduce invariant loops
carstenklapp [Sun, 30 Nov 2003 18:20:34 +0000 (18:20 +0000)]
Minor code optimization: reduce invariant loops

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

20 years agoMinor code optimization: use include_once instead of require_once
carstenklapp [Sun, 30 Nov 2003 18:18:13 +0000 (18:18 +0000)]
Minor code optimization: use include_once instead of require_once
inside functions that might not always called.

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

20 years agoInternal change: Refactored ByteFormatter code into a new function in
carstenklapp [Sat, 29 Nov 2003 20:13:38 +0000 (20:13 +0000)]
Internal change: Refactored ByteFormatter code into a new function in
stdlib (now used by PageList too).

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

20 years agoNew features: Added two new column types 'size' and 'content' (first 50
carstenklapp [Sat, 29 Nov 2003 20:06:43 +0000 (20:06 +0000)]
New features: Added two new column types 'size' and 'content' (first 50
bytes shown only). Added new "action" column 'remove' to help admin
remove multiple pages (at least a little bit) easier.

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

20 years agoNew function ByteFormatter.
carstenklapp [Sat, 29 Nov 2003 19:30:01 +0000 (19:30 +0000)]
New function ByteFormatter.

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

20 years agoNew small admin "Remove" button for PageList~s etc.
carstenklapp [Sat, 29 Nov 2003 03:16:44 +0000 (03:16 +0000)]
New small admin "Remove" button for PageList~s etc.

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

20 years agoEnhancement: Mozilla RecentChanges sidebar now defaults to 10 changes
carstenklapp [Fri, 28 Nov 2003 21:06:31 +0000 (21:06 +0000)]
Enhancement: Mozilla RecentChanges sidebar now defaults to 10 changes
instead of 1. Make diff buttons smaller with css. Added description
line back in at the top.

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

20 years agoUpdate: Omit page cache object ('_cached_html') from metadata display.
carstenklapp [Thu, 27 Nov 2003 17:05:41 +0000 (17:05 +0000)]
Update: Omit page cache object ('_cached_html') from metadata display.

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

20 years agoUpdate: Added tightenable styles from default css (long overdue).
carstenklapp [Thu, 27 Nov 2003 16:47:11 +0000 (16:47 +0000)]
Update: Added tightenable styles from default css (long overdue).
Formatting changes: Wrap text in RC lists past diff buttons.

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

20 years agoTheme & appearance tweaks: Converted Mozilla sidebar link into a Theme
carstenklapp [Thu, 27 Nov 2003 15:17:01 +0000 (15:17 +0000)]
Theme & appearance tweaks: Converted Mozilla sidebar link into a Theme
button, to allow an image button for it to be added to Themes. Output
RSS button in small text size when theme has no button image.

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

20 years agoRedo bugfix: My last refactoring broke merge-edit & overwrite
carstenklapp [Wed, 26 Nov 2003 20:47:47 +0000 (20:47 +0000)]
Redo bugfix: My last refactoring broke merge-edit & overwrite
functionality again, should be fixed now. Sorry.

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

20 years agoWrong file committed, sorry (stale browser cache).
carstenklapp [Wed, 26 Nov 2003 17:46:18 +0000 (17:46 +0000)]
Wrong file committed, sorry (stale browser cache).

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

20 years agoAdded table of contents with named anchors and reverse anchors. Text
carstenklapp [Wed, 26 Nov 2003 17:38:18 +0000 (17:38 +0000)]
Added table of contents with named anchors and reverse anchors. Text
reformatting.

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

20 years agoLocalization bugfix: For wikis where English is not the default system
carstenklapp [Tue, 25 Nov 2003 22:55:32 +0000 (22:55 +0000)]
Localization bugfix: For wikis where English is not the default system
language, make sure that the authority error message (i.e. "You must
sign in to edit pages in this wiki" etc.) is displayed in the wiki's
default language. Previously it would always display in English.
(Added call to update_locale() before displaying any messages prior to
the login prompt.)

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

20 years agoNew German localized plugin page for PageInfo.
carstenklapp [Tue, 25 Nov 2003 22:03:44 +0000 (22:03 +0000)]
New German localized plugin page for PageInfo.

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

20 years agoBugfix: reverting this file to CVS Revision 1.18, since the localized
carstenklapp [Tue, 25 Nov 2003 21:58:33 +0000 (21:58 +0000)]
Bugfix: reverting this file to CVS Revision 1.18, since the localized
ActionPages finder problem was with lib/main.php and not really in
here. (See main.php,v 1.101 2003/11/25 21:49:44).

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