Revert "update for rename of recentchanges.mdwn to json.tl.ph.mdwn"

This reverts the most recent 23 commits, all with the same log message.
master
Amitai Schleier 2022-10-03 13:11:24 -04:00
parent 46847790a5
commit 61e04fd67c
27 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
The [[Json.tl.ph]] page is broken (doesn't show any history at all) when used with an empty svnpath in the ikiwiki.setup file. The [[RecentChanges]] page is broken (doesn't show any history at all) when used with an empty svnpath in the ikiwiki.setup file.
Say you have the following configuration: Say you have the following configuration:
@ -6,7 +6,7 @@ Say you have the following configuration:
svnrepo => "ssh+svn://foo.bar.com/wiki", svnrepo => "ssh+svn://foo.bar.com/wiki",
svnpath => "", svnpath => "",
In the above, $svnpath need to be either empty or "/" - both trigger the 'next unless' check in IkiWiki/Rcs/svn.pm:rcs_recentchanges() as shown in the patch below, thus causing all files to be ignored for [[Json.tl.ph]]. In the above, $svnpath need to be either empty or "/" - both trigger the 'next unless' check in IkiWiki/Rcs/svn.pm:rcs_recentchanges() as shown in the patch below, thus causing all files to be ignored for [[RecentChanges]].
I can not see why this check is needed in the first place, so here's a patch for removing it :) I can not see why this check is needed in the first place, so here's a patch for removing it :)

View File

@ -1,6 +1,6 @@
The final `</div>` in `recentchanges.tmpl` gets wrapped in a The final `</div>` in `recentchanges.tmpl` gets wrapped in a
`<p>` tag for some reason, resulting in the following invalid XHTML at `<p>` tag for some reason, resulting in the following invalid XHTML at
the end of the [[Json.tl.ph]] page the end of the [[RecentChanges]] page
<p></div></p> <p></div></p>
@ -11,7 +11,7 @@ the end of the [[Json.tl.ph]] page
Also, there is a problem with the `<img>` tags generated by the smiley Also, there is a problem with the `<img>` tags generated by the smiley
plugin which end up wrapped in a `<pre>` tag in the inline diff output. plugin which end up wrapped in a `<pre>` tag in the inline diff output.
`<img>` tags is not allowed within a `<pre>` block. Maybe the smiley `<img>` tags is not allowed within a `<pre>` block. Maybe the smiley
plugin should be disabled on [[Json.tl.ph]]? plugin should be disabled on [[RecentChanges]]?
> See [[Smileys_in_the_block_code]], which is now fixed. --[[Joey]] > See [[Smileys_in_the_block_code]], which is now fixed. --[[Joey]]

View File

@ -1,4 +1,4 @@
[[Json.tl.ph]] should not link to pages that are being deleted. For as [[RecentChanges]] should not link to pages that are being deleted. For as
example, see the change with the title 'add news item for ikiwiki 2.60' example, see the change with the title 'add news item for ikiwiki 2.60'
which includes the deletion of "news/version 2.52". Maybe it should be made which includes the deletion of "news/version 2.52". Maybe it should be made
clear in RecentChanges that the change to the file is it being deleted. clear in RecentChanges that the change to the file is it being deleted.

View File

@ -1,4 +1,4 @@
After deleting a page with the "remove" button, it seems that the page deletion cannot be reverted using the "revert" icon in [[Json.tl.ph]]. After deleting a page with the "remove" button, it seems that the page deletion cannot be reverted using the "revert" icon in [[RecentChanges]].
It ironically says that "Error: ?$pagename does not exist". See [[http://ikiwiki.info/ikiwiki.cgi?rev=860c2c84d98ea0a38a4f91dacef6d4e09f6e6c2e&do=revert]]. [[JeanPrivat]] It ironically says that "Error: ?$pagename does not exist". See [[http://ikiwiki.info/ikiwiki.cgi?rev=860c2c84d98ea0a38a4f91dacef6d4e09f6e6c2e&do=revert]]. [[JeanPrivat]]
> And it only gets that far if the remove plugin is enabled. Otherwise it > And it only gets that far if the remove plugin is enabled. Otherwise it

View File

@ -1,4 +1,4 @@
Comments produce links like `sandbox/comment_1` in [[Json.tl.ph]], which, Comments produce links like `sandbox/comment_1` in [[RecentChanges]], which,
when clicked, redirect to a page that does not exist. when clicked, redirect to a page that does not exist.
The `recentchanges` branch in my repository contains one possible [[patch]], The `recentchanges` branch in my repository contains one possible [[patch]],

View File

@ -8,7 +8,7 @@ the ikiwiki.cgi CGI wrapper. ..."
Enable [[CGI]] mode. In cgi mode ikiwiki __runs as a cgi script__, and Enable [[CGI]] mode. In cgi mode ikiwiki __runs as a cgi script__, and
supports editing pages, signing in, registration, and displaying supports editing pages, signing in, registration, and displaying
[[Json.tl.ph]]. [[RecentChanges]].
__To use ikiwiki as a [[CGI]] program you need to use --wrapper or --setup __To use ikiwiki as a [[CGI]] program you need to use --wrapper or --setup
to generate a wrapper.__ The wrapper will generally need to run suid 6755 to generate a wrapper.__ The wrapper will generally need to run suid 6755

View File

@ -1,4 +1,4 @@
I'm using firefox-3.0.8-alt0.M41.1 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4pre) Gecko/2008100921 Firefox/3.0). I have noticed that quite often it shows an old state of a page at http://ikiwiki.info, e.g., [[json.tl.ph]] without my last edits, or the last page I edited (say, 50 min ago) in the state it was before I edited it. I'm using firefox-3.0.8-alt0.M41.1 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4pre) Gecko/2008100921 Firefox/3.0). I have noticed that quite often it shows an old state of a page at http://ikiwiki.info, e.g., [[recentchanges]] without my last edits, or the last page I edited (say, 50 min ago) in the state it was before I edited it.
Only explicitly pressing "reload" helps. Only explicitly pressing "reload" helps.

View File

@ -6,7 +6,7 @@ The git commit (in my `openid` branch) says it all:
However, all we actually want is the (undocumented) DisplayOfURL function However, all we actually want is the (undocumented) DisplayOfURL function
that is invoked by the display method, so try to use that. that is invoked by the display method, so try to use that.
This bug affects ikiwiki.info (my commits show up in [[Json.tl.ph]] as http://smcv.pseudorandom.co.uk/ rather than smcv [pseudorandom.co.uk]). This bug affects ikiwiki.info (my commits show up in [[RecentChanges]] as http://smcv.pseudorandom.co.uk/ rather than smcv [pseudorandom.co.uk]).
> Cherry picked, thanks. --[[Joey]] > Cherry picked, thanks. --[[Joey]]

View File

@ -1,5 +1,5 @@
I created [[sandbox/revert me]] and then tried the revert button on I created [[sandbox/revert me]] and then tried the revert button on
[[json.tl.ph]], but I was not allowed to revert it. The specific error [[recentchanges]], but I was not allowed to revert it. The specific error
was was
Error: you are not allowed to change sandbox/revert_me.mdwn Error: you are not allowed to change sandbox/revert_me.mdwn

View File

@ -3,6 +3,6 @@ in ikiwiki instances that don't reside in the git root directory (the only ones
the expected behavior is to compensate for the modified root directory (i.e., show index instead of doc/index). the expected behavior is to compensate for the modified root directory (i.e., show index instead of doc/index).
> This seems to work OK now - commit 84c4ca33 and its reversion both > This seems to work OK now - commit 84c4ca33 and its reversion both
> appear correctly in [[json.tl.ph]]. Looking at git history, > appear correctly in [[recentchanges]]. Looking at git history,
> Joey [[fixed this|done]] in commit 1b6c1895 before 3.20120203. > Joey [[fixed this|done]] in commit 1b6c1895 before 3.20120203.
> --[[smcv]] > --[[smcv]]

View File

@ -3,7 +3,7 @@ and thus does not have a mailing list. Anyone can create an account on
ikiwiki's own wiki. ikiwiki provides a [[bug_tracker|bugs]], a ikiwiki's own wiki. ikiwiki provides a [[bug_tracker|bugs]], a
[[TODO_list|TODO]], and "discussion" sub-pages for every page, as well as a [[TODO_list|TODO]], and "discussion" sub-pages for every page, as well as a
[[forum]] for general questions and discussion. ikiwiki [[forum]] for general questions and discussion. ikiwiki
developers monitor [[Json.tl.ph]] closely, via the webpage, email, developers monitor [[RecentChanges]] closely, via the webpage, email,
and IRC, and respond in a timely fashion. and IRC, and respond in a timely fashion.
You could also drop by the IRC channel `#ikiwiki` on You could also drop by the IRC channel `#ikiwiki` on

View File

@ -133,7 +133,7 @@ page being concurrently edited, regular commit conflict markers are
shown in the file to resolve the conflict, so if you're already familiar shown in the file to resolve the conflict, so if you're already familiar
with that there's no new commit marker syntax to learn. with that there's no new commit marker syntax to learn.
### [[Json.tl.ph]], editing pages in a web browser ### [[RecentChanges]], editing pages in a web browser
Nearly the definition of a wiki, although perhaps ikiwiki challenges how Nearly the definition of a wiki, although perhaps ikiwiki challenges how
much of that web gunk a wiki really needs. These features are optional much of that web gunk a wiki really needs. These features are optional

View File

@ -4,5 +4,5 @@
subject="comment 2" subject="comment 2"
date="2011-12-20T15:13:48Z" date="2011-12-20T15:13:48Z"
content=""" content="""
The [[Json.tl.ph]] page is a regular wiki page that inlines a few special pages with a special template. That content can be copied anywhere else in the wiki to get the same effect. The [[RecentChanges]] page is a regular wiki page that inlines a few special pages with a special template. That content can be copied anywhere else in the wiki to get the same effect.
"""]] """]]

View File

@ -34,7 +34,7 @@ I'm playing around with various ways that I can use subversion with ikiwiki.
> away without running the post-commit wrapper on commit, and all you lose > away without running the post-commit wrapper on commit, and all you lose
> is the ability to send commit notification emails. > is the ability to send commit notification emails.
> (And now that [[json.tl.ph]] includes rss, you can just subscribe to > (And now that [[recentchanges]] includes rss, you can just subscribe to
> that, no need to worry about commit notification emails anymore.) > that, no need to worry about commit notification emails anymore.)
* Is it possible / sensible to have ikiwiki share a subversion repository with other data (either completely unrelated files or another ikiwiki instance)? This works in part but again the post-commit hook seems problematic. * Is it possible / sensible to have ikiwiki share a subversion repository with other data (either completely unrelated files or another ikiwiki instance)? This works in part but again the post-commit hook seems problematic.

View File

@ -10,7 +10,7 @@ I'm playing around with various ways that I can use subversion with ikiwiki.
> away without running the post-commit wrapper on commit, and all you lose > away without running the post-commit wrapper on commit, and all you lose
> is the ability to send commit notification emails. > is the ability to send commit notification emails.
> (And now that [[json.tl.ph]] includes rss, you can just subscribe to > (And now that [[recentchanges]] includes rss, you can just subscribe to
> that, no need to worry about commit notification emails anymore.) > that, no need to worry about commit notification emails anymore.)
* Is it possible / sensible to have ikiwiki share a subversion repository with other data (either completely unrelated files or another ikiwiki instance)? This works in part but again the post-commit hook seems problematic. * Is it possible / sensible to have ikiwiki share a subversion repository with other data (either completely unrelated files or another ikiwiki instance)? This works in part but again the post-commit hook seems problematic.

View File

@ -1,6 +1,6 @@
This is a half-baked thought of mine so I thought I would post it in forum for discussion. This is a half-baked thought of mine so I thought I would post it in forum for discussion.
There are some things that ikiwiki.cgi is asked to do which do not involve changing the repository: these include form generation, handling logins, the "goto" from [[json.tl.ph]], edit previews, etc. There are some things that ikiwiki.cgi is asked to do which do not involve changing the repository: these include form generation, handling logins, the "goto" from [[recentchanges]], edit previews, etc.
For one thing I am working on slowly ([[todo/interactive todo lists]]), I've hit a situation where I am likely to need to implement doing markup evaluation for a subset of a page. The problem I face is, if a user edits content in the browser, markup, ikiwiki directives etc. need to be expanded. I could possibly do this with a round-trip through edit preview, but that would be for the whole content of a page, and I hit the problem with editing a list item. For one thing I am working on slowly ([[todo/interactive todo lists]]), I've hit a situation where I am likely to need to implement doing markup evaluation for a subset of a page. The problem I face is, if a user edits content in the browser, markup, ikiwiki directives etc. need to be expanded. I could possibly do this with a round-trip through edit preview, but that would be for the whole content of a page, and I hit the problem with editing a list item.

View File

@ -1,12 +1,12 @@
ikiwiki.info has upgraded to the not yet released ikiwiki 2.30. This ikiwiki.info has upgraded to the not yet released ikiwiki 2.30. This
version of ikiwiki drops support for subscribing to commit mail version of ikiwiki drops support for subscribing to commit mail
notifications for pages. The idea is that you can subscribe to the new notifications for pages. The idea is that you can subscribe to the new
[[Json.tl.ph]] feed instead. (Or create your own custom feed of only the [[RecentChanges]] feed instead. (Or create your own custom feed of only the
changes you're interested in, and subscribe to that.) changes you're interested in, and subscribe to that.)
So if you were subscribed to mail notifications on here, you'll need to So if you were subscribed to mail notifications on here, you'll need to
change how you keep track of changes. Please let me know if there are any change how you keep track of changes. Please let me know if there are any
missing features in the [[Json.tl.ph]] feeds. missing features in the [[RecentChanges]] feeds.
Statically building the RecentChanges also has performance implications, Statically building the RecentChanges also has performance implications,
I'll keep an eye on [[server_speed]].. I'll keep an eye on [[server_speed]]..

View File

@ -1,7 +1,7 @@
# Syntax highlighting of recent changes # Syntax highlighting of recent changes
Hello, Hello,
is there a simple way to highlight the diff printed in the [[/json.tl.ph]] is there a simple way to highlight the diff printed in the [[/recentchanges]]
page? I imagined several solutions, but I am still wondering about the best one. page? I imagined several solutions, but I am still wondering about the best one.
* One might activate the [[plugins/highlight]] and [[plugins/format]] plugins, * One might activate the [[plugins/highlight]] and [[plugins/format]] plugins,

View File

@ -5,4 +5,4 @@ bzr repository.
Ikiwiki can run as a post-update hook to update a wiki whenever commits Ikiwiki can run as a post-update hook to update a wiki whenever commits
come in. When running as a [[cgi]] with bzr, ikiwiki automatically come in. When running as a [[cgi]] with bzr, ikiwiki automatically
commits edited pages, and uses the bzr history to generate the commits edited pages, and uses the bzr history to generate the
[[Json.tl.ph]] page. [[RecentChanges]] page.

View File

@ -5,7 +5,7 @@ Darcs repository.
An Ikiwiki wrapper is run by the `posthook` to update a wiki whenever commits An Ikiwiki wrapper is run by the `posthook` to update a wiki whenever commits
or remote pushes come in. When running as a [[cgi]] with Darcs, ikiwiki or remote pushes come in. When running as a [[cgi]] with Darcs, ikiwiki
automatically commits edited pages, and uses the Darcs history to generate the automatically commits edited pages, and uses the Darcs history to generate the
[[Json.tl.ph]] page. [[RecentChanges]] page.
Example for a `_darcs/prefs/defaults` file in `$SRCDIR`: Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:

View File

@ -8,7 +8,7 @@ the Linux kernel. Ikiwiki supports storing a wiki in git.
Ikiwiki can run as a git `post-update` hook to update a wiki Ikiwiki can run as a git `post-update` hook to update a wiki
whenever commits come in. When running as a [[cgi]], whenever commits come in. When running as a [[cgi]],
ikiwiki automatically commits edited pages, and uses the ikiwiki automatically commits edited pages, and uses the
git history to generate the [[Json.tl.ph]] page. git history to generate the [[RecentChanges]] page.
Normally you can just follow the instructions in [[setup]] to create Normally you can just follow the instructions in [[setup]] to create
the git repositories and get started. To understand the details, read on. the git repositories and get started. To understand the details, read on.

View File

@ -5,7 +5,7 @@ mercurial repository.
Ikiwiki can run as a `post-commit` and/or `incoming` hook to update a wiki whenever commits or remote pushes Ikiwiki can run as a `post-commit` and/or `incoming` hook to update a wiki whenever commits or remote pushes
come in. When running as a [[cgi]] with Mercurial, ikiwiki automatically come in. When running as a [[cgi]] with Mercurial, ikiwiki automatically
commits edited pages, and uses the Mercurial history to generate the commits edited pages, and uses the Mercurial history to generate the
[[Json.tl.ph]] page. [[RecentChanges]] page.
Example for a `.hg/hgrc` file in `$SRCDIR`: Example for a `.hg/hgrc` file in `$SRCDIR`:

View File

@ -1,7 +1,7 @@
[Monotone](http://monotone.ca/) is a distributed revision control system. [Monotone](http://monotone.ca/) is a distributed revision control system.
Ikiwiki supports storing a wiki in a Monotone repository and editing it Ikiwiki supports storing a wiki in a Monotone repository and editing it
using the [[cgi]] interface. It will use the Monotone logs to generate the using the [[cgi]] interface. It will use the Monotone logs to generate the
[[Json.tl.ph]] page. [[RecentChanges]] page.
The monotone support in ikiwiki requires the Monotone perl module to be The monotone support in ikiwiki requires the Monotone perl module to be
installed. (It's available from the contrib/ directory in the monotone installed. (It's available from the contrib/ directory in the monotone

View File

@ -6,4 +6,4 @@ system is recommended.
Ikiwiki can run as a [[post-commit]] hook to update a wiki whenever commits Ikiwiki can run as a [[post-commit]] hook to update a wiki whenever commits
come in. When running as a [[cgi]] with Subversion, ikiwiki automatically come in. When running as a [[cgi]] with Subversion, ikiwiki automatically
commits edited pages to the subversion repostory, and uses the Subversion commits edited pages to the subversion repostory, and uses the Subversion
log to generate the [[Json.tl.ph]] page. log to generate the [[RecentChanges]] page.

View File

@ -8,6 +8,6 @@ using ikiwiki with tla is not recommended.
Ikiwiki can run as a [[post-commit]] hook to update a wiki whenever commits Ikiwiki can run as a [[post-commit]] hook to update a wiki whenever commits
come in. When running as a [[cgi]] with tla, ikiwiki automatically come in. When running as a [[cgi]] with tla, ikiwiki automatically
commits edited pages to the Arch repostory, and uses the Arch commits edited pages to the Arch repostory, and uses the Arch
log to generate the [[Json.tl.ph]] page. log to generate the [[RecentChanges]] page.
Note that the tla support needs the [[!cpan MailTools]] perl module. Note that the tla support needs the [[!cpan MailTools]] perl module.

View File

@ -22,7 +22,7 @@ _(The list of things to fix.)_
## commit spoofing ## commit spoofing
Anyone with direct commit access can forge "web commit from foo" and Anyone with direct commit access can forge "web commit from foo" and
make it appear on [[Json.tl.ph]] like foo committed. One way to avoid make it appear on [[RecentChanges]] like foo committed. One way to avoid
this would be to limit web commits to those done by a certain user. this would be to limit web commits to those done by a certain user.
## other stuff to look at ## other stuff to look at

View File

@ -1,2 +1,2 @@
* [[json.tl.ph]] * [[recentchanges]]
* my site: [here](http://iaskquestions.com) * my site: [here](http://iaskquestions.com)