]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
20 years agoWikiAdmin... series overhaul. Rename misses the db backend methods yet. Chmod + Chwon...
rurban [Wed, 11 Feb 2004 20:00:16 +0000 (20:00 +0000)]
WikiAdmin... series overhaul. Rename misses the db backend methods yet. Chmod + Chwon still missing.

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

20 years agofixed nasty author_id bug with ENABLE_USER_NEW editing
rurban [Wed, 11 Feb 2004 19:49:21 +0000 (19:49 +0000)]
fixed nasty author_id bug with ENABLE_USER_NEW editing

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

20 years agoadded info=some + info=most, simplified info handling
rurban [Wed, 11 Feb 2004 19:46:54 +0000 (19:46 +0000)]
added info=some + info=most, simplified info handling

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

20 years agoCorrected spelling error -- reported by bishop <bishop@platypus.bc.ca>
zorloc [Wed, 11 Feb 2004 15:29:43 +0000 (15:29 +0000)]
Corrected spelling error -- reported by bishop <bishop@platypus.bc.ca>

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

20 years agofor now default DB_SESSION to false
rurban [Mon, 9 Feb 2004 03:58:20 +0000 (03:58 +0000)]
for now default DB_SESSION to false
PagePerm:
  * not existing perms will now query the parent, and not
    return the default perm
  * added pagePermissions func which returns the object per page
  * added getAccessDescription
WikiUserNew:
  * added global ->prepare (not yet used) with smart user/pref/member table prefixing.
  * force init of authdbh in the 2 db classes
main:
  * fixed session handling (not triple auth request anymore)
  * don't store cookie prefs with sessions
stdlib: global obj2hash helper from _AuthInfo, also needed for PagePerm

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

20 years agoThis should be the functionality. Needs testing and some minor todos.
rurban [Sun, 8 Feb 2004 13:17:48 +0000 (13:17 +0000)]
This should be the functionality. Needs testing and some minor todos.

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

20 years agoinitial version, not yet hooked into lib/main.php
rurban [Sun, 8 Feb 2004 12:29:30 +0000 (12:29 +0000)]
initial version, not yet hooked into lib/main.php

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

20 years agofixed sprintf problem
rurban [Sun, 8 Feb 2004 06:42:58 +0000 (06:42 +0000)]
fixed sprintf problem

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

20 years agoconsistent mysql schema with index.php (userid)
rurban [Sat, 7 Feb 2004 14:20:18 +0000 (14:20 +0000)]
consistent mysql schema with index.php (userid)

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

20 years agofixed auth from session (still double code but works)
rurban [Sat, 7 Feb 2004 10:41:25 +0000 (10:41 +0000)]
fixed auth from session (still double code but works)
fixed GroupDB
fixed DbPassUser upgrade and policy=old
added GroupLdap

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

20 years agoadded PASSWORD_LENGTH_MINIMUM
rurban [Wed, 4 Feb 2004 17:30:28 +0000 (17:30 +0000)]
added PASSWORD_LENGTH_MINIMUM

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

20 years agoBetter DEBUG text formatting.
rurban [Wed, 4 Feb 2004 17:20:48 +0000 (17:20 +0000)]
Better DEBUG text formatting.

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

20 years agonecessary PEAR update, esp. to fix the
rurban [Wed, 4 Feb 2004 17:04:18 +0000 (17:04 +0000)]
necessary PEAR update, esp. to fix the
deprecated call_user_method warning

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

20 years agoLDAP cleanup, start of new Pref classes
rurban [Tue, 3 Feb 2004 09:45:39 +0000 (09:45 +0000)]
LDAP cleanup, start of new Pref classes

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

20 years agoAPACHE2 sample
rurban [Tue, 3 Feb 2004 09:17:05 +0000 (09:17 +0000)]
APACHE2 sample

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

20 years agofixed typo. thanks to Paul Henry
rurban [Tue, 3 Feb 2004 09:16:25 +0000 (09:16 +0000)]
fixed typo. thanks to Paul Henry

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

20 years agoSimplification and more options, but no passwd or admin protection yet.
rurban [Mon, 2 Feb 2004 05:36:29 +0000 (05:36 +0000)]
Simplification and more options, but no passwd or admin protection yet.

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

20 years agolocalöe updated. new and updated german strings.
rurban [Mon, 2 Feb 2004 04:15:44 +0000 (04:15 +0000)]
localöe updated. new and updated german strings.

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

20 years agoStarted with Group_Ldap (not yet ready)
rurban [Sun, 1 Feb 2004 09:14:11 +0000 (09:14 +0000)]
Started with Group_Ldap (not yet ready)
added new _AuthInfo plugin to help in auth problems (warning: may display passwords)
fixed some configurator vars
renamed LDAP_AUTH_SEARCH to LDAP_BASE_DN
changed PHPWIKI_VERSION from 1.3.8a to 1.3.8pre
USE_DB_SESSION defaults to true on SQL
changed GROUP_METHOD definition to string, not constants
changed sample user DBAuthParams from UPDATE to REPLACE to be able to
  create users. (Not to be used with external databases generally, but
  with the default internal user table)

fixed the IndexAsConfigProblem logic. this was flawed:
  scripts which are the same virtual path defined their own lib/main call
  (hmm, have to test this better, phpwiki.sf.net/demo works again)

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

20 years agoUsed to debug auth problems and settings.
rurban [Sun, 1 Feb 2004 01:04:34 +0000 (01:04 +0000)]
Used to debug auth problems and settings.
This may display passwords in cleartext.
DB Objects are not displayed anymore.

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

20 years agofixed DBAuthParams['pref_select']: wrong _auth_dbi object used.
rurban [Fri, 30 Jan 2004 19:57:58 +0000 (19:57 +0000)]
fixed DBAuthParams['pref_select']: wrong _auth_dbi object used.

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

20 years agofix "lib/WikiUserNew.php:572: Notice[8]: Undefined variable: DBParams"
rurban [Fri, 30 Jan 2004 18:46:15 +0000 (18:46 +0000)]
fix "lib/WikiUserNew.php:572: Notice[8]: Undefined variable: DBParams"

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

20 years agomissing member drop line
rurban [Wed, 28 Jan 2004 16:49:01 +0000 (16:49 +0000)]
missing member drop line

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

20 years agosession table takes the common prefix
rurban [Wed, 28 Jan 2004 14:34:15 +0000 (14:34 +0000)]
session table takes the common prefix
+ various minor stuff
reallow password changing

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

20 years agoadded new tables to mysql schema
rurban [Tue, 27 Jan 2004 23:25:51 +0000 (23:25 +0000)]
added new tables to mysql schema
fixed default DBAUthParam samples to match these
added group constants (look terrible, I'd prefer strings instead of constants)

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

20 years agorenamed ->Username => _userid for consistency
rurban [Tue, 27 Jan 2004 23:23:39 +0000 (23:23 +0000)]
renamed ->Username => _userid for consistency
renamed mayCheckPassword => mayCheckPass
fixed recursion problem in WikiUserNew
fixed bogo login (but not quite 100% ready yet, password storage)

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

20 years agofixed default args: no objects
rurban [Tue, 27 Jan 2004 22:37:50 +0000 (22:37 +0000)]
fixed default args: no objects

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

20 years agoAuthor: Sameer D. Sahasrabuddhe
rurban [Tue, 27 Jan 2004 12:23:28 +0000 (12:23 +0000)]
Author: Sameer D. Sahasrabuddhe
http://www.it.iitb.ac.in/~sameerds/phpwiki/index.php/RichTablePlugin

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

20 years agoTypo in AuthorHistoryPlugin, SystemInfoPlugin dos2unix
rurban [Tue, 27 Jan 2004 12:13:49 +0000 (12:13 +0000)]
Typo in AuthorHistoryPlugin, SystemInfoPlugin dos2unix
OldStyleTablePlugin: added new arguments

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

20 years agofixed UnfoldSubpages and added docs.
rurban [Tue, 27 Jan 2004 12:10:45 +0000 (12:10 +0000)]
fixed UnfoldSubpages and added docs.
new arguments: pagename, maxpages
some arguments are deprecated: sort (use sortby), pages (use maxpages)
fixed sortby, added docs

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

20 years agoInterim fix
rurban [Mon, 26 Jan 2004 19:15:29 +0000 (19:15 +0000)]
Interim fix

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

20 years agothe auth README
rurban [Mon, 26 Jan 2004 17:05:10 +0000 (17:05 +0000)]
the auth README

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

20 years agoadded GroupDB and GroupFile classes
rurban [Mon, 26 Jan 2004 16:52:40 +0000 (16:52 +0000)]
added GroupDB and GroupFile classes

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

20 years ago* changed stored pref representation as before.
rurban [Mon, 26 Jan 2004 09:18:00 +0000 (09:18 +0000)]
* changed stored pref representation as before.
  the array of objects is 1) bigger and 2)
  less portable. If we would import packed pref
  objects and the object definition was changed, PHP would fail.
  This doesn't happen with an simple array of non-default values.
* use $prefs->retrieve and $prefs->store methods, where retrieve
  understands the interim format of array of objects also.
* simplified $prefs->get() and fixed $prefs->set()
* added $user->_userid and class '_WikiUser' portability functions
* fixed $user object ->_level upgrading, mostly using sessions.
  this fixes yesterdays problems with loosing authorization level.
* fixed WikiUserNew::checkPass to return the _level
* fixed WikiUserNew::isSignedIn
* added explodePageList to class PageList, support sortby arg
* fixed UserPreferences for WikiUserNew
* fixed WikiPlugin for empty defaults array
* UnfoldSubpages: added pagename arg, renamed pages arg,
  removed sort arg, support sortby arg

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

20 years agoadded sortby support to explodePageList() and UnfoldSubpages
rurban [Sun, 25 Jan 2004 10:52:22 +0000 (10:52 +0000)]
added sortby support to explodePageList() and UnfoldSubpages
fixes [ 758044 ] Plugin UnfoldSubpages does not sort (includes fix)

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

20 years agofixed bug [ 541193 ] HTTP_SERVER_VARS are Apache specific
rurban [Sun, 25 Jan 2004 10:26:02 +0000 (10:26 +0000)]
fixed bug [ 541193 ] HTTP_SERVER_VARS are Apache specific
http://sourceforge.net/tracker/index.php?func=detail&aid=541193&group_id=6121&atid=106121
CGI and other servers than apache populate _ENV and not _SERVER

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

20 years agoENABLE_USER_NEW support
rurban [Sun, 25 Jan 2004 10:14:13 +0000 (10:14 +0000)]
ENABLE_USER_NEW support
fixed stdlib loading problem

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

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