On 07/30/2013 04:37 PM, Vincent Massol wrote:
On Jul 30, 2013, at 4:21 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> On 07/30/2013 09:11 AM, Clemens Klein-Robbenhaar wrote:
>> Hi,
>>
>> I just noticed that whenever someone creates a new blog page, this new blog page
shows up in the Activity Stream, even if the page entry is not yet published.
>> I guess this makes just sense from the point of view of the Activity-stream, as
creating the blog page always creates an entry in the activity stream DB of type
"create".
[...]
That's kind of a bug/missing feature. The blog app was developed before
the "hidden documents" feature was fully adopted, so it used a
poor-man's document hiding method that only works inside the blog
application itself. It needs an update so that unpublished blog posts
are also hidden.
Hmm I'm not sure about that Sergiu. Imagine the following:
* I am a normal user (I haven't touched my preferences)
* I create a blog post and save
* Suddenly when I go to the blog home page, my blog post doesn't show any more
(because it's hidden)
* I also search in the wiki and I don't see it. I go to AllDocs index page and I
don't see it listed either. I click ctrl+G and I don't get it too…
Published doesn't mean that page is visible/not visible. It means visible to RSS
feeds.
The notion of draft vs published page is a different concept that we don't currently
have.
Now what we need to do with the planned rewrite of the AS is introduce the notion of
persistent filters for the AS so that you can decide what to display or not display.
Clements, FYI this notion of filters was in the spec of the AS UI from the beginning but
it's not been implemented yet (a first version was done by Edy on a research project
AFAIK but not integrated). We wanted to do this in 5.2 (the rewrite of the AS but it got
delayed). I don't know if anyone will have the time to work on this before the end of
the year but it's pretty high in our todo list since the AS is a hog ATM…
What you could do in the meantime is edit the Main.Activity page objects to modify the
activity macro and filter out what you want.
Thanks, then I will try to start from the activity macro on that page.
I feel if a complete rewrite of the AS is in the planning, then there is not much that I
could contribute to with my quite limited knowledge about XWiki internals?
Clemens