Re: [xwiki-users] Missing menu bar

2016-05-03 Thread Jack
XWiki 8.0 without "home" "space" "page",As I screenshot:

 

 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Missing-menu-bar-tp7599328p7599329.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Proposal] Plan for replacing XWiki's GWT-based WYSIWYG editor with the CKEditor-based one

2016-05-03 Thread Vincent Massol
Hi everyone,

Here’s an update and slight change of plan below.

> On 12 Feb 2016, at 16:52, vinc...@massol.net wrote:
> 
> Hi everyone,
> 
> I’d like to give everyone some heads up about the plan I discussed with 
> Marius (who’s working on the new CKEditor integration) regarding the new 
> CKEditor-based WYSIWYG.
> 
> Goals:
> ==
> 
> 
> * Replace the current GWT-based WYSIWYG editor with one based on CKEditor, 
> see http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
> * Keep it as an extension so that it can be installed using the Extension 
> Manager on XWiki versions 7.4.x. We need to introduce some UIXP to be able to 
> replace the existing editor in the XWiki menus so we’ll need to commit that 
> in 7.4.x (with x >= 2).
> * Make it possible to install the extension on XWiki versions 6.2.5+. However 
> the installation will have some manual parts, to replace the GWT-based editor.
> 
> Timeline:
> =
> 
> * Before the 19th of Feb, a new version of the CKEditor integration will be 
> released containing wiki page/attachment linking and image insertion 
> features. At that point what will remain is:
> ** Support for editing macros
> ** Office importer (if needed)
> ** Configuration UI in the administration
> ** Add UIXP to integrate the CKEditor nicely into the platform (using 
> extension points)
> ** Future: Add support for packaging CKEditor plugins as XWiki Extension.

Was done.

> * The goal is to implement all these remaining features around when 8.1M1 is 
> released (i.e. early April 2016), except maybe the Future part which could be 
> done later on.

We’re a bit late on this. Marius has just released the CKEditor integration 
v1.5 and he’s started working on version 1.6 which will have 
http://bit.ly/1riiehU :
- insert/edit macros
- admin UI section
- ability to replace the default GWT editor

The goal is to release 1.6 at the same time as XWiki 8.1 final.

> * Starting 8.1M2, the goal would be to bundle the Extension in the 
> distribution (default flavor) but to not make it the default yet. There would 
> be some configuration option to select which WYSIWYG editor to use (GTW-based 
> or CKEditor-based).

We won’t bundle it by default in XWiki 8.1 but starting with version 1.6 it 
should be considered as a usable replacement of the GWT editor and you should 
be able to use it instead of the GWT editor.

> * Starting 8.2, if all goes alright, we would set the CKEditor WYSIWYG to be 
> the default (still with ability for admins to configure the editor they wish 
> to use so they can continue to use the GWT-based one if they want that).

We’re still planning to bundle it by default in XWiki 8.2 and even making it 
the default and deprecating the GWT one.

> * Starting 9.0, the idea would be to remove the GWT-editor and retire it to 
> XWiki Contrib with instructions for advanced developers to build it and use 
> it in XWiki should they still want to do that. However we won’t spend extra 
> time to refactor it as an extension since that would spend too much time 
> which we prefer to spend on improving the new WYSIWYG editor.

Unchanged.

Thanks
-Vincent

> WDYT?
> 
> Thanks
> -Vincent
> 
> PS: cc-ing the users list to let the XWiki users know about the plan ahead of 
> time!

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sort Array of Objects

2016-05-03 Thread Rochlin Oleg
Hello again.

I don´t have really much knowledge in Velocity. So right now begging for help :D

#set($users = $xwiki.rightsmanager.usersApi.allUsers) 

#foreach($user in $users)

I am getting an array of objects(user in xwiki). $users-array should be sorted 
by familyname  

Here is the snippet from 

https://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/SortTool.html

I am still kinda confused how to apply this on mine

Single Property Sort
 #foreach($obj in $sorter.sort($objects, "name"))
   $obj.name Ordinal= $obj.ordinal
 #end
 End

Thank you, guys =)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Admin Rights on myxwiki.org

2016-05-03 Thread xrichard
Hi All,

I have re-built the solr index but search still does not work properly:
"Android" does not return any result (it should at least return 15/20
results).

Thanks for your help,



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Admin-Rights-on-myxwiki-org-tp7599256p7599321.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to avoid nested space?

2016-05-03 Thread Marius Dumitru Florea
On Fri, Apr 29, 2016 at 7:11 AM, KirbY ZhoU  wrote:

> Sorry for trouble again, I have upgrade to 7.4.3 now.
> But I still cannot see "limit" option in "Add Gadget" dialog / "Page Tree"
> macro.
>


> How can I add the option into this dialog?
>

You need XWiki 8.1M2 http://jira.xwiki.org/browse/XWIKI-13298 or you can
try to back-port the changes
https://github.com/xwiki/xwiki-platform/commit/038e36e94e908d47c0b4bb9f96cf62c881258b9d
.

Hope this helps,
Marius


>
>
>
>
> 在 16/1/6 下午2:08,“users 代表 Marius Dumitru Florea” 代表 mariusdumitru.flo...@xwiki.com> 写入:
>
> >On Tue, Jan 5, 2016 at 4:45 PM, Zhou Tianling 
> wrote:
> >
> >> I have tried this below on 7.3-release.
> >> {{documentTree compact="true" showTranslations="false"
> >> showAttachments="false" root="wiki:xwiki" limit="200" /}}
> >> But “limit” do not works.
> >>
> >
> >Indeed, I just tested on 7.3, but you can quickly fix it by editing the
> >XWiki.DocumentTreeConfig page with the wiki editor and replace
> >
> >  'showRoot': false
> >
> >with
> >
> >  'showRoot': false,
> >  'limit': 15
> >
> >(i.e. declare de 'limit' configuration parameter and its default value)
> >
> >Hope this helps,
> >Marius
> >
> >
> >>
> >>
> >>
> >> 在 16/1/5 下午9:35,“users 代表 Marius Dumitru Florea”<
> users-boun...@xwiki.org
> >> 代表 mariusdumitru.flo...@xwiki.com> 写入:
> >>
> >> >On Tue, Jan 5, 2016 at 3:33 PM, vinc...@massol.net  >
> >> >wrote:
> >> >
> >> >>
> >> >>
> >> >> On 5 Jan 2016 at 14:29:11, Marius Dumitru Florea (
> >> >> mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com
> ))
> >> >> wrote:
> >> >>
> >> >> > On Tue, Jan 5, 2016 at 2:35 PM, vinc...@massol.net
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > On 5 Jan 2016 at 10:09:27, KirbY ZhoU (kirbyz...@gmail.com
> (mailto:
> >> >> > > kirbyz...@gmail.com)) wrote:
> >> >> > >
> >> >> > > > Sorry for reply so later, I have taken a vacation for days.
> >> >> > >
> >> >> > > Hope you had some nice holidays! :)
> >> >> > >
> >> >> > > > Actually, I modified Dashboard.WebHome after upgrade, and use
> >> >> {{spaces}}
> >> >> > > macro which comes from 7.3 release.
> >> >> > > > Now I replace {{spaces}} with {{documentTree}}, but I have some
> >> >> little
> >> >> > > problem.
> >> >> > > > 1. I want to avoid "xxx more", but limit=100 do not work.
> >> >> > > > 2. I want to limit the tree level, but I have no idea.
> >> >> > >
> >> >> > > All documentation for the tree macro can be found at
> >> >> > >
> >> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
> >> >> > >
> >> >> > >
> >> >> >
> >> >> > > AFAIK there’s currently no way to configure how many items to
> >> display
> >> >> > > before “xxx more” appears. @Marius: is that correct? It seems it
> >> would
> >> >> be
> >> >> > > useful to have this in the future if that’s the case. WDYT? Do we
> >> have
> >> >> a
> >> >> > > jira issue about it already?
> >> >> > >
> >> >> >
> >> >> > There is an internal "limit" parameter available since 7.3RC1, as I
> >> >> > mentioned on
> >> >> > http://lists.xwiki.org/pipermail/users/2015-December/031746.html
> . It
> >> >> > doesn't appear in the documentation because I haven't made it
> public
> >> yet
> >> >> > (with a XWiki.WikiMacroParameterClass object) but it can be used.
> >> >> >
> >> >> > {{documentTree limit="3" /}}
> >> >>
> >> >>
> >> >
> >> >> ok thanks I had forgotten. However KirbY mentioned that it didn’t
> work
> >> >> when he tried it.
> >> >>
> >> >
> >> >I just tried on 8.0-SNAPSHOT and it woks for me.
> >> >
> >> >
> >> >>
> >> >> @KirbY: have you used it in the way Marius described above?
> >> >>
> >> >> Thanks
> >> >> -Vincent
> >> >>
> >> >> > > I’m not sure what’s your use case for point 2. I guess you mean
> >> limit
> >> >> the
> >> >> > > hierarchy but it seems it would prevent users from navigating
> >> >> correctly so
> >> >> > > I’m not sure what’s the use case.
> >> >> > >
> >> >> > > Thanks
> >> >> > > -Vincent
> >> >> > >
> >> >> > > > 发件人: Vincent Massol 代表 "vinc...@massol.net(mailto:
> >> vinc...@massol.net
> >> >> )"
> >> >> > > > 日期: 2015年12月23日 星期三 下午7:35
> >> >> > > > 至: KirbY ZhoU , XWiki Users
> >> >> > > > 主题: Re: [xwiki-users] How to avoid nested space?
> >> >> > > >
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > The default dashboard is located in Dashboard.WebHome. When you
> >> >> upgraded
> >> >> > > you should have had the Distribution Wizard upgrade that page.
> Was
> >> >> that the
> >> >> > > case? Could you check the history for that page?
> >> >> > > >
> >> >> > > > Now two things could have happened:
> >> >> > > >
> >> >> > > > 1) you overwrote the changes brought by the Distribution
> Wizard by
> >> >> > > importing old versions of pages from your previous wiki. If
> you’ve
> >> done
> >> >> > > that then you’ve most likely broken the upgrade process since
> you’ve
> >> >> > > removed all the upgrades that were 

[xwiki-users] [ANN] How to post articles on the xwiki.org Blog

2016-05-03 Thread Eduard Moraru
Hello XWiki users and devs,

The current xwiki.org blog [1] contains mostly release notes announcements,
Bug Fixing Days results and some occasional events that XWiki has taken
part of.

We would like to pump some life into it by encouraging community members to
post articles and news related to the XWiki ecosystem so that everybody can
have a better view of what`s going on.

It can be anything XWiki-related:
* a tutorial / how-to,
* a feature presentation,
* an event where XWiki was presented,
* an extension that you have worked on and published on extensions.xwiki.org
,
* tips and tricks on how to boost productivity with XWIki,
* a real-life problem that was fixed with XWiki,
* news about some public/government agency or even high-profile private
company adopting XWiki,
* etc.

Also, you don`t necessarily have to be a technical person to show your love
for XWiki :)

Anyone interested would have to do it as an individual, member of the
community, using their xwiki.org account. We do not care what company you
are from, as long as your article has content that is interesting/valuable
for the XWiki community.

You should obviously avoid writing SPAM articles, promoting irrelevant
products and generally off-topic stuff.

Here is how to do it in a few easy steps:
1. Log in with your xwiki.org account and go to the Blog Drafts [2] section
2. Create a new sub-page there (use the + button) and write your article.
Don`t forget to save!
3. Contact an XWiki committer either by mail (users or devs list) or by IRC
[3], give them the link to your draft and ask them for a review it.
4. If the review is successful, the article gets moved to the main Blog [1]
and published.

You could view it as a sort of "Pull Request", but for blog articles :)

Note: We also accept cross-posting! You can also share an article on XWiki
that you have written on some other blogging platform. You can post it
entirely or just do a quick summary about it and link to its original
location.

We hope to see some interesting articles and to increase visibility on what
people are achieving with XWiki!

Thanks,
Eduard

--
[1] http://www.xwiki.org/xwiki/bin/view/Blog/
[2] http://www.xwiki.org/xwiki/bin/view/Blog/Drafts
[2] http://dev.xwiki.org/xwiki/bin/view/Community/IRC
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] robots.txt not found

2016-05-03 Thread Vincent Massol
I’ve updated 
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HUrlRewriteFilter

Thanks
-Vincent

> On 02 May 2016, at 19:29, Clemens Klein-Robbenhaar 
>  wrote:
> 
>> Deploy the XWiki Enterprise 8.0 WAR , install in Tomcat 8
>> According to this article
>> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs  make 
>> http://localhost:8080/xwiki/bin/view/Main/ as http://localhost:8080/Main/
>> I remove tomcat ROOT folder,copy xwiki war and rename ROOT
>> now I have a question:
>> I put robots.txt in /ROOT,then I found that http://localhost:8080/robots.txt 
>> file not found.
>> I found that web.xml has redirect,so I put 
>> 
>>default
>>/robots.txt
>>  
>> also not use.
>> 
>> now , i need romove web.xml  redirect Related configuration file?
>> 
> 
> The problem is that the webapp thinks you want to display a Wiki space named 
> "robots.txt"
> 
> You likely need to adapt the URL rewrite, i.e. this part:
> 
> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HUrlRewriteFilter
> 
> There is the list of static urls, near the comment: "Ensure that URLs that 
> must not be served by the Struts Servlet are not modified"
> 
> You should be successful if you add /robots.txt as a special case here, like:
> 
> ^/((bin|resources|skins|rest|webdav|xmlrpc|wiki|webjars)/(.*)|robots\.txt)$
> 
> 
> at least I hope it works that way; I have to admit I did not check if it 
> really works.
> 
> 
> 
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] CKEditor Integration v1.5 Released

2016-05-03 Thread Vincent Massol
Congrats! Thanks Marius :)

-Vincent

> On 03 May 2016, at 11:31, Marius Dumitru Florea 
>  wrote:
> 
> Hi all,
> 
> A new version of the CKEditor Integration extension is available. See
> http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#Hv1.5
> . You can install or upgrade with the Extension Manager.
> 
> Thanks,
> Marius
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] CKEditor Integration v1.5 Released

2016-05-03 Thread Marius Dumitru Florea
Hi all,

A new version of the CKEditor Integration extension is available. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#Hv1.5
. You can install or upgrade with the Extension Manager.

Thanks,
Marius
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users