Commit Graph

48 Commits

Author SHA1 Message Date
Alex Schroeder
1b355cfef7 *** empty log message *** 2003-04-01 17:32:26 +00:00
Alex Schroeder
1e3702aff6 (GetInterLink): If no page follows the colon, this is no interlink. 2003-04-01 17:32:04 +00:00
Alex Schroeder
c9b414005c *** empty log message *** 2003-04-01 13:32:18 +00:00
Alex Schroeder
962731c44e (GetReferers): Quote HTML. 2003-04-01 13:31:43 +00:00
Alex Schroeder
67e1b3d0e7 *** empty log message *** 2003-04-01 12:24:51 +00:00
Alex Schroeder
d04fa06268 ($RefererDir, $RefererTracking, $RefererTimeLimit)
($RefererLimit, %Referers): New variables.
(ApplyRules): Use GetRaw instead of IncludeRaw
(GetRaw): Renamed from IncludeRaw and without HTML quoting.
(BrowsePage): Use more methods from the CGI module, call
RefererTrack if appropriate.
(DoRc): Use more methods from the CGI module.
(GetHtmlHeader): Added new div.
(ForceReleaseLock): Do globbing.
(RequestRefererLock): New function, creates locks per-page.
(ReleaseRefererLock): New function.
(DoUnlock): Requires globbing for refer locks.
(GetRefererFile): New.
(ReadReferers): New.
(GetReferers): New.
(UpdateReferers): New.
(RefererTrack): New.
2003-04-01 12:24:03 +00:00
Alex Schroeder
bdad45ba8e *** empty log message *** 2003-03-28 21:07:20 +00:00
Alex Schroeder
daa3fa064d (UrlEncode): New function.
(GetValidatorLink): Use it.
2003-03-28 21:07:01 +00:00
Alex Schroeder
1438d4d291 *** empty log message *** 2003-03-28 20:33:58 +00:00
Alex Schroeder
51371f7931 (InitLinkPatterns): Only set $FS and $FS0 if $FS is not set already.
(ReadFile): Check wether $FS0 is set before doing anything.
(DoMaintain): Ditto.
2003-03-28 20:33:37 +00:00
Alex Schroeder
06f83d2273 (DoMaintain): Important bugfix! 2003-03-28 20:08:30 +00:00
Alex Schroeder
9fa2c5da49 *** empty log message *** 2003-03-28 19:52:08 +00:00
Alex Schroeder
4b5a1d47e2 Tricky update! Changing the field separator from superscript 3 to
an ASCII control character!

(FS0, FS0used): New field separator for the old one, and
a new variable to tell us if the old separator has been used.
(InitLinkPatterns): The old separator, FS0, is set to \xb3 (the
well-known superscript 3), and the new separator, FS, is set to
\x1e, the ASCII control character RS, aka. RECORD SEPARATOR.
(ReadFile): Convert data read from files from FS0 to FS if
necessary when loading.
(DoMaintain): More translating, some HTML changes.  Using the new
field separator will not work for keep files, since new changes
are just appended to the file.  The keep files must be updated,
therefore.  This happens during maintenance, so make sure
maintenance really gets run!  This also updates the recent changes
log files (both old and current).

(GetValidatorLink): Use $q->self_url for the validator link.
2003-03-28 19:50:04 +00:00
Alex Schroeder
f5e47e0ba8 typo in the upload target 2003-03-27 23:39:51 +00:00
Alex Schroeder
e868e01f48 *** empty log message *** 2003-03-27 23:38:22 +00:00
Alex Schroeder
8b60ecc533 retry 2003-03-27 23:37:23 +00:00
Alex Schroeder
cd39446f67 New. 2003-03-27 23:30:03 +00:00
Alex Schroeder
2c1bf76f19 *** empty log message *** 2003-03-26 22:56:07 +00:00
Alex Schroeder
f9c890c5ad (DoHistory): Removed extra <tr>. 2003-03-26 22:55:50 +00:00
Alex Schroeder
2ddf474e87 *** empty log message *** 2003-03-25 09:16:42 +00:00
Alex Schroeder
757c9731dd (DoEdit): Added new div with class preview for the preview part. 2003-03-25 09:16:17 +00:00
Alex Schroeder
a86fb3385d typo 2003-03-25 09:12:48 +00:00
Alex Schroeder
b0dbf0f4ba (GetHtmlHeader): New classes.
(PrintSearchResults): Removed output variable, print as we search
instead of only when searching is done, use CGI functions for HTML
tags, translation.
(PrintPageList): Use CGI functions for HTML tags.
2003-03-25 09:11:09 +00:00
Alex Schroeder
8bd4a18214 (GetCommonFooter): Use CGI functions for HTML tags.
(DoEdit): Ditto.
(DoEdit): Ditto, plus moved preview out of the form for CSS.
(DoPageLock): Ditto.
(DoPageLock): Ditto.
(DoEditBanned): Ditto, and added translations.
(DoUpdateBanned): Ditto, and added translations.
(DoShowVersion): Translation.
(DoShow): Translation.
2003-03-24 22:43:09 +00:00
Alex Schroeder
7968dd249e *** empty log message *** 2003-03-22 19:03:46 +00:00
Alex Schroeder
089c1966c3 (PrintWikiToHTML): Only save cachen when revision not set. 2003-03-22 15:47:14 +00:00
Alex Schroeder
0e57e86d6f *** empty log message *** 2003-03-22 15:43:15 +00:00
Alex Schroeder
d5123b31b4 (BrowsePage): Only use cache when revision not set. 2003-03-22 15:42:29 +00:00
Alex Schroeder
eee02b6eba moved to the wiki 2003-03-22 15:23:28 +00:00
Alex Schroeder
3b47397ac0 added licence blurb 2003-03-22 15:12:29 +00:00
Alex Schroeder
b08d7ba745 new 2003-03-22 15:09:53 +00:00
Alex Schroeder
ec407162b6 *** empty log message *** 2003-03-22 14:57:27 +00:00
Alex Schroeder
cd9dfc6d12 (BrowsePage): Pass $id along to OpenDefaultText.
(OpenDefaultText): If $id is the homepage, and the revision is 0,
attempt to display the README file instead.
2003-03-22 14:57:01 +00:00
Alex Schroeder
2bd43a5d53 Replacement for COPYING file, plus start of a default page. 2003-03-22 14:55:41 +00:00
Alex Schroeder
9c155fcad2 reorg 2003-03-22 14:49:46 +00:00
Alex Schroeder
47524739a8 Replaced by GPL 2003-03-22 14:47:56 +00:00
Alex Schroeder
76a9e02ba1 Starting with a default page... 2003-03-22 14:47:28 +00:00
Alex Schroeder
a13645fd5d *** empty log message *** 2003-03-22 13:53:41 +00:00
Alex Schroeder
746a2dc7be (GetHtmlHeader): Added CSS foreground color to div tags where only
a background was defined, and added body and a links.
(UseSubpage): Default to 0 because GNU/Linux would always be a link.
2003-03-22 02:12:09 +00:00
Alex Schroeder
bb1d720272 (GetValidatorLink): Link to CSS Validator. 2003-03-22 01:48:31 +00:00
Alex Schroeder
e56b7ccb19 *** empty log message *** 2003-03-21 21:00:10 +00:00
Alex Schroeder
93c6f5c743 (GetMinimumFooter): Move validator link from GetFooterText to
GetMinimumFooter.
2003-03-21 20:59:10 +00:00
Alex Schroeder
c65f7270f6 (ScriptLink): Quote HTML for actions. 2003-03-21 20:50:31 +00:00
Alex Schroeder
4b62609065 This is what I use for testing. 2003-03-21 20:45:56 +00:00
Alex Schroeder
d69ff1518e (DataDir): Default value is the temp directory, unless
already set.
(ConfigFile): Don't set it, if it already has a value.
(GetValidatorLink): New subroutine.
(GetFooterText): Use it.
(ValidatorLink): New option.
(InitRequest): Use $q->script_name() instead of "$ENV{SCRIPT_NAME}".
2003-03-21 20:42:26 +00:00
Alex Schroeder
2aa533ba4f new 2003-03-21 15:51:39 +00:00
Alex Schroeder
1c6cff9d28 (ScriptLink): Inherit embed and toplinkbar parameters to
local links.
(ISBNLink): Make URLs to shops translatable.
(GetGotoBar): Add search button.
2003-03-21 15:34:14 +00:00
Alex Schroeder
f189633228 Initial checkin 0.0 2003-03-21 13:50:35 +00:00