Provided by GNU Savannah

Savannah CVS Surfing - Log of /oddmuse/oddmuse/wiki.pl

[sources] / oddmuse / oddmuse / wiki.pl

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.960 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 8 15:28:18 2012 UTC (2 months, 1 week ago) by as
Branch: MAIN
CVS Tags: HEAD, cvs-repository-moved-to-git
Changes since 1.959: +4 -3 lines
Diff to previous 1.959
(PrintAllPages): Skip redirected pages.

Revision 1.959 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 6 10:46:33 2012 UTC (2 months, 1 week ago) by as
Branch: MAIN
Changes since 1.958: +4 -4 lines
Diff to previous 1.958
(ApplyRules): Fix regexp bug reported by Mark Zimmermann
and Ingo Belka.

Revision 1.958 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 17 17:24:17 2011 UTC (4 months, 4 weeks ago) by as
Branch: MAIN
Changes since 1.957: +4 -4 lines
Diff to previous 1.957
(PrintAllPages): Fix a small bug when counting the pages
looked at, following an observation by Ingo Belka

Revision 1.957 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 6 00:01:44 2011 UTC (5 months, 1 week ago) by as
Branch: MAIN
Changes since 1.956: +6 -33 lines
Diff to previous 1.956
Get rid of @CssList.
Remove css action.
(DoAdminPage): Remove Install CSS menu.
(DoCss): Deleted.

Revision 1.956 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 21 00:32:05 2011 UTC (5 months, 3 weeks ago) by as
Branch: MAIN
Changes since 1.955: +5 -5 lines
Diff to previous 1.955
(PrintAllPages): Fix double quoting of page title.

Revision 1.955 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 19 15:28:26 2011 UTC (5 months, 3 weeks ago) by as
Branch: MAIN
Changes since 1.954: +4 -4 lines
Diff to previous 1.954
(PrintAllPages): If the number of pages to print is not provided, do not test.

Revision 1.954 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 19 15:19:34 2011 UTC (5 months, 3 weeks ago) by as
Branch: MAIN
Changes since 1.953: +20 -17 lines
Diff to previous 1.953
(PrintJournal, PrintAllPages): Journal pages no longer print deleted pages.
(DoMaintain): PageDeletable doesn't require a parameter.
(PageDeletable): Split into two.
(PageMarkedForDeletion): New, used by PrintAllPages.

Revision 1.953 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 16 22:58:27 2011 UTC (5 months, 4 weeks ago) by as
Branch: MAIN
Changes since 1.952: +4 -4 lines
Diff to previous 1.952
* wiki.pl (GetRcRss): Link to $HomePage explicitly instead of just
linking to $ScriptName.

Revision 1.952 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 23:20:05 2011 UTC (7 months ago) by as
Branch: MAIN
Changes since 1.951: +4 -4 lines
Diff to previous 1.951
(TextIsFile): Fix regular expression.

Revision 1.951 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 22:42:00 2011 UTC (7 months ago) by as
Branch: MAIN
Changes since 1.950: +10 -8 lines
Diff to previous 1.950
(TextIsFile): Extract encoding from the file.
(DoDownload): Take encoding and pass it on.
(GetHttpHeader): Accept encoding parameter and add HTTP header.
(DoPost): Save gzip encoding if the file content starts with the
magic bytes.

Revision 1.950 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 16:51:14 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.949: +5 -5 lines
Diff to previous 1.949
(GetScriptUrlWithRcParameters): Handle parameter values of 0 and ''.

Revision 1.949 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 16:44:12 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.948: +6 -5 lines
Diff to previous 1.948
*** empty log message ***

Revision 1.948 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 16:36:34 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.947: +14 -4 lines
Diff to previous 1.947
(GetScriptUrlWithRcParameters): New.
(GetRcRss): Add atom self link using GetScriptUrlWithRcParameters.

Revision 1.947 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 16:04:16 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.946: +4 -4 lines
Diff to previous 1.946
Fix atom self link.

Revision 1.946 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 15:48:28 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.945: +4 -4 lines
Diff to previous 1.945
Fix atom self link.

Revision 1.945 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 15:37:10 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.944: +6 -5 lines
Diff to previous 1.944
(GetRcRss): Add Dublin Core (dc) and Atom (atom)
namespace. Switch cc prefix to http://web.resource.org/cc/. Switch
channel link from RecentChanges to the HomePage. Fix image title
and link to match the channel title and link. Add atom self link.
(RssItem): Repace wiki:username with dc:contributor. Use link for
guid element.

Revision 1.944 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 6 15:26:01 2011 UTC (10 months, 1 week ago) by as
Branch: MAIN
Changes since 1.943: +26 -22 lines
Diff to previous 1.943
*** empty log message ***

Revision 1.943 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 14 15:18:40 2011 UTC (11 months ago) by as
Branch: MAIN
Changes since 1.942: +12 -12 lines
Diff to previous 1.942
(GetPageOrEditLink): Fix ampersand problem for
$UseQuestionmark = 0.

Revision 1.942 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 1 19:44:09 2011 UTC (12 months, 2 weeks ago) by as
Branch: MAIN
Changes since 1.941: +23 -23 lines
Diff to previous 1.941
whitespace

Revision 1.941 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 7 02:11:53 2010 UTC (18 months, 1 week ago) by as
Branch: MAIN
Changes since 1.940: +106 -101 lines
Diff to previous 1.940
* wiki.pl (InitLinkPatterns): $FreeLinkPattern now inlcudes
%&?;<>.
(LinkRules, UnquoteHtml, GetPageOrEditLink, GetDownloadLink)
(GetId, BrowsePage, PrintRcHtml, RssItem, DoHistory)
(DoContributors, GetHeader, GetHtmlHeader, GetFeeds)
(FreeToNormal, NormalToFree, DoEdit): Implement the various
changes required to allow the extra characters. This includes
issues of HTML quoting and unquoting, and the dangers of double
encoding. Unfortunately, it's a big mess.

Revision 1.940 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 9 23:20:56 2010 UTC (19 months ago) by as
Branch: MAIN
Changes since 1.939: +4 -4 lines
Diff to previous 1.939
(GetSummary): Fix remaining closing square bracket.

Revision 1.939 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 10 15:27:49 2010 UTC (20 months ago) by as
Branch: MAIN
Changes since 1.938: +17 -16 lines
Diff to previous 1.938
(RequestLockDir): Don't enter an infinite loop of trying
requesting a lock and trying to unlock. Unlocking can fail if the
permissions are wrong, for example (user running the script
changed, for example).

Revision 1.938 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 21 14:01:50 2010 UTC (21 months, 3 weeks ago) by as
Branch: MAIN
Changes since 1.937: +3 -31 lines
Diff to previous 1.937
Delete section comments. I never used them anyway.

Revision 1.937 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 21 20:56:20 2010 UTC (2 years ago) by as
Branch: MAIN
Changes since 1.936: +4 -3 lines
Diff to previous 1.936
(StripRollbacks): Strip remaining chunk of the log if we
found an unfinished [[rollback]] section.

Revision 1.936 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 20 20:20:09 2010 UTC (2 years, 2 months ago) by as
Branch: MAIN
Changes since 1.935: +5 -3 lines
Diff to previous 1.935
(DoRollback): Prevent rollback from restoring banned
content.

Revision 1.935 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 10 10:19:59 2010 UTC (2 years, 3 months ago) by as
Branch: MAIN
Changes since 1.934: +4 -4 lines
Diff to previous 1.934
PATH now contains both /bin and /usr/bin.

Revision 1.934 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 14 09:15:09 2009 UTC (2 years, 7 months ago) by as
Branch: MAIN
Changes since 1.933: +12 -10 lines
Diff to previous 1.933
(DoPost): Make sure empty comments and comments that are equal to
$NewComment are not saved.

Revision 1.933 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 13 23:42:04 2009 UTC (2 years, 7 months ago) by as
Branch: MAIN
Changes since 1.932: +5 -5 lines
Diff to previous 1.932
(LatestChanges): Fix bug introduced due to bogus test data in rc-pagination.t

Revision 1.932 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 13 23:27:24 2009 UTC (2 years, 7 months ago) by as
Branch: MAIN
Changes since 1.931: +5 -5 lines
Diff to previous 1.931
*** empty log message ***

Revision 1.931 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 13 22:32:34 2009 UTC (2 years, 7 months ago) by as
Branch: MAIN
Changes since 1.930: +15 -17 lines
Diff to previous 1.930
(LatestChanges, RcHtml, RcHeader): Change to parameter
to upto parameter because there was a conflict with the to
parameter used by the rollback action.

Revision 1.930 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 6 14:33:00 2009 UTC (2 years, 7 months ago) by as
Branch: MAIN
Changes since 1.929: +59 -53 lines
Diff to previous 1.929
(LatestChanges): Handle "to" parameter.
(RcHeader): Report use of "to" parameter
(RcHtml): Add More... link.
(DebugInterLinks): Moved to debug.pl.

Revision 1.929 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 19 16:17:50 2009 UTC (2 years, 8 months ago) by as
Branch: MAIN
Changes since 1.928: +6 -9 lines
Diff to previous 1.928
(SearchRegexp, SearchString): Remove the test for
invalid regular expressions.
(DoSearch): Report invalid regular expressions as an error.

Revision 1.928 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 19 13:59:07 2009 UTC (2 years, 8 months ago) by as
Branch: MAIN
Changes since 1.927: +6 -4 lines
Diff to previous 1.927
(SearchRegexp): Keep the test for invalid regular
expressions but do not return it as a result because the value
cannot be passed to grep.

Revision 1.927 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 22:11:14 2009 UTC (2 years, 9 months ago) by as
Branch: MAIN
Changes since 1.926: +10 -6 lines
Diff to previous 1.926
(SearchString, SearchRegexp): Handle invalid regular
expressions by compiling the regular expression, and if that
fails, use quotemeta on it and use that instead.

Revision 1.926 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 3 22:24:24 2009 UTC (2 years, 9 months ago) by as
Branch: MAIN
Changes since 1.925: +5 -4 lines
Diff to previous 1.925
(DoPost): Apparently we cannot count on <$file> to
always work within the eval, so we use a local variable. (Showed
up on a site.)

Revision 1.925 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 3 09:23:01 2009 UTC (2 years, 10 months ago) by as
Branch: MAIN
Changes since 1.924: +6 -6 lines
Diff to previous 1.924
(GetRcLines): Fix bug that prevented the oldrc.log file
from being read if rc.log was missing or empty.

Revision 1.924 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 25 22:52:16 2009 UTC (2 years, 10 months ago) by as
Branch: MAIN
Changes since 1.923: +6 -5 lines
Diff to previous 1.923
(SearchTitleAndBody): Unquote the search string.

Revision 1.923 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 23 22:27:12 2009 UTC (2 years, 10 months ago) by as
Branch: MAIN
Changes since 1.922: +9 -9 lines
Diff to previous 1.922
(GetFeeds): Fix link to follow-up RSS feed.

Revision 1.922 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 00:28:22 2009 UTC (2 years, 10 months ago) by as
Branch: MAIN
Changes since 1.921: +5 -7 lines
Diff to previous 1.921
(ApplyRules): No longer localize $OpenPageName and %Page
for the <search regexp> rule.
(PrintJournal): No longer localize $OpenPageName and %Page before
calling PrintAllPages().
(PrintAllPages, SearchTitleAndBody): Instead, localize them here.
This will prevent bugs when the OpenPage is called from other
locations.

Revision 1.921 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 4 06:32:56 2009 UTC (2 years, 11 months ago) by as
Branch: MAIN
Changes since 1.920: +10 -6 lines
Diff to previous 1.920
(TouchIndexFile): New sub.
(Save): Use it.

Revision 1.920 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 24 13:34:51 2009 UTC (2 years, 11 months ago) by as
Branch: MAIN
Changes since 1.919: +4 -4 lines
Diff to previous 1.919
(GetCommentForm): Default to ten lines for comments (bugfix).

Revision 1.919 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 24 13:32:17 2009 UTC (2 years, 11 months ago) by as
Branch: MAIN
Changes since 1.918: +4 -4 lines
Diff to previous 1.918
(GetCommentForm): Default to ten lines for comments.

Revision 1.918 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 22 18:58:57 2009 UTC (2 years, 11 months ago) by as
Branch: MAIN
Changes since 1.917: +14 -10 lines
Diff to previous 1.917
(GetCommentForm): Added a span around each input field
below the textarea.
(DoMaintain): Do not a newline if the rc.log file contains no more
entries (by default this only happens if the wiki has not been
edited in 90 days).

Revision 1.917 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 9 12:38:30 2009 UTC (3 years ago) by as
Branch: MAIN
Changes since 1.916: +12 -12 lines
Diff to previous 1.916
(DoHistory): Handle date changes here in order to avoid
declaring a variable and having to pass it by reference to
GetHistoryLine.
(GetHistoryLine): Simplified. Also, don't set a revision if
comparing an older revision with the current one.

Revision 1.916 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 7 20:04:09 2009 UTC (3 years ago) by as
Branch: MAIN
Changes since 1.915: +77 -77 lines
Diff to previous 1.915
(ApplyRules): Make sure we store $_ whenever we store
pos because of recursive calls to ApplyRules.

Revision 1.915 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 5 22:07:40 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.914: +4 -4 lines
Diff to previous 1.914
(GrepFiltered): Short circuit if we end up with an empty
regular expression. This can happen when using tags.pl and only
specifying -tag:foo.

Revision 1.914 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 23:33:45 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.913: +4 -4 lines
Diff to previous 1.913
(GrepFiltered): Sort output because grep -r doesn't
produce sorted output.

Revision 1.913 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 22:42:46 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.912: +4 -4 lines
Diff to previous 1.912
(GrepFiltered): Rewrite to use grep -r instead of -R. I'm not sure
which one is more widely accepted.

Revision 1.912 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 21:54:41 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.911: +6 -6 lines
Diff to previous 1.911
(GrepFiltered): Rewrite to use grep -R instead of find.
(DoShowVersion): Undo last change.

Revision 1.911 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 21:40:20 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.910: +5 -5 lines
Diff to previous 1.910
(GrepFiltered): Use find and grep because on larger
wikis the command line is too large.
(DoShowVersion): Print find version as well.

Revision 1.910 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 11:13:12 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.909: +12 -12 lines
Diff to previous 1.909
Whitespace.

Revision 1.909 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 21 08:29:13 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.908: +4 -3 lines
Diff to previous 1.908
*** empty log message ***

Revision 1.908 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 21 08:25:13 2009 UTC (3 years, 1 month ago) by as
Branch: MAIN
Changes since 1.907: +4 -4 lines
Diff to previous 1.907
*** empty log message ***

Revision 1.907 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 16 17:11:54 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.906: +5 -7 lines
Diff to previous 1.906
(GetId): Do not return $HomePage if no id has been
specified.
(DoBrowseRequest): Don't report an invalid URL if no id has been
specified. Just browse the HomePage instead.

Revision 1.906 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 14 20:07:01 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.905: +4 -6 lines
Diff to previous 1.905
(GetId): Fix it by no longer short-circuiting to return HomePage.

Revision 1.905 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 14 19:33:15 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.904: +5 -4 lines
Diff to previous 1.904
(GetId): Use keywords when determining the default page
for the wiki, since recent versions will set parameters.

Revision 1.904 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 13 17:53:53 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.903: +7 -4 lines
Diff to previous 1.903
(InitCookie): We need to fall back on %OldCookie if no explicit
parameter was provided.

Revision 1.903 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 13 17:41:06 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.902: +5 -4 lines
Diff to previous 1.902
(GetParam): We need to fall back on %OldCookie if no explicit
parameter was provided.

Revision 1.902 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 13 17:00:58 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.901: +5 -4 lines
Diff to previous 1.901
(DoShowVersion): Print version info for grep.

Revision 1.901 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 13 16:57:41 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.900: +6 -5 lines
Diff to previous 1.900
(GrepFiltered): Make sure matches in page content do not
duplicate matches in page names.

Revision 1.900 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 12 21:20:56 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.899: +22 -26 lines
Diff to previous 1.899
($NewCookie): Deleted.
(InitCookie, CookieUsernameFix, CookieRollbackFix, GetParam)
(SetParam): Get rid of $NewCookie.
(CookieUsernameFix): Make sure that with $FreeLinks and $WikiLinks
unset, single words are still allowed.

Revision 1.899 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 11 14:09:32 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.898: +6 -6 lines
Diff to previous 1.898
(GrepFiltered): Return pagename matches, then page
content matches.

Revision 1.898 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 11 08:48:19 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.897: +15 -18 lines
Diff to previous 1.897
(DoSearch, ApplyRules): Replace HighlightRegex with SearchRegexp.
(GrepFiltered): Use SearchRegexp, too. And search AllPagesList.
(HighlightRegex): Deleted.
(SearchRegexp): New.

Revision 1.897 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 10 13:06:14 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.896: +7 -8 lines
Diff to previous 1.896
Whitespace.

Revision 1.896 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 10 07:20:58 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.895: +14 -14 lines
Diff to previous 1.895
Whitespace.

Revision 1.895 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 7 16:21:33 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.894: +9 -9 lines
Diff to previous 1.894
Whitespace changes

Revision 1.894 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 22 10:07:47 2009 UTC (3 years, 2 months ago) by as
Branch: MAIN
Changes since 1.893: +8 -7 lines
Diff to previous 1.893
(GetParam): Get result from NewCookie before getting it
from $q->param -- this will make SetParam have the intended effect.
(DoBrowseRequest): Fake a search action before calling DoSearch;
since the action is now explicitly not browse, GetRobots will
produce a NOFOLLOW header.

Revision 1.893 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 00:30:21 2009 UTC (3 years, 4 months ago) by as
Branch: MAIN
Changes since 1.892: +4 -4 lines
Diff to previous 1.892
(DelayRequired): Fix an off-by one error.

Revision 1.892 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 01:10:03 2008 UTC (3 years, 5 months ago) by as
Branch: MAIN
Changes since 1.891: +5 -16 lines
Diff to previous 1.891
(GetEditForm): Remove extra closing div.
(@MyBeforeApplyRules, @MyAfterApplyRules): Removed.
(ApplyRules): Removed call of code on @MyBeforeApplyRules.
(PrintWikiToHTML): Removed call of code on @MyAfterApplyRules.

Revision 1.891 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 7 23:58:28 2008 UTC (3 years, 5 months ago) by as
Branch: MAIN
Changes since 1.890: +13 -11 lines
Diff to previous 1.890
(GetEditForm): Remove extra closing div.

Revision 1.890 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 6 01:57:40 2008 UTC (3 years, 5 months ago) by as
Branch: MAIN
Changes since 1.889: +4 -4 lines
Diff to previous 1.889
(GrepFiltered): Ignore grep error messages (which happen
on an empty wiki, for example).

Revision 1.889 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 3 11:46:49 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.888: +4 -4 lines
Diff to previous 1.888
* wiki.pl (PrintWikiToHTML): Moved "@MyBeforeApplyRules"-specific
code into the ApplyRules() routine. This corrects a number of
subtle issues with the Crossbar module: especially, the Crossbar
module's erroneous handling of uploaded files. (Thanks, Ingo
Belka!)
* modules/crossbar.pl (CrossbarBeforeApplyRule): Corrected this
module's erroneous handling of uploaded files.
(RunMyRulesTocCrossbar): New function, offloading a Crossbar-
specific hack from "toc.pl" into this file. (This is still...
slightly hacky, but a bit better.)
* modules/toc.pl (TocRule): Allowed more than one table of contents
per page. Before, this module only recognized the first "<toc...>"
markup for a Wiki page: all subsequent "<toc...>" markup for that
page was studiously ignored. Correcting this improves integration
with the Crossbar module.
(RunMyRulesToc): Removed a Crossbar-specific hack.
(TocAfterApplyRule): Allowed more than one table of contents.
($TocIsApplyingAutomaticRules): New option, providing slightly
finer-grained control over Table of Contents handling.

Revision 1.888 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 21:59:06 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.887: +3 -3 lines
Diff to previous 1.887
* wiki.pl: Slightly altered the CVS-enabled version notice.

Revision 1.887 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 21:47:52 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.886: +2 -1 lines
Diff to previous 1.886
* modules/wiki.pl: Added a CVS-enabled version notice to this file's
header comments This should make it easier for Oddmuse users to
ascertain which Oddmuse version they're using.

Revision 1.886 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 19:27:23 2008 UTC (3 years, 5 months ago) by as
Branch: MAIN
Changes since 1.885: +3 -2 lines
Diff to previous 1.885
(DoShowVersion): Print grep --version.

Revision 1.885 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 23 22:08:34 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.884: +41 -44 lines
Diff to previous 1.884
* wiki.pl (GetEditForm): Added the 'upload' class attribute to
upload links produced by this function, for CSS stylization.
(BrowsePage): Calls the new "PrintPageContent" function.
(PrintPageContent): New function, whose implementation has been
extracted from the "BrowsePage" function. This permits external
modules -- like the new Crossbar module -- to override this
function and thereby print page content in a module-specific
manner.

Revision 1.884 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 11:45:45 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.883: +3 -3 lines
Diff to previous 1.883
* wiki.pl (SetHtmlEnvironmentContainer): Corrected a slight, but
significant, typo.
* modules/sidebar.pl: Reverted. I underestimated the scope of
changes needed to bring this module in line with recent, other
changes to the Table of Contents module. The good news is that the
reverted Sidebar module now works as expected for all modules except
the Table of Contents module; of course, the bad news is that the
reverted Sidebar module no longer works for the Table of Contents
module. (Unfortunately, we can't have both, here.) I will be
recommitting my changes to this module as a new module, therefore,
named "modules/crossbar.pl" -- sometime, soon. That new module
will (probably) break backwards compatibility with this module, but
will otherwise behave as expected... with all modules.
* t/sidebar.t: Prevented testing against the Table of Contents
module, as the Sidebar module is now known not to work with that
module.

Revision 1.883 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 01:00:07 2008 UTC (3 years, 5 months ago) by leycec
Branch: MAIN
Changes since 1.882: +4 -4 lines
Diff to previous 1.882
* wiki.pl (PrintWikiToHTML): Slightly reordered function calls,
so as to optimize a few edge cases.

Revision 1.882 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 15 21:24:32 2008 UTC (3 years, 6 months ago) by leycec
Branch: MAIN
Changes since 1.881: +9 -9 lines
Diff to previous 1.881
* wiki.pl (RegisterBlockLevelElement): Renamed to
SetHtmlEnvironmentContainer (and changed in every other module,
where called).

Revision 1.881 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 15 12:53:26 2008 UTC (3 years, 6 months ago) by leycec
Branch: MAIN
Changes since 1.880: +0 -0 lines
Diff to previous 1.880
* wiki.pl (AddHtmlEnvironment): Corrected a minor regression.
Probably not a genuine issue... but one can never tell.
* modules/creole.pl (CloseHtmlEnvironmentsCreole): Removed.
* modules/creoleaddition.pl (CloseHtmlEnvironmentsCreoleAddition):
Removed.
* modules/poetry.pl (CloseHtmlEnvironmentsPoetry): Removed.

Revision 1.880 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 15 12:40:49 2008 UTC (3 years, 6 months ago) by leycec
Branch: MAIN
Changes since 1.879: +72 -73 lines
Diff to previous 1.879
* wiki.pl (@MyAfterApplyRules): New global list. This is a list of
subroutine references, much like @MyRules. Unlike @MyRules, whose
subroutines are called by ApplyRules() while iterating through wiki
page markup, @MyAfterApplyRules subroutines are called by
PrintWikiToHTML(), iteratively, after all calls to ApplyRules().
This may not sound like much -- certainly, no deep invention.
Actually, however, it permits post-processing of all emitted HTML.
This, in turn, allows us to reimplement the Table of Contents
module ("toc.pl"), so as to remove the hacks upon which that
module formerly depended. This is a good thing. Perhaps, even a
great thing! As Alex can attest, "toc.pl" (and its retinue of
oddball hacks) has given Oddmuse some dire trouble, over time.
That's all past now...thanks be to the Nordic Gods.
(@MyBeforeApplyRules): New global list. This is a list of
subroutine references, much like @MyRules. Like @MyAfterApplyRules,
above, @MyBeforeApplyRules subroutines are not called by
ApplyRules() while iterating through wiki page markup but rather by
PrintWikiToHTML(), iteratively, before all calls to ApplyRules().
This, also, may not sound like much. However, it permits pre-
processing of all emitted HTML. This, in turn, allows us to
reimplement the Sidebar module ("sidebar.pl"), so as to remove the
hacks upon which that module formerly depended. (Praise be to Odin.)
(%BlockLevelElements): New global hash. This hash should not be
assigned to directly, but through the new
RegisterBlockLevelElement() function. Its keys are HTML tags:
'table', 'blockquote', 'div', and so. Its values are regular
expressions matching HTML tag attributes: 'class="poem"',
'align="right"', and so on. That's the structure. Here's how it
works: this hash has one key for each HTML tag to be considered a
"block-level element." Block-level elements are not closed when
closing HTML environments with CloseHtmlEnvironments(). Instead,
they must be explicitly closed with, say,
CloseHtmlEnvironment('table'). CloseHtmlEnvironments() now closes
all environments up to but not including those whose HTML tag
matches a key in %BlockLevelElements and whose HTML tag attributes
match a value in %BlockLevelElements. Thus, if Oddmuse is currently
in a "<table>...</table>" environment, calling
CloseHtmlEnvironments() now closes all environments up to but not
including the table. This is a good thing. This allows modules
to define block-level markup that can, itself, contain block-level
markup -- say, markup for a "<blockquotes>...</blockquotes>"
environment containing markup for a "<pre class='poem'>...</pre>"
environment containing markup for a "<ol>...</ol>" environment.
Prior to the introduction of this hash, block-level markup could
not contain other block-level markup -- since most modules "open" a
new HTML environment for such markup by first calling
CloseHtmlEnvironments(), which, of course, closes the HTML
environments of all "parent" block-level markup of this markup.
Slightly mind-bending, isn't it?
(RegisterBlockLevelElement): New function. (I'm not entirely happy
with the verb 'register', here, but could think of nothing better.)
(CloseHtmlEnvironments): Use the %BlockLevelElements hash to ensure
block-level element HTML environments are not closed. (Of course,
this is an amortized constant-time lookup. No efficiency concern,
here!)
(PrintWikiToHTML): Use the @MyBeforeApplyRules and
@MyAfterApplyRules lists, to perform HTML pre- and post-processing.

Revision 1.879 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 5 09:42:05 2008 UTC (3 years, 6 months ago) by leycec
Branch: MAIN
Changes since 1.878: +251 -248 lines
Diff to previous 1.878
* wiki.pl (@HtmlAttrStack): New global variable. This permits
the InElement() and [Add|Close]HtmlEnvironment() family of
functions to add, remove, and search against HTML tag attributes
for all recently stacked HTML tag environments. Previously, tag
attributes were not retained; they were simply returned as text
from the AddHtmlEnvironment() function. Markup modules producing
complex HTML -- particularly, complex HTML having deeply nested
span or div tags -- can leverage the newly rewritten functions,
below, to simplify, streamline, and "clean up" their markup code.
(InElement): Rewritten to use this new variable.
(AddHtmlEnvironment): Rewritten to use this new variable.
(CloseHtmlEnvironment): Rewritten to use this new variable.
(CloseHtmlEnvironments): Rewritten to use this new variable.
(CloseHtmlEnvironmentUntil): Rewritten to use this new variable.
(AddOrCloseHtmlEnvironment): New function. Added so as to avoid
duplicate redefinition in the Creole, Creole Addition, and Usemod
modules.
* modules/usemod.pl (UsemodRule): Corrected erroneous usage of the
InElement() function. (I don't think UsemodRule()	was ever quite
right, really; it's a bit surprising it worked this long!)

Revision 1.878 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 04:34:10 2008 UTC (3 years, 6 months ago) by leycec
Branch: MAIN
Changes since 1.877: +6 -11 lines
Diff to previous 1.877
* modules/wiki.pl (OpenHtmlEnvironment): Generalized list closure
by delegating that closure to the "CloseHtmlEnvironments" function.
This permits other extensions (namely, the Creole Markup extension)
to redefine the "CloseHtmlEnvironments" function and thereby
precisely override just when and how list markup is closed.
* modules/creole.pl ($CreoleDashStyleUnorderedLists): New option.
(RunMyRules): New function.
(CreoleRule): Improved conformance to the Wiki Creole standard by
strictly requiring, among other notable things, that horizontal
rules consist of four and only four dashes, that all image links
to images on the Wiki (e.g., image "FreeLinks") be marked as dirty
blocks, that the nowiki markup strictly require the opening and
closing three braces to reside on their own lines having no other
markup, and that preformatted code not extend over multiple blocks.
(CreoleListAndNewLineRule): Avoid handling dash-style unordered
list markup unless explicitly requested by the new
"$CreoleDashStyleUnorderedLists" option being set to 1 (since
that markup is non-standard, and explicitly contradicts the Wiki
Creole standard).
* t/creole.t: Adjusted tests broken by the above modifications;
these were, typically, tests for nowiki and preformatted markup
that assumed a less conformant, gentler handling of that markup.

Revision 1.877 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 12 19:46:12 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.876: +185 -184 lines
Diff to previous 1.876
Apply patch from 1.874 to 1.876 minus the whitespace changes to
revision 1.874.

Revision 1.876 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 6 06:11:20 2008 UTC (3 years, 7 months ago) by leycec
Branch: MAIN
Changes since 1.875: +5 -7 lines
Diff to previous 1.875
* wiki.pl (ApplyRules): Ensure the regular expression match
position returns the length of the matched string on finishing
application of all rules. ("creole.pl" and "creoleaddition.pl" now
depend on this; it notifies them that rules are now finished.)
* modules/creoleaddition.pl (CreoleAdditionRule): Injected a sanity
check, to ensure closure of blockquotes at the end of a page.
* modules/creole.pl ($CreoleTableCellsAllowBlockLevelElements): New
option.
* modules/creole.pl (CreoleRule): The last, one hopes, of all Creole
table markup modifications (for the moment). The rather complex
table markup code has been modified so as to use the new option, has
been refactored for robustness and strict conformance to the Wiki
Creole standard, and has been well-documented.
* modules/creole.pl (CreoleGetTableHtmlAttributes): Deleted function.

Revision 1.875 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 03:30:50 2008 UTC (3 years, 7 months ago) by leycec
Branch: MAIN
Changes since 1.874: +184 -183 lines
Diff to previous 1.874
* modules/creole.pl (CreoleRuleRecursive): New function. Permits embedding
of Wiki Creole syntax within Wiki Creole syntax. (Yes... This is confusing?)
* modules/creole.pl (CreoleRule): Used the new function. Specifically, you
can now embed Creole and CreoleAddition syntax (such as bold, italics, small
caps, and so on) within URL and Wiki link text, ala
  "[[Some_Page|Wow! **Quite** an //%%interesting page%%// page, here]]."
* modules/creoleaddition.pl (CreoleAdditionRule): Renamed function from
"CreoleAdditionRules" to this.

Revision 1.874 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 09:57:35 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.873: +9 -3 lines
Diff to previous 1.873
(GrepFiltered): Handle some grep issues.

Revision 1.873 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 22:19:21 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.872: +25 -9 lines
Diff to previous 1.872
($UseGrep): New option. Set by default.
(SearchTitleAndBody): Use GrepFiltered.
(GrepFiltered): New code to filter AllPagesList using grep if
$UseGrep is set.
(ReadFile): Slight rearranging of the lines.

Revision 1.872 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 1 20:43:53 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.871: +4 -5 lines
Diff to previous 1.871
Whitespace

Revision 1.871 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 08:27:09 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.870: +82 -83 lines
Diff to previous 1.870
Whitespace.

Revision 1.870 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 08:52:59 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.869: +6 -6 lines
Diff to previous 1.869
Whitespace.

Revision 1.869 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 23:31:46 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.868: +14 -12 lines
Diff to previous 1.868
Whitespace.

Revision 1.868 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 22:07:45 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.867: +7 -7 lines
Diff to previous 1.867
(GetRcRss): Since this sub no longer takes RC lines as
parameters, there's no point in passing @_ to ProcessRcLines.

Revision 1.867 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 00:08:11 2008 UTC (3 years, 7 months ago) by as
Branch: MAIN
Changes since 1.866: +333 -297 lines
Diff to previous 1.866
($RssStrip): New option.
(ItemName): Strip the default date from the item title.
(BrowsePage): Replace call to PrintRc with PrintRcHtml.
(BrowseRc): Replace call to PrintRc with PrintRcHtml. Use
PrintRcText instead of DoRcText.
(PrintRc, DoRcText, DoRc, GetRc, GetRcHtml, GetRcText): Deleted.
(GetRcLines): Moved.
(LatestChanges, RcHtml, PrintRcHtml, PrintRcText): New.
(StripRollbacks): Change to new format returned by GetRcLines.
(GetRcLinesFor): Factored out the per-file code of GetRcLines.
(ProcessRcLines): Calls the per day and per item code fragments.
(RcHeader): Return HTML instead of printing it.
(GetRcHtml, GetRcRss): Call ProcessRcLines instead of GetRc.
(DoRss): Call GetRcRss instead of DoRc and passing GetRcRss.
(DoContributors): Set parameters instead of relying on the default
behaviour of GetRcLines.

Revision 1.866 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 15 07:12:21 2008 UTC (3 years, 8 months ago) by leycec
Branch: MAIN
Changes since 1.865: +506 -506 lines
Diff to previous 1.865
(BrowsePage): Nested the preview div within the
content div, per Oddmuse norms.

Revision 1.865 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 7 00:25:21 2008 UTC (3 years, 9 months ago) by as
Branch: MAIN
Changes since 1.864: +9 -3 lines
Diff to previous 1.864
(ItemName): New. Strips dates from page titles.
(RssItem): Use it.

Revision 1.864 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 5 16:00:22 2008 UTC (3 years, 9 months ago) by as
Branch: MAIN
Changes since 1.863: +3 -3 lines
Diff to previous 1.863
(InitLinkPatterns): Change $FreeLinkPattern so that
pages starting with "0" are still allowed.

Revision 1.863 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 11 14:33:05 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.862: +4 -4 lines
Diff to previous 1.862
Move the RunMyMacros code from BrowsePage back to DoPost so that all
things that change the submitted text are concentrated there.

Revision 1.862 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 11 14:22:53 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.861: +21 -13 lines
Diff to previous 1.861
(RunMyMacros): New.
(BrowsePage): Call RunMyMacros on the result of AddComment.
(DoPost): Call RunMyMacros on the concatenated page body +
comment.
(AddComment): Call RunMyMacros on the comments, too.

Revision 1.861 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 8 16:13:43 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.860: +6 -7 lines
Diff to previous 1.860
(DoPost): Run macros after concatenating page and
comments.

Revision 1.860 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 2 09:34:13 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.859: +4 -2 lines
Diff to previous 1.859
(GetSummary): Two more convenience replacements.

Revision 1.859 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 23 23:58:32 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.858: +3 -3 lines
Diff to previous 1.858
(GetHtmlHeader): Fix typo in HTML header.

Revision 1.858 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 23 00:31:20 2008 UTC (3 years, 10 months ago) by as
Branch: MAIN
Changes since 1.857: +10 -5 lines
Diff to previous 1.857
(GetHtmlHeader): Add universal edit button.

Revision 1.857 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 14:19:02 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.856: +28 -137 lines
Diff to previous 1.856
Also moved copyright notice and licence info back to the front of
the file and removed the standard POD info at the back of the
file.

Revision 1.856 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 13:44:14 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.855: +8 -6 lines
Diff to previous 1.855
($DocumentHeader): New option.
(GetHtmlHeader): Use $DocumentHeader and GetFeeds.
(InitVariables): No longer set $HtmlHeaders to GetFeeds.

Revision 1.855 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 08:43:45 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.854: +3 -3 lines
Diff to previous 1.854
Typo

Revision 1.854 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 08:40:26 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.853: +3 -4 lines
Diff to previous 1.853
(PrintJournal): Add p element around the More... link.

Revision 1.853 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 08:32:54 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.852: +2 -2 lines
Diff to previous 1.852
Fix typo.

Revision 1.852 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 08:28:47 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.851: +5 -3 lines
Diff to previous 1.851
(PrintJournal): Remove content class from div.
(DoJournal): Add div with content class.

Revision 1.851 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 08:23:47 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.850: +3 -3 lines
Diff to previous 1.850
(PrintJournal): Add content class to div.

Revision 1.850 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 23 11:32:15 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.849: +3 -3 lines
Diff to previous 1.849
(LinkRules): Fix typo.

Revision 1.849 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 23 11:19:15 2008 UTC (3 years, 11 months ago) by as
Branch: MAIN
Changes since 1.848: +4 -3 lines
Diff to previous 1.848
(LinkRules): Support [[url text]], [[url|text]],
and [url|text].

Revision 1.848 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 00:41:33 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.847: +3 -3 lines
Diff to previous 1.847
Revert change to default $DataDir.

Revision 1.847 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 00:05:55 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.846: +2 -2 lines
Diff to previous 1.846
*** empty log message ***

Revision 1.846 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 00:03:56 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.845: +136 -264 lines
Diff to previous 1.845
Collected all POD documentation in the back. Shortened considerably.

Revision 1.845 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 23:27:51 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.844: +3054 -3022 lines
Diff to previous 1.844
Some whitespace changes.

Revision 1.844 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 09:48:14 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.843: +30 -24 lines
Diff to previous 1.843
(ScriptLink): Moved the URL modifying code into a
separate sub.
(ScriptUrl): New.
(GetRcRss, RssItem): No longer provide a quoted $ScriptName. Use
ScriptUrl instead of manually concatenating the quoted $ScriptName
with code testing $UsePathInfo. This is now handled by ScriptUrl.

Revision 1.843 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 29 09:34:10 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.842: +2999 -3003 lines
Diff to previous 1.842
($VERSION): New expression based on CVS keyword
splitting and many changes involving perldoc and the options at
the beginning of the file.

Revision 1.842 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 25 00:07:44 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.841: +3 -3 lines
Diff to previous 1.841
(InitLinkPatterns): $FreeLinkPattern no longer allows
linking to the page named "0" (zero).

Revision 1.841 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 24 23:46:58 2008 UTC (4 years, 2 months ago) by as
Branch: MAIN
Changes since 1.840: +5 -5 lines
Diff to previous 1.840
Delete trailing whitespace.

Revision 1.840 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 10 20:16:17 2008 UTC (4 years, 3 months ago) by grandfather
Branch: MAIN
Changes since 1.839: +291 -25 lines
Diff to previous 1.839
As a first step toward CPAN-compatibility,
o perldoc is added to wiki.pl
o To aid automatic tools including Makefile.PL
  o $VERSION='...' is added
  o quotes in regexs are escaped

Current installations should see no behavioral differences
from this checkin.

Those who wish can read the perldoc.

The documentation indicates the plans for CPAN/rpm distribution
o package oddmuse => package OddMuse::Wiki
o FHS-2.3 default pathnames
  o /var/opt/oddmuse/...,
    (/tmp is required to be safely removable)
  o /etc/opt/oddmuse/...
  o /opt/oddmuse/wiki/...,

At this time configuration by variables is not known to
be CPAN or rpm compatible.
Future conventional configuration by environment, and PATH,
will be added and may alter the default directories.

At this time the version must be set in two places
  $VERSION='...' and q{$Id ...
In the future, the latter will be set automatically by Makefile.PL
from the former.

Revision 1.839 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 1 09:53:56 2008 UTC (4 years, 3 months ago) by as
Branch: MAIN
Changes since 1.838: +2 -2 lines
Diff to previous 1.838
(PrintHtmlDiff): Handle cache=0 as noted by Markus Lude.

Revision 1.838 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 1 07:14:21 2008 UTC (4 years, 3 months ago) by as
Branch: MAIN
Changes since 1.837: +3 -3 lines
Diff to previous 1.837
(PrintFooter): Print newline at the very end.

Revision 1.837 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 10 10:54:02 2008 UTC (4 years, 4 months ago) by as
Branch: MAIN
Changes since 1.836: +3 -2 lines
Diff to previous 1.836
(DebugInterLinks): Only print header if InterSite
contains anything.

Revision 1.836 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 3 01:13:01 2008 UTC (4 years, 4 months ago) by as
Branch: MAIN
Changes since 1.835: +9 -2 lines
Diff to previous 1.835
(UnWiki): New function to split WikiWords.
(GetHeader): Use UnWiki for the page page title.

Revision 1.835 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 22 20:49:38 2007 UTC (4 years, 4 months ago) by as
Branch: MAIN
Changes since 1.834: +2 -2 lines
Diff to previous 1.834
(UserCanEdit): %LockOnCreation only affects permissions
when the page is new. Once it exists, the lock file determines
permissions.

Revision 1.834 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 15 22:41:41 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.833: +4 -4 lines
Diff to previous 1.833
(GetFooterLinks, GetCommentForm): Use the parameter $id
instead of the global $OpenPageName.

Revision 1.833 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 13:33:40 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.832: +2 -6 lines
Diff to previous 1.832
(GetFeeds): Removed link using match and kept just rcidonly.

Revision 1.832 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 13:24:35 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.831: +4 -3 lines
Diff to previous 1.831
(GetHtmlHeader): Add charset http-equiv meta tag.

Revision 1.831 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 09:40:15 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.830: +4 -7 lines
Diff to previous 1.830
(GetHtmlHeader): Bugfixing.

Revision 1.830 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 08:58:20 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.829: +31 -16 lines
Diff to previous 1.829
(GetHtmlHeader, GetRobots, GetFeeds, InitVariables):
Moved meta element generation from into GetRobots and GetFeeds.
Set $HtmlHeaders via GetFeeds in InitVariables so that users can
append to the default value.

Revision 1.829 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 22 18:24:35 2007 UTC (4 years, 5 months ago) by as
Branch: MAIN
Changes since 1.828: +4 -2 lines
Diff to previous 1.828
(GetInterLink): Enclose the ":" in a separate span.

Revision 1.828 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 13 23:23:57 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.827: +3 -3 lines
Diff to previous 1.827
(GetRcHtml): Wrap the entire list in a form block so
that the rollback buttons actually have an effect.

Revision 1.827 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 13 20:27:05 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.826: +16 -10 lines
Diff to previous 1.826
(GetRcLines, StripRollbacks): Move the rollback
stripping into a separate sub.

Revision 1.826 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 6 14:46:07 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.825: +2 -2 lines
Diff to previous 1.825
(GetHtmlHeader): Add
xmlns="http://www.w3.org/1999/xhtml" to the html element.

Revision 1.825 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 3 00:01:21 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.824: +12 -7 lines
Diff to previous 1.824
(DoHistory): Add compare button to the top of the list.

Revision 1.824 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 26 16:18:10 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.823: +17 -15 lines
Diff to previous 1.823
*** empty log message ***

Revision 1.823 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 24 19:06:27 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.822: +2 -2 lines
Diff to previous 1.822
(LinkRules): Unquote alt text.

Revision 1.822 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 22 16:38:30 2007 UTC (4 years, 6 months ago) by as
Branch: MAIN
Changes since 1.821: +19 -6 lines
Diff to previous 1.821
(InitCookie, CookieUsernameFix, CookieRollbackFix): Move
username testing from InitCookie to a new sub and add rollback
testing. The reason is that for submit buttons, all the info is
encoded in the name attribute; the value is used for the label.
(GetRcHtml, GetHistoryLine): Use a submit button instead of a link
for rollbacks.

Revision 1.821 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 6 20:28:37 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.820: +2 -2 lines
Diff to previous 1.820
(GetPageLink): Removed page name to tests for local links again.

Revision 1.820 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 6 14:19:26 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.819: +8 -8 lines
Diff to previous 1.819
(GetPageLink): Add the pagename to the link class.

Revision 1.819 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 6 13:27:22 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.818: +2 -2 lines
Diff to previous 1.818
(DoRollback): Fix call to WriteRcLog in order to leave the target_id
marker in the correct spot.

Revision 1.818 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 6 12:24:38 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.817: +22 -7 lines
Diff to previous 1.817
(GetRcLines): Handle rollback hiding for single page
rollbacks.
(DoRollback): Leave marker for single page rollbacks.
(RcTextRevision): Encode id for the current revision.

Revision 1.817 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 4 17:12:41 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.816: +2 -2 lines
Diff to previous 1.816
($NewText): Changed default to "This page is empty.\n"

Revision 1.816 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 4 17:09:24 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.815: +2 -3 lines
Diff to previous 1.815
(BrowsePage): Use $NewText if looking at a page that
does not yet exist.
(OpenPage): When opening a nonexisting page, don't store $NewText
as the default text.

Revision 1.815 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 4 08:57:45 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.814: +15 -21 lines
Diff to previous 1.814
(ScriptLink): Get rid of the last parameter to generate nofollow
links explicitly. Instead, generate nofollow links whenever an
action is invoked. Thus, only ordinary links should be followed.
(RcHeader): No longer generate nofollow links explicitly. Instead,
rely on the new code in ScriptLink.
(GetHtmlHeader): Simplify the generation of the robots meta tag.
Use INDEX,FOLLOW for the browse action without any revisions and
NOINDEX,FOLLOW for everything else.

Revision 1.814 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 3 09:09:02 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.813: +3 -5 lines
Diff to previous 1.813
(RssItem): Don't append the summary to the title if
showing full page content.

Revision 1.813 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 2 10:13:14 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.812: +47 -144 lines
Diff to previous 1.812
(DoAdminPage): Sort AdminPages when printing the list.
(%NearSite, %NearSource, %NearLinksUsed, $NearDir)
($NearMap, %NearSearch, $SisterSiteLogoUrl): Deleted.
(@IndexOptions): Removed near pages from the default value.
(%Action, @Debugging, DoDebug, DebugInterLinks, DoShowVersion):
Added debug action and moved interling debugging from the version
action to the debugging action. Simplified DoShowVersion by
showing dependencies always.
(NearInit, ReInit): Deleted NearInit; no longer call it from
ReInit.
(ResolveId): No longer resolve near links.
(PrintFooter, @MyFooters, GetSisterSites, GetNearLinksUsed):
Deleted GetSisterSites and GetNearLinksUsed; no longer call them
from PrintFooter; add the new option @MyFooters instead where
modules can add code.
(DoSearch, SearchMenu): Remove link to near search; moved the link
to search result changes into SearchMenu.
(SearchNearPages): Deleted.
(DoMaintain): Removed near cache maintenance.

Revision 1.812 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 29 16:04:33 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.811: +3 -3 lines
Diff to previous 1.811
(GetFooterLinks): UrlEncode id for admin link.
(GetHistoryLine): UrlEncode id for rollback link.

Revision 1.811 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 27 15:56:06 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.810: +38 -131 lines
Diff to previous 1.810
(@IndexOptions): New.
(%PermanentAnchors, $PermanentAnchors)
($PermanentAnchorsFile): Deleted.
(PermanentAnchorsInit, ReInit): PermanentAnchorsInit deleted.
(LinkRules): Rule for permanent anchors deleted.
(ResolveId): Name resolution for permanent anchors deleted.
(GetHistoryLink): Special handling of permanent anchors removed.
(DoIndex): Major rewrite using @IndexOptions, replacing all
permanent anchors and near links related code. Use checkboxes
instead of links.
(DoPost, DeletePage, DeletePermanentAnchors):
DeletePermanentAnchors deleted.
(PermanentAnchorsInit, WritePermanentAnchors)
(GetPermanentAnchor): Deleted.

Revision 1.810 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 25 15:28:07 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.809: +12 -8 lines
Diff to previous 1.809
(ApplyRules): Add a pattern for #REDIRECT in order to
prevent mismatches for non-existing link-patterns.
(BrowsePage): Add explanation for failed redirections.

Revision 1.809 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 24 08:24:32 2007 UTC (4 years, 7 months ago) by as
Branch: MAIN
Changes since 1.808: +2 -3 lines
Diff to previous 1.808
(BrowsePage): Save a line.

Revision 1.808 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 12 12:17:38 2007 UTC (4 years, 8 months ago) by as
Branch: MAIN
Changes since 1.807: +6 -4 lines
Diff to previous 1.807
(DiffMarkWords): Tighter.
(DiffHtmlMarkWords): Fix named entities if they have been pulled
appart by the diff highlighting.

Revision 1.807 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 12 09:07:08 2007 UTC (4 years, 8 months ago) by as
Branch: MAIN
Changes since 1.806: +6 -6 lines
Diff to previous 1.806
(LinkRules, GetUrl): Handle the difference between
undefined text and "0".

Revision 1.806 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 17 12:39:42 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.805: +4 -4 lines
Diff to previous 1.805
(DoSearch): Bugfix: Print headers if raw=1 and context=0.

Revision 1.805 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 17 01:32:40 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.804: +3 -3 lines
Diff to previous 1.804
(DoSearch): No longer HtmlQuote the search and replace
strings in order to avoid double-encoding.

Revision 1.804 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 11 10:34:41 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.803: +5 -8 lines
Diff to previous 1.803
Update to GPLv3.

Revision 1.803 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 5 00:13:52 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.802: +2 -2 lines
Diff to previous 1.802
(InitLinkPatterns): Added feed to $UrlProtocols.

Revision 1.802 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 3 23:47:42 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.801: +41 -45 lines
Diff to previous 1.801
(GetRcRss, RssItem): Rearrange code, move the RssItem generation
out to a new function. Required for module/enclosure.pl.

Revision 1.801 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 20 07:20:58 2007 UTC (4 years, 9 months ago) by as
Branch: MAIN
Changes since 1.800: +28 -28 lines
Diff to previous 1.800
(GetSearchForm): Add delete checkbox.
(PrintSearchResult): Call PrintPage if the context parameter is
set.
(Replace): Return the list of pages changed.
(DoSearch): Handle delete checkbox. Ignore context parameter here
and call PrintSearchResult always. Use Unicode right arrow instead
of ->. Use the list of changed pages returned from Replace() to
print the result for replacements.

Revision 1.800 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 10 13:28:03 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.799: +2 -2 lines
Diff to previous 1.799
(GetCss): Another fix to a bug introduced in revision
1.784.

Revision 1.799 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 4 10:35:51 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.798: +2 -2 lines
Diff to previous 1.798
(RcTextItem): Don't get confused by revision 0.

Revision 1.798 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 3 10:40:51 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.797: +2 -2 lines
Diff to previous 1.797
(GetCss): Make sure the css parameter replaces the
StyleSheetPage instead of adding to it. This fixes a bug
introduced in revision 1.784.

Revision 1.797 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 2 11:59:22 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.796: +46 -40 lines
Diff to previous 1.796
(GetRcText, RcTextRevision): Moved code out of GetRcText
into a separate sub.
(DoHistory): Support raw=1 and use RcTextRevision to print raw
history items.
(GetLanguages): Got rid of useless $count.

Revision 1.796 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 30 22:47:04 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.795: +2 -2 lines
Diff to previous 1.795
(GetRcRss): Use NormalToFree on the RCName in the title.

Revision 1.795 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 30 12:33:18 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.794: +34 -25 lines
Diff to previous 1.794
(RcHeader): Added RSS links and handle followup parameter.
(GetFilterForm): Make sure the form fields are shown in the
correct order every time instead of being random. Add followup field.
(GetRc): Handle followup.

(GetFooterLinks): Only print history, contrib, and admin
links if the action is still defined.

Revision 1.794 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 21 20:03:14 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.793: +2 -2 lines
Diff to previous 1.793
(GetCommentForm): Add $EditNote to comments, too.

Revision 1.793 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 20 14:04:00 2007 UTC (4 years, 10 months ago) by as
Branch: MAIN
Changes since 1.792: +3 -3 lines
Diff to previous 1.792
(GetRcLines): Fix test in for loop as reported by
Radomir Dopieralski.

Revision 1.792 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 11 00:53:33 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.791: +2 -2 lines
Diff to previous 1.791
(GetHttpHeader): Use RFC822 timestamp format.

Revision 1.791 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 11 00:37:49 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.790: +4 -4 lines
Diff to previous 1.790
(GetHttpHeader): Use the second parameter as a
timestamp, if defined and not 'nocache'. This allows us to set a
last-modified date whenever we have one.

Revision 1.790 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 10 00:51:19 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.789: +3 -3 lines
Diff to previous 1.789
(%LockExpires): Fix init code.
(RequestLockDir): Fix test.

Revision 1.789 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 9 23:30:51 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.788: +12 -6 lines
Diff to previous 1.788
($LockExpiration, %LockExpires): New options.
(RequestLockDir): Use them.

Revision 1.788 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 7 08:47:30 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.787: +4 -2 lines
Diff to previous 1.787
(DoWikiRequest): Provide login link if banned.
(UserIsBanned): The password page is always visible.

Revision 1.787 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 31 12:24:00 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.786: +3 -2 lines
Diff to previous 1.786
(GetCss): Fix bug introduced by latest change that broke
the use of StyleSheetPage.

Revision 1.786 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 30 11:13:39 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.785: +2 -2 lines
Diff to previous 1.785
(GetDownloadLink): No longer translate the image: prefix.

Revision 1.785 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 30 10:58:11 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.784: +16 -25 lines
Diff to previous 1.784
($UseQuestionmark): New option.
(LinkRules): Fix $bracket for [WikiWord text].
(GetPageOrEditLink, GetDownloadLink): Changed display of edit
links and implement !$UseQuestionmark code.

Revision 1.784 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 13:26:04 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.783: +12 -21 lines
Diff to previous 1.783
(GetCss): Rewritten more tersely and allow it to return
the first URL only.
(ReportError): Rewrite GetHtmlHeader and using a div with the
error class to allow styling.

Revision 1.783 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 12:21:15 2007 UTC (4 years, 11 months ago) by as
Branch: MAIN
Changes since 1.782: +5 -5 lines
Diff to previous 1.782
(ReportError): Add two newlines at the end and exit with
an error code.
(GetHttpHeader): Print two newlines at the end if only a HEAD
request was sent.
(GetId): Return HomePage if path_info is just a slash (/).

Revision 1.782 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 10 15:38:10 2007 UTC (5 years ago) by as
Branch: MAIN
Changes since 1.781: +2 -1 lines
Diff to previous 1.781
(Save): We need to reset %IndexHash and @IndexList when
a page is created to force systems running FCGI to recreate the
pageidx file. This is necessary to communicate between processes.

Revision 1.781 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 27 21:44:24 2007 UTC (5 years ago) by as
Branch: MAIN
Changes since 1.780: +2 -2 lines
Diff to previous 1.780
(PrintAllPages): Print link to comment pages even if
these cannot be edited, as suggested by Marcin Borkowski.

Revision 1.780 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 20 20:24:04 2007 UTC (5 years ago) by as
Branch: MAIN
Changes since 1.779: +2 -2 lines
Diff to previous 1.779
(MergeRevisions): Put the texts in double quotes in order to
support translations containing spaces.

Revision 1.779 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 20 18:14:50 2007 UTC (5 years ago) by as
Branch: MAIN
Changes since 1.778: +7 -4 lines
Diff to previous 1.778
(DoContributors): Rewrite to avoid garbage entries.

Revision 1.778 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 8 23:06:49 2007 UTC (5 years, 1 month ago) by as
Branch: MAIN
Changes since 1.777: +2 -2 lines
Diff to previous 1.777
(BrowsePage): Use the page timestamp as the Etag for raw
page browsing.

Revision 1.777 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 3 17:29:44 2007 UTC (5 years, 1 month ago) by as
Branch: MAIN
Changes since 1.776: +6 -6 lines
Diff to previous 1.776
Put the error messages on the surrounding p element, and add one,
if it does not already exist.

Revision 1.776 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 3 17:07:10 2007 UTC (5 years, 1 month ago) by as
Branch: MAIN
Changes since 1.775: +6 -6 lines
Diff to previous 1.775
(ApplyRules, RSS): Add error class to error messages.

Revision 1.775 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 2 19:43:21 2007 UTC (5 years, 1 month ago) by as
Branch: MAIN
Changes since 1.774: +2 -2 lines
Diff to previous 1.774
(GetSummary): Fix double HTML quoting for default texts.

Revision 1.774 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 11 03:45:56 2007 UTC (5 years, 2 months ago) by fletcherpenney
Branch: MAIN
Changes since 1.773: +2 -2 lines
Diff to previous 1.773
(BrowsePage): Add FreeToNormal() when checking whether page is a cluster

Revision 1.773 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 19 18:57:09 2007 UTC (5 years, 2 months ago) by as
Branch: MAIN
Changes since 1.772: +2 -3 lines
Diff to previous 1.772
(BannedContent): Ignore malformed regular expressions in
on the page.

Revision 1.772 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 19 18:49:55 2007 UTC (5 years, 2 months ago) by as
Branch: MAIN
Changes since 1.771: +4 -2 lines
Diff to previous 1.771
(BannedContent): Ignore malformed regular expressions in
on the page.

Revision 1.771 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 31 08:16:06 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.770: +32 -32 lines
Diff to previous 1.770
(InitCookie, PrintWikiToHTML, PrintAllPages)
(BrowseResolvedPage, GetRcLines, GetRc, GetRcRss)
(DoContributors, DoRollback, GetFooterLinks, GetCommentForm)
(OpenPage, UserCanEdit, BannedContent, PrintSearchResult)
(DoPost, GetSummary, GetCluster, DoMaintain, ReadRecentVisitors):
Add /o to m//, s///, grep, and split calls where appropriate.

Revision 1.770 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 30 22:10:04 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.769: +2 -2 lines
Diff to previous 1.769
(PrintFooter): Cannot minimize div.

Revision 1.769 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 30 22:06:27 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.768: +4 -3 lines
Diff to previous 1.768
(PrintFooter): Cannot minimize div.

Revision 1.768 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 30 20:58:26 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.767: +5 -6 lines
Diff to previous 1.767
(GetHeader): Put all the content into a div.wrapper.
(PrintFooter): Put a div.close at the end of the content, and
close div.wrapper.

Revision 1.767 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 26 22:17:16 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.766: +2 -2 lines
Diff to previous 1.766
(DoContributors): Add div.

Revision 1.766 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 20 01:18:39 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.765: +2 -2 lines
Diff to previous 1.765
(GetTextAtTime): Don't take major revisions into account if they
are older than the timestamp.

Revision 1.765 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 20 00:51:26 2007 UTC (5 years, 3 months ago) by as
Branch: MAIN
Changes since 1.764: +4 -3 lines
Diff to previous 1.764
(GetTextAtTime): Make sure we note any major revision
between now and the target timestamp.
(DoPost): Ignore second return value of GetTextAtTime.

Revision 1.764 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 15 13:19:48 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.763: +2 -2 lines
Diff to previous 1.763
(DoEdit): Add an extra closing div.

Revision 1.763 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 14 16:21:24 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.762: +2 -2 lines
Diff to previous 1.762
(BannedContent): Fix whitespace-handling in regexp parsing.

Revision 1.762 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 14 16:05:35 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.761: +5 -7 lines
Diff to previous 1.761
(BannedContent, DoPost): Move message "See ... for more
information" from DoPost to BannedContent, so that strange-spam.pl
can provide a different link target.

(BannedContent): Extract banned content comment and
display it, if possible.

Revision 1.761 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 14 13:43:06 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.760: +6 -8 lines
Diff to previous 1.760
(BannedContent): Extract banned content comment and
display it, if possible.

Revision 1.760 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 12 02:00:44 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.759: +2 -2 lines
Diff to previous 1.759
updated copyright year

Revision 1.759 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 12 01:33:15 2007 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.758: +62 -58 lines
Diff to previous 1.758
(GetRcLines, GetRc, GetRcHtml, GetRcText, GetRcRss):
Changed $pagename to $id and $timestamp to $ts.
(GetOldPageLink, GetRcRss): Pass $last to GetPageParameters.
(GetPageParameters): Don't add revision parameter if $last.
(GetRcRss, GetRcText, GetRcHtml): Accept $last for printRCLine sub.
(BrowseRc): Pass $RCName along.
(GetRcLines): Fix off-by one error. Count down from $#fullrc
instead of @fullrc.
(GetRc): No longer pass an undefined revision to &$printRCLine;
instead, pass the changetime as an additional $last parameter.
(GetRcHtml): Add logic using $rollback_was_possible and
$rollback_is_possible to add a last rollback link to the entry
after the last one within the timewindow. In calls to
GetOldPageLink and ScriptLinkDiff, make the test by comparing
$last to $timestamp when $all is set.
(RollbackPossible): If $ts is $LastUpdate, no rollback is possible
-- these are the last changes.

Revision 1.758 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 22 15:39:19 2006 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.757: +4 -5 lines
Diff to previous 1.757
(PrintRc): Changed RCName printing to avoid "All changes
for RecentChanges".

Revision 1.757 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 21 17:54:26 2006 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.756: +4 -4 lines
Diff to previous 1.756
(GetHistoryLink): Pass anchor=0 along to the history
page if necessary.

Revision 1.756 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 21 17:49:10 2006 UTC (5 years, 4 months ago) by as
Branch: MAIN
Changes since 1.755: +4 -2 lines
Diff to previous 1.755
(GetHistoryLink): Pass anchor=0 along to the history
page if necessary.

Revision 1.755 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 21 21:35:35 2006 UTC (5 years, 6 months ago) by as
Branch: MAIN
Changes since 1.754: +3 -2 lines
Diff to previous 1.754
(ReportError): Write lock before releasing the locks and
define $q if it is not defined so we can report errors before
InitRequest, as suggested by Péter Szabó.

Revision 1.754 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 11 12:23:20 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.753: +3 -3 lines
Diff to previous 1.753
Whitespace change.

Revision 1.753 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 11 11:14:44 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.752: +3 -3 lines
Diff to previous 1.752
(DoJournal): Pass search parameter along to
PrintJournal.
(PrintJournal): Pass search parameter along to "More..." link.

Revision 1.752 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 10 10:36:01 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.751: +4 -4 lines
Diff to previous 1.751
Saved a few bytes by removing extra spaces at the end of lines. ;)

Revision 1.751 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 10 01:22:24 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.750: +46 -59 lines
Diff to previous 1.750
(InitVariables, ReInit): Reorganized initialization.
Functions get called in ReInit, and the various $*Init variables
were removed.
(RssInterwikiTranslateInit, NearInit, InterInit, AllPagesList):
Get rid of $*Init variables.
(AllPagesList): Move the reading of all existing pages inside the
lock to prevent race conditions.
(Save): Make sure to use the same timestamp for all variables.
(GetPermanentAnchor): Reread the file inside the lock to prevent
race conditions.

Revision 1.750 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 8 12:57:58 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.749: +2 -2 lines
Diff to previous 1.749
(RSS): Eliminate unused variable $counter.

Revision 1.749 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 8 00:24:54 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.748: +20 -19 lines
Diff to previous 1.748
(DelayRequired): Simplified.
(GetLanguages): Simplified.
(ParseData): Hand-written to optimize for speed. By getting rid of
some regular expressions used for parsing, the code is now more
than 10x faster. This is important for default searching, and for
indexed search using double-quotes.

Revision 1.748 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 7 12:29:06 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.747: +33 -22 lines
Diff to previous 1.747
(ApplyRules, PrintJournal): Add past and future
keywords.
(PrintJournal): Removed comment with journal metadata because the
attempt to write an AJAX "more" implementation for journals using
journal.js has been abandoned.
($Today): New option.
(JournalSort): Add one-liner explicitly so that we don't need to
test using defined later.
(GetSummary): Fix code that added " . . . " to summaries that are
being cut off.
(AddRecentVisitor): Simplified.

Revision 1.747 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 5 23:23:43 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.746: +2 -2 lines
Diff to previous 1.746
(PrintJournal): Use action=more.

Revision 1.746 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 5 23:16:10 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.745: +2 -2 lines
Diff to previous 1.745
Use 'more' instead of 'journal'.

Revision 1.745 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 5 22:58:10 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.744: +14 -5 lines
Diff to previous 1.744
(%Action): Added journal.
(DoJournal): New, calls PrintJournal.
(PrintJournal): Addd "More..." link if appropriate. No longer
print horizontal lines before pages.

Revision 1.744 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 1 15:45:47 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.743: +2 -2 lines
Diff to previous 1.743
(DoPost): Only check mime type when one was provided.

Revision 1.743 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 1 08:25:23 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.742: +11 -11 lines
Diff to previous 1.742
(DoPost): Rearranged tests such that MIME type is tested
even when uploading a file via text posting.

Revision 1.742 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 30 20:09:19 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.741: +7 -5 lines
Diff to previous 1.741
(DoCss): Report missing LWP::UserAgent or wrong URL.
(GetCommentForm): Pass comment parameter to UserCanEdit();
(UserCanEdit): New comment parameter, enable $EditAllowed = 3.

Revision 1.741 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 30 18:03:25 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.740: +5 -2 lines
Diff to previous 1.740
(DoCss): Report missing LWP::UserAgent or wrong URL.

Revision 1.740 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 27 20:15:34 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.739: +25 -24 lines
Diff to previous 1.739
(DoEdit, GetEditForm): Moved code from DoEdit into the
new GetEditForm, which returns a string that can be modified by
wrapper code.

Revision 1.739 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 22 23:34:53 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.738: +2 -2 lines
Diff to previous 1.738
(GetSummary): Fix aftertext modifies summary.

Revision 1.738 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 22:43:43 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.737: +10 -8 lines
Diff to previous 1.737
(QuoteHtml): Replace control characters with space.
(PageHtml): Print diff if possible, even if the page itself is too
large.
(GetRcRss): Conditionalize some prints to avoid empty elements.
(TimeToRFC822): Rewrote to not use sprintf such as to avoid
localized names.

Revision 1.737 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 18:27:13 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.736: +4 -2 lines
Diff to previous 1.736
(PageHtml): At least return the diff if small enough.

Revision 1.736 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 17:43:08 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.735: +2 -2 lines
Diff to previous 1.735
(GetCommentForm): Don't show comment form when the
comment page is locked.

Revision 1.735 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 19 21:02:01 2006 UTC (5 years, 7 months ago) by as
Branch: MAIN
Changes since 1.734: +5 -8 lines
Diff to previous 1.734
(GetRcRss): Use cc for the creative commons namespace.
(ReportError): Don't return non-zero so that FCGI does not warn
about abnormal exit.

Revision 1.734 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 10 23:01:14 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.733: +4 -4 lines
Diff to previous 1.733
(GetRcRss): Undo change regarding page and diff parameters.
(InitVariables): Add $RsExclude to %AdminPages.
(PrintPageDiff): Print hr only if pages will follow.

Revision 1.733 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 10 22:50:31 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.732: +13 -12 lines
Diff to previous 1.732
(PrintPageHtml): Allow skipping using page=0.
(GetRcRss): Call PageHtml if one of full, page, or diff is set.
(GetRcRss): Cosmetics.

Revision 1.732 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 1 23:45:44 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.731: +2 -2 lines
Diff to previous 1.731
(GetInterSiteUrl): Don't quote slashes.

Revision 1.731 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 31 18:18:38 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.730: +6 -5 lines
Diff to previous 1.730
(GetId): If no id parameter was given, use the title
parameter.
(DoBrowseRequest): If a title parameter was given, but the Cancel
button was used, don't call DoPost().
(DoEdit): Add a Cancel button.

Revision 1.730 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 30 13:39:56 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.729: +5 -8 lines
Diff to previous 1.729
(RcHeader, GetFilterForm, GetRc): Revert previous unplanned
change: Use match instead of rcmatch.

Revision 1.729 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 30 01:22:57 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.728: +2 -2 lines
Diff to previous 1.728
(PrintRc): Fix mispatch.

Revision 1.728 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 30 00:51:08 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.727: +19 -10 lines
Diff to previous 1.727
(BrowsePage): Moved some code into PrintRc.
(BrowseRc): Use PrintRc as well.
(PrintRc): New.

Revision 1.727 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 30 00:42:30 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.726: +48 -72 lines
Diff to previous 1.726
(PrintAllPages, GetPageOrEditLink, GetPageLink)
(GetEditLink, GetDownloadLink, GetRcText, GetRcRss, )
(DoAdminPage, GetOldPageLink, GetSearchLink, GetAuthorLink)
(GetHeader, DoEdit, PrintPage, SearchTitleAndBody)
(SearchNearPages, PrintSearchResultEntry, GetPermanentAnchor): Use
NormalToFree instead of s/_/ /g.
(NormalToFree): New.

(UserIsEditor, UserIsAdmin): Simplify.
(UserIsEditorOrError): Use ReportError.

(DoRollback): Require a username (because of bots disregarding
robot instructions).
(DoHistory, GetHistoryLine): Make sure that you need either a
password or a username to see rollback links.

Revision 1.726 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 18 16:14:28 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.725: +4 -5 lines
Diff to previous 1.725
(GetSummary): Don't truncate the real summary!

Revision 1.725 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 18 12:17:53 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.724: +2 -2 lines
Diff to previous 1.724
(DoRc): Fix boolean operation.

Revision 1.724 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 18 11:57:37 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.723: +7 -11 lines
Diff to previous 1.723
(DoRollback): Check UserCanEdit before saving.
(UserCanEdit): Added test for sample undefined page.
(DoPost): Removed unnecessary tests, as these are caught by
UserCanEdit.

Revision 1.723 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 18 11:38:22 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.722: +2 -2 lines
Diff to previous 1.722
(ValidIdOrDie): Typo.

Revision 1.722 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 18 11:37:23 2006 UTC (5 years, 8 months ago) by as
Branch: MAIN
Changes since 1.721: +48 -54 lines
Diff to previous 1.721
($Counter): New variable for Fast::CGI info.
(InitVariables): Add counter if the script is being called
multiple times.
(RcHeader): Add view-rollback link.
(PrintAllPages, ValidIdOrDie, DoRandom): Simplified.
(DoRc, GetRcLines): Moved stripping of rollbacks from DoRc to
GetRcLines. Add parameter to GetRcLines.
(DoRollback): Add parameter to GetRcLines call in order to not
strip rollbacks. Fix bug which caused message printing at all
times.
(RcHeader, GetRc): Use rcmatch instead of match parameter.
(GetHistoryLink, GetRCLink): Use FreeToNormal.

Revision 1.721 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 17 14:05:32 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.720: +7 -6 lines
Diff to previous 1.720
(PrintHtmlDiff): Translate diff fragments such as
added/changed/deleted.
(ImproveDiff): No longer translate diff fragments here.

Revision 1.720 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 17 12:59:13 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.719: +7 -5 lines
Diff to previous 1.719
(PrintHtmlDiff): Recompute the new text if requesting a
diff with disabled caching.

Revision 1.719 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 17 10:29:29 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.718: +9 -12 lines
Diff to previous 1.718
(PrintHtmlDiff): Changed logic when requesting no cache.

Revision 1.718 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 17 10:15:35 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.717: +17 -17 lines
Diff to previous 1.717
(PrintHtmlDiff): Fix variable names.

Revision 1.717 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 17 10:08:53 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.716: +28 -28 lines
Diff to previous 1.716
(DoRc): Allow rollback=1 to see rollbacks.
(DoRollback): Rollback to empty pages is allowed. Print message
when only one page is to be rolled back and the two revisions are
the same.
(PrintHtmlDiff): Change messages used when displaying the diff.
Get rid of oldmajor. Show link to later minor edits when showing
last major edit diff.
(GetDiff): Changed s///g to s///ge.
(ExpireKeepFiles): Get rid of oldmajor.
(Save): Pass old diff on to UpdateDiffs. Get rid of oldmajor. Only
call UpdateDiffs if UseCache > 1.
(UpdateDiffs): Simplify. Get rid of oldmajor.

Revision 1.716 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 15 15:24:02 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.715: +7 -6 lines
Diff to previous 1.715
(UpdateDiffs): Fix minor/major edit diffs.

Revision 1.715 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 15 09:05:36 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.714: +10 -10 lines
Diff to previous 1.714
(DoRollback): If an id is provided, don't check
the time window: Just roll back as far as possible.
(GetTextAtTime): Return a timestamp if no perfect match is found.

Revision 1.714 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 15 01:52:19 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.713: +2 -2 lines
Diff to previous 1.713
(DoRc): Fix another off-by-one error when skipping rollbacks.

Revision 1.713 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 15 00:01:01 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.712: +10 -7 lines
Diff to previous 1.712
(DoRollback): Only leave marker when doing mass rollback.

Revision 1.712 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:55:38 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.711: +3 -3 lines
Diff to previous 1.711
(DoRc): More rollback fixes.

Revision 1.711 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:53:06 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.710: +2 -2 lines
Diff to previous 1.710
(DoRc): More rollback fixes.

Revision 1.710 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:51:29 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.709: +2 -2 lines
Diff to previous 1.709
(DoRc): More rollback fixes.

Revision 1.709 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:49:54 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.708: +2 -2 lines
Diff to previous 1.708
(DoRc): More rollback fixes.

Revision 1.708 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:41:29 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.707: +7 -2 lines
Diff to previous 1.707
(DoRc): Splice [[rollback]] marker, too.

Revision 1.707 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:29:27 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.706: +2 -2 lines
Diff to previous 1.706
(DoRollback): Only admins can do mass rollback, but every user can
do single rollbacks. Link to pages in the listing.

Revision 1.706 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:27:54 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.705: +2 -2 lines
Diff to previous 1.705
(DoRollback): Only admins can do mass rollback, but every user can
do single rollbacks.

Revision 1.705 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 23:21:35 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.704: +3 -4 lines
Diff to previous 1.704
(DoContributors): Fix bug, allow no page id at all.

Revision 1.704 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 20:53:35 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.703: +3 -3 lines
Diff to previous 1.703
(DoContributors): List unique usernames only.

Revision 1.703 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 19:43:06 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.702: +19 -11 lines
Diff to previous 1.702
New contrib action.
(DoContributors): New.
(GetFooterLinks): Added appropriate link to contrib action.

Revision 1.702 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 13 23:45:12 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.701: +2 -2 lines
Diff to previous 1.701
(DoCss): No need to URL encode the URLs in @CssList.

Revision 1.701 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 13 22:36:29 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.700: +8 -7 lines
Diff to previous 1.700
(GetDownloadLink): Allow to retrieve download URL only.
(GetHeader): Renamed variable for alt text. Use pagename as
$LogoUrl if possible.
(DeletePage): Use ValidIdOrDie to check $id.

Revision 1.700 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 13 00:38:45 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.699: +11 -5 lines
Diff to previous 1.699
(DoHistory): Pass timestamp reference to GetHistoryLine.
(GetHistoryLine): Use timestamp reference to group entries by day.

Revision 1.699 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 13 00:08:12 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.698: +3 -2 lines
Diff to previous 1.698
(DoHistory): Offer page delete link only if a revision exists to
be deleted.

Revision 1.698 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 23:43:58 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.697: +5 -6 lines
Diff to previous 1.697
(DoRollback): Reorder error messages. Fix test for ids.

Revision 1.697 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 23:23:23 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.696: +4 -4 lines
Diff to previous 1.696
(DoRc): Fix off-by-one error, again.
(GetRcLines, DoRollback): Fix off-by-one error as well.

Revision 1.696 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 23:15:05 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.695: +7 -7 lines
Diff to previous 1.695
(PageDeletable, DoMaintain, DoEdit, ExpireKeepFiles, DoRollback)
(RollbackPossible): Replaced 24*60*60 with 86400 and 60*60 with
3600.

Revision 1.695 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 23:07:47 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.694: +4 -3 lines
Diff to previous 1.694
(DoRc): Fix test for existing changes.
(GetHistoryLine): Report missing other revisions instead of
showing the fake "revision 0" entry. Add whitespace.

Revision 1.694 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 19:51:50 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.693: +57 -66 lines
Diff to previous 1.693
(DoRc): Moved RC file reading into new function called GetRcLines.
(GetRcLines): New. No longer generate warnings when reading empty
rc files (as is usual when creating a new wiki).
(DoRollback): Optimize by calling GetRcLines and parsing the
result instead of checking all pages. Allow rollback of single
pages.
(DoHistory): Pass new parameter to GetHistoryLine. Add link to
delete current page at the bottom.
(GetHistoryLine): Accept new parameter, and add rollback links
when appropriate.

(GetRcHtml): Simplify translation handling.
(DoEdit): Changed text of the file/text replacement link at the
bottom. Did this for all translation files, too!

(DoPost, PageDeletable): Don't treat $DeletedPage like a regular
expression.

Revision 1.693 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 02:35:05 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.692: +12 -3 lines
Diff to previous 1.692
(GetSummary): Fixed summary post-processing.
(DoRc): Remove rc lines of rolled back changes.
(DoRollback): Leave marker for DoRc.

Revision 1.692 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 01:34:26 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.691: +5 -5 lines
Diff to previous 1.691
(GetSummary): Fixed summary post-processing so that [URL
text] really does get replaced by text.
(GetRc): Fix clusters in recent changes.

Revision 1.691 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 01:03:39 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.690: +4 -6 lines
Diff to previous 1.690
(GetSummary): Fixed summary post-processing so that [URL
text] really does get replaced by text.

Revision 1.690 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 10 10:31:04 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.689: +2 -2 lines
Diff to previous 1.689
(PrintFooter): No longer protect the call to PrintMyContent.
Instead, test whether it is defined before calling it.

Revision 1.689 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 10 09:10:50 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.688: +3 -3 lines
Diff to previous 1.688
(InitConfig): Don't test for existing config file if it
was already loaded.
(InitRequest): Only get a new CGI object if we don't have one
already. Does this break mod_perl?

Revision 1.688 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 9 15:16:17 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.687: +15 -19 lines
Diff to previous 1.687
(DiffMarkWords, DiffHtmlMarkWords): Changed how
highlighting works. Should be much robuster now, and no longer
suffer from strange off-by-one errors.

Revision 1.687 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 6 23:20:34 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.686: +2 -2 lines
Diff to previous 1.686
(SmileyReplace): HTML Unquote alt text of smilies.

Revision 1.686 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 6 13:04:16 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.685: +2 -2 lines
Diff to previous 1.685
(GetUrl): Typo.

Revision 1.685 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 6 11:43:46 2006 UTC (5 years, 9 months ago) by as
Branch: MAIN
Changes since 1.684: +21 -19 lines
Diff to previous 1.684
(GetUrl): Add URL protocol as class.
(GetPageLink): Add class parameter.
(DoAdminPage): Add class to all menu entries.
(GetFooterLinks): Add class to the links.

Revision 1.684 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 15 22:29:54 2006 UTC (5 years, 10 months ago) by as
Branch: MAIN
Changes since 1.683: +4 -4 lines
Diff to previous 1.683
(InitVariables, DoAdminPage): Replaced @AdminPages with
%AdminPages.

Revision 1.683 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 15 22:19:40 2006 UTC (5 years, 10 months ago) by as
Branch: MAIN
Changes since 1.682: +7 -7 lines
Diff to previous 1.682
(InitVariables, UserCanEdit, DoPost, Save): Replaced
@LockOnCreation with %LockOnCreation.

Revision 1.682 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 2 09:12:46 2006 UTC (5 years, 10 months ago) by as
Branch: MAIN
Changes since 1.681: +2 -2 lines
Diff to previous 1.681
(DoMaintain): Fix freshness check for RSS files.

Revision 1.681 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 23 06:38:14 2006 UTC (5 years, 10 months ago) by as
Branch: MAIN
Changes since 1.680: +2 -2 lines
Diff to previous 1.680
(PermanentAnchorsInit): Initialize %PermanentAnchors,
too.

Revision 1.680 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 19:22:14 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.679: +2 -2 lines
Diff to previous 1.679
(PrintAllPages): Bugfix resulting in up to $JournalLimit page entries
with empty id.

Revision 1.679 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 12:11:20 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.678: +3 -2 lines
Diff to previous 1.678
(PrintAllPages): Don't use $JournalLimit for admins.

Revision 1.678 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 12:05:34 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.677: +6 -3 lines
Diff to previous 1.677
($JournalLimit): New option.
(PrintAllPages): Use it.

Revision 1.677 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 10:06:43 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.676: +3 -1 lines
Diff to previous 1.676
(DoClearCache): Reidentify languages.

Revision 1.676 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 13 19:15:21 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.675: +3 -3 lines
Diff to previous 1.675
(ApplyRules): Allow "0" as page text.
(ApplyRules): Make search pattern in <journal> less greedy.

Revision 1.675 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 12 19:54:21 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.674: +20 -27 lines
Diff to previous 1.674
(UrlEncode): Simplify using a hash instead of a list to
avoid grepping through the same list repeatedly.
(GetRc): Simplify use of rcfilteronly parameter and rcclusteronly
using a hash as above.
(GetRcRss): Simplify excluding of pages using a hash as above.
(DoDownload, DoPost): Simplify test for allowed MIME types using a
hash as above.
(SearchNearPages): Simplify using a hash as above.

Revision 1.674 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 23:03:18 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.673: +3 -3 lines
Diff to previous 1.673
(SearchTitleAndBody): Search MIME type of uploaded
files, too.

Revision 1.673 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 22:31:46 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.672: +20 -20 lines
Diff to previous 1.672
(DoClearCache): Touch index file after clearing the
cache.
(SearchTitleAndBody): Allow searching of page titles for uploaded
files.
(PrintSearchResult): If an uploaded file is part of the result,
print it. Do away with the ^#FILE speciality.

Revision 1.672 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 18:10:02 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.671: +5 -5 lines
Diff to previous 1.671
(ApplyRules, PrintJournal): Extend journal tag with
search.

Revision 1.671 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 9 07:45:27 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.670: +3 -3 lines
Diff to previous 1.670
(DoClearCache): Changed GetHttpHeader to GetHeader,
thanks to Ingo Belka for spotting it.

Revision 1.670 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 22:05:07 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.669: +2 -2 lines
Diff to previous 1.669
(SearchTitleAndBody): Concatenate title and body and
call SearchString once instead of once for each.

Revision 1.669 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 21:42:31 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.668: +2 -2 lines
Diff to previous 1.668
(GetSearchLink): Add double-quotes around title so that titles
with spaces in them will be searched correctly.

Revision 1.668 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 21:16:06 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.667: +25 -47 lines
Diff to previous 1.667
(DoClearCache): Add real HTML output instead of
plain/text.
(SearchString): Get rid of 'and' and 'or', instead use double
quotes to check for phrases.
(DoSearch, DoMaintain, DoShowVersion, DoSurgeProtection): Trim
some space.

Revision 1.667 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 7 23:09:57 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.666: +57 -51 lines
Diff to previous 1.666
($Monolithic, DoPrintAllPages): Removed all action.
(ScriptLink): Got rid of $Monolithic.
(DoClearCache): Added clear action.
(DoAdminPage): Added clear action to menu.
(QuoteRegexp): New.
(GetSearchLink): Use it.
(DoSearch, DoEditLock, DoPageLock): Print error before printing
the header.

Revision 1.666 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 19:32:56 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.665: +5 -5 lines
Diff to previous 1.665
($BracketWiki): Default to 1.

Revision 1.665 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 5 00:12:57 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.664: +3 -3 lines
Diff to previous 1.664
(ApplyRules): <search foo> no longer requires double quotes.

Revision 1.664 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 4 23:54:13 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.663: +8 -14 lines
Diff to previous 1.663
(GetOldPageLink, GetSearchLink, GetHistoryLink)
(GetRCLink): Removed test for $FreeLinks before translating space
to underline.

Revision 1.663 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 25 16:55:50 2006 UTC (5 years, 11 months ago) by lude
Branch: MAIN
Changes since 1.662: +2 -2 lines
Diff to previous 1.662
wiki.pl (InitModules): module names may contain a further dot

Revision 1.662 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 23 22:33:59 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.661: +2 -1 lines
Diff to previous 1.661
(ApplyRules): Localize $OpenPageName and %Page before
calling SearchTitleAndBody.

Revision 1.661 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 20 23:17:06 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.660: +2 -2 lines
Diff to previous 1.660
(ApplyRules): Make it so that <search "foo"> only works
at the beginning of the line.

Revision 1.660 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 20 16:20:10 2006 UTC (5 years, 11 months ago) by as
Branch: MAIN
Changes since 1.659: +4 -3 lines
Diff to previous 1.659
(ApplyRules): Save $_ while processing search and add
<p> after the search.

Revision 1.659 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 17 11:51:41 2006 UTC (6 years ago) by as
Branch: MAIN
Changes since 1.658: +4 -4 lines
Diff to previous 1.658
(GetRcRss): Removed two unnecessary QuoteHtml calls.
(GetInterLink): Add the site to the class.

Revision 1.658 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 14 22:39:37 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.657: +3 -3 lines
Diff to previous 1.657
(PrintJournal): Fix problem with missing last post if
less than ten pages were available.

Revision 1.657 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 2 21:47:30 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.656: +3 -2 lines
Diff to previous 1.656
(DoMaintain): Don't fetch files from near sites if the
files are less than 12h old.

Revision 1.656 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 29 20:17:25 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.655: +3 -3 lines
Diff to previous 1.655
(GetRcHtml): Two more CSS classes.

Revision 1.655 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 26 11:56:29 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.654: +4 -4 lines
Diff to previous 1.654
(ScriptLink): Don't URL-encode the name attribute.
(GetRcRss): Use $HttpCharset instead of UTF-8.
(GetHeader): URL-encode the homepage target.

Revision 1.654 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 25 23:12:32 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.653: +3 -3 lines
Diff to previous 1.653
(DoPost): Check summary for banned content, too.

Revision 1.653 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 22 22:12:04 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.652: +12 -15 lines
Diff to previous 1.652
(%Includes): New variable.
(ApplyRules): Use it to prevent loops when including local pages.
(DoEditLock, DoPageLock): Save some whitespace.

Revision 1.652 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 22 00:24:36 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.651: +3 -3 lines
Diff to previous 1.651
(InitDirConfig): Initialize it.
(OpenPage): Use it with absolute path.

Revision 1.651 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 22 00:04:06 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.650: +4 -3 lines
Diff to previous 1.650
($ReadMe): New option.
(OpenPage): Use it.

Revision 1.650 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 19 00:33:26 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.649: +4 -3 lines
Diff to previous 1.649
(GetDownloadLink): Convert underlines to spaces in the alt-text.
(PageIsUploadedFile): Make sure files are in fact skipped.

Revision 1.649 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 18 17:18:16 2006 UTC (6 years, 1 month ago) by as
Branch: MAIN
Changes since 1.648: +2 -2 lines
Diff to previous 1.648
(GetRcRss): Use GetPageParameters if all or a change in
the cluster, just as in GetRcHtml.

Revision 1.648 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 16 19:31:47 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.647: +2 -2 lines
Diff to previous 1.647
(GetRcRss): Use title parameter to title the RSS feed if
provided.

Revision 1.647 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 14 21:56:16 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.646: +7 -4 lines
Diff to previous 1.646
(PrintJournal): Handle offset parameter and comment.

Revision 1.646 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 11 20:04:41 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.645: +5 -5 lines
Diff to previous 1.645
(SearchResultCount): New.
(DoSearch): Use it.

Revision 1.645 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 2 00:52:02 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.644: +9 -7 lines
Diff to previous 1.644
(RequestLockDir): Fix message for existing locks.
(DeletePage): Remove keep directory, too.

Revision 1.644 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 25 18:28:23 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.643: +2 -2 lines
Diff to previous 1.643
(GetRaw): Only return content if the response is a
success.

Revision 1.643 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 20 23:32:05 2006 UTC (6 years, 2 months ago) by as
Branch: MAIN
Changes since 1.642: +15 -3 lines
Diff to previous 1.642
Don't load whole page when the page contains an
uploaded file that should be skipped anyway. This opens ordinary
pages twice, but that's ok.
(PageIsUploadedFile): New, with specialized file open.
(SearchTitleAndBody): Use it to skip files unless requested.

Revision 1.642 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 25 13:46:41 2006 UTC (6 years, 3 months ago) by as
Branch: MAIN
Changes since 1.641: +3 -4 lines
Diff to previous 1.641
(GetValidatorLink): Use referrer links for validation.

Revision 1.641 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 3 16:28:05 2006 UTC (6 years, 4 months ago) by lude
Branch: MAIN
Changes since 1.640: +3 -3 lines
Diff to previous 1.640
(InitModules): simplified pattern.
(DoEdit): Add default value to GetParam call. Result is now
defined and avoids a warning in the comparison.

Revision 1.640 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 28 23:48:36 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.639: +4 -2 lines
Diff to previous 1.639
(RequestLockDir): Print how long since the lock was
created.

Revision 1.639 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 27 00:02:32 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.638: +10 -8 lines
Diff to previous 1.638
(BannedContent): Fix parsing of rules.

Revision 1.638 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 22 20:18:13 2005 UTC (6 years, 4 months ago) by lude
Branch: MAIN
Changes since 1.637: +4 -3 lines
Diff to previous 1.637
(ResolveId): Return defined values.
(RSS, EncodePage): Initialize $date and $result to avoid warnings.

Revision 1.637 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 19 00:14:47 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.636: +27 -23 lines
Diff to previous 1.636
(GetFilterForm, GetCommentForm, GetSearchForm, DoEdit)
(DoIndex): Add labels.

Revision 1.636 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 18 19:11:39 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.635: +20 -10 lines
Diff to previous 1.635
(Init, InitModules, InitConfig): Moved some code from Init to the
new functions.
(InitRequest): Moved binmode call here.
(InitConfig): Hand coded GetPageContent, because this early $q is
not yet available.

Revision 1.635 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 18 14:28:59 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.634: +5 -4 lines
Diff to previous 1.634
(BannedContent, UserIsBanned): Changed parsing in order
to use http://www.usemod.com/cgi-bin/mb.pl?SharedAntiSpam.
(%PlainTextPages, InitVariables): New option.
(ApplyRules): Instead of hardcoding StyleSheetPage and ConfigPage,
use the new option to return the page as preformatted.
(UserIsBanned, BannedContent): Fix regular expressions.
(InitVariables): Make sure there's no empty string as a key for
%PlainTextPages.  This happens if $ConfigPage is not set, for
example.
(ApplyRules): Safety check: Make sure $OpenPageName is set before
using %PlainTextPages.

Revision 1.634 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 18 01:01:57 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.633: +14 -12 lines
Diff to previous 1.633
(BannedContent, UserIsBanned): Changed parsing in order
to use http://www.usemod.com/cgi-bin/mb.pl?SharedAntiSpam.
(%PlainTextPages, InitVariables): New option.
(ApplyRules): Instead of hardcoding StyleSheetPage and ConfigPage,
use the new option to return the page as preformatted.

Revision 1.633 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 17 18:13:10 2005 UTC (6 years, 4 months ago) by as
Branch: MAIN
Changes since 1.632: +6 -4 lines
Diff to previous 1.632
(BannedContent): Only check the URLs of the
page (ie. filter for $FullUrlPattern first).

Revision 1.629.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 11 20:09:12 2005 UTC (6 years, 5 months ago) by lude
Branch: warnings-and-taint-checking-branch
Changes since 1.629.2.2: +7 -4 lines
Diff to previous 1.629.2.2 , to branch point 1.629 , to next main 1.960
(InitVariables): Fixed warning if $LastUpdate is undefined
(ResolveId): Return list with empty values as fallback to avoid warnings
in functions which call ResolveId()
(DoRc): Initialize $ts to 0 to avoid warnings
(GetRc): restored part of comment which got lost
(EncodePage): Initialize $result to avoid warning when adding strings

Revision 1.629.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 11 18:41:00 2005 UTC (6 years, 5 months ago) by lude
Branch: warnings-and-taint-checking-branch
Changes since 1.629.2.1: +7 -5 lines
Diff to previous 1.629.2.1 , to branch point 1.629
(ValidId): Return when $id is undefined before doing a
replacement in order to not get a warning.
(InitVariables): Set $LastUpdate on every request and
reinitialize some variables in case the server runs several
mod_perl processes.

Revision 1.632 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 11 00:43:22 2005 UTC (6 years, 5 months ago) by as
Branch: MAIN
Changes since 1.631: +2 -2 lines
Diff to previous 1.631
(ValidId): Return when $id is undefined before doing a
replacement in order to not get a warning.

Revision 1.631 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 7 13:00:44 2005 UTC (6 years, 5 months ago) by as
Branch: MAIN
Changes since 1.630: +30 -42 lines
Diff to previous 1.630
(DoPageLock): No longer print a separate error if the id
parameter is missing.  Rely on ValidIdOrDie instead.
(DoPost, ValidId): Refactor.

Revision 1.630 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 6 15:37:09 2005 UTC (6 years, 5 months ago) by as
Branch: MAIN
Changes since 1.629: +4 -2 lines
Diff to previous 1.629
(InitVariables): Set $LastUpdate on every request and
reinitialize some variables in case the server runs several
mod_perl processes.

Revision 1.629.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 4 10:31:47 2005 UTC (6 years, 5 months ago) by as
Branch: warnings-and-taint-checking-branch
Changes since 1.629: +81 -91 lines
Diff to previous 1.629
unfinished move to get -wT working

Revision 1.629 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 16:46:37 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
CVS Tags: root-of-warnings-and-taint-checking
Branch point for: warnings-and-taint-checking-branch
Changes since 1.628: +2 -2 lines
Diff to previous 1.628
(GetFooterTimestamp): Don't show diff link for new pages
as suggested by Aaron Hawley.

Revision 1.628 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 21:10:01 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.627: +2 -2 lines
Diff to previous 1.627
(PageDeletable): Empty pages should be deleted, but
usually they contain exactly one newline.  All pages consisting of
whitespace only shall now be deletable.

Revision 1.627 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 08:07:03 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.626: +2 -2 lines
Diff to previous 1.626
(ReInit): Small style change.

Revision 1.626 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 07:55:25 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.625: +2 -1 lines
Diff to previous 1.625
(ReInit): Reset $PermanentAnchorsInit if forced.

Revision 1.625 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 27 22:00:28 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.624: +17 -5 lines
Diff to previous 1.624
(ReInit): New.
(Save): Use it.
(DeletePage): Use it, and fix IndexHash and IndexList.

Revision 1.624 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 26 18:11:41 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.623: +2 -2 lines
Diff to previous 1.623
(DoEdit): Added p hotkey for preview at Perry
Nguyen's suggestion.

Revision 1.623 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 26 18:06:19 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.622: +2 -2 lines
Diff to previous 1.622
(GetCommentForm): Added p hotkey for preview at Perry
Nguyen's suggestion.

Revision 1.622 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 22 14:28:38 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.621: +2 -2 lines
Diff to previous 1.621
(Replace): Rewrote replacement such as to solve quoting issues.

Revision 1.621 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 22 12:25:19 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.620: +2 -2 lines
Diff to previous 1.620
(DoSearch): When replacing, quote metacharacters in the
replacement text before searching for the replacement.

Revision 1.620 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 22 00:43:35 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.619: +2 -2 lines
Diff to previous 1.619
(PrintHtmlDiff): Don't use $revNew-1 as the default for
the old revision if no new revision was specified, as suggested by
Markus Lude on the wiki.

Revision 1.619 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 21 08:18:19 2005 UTC (6 years, 6 months ago) by as
Branch: MAIN
Changes since 1.618: +2 -2 lines
Diff to previous 1.618
(BrowseResolvedPage): Visiting non-existing comment
pages is ok, even if $NotFoundPg is set.

Revision 1.618 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 23:58:13 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.617: +2 -2 lines
Diff to previous 1.617
(GetFormStart): Use start_multipart_form instead of
start_form, because CGI.pm 3.04 does not default to the correct
encoding for forms.

Revision 1.617 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 23:12:08 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.616: +2 -2 lines
Diff to previous 1.616
(GetSummary): Only limit to default length after stripping URLs.

Revision 1.616 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 23:09:32 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.615: +2 -1 lines
Diff to previous 1.615
(GetSummary): Strip [URL text] from default summaries.

Revision 1.615 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 22:35:34 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.614: +4 -3 lines
Diff to previous 1.614
(ApplyRules): Add HTML entities to the default rules.
(QuoteHtml): No longer unescape HTML entities.

Revision 1.614 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 11 21:27:42 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.613: +2 -2 lines
Diff to previous 1.613
(QuoteHtml): Make regexp stricter such as not to break the
markdown module.

Revision 1.613 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 10 23:28:06 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.612: +2 -2 lines
Diff to previous 1.612
(PageDeletable): Reverse order of statements such that
empty pages can be deleted.

Revision 1.612 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 23:44:54 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.611: +12 -12 lines
Diff to previous 1.611
(InitVariables): Reorder calls so that $InterMap gets
translated before it is read.

Revision 1.611 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 17:11:04 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.610: +6 -6 lines
Diff to previous 1.610
(ApplyRules): Test for $OpenPageName before comparing it
with $StyleSheetPage or $ConfigPage.
(Cookie): Just encode $FS since both keys and values are already
encoded in CookieData.

Revision 1.610 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 23:07:12 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.609: +3 -3 lines
Diff to previous 1.609
(ApplyRules): Close HTML environments before printing
anything on pages containing files.

Revision 1.609 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 15:04:14 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.608: +2 -20 lines
Diff to previous 1.608
(handler): Removed mod_perl handling code.

Revision 1.608 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 12:59:11 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.607: +11 -11 lines
Diff to previous 1.607
($SummaryDefaultLength): New option as suggested by "ch"
on the wiki, default to 150 instead of hard-coding 100.
(GetSummary): Use it.
(GetFormStart): No longer support the first parameter, encoding.
Use the default provided by CGI.pm always.  Providing an encoding
used to confuse newer versions of CGI.pm, resulting in invalid
XHTML.
(GetSearchForm, DoEdit): Fix call to GetFormStart.

Revision 1.607 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 22:01:19 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.606: +7 -7 lines
Diff to previous 1.606
Switch to Apache2 and mod_perl2 support!
(handler): Don't call Apache->request($r).  Use
Apache2::Const::OK.

Revision 1.606 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 21:00:44 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.605: +10 -4 lines
Diff to previous 1.605
(@CssList): Added more URLs.

Revision 1.605 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 20:46:06 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.604: +8 -8 lines
Diff to previous 1.604
(@CssList): New.
(DoCss): Use it.

Revision 1.604 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 20:38:12 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.603: +80 -115 lines
Diff to previous 1.603
($InterSiteInit): Renamed to $InterInit.
($NearSiteInit): Renamed to NearInit.

(InitVariables): No longer initialize $InterSiteInit, %InterSite,
$NearSiteInit, %NearSite, %NearSearch, %NearSource, $IndexInit,
$RssInterwikiTranslateInit, %PagePermanentAnchors,
%RssInterwikiTranslate.  Instead, call AllPagesList, NearInit,
PermanentAnchorsInit, and move CreateDir before the call to
AllPagesList.
(RSS): Don't test for $RssInterwikiTranslateInit before calling
RssInterwikiTranslateInit.
(RssInterwikiTranslateInit, NearInit): Return if already
initialized.  Do the reset of global variables here.
(InterInit, PermanentAnchorsInit): Ditto.
(GetDownloadLink, ResolveId, OpenPage): Don't call AllPagesList.
(GetPageContent): Ditto.
(ResolveId, DoIndex, DeletePermanentAnchors): Don't call
ReadPermanentAnchors.
(ResolveId, GetSisterSites, DoIndex): Don't call NearInit.
(DoSearch, SearchNearPages, $RssInterwikiTranslateInit): Ditto.
(DoShowVersion): Ditto.
(Save): Reset $IndexInit, $NearInit, $InterInit, and
$RssInterwikiTranslateInit.

($StyleSheetPage): Default value 'css'.
(DoCss): New.
(%Action): Added css action.
(GetCss): Use the mime-type parameter and separate action if
StyleSheetPage exists instead of inlining.
(DoAdminPage): Add css action.

(GetHeader): Add logo class to link.

(ApplyRules): Don't call NearInit.  Print $StyleSheetPage and
$ConfigPage in a pre tag.

Revision 1.603 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 28 19:50:18 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.602: +3 -3 lines
Diff to previous 1.602
(Init): Call InitCookie before calling InitVariables.

Revision 1.602 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 28 19:14:05 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.601: +2 -2 lines
Diff to previous 1.601
(BrowsePage): When the page consists of one clean block
only, $Page{flags} is '0', so testing for it yields false.  This
caused pages consisting of a single clean block to not be cached.
At the same time, there should always be flags when $Page{blocks}
is arround, so the test was simply removed.

Revision 1.601 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 26 18:31:53 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.600: +3 -3 lines
Diff to previous 1.600
(GetRcHtml): Correctly initialize variables.

Revision 1.600 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 23:48:44 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.599: +6 -8 lines
Diff to previous 1.599
(GetSummary): UnquoteHtml.
(GetHttpHeader): Introduced mime-type parameter.
(DoEdit): UnquoteHtml for the summary.

Revision 1.599 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 21:41:40 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.598: +4 -4 lines
Diff to previous 1.598
(DoPost): Unquote text and aftertext parameters.

Revision 1.598 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 19:16:23 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.597: +4 -4 lines
Diff to previous 1.597
(QuoteHtml, UnquoteHtml): Do not shortcut.

Revision 1.597 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 18:52:18 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.596: +3 -3 lines
Diff to previous 1.596
(GetParam): Quote HTML after determining the default value.

Revision 1.596 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 16:11:52 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.595: +22 -16 lines
Diff to previous 1.595
(DoPost): Creating empty pages still results in a 400
Bad Request error, but saving no changes will result in a 200 Ok.
(%RulesOrder): Initialize correctly.
(ReportError): QuoteHmlt (maybe not necessary?)
(Init): Copy $lib in order to untaint.
(GetParam): HtmlQuote all parameters!  <-- major change.
(QuoteHtml, UnquoteHtml): Return immediately if $html is empty.
(BrowseResolvedPage): Test for undefined $class before comparing.
(RcHeader): Initialize $action.
(GetRc): No revision for the lastet revision shown for all=1.
(GetRcHtml): Inizialize $html and $inlist.  Also make sure other
variables are set to the empty string instead of being
uninitialized.
(GetRcRss): Remove extra my $username.

Revision 1.595 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 13:52:05 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.594: +2 -2 lines
Diff to previous 1.594
fix typo

Revision 1.594 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 25 13:49:11 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.593: +6 -4 lines
Diff to previous 1.593
(DoPost): Creating empty pages still results in a 400
Bad Request error, but saving no changes will result in a 200 Ok.

Revision 1.593 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 24 10:08:38 2005 UTC (6 years, 7 months ago) by as
Branch: MAIN
Changes since 1.592: +4 -5 lines
Diff to previous 1.592
(DoSearch): Added p.result and p.links for div.search.

Revision 1.592 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 4 17:50:22 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.591: +2 -2 lines
Diff to previous 1.591
(InitLinkPatterns): Small change to $InterLinkPattern as
suggested by Markus Lude.

Revision 1.591 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 2 12:04:44 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.590: +10 -4 lines
Diff to previous 1.590
(UrlDecode): New.
(InitCookie): Decode cookie.
(PageEtag, Cookie): Encode cookie.

Revision 1.590 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 31 13:57:56 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.589: +3 -3 lines
Diff to previous 1.589
(InitLinkPatterns): Quote $, %, and @ in
$InterLinkPattern and $FreeInterLinkPattern.

Revision 1.589 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 26 20:42:58 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.588: +2 -2 lines
Diff to previous 1.588
typo

Revision 1.588 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 26 20:38:09 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.587: +6 -2 lines
Diff to previous 1.587
(GetRcRss): Allow XSL stylesheets for the RSS feed, too.

Revision 1.587 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 23 13:00:13 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.586: +2 -2 lines
Diff to previous 1.586
(TextIsFile): Fix bug.

Revision 1.586 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 23 08:41:10 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.585: +6 -2 lines
Diff to previous 1.585
(GetRcRss): Allow multiple licenses using an array ref for
$RssLicense.

Revision 1.585 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 23 07:42:28 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.584: +31 -25 lines
Diff to previous 1.584
($RssStyleSheet, GetRcRss): New option, use it.
(GetHtmlHeader, GetCss): Moved CSS determining code out into
separate function.
(TextIsFile): Don't use /m for the match (an uploaded file MUST
start with #FILE and the MIME type).

Revision 1.584 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 23 00:03:14 2005 UTC (6 years, 8 months ago) by as
Branch: MAIN
Changes since 1.583: +5 -4 lines
Diff to previous 1.583
(DoHistory): Use GET instead of POST for history links.
(GetFormStart): Fix class for forms.
(GetKeptDiff): Handle identical revisions.

Revision 1.583 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 29 14:45:00 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.582: +5 -6 lines
Diff to previous 1.582
(EncodePage): Don't modify the data in place; make a
copy first.

Revision 1.582 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 26 09:41:23 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.581: +11 -9 lines
Diff to previous 1.581
(RcHeader, GetFilterForm, GetRc): Add page title filter
using the match parameter.  Make the form GET instead of POST.

Revision 1.581 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 26 08:42:21 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.580: +7 -6 lines
Diff to previous 1.580
(RSS, GetRcHtml): Replaced &ndash; with &#8211; for XML conformance.
(PageHtml): Accept size limit and error message; return error
message instead of HTML if the raw text of the page is too big.
(GetRcRss): Pass a limit and a message to PageHtml.

Revision 1.580 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 26 08:05:08 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.579: +39 -71 lines
Diff to previous 1.579
(DoIndex): Changed pattern parameter to match, so that
it matches the parameter used in the calendar extension.
($Visitors, $VisitorTime): Removed.
(%Action): Removed visitors action.
(DoAdminPage): Removed recent visitors item.
(DoSurgeProtection, WriteRecentVisitors): Simplified: No longer
take $Visitors into account.
(DoShowVisitors): Removed.

Revision 1.579 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 26 07:20:58 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.578: +2 -2 lines
Diff to previous 1.578
(DoIndex): Changed form, too.

Revision 1.578 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 26 07:16:49 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.577: +2 -2 lines
Diff to previous 1.577
(DoIndex): Changed pattern parameter to match, so that
it matches the parameter used in the calendar extension.

Revision 1.577 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 25 12:58:31 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.576: +4 -2 lines
Diff to previous 1.576
(DoIndex): Added pattern form.

Revision 1.576 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 25 12:41:05 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.575: +4 -2 lines
Diff to previous 1.575
(DoUnlock): Don't cache.
(DoIndex): Add pattern parameter.

Revision 1.575 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 22 16:18:17 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.574: +50 -48 lines
Diff to previous 1.574
(PageFresh, FileFresh): New, use entity tags instead of
if-modified-since.
(PageEtag): New, produce entity tag based on LastUpdate and CookieData.
(DoDownload): Use FileFresh.
(BrowsePage): Cache using code moved to DoBrowseRequest.
(DoBrowseRequest): Use PageFresh and return cashed pages for all
actions if possible.
(GetHttpHeader): Generate entity tag (ETag) for caching instead of
last-modified header.
(CookieData): New, used by PageEtag.
(Cookie): Moved some code to CookieData.

(@MyMaintenance): New option.
(DoMaintain): Call each sub on @MyMaintenance.

Revision 1.574 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 22 13:46:38 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.573: +3 -2 lines
Diff to previous 1.573
(@MyMaintenance): New option.
(DoMaintain): Call each sub on @MyMaintenance.

Revision 1.573 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 21 09:56:05 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.572: +18 -8 lines
Diff to previous 1.572
(GetRcRss): A test for $limit eq 'all' got lost in the
transition to RSS 2.0 so I added it back.
($DefaultStyleSheet): Add div.search.
(ApplyRules): Add new rule for <search "pattern">

Revision 1.572 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 19 14:02:18 2005 UTC (6 years, 9 months ago) by as
Branch: MAIN
Changes since 1.571: +6 -5 lines
Diff to previous 1.571
(GetRcRss): Fixed some URL encoding issues.

Revision 1.571 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 17 15:31:03 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.570: +85 -83 lines
Diff to previous 1.570
(RSS): Accept RSS 2.0 wiki module authorship.
(GetRcRss): Use RSS 2.0 with wiki module code.
(DoRss): Changed MIME type to application/xml because we're no
longer using RDF.
(TimeToRFC822): New sub using the POSIX module (which comes
bundled with Perl).
($RssContributor, $RssPublisher): Removed as they make little
sense on a wiki.
($RssImageUrl): Default to $LogoUrl.

Revision 1.570 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 15 12:19:54 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.569: +2 -2 lines
Diff to previous 1.569
(DoDownload): Fix typo.

Revision 1.569 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 15 12:02:09 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.568: +4 -3 lines
Diff to previous 1.568
(DoDownload): Fix download caching.

Revision 1.568 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 14 10:42:29 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.567: +2 -2 lines
Diff to previous 1.567
(ScriptLink): Use $UrlProtocols for check for URLs.

Revision 1.567 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 13 22:44:10 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.566: +2 -2 lines
Diff to previous 1.566
(ScriptLink): Not only url-encoded "http:" starts a
valid URL; any combo of letters followed by a colon (protocol) or
any string starting with a slash (relative path) are treated as
URL.  This assumes no colons and slashes in page names.

Revision 1.566 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 11 11:13:21 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.565: +1 -3 lines
Diff to previous 1.565
(GetRss): Removed warnings.

Revision 1.565 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 11 00:00:31 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.564: +136 -126 lines
Diff to previous 1.564
(GetTextArea): Add id to textarea.
($RssDir, $RssCacheHours): New options.
(RSS): Use GetRss.
(GetRss, GetRssFile): New.
(DoMaintain): Clean files in $RssDir.

Revision 1.564 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 10 23:33:22 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.563: +2 -2 lines
Diff to previous 1.563
(GetTextArea): Add id to textarea.

Revision 1.563 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 4 15:45:11 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.562: +2 -1 lines
Diff to previous 1.562
(GetHtmlHeader): Don't allow double quotes in the css
parameter because it allows javascript injection as described by
Pierre Gaston -- he added "><script>...</script><meta" to a public
link and tricked users into clicking it.

Revision 1.562 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 30 23:57:01 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.561: +4 -3 lines
Diff to previous 1.561
(TimeToW3): Bugfix.

Revision 1.561 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 21 22:09:20 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.560: +6 -6 lines
Diff to previous 1.560
(GetPageOrEditLink): No longer handle near links
specially.
(ScriptLink): Handle resolved URLs specially, eg. from near links.
(PrintSearchResultEntry): Just pass it on to ScriptLink.  Don't
test $action for %2f -- I wonder what this was supposed to do?

Revision 1.560 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 21 21:58:15 2005 UTC (6 years, 10 months ago) by as
Branch: MAIN
Changes since 1.559: +4 -3 lines
Diff to previous 1.559
(Init): Maintain %MyInc separate from %INC for mod_perl
compatibility.
(%MyInc): New variable.

Revision 1.559 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 15 13:48:03 2005 UTC (6 years, 11 months ago) by as
Branch: MAIN
Changes since 1.558: +4 -3 lines
Diff to previous 1.558
($SummaryHours): New option.
(DoEdit): Use it.

Revision 1.558 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 2 07:09:59 2005 UTC (6 years, 11 months ago) by as
Branch: MAIN
Changes since 1.557: +3 -3 lines
Diff to previous 1.557
(DoPost): Don't create empty pages.

Revision 1.557 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 21:25:18 2005 UTC (6 years, 11 months ago) by as
Branch: MAIN
Changes since 1.556: +4 -6 lines
Diff to previous 1.556
(DoEditLock, DoPageLock): Saved a line in each by removing the my
declaration at the very beginning.

Revision 1.556 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 21:21:36 2005 UTC (6 years, 11 months ago) by as
Branch: MAIN
Changes since 1.555: +2 -2 lines
Diff to previous 1.555
(DeletePage): Delete page-lock file, too.

Revision 1.555 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 7 23:43:30 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.554: +3 -3 lines
Diff to previous 1.554
(RcHeader): bugfix

Revision 1.554 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 7 23:40:48 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.553: +8 -7 lines
Diff to previous 1.553
(ScriptLink): Add another parameter to generate
rel="nofollow" links.
(RcHeader): Use nofollow links because RecentChanges is FOLLOW by
default.  This might help cut bandwidth.

Revision 1.553 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 6 12:25:39 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.552: +2 -2 lines
Diff to previous 1.552
(GetFooterTimestamp): Default to diff=2 in the footer, since that
matches author name and timestamp visible.

Revision 1.552 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 6 08:46:18 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.551: +3 -3 lines
Diff to previous 1.551
(GetSummary): For new pages, use the beginning of the
text if no summary was provided.

Revision 1.551 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 1 13:32:56 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.550: +15 -5 lines
Diff to previous 1.550
(GetCommentForm): Don't provide summary in the form.
(DoPost): Get summary from GetSummary.
(GetSummary): New function that takes a substring from aftertext
if available.

Revision 1.550 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 1 11:07:23 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.549: +8 -9 lines
Diff to previous 1.549
(DoEdit): Use $KeepDays instead of 24h for "summary
expiration".
($SummaryLines): Remove option again and replace with hard-coded
two lines.

Revision 1.549 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 30 12:02:51 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.548: +11 -11 lines
Diff to previous 1.548
($SummaryLines): New option.
(DoEdit): If the last edit was less than 24h ago, use its summary
as the default.
(GetTextArea): Optional parameter for the number of rows added.
Default is still 25.

Revision 1.548 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 25 22:02:42 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.547: +1 -3 lines
Diff to previous 1.547
(ApplyRules): Removed the final oldpos hack required
because now $bol no longer uses regexp matching.

Revision 1.547 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 23 19:44:51 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.546: +3 -3 lines
Diff to previous 1.546
(PageDeletable): Delete empty pages, too.
(ApplyRules): Changed the way $bol is computed to a substring
comparison instead of a regular expression match.

Revision 1.546 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 23 15:33:58 2005 UTC (7 years ago) by as
Branch: MAIN
Changes since 1.545: +2 -1 lines
Diff to previous 1.545
(PageDeletable): Delete empty pages, too.

Revision 1.545 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 12 22:27:42 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.544: +20 -15 lines
Diff to previous 1.544
(LinkRules): Make sure named entities such as < > and &
are handled correctly at the end of an URL.
(TimeToW3): New.
(GetRcText): Use TimeToW3 instead of CalcDay.
(GetRcRss): Use TimeToW3 instead of doing it manually.
(ExpireKeepFiles): Handle lastmajor like oldmajor.
(DoShowVersion): Report mod_perl.

Revision 1.544 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 11 17:38:18 2005 UTC (7 years, 1 month ago) by frodo72
Branch: MAIN
Changes since 1.543: +14 -15 lines
Diff to previous 1.543
Isolated test for uploaded file in FileIsText sub.
FileIsText can be used in list context to get the mime type!

Revision 1.543 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 7 16:16:18 2005 UTC (7 years, 1 month ago) by frodo72
Branch: MAIN
Changes since 1.542: +2 -2 lines
Diff to previous 1.542
Hopefully definitively fixed bug for previous version diffing.
Note that oldmajor could be still wrong in page database...

Revision 1.542 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 23:01:11 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.541: +20 -20 lines
Diff to previous 1.541
(GetKeptDiff): Use GetTextRevision instead of
duplicating code.
(Save): Fix handling of oldmajor by introducing a new key,
lastmajor.
(UpdateDiffs): Changed argument list, changed to also handle new
oldmajor.

Revision 1.541 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 21:10:02 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.540: +7 -6 lines
Diff to previous 1.540
(Save): Fix handling of $oldmajor.

Revision 1.540 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 02:27:37 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.539: +15 -29 lines
Diff to previous 1.539
(GetCurrentRequest): Deleted.
(GetCurrentPageName): Deleted.
(GetId): New, returns the id as set in the request, like
GetCurrentRequest used to do, but don't return a "dirty_id" and
"error".  Split info_path and set all parameters with these names
to 1.  This is more generic than specialcasing "raw".
(DoBrowseRequest): Call GetId.

Revision 1.539 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 27 01:24:55 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.538: +95 -67 lines
Diff to previous 1.538
(RSS): Use LWP::Parallel::UserAgent if available.

Revision 1.538 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 25 11:40:22 2005 UTC (7 years, 1 month ago) by frodo72
Branch: MAIN
Changes since 1.537: +32 -14 lines
Diff to previous 1.537
The DoBrowseRequest() method has been splitted and some functionalities can be accessed now via the GetCurrentRequest() method. As a side effect, you can access the currently selected page via the GetCurrentPage() method, which will give you either OpenPageName, if already available, or will munge it using GetCurrentRequest. This is particularly useful inside modules' initialisation functions.

Revision 1.537 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 25 11:16:24 2005 UTC (7 years, 1 month ago) by frodo72
Branch: MAIN
Changes since 1.536: +24 -22 lines
Diff to previous 1.536
Separated the actual `diff' call from GetDiff(), now DoDiff() is in charge of spawning `diff' process. This has been changed in DiffMarkWords too. As a positive side effect, ImproveDiff (and DiffMarkWords) do not need to be called while the temporary lock is active any more.

A similar separation process will follow regarding `diff3'.

Version of `diff'-`diff3' programs is output only if UseDiff is exactly equal to 1; this allows modules overriding DoDiff to set UseDiff to higher values and void invocation of programs while still setting DoDiff to a true value.

Revision 1.536 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 18 22:32:16 2005 UTC (7 years, 1 month ago) by as
Branch: MAIN
Changes since 1.535: +78 -70 lines
Diff to previous 1.535
Removed the global $first variable, since it made no
sense when ApplyRules was called for cached HTML fragments.
(ApplyRules): Removed $first, moved link rules to new sub, call
RunMyRules with $locallinks, $withanchors parameters.
(LinkRules): Moved all link rules to new sub.
(@MyRules): Initialize with LinkRules.
(RunMyRules): Call the various rules with $locallinks and
$withanchors parameters.

Revision 1.535 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 16 11:15:23 2005 UTC (7 years, 2 months ago) by frodo72
Branch: MAIN
Changes since 1.534: +2 -2 lines
Diff to previous 1.534
Corrected a bug in GetDiff() while calling GetDownloadLink().

Revision 1.534 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 12 01:00:54 2005 UTC (7 years, 2 months ago) by as
Branch: MAIN
Changes since 1.533: +3 -3 lines
Diff to previous 1.533
(DoPageLock): Add link back to the page.

Revision 1.533 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 6 16:31:59 2005 UTC (7 years, 2 months ago) by as
Branch: MAIN
Changes since 1.532: +1 -4 lines
Diff to previous 1.532
(ApplyRules): Removed debug warnings that got checked
in...

Revision 1.532 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 2 22:08:08 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.531: +4 -1 lines
Diff to previous 1.531
(DoBrowseRequest): Added CGI error message suggested by
Tim Jenness.

Revision 1.531 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 2 00:09:11 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.530: +2 -2 lines
Diff to previous 1.530
(BrowsePage): Revert last change: DO report 404 for non-existing pages
even when using raw=1.

Revision 1.530 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 1 23:58:23 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.529: +2 -2 lines
Diff to previous 1.529
(BrowsePage): No longer report 404 for non-existing pages even when
using raw=1, as oddwiki.taoriver.net kept reporting a 404.

Revision 1.529 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 1 23:28:26 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.528: +2 -2 lines
Diff to previous 1.528
(BrowsePage): Report 404 for non-existing pages even
when using raw=1.

Revision 1.528 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 31 23:27:03 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.527: +2 -2 lines
Diff to previous 1.527
(ApplyRules): Fix typo found by Flavio Poletti.

Revision 1.527 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 24 17:43:46 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.526: +4 -2 lines
Diff to previous 1.526
(CreateDir): Add error if mkdir fails.

Revision 1.526 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 20 11:45:22 2005 UTC (7 years, 3 months ago) by groogel
Branch: MAIN
Changes since 1.525: +2 -2 lines
Diff to previous 1.525
Added missing start_html() to ReportError

Revision 1.525 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 19 21:05:11 2005 UTC (7 years, 3 months ago) by as
Branch: MAIN
Changes since 1.524: +2 -2 lines
Diff to previous 1.524
(RSS): Fix rfc 822 date parsing regular expression.

Revision 1.524 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 8 00:02:41 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.523: +2 -1 lines
Diff to previous 1.523
(handler): Added no strict "refs" pragma after a report
by Ross Thomas.

Revision 1.523 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 7 16:03:26 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.522: +3 -3 lines
Diff to previous 1.522
(handler): Typo: Use my.

Revision 1.522 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 7 08:53:44 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.521: +3 -4 lines
Diff to previous 1.521
(handler): Don't set $RunCGI.

Revision 1.521 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 7 08:51:49 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.520: +5 -2 lines
Diff to previous 1.520
(handler): Set all sort of variables from environment
variables.

Revision 1.520 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 7 00:46:23 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.519: +2 -2 lines
Diff to previous 1.519
(InitVariables): Typo.

Revision 1.519 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 7 00:41:57 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.518: +26 -132 lines
Diff to previous 1.518
Moved referrer tracking into a module.  Removed
appropriate values from several variables.
(InitVariables, BrowsePage): Related changes.
(DoAdminPage, DoMaintain, DeletePage): Ditto.
(GetRefererFile, ReadReferers, ExpireReferers, GetReferers)
(UpdateReferers, WriteReferers, RefererTrack)
(DoPrintAllReferers, PrintAllReferers): Removed.

Revision 1.518 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 6 23:21:53 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.517: +29 -15 lines
Diff to previous 1.517
(InitDirConfig): New, set all directories here.
(Init): Call it.
(handler): New, for mod_perl.

Revision 1.517 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 6 10:25:03 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.516: +15 -10 lines
Diff to previous 1.516
(ApplyRules): Use Clean instead of print for the p
element that opens after include, rss, and journal tags.
(RSS): Use div instead of strong for descriptions containing HTML.

Revision 1.516 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 6 07:28:51 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.515: +5 -1 lines
Diff to previous 1.515
(GetHttpHeader): Added handling of HEAD requests.

Revision 1.515 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 5 22:19:39 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.514: +7 -6 lines
Diff to previous 1.514
(RSS, GetRcHtml): Use ndash to separate summary from the
rest of the item.  The dash is in a new span.

Revision 1.514 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 5 21:27:06 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.513: +2 -2 lines
Diff to previous 1.513
(RSS): Take dash out of the strong element with the description.

Revision 1.513 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 5 01:18:35 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.512: +15 -14 lines
Diff to previous 1.512
(@MyAdminCode): New option.
(@AdminBlocks): Removed option.
(DoAdminPage): Rewritten to take advantage of the new @MyAdminCode.

Revision 1.512 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 5 00:34:52 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.511: +2 -2 lines
Diff to previous 1.511
Update copyright year.

Revision 1.511 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 4 08:53:53 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.510: +13 -8 lines
Diff to previous 1.510
(@MyInitVariables): New option.
(InitVariables): Use it.
(DoAdminPage): Bugfix.
(GetFooterLinks): Add class.

Revision 1.510 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 4 07:43:58 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.509: +5 -2 lines
Diff to previous 1.509
(DoAdminPage): Treat space.

Revision 1.509 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 4 07:30:15 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.508: +8 -3 lines
Diff to previous 1.508
(DoAdminPage): Add more actions.
(DoUnlock, DoMaintain): Changed title.

Revision 1.508 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 4 06:47:58 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.507: +2 -2 lines
Diff to previous 1.507
(DoAdminPage): Use edit links for non-existing important pages.

Revision 1.507 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 4 06:27:00 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.506: +84 -38 lines
Diff to previous 1.506
(@AdminPages, @AdminBlocks): New options.
(%Action): Register admin action.
(InitVariables): Set @AdminPages.
(DoAdminPage): New.
(PrintFooter): No longer print admin bar.
(GetAdminBar): Deleted.
(GetFooterLinks): Link to admin page.
(DoIndex): Add menu for the various parameters.
(DoEditLock, DoPageLock): Touch index file (invalidate the cache).

Revision 1.506 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 2 15:52:48 2005 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.505: +5 -5 lines
Diff to previous 1.505
(InitLinkPatterns): Remove "" delimiter from
$FreeLinkPattern and $FreeInterLinkPattern.
(ApplyRules): Unquote URLs in include and rss rules.

Revision 1.505 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 26 23:34:05 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.504: +14 -7 lines
Diff to previous 1.504
(RSS): Add RFC 822 Parsing for RSS 2.0.
(DoDownload): Fix regexp for #FILE.
(DoShowVisitors, DoPrintAllReferers): Add content div.

Revision 1.504 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 22 03:04:00 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.503: +7 -5 lines
Diff to previous 1.503
(DoPost): Only determine new authors if there is an old
revision that is being changed.

Revision 1.503 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 21 00:41:51 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.502: +5 -3 lines
Diff to previous 1.502
($DefaultStyleSheet): Minor twiddling.

Revision 1.502 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 19 16:41:42 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.501: +4 -3 lines
Diff to previous 1.501
(ApplyRules): Locally set $OpenPageName when including local
pages.

Revision 1.501 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 19 15:51:39 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.500: +9 -11 lines
Diff to previous 1.500
(Save): Moved automatic lock creation back to after the
SavePage call in order to make sure the directory exists.

Revision 1.500 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 19 14:00:17 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.499: +7 -3 lines
Diff to previous 1.499
(InitVariables): Removed handling of $HtmlHeaders.
(GetHtmlHeader): Add site RSS and page RSS if $HtmlHeaders is not
set.

Revision 1.499 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 19 13:44:31 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.498: +13 -6 lines
Diff to previous 1.498
(PrintPageHtml, BrowsePage): Don't print cache if using
$UseCache=-1.
(PrintHtmlDiff): Take cache=0 and cache=-1 into account when
serving diffs.
(DiffMarkWords): Append trailing newlines.

Revision 1.498 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 18 15:51:18 2004 UTC (7 years, 4 months ago) by as
Branch: MAIN
Changes since 1.497: +2 -2 lines
Diff to previous 1.497
(PrintFooter): Changed 'time' parameter to 'timing' to
avoid collision with Timezone Extension.

Revision 1.497 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 16 18:08:56 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.496: +6 -5 lines
Diff to previous 1.496
(AddComment): Prefix http:// if necessary.
(Save): Moved some variable settings up.

Revision 1.496 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 14 01:08:39 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.495: +14 -9 lines
Diff to previous 1.495
(Save): Handle existing index file that cannot be
unlinked.

Revision 1.495 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 11 23:59:29 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.494: +150 -143 lines
Diff to previous 1.494
(ApplyRules): Fix bug that prevented pages containing a
file from displaying correctly.

Revision 1.494 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 5 21:40:46 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.493: +8 -5 lines
Diff to previous 1.493
(InitVariables): Use the link to the RSS feed as the
default for $HtmlHeaders.
(GetHtmlHeader): Don't add RSS feed.  It should be part of
$HtmlHeaders.
(Clean, Dirty, ApplyRules): Print clean blocks in Dirty() instead
of Clean().  Remove empty p elements.
(ApplyRules): Exchanged order of print and Dirty for one of the
rules.

Revision 1.493 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 5 03:22:14 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.492: +7 -6 lines
Diff to previous 1.492
(ApplyRules): Add print AddHtmlEnvironment('p') in
various places where CloseHtmlEnvironments() is called -- after
includes, journals, rss feeds, and conflicts.

Revision 1.492 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 30 00:34:26 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.491: +2 -2 lines
Diff to previous 1.491
(PrintWikiToHTML): Fix typo.

Revision 1.491 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 28 18:38:02 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.490: +6 -5 lines
Diff to previous 1.490
(PrintWikiToHTML): Don't save revision 0 files.  These
can appear if showing the full RSS for deleted pages.

Revision 1.490 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 27 19:59:04 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.489: +3 -2 lines
Diff to previous 1.489
(ReportError): Use $q->Dump.

Revision 1.489 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 26 23:54:36 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.488: +32 -50 lines
Diff to previous 1.488
(GetTextAtTime): Check whether all changes from now to
then are minor or not.  Use GetKeepRevisions.
(DoRollback): Save rollbacks as minor or major changes using this
info.
(DoPost): Take change in GetTextAtTime into account, but do
nothing with the new info.
(GetKeepRevisions): New.
(DoHistory, ExpireKeepFiles): Use GetKeepRevisions.

Revision 1.488 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 25 19:03:53 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.487: +5 -1 lines
Diff to previous 1.487
(DoShowVersion): Link to dependencies=1 and links=1.

Revision 1.487 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 22 23:33:05 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.486: +3 -3 lines
Diff to previous 1.486
(GetFooterLinks): Move the "Back to %s" link to the
front of the bar.  Link to the plain page names.

Revision 1.486 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 22 23:29:01 2004 UTC (7 years, 5 months ago) by as
Branch: MAIN
Changes since 1.485: +7 -8 lines
Diff to previous 1.485
(GetFooterLinks): Move the "Back to %s" link to the
front of the bar.  Put the entire text into the link.  Change
"Comments on this page" to "Comments on %s".

Revision 1.485 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 01:39:15 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.484: +2 -2 lines
Diff to previous 1.484
(BrowsePage): Removed content class from the rc div.

Revision 1.484 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 01:20:20 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.483: +6 -9 lines
Diff to previous 1.483
(BrowsePage): Remove extra end_div().
(DoIndex): Add extra end_div().
(GetReferers): Put hr() from RefererTrack inside the div().
(RefererTrack): Remove the hr() here and move it to GetReferers.

Revision 1.483 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 00:44:24 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.482: +4 -4 lines
Diff to previous 1.482
* wiki.pl (GetAdminBar, GetFooterLinks, GetGotoBar): Add bar
class.

Revision 1.482 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 00:01:28 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.481: +2 -2 lines
Diff to previous 1.481
(GetGotoBar): Added $UserGotoBar back.

Revision 1.481 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 14 23:56:53 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.480: +49 -50 lines
Diff to previous 1.480
(PrintJournal, BrowsePage, GetHeader, PrintFooter,
PrintAllPages): Use start_div() and end_div() instead of strings.
(DoHistory, DoRollback, DoEdit, DoPassword, DoIndex, DoSearch,
DoMaintain, DoShowVersion):  Use div.

Revision 1.480 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 14 22:20:28 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.479: +54 -62 lines
Diff to previous 1.479
(RcHeader): Removed vertical bars.
(PrintFooter): Classes are added in the respective subroutines.
(GetNearLinksUsed, GetFooterTimestamp): Don't join the result of a
map operation; instead pass it as a list to the CGI module.
(GetAdminBar): Removed vertical bars.
(GetFooterLinks, GetGotoBar, DoSearch): Removed vertical bars.

Revision 1.479 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 12 22:04:00 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.478: +17 -8 lines
Diff to previous 1.478
(GetFormStart): Fix syntax error. (?)
(GetKeptDiff): Pass old revision to GetDiff.
(GetDiff): Handle situation where old or new revision is a file.

Revision 1.478 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 11 22:41:05 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.477: +21 -18 lines
Diff to previous 1.477
(ReportError): Add a third parameter to request logging
of the error.
(SavePage): Request logging when trying to save bogus pages.
(PrintWikiToHTML): Only save the page if the cache actually
changes.
(GetFormStart, DoHistory, GetCommentForm, GetFilterForm)
(GetSearchForm, DoEdit, DoPassword): Add form class.

Revision 1.477 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 1 03:38:37 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.476: +2 -2 lines
Diff to previous 1.476
(GetCommentForm): Larger input field.

Revision 1.476 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 1 03:32:49 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.475: +26 -13 lines
Diff to previous 1.475
Use q{...} instead of here-documents in some places.

(%CookieParameters): Add homepage parameter.
(GetCommentForm): Add homepage input field.
(AddComment): Take homepage parameter into account.

(ApplyRules): Add rule for merge conflicts.
(DoPost): Don't put pre tags around merge conflicts.

Revision 1.475 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 31 19:55:42 2004 UTC (7 years, 6 months ago) by groogel
Branch: MAIN
Changes since 1.474: +3 -3 lines
Diff to previous 1.474
Added class attribute for text includes. (pre class="include $uri")

Revision 1.474 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 31 18:42:52 2004 UTC (7 years, 6 months ago) by groogel
Branch: MAIN
Changes since 1.473: +7 -3 lines
Diff to previous 1.473
Added div environment to non-text includes. The class attribute is set
to "include" plus the included page name. E.g. class="include FooBar".

Revision 1.473 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 31 00:55:20 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.472: +4 -5 lines
Diff to previous 1.472
(ApplyRules): Save pos when determining $bol to fix a
bug.
(SmileyReplace): Simplified.

Revision 1.472 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 25 23:51:43 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.471: +5 -3 lines
Diff to previous 1.471
(DoSearch): Accesskey 'f'.

Revision 1.471 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 22 20:57:19 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.470: +2 -1 lines
Diff to previous 1.470
(PageDeletable): Never delete pages if $KeepDays is set
to 0.

Revision 1.470 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 19 16:33:15 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.469: +3 -3 lines
Diff to previous 1.469
(GetDownloadLink): Change look of download link if the
page does not exist.

Revision 1.469 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 14:50:21 2004 UTC (7 years, 6 months ago) by as
Branch: MAIN
Changes since 1.468: +5 -6 lines
Diff to previous 1.468
(GetRaw): Simplify.
(PrintAllPages): Page titles with spaces.

Revision 1.468 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 16 23:53:18 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.467: +2 -2 lines
Diff to previous 1.467
(ApplyRules): Require space after * all list items, not
just the first.

Revision 1.467 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 15 14:10:23 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.466: +2 -2 lines
Diff to previous 1.466
(RSS): Don't add closing ul unless an opening one was added.

Revision 1.466 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 15 13:26:17 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.465: +4 -2 lines
Diff to previous 1.465
(InitVariables): Bugfix -- handle '_' at the endo of
$CommentsPrefix as well.
(RSS): Warning if feed contains no item (even if no parsing
error...).

Revision 1.465 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 13 19:55:19 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.464: +8 -9 lines
Diff to previous 1.464
No provide $DefaultCSS for tables.
(InitVariables): Handle $CommentsPrefix.
(GetHeader): Simplified.
(AddComment): Added extra newlines.

Revision 1.464 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 11 23:30:14 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.463: +2 -1 lines
Diff to previous 1.463
$DefaultStyleSheet change for textarea.

Revision 1.463 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 10 15:07:46 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.462: +24 -24 lines
Diff to previous 1.462
* wiki.pl (RSS): Use $CollectingJournal as well.
(PrintJournal): Cosmetic.

Revision 1.462 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 10 13:46:16 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.461: +4 -4 lines
Diff to previous 1.461
(DoPost): remove "DeletePage" when a comment is added.
(PageDeletable): Simplify.

Revision 1.461 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 5 23:15:34 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.460: +6 -2 lines
Diff to previous 1.460
(RSS): Handle list start tag for feeds without dates.
(DoSurgeProtection): Verbose error message if the first visitor
lock cannot be created.

Revision 1.460 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 29 23:35:36 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.459: +12 -10 lines
Diff to previous 1.459
(GetAdminBar): Moved GetGotoBar($id) out of this sub and
renamed $revisions to $html.
(PrintFooter): Moved GetGotoBar($id) here.
(ApplyRules): Accept @tags parameter to put the first paragraph in
a p element.  Pass along p to ApplyRules calls.
(PrintWikiToHTML):  Pass along p to ApplyRules calls.
(PrintAllPages): Put pages into a separate div.

Revision 1.459 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 29 22:36:50 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.458: +16 -16 lines
Diff to previous 1.458
(GetAdminBar): Moved GetGotoBar($id) out of this sub and
renamed $revisions to $html.
(PrintFooter): Moved GetGotoBar($id) here.

Revision 1.458 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 19 22:01:09 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.457: +6 -4 lines
Diff to previous 1.457
(PrintPage): Print title instead of id.
(BannedContent): Return text matched in the original page.
(DoPost): Changed text printed when BannedContent returns text.

Revision 1.457 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 19 01:24:27 2004 UTC (7 years, 7 months ago) by as
Branch: MAIN
Changes since 1.456: +4 -2 lines
Diff to previous 1.456
(PrintPage): Print title instead of id.

Revision 1.456 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 16 23:22:21 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.455: +3 -3 lines
Diff to previous 1.455
(ApplyRules): New local variable $first.

Revision 1.455 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 14 23:43:11 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.454: +2 -2 lines
Diff to previous 1.454
Fixed default CSS.

Revision 1.454 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 6 21:52:15 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.453: +18 -7 lines
Diff to previous 1.453
(RSS): Fix pubDate bug, handle feeds mith titles, description,
and/or link.

Revision 1.453 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 6 19:49:00 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.452: +1 -3 lines
Diff to previous 1.452
(RSS): Remove guid handling.

Revision 1.452 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 5 19:37:51 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.451: +2 -2 lines
Diff to previous 1.451
(ApplyRules): Disallow | in the alternate text of
the [[image:page|text]] rule.  It
prevented [[image:page|text|page]] from reaching image.pl.

Revision 1.451 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 4 09:14:13 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.450: +51 -52 lines
Diff to previous 1.450
($DefaultStyleSheet): New option.
(GetHtmlHeader): Use it.

Revision 1.450 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 2 20:38:38 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.449: +1 -1 lines
Diff to previous 1.449
(GetUpload): Don't return a p element.

Revision 1.449 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 19 14:45:57 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.448: +2 -1 lines
Diff to previous 1.448
(GetAuthorLink): Translate _ to space in author names.

Revision 1.448 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 19 14:43:40 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.447: +1 -2 lines
Diff to previous 1.447
(GetAuthorLink): Remove _ from author names.

Revision 1.447 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 18 22:47:12 2004 UTC (7 years, 8 months ago) by as
Branch: MAIN
Changes since 1.446: +12 -10 lines
Diff to previous 1.446
(GetRcText): Bugfix for action=rc;raw=1;all=1.
(GetRcRss): Use $ScriptName instead of $FullUrl.  Take
$UsePathInfo into account.  When the all parameter is not set,
don't add revision to the URL.

Revision 1.446 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 15 18:08:06 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.445: +13 -5 lines
Diff to previous 1.445
(PrintPageDiff): New.
(PageHtml): Call it.
(BrowsePage, PrintHtmlDiff): Remove $id from parameters to PrintHtmlDiff.
(GetRcRss): UrlEncode $RCName.

Revision 1.445 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 13 10:01:34 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.444: +4 -4 lines
Diff to previous 1.444
(DoHistory): XHTML conformance.

Revision 1.444 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 13 02:14:10 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.443: +13 -9 lines
Diff to previous 1.443
(ApplyRules): Close all HTML environments before
include, rss and journal.
(AddHtmlEnvironment): Bugfix.
(GetFilterForm, ImproveDiff, DiffAddPrefix): XHTML conformance.

Revision 1.443 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 13 01:24:24 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.442: +11 -11 lines
Diff to previous 1.442
*** empty log message ***

Revision 1.442 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 13 01:17:22 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.441: +2 -1 lines
Diff to previous 1.441
(ApplyRules): Remove trailing emptry lines from the content.

Revision 1.441 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 13 00:38:27 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.440: +61 -73 lines
Diff to previous 1.440
(InElement): New.
(ApplyRules): Use it.  Try to use environments for paragraphs,
too.
(CloseHtmlEnvironmentUntil): New.
(AddHtmlEnvironment, Ts, ValidId, FreeToNormal): Eliminate
warning.
(GetRcHtml, GetRcText, GetRcRss, DoEdit): Eliminate case in
variable name.
(GetAuthorLink): Simplify.
(GetFilterForm, DoHistory, GetHtmlHeader, GetCommentForm,
GetSearchForm, DoEdit, DoPassword): XHTML conformance.

Revision 1.440 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 12 23:42:04 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.439: +26 -5 lines
Diff to previous 1.439
(InElement): New.
(ApplyRules): Use it.  Try to use environments for paragraphs, too.
(CloseHtmlEnvironmentUntil): New.

Revision 1.439 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 12 16:35:37 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.438: +25 -16 lines
Diff to previous 1.438
($RssExclude): New option.
(InitVariables): Apply FreeToNormal to \$RssExclude.
(GetRcRss): Take $RssExclude into account.
(PrintPageHtml): New.
(PageHtml, PrintAllPages): Moved code to PrintPageHtml.

Revision 1.438 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 11 13:05:29 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.437: +21 -3 lines
Diff to previous 1.437
(ApplyRules): Eliminate a warning.
(GetRcRss): Support full parameter for RSS feeds.
(DoRss): Use application/rss+xml instead of text/plain.
(PageHtml): New.

Revision 1.437 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 6 13:12:54 2004 UTC (7 years, 9 months ago) by as
Branch: MAIN
Changes since 1.436: +2 -2 lines
Diff to previous 1.436
(GetHttpHeader): Fix typo related to last_modified
header, thanks to Andrés Martinelli.

Revision 1.436 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 14 14:50:08 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.435: +4 -3 lines
Diff to previous 1.435
More tests for modules.

Revision 1.435 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 8 16:02:36 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.434: +4 -4 lines
Diff to previous 1.434
(InitVariables): Set @LockOnCreation here, after
translating spaces to underscores, and after reading the config
file.
(ParseData): Accept a space as the first character as well.

Revision 1.434 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 4 22:50:14 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.433: +13 -10 lines
Diff to previous 1.433
Patch by Nikolay A. Fetisov  <naf@monsy.mpei.ac.ru>.

(InitVariables, ApplyRules, PrintJournal, OpenPage):
Initialize some variables.
(Save): Reset $IndexInit.

Revision 1.433 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 29 00:37:07 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.432: +22 -131 lines
Diff to previous 1.432
Moved many rules from ApplyRules in wiki.pl to modules/usemod.pl.

(RFC, ISBN, WikiHeading): Moved to modules/usemod.pl.
(PrintSearchResult): No longer strip common HTML tags (since those
are now defined in modules/usemod.pl).
(ApplyRules): Moved many rules to modules/usemod.pl.
(InitLinkPatterns): No longer set $RFCPattern and $ISBNPattern.
(InitVariables): No longer set @HtmlTags
($RFCPattern, $ISBNPattern, @HtmlTags, $HtmlTags, $HtmlLinks)
($RawHtml): Moved to modules/usemod.pl.

Revision 1.432 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 28 19:35:26 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.431: +8 -6 lines
Diff to previous 1.431
(ApplyRules): Don't allow empty headers.
(DoDownload): Use unquoted type for messages.
(DoPost): Save unquoted type, use unquoted type for messages.

Revision 1.431 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 27 23:43:04 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.430: +3 -3 lines
Diff to previous 1.430
($bol): New global variable.
(ApplyRules): Use local $bol instead of my $bol, so that
extensions can use it as well.

Revision 1.430 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 26 12:11:16 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.429: +3 -3 lines
Diff to previous 1.429
* wiki.pl (ApplyRules): Require a space after list items (after
*, #, :, ;).

Revision 1.429 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 25 23:58:28 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.428: +4 -4 lines
Diff to previous 1.428
Don't override $ModuleDir if it is already set (since this is used
before $ConfigFile is run).

Revision 1.428 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 25 23:50:18 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.427: +3 -3 lines
Diff to previous 1.427
(ApplyRules): Require a space after bullet points (after
and #).

Revision 1.427 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 22 20:06:55 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.426: +3 -3 lines
Diff to previous 1.426
(DoPost, DoDownload): Call quotemeta on the MIME type to
allow image/svg+xml.

Revision 1.426 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 21 17:57:38 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.425: +15 -10 lines
Diff to previous 1.425
(GetRc): Experimenting with revision clusters: By
starting the summary with a page link, you can cluster one
revision only.

Revision 1.425 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 21 00:23:46 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.424: +3 -3 lines
Diff to previous 1.424
(ApplyRules): New regepx → allow a bit more skipping of
words.

Revision 1.424 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 20 21:37:16 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.423: +7 -89 lines
Diff to previous 1.423
Removed link action.
(DoLinks, PrintLinkList, GetFullLinkList, GetLinkList): Gone.
(ApplyRules): Small cleanup: Moved #FILE rule up, made words
optimization less greedy by requiring a trailing space.

Revision 1.423 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 19 01:42:13 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.422: +2 -2 lines
Diff to previous 1.422
(ApplyRules): Another optimization -- this one will disable all
rules that start with lowercase ascii letters!

Revision 1.422 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 19 00:02:58 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.421: +3 -3 lines
Diff to previous 1.421
(RunMyRules): Bugfix -- don't add \&MyRules a gazillion times.
Optimize -- No eval to catch errors.

Revision 1.421 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 18 23:50:57 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.420: +5 -3 lines
Diff to previous 1.420
(ApplyRules): Optimize smiley rule.

Revision 1.420 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 18 22:29:27 2004 UTC (7 years, 10 months ago) by as
Branch: MAIN
Changes since 1.419: +10 -7 lines
Diff to previous 1.419
(ApplyRules): Special case ''''' to render correctly.
(RunMyRules): Only call MyRules if it is defined.

Revision 1.419 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 17 01:09:48 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.418: +22 -21 lines
Diff to previous 1.418
(Clean, SmileyReplace, RunMyRules): Important change in
handling rules: Rules are expected to return undef when they did
not match, and the empty string if a dirty block was produced.
(QuoteHtml, UnquoteHtml): Cosmetic.
(ApplyRules): Several changes: 1. Use /o for more pattern matches.
2. Don't call MyRules() here, add in RunMyRules instead.
3. Removed some superfluous /i and /s options.  4. Fixed handling
of ''''' by splitting the '' rule into two separate blocks.

Revision 1.418 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 13 14:24:48 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.417: +49 -46 lines
Diff to previous 1.417
(DoLinks): Pass parameters onto GetFullLinkList.
(GetFullLinkList): Accept parameters instead of using GetParam.
Move most of the code to GetLinkList.
(GetLinkList): New, extract links from one page only.
(ReadPermanentAnchors): Simplified, accept both $FS and space as
separator.
(WritePermanentAnchors): Use spaces instead of $FS to write the
file.

Revision 1.417 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 13 00:23:41 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.416: +12 -9 lines
Diff to previous 1.416
(RSS): No longer print square brackets around links to feeds
without interwiki moniker.  This can be added using CSS.

Revision 1.416 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 13 00:14:23 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.415: +12 -5 lines
Diff to previous 1.415
(RSS): Handle encoding of 'diff' and 'history' texts.
(DeletePage): Bugfix.

Revision 1.415 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 12 11:22:57 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.414: +11 -13 lines
Diff to previous 1.414
(DoMaintain): Handle error reporting from DeletePage here.
(DeletePage): Simplified.  Return error string or empty string on
success.

Revision 1.414 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 12 00:33:28 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.413: +14 -8 lines
Diff to previous 1.413
(ApplyRules): Bugfix, lone *, #, and : in the middle of
lines caused the creation of list items.
(GetRcHtml): Show '(new)' instead of '(diff)' when revision == 1.

Revision 1.413 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 10 12:16:32 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.412: +4 -4 lines
Diff to previous 1.412
(ApplyRules): Lists separated by whitespace are
joined (affects *, #, and : at the beginning of a line).

Revision 1.412 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 5 02:09:24 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.411: +3 -3 lines
Diff to previous 1.411
(GetRedirectPage): Use $ScriptName instead of $FullUrl.

Revision 1.411 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 4 21:41:30 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.410: +2 -2 lines
Diff to previous 1.410
*** empty log message ***

Revision 1.410 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 4 17:43:20 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.409: +3 -6 lines
Diff to previous 1.409
Use GetPageOrEditLink to print pages.

Revision 1.409 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 2 12:23:45 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.408: +2 -2 lines
Diff to previous 1.408
(ResolveId): Do not link achors that are on the same
page as the their own name.

Revision 1.408 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 2 11:23:07 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.407: +3 -2 lines
Diff to previous 1.407
(ResolveId): Do not link achors that are on the same
page as the their own name.

Revision 1.407 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 31 14:18:00 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.406: +3 -3 lines
Diff to previous 1.406
(PrintFooter, GetFooterLinks): Moved hr from inside
span.edit to div.footer.

Revision 1.406 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 29 22:30:45 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.405: +4 -4 lines
Diff to previous 1.405
(GetFullLinkList): Use alternate text for interlinks if
provided, use FreeToNormal only when printing raw links.

Revision 1.405 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 29 01:37:24 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.404: +2 -1 lines
Diff to previous 1.404
(GetPageOrEditLink): Don't use the urls returned for nearlinks as
scriptlinks.

Revision 1.404 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 29 01:18:54 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.403: +39 -38 lines
Diff to previous 1.403
Removed -w again because it is hell to 'make test'.
(GetParam): Simplified (tried to remove -w warning but failed).
(UrlEncode): Do not encode '#' as it is forbidden in page names
and allows us to return anchors from ResolveId.
(ResolveId): UrlEncode resolved for anchors ('alias'), and link to
near pages directly ('near').
(BrowseResolvedPage): Take changes in ResolveId into account.
(ReBrowsePage): No longer accept third argument.
(RcHeader): days parameter only added to the menu actions, not to
all actions.
(GetHttpHeader, GetRemoteHost): Reorganized to remove -w warning.
(GetPermanentAnchor): Handle different info from ResolveId.

Revision 1.403 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 28 22:50:30 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.402: +3 -9 lines
Diff to previous 1.402
(GetFullLinkList): Removed broken orphans parameter
feature and use FreeToNormal on the links collected.

Revision 1.402 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 26 00:53:21 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.401: +8 -10 lines
Diff to previous 1.401
(PrintFooter): Pass $id and $rev to GetAdminBar.
(GetFooterLinks): Remove pagelock action from here.
(GetAdminBar): Put pagelock action here.

Revision 1.401 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 24 21:06:38 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.400: +2 -2 lines
Diff to previous 1.400
(RcHeader): Fixed text bug.

Revision 1.400 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 24 00:58:42 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.399: +8 -5 lines
Diff to previous 1.399
(PrintFooter): More spans.
(DoSurgeProtection): Report $SurgeProtectionViews and
$SurgeProtectionTime when surge protection is triggered.

Revision 1.399 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 21 12:37:15 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.398: +21 -22 lines
Diff to previous 1.398
Run with -w.
(GetPageOrEditLink): Reworked usage of ResolveId.
(BrowseResolvedPage): Reworked usage of ResolveId.
(DoEdit): Copy newText to oldText earlier when previewing so that
preview works even when the old version is a file.
(PrintPage): Reworked usage of ResolveId.
(PrintSearchResultEntry): Reworked usage of ResolveId.

Revision 1.398 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 18 20:43:47 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.397: +15 -20 lines
Diff to previous 1.397
(RcHeader): Make all, showedit, and days explicit, so that they
can be set and unset even if they are added to %CookieParameters.

Revision 1.397 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 18 20:25:40 2004 UTC (7 years, 11 months ago) by as
Branch: MAIN
Changes since 1.396: +25 -31 lines
Diff to previous 1.396
Backed out experimental stuff that got added accidentally from 1.394
to 1.395.

Revision 1.396 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 17 23:41:56 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.395: +2 -2 lines
Diff to previous 1.395
(%InvisibleCookieParameters): Added pwd.

Revision 1.395 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 17 23:28:48 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.394: +33 -26 lines
Diff to previous 1.394
(DoPrintAllPages): Admin-only.

Revision 1.394 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 9 23:26:57 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.393: +13 -11 lines
Diff to previous 1.393
(DoPost): Call it, unless user is an editor.
(DoWikiRequest): Editors can edit even when banned.

Revision 1.393 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 9 23:10:14 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.392: +30 -7 lines
Diff to previous 1.392
($BannedContent): New option.
Add it to @LockOnCreation, apply FreeToNormal.
(BannedContent): New sub.
(DoPost): Call it.

Revision 1.392 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 26 22:23:51 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.391: +4 -4 lines
Diff to previous 1.391
(GetUrl): Test for image extension is case-insensitive.
(GetHttpHeader): Allow $UseCache = -1.

Revision 1.391 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 25 12:22:55 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.390: +2 -2 lines
Diff to previous 1.390
(DoMaintain): Don't sort the output of AllPagesList(),
since that did not work for at least one user.

Revision 1.390 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 23 21:02:10 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.389: +2 -2 lines
Diff to previous 1.389
(DoMaintain): Print error message only when $data is empty.

Revision 1.389 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 22 00:35:09 2004 UTC (8 years ago) by as
Branch: MAIN
Changes since 1.388: +2 -1 lines
Diff to previous 1.388
(DoShowVersion): Added LWP::UserAgent::VERSION printout.

Revision 1.388 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 17 22:16:36 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.387: +22 -16 lines
Diff to previous 1.387
($FullUrlPattern): New.
(InitLinkPatterns): Set it.
(ApplyRules): Use it.
(GetFullLinkList): Fix the links action.

Revision 1.387 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 17 20:30:01 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.386: +4 -5 lines
Diff to previous 1.386
(InitLinkPatterns): Add "()'" to free interwiki links.

Revision 1.386 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 17 20:25:16 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.385: +9 -7 lines
Diff to previous 1.385
(ApplyRules, GetDownloadLink): Allow image links with alternate text.

Revision 1.385 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 17 13:24:52 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.384: +15 -22 lines
Diff to previous 1.384
(GetRaw): Return nothing if LWP::UserAgent is not available.
(RSS): Handle missing LWP::UserAgent and parser errors gracefully.
Fix HTML output bug.
(SearchNearPages): Use GetRaw instead of duplicating LWP code.
(DoMaintain): Dito.

Revision 1.384 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 17 12:31:36 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.383: +3 -3 lines
Diff to previous 1.383
(AllPagesList): Find dotfiles, too.

Revision 1.383 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 12:51:45 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.382: +7 -6 lines
Diff to previous 1.382
(ApplyRules, GetInterSiteUrl, GetInterLink): Don't always quote
interlink pages.

Revision 1.382 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 03:28:53 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.381: +3 -3 lines
Diff to previous 1.381
(GetTextAtTime): Another bugfix for rollback action.

Revision 1.381 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 02:30:24 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.380: +6 -2 lines
Diff to previous 1.380
(GetTextAtTime): Another bugfix for rollback action.

Revision 1.380 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 01:55:32 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.379: +3 -2 lines
Diff to previous 1.379
(GetTextAtTime): Another bugfix for rollback action.

Revision 1.379 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 01:41:08 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.378: +5 -2 lines
Diff to previous 1.378
(GetTextAtTime): Fix bug for rollback action where only the pages
were rolled back that were changed at the exact moment!

Revision 1.378 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 12 01:16:01 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.377: +2 -2 lines
Diff to previous 1.377
(DoPost): Fix raw=2 bug.

Revision 1.377 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 11 16:18:02 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.376: +2 -3 lines
Diff to previous 1.376
(DoRollback): Fixed old bug: Rollback action has been
unusable for a very long time!

Revision 1.376 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 11 11:28:16 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.375: +2 -2 lines
Diff to previous 1.375
(GetDownloadLink): Don't use the upload class for 'a'
when linking to an inlined image.

Revision 1.375 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 10 12:11:51 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.374: +16 -7 lines
Diff to previous 1.374
($FreeInterLinkPattern): New variable
(InitLinkPatterns): Set it.
(ApplyRules): Support new interlinks with spaces in the pagename.
(GetInterSiteUrl): Encode the page name.

Revision 1.374 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 9 19:33:23 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.373: +5 -5 lines
Diff to previous 1.373
(GetCommentForm, DoEdit, DoPassword): Add accesskey.

Revision 1.373 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 9 19:25:53 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.372: +6 -5 lines
Diff to previous 1.372
(ScriptLink, GetEditLink, GetFooterLinks): Add accesskey.

Revision 1.372 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 6 18:26:15 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.371: +3 -3 lines
Diff to previous 1.371
(Save): Specify 'time' instead of relying on 'undef', as
one user reported that was a problem with his Perl build.

Revision 1.371 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 5 18:04:42 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.370: +12 -13 lines
Diff to previous 1.370
(UpdateReferers): Replace $q->url() with $ScriptName,
since that's the default value.
(GetHtmlHeader): Replace $q->url() with $ScriptName in the default
body class (aka theme).
(DoBrowseRequest): New handling, so that modules/namespaces.pl
works.

Revision 1.370 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 4 17:24:03 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.369: +3 -3 lines
Diff to previous 1.369
(AllPagesList): Produce an error if the pageidx file
exists and cannot be overwritten.

Revision 1.369 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 3 21:50:22 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.368: +3 -3 lines
Diff to previous 1.368
(ResolveId): Fix bug when return existing link.

Revision 1.368 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 2 00:21:48 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.367: +10 -4 lines
Diff to previous 1.367
(ApplyRules): [url] is a dirty rule.

Revision 1.367 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 2 00:15:26 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.366: +4 -5 lines
Diff to previous 1.366
(ApplyRules): The [InterLink:foo], [WikiWord]
and [[[free link]]] patterns were removed.

Revision 1.366 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 31 00:50:25 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.365: +7 -8 lines
Diff to previous 1.365
(ResolveId): Return as a third list item whether the page exists
even if a permanent anchor is found.
(GetPermanentAnchor): Use it.

Revision 1.365 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 31 00:36:07 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.364: +10 -5 lines
Diff to previous 1.364
(ResolveId): Allow override using anchor parameter.
(GetPermanentAnchor): Show link when duplicating an existing page.

Revision 1.364 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 31 00:20:52 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.363: +3 -3 lines
Diff to previous 1.363
(ResolveId): Permanent anchors now take precedence over
existing pages.
(GetPermanentAnchor): Show warning when duplicating an existing
permanent anchor.

Revision 1.363 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 28 17:32:52 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.362: +2 -3 lines
Diff to previous 1.362
(InitLinkPatterns): add irc to $UrlProtocols.

Revision 1.362 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 21 01:56:20 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.361: +97 -78 lines
Diff to previous 1.361
(RunMyRules, PrintCache): Start with 0 again.
(GetInterLink, GetUrl, GetPageOrEditLink): Due to RunMyRules changes...
(PrintFooter): Split into several new functions.
(GetSisterSites, GetNearLinksUsed, GetFooterTimestamp)
(GetAdminBar, GetFooterLinks, GetCommentForm): New functions.

Revision 1.361 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 19 15:40:28 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.360: +13 -13 lines
Diff to previous 1.360
(GetPageParameters, GetPageOrEditLink): Add UrlEncode thanks to wctang.
(ScriptLink, GetAuthorLink, GetDownloadLink): Dito.
(GetAuthorLink, PrintFooter, PrintPage, PrintSearchResultEntry): Dito.

Revision 1.360 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 19 00:20:45 2004 UTC (8 years, 1 month ago) by as
Branch: MAIN
Changes since 1.359: +15 -8 lines
Diff to previous 1.359
(PrintWikiToHTML, PrintCache): Start with
$FootnoteNumber = 1.
(BracketLink): New.
(GetInterLink, GetUrl): Use it, and add "outside" class if
necessary.
(GetPageOrEditLink): Use it.
(GetHtmlHeader): Default CSS for a.outside.

Revision 1.359 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 15 22:30:32 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.358: +23 -13 lines
Diff to previous 1.358
(InitVariables): Add $RssInterwikiTranslate.
(PrintFooter): Added admin bar inspired from UseMod 1.0.
(ReBrowsePage): Third parameter is the anchor, UrlEncode all parameters.
(DoPost): No longer encode id.

(BrowseResolvedPage): Add third parameter to call to ReBrowsePage.

(RSS): Use three-digit numbers to number items without a
timestamp, so that the number is not recognized as a valid
date (year-only) when printing the lines.

Support for Chinese pages, thanks to Ray and wctang.
(GetDownloadLink, BrowseResolvedPage, DoEdit): UrlEncode the page
id in the action.
(GetSearchLink): UrlEncode the name.
(DoPost): UrlEncode the page when calling ReBrowsePage..

Revision 1.358 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 15 20:08:08 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.357: +9 -8 lines
Diff to previous 1.357
Support for Chinese pages, thanks to Ray and wctang.
(GetDownloadLink, BrowseResolvedPage, DoEdit): UrlEncode the page
id in the action.
(GetSearchLink): UrlEncode the name.
(DoPost): UrlEncode the page when calling ReBrowsePage..

Revision 1.357 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 15 19:56:38 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.356: +2 -2 lines
Diff to previous 1.356
(RSS): Continuing the same fix.

Revision 1.356 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 15 19:48:58 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.355: +2 -2 lines
Diff to previous 1.355
(RSS): Use three-digit numbers to number items without a
timestamp, so that the number is not recognized as a valid
date (year-only) when printing the lines.

Revision 1.355 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 13 18:26:37 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.354: +2 -2 lines
Diff to previous 1.354
(RSS): Print "UTC" only when time was provided.

Revision 1.354 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 12 20:10:55 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.353: +2 -2 lines
Diff to previous 1.353
(RSS): Fix bug in previous commit.

Revision 1.353 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 12 19:47:32 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.352: +2 -2 lines
Diff to previous 1.352
(RSS): Parse more dates: Time, day, and month are optional.

Revision 1.352 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 12 00:57:32 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.351: +11 -9 lines
Diff to previous 1.351
(GetHtmlHeader): Some more default CSS tinkering; hide
form and div.refer when printing.
(DoEdit): Put preview at the top of the page.

Revision 1.351 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 10 20:40:36 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.350: +2 -2 lines
Diff to previous 1.350
(GetHtmlHeader): Fixed default CSS.

Revision 1.350 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 9 02:23:06 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.349: +4 -2 lines
Diff to previous 1.349
(GetDownloadLink): Link to image page, if necessary.

Revision 1.349 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 9 02:00:23 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.348: +13 -4 lines
Diff to previous 1.348
more minor css changes

Revision 1.348 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 9 01:11:52 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.347: +4 -4 lines
Diff to previous 1.347
more minor css changes

Revision 1.347 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 9 00:51:24 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.346: +16 -13 lines
Diff to previous 1.346
more minor css changes

Revision 1.346 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 23:20:45 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.345: +19 -19 lines
Diff to previous 1.345
(GetInterLink, GetUrl, GetPageOrEditLink, GetEditLink)
(GetPageLink, GetRcHtml, GetOldPageLink, ScriptLinkDiff)
(GetHistoryLink, GetRCLink, PrintAllPages): Use more CSS classes.

Revision 1.345 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 20:01:32 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.344: +4 -4 lines
Diff to previous 1.344
(GetDownloadLink): Use a name without underscores for the link.

Revision 1.344 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 19:59:49 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.343: +2 -2 lines
Diff to previous 1.343
(GetDownloadLink): Use '?' as the name of the link.

Revision 1.343 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 19:57:22 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.342: +10 -7 lines
Diff to previous 1.342
(Upload, GetDownloadLink, ApplyRules): Renamed from Upload to
GetDownloadLink.  Add edit link if image doesn't exist.

Revision 1.342 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 01:26:13 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.341: +2 -2 lines
Diff to previous 1.341
(PrintFooter): Bugfix missing page id.

Revision 1.341 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 01:22:56 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.340: +9 -1 lines
Diff to previous 1.340
(PrintFooter): Add lock and unlock links for admins.

Revision 1.340 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 8 01:11:22 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.339: +18 -4 lines
Diff to previous 1.339
(%RssInterwikiTranslate, $RssInterwikiTranslateInit): New
(InitVariables): Initialize the two.
($RssInterwikiTranslate): New.
(@LockOnCreation): Lock it upon creation.
(RssInterwikiTranslateInit): New.
(RSS): Call RssInterwikiTranslateInit if required.

Revision 1.339 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 20:37:13 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.338: +2 -1 lines
Diff to previous 1.338
(Upload): Use FreeToNormal on inlined images.

Revision 1.338 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 20:32:05 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.337: +5 -1 lines
Diff to previous 1.337
(ApplyRules): Added image inlining.

Revision 1.337 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 19:41:30 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.336: +20 -23 lines
Diff to previous 1.336
(ApplyRules, GetPageOrEditLink): Take brackets correctly into account for free links.
(GetPageLink): Don't test for $FreeLinks before applying FreeToNormal.
(GetEditLink, BrowseResolvedPage, GetPageParameters): Ditto.
(DoPost, GetPermanentAnchor): Ditto.
(GetHttpHeader): Don't send last-modified header when $UseCache is less than 2.
(PrintFooter): Link to password action when a page is read-only.

Revision 1.336 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 13:32:35 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.335: +2 -2 lines
Diff to previous 1.335
(ApplyRules): RSS rule, fix whitespace splitting that breaks new RSS functionality.

Revision 1.335 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 12:58:17 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.334: +2 -2 lines
Diff to previous 1.334
(RSS): Remove channel title from title attribute of the link; use
$RssInterwikiTranslate on the URL if no interwiki was specified instead.

Revision 1.334 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 7 12:10:28 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.333: +8 -5 lines
Diff to previous 1.333
(GetInterLink): Add more spans to interlinks.
(RSS): Append channel title to title attribute of the link.
(GetFormStart): Second parameter to choose GET instead of POST.
(GetSearchForm): Choose GET instead of POST.

Revision 1.333 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 28 00:36:35 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.332: +2 -2 lines
Diff to previous 1.332
Oops, $UsePathInfo default was set to 0 for testing purposes!

Revision 1.332 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 28 00:27:17 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.331: +18 -7 lines
Diff to previous 1.331
(Upload): Use download/pagename links if possible.

Revision 1.331 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 27 23:59:31 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.330: +5 -5 lines
Diff to previous 1.330
(DoDownload, DoPost): Only test for MIME type matches if
@UploadTypes is not empty.

Revision 1.330 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 22:50:42 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.329: +4 -4 lines
Diff to previous 1.329
(ReportError): Typo.

Revision 1.329 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 22:33:34 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.328: +42 -38 lines
Diff to previous 1.328
(ReportError, BrowsePage, GetHeader, GetHttpHeader): Add error status.
(DoWikiRequest, InitVariables, DoBrowseRequest, ValidIdOrDie)
(BrowseResolvedPage, DoRollback, SavePage, ReadFileOrDie)
(WriteStringToFile, AppendStringToFile, RequestLockDir)
(DoEdit, DoDownload, UserIsAdminOrError, DoPost)
(DoSurgeProtection): Added specific HTTP status codes.

Revision 1.328 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 23 23:53:31 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.327: +5 -2 lines
Diff to previous 1.327
(GetReferers): Convert escapes back to bytes for the
title (at least if they use the same coding system it will look
good).

Revision 1.327 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 23 22:57:18 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.326: +11 -8 lines
Diff to previous 1.326
(BrowseResolvedPage): Special treatment for non-existing pages: 'new' status.
(BrowsePage, GetHeader): Pass 'new' status on.
(GetHttpHeader): Return 404 status code if 'new'.

Revision 1.326 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 23 21:56:31 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.325: +123 -142 lines
Diff to previous 1.325
(%Action): New option.
(DoBrowseRequest): Use it.  Major change in how actions are handled!
Lots of whitespace (tabified)

Revision 1.325 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 22 16:03:41 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.324: +3 -6 lines
Diff to previous 1.324
(GetAuthorLink): Use ScriptLink to link to author.

Revision 1.324 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 21 14:25:02 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.323: +18 -17 lines
Diff to previous 1.323
($HtmlHeaders): New option.
(GetHtmlHeader): Use it.

Revision 1.323 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 20 20:22:16 2004 UTC (8 years, 2 months ago) by as
Branch: MAIN
Changes since 1.322: +3 -3 lines
Diff to previous 1.322
(Init): Only load modules and config file if they
haven't been loaded already, so that sub redefinitions don't cause
havoc in a mod_perl environment.

Revision 1.322 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 11 22:33:33 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.321: +5 -4 lines
Diff to previous 1.321
(@KnownLocks): New variable.
(DoUnlock): Use it.

Revision 1.321 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 9 22:11:15 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.320: +8 -6 lines
Diff to previous 1.320
(DoShowVersion): Print diff and diff3 dependencies.

Revision 1.320 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 8 15:09:30 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.319: +4 -2 lines
Diff to previous 1.319
(Init): Use binmode raw for STDOUT.
(ApplyRules): Use binmode utf8 for STDOUT if $HttpCharset is
'UTF-8' (the default).  Reset to raw immediately.
(RSS): Don't downgrade anymore.

Revision 1.319 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 6 10:01:26 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.318: +6 -2 lines
Diff to previous 1.318
(Cookie): Test using defined.

Revision 1.318 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 5 23:48:48 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.317: +2 -2 lines
Diff to previous 1.317
(Cookie): The cookie is considered to have changed under the following
condition: If the value was already set, and the new value is not the
same as the old value, or if there was no old value, and the new value
is not the default.

Revision 1.317 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 3 18:21:25 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.316: +9 -6 lines
Diff to previous 1.316
(Cookie): Eliminate uninitialized variable warning.
(ValidId): Added a specific error text if the id is empty.
(DoBrowseRequest): Handle wiki/download/page and wiki/raw/page.

Revision 1.316 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 1 11:57:15 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.315: +4 -2 lines
Diff to previous 1.315
(SearchNearPages): Print "Near pages:" only when there
actually are any.

Revision 1.315 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 02:19:18 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.314: +2 -3 lines
Diff to previous 1.314
(Cookie): Fix again.

Revision 1.314 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 02:08:17 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.313: +4 -2 lines
Diff to previous 1.313
(DoEdit): Bugfix with conditional declaration: my
$header = ... if $foo; If not $foo, $header will not be
initialized and in a mod_perl environment this caused Oddmuse to
keep showing the old header.
(CloseHtmlEnvironment): Similar suspicious code.
(InitCookie): Get rid of uninitialized variable warnigs.
(ApplyRules): Rewrite handling to avoid using m//m when matching
lines, local HtmlStack to get rid of uninitialized variable
warnigs.
(BrowsePage, ScriptLinkDiff): Get rid of uninitialized variable warnigs.
(Cookie, GetTextRevision, GetCluster): Ditto.
(DeletePermanentAnchors): Ditto, by removing relying on $_.
($RunCGI): Can be set outside the script.

Revision 1.313 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 01:59:03 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.312: +43 -26 lines
Diff to previous 1.312
(DoEdit): Bugfix with conditional declaration: my
$header = ... if $foo; If not $foo, $header will not be
initialized and in a mod_perl environment this caused Oddmuse to
keep showing the old header.
(CloseHtmlEnvironment): Similar suspicious code.
(InitCookie): Get rid of uninitialized variable warnigs.
(ApplyRules): Rewrite handling to avoid using m//m when matching
lines, local HtmlStack to get rid of uninitialized variable
warnigs.
(BrowsePage, ScriptLinkDiff): Get rid of uninitialized variable warnigs.
(Cookie, GetTextRevision, GetCluster): Ditto.
(DeletePermanentAnchors): Ditto, by removing relying on $_.
($RunCGI): Can be set outside the script.

Revision 1.312 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 00:48:29 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.311: +3 -2 lines
Diff to previous 1.311
(CloseHtmlEnvironment): Similar suspicious code.

Revision 1.311 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 00:42:45 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.310: +7 -3 lines
Diff to previous 1.310
(DoEdit): Bugfix with conditional declaration: my
$header = ... if $foo; If not $foo, $header will not be
initialized and in a mod_perl environment this caused Oddmuse to
keep showing the old header.

Revision 1.310 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 27 01:35:52 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.309: +12 -2 lines
Diff to previous 1.309
(@MyRules): New option.
(RunMyRules): New function.
(ApplyRules): Call it.

Revision 1.309 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 27 00:25:35 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.308: +3 -2 lines
Diff to previous 1.308
($ModulesDescription): New variable.
(InitVariables): Use it.

Revision 1.308 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 25 21:25:52 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.307: +7 -5 lines
Diff to previous 1.307
(%InvisibleCookieParameters): New option.
(Cookie): Use it.

Revision 1.307 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 01:00:16 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.306: +4 -4 lines
Diff to previous 1.306
(DoUnlock, PrintSearchResultEntry): Use extra
parenthesis around the qw() for Perl 5.005.

Revision 1.306 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 23 01:52:22 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.305: +5 -47 lines
Diff to previous 1.305
($NotifyTracker, %NotifyJournalPage): Removed.
(DoBrowseRequest): Removed ping action.
(DoPost): Don't call PingTracker anymore.
(PingTracker): Moved.
(DoPingTracker): Moved.

Revision 1.305 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 23 00:39:39 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.304: +12 -4 lines
Diff to previous 1.304
($DataDir): Allow setting it via the environment
variable "WikiDataDir" (for mod_perl).
($ModuleDir): New variable.
(Init): Load modules in $ModuleDir.

Revision 1.304 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 19 01:23:19 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.303: +33 -19 lines
Diff to previous 1.303
(BrowsePage): Implement comment preview.
(PrintFooter): Implement comment preview.
(DoPost): Put comment munging into new sub AddComment, and call
either BrowsePage or Do Edit when previewing depending on whether
we are previewing a comment or an edit.
(AddComment): New.

Revision 1.303 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 19 00:46:11 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.302: +1 -2 lines
Diff to previous 1.302
(PrintFooter): Comments are no longer minor edits.

Revision 1.302 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 19 00:03:47 2004 UTC (8 years, 3 months ago) by as
Branch: MAIN
Changes since 1.301: +2 -2 lines
Diff to previous 1.301
(RSS): Print error message when parsing fails.

Revision 1.301 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 11 16:56:41 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.300: +2 -3 lines
Diff to previous 1.300
* wiki.pl: No longer use bytes pragma, because after printing RSS
feeds Perl will be messed up and some texts such as Links and text
in the footer containing Umlauts will print as bytes instead of
UTF-8 strings.  They are double-encoded.
(RSS): Use utf::downgrade to downgrade the data received from the
network.  This is sad, since printing Latin-1 encoded RSS feeds in
a UTF-8 wiki no longer works, but protecting the rest of the page
from corruption when an UTF-8 feed is printed in a UTF-8 wiki is
more important.

Revision 1.300 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 19:42:17 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.299: +4 -11 lines
Diff to previous 1.299
(DiffMarkWords): Use WriteStringToFile.
(ApplyRules): Remove no longer used variable.
(InitRequest): Don't call binmode on STDOUT.

At the top: use bytes pragma added to disable all unicode features.
A byte is a byte and not potentially part of a multi-byte character.

Revision 1.299 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 03:35:46 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.298: +3 -2 lines
Diff to previous 1.298
(InitRequest): Use binmode :utf8 for the entire session.

Revision 1.298 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 02:56:11 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.297: +1 -3 lines
Diff to previous 1.297
(ApplyRules): Removed binmode call, since that led to weird errors
in perl 5.8.0 and 5.8.2 when printing large amounts of data (seen
when using action=all).

Revision 1.297 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 00:57:34 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.296: +3 -2 lines
Diff to previous 1.296
(GetPageOrEditLink): Add class to edit links.

Revision 1.296 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 19:07:49 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.295: +7 -18 lines
Diff to previous 1.295
(PrintFooter): Text change.
(PrintAllPages): Refresh languages, too, when cache=0 is used.
(DoMaintain): No longer handle cache parameter.

Revision 1.295 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 17:13:34 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.294: +3 -3 lines
Diff to previous 1.294
(DoMaintain): Add space to printout.

Revision 1.294 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 16:59:25 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.293: +5 -5 lines
Diff to previous 1.293
(DoMaintain): Determine languages, too, if cache.

Revision 1.293 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 16:41:53 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.292: +7 -2 lines
Diff to previous 1.292
(PrintFooter): Use "Back to X".
(PrintAllPages): Allow filtering by language.

Revision 1.292 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 16:04:32 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.291: +2 -2 lines
Diff to previous 1.291
(PrintFooter): Text change.

Revision 1.291 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 16:02:40 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.290: +2 -2 lines
Diff to previous 1.290
(PrintFooter): Text change.

Revision 1.290 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 14:26:27 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.289: +2 -2 lines
Diff to previous 1.289
(DoIndex): Rework how the subtitle is created.

Revision 1.289 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 14:23:43 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.288: +40 -29 lines
Diff to previous 1.288
($PermanentAnchorsInit): New variable.
(ResolveId): Use it to ReadPermanentAnchors() only once per
session.
(ReadPermanentAnchors): Set it.
(DeletePermanentAnchors): Use it.
(UserIsEditor): Change parameters; permanentanchors=2 no longer
works, instead there is links=0 to disable ordinary links; near=1
is new to include near links.
(GetFullLinkList): Change parameters; url=2 no longer works,
instead there is links=0 to disable ordinary links, and inter=1
for interlinks.

Revision 1.288 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 05:26:53 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.287: +33 -56 lines
Diff to previous 1.287
(GetTextRevision): New function, factored out of BrowsePage.
(BrowsePage, DoEdit, DoDownload): Use it.

Revision 1.287 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 00:05:25 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286
update copyright

Revision 1.286 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 1 23:57:50 2004 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.285: +2 -2 lines
Diff to previous 1.285
(PrintSearchResult): Bugfix.

Revision 1.285 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 31 19:01:37 2003 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.284: +3 -3 lines
Diff to previous 1.284
(PrintSearchResult): Bugfix -- quote HTML only after all
the other stuff has been replaced.

Revision 1.284 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 20:35:32 2003 UTC (8 years, 4 months ago) by as
Branch: MAIN
Changes since 1.283: +5 -3 lines
Diff to previous 1.283
(RSS): Better error message when XML::RSS or
LWP::UserAgent are not available.

Revision 1.283 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 28 12:28:41 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.282: +5 -6 lines
Diff to previous 1.282
(RSS): Improved handling of feeds without dates by using a numeric
counter when necessary.

Revision 1.282 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 28 02:06:31 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.281: +2 -1 lines
Diff to previous 1.281
(DoShowVersion): Print Perl version.

Revision 1.281 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 27 22:21:23 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.280: +2 -2 lines
Diff to previous 1.280
(PrintSearchResultEntry): Bugfix.

Revision 1.280 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 27 22:16:19 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.279: +9 -3 lines
Diff to previous 1.279
(PrintSearchResultEntry): More elaborate linking for wikis that use subpages.

Revision 1.279 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 27 19:34:08 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.278: +4 -7 lines
Diff to previous 1.278
(GetInterSiteUrl): Bugfix: Return nothing if the site is
not found on the intermap.

Revision 1.278 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 13:55:35 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.277: +84 -71 lines
Diff to previous 1.277
(HighlightRegex): New.
(DoSearch, SearchNearPages, PrintSearchResultEntry): Use it.
(PrintSearchResult): Extract HighlightRegex, SearchHighlight and
SearchExtract.
(SearchHighlight, SearchExtract): New.

Revision 1.277 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 24 04:05:18 2003 UTC (8 years, 4 months ago) by uid68242
Branch: MAIN
Changes since 1.276: +281 -111 lines
Diff to previous 1.276
Catch up after the Savannah crack.

Revision 1.276 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 29 20:55:50 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.275: +9 -12 lines
Diff to previous 1.275
(DoPost): Some refactoring, and making sure that no there is no
conflict warning when a comment is being appended.

Revision 1.275 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 29 15:14:22 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.274: +5 -3 lines
Diff to previous 1.274
(DoSearch): Print footer only when not $raw.

Revision 1.274 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 29 15:07:39 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.273: +71 -70 lines
Diff to previous 1.273
(DoIndex): Print how many pages there are in this sub,
then call PrintPage on every item in the list instead of passing
the list to PrintPageList.
(PrintPageList): Removed.
(PrintPage): New, replaces PrintPageList.
(DoSearch): Print how many pages there are at the end of the list,
then call PrintSearchResult or PrintPage on every item in the list
instead of passing the list to PrintSearchResults.
(PrintSearchResults): Removed.
(PrintSearchResult): New, replaces PrintSearchResults.

Revision 1.273 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 22:34:55 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.272: +17 -32 lines
Diff to previous 1.272
(GetRcRss): Some refactoring.
(PrintSearchResults): Elipsis no longer bold.

Revision 1.272 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 16:24:12 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.271: +13 -8 lines
Diff to previous 1.271
(RcHeader, GetRc, SearchTitleAndBody): Rename $langFilter -> $lang;
(DoSearch, Replace): Replacement is language sensitive.

Revision 1.271 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 15:59:20 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.270: +5 -4 lines
Diff to previous 1.270
(PrintPageList): Handle lang attribute.

Revision 1.270 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 15:50:50 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.269: +14 -8 lines
Diff to previous 1.269
(PrintPageList): Handle lang attribute.

Revision 1.269 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 15:39:58 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.268: +3 -5 lines
Diff to previous 1.268
(SearchTitleAndBody, GetRc): Tweaking handling of "none".

Revision 1.268 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 15:37:22 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.267: +5 -3 lines
Diff to previous 1.267
(SearchTitleAndBody, GetRc): Tweaking handling of "none".

Revision 1.267 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 15:33:03 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.266: +32 -31 lines
Diff to previous 1.266
(SearchTitleAndBody, GetRc): Tweaking handling of "none".
(DoSearch): Only replace when lang is not given.
(PrintPageList): Handle raw parameter.
(DoBrowseRequest): Call DoIndex without raw parameter.
(DoIndex): Print header only when no raw parameter; retrieve it here.
(GetSearchForm, GetFilterForm): Use lang parameter as default.

Revision 1.266 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 00:43:42 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.265: +18 -10 lines
Diff to previous 1.265
(%CookieParameters): Added 'lang'.
(RcHeader, GetFilterForm, GetRc): Changed 'rclang' to 'lang'.
(GetSearchForm): Add language textfield.
(SearchTitleAndBody): Filter by languages.

Revision 1.265 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 00:14:32 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.264: +8 -6 lines
Diff to previous 1.264
($UseCache): New variable.
(BrowsePage): Check it before allowing the use of the cache.
(PrintAllPages): Check it before allowing the use of the cache.

Revision 1.264 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 26 23:59:57 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.263: +6 -6 lines
Diff to previous 1.263
(GetRc): When a page has no languages, it will be
assigned the language 'none'.
(Save): Save languages as part of the page.
(GetLanguages): Return the languages in a string instead of a listref.
(WriteRcLog): Use the languages string directly.

Revision 1.263 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 21 18:40:03 2003 UTC (8 years, 5 months ago) by as
Branch: MAIN
Changes since 1.262: +2 -1 lines
Diff to previous 1.262
(DoShowVersion): Print server software as well.

Revision 1.262 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 21:38:32 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.261: +4 -3 lines
Diff to previous 1.261
(SaveKeepFile): Set keep-ts when moving a page to the keep file.
(ExpireKeepFiles): Use keep-ts to decide whether to expire or not.

Revision 1.261 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 19:08:14 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.260: +2 -2 lines
Diff to previous 1.260
(DoMaintain): Bugfix; the call to sort was borked.

Revision 1.260 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 13:52:03 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.259: +4 -4 lines
Diff to previous 1.259
(Tss): @_[0] -> $_[0]
(PrintSearchResults): \1 -> $1

Revision 1.259 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 15 17:13:14 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.258: +4 -3 lines
Diff to previous 1.258
(OpenPage): No text if this a comment page.

Revision 1.258 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 12 13:52:14 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.257: +42 -31 lines
Diff to previous 1.257
(%RssInterwikiTranslate): New variable.
(RSS): Use 'diff' instead of '(diff)' for translating; change
order of attributes per line; separate by days if supported, print
time if supported; use %RssInterwikiTranslate.
(GetRcHtml): Use 'diff' instead of '(diff)' for translating;
change order of attributes per line.
(GetHistoryLine): Change order of attributes per line.
(CalcTime): Use leading zero for hours.

Revision 1.257 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 11 17:21:40 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.256: +2 -2 lines
Diff to previous 1.256
(DoIndex): Sort pages.

Revision 1.256 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 11 17:19:14 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.255: +10 -7 lines
Diff to previous 1.255
(DoIndex): Add new parameter permanentanchors.
(DoIndex): Sort pages.
(PrintPageList): Use ResolveId to get link class correct.
(AllPagesList): Don't sort list.
(DoMaintain): Sort pages.

Revision 1.255 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 11 17:09:05 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.254: +9 -2 lines
Diff to previous 1.254
(DoIndex): Add new parameter permanentanchors.

Revision 1.254 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 10 17:06:52 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.253: +4 -5 lines
Diff to previous 1.253
(InitVariables): Set $FullUrl to $ScriptName if unset.

Revision 1.253 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 9 18:42:12 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.252: +2 -2 lines
Diff to previous 1.252
(GetInterLink): Support %s in the interwiki link.

Revision 1.252 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 22:37:59 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.251: +3 -3 lines
Diff to previous 1.251
(PrintWikiToHTML): Not fatal if we can't get the main lock.

Revision 1.251 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 22:26:51 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.250: +2 -2 lines
Diff to previous 1.250
(Save): Only call UpdateDiffs when the new revision is > 1.

Revision 1.250 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 13:54:00 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.249: +6 -5 lines
Diff to previous 1.249
(RSS): Simplified date handling a bit.

Revision 1.249 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 12:27:58 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.248: +2 -2 lines
Diff to previous 1.248
(RSS): Add $contributor back to the line.

Revision 1.248 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 12:23:54 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247
(RSS): Cosmetics.

Revision 1.247 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 12:23:08 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.246: +2 -2 lines
Diff to previous 1.246
(RSS): Cosmetics.

Revision 1.246 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 12:14:34 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.245: +29 -20 lines
Diff to previous 1.245
(GetRcRss): Provide diff link only if the wiki can handle it.
(GetFilterForm): Use a table.
(RSS): Handle diff and history links.

Revision 1.245 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 6 18:17:29 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.244: +26 -13 lines
Diff to previous 1.244
(DoRc): Append filter form.
(RcHeader): Fix stickiness of showedit attribute, make days sticky.
(GetFilterForm): New.

Revision 1.244 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 6 16:08:18 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.243: +12 -6 lines
Diff to previous 1.243
(RSS): RDF namespace taken into account.

Revision 1.243 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 6 09:08:32 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.242: +6 -3 lines
Diff to previous 1.242
(RSS): Strip whitespace from $interwiki.

Revision 1.242 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 6 09:02:05 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.241: +6 -3 lines
Diff to previous 1.241
(RSS): Print interwiki link if provided and RSS feeds are being merged.

Revision 1.241 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 5 23:37:36 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.240: +22 -15 lines
Diff to previous 1.240
(%NotifyJournalPage): New variable.
(PingTracker): Use it.

Revision 1.240 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 5 22:29:38 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.239: +3 -2 lines
Diff to previous 1.239
(WriteRcLog): Check whether $langref is empty before dereferencing.

Revision 1.239 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 22:03:52 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.238: +5 -5 lines
Diff to previous 1.238
(ReportError): Don't cache errors.
(GetHeader): Use $Now if no caching specified.
(DoShowVisitors): Don't cache.

Revision 1.238 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 18:39:41 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.237: +4 -11 lines
Diff to previous 1.237
(GetPermanentAnchor): Don't always write permanent anchors, and
don't double-encode page ids.
(DoRc): Remove timestamp.
(RcHeader): Remove computation of lastTs, and simplify the link to
"list later changes".

Revision 1.237 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 14:03:24 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.236: +2 -2 lines
Diff to previous 1.236
(ApplyRules): Use binmode to switch back to the bytes layer instead of raw.

Revision 1.236 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 13:52:29 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.235: +41 -42 lines
Diff to previous 1.235
(InitRequest): Use binmode on STDOUT for UTF-8 printing of RSS.
(RSS): No more encoding and decoding stuff.  Rely on Perl 5.8 to
do this.
(DoShowVersion): Add more debugging information by using the
dependencies parameter.
(GetRedirectPage): Only use / when not using query syntax but
keyword syntax.
(ApplyRules): Use binmode to tell Perl that the RSS output can be
printed as UTF-8.  Everywhere else we are just using raw bytes
ourselves.
(ReadFileOrDie): Use ReportError instead of die.
(WriteStringToFile): Dito.

Revision 1.235 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 01:38:14 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.234: +1 -3 lines
Diff to previous 1.234
(GetDiff): Removed debugging output.

Revision 1.234 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 01:09:37 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.233: +8 -6 lines
Diff to previous 1.233
(InitVariables): Set $FullUrl unless set by user.
(GetRcRss): No need to set $FullUrl anymore.
(GetFormStart): Use $FullUrl instead of $ScriptName.  Suggested by
Björn Lindström to get URL rewriting to work.
(GetRedirectPage): No need to set $FullUrl anymore.  Take
$UsePathInfo into account.  Suggested by Björn Lindström.

Revision 1.233 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 00:55:26 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232
(SmileyReplace): New class.  Suggested by Björn Lindström.

Revision 1.232 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 00:49:01 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.231: +19 -21 lines
Diff to previous 1.231
(PrintHtmlDiff): Call GetKeptDiff without lock parameter.
(GetKeptDiff): No longer accept lock parameter.
(GetDiff): No longer accept lock parameter.  Just use the diff
lock always.
(UpdateDiffs): No longer use lock parameter.
(Save): Make sure the old text is not encoded when it sent to the diff.

Revision 1.231 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 2 17:32:30 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.230: +7 -3 lines
Diff to previous 1.230
(ApplyRules): Permanent anchors are printed using a special span
element when $withanchors is not used (eg. when showing older
revisions of a page).

Revision 1.230 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 2 16:58:47 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.229: +3 -3 lines
Diff to previous 1.229
(DoHistory): Extract revision numbers from the keep file
names.
(GetRefererFile): Changed name of referer files.

Revision 1.229 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 2 01:07:51 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.228: +368 -640 lines
Diff to previous 1.228
Major Rewrite!  This version uses a completely new file format,
and it stores kept revisions in separate files instead of one big
keep file.  Before upgrading to this revision or later, you MUST
run the upgrade-files.pl script.

Revision 1.228 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:33:32 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.227: +3 -3 lines
Diff to previous 1.227
(Clean, ApplyRules, SmileyReplace): Fix the handling of '' and 0 in
Clean().

Revision 1.227 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 19:22:28 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.226: +6 -6 lines
Diff to previous 1.226
(ApplyRules, Clean): More bugfixing with this eating zero bug.  Now
there was the case of extra zeros popping up either after every dirty
block, or after every block.

Revision 1.226 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 18:32:51 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.225: +31 -28 lines
Diff to previous 1.225
(Clean): Fix "eating of zero" bug.
(Dirty): Ditto.
(ApplyRules): Optimize regexp matches by working around /m, and
fix "eating of zero" bug.
(GetRcRss): Replace & with ; in URLs.
(ScriptLinkDiff): Ditto.
(DoPost): Optimize regexp matches by working around $'.

Revision 1.225 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 27 17:25:18 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.224: +10 -8 lines
Diff to previous 1.224
($PageCluster): New variable.
(GetRc): Only cluster when $PageCluster is set.
(GetRcHtml): Only cluster when $PageCluster is set.
(GetCluster): Only cluster when $PageCluster is set.  Main page
has to stand on its own on the first line.

Revision 1.224 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 25 16:58:59 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.223: +69 -127 lines
Diff to previous 1.223
(GenerateAllPagesList): Don't sort intermediary list.
(ApplyRules): Use /o flag for many regular expressions that didn't
use it.
(GetPageLinks): Deleted.
(DoLinks): Allow raw output.
(PrintLinkList): exists=1 only works for raw output now, names
parameter removed, editlink param removed.
(GetFullLinkList): unique, inter, and sort param removed, these
settings are default, now.  page and search param removed.  exists
param handled in PrintLinkList for raw output only. empty param
removed, empty pages are not listed anymore.

Revision 1.223 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 25 13:55:43 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.222: +2 -2 lines
Diff to previous 1.222
(DoPost): bugfix -- use GetParam('raw',0) instead of $raw.

Revision 1.222 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 25 13:54:19 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.221: +6 -1 lines
Diff to previous 1.221
(DoPost): Handle raw=2 edits again.

Revision 1.221 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 22:45:43 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.220: +2 -2 lines
Diff to previous 1.220
(RSS): Add ' -- ' between page link and summary.

Revision 1.220 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 22:20:07 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.219: +6 -4 lines
Diff to previous 1.219
*** empty log message ***

Revision 1.219 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 19:57:08 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.218: +3 -3 lines
Diff to previous 1.218
(PrintFooter): Space after the username label.
(DoEdit): Space after the username label.

Revision 1.218 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 10:55:36 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.217: +17 -14 lines
Diff to previous 1.217
(RcHeader): Inherit rclang as well.
(GetRc): Inherit rclang as well.

Revision 1.217 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 00:34:40 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.216: +2 -1 lines
Diff to previous 1.216
(Clean): Return nothing if empty block (due to
unsuccessful call to MyRules).

Revision 1.216 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 00:01:15 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.215: +140 -203 lines
Diff to previous 1.215
Major rewrite of rules -- if you use DirtyBlock in your config file,
then you will have to rewrite your code.

($Fragment, @Blocks, @Flags): New globals used by ApplyRules.
(Clean): New.
(Dirty): New.
(ApplyRules): Major rewrite, use Clean and Dirty.
(DirtyBlock): Deleted.  Any MyRules in config files must be rewritten.

Revision 1.215 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 19:43:03 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214
(InitLinkPatterns): $InterSitePattern may start with
non-ASCII letters as well.

Revision 1.214 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 00:06:26 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.213: +13 -25 lines
Diff to previous 1.213
(InitVariables): Set $LastUpdate here, if it is not set already.
(BrowsePage): Move the remaining code from NotModified here.  No
longer use Time::ParseDate.
(NotModified): Deleted.
(GetHttpHeader): Send $LastUpdate as Last-modified header.  No
longer send an Expires header (no support for HTTP/1.0 caching).

Revision 1.213 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 19 22:57:30 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.212: +9 -7 lines
Diff to previous 1.212
(NotModified): Protect use of Time::ParseDate with an eval.

Revision 1.212 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 19 14:08:56 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.211: +37 -13 lines
Diff to previous 1.211
(InitVariables): Do not reset $IndexInit anymore.
(Upload): Don't test for $IndexInit before calling AllPagesList.
(BrowsePage): Return if NotModified().
(NotModified): New.
($LastUpdate): New.
(Save): Touch $IndexFile in any case, and set $LastUpdate.
(DoMaintain): Unset $IndexFile when cleaning the cache.
(DoMaintain): Redirect stdout only when required.

Revision 1.211 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 23:20:36 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.210: +3 -3 lines
Diff to previous 1.210
(GetPermanentAnchor): Fix call to ResolveId.

Revision 1.210 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 22:30:54 2003 UTC (8 years, 6 months ago) by as
Branch: MAIN
Changes since 1.209: +12 -11 lines
Diff to previous 1.209
(GetPageOrEditLink): ResolveId returns more data.
(ResolveId): Return more data.
(BrowseResolvedPage): Use it.
(GetHtmlHeader): Add CSS for a.alias.

Revision 1.209 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 11:26:54 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.208: +21 -19 lines
Diff to previous 1.208
(GetHtmlHeader): Added RSS autodiscovery.
(DoBrowseRequest): Renamed &MyAction to &MyActions.
(GetRcRss): Simplification.
(@MyMacros): New.
(DoPost): Apply macros.

Revision 1.208 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 17:25:56 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.207: +2 -2 lines
Diff to previous 1.207
Added comment.

Revision 1.207 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 17:18:09 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.206: +7 -3 lines
Diff to previous 1.206
(WriteReferers): Unlink empty files.

Revision 1.206 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 12:36:41 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.205: +2 -2 lines
Diff to previous 1.205
(RSS): Fix URI extraction regexp that was supposed to remove trailing quotes.

Revision 1.205 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 12:23:56 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.204: +18 -19 lines
Diff to previous 1.204
(RSS): Rewrote encoding handling (depends on Unicode::MapUTF8, now!).
Fixed keyhandling.

Revision 1.204 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 02:01:47 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.203: +2 -2 lines
Diff to previous 1.203
(RcHeader): Add space.

Revision 1.203 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 01:48:12 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.202: +24 -8 lines
Diff to previous 1.202
(ApplyRules): Add new ! rule.
(RcHeader): Add interface for all and showedit parameters to recent changes.

Revision 1.202 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 16 12:04:07 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.201: +5 -4 lines
Diff to previous 1.201
(DoBrowseRequest): Simplify call to DoPost.
(DoPost): Call FreeToNormal on the pagenamee, and check for validity here.

Revision 1.201 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 23:59:10 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.200: +2 -2 lines
Diff to previous 1.200
(RcHeader): Do not double rcclusteronly.

Revision 1.200 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 21:29:59 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.199: +9 -6 lines
Diff to previous 1.199
(ScriptLink): Add title parameter.
(GetSearchLink): Add title parameter.
(GetHeader): Add title to header.
(GetPermanentAnchor): Add title to permanent anchor definition.

Revision 1.199 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 15:23:19 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.198: +3 -3 lines
Diff to previous 1.198
(BrowsePage): Fix detection of #REDIRECT bug.

Revision 1.198 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 23:09:00 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.197: +5 -4 lines
Diff to previous 1.197
(RcHeader): Remember rc parameters when printing the header.

Revision 1.197 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 22:39:25 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.196: +3 -2 lines
Diff to previous 1.196
(DoSearch): Add link to filtered recent changes.

Revision 1.196 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 22:09:19 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.195: +49 -65 lines
Diff to previous 1.195
(DoRc): Extract header printing into RcHeader.
(RcHeader): New.
(GetRc): Implement rcfilteronly parameter (ie. filtered recent
changes).

Revision 1.195 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 12 22:24:33 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.194: +38 -40 lines
Diff to previous 1.194
(DoRc): Rewrite in a more compact call to map.
(GetRc): Rewrite in a more compact call to map.
(DoMaintain): Prune referrers.
(DeletePage): Rewrite in a more compact loop.
(ReadReferers): Call ExpireReferers.
(ExpireReferers): New function extracted from UpdateReferers.
(UpdateReferers): Don't expire referrers, since that happens upon
reading.

Revision 1.194 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 12 16:55:54 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.193: +40 -24 lines
Diff to previous 1.193
(SearchTitleAndBody): Support "and" and "or".
(PrintSearchResults): Support "and" and "or".

Revision 1.193 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 12 13:43:13 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.192: +3 -2 lines
Diff to previous 1.192
(Cookie): Make the message more readable.

Revision 1.192 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 12 02:37:52 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.191: +99 -136 lines
Diff to previous 1.191
($SurgeProtectionTime, $SurgeProtectionViews): Doubled
defaults.
(InitVariables): $NotFoundPg also passed through FreeToNormal.
(ApplyRules): Removed rule for pointing to permanent
anchors [##like this].
(GetPageOrEditLink): Call ResolveId.
(DoBrowseRequest): Call BrowseResolvedPage.
(DoBrowseRequest): If MyAction is defined, it is called instead of
doing the default error reporting.
(BrowseResolvedPage): New.
(ResolveId): New.
(BrowsePage): Simplified #REDIRECT handling.
(GetRedirectPage): Removed third parameter since it was unused.
(ReBrowsePage): Removed third parameter since it was unused.
(DoPost): Removed third parameter since it was unused.
(DoRandom): Removed extra parameters from call to ReBrowsePage.
(GetSearchLink): Take class and name parameters.
(GetHtmlHeader): Removed CSS rules for a.link from the default CSS.
(GetPermanentAnchor): Simplified.
(GetPermanentAnchor): Removed; use GetSearchLink for rendering.

Revision 1.191 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 22:22:18 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.190: +4 -2 lines
Diff to previous 1.190
(GetRcHtml): Don't show "(diff)" link for clusters.
Show the label "Cluster:" instead.

Revision 1.190 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 13:49:56 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.189: +2 -2 lines
Diff to previous 1.189
(DoRc): Adapt the header for clustered pages.

Revision 1.189 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 13:45:04 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.188: +8 -3 lines
Diff to previous 1.188
(DoRc): Adapt the header for clustered pages.

Revision 1.188 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 12:59:39 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.187: +63 -41 lines
Diff to previous 1.187
(T): Simplified.
(BrowsePage): Print list of recent changes if parameter
rcclusteronly is set.
(DoRc): Print header if rcclusteronly is set.
(GetRc): Implement page clustering logic.
(GetRcHtml, GetRcText, GetRcRss): New parameter cluster.
(GetRcRss): Fix bug with less than 15 items in the history.
(GetOldPageParameters): Renamed to GetPageParameters.
(GetPageParameters, GetOldPageLink): New parameter cluster.
(Save): Determine page cluster when saving.
(GetCluster): New sub.
(WriteRcLog): New parameter cluster.
(DoSurgeProtection): Fix bug allowing unlock action if unable to
get visitor lock.

Revision 1.187 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 22:45:32 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.186: +26 -19 lines
Diff to previous 1.186
(DoPost): Rewrote conflict handling again.

Revision 1.186 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 22:16:49 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.185: +9 -7 lines
Diff to previous 1.185
(ExpireKeepFile, WriteStringToFile, AppendStringToFile):
Spelling: cant->cannot.
(DoPost): Use diff3 for conflict merging, and use a pre block for
the conflict itself.
(GetPermanentAnchor): New text.

Revision 1.185 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 7 16:42:36 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.184: +3 -4 lines
Diff to previous 1.184
(ValidId): Only avoid spaces in filenames when not $FreeLinks.

Revision 1.184 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 19:05:16 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183
(MergeRevisions): Redirect stderr output of merge.

Revision 1.183 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 18:23:38 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.182: +6 -5 lines
Diff to previous 1.182
Bugfixes.

Revision 1.182 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 17:38:22 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.181: +33 -5 lines
Diff to previous 1.181
(DoUnlock): Added merge back.
(DoEdit): Added oldtime back.
(DoPost): If new author and oldtime is given, attempt a merge.
Use a message if the merge fails.  Use a message if conflict
markers are detected.
(MergeRevisions): Added back.

Revision 1.181 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 16:59:57 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.180: +21 -20 lines
Diff to previous 1.180
(CalcTimeSince): New, moved from DoShowVisitors.
(DoShowVisitors): Call CalcTimeSince.
(DoPost): Increase timespan to 10 minutes and call CalcTimeSince.

Revision 1.180 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 13:02:29 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.179: +38 -116 lines
Diff to previous 1.179
(%CookieParameters): Added 'msg'.
(BrowsePage): Display the content of the 'msg' parameter, and
remove it from the cookie.
(Cookie): Changes to the 'msg' parameter only will not cause the
cookie to be shown.
(Init): Fixed typo in the error message for config pages.
(DoEdit): Less parameters.
(DoBrowseRequest): Call DoEdit with less parameters.
(DoBrowseRequest): Get rid of the oldtime parameter and use Save
instead (the name of the save button).  Get rid of raw=2.
(PrintFooter): Get rid of oldtime and oldconflict parameters.
(DoUnlock): No longer consider the merge lock.
(DoEdit): Get rid of conflict handling.
(DoPost): Don't handle raw=2.  Get rid of conflict handling.  Just
use add the 'msg' parameter to the cookie if somebody else changed
the page in the last two minutes.

Revision 1.179 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 01:20:41 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.178: +3 -1 lines
Diff to previous 1.178
(DoPost): Report errors if the browser does not provide enough
information.

Revision 1.178 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 4 00:57:23 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.177: +3 -2 lines
Diff to previous 1.177
(RequestLockDir): Added return back in for the case
where no error is reported.

Revision 1.177 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 18:18:05 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.176: +3 -3 lines
Diff to previous 1.176
(GetRcRss): Default is 15 not 14.
(RSS): Take care not to make the list larger!

Revision 1.176 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 17:53:28 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.175: +15 -6 lines
Diff to previous 1.175
(RSS): Remove extra quotes around URIs.  'title' is no longer
guaranteed.  Use 'guid' if available.  But it back in a list.

Revision 1.175 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 11:19:46 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.174: +3 -3 lines
Diff to previous 1.174
(RSS): Reinitialize the RSS parser and the HTTP user
agent for every URI.

Revision 1.174 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 21:24:36 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173
(GetRcRss): Use rsslimit-1 instead of rsslimit.

Revision 1.173 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 21:20:42 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.172: +4 -4 lines
Diff to previous 1.172
(ApplyRules): Allow any whitespace, not only spaces, inside rss,
include, and journal pseudo-tags.

Revision 1.172 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 21:10:01 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.171: +41 -39 lines
Diff to previous 1.171
(ApplyRules): Allow uptional maxitems argument for RSS
feeds, and allow multiple RSS feeds to be merged.
(RSS): Implement it.

Revision 1.171 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 30 08:09:01 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.170: +16 -22 lines
Diff to previous 1.170
(RequestLockOrError): Renamed from RequestLock.
(PrintWikiToHTML): Renamed RequestLock.
(DoRollback): Renamed RequestLock, don't return.
(UserIsAdminOrError): Use ReportError.
(Replace): Renamed RequestLock, don't return.
(DoPost): Renamed RequestLock, don't return.
(DoPost): Don't call ReleaseLock before ReportError.
(DoMaintain): Renamed RequestLock, don't return.
(DoConvert): Renamed RequestLock, don't return.  Don't return upon
failed UserIsAdminOrError.
(GetPermanentAnchor): Don't specify separate wait values.
(DeletePermanentAnchors): Don't specify separate wait values.

Revision 1.170 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 30 07:45:53 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.169: +31 -60 lines
Diff to previous 1.169
Moved use CGI and use CGI::Carp to the top.
(%Lock): New variable.
(InitVariables): Set it.
(ReportError): Exit upon an error.  Clean up locks behind us.
(RequestLockDir): Don't return after ReportError.  Add current
lock to %Locks.
(ReleaseLockDir): Remove lock from %Locks.
(DoBannedReading): Deleted.
(DoWikiRequest): Don't use DoBannedReading, don't return after
ReportError.
(DoRollback): Don't return after ReportError.
(DiffHtmlMarkWords): No highlighting if more than 50 words.  There
was a case where highlighting from 1 to 1739 caused a crash that
was not caught by fatalsToBrowser.
(UpdatePageVersion): Deleted.
(OpenPage): Don't use UpdatePageVersion, don't return after
ReportError.
(DoPost): Check for $UploadAllowed before accepting uploads.
(ExpireKeepFile, ValidIdOrDie): Don't return after ReportError.
(DoEdit, DoDownload, DoPost): Don't return after ReportError.
(DoPost): Catch empty string returned by MergeRevisions, eg. if
/usr/bin/merge is missing.
(WriteRcLog): Don't die; use ReportError instead.
(DoPageLock): Don't return after ValidIdOrDie.
(DoSurgeProtection): Don't exit after ReportError.

Revision 1.169 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 21:20:18 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.168: +3 -1 lines
Diff to previous 1.168
(DoPost): Release lock on errors.

Revision 1.168 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 23:54:42 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.167: +5 -4 lines
Diff to previous 1.167
(ApplyRules, DoEdit): Fix #FILE handling.
(GetHtmlHeader): Change default StyleSheet for a.upload links.

Revision 1.167 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 15:46:45 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.166: +32 -25 lines
Diff to previous 1.166
(SearchTitleAndBody): Skip uploaded files.
(PrintSearchResults): Show files with MIME-type if search string
starts with ^#FILE.

Revision 1.166 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 15:18:53 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.165: +3 -4 lines
Diff to previous 1.165
(RequestLockDir): Print error at all times without relying on a specific errno.

Revision 1.165 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 15:04:25 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.164: +2 -2 lines
Diff to previous 1.164
(InitVariables): Typo.

Revision 1.164 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 15:01:36 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163
Typos...

Revision 1.163 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 14:56:26 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.162: +45 -42 lines
Diff to previous 1.162
($PrintedHeader): New variable.
(InitVariables): Set it.
(GetHttpHeader): Set it.
(ReportError): Use GetHttpHeader to print header.
(DoRollback): No error message required.
(ExpireKeepFile): Rewrote some conditions.
(ExpireKeepFile): Use ReportError instead of die.
(RequestLockDir): Use ReportError instead of die.
(PrintPageList): Rewrote lock handling.
(DoPost): Rewrote lock handling.
(DoMaintain): Rewrote lock handling.
(DoConvert): Rewrote lock handling.
(DoSurgeProtection): Rewrote lock handling.
(WriteReferers): Rewrote lock handling.
(GetPermanentAnchor): Rewrote lock handling.
(DeletePermanentAnchors): Rewrote lock handling.

Revision 1.162 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 09:49:05 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161
(PrintHtmlDiff): Fixed extent of the 'diff' div.

Revision 1.161 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 26 23:41:26 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.160: +4 -2 lines
Diff to previous 1.160
(GetHtmlHeader): Encoding multiple style sheets.

Revision 1.160 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 26 22:20:55 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.159: +11 -9 lines
Diff to previous 1.159
(%CookieParameters): Added 'css'.
(GetHtmlHeader): Use it.
(DoHistory): Removed a br tag.

Revision 1.159 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 25 22:25:45 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.158: +1 -7 lines
Diff to previous 1.158
(ApplyRules): Removed the [image:foo] and the [link:foo]
rules again.

Revision 1.158 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 25 17:41:40 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.157: +6 -6 lines
Diff to previous 1.157
(GetHttpHeader): Use Cache-Control header.
(DoDownload): If the revision requested is the same as the current
revision there is no need to open the keep file.
(DoPost): Do encoding in a separate eval block.

Revision 1.157 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 23:15:09 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.156: +11 -15 lines
Diff to previous 1.156
(BrowsePage): Don't pass modification date to GetHeader.
(GetHeader): Don't accept modification date anymore.
(GetHttpHeader): Simplified handling of modification date.
(DoDownload): Only pass modification date to GetHttpHeader if no
revision.

Revision 1.156 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 22:24:42 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.155: +2 -2 lines
Diff to previous 1.155
(GetRcHtml): Uncommented rollback code.

Revision 1.155 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 21:46:30 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.154: +4 -8 lines
Diff to previous 1.154
(BrowsePage): Removed 304 response, because the status of the
page also depends on the status of *other* pages.
(DoBrowseRequest): Removed parameters to BrowsePage.

Revision 1.154 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 21:26:37 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.153: +24 -53 lines
Diff to previous 1.153
(ReportError): Simplified some.
(Init): New setup, make sure $MaxPost takes effect.
(DoIndex): Simplified some.
(PrintSearchResults): Remove subpage specific code.
(GetFullLinkList): Simplified some.

Revision 1.153 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 20:52:41 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.152: +107 -81 lines
Diff to previous 1.152
(ApplyRules): Accept two more parameters, with anchors,
and revision, use Upload for the picture rule, extend include rule
to accept a with-anchors instead of text parameter, two new rules
to handle uploaded files, take the new parameters into account.
(AddHtmlEnvironment): Simplified slightly.
(CloseHtmlEnvironments): Simplified slightly.
(PrintWikiToHTML): New parameter cacheok.
(Upload): New function.
(PrintCache): Use new parameters for ApplyRules.
(DoBrowseRequest): Pass new parameters to BrowsePage when
appropriate.
(BrowsePage): New parameter $cacheok, return 304 NOT MODIFIED if
appropriate, pass new parameter to GetHeader.
(GetHeader): New parameter timestamp, pass it on to GetHttpHeader.
(GetHttpHeader): New parameters modified and cacheok.
(GetHtmlHeader): New CSS to downloadable files.
(DoEdit): Reset edit box if it used to be a file, only provide
upload link if you are allowed to use it, no longer pass 'preview'
as a revision to PrintWikiToHTML.
(DoDownload): Return 304 NOT MODIFIED if appropriate, pass new
parametesr to GetHttpHeader.
(PrintAllPages): New parameter comments, to print link to comments
page if required.
(DoMaintain): New parameters for PrintWikiToHTML.

Revision 1.152 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 22 01:43:08 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.151: +142 -102 lines
Diff to previous 1.151
($UploadAllowed, @UploadTypes): New variables.
(InitRequest): Uploads are allowed, now.
(ApplyRules): New rule to render uploaded files as links or
images.
(DoBrowseRequest): New download action.
(GetHttpHeader): New parameter to offer 24h caching instead of the
default 10s.
(GetFormStart): New parameter for multipart/form-data required for
file uploads.
(OpenNewText): Removed newauthor field from the database.
(DoEdit, DoPost): Handle uploading of files -- large change!
(GetUpload, DoDownload): New functions.
(DoRollback, DoSearch): UserIsAdminOrError requires HTTP Headers
printed.
(Save): Replaced newAuthor parameter with upload parameter.  No
diff and no language info is generated for uploads.
(DoMaintain): Removed forgotten provision for subpages.
(DeletePage): Deleting pages no longer edits the rclog.
(EditRecentChanges): Removed.
(EditRecentChangesFile): Removed.

Revision 1.151 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 12:03:04 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.150: +56 -13 lines
Diff to previous 1.150
(DoBrowseRequest): New action 'rollback'.
(GetRcHtml): Show rollback link for administrators.
(RollbackPossible): New.
(DoRollback): New.

Revision 1.150 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 00:31:56 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.149: +15 -11 lines
Diff to previous 1.149
(OpenHtmlEnvironment): Fix closing of all tags when the
list type changes.
(GetPageOrEditLink): Change &amp; to ; to separate parameters.
(GetEditLink, DoRc, GetRcRss): Ditto.
(GetHistoryLink, GetRCLink, GetPermanentAnchor): Ditto.

Revision 1.149 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 11:55:11 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.148: +43 -54 lines
Diff to previous 1.148
(ApplyRules, OpenHtmlEnvironment): Rewrote list
handling.
(GetPageOrEditLink): & -> &amp;
(GetEditLink): Ditto.
(DoRc): Ditto.
(GetPermanentAnchor): Ditto.

Revision 1.148 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 22:33:29 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.147: +4 -2 lines
Diff to previous 1.147
(DoMaintain): Delete permanent anchors file and page
index when the cache is going to be regenerated.

Revision 1.147 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 18:49:59 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.146: +19 -14 lines
Diff to previous 1.146
(PrintWikiToHTML): Don't do locking if the calling context has
already locked the wiki.
(DoMaintain): When cache=1, refresh the cache, too.

Revision 1.146 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 00:03:58 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.145: +6 -5 lines
Diff to previous 1.145
(SavePage): Added error for missing pagenames.
(DoSearch): Indicate the replacement text, too.
(Replace): Do replacement in an eval so that backreferences work.

Revision 1.145 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 18 09:42:58 2003 UTC (8 years, 7 months ago) by as
Branch: MAIN
Changes since 1.144: +14 -5 lines
Diff to previous 1.144
(ApplyRules): Add optional text parameter to the include
markup.

Revision 1.144 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 12 22:29:42 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.143: +2 -1 lines
Diff to previous 1.143
(GetHtmlHeader): Added CSS for div.journal h1.

Revision 1.143 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 12 14:58:27 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.142: +4 -5 lines
Diff to previous 1.142
(DoMaintain): Removed useless parameters.
(DeletePage): Removed useless parameters.

Revision 1.142 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 12 14:37:34 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.141: +15 -13 lines
Diff to previous 1.141
Replaced many occurences of || with or.
(GetHtmlHeader): The index of all pages gets robot INDEX
tagged so that you can submit it to a search engine to spider your
entire site, together with your recent changes page.

Revision 1.141 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 8 20:06:35 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.140: +15 -4 lines
Diff to previous 1.140
(DoRc): Add rcuseronly and rchostonly parameters.
(GetRc): Ditto.

Revision 1.140 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 7 23:21:58 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.139: +124 -136 lines
Diff to previous 1.139
Many little CGI changes, changes of local
declarations (coding style), stripped some extra newlines.
($WikiDescription): Can no longer be set in the config file.
(Init): Restructured.  Call InitRequest at the beginning and
InitVariables at the end.
(InitRequest): Split into two, InitRequest and InitVariables.
(InitVariables): Set $WikiDescription here.
(DoLinks): No longer use pre tags.
(PrintLinkList): Add colon after page name if page names are
listed.

Revision 1.139 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 6 12:55:32 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.138: +2 -2 lines
Diff to previous 1.138
(DoPost): In summaries with multiple lines, replace newline
characters with spaces.

Revision 1.138 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 6 12:45:05 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.137: +8 -11 lines
Diff to previous 1.137
(GetHtmlHeader): Simplified default CSS since the validator seems
to be less picky about foreground and background colors.

Revision 1.137 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 6 07:20:18 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.136: +3 -3 lines
Diff to previous 1.136
(GetSearchLink): Do not encode page title.

Revision 1.136 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 4 19:50:17 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.135: +91 -165 lines
Diff to previous 1.135
(InitLinkPatterns): Small refactoring.
(BrowsePage): Small refactoring.
(GetRc): Small refactoring.
(SaveKeepSection): Small refactoring.
(SearchTitleAndBody): Small refactoring.
(PrintSearchResults): Small refactoring.
(ScriptLinkDiff): Allow new parameter for the old revision to use.
(GetRcHtml): Removed rcchangehist parameter which had no effect.
If parameter all=1 is given, the diff link uses the new
ScriptLinkDiff parameter.
(PrintHtmlDiff): Simplified substantially.  Removed author diffs.
Removed links to alternate diffs.
(GetCacheDiff): Removed author diffs.
(ExpireKeepFile): Removed author diffs.
(UpdateDiffs): Simplified substantially.  Removed author diffs.
(GetSearchLink): Do not url-escape the plus sign used to replace
spaces.

Revision 1.135 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 2 22:18:50 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.134: +8 -6 lines
Diff to previous 1.134
(DoEdit): Print the rule that matched when somebody is
banned.
(UserIsBanned): Bug fix; used $host twice.

Revision 1.134 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 23:22:45 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133
*** empty log message ***

Revision 1.133 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 23:15:02 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.132: +5 -2 lines
Diff to previous 1.132
(PrintFooter): Print username of last author.

Revision 1.132 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 23:10:16 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.131: +8 -6 lines
Diff to previous 1.131
(DoMaintain): Don't change rclog files if not required.

Revision 1.131 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 23:03:35 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.130: +3 -3 lines
Diff to previous 1.130
(DoMaintain): Don't write a newline if the list is
empty.

Revision 1.130 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 16:14:25 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129
(GetRCLink): Add showedit=1.

Revision 1.129 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 15:49:40 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.128: +17 -5 lines
Diff to previous 1.128
(GetRcHtml): Link to older revisions when using the all
parameter.
(GetRCLink): New function.
(PrintFooter): Add new item, using it.

Revision 1.128 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 15:48:12 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.127: +7 -4 lines
Diff to previous 1.127
(ApplyRules): Extend journal rule to allow reverse parameter.
(PrintJournal): New parameter to reverse journals.

Revision 1.127 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 22:58:13 2003 UTC (8 years, 8 months ago) by as
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126
(GetReferers): Don't quote HTML in href to avoid having
&amp; in the links.

Revision 1.126 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 17 08:31:15 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.125: +3 -3 lines
Diff to previous 1.125
(ApplyRules): Fix ISBN rule.

Revision 1.125 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 12:34:16 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124
(DoBrowseRequest): Make sure to ignore path_info if $UsePathInfo
is not set.

Revision 1.124 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 02:21:25 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.123: +8 -7 lines
Diff to previous 1.123
($UsePathInfo): New variable.
(ScriptLink): Use it.
(DoBrowseRequest): Use it.

Revision 1.123 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 02:01:27 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.122: +3 -1 lines
Diff to previous 1.122
(ApplyRules): The RSS rule restores pos after calling the RSS sub.

Revision 1.122 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 01:35:23 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.121: +5 -4 lines
Diff to previous 1.121
($AllNetworkFiles): New variable.
(GetUrl): Allow file:/// if $AllNetworkFiles is set.

Revision 1.121 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 01:00:39 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.120: +15 -21 lines
Diff to previous 1.120
(InitLinkPatterns): Simplify $UrlPattern and take more of
RFC 2396 into account.
(ApplyRules): ISBN rule now produces a dirty block.  Cleaned up
many other rules to remove extra setting of $oldmatch.

Revision 1.120 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 15 10:06:49 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119
(DoBrowseRequest): Remove all the stuff up to and
including a slash, fixing the problems reported by Roland Gruen.

Revision 1.119 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 13:18:16 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.118: +3 -1 lines
Diff to previous 1.118
(ApplyRules): New rule for empty tags such as <br />.

Revision 1.118 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 13:07:49 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.117: +10 -11 lines
Diff to previous 1.117
(InitRequest): @HtmlTags are only initialized within
this sub in order to read the config files, first.

Revision 1.117 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 1 22:22:22 2003 UTC (8 years, 9 months ago) by as
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116
(ApplyRules): Pass $block, @blocks, and @flags to
MyRules so that dynamic rules can be written.
(DoShowVisitors): Fix typo.

Revision 1.116 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 29 23:05:53 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.115: +26 -17 lines
Diff to previous 1.115
(RcTextItem): New.
(GetRcText): Switched to RSS 3.0.

Revision 1.115 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 21 22:30:41 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.114: +17 -46 lines
Diff to previous 1.114
(DoHistory): Removed $canEdit.
(GetHistoryLine): Ditto.
(DoPassword): Removed some newlines.
(UserCanEdit): Rewrote more compactly.  Thanks, Pierre, for suggesting it.

Revision 1.114 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 21 17:42:32 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.113: +3 -5 lines
Diff to previous 1.113
(DoBrowseRequest): Join using '_' instead of the space character.
(DoEdit): No longer limit the length of the summary.

Revision 1.113 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 21 10:11:51 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.112: +3 -3 lines
Diff to previous 1.112
(UrlEncode): Added more safe characters according to RFC 2396.
(DoBrowseRequest): Use join(' ', $q->keywords) to deal with link
that include encoded spaces (%20) instead of underlines.

Revision 1.112 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 20:15:23 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111
(UserCanEdit): UserIsEditor() overrides $EditAllowed=1.

Revision 1.111 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 19:23:53 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110
(DoPost): Pass $id along.

Revision 1.110 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 19:14:24 2003 UTC (8 years, 10 months ago) by as
Branch: MAIN
Changes since 1.109: +4 -2 lines
Diff to previous 1.109
(PingTracker): Switched to blo.gs.

Revision 1.109 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 21:33:04 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.108: +7 -3 lines
Diff to previous 1.108
(UserCanEdit): Take care of $EditAllowed==2.

Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 19:50:48 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.107: +22 -21 lines
Diff to previous 1.107
(GetPageOrEditLink): UrlEncode all page ids.
(GetPageLink, GetEditLink, DoRc, GetOldPageParameters): Ditto.
(GetSearchLink, ScriptLinkDiff, GetHistoryLink): Ditto.
(PrintFooter, PrintAllReferers): Ditto.
(GetPermanentAnchorLink, GetPermanentAnchor): Ditto.

Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 16 23:27:58 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.106: +13 -13 lines
Diff to previous 1.106
(DoPost): Rebrowse after pinging.
(PingWeblogs): Use & instead of ; to separate parameters.
(DoPingWeblogs): Pass the value of the id parameter or RCName to
DoPingWeblogs.
($NotifyWeblogs): Renamed to $NotifyTracker.
(DoPingWeblogs): Renamed to DoPingTracker.
(PingWeblogs): Renamed to PingTracker.

Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 16 22:21:39 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.105: +8 -6 lines
Diff to previous 1.105
(InitRequest): ScriptName defaults to $q->url().
(ScriptLink): Prefer syntax using path_info().
(GetHtmlHeader): Removed ref. to path_info.
(PingWeblogs): Switched to blogrolling.com.

Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 21:14:46 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.104: +5 -4 lines
Diff to previous 1.104
(PingWeblogs): Use path_info for the URI.

Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 21:08:23 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.103: +4 -2 lines
Diff to previous 1.103
(DoBrowseRequest): Accept path_info as well as keywords.

Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 20:20:42 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.102: +22 -16 lines
Diff to previous 1.102
(PrintFooter): Add link to original if appropriate.
(DoPost): Use undefined default $comment to distinguish '' $comment from no $comment.

Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 19:57:41 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101
(PrintJournal): Default regexp now requires the name to start with the ISO date.

Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 19:53:25 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.100: +24 -23 lines
Diff to previous 1.100
($NewComment): New.
(PrintFooter): Use it.
(OpenNewText): Check whether $CommentsPrefix is set before matching.
(DoPost): Reorder and rewrite the comment handling code.

Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 18:26:13 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99
(DoPost): Bugfix: Do not rebrowse if $comment is set.

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 00:41:35 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.98: +4 -2 lines
Diff to previous 1.98
(GetRcRss): To normal to free on page titles.

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 00:09:43 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97
(ApplyRules): Use FreeToNormal for internal transclusion.

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 00:00:19 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.96: +45 -12 lines
Diff to previous 1.96
Including easy submission patch by Pierre Gaston  <pgas@intracom.gr>.

(GetRandomLink): Removed.
(ApplyRules): Include local pages using GetPageContent, if possible.
(GetRaw): Simplified.
(DoPost): Append comment it necessary.
($CommentsPrefix): New.
(PrintFooter): Added easy submission code.
(OpenNewText): Only add if not commenting.
(DoPost): Extract comments from aftertext parameter.

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 19:27:18 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.95: +7 -2 lines
Diff to previous 1.95
(PrintJournal): Use the subroutine JournalSort if
defined to sort pages.

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 18:25:01 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.94: +7 -25 lines
Diff to previous 1.94
(%CookieParameters): Get rid of linkrandom.
(ScriptLinkTitle): Deleted.
(GetAuthorLink): Include code from ScriptLinkTitle and add
span.author.
(GetTextArea): Parameter editwide has no effect anymore.

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 11:57:12 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93
(PrintJournal): Slice only if too large.

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 01:27:42 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.92: +49 -23 lines
Diff to previous 1.92
($CollectingJournal): New variable.
(DoWikiRequest): Move all the init calls into Init.
(Init): Moved all the init calls from DoWikiRequest here.
(ApplyRules): Added journal rule.
(PrintJournal): New.
(GetGotoBar): Use GetPageLink.
(DoPrintAllPages): Use 0 parameter when calling PrintAllPages.
(PrintAllPages): Take extra parameter to say whether to link to
the pages or not.
(PingWeblogs): Use the edited page instead of the recent
changes page for pinging weblogs.com.

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 22:53:05 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.91: +1 -2 lines
Diff to previous 1.91
(InitRequest): Removed test statement.

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 22:26:21 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.90: +1 -2 lines
Diff to previous 1.90
(FreeToNormal): No more ucfirst.

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 22:20:02 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.89: +3 -2 lines
Diff to previous 1.89
(InitRequest): Set @UserGotoBarPages here instead of on startup.

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 22:15:50 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.88: +10 -7 lines
Diff to previous 1.88
(InitRequest): Convert spaces to underscores for
$HomePage, $RCName, $BannedHosts, $InterMap, $RefererFilter,
$StyleSheetPage, and $ConfigPage.

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 21:41:26 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.87: +11 -11 lines
Diff to previous 1.87
(GetGotoBar): Use FreeToNormal on the link.

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 21:05:06 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.86: +16 -22 lines
Diff to previous 1.86
(@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.

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 9 21:55:16 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.85: +18 -80 lines
Diff to previous 1.85
($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.

Revision 1.85 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 8 00:14:27 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.84: +4 -4 lines
Diff to previous 1.84
(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.

Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 16:25:45 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.83: +16 -31 lines
Diff to previous 1.83
(InitRequest): Only set when undefined.
(GetRc): Removed pagecount.
(GetRcHtml): Removed pagecount and link changed name from (n
changed) to (history).
(GetRcText): Removed pagecount.

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 00:10:10 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.82: +5 -4 lines
Diff to previous 1.82
($AdminPass, $EditPass): Only set when undefined.

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 00:05:00 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81
($UseConfig): Only set when undefined, so that it can be set to 0
in the wrapper.

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 4 23:42:46 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.80: +90 -92 lines
Diff to previous 1.80
(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.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 4 01:02:03 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.79: +12 -8 lines
Diff to previous 1.79
($ConfigPage): New.
(@LockOnCreation): Added it.
(DoWikiRequest): Use it, set $Message here for potential error.
(InitRequest): Don't set $Message here.

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 20:27:06 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.78: +9 -10 lines
Diff to previous 1.78
(@UserGotoBarPages): New.
(GetGotoBar): Use it.
(%CookieParameters): Added 'linkrandom'.

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 16:57:01 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77
(GetHtmlHeader): Fix bug that prevented URL from
appearing in the body class.

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 1 21:54:38 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.76: +3 -4 lines
Diff to previous 1.76
($StyleSheetPage): New, default to empty.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 1 21:41:29 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.75: +10 -4 lines
Diff to previous 1.75
($StyleSheetPage): New.
(@LockOnCreation): Added it.
(%CookieParameters): Added 'theme'.
(GetHtmlHeader): Use $StyleSheetPage if no $StyleSheet is given.
(GetHtmlHeader): Use the 'theme' parameter, if given.

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 31 20:16:07 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.74: +3 -2 lines
Diff to previous 1.74
(%CookieParameters): Use pwd instead of password.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 31 13:27:14 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.73: +5 -1 lines
Diff to previous 1.73
(GetHtmlHeader): Added CSS for permanent anchors.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 31 02:57:23 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.72: +68 -78 lines
Diff to previous 1.72
(%CookieParameters): New.
(Cookie): Use it to handle the previously inherited attributes.
(ScriptLink): No more inheriting of parameters.
(InheritParameter): Removed.
(InitCookie): Password parameter handling removed.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 30 18:04:49 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.71: +97 -5 lines
Diff to previous 1.71
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.

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 01:13:17 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.70: +26 -21 lines
Diff to previous 1.70
($RefererFilter): New.
(@LockOnCreation): Added it.
(UpdateReferers): Take it into account.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 28 00:20:42 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.69: +47 -39 lines
Diff to previous 1.69
(GetPageContent): New.
(GetSiteUrl, UserCanEdit): Use it.
(@LockOnCreation): New, defaults to ($BannedHosts, $InterMap).
(DoPost, Save): Use it.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 23:29:31 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68
(GetSiteUrl): Typo.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 23:24:24 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67
*** empty log message ***

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 23:09:45 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.66: +36 -36 lines
Diff to previous 1.66
($InterFile): Deleted.
($InterMap): New.
(GetSiteUrl): Use it.
(UserIsBanned): Fixed regexp.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 26 22:12:50 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65
($HttpCharset): Default to UTF-8.

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 26 18:40:36 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.64: +24 -62 lines
Diff to previous 1.64
($BanListFile): No more banned file.
($BannedHosts): New variable for the page name.
(DoBrowseRequest): No more editbanned action and edit_ban parameter.
(UserIsBanned): Test now opens the $BannedHosts page.
(DoPost): Added test such that only admins can create the $BannedHosts file.
(Save): When saving the first revision of the $BannedHosts file, lock it.
(DoEditBanned): Deleted.
(DoUpdateBanned): Deleted.

(ScriptLink): No more quoting of the action, this happens
automatically.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 24 10:48:57 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.63: +676 -744 lines
Diff to previous 1.63
(PrintAllReferers): New function.
(DoPrintAllReferers): New function.
(DoBrowseRequest): New refer action.
(GetReferers): Fixed spelling of Referer to Referrer.

Lots of tiny changes -- moved from the &foo() notation to foo().
Saved some lines by changing some if conditions around.
This patch is very big!

Unified all lock requests and releases:
(RequestDiffLock, ReleaseDiffLock, RequestVisitorsLock)
(ReleaseVisitorsLock, RequestMergeLock, RequestMergeLock)
(ReleaseMergeLock, ReleaseRefererLock, RequestIndexLock)
(ReleaseIndexLock): Removed, changed callers.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 22 22:45:54 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.62: +79 -52 lines
Diff to previous 1.62
($ReplaceForm): New global variable.
(InitRequest): Set $ReplaceForm to 0.
(GetSearchForm): Add a replace item if $ReplaceForm is set.
(DoSearch): Call Replace when replacement is given.
(Replace): New function.
(DoPost): Removed $isEdit and $editTime.  Use $Now instead.  Moved
the saving code into Save.
(Save): New function.

(WriteRcLog): Use $Now instead of $editTime.
(ReBrowsePage): Rename $isEdit to $minor.
(GetRc, GetRcHtml, GetRcRss, GetRcText, GetRedirectPage): Ditto.
(DoEdit, WriteRcLog, UpdateDiffs): Ditto.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 21 22:46:05 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.61: +41 -28 lines
Diff to previous 1.61
($NotifyWeblogs): Add new variable, defaulting to 0.
(DoBrowseRequest): Added new ping action.
(DoPost): Call PingWeblogs for major edits if $NotifyWeblogs is set.
(PingWeblogs): New.
(DoPingWeblogs): New.

(RFC): Include the RFCLink code.
(RFCLink): Removed.
(ISBN): Include the ISBNLink code.
(ISBNLink): Removed.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 21 01:16:25 2003 UTC (8 years, 11 months ago) by as
Branch: MAIN
Changes since 1.60: +10 -8 lines
Diff to previous 1.60
(InitCookie): Get hash from cookie by splitting the
string on $FS1.
(Cookie): Use $FS1 to encode the value.
(PrintFooter): Call PrintMyContent with $id as the parameter.

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 18 14:05:23 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59
(GetHtmlHeader): Add a class to the body; the value of
the class is the URL of the script -- this way it can be
distinguished from all other sites in a user style sheet.

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 15:18:09 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
(DoUnlock): Added extra level of parenthesis, thanks to Jason
Diamond <jason@injektilo.org>

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 15:07:12 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.57: +23 -59 lines
Diff to previous 1.57
($SimpleLinks, $NonEnglish): Removed.
(InitLinkPatterns): Simplified the regexp generating code such
that the regexps used are clearer now,

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 14:40:07 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.56: +9 -2 lines
Diff to previous 1.56
(Cookie): Only set attributes if necessary.  Report setting of
cookie via $Message.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 10:07:09 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.55: +10 -8 lines
Diff to previous 1.55
(BrowsePage): Use a flag for PrintWikiToHTML in order to prevent
the creation of new pages due to cache creation for the default
text.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 01:50:35 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.54: +48 -47 lines
Diff to previous 1.54
($NewText): Default value in the init section instead of
hidden in some subroutine.
(OpenNewText): Just use $NewText.
(DoPost): If oldrev is 1 and the new text is $NewText, then do not
save.

Patch by Pierre Gaston <pgas@intracom.gr>:

Many subroutines: Replaced print &GetFooter(...) with
&PrintFooter(...).
(GetFooter, PrintFooter): Renamed GetFooter to PrintFooter, and
changed concatenations to prints.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 8 20:46:21 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
(BrowsePage): Remove duplicate div class="refer".

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 2 08:10:32 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.52: +3 -5 lines
Diff to previous 1.52
(BrowsePage): Print div class=refer only when there are any.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 2 06:20:12 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.51: +113 -126 lines
Diff to previous 1.51
($Debug, $Message): Renamed $Debug to $Message.
(InitRequest): Ditto.
(InitCookie): Ditto.
(BrowsePage): Print header later, set $Message for the messages
"Revision %s not available" and "Showing revision %s".
(BrowsePage): Added new div class="rc" for recent changes output.
(GetHeader): Changed header layout.  Logo and GotoBar are now at
the top, followed by messages, page title, and content.  Added div
and special days.
(GetGotoBar): Removed special days from the goto bar.
(GetFooterText, GetCommonFooter, GetMinimumFooter): Replaced by GetFooter.
(GetFooter): New, unified, added div.
(DoHistory): Use GetFooter with history parameter.
(DoUnlock): Use GetFooter.
(DoEdit): Use GetFooter with edit parameter.
(DoPassword, DoEdit, UserIsEditorOrError, UserIsAdminOrError)
(DoSearch, DoLinks, DoPrintAllPages, DoMaintain, DoMaintain)
(DoIndex, DoConvert, DoEditLock, DoPageLock, DoEditBanned)
(DoUpdateBanned, DoShowVersion, DoShowVisitors): Use GetFooter.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 27 21:22:52 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.50: +58 -56 lines
Diff to previous 1.50
($TopLinkBar): New option.
(GetHeader): Use it.
($Monolithic): New variable.
(ScriptLink): Use it.
(DoBrowseRequest): New action 'all'.
(DoUnlock): Rewrote using a loop.
(GetFullLinkList): Rewrote variable declarations a bit.
(ReleaseRefererLock, RequestRefererLock): Avoid declaring a variable for just one call.
(DoPrintAllPages): New function.
(PrintAllPages): New function.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 27 14:51:48 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.49: +16 -16 lines
Diff to previous 1.49
(InheritParameter): New function.
(GetEditLink): Use it.
($TopLinkBar): New option.
(GetHeader): Use it.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 27 14:35:29 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.48: +5 -5 lines
Diff to previous 1.48
(BrowsePage): Do not attempt to open keep file when the requested
revision is the current revision.  Use div class="message" for
the little message about the revision being displayed.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 27 13:12:51 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
(RSS): Removed unnecessary CSS class for link within RSS divs.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 27 12:07:55 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.46: +3 -1 lines
Diff to previous 1.46
(BrowsePage): Added a div class="content" around the
main part.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 26 17:29:53 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.45: +2 -4 lines
Diff to previous 1.45
(DoConvert): Moved br printing.
(ConvertFile): Moved it here.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 26 17:25:23 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44
(DoConvert): Typo.
(DoConvert): Typo.
(ConvertFile): Typo.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 26 17:21:42 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.43: +63 -39 lines
Diff to previous 1.43
($FS0used): Deleted.
(DoBrowseRequest): Added convert action.
(GetKeepFile): Convenience function added.
(KeepFileName): Use it.
(ReadFile): Removed on-the-fly separator conversion.
(DoMaintain): Removed separator conversion of pages, no conversion
of rc entries, no conversion of $RcOldFile.
(DoConvert): New function.
(ConvertFile): New functtion.
(ReadRecentVisitors): Replaced newline and colon with field separators.
(WriteRecentVisitors): Ditto.
(GetReferers): Ditto.

This undoes all the on-the-fly conversion code, since that was
hard to maintain, and had a bug: Keep files of pages that had no
expiry pending did not get converted.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 24 21:53:14 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
(InitCookie): No longer treat '*' special.
(GetRcHtml): No longer treat '*' special.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 24 17:43:27 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.41: +6 -6 lines
Diff to previous 1.41
(GetRcRss): No longer treat '*' special.
(GetRcText): No longer treat '*' special.
(GetHistoryLine): No longer treat '*' special.
(Cookie): No longer treat '*' special.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 24 10:33:36 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
($FreeUpper): Defaults to 0.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 23 21:02:56 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39
(GetHistoryLine): Do not anonymize IPs.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 23 09:38:11 2003 UTC (9 years ago) by as
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38
(InitRequest): Set the query object charset as suggested
by Wei Ching Tang.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 18 00:09:57 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.37: +7 -9 lines
Diff to previous 1.37
(ApplyRules): Changed table rules.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 17 00:32:21 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
(ApplyRules): Convert \r\n to \n before anything else (fixed bug).

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 17 00:29:18 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35
(ApplyRules): Convert \r\n to \n before anything else.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 17 00:17:43 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
(ApplyRules): Improved handling of space-only lines.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 16 23:58:58 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
(InitLinkPatterns): Fixed @ in UrlPattern.

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 16 23:00:26 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32
(InitLinkPatterns): Not only \xc0-\xff are non-english
letters:  With UTF-8, \x80-\xff are.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 16 00:05:25 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
(InitLinkPatterns): Changed InterLinkPattern.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 15 22:39:16 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.30: +32 -60 lines
Diff to previous 1.30
(GetPageLinks): No longer call StripUrlPunct.
(StripUrlPunct): Removed.
(SplitUrlPunct): Removed.
(GetUrl): No longer call SplitUrlPunct, no longer return a list.
(PrintLinkList): GetUrl no longer returns a list.
(GetInterLink): No longer call SplitUrlPunct.
(ApplyRules): GetUrl no longer returns a list.
(InitLinkPatterns): Changed $UrlPattern.
(InitRequest): Reset $Debug on every invocation (for mod_perl!).
(InitCookie): Move password into the cookie, too, so that you can
set the password even when you are banned and banned cannot read.
(GetHeader): Add message at the top of the file when $Debug is set.
(DoPassword): Get rid of the default '*' password.
(RSS): Charsets are case-insensitive.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 15 00:03:17 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
(ApplyRules): Fixed handling of the last cell per row in
tables.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 13 22:18:16 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.28: +10 -10 lines
Diff to previous 1.28
(ApplyRules): If something looked like an Interlink but
was not, and the text contained more than one colon, backtracking
got confused.  This bus is fixed.
(GetInterLink): Do not reuse $id, removed bogus if condition that
was always true.
(GetUrl): Do not reuse $url.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 12 12:40:13 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27
($HttpCharset): Default is 'ISO-8859-1' instead of empty.
(ApplyRules): Include and rss pseudo tags don't eat all following whitespace.
(RSS): Error message is on a paragraph of its own.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 11 11:03:29 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.26: +5 -2 lines
Diff to previous 1.26
(GetRcText): Added space by Pierre Gaston <pgas@intracom.gr>.
(GetCommonFooter): Shortcut when embedded by Pierre Gaston <pgas@intracom.gr>.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 7 20:38:30 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
*** empty log message ***

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 6 15:16:29 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.24: +7 -3 lines
Diff to previous 1.24
(RSS): Added new div for RSS inclusion.
(GetHtmlHeader): Added div.rss to the default stylesheet.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 1 19:04:57 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
(InitLinkPatterns): The InterLinkPattern may not contain an apostrophe (').

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 1 17:32:04 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22
(GetInterLink): If no page follows the colon, this is no interlink.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 1 13:31:43 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
(GetReferers): Quote HTML.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 1 12:24:03 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.20: +137 -39 lines
Diff to previous 1.20
($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.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 28 21:07:01 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.19: +14 -2 lines
Diff to previous 1.19
(UrlEncode): New function.
(GetValidatorLink): Use it.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 28 20:33:37 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.18: +8 -6 lines
Diff to previous 1.18
(InitLinkPatterns): Only set $FS and $FS0 if $FS is not set already.
(ReadFile): Check wether $FS0 is set before doing anything.
(DoMaintain): Ditto.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 28 20:08:30 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
(DoMaintain): Important bugfix!

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 28 19:50:04 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.16: +55 -28 lines
Diff to previous 1.16
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.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 26 22:55:50 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
(DoHistory): Removed extra <tr>.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 25 09:16:17 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.14: +3 -4 lines
Diff to previous 1.14
(DoEdit): Added new div with class preview for the preview part.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 25 09:12:48 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.13: +8 -7 lines
Diff to previous 1.13
typo

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 25 09:11:09 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.12: +20 -17 lines
Diff to previous 1.12
(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.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 24 22:43:09 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.11: +70 -79 lines
Diff to previous 1.11
(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.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 22 15:47:14 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.10: +10 -7 lines
Diff to previous 1.10
(PrintWikiToHTML): Only save cachen when revision not set.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 22 15:42:29 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
(BrowsePage): Only use cache when revision not set.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 22 14:57:01 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.8: +10 -2 lines
Diff to previous 1.8
(BrowsePage): Pass $id along to OpenDefaultText.
(OpenDefaultText): If $id is the homepage, and the revision is 0,
attempt to display the README file instead.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 22 02:12:09 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.7: +8 -4 lines
Diff to previous 1.7
(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.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 22 01:48:31 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.6: +11 -7 lines
Diff to previous 1.6
(GetValidatorLink): Link to CSS Validator.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 21:00:10 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
*** empty log message ***

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 20:59:10 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4
(GetMinimumFooter): Move validator link from GetFooterText to
GetMinimumFooter.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 20:50:31 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
(ScriptLink): Quote HTML for actions.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 20:42:26 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.2: +22 -10 lines
Diff to previous 1.2
(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}".

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 15:34:14 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Changes since 1.1: +27 -14 lines
Diff to previous 1.1
(ScriptLink): Inherit embed and toplinkbar parameters to
local links.
(ISBNLink): Make URLs to shops translatable.
(GetGotoBar): Add search button.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 13:50:35 2003 UTC (9 years, 1 month ago) by as
Branch: MAIN
Initial checkin

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Send suggestions and report system problems to the Savannah Hackers.
ViewVC Help
Powered by ViewVC 1.0.7