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.
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).
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).
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).
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.
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.
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.
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.
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.
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.)
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).
carstenklapp [Tue, 25 Nov 2003 21:49:44 +0000 (21:49 +0000)]
Bugfix: For a non-english wiki or when the user's preference is not
english, the wiki would always use the english ActionPage first if it
was present rather than the appropriate localised variant. (PhpWikis
running only in english or Wikis running ONLY without any english
ActionPages would not notice this bug, only when both english and
localised ActionPages were in the DB.) Now we check for the localised
variant first.
carstenklapp [Tue, 25 Nov 2003 16:36:53 +0000 (16:36 +0000)]
Formatting changes: <br> past logo before displaying login
instructions, in case logo is tall.
New feature: Added call to TransformText of BlockParser, to allow
WikiLinks within login instructions. (Localizations of login
instructions will have to be updated.)
carstenklapp [Sun, 23 Nov 2003 16:33:02 +0000 (16:33 +0000)]
New plugin to list names of SubPages of the currrent
page. (Unfortunately this plugin reveals a bug in
stdlib/explodePageList(), the function doesn't seem to work as
expected when there are no subpages (see also UnfoldSubPages plugin).
carstenklapp [Fri, 21 Nov 2003 23:06:12 +0000 (23:06 +0000)]
Bugfix: Some <link rel=...> links in Mozilla/iCab were always linking
to the english pages even when DEFAULT_LANGUAGE != 'en'. (Rewrapped
text for a more complete xgettext string extraction: 'cd
phpwiki/locale;make' to update po/mo files).
carstenklapp [Fri, 21 Nov 2003 21:32:39 +0000 (21:32 +0000)]
Bugfix: When DEFAULT_LANGUAGE was not 'en', a user's language prefs
would revert to 'en' when the default <system language> was selected
in UserPreferences and the user saved his preferences. (Check for
empty or blank language pref in sanify function of class
_UserPreference_language and return DEFAULT_LANGUAGE if nothing or
default selected in UserPreferences.)
carstenklapp [Fri, 21 Nov 2003 16:54:58 +0000 (16:54 +0000)]
Bugfix: login.tmpl was always displayed in English despite
DEFAULT_LANGUAGE set in index.php. (Added call to
update_locale(DEFAULT_LANGUAGE) before printing login form).
carstenklapp [Thu, 20 Nov 2003 22:18:54 +0000 (22:18 +0000)]
New feature: h1 during merge-edit displays WikiLink to original page.
Internal changes: Replaced some hackish url-generation code in
function SavePage (for pgsrc merge-edit) with appropriate Button()
calls.
carstenklapp [Thu, 20 Nov 2003 20:51:06 +0000 (20:51 +0000)]
Added css-formatting for definition lists (dl/dt/dd), also used by
FullTextSearch results list. Tested with Mozilla, IE5Mac, OmniWeb and
Safari (both use same engines as Konquorer so it should look the same
there). Not yet tested against Netscape 4.
carstenklapp [Thu, 20 Nov 2003 19:28:47 +0000 (19:28 +0000)]
----------------------------------------------------------------------
----------------------------------------------------------------------
Bugfix: Localized LikePages and BackLinks were using the english pages
instead of the localized variants. Other minor code refactoring
(WikiLink()--->Button()).
carstenklapp [Tue, 18 Nov 2003 18:28:35 +0000 (18:28 +0000)]
Bugfix: In the Load File function of PhpWikiAdministration: When doing
a "Merge Edit" or "Restore Anyway", page names containing accented
letters (such as locale/de/pgsrc/G%E4steBuch) would produce a file not
found error (Use FilenameForPage funtion to urlencode page names).
carstenklapp [Mon, 17 Nov 2003 23:13:19 +0000 (23:13 +0000)]
New page to redirect to G\8asteBuch. Perhaps someday this could be
handled by PhpWiki automatically for German URLs
(ae->\8a, ue->\9f, oe->\9a, Ae->\80, etc).
carstenklapp [Mon, 17 Nov 2003 16:23:55 +0000 (16:23 +0000)]
Switched to Iso8601DateTime and more use of SUBPAGE_SEPARATOR. This
allows plugin UnfoldSubpages (for example) to be added to page
XxYy/Blog/ where desired, for a view of all Blogs in one day. This
change should not break existing BLOGs, we are only checking for
pagetype == 'wikiblog' now instead of relying on the subpage name to
collect blog subpages. (** WARNING: Do not add UnfoldSubpages to both
XxYy/Blog/ and XxYy/Blog/2003-11/16/ pages, due to recursion bug in
UnfoldSubpages plugin.)
carstenklapp [Mon, 17 Nov 2003 15:49:21 +0000 (15:49 +0000)]
Updated version number to 1.3.7pre (beyond current release 1.3.6). Disabled DEBUG output by default (hide DebugInfo, XHTML & CSS validator buttons). Note the DebugInfo button remains visible for the Admin, and can be accessed by anyone else by adding "?action=DebugInfo" to the URL for the occasional use.