Commit Graph

208 Commits

Author SHA1 Message Date
Alex Schroeder
d570c8bc43 *** empty log message *** 2003-06-13 01:26:42 +00:00
Alex Schroeder
1d3df7eefe (InitRequest): Removed test statement. 2003-06-10 22:53:05 +00:00
Alex Schroeder
99e87c438f *** empty log message *** 2003-06-10 22:51:54 +00:00
Alex Schroeder
b4ff5ed0df (FreeToNormal): No more ucfirst. 2003-06-10 22:26:21 +00:00
Alex Schroeder
4d0985a5a2 *** empty log message *** 2003-06-10 22:25:56 +00:00
Alex Schroeder
2882d7cba6 (InitRequest): Set @UserGotoBarPages here instead of on startup. 2003-06-10 22:20:02 +00:00
Alex Schroeder
efc6d7c325 *** empty log message *** 2003-06-10 22:19:17 +00:00
Alex Schroeder
95297b4707 (InitRequest): Convert spaces to underscores for
$HomePage, $RCName, $BannedHosts, $InterMap, $RefererFilter,
$StyleSheetPage, and $ConfigPage.
2003-06-10 22:15:50 +00:00
Alex Schroeder
8157359029 *** empty log message *** 2003-06-10 22:15:09 +00:00
Alex Schroeder
99599afafe (GetGotoBar): Use FreeToNormal on the link. 2003-06-10 21:41:26 +00:00
Alex Schroeder
aefbabe2e0 *** empty log message *** 2003-06-10 21:40:56 +00:00
Alex Schroeder
ad4aa814d2 (@UserGotoBarPages): Set to $HomePage and $RcName.
(GetGotoBar): Just use @UserGotoBarPages as-is.
(DoEdit): Get rid of $editCols, $editRows, and the editcols and
editrows parameters.  Call GetTextArea without 'em.
(GetTextArea): Hardcode the rows and columns.  Don't use the style
attribute.
(BrowsePage): The hr before referers is not added here.
(RefererTrack): Add the hr here.
2003-06-10 21:05:06 +00:00
Alex Schroeder
a7a38791f4 *** empty log message *** 2003-06-10 21:04:17 +00:00
Alex Schroeder
97c10928ae ($UseSubpage): Removed.
($MainPage): Removed; was used for subpages.
($FreeUpper): Removed.
(InitRequest): Removed $MainPage.
(InitLinkPatterns): Removed $UseSubpage.
(GetPageOrEditLink): Removed $MainPage.
(GetPageLink): Removed $MainPage.
(GetEditLink): Removed $MainPage.
(BrowsePage): Removed $MainPage.
(GetSearchLink): Removed $MainPage.
(GetGotoBar): Removed MainPage handling.
(ValidId): Removed $UseSubpage.
(GenerateAllPagesList): No longer do subpages.
(FreeToNormal): Removed $UseSubpage and $FreeUpper.
(DoEdit): Removed $MainPage.
2003-06-09 21:55:16 +00:00
Alex Schroeder
920dc4f985 *** empty log message *** 2003-06-09 21:54:43 +00:00
Alex Schroeder
3188d735aa (DoWikiRequest): Cannot use $q->p($@) because of some
bad interaction of $@ with CGI.  The resulting "<p>$ConfigFile:
$@</p>" seems *very* brittle, so change with care.  It was also
impossible to concat the result with the result of a call to
ScriptLink.
2003-06-08 00:14:27 +00:00
Alex Schroeder
d5aeeb1cf5 *** empty log message *** 2003-06-08 00:12:38 +00:00
Alex Schroeder
480bf110c6 (InitRequest): Only set when undefined.
(GetRc): Removed pagecount.
(GetRcHtml): Removed pagecount and link changed name from (n
changed) to (history).
(GetRcText): Removed pagecount.
2003-06-05 16:25:45 +00:00
Alex Schroeder
15431f8ee4 *** empty log message *** 2003-06-05 16:25:09 +00:00
Alex Schroeder
6672400d57 ($AdminPass, $EditPass): Only set when undefined. 2003-06-05 00:10:10 +00:00
Alex Schroeder
61f59516a6 *** empty log message *** 2003-06-05 00:09:42 +00:00
Alex Schroeder
0ee1a64a8a ($UseConfig): Only set when undefined, so that it can be set to 0
in the wrapper.
2003-06-05 00:05:00 +00:00
Alex Schroeder
a6f94df55b *** empty log message *** 2003-06-05 00:04:27 +00:00
Alex Schroeder
d139f5e244 (DoWikiRequest): $UseConfig does not control
$ConfigPage.
(InitLinkPatterns): Moved FS settings into new sub.
(Init): New.
(InitRequest): Moved it around in the file.
(GetParam): Ditto.
(InitCookie): Ditto.  No longer called from InitRequest but from
DoWikiRequest directly.
(GetHtmlHeader): Changed permanent_def to definition and
permanent_link to link.
(GetPermanentAnchor): Changed permanent_def to definition.
(GetPermanentAnchorLink): Changed permanent_link to link.
2003-06-04 23:42:46 +00:00
Alex Schroeder
37dfd67824 *** empty log message *** 2003-06-04 23:42:11 +00:00
Alex Schroeder
70c4a342c0 ($ConfigPage): New.
(@LockOnCreation): Added it.
(DoWikiRequest): Use it, set $Message here for potential error.
(InitRequest): Don't set $Message here.
2003-06-04 01:02:03 +00:00
Alex Schroeder
e1e76b6d85 *** empty log message *** 2003-06-04 01:01:32 +00:00
Alex Schroeder
1828fe553d (@UserGotoBarPages): New.
(GetGotoBar): Use it.
(%CookieParameters): Added 'linkrandom'.
2003-06-02 20:27:06 +00:00
Alex Schroeder
903cad15f1 *** empty log message *** 2003-06-02 20:26:35 +00:00
Alex Schroeder
fe020ed81a (GetHtmlHeader): Fix bug that prevented URL from
appearing in the body class.
2003-06-02 16:57:01 +00:00
Alex Schroeder
f728cb3dc3 *** empty log message *** 2003-06-02 16:56:34 +00:00
Alex Schroeder
f9d3ca8260 ($StyleSheetPage): New, default to empty. 2003-06-01 21:54:38 +00:00
Alex Schroeder
28badc161f *** empty log message *** 2003-06-01 21:54:12 +00:00
Alex Schroeder
4a54d8cfd5 ($StyleSheetPage): New.
(@LockOnCreation): Added it.
(%CookieParameters): Added 'theme'.
(GetHtmlHeader): Use $StyleSheetPage if no $StyleSheet is given.
(GetHtmlHeader): Use the 'theme' parameter, if given.
2003-06-01 21:41:29 +00:00
Alex Schroeder
1992be5ac6 *** empty log message *** 2003-06-01 21:40:54 +00:00
Alex Schroeder
77b5ee6028 (%CookieParameters): Use pwd instead of password. 2003-05-31 20:16:07 +00:00
Alex Schroeder
e23ec6ae43 *** empty log message *** 2003-05-31 20:15:32 +00:00
Alex Schroeder
a6207fc683 (GetHtmlHeader): Added CSS for permanent anchors. 2003-05-31 13:27:14 +00:00
Alex Schroeder
65fa738fe8 *** empty log message *** 2003-05-31 13:26:47 +00:00
Alex Schroeder
43373bdee5 (%CookieParameters): New.
(Cookie): Use it to handle the previously inherited attributes.
(ScriptLink): No more inheriting of parameters.
(InheritParameter): Removed.
(InitCookie): Password parameter handling removed.
2003-05-31 02:57:23 +00:00
Alex Schroeder
eedef139a6 *** empty log message *** 2003-05-31 02:56:51 +00:00
Alex Schroeder
1f30856f5c Global anchors patch by Pierre Gaston <pgas@intracom.gr>.
($PermanentAnchorsFile, $PermanentAnchors)
(%PermanentAnchors, %PagePermanentAnchors): New.
(ApplyRules): New rules for global anchors.
(GetEditLink): Allow passing of class and name to the link.
(DoBrowseRequest): New anchor action.
(DoPost): Delete permanent anchors.
(DeletePage): Ditto.
(ReadPermanentAnchors): New.
(WritePermanentAnchors): New.
(GetPermanentAnchor): New.
(GetPermanentAnchorLink): New.
(DeletePermanentAnchors): New.
2003-05-30 18:04:49 +00:00
Alex Schroeder
e6c86f9beb *** empty log message *** 2003-05-30 18:03:36 +00:00
Alex Schroeder
14929363bc ($RefererFilter): New.
(@LockOnCreation): Added it.
(UpdateReferers): Take it into account.
2003-05-29 01:13:17 +00:00
Alex Schroeder
79226fb8f1 *** empty log message *** 2003-05-29 01:12:46 +00:00
Alex Schroeder
813946bcb8 removed the texi files 2003-05-28 00:38:42 +00:00
Alex Schroeder
28e6e948c6 added a test to verify that the intermap stays locked after creation 2003-05-28 00:24:05 +00:00
Alex Schroeder
4aed18ebf6 added a test to verify that the intermap can only be created by administrators 2003-05-28 00:22:43 +00:00
Alex Schroeder
2441a333fa (GetPageContent): New.
(GetSiteUrl, UserCanEdit): Use it.
(@LockOnCreation): New, defaults to ($BannedHosts, $InterMap).
(DoPost, Save): Use it.
2003-05-28 00:20:42 +00:00
Alex Schroeder
23ac2c4893 *** empty log message *** 2003-05-28 00:20:01 +00:00