Re: [xwiki-users] remove office viewer icon within the page

2016-10-03 Thread Marius Dumitru Florea
On Tue, Oct 4, 2016 at 12:15 AM, Paul Pinkerton (ACLCO) 
wrote:

> I have the preview (eye) icon showing up in a page whenever I put an
> attachment link there.  I would like to remove it.  I don't want to remove
> the entire extension, as it is useful in the attachments area, but I find
> it's not helpful within the text of the page.  I seem to remember
> configuring it to be there, but cannot remember where that was to get rid
> of it.
>

What syntax do you use for the attachment link? What you describe is not
standard behavior and I can't reproduce it using

attach:someOfficeDocument.odt

I have the office server connected. Maybe you installed an extension that
provides this feature.

Hope this helps,
Marius


>
> Help!
>
> Paul Pinkerton
> KnowledgeNow Project Lead
> pink...@lao.on.ca
> Skype: pinkerp.lao
>
> Association of Community Legal Clinics of Ontario
> 416-847-1418 or 1-866-965-1416x 5177
> www.aclco.org
>
> ___
> 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] Switch sheet between view and edit mode

2016-10-03 Thread Marius Dumitru Florea
I haven't fully understood what you are trying to achieve, but this may
help
http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module#HActionsheets
. In any case, binding the sheet each time you view the page is clearly not
a good idea.

Hope this helps,
Marius

On Thu, Sep 29, 2016 at 7:54 PM, Tarekskayv  wrote:

> Hello,
>
> I've create my own sheep for a class.
> But if i set it as default, i can't fill in the fields.
> Si i kept the default one to fill in all the fields and after add manually
> the custom sheet to display the page.
> When i try to edit the page, i can't change anything
> So i need to remove the "custom" sheet , modify the page and replace it
> after...
>
> Little boring.
>
> So, my question is :
> is it possible to keep the default sheet when i create a new page / edit an
> existing page and when i save it, change the sheet with the custom.
>
>
> Here is the code of the default sheet , i've try to add the custom sheet
> when saving the page, but the sheet value stay empty  :(
>
> {{velocity}}
> ## You can modify this page to customize the presentation of your object.
> ## At first you should keep the default presentation and just save the
> document.
>
> #set($class = $doc.getObject('test.testinfraconfigClass').xWikiClass)
> #foreach($prop in $class.properties)
>   ; $prop.prettyName
>   : $doc.display($prop.getName())
> #end
>
>
> #set($obj = $doc.newObject("XWiki.DocumentSheetBinding"))
> $obj.set("Sheet","test.testinfraconfig Sheet1")
> $doc.save()
>
> {{/velocity}}
>
>
> And for edition mode, what can i do ?
>
>
>
> Regards,
>
> Tarekskayv
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/Switch-sheet-between-view-and-edit-mode-tp7601438.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


Re: [xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-10-03 Thread Vincent Massol

> On 03 Oct 2016, at 14:25, Pascal BASTIEN  wrote:
> 
> FYI about annotation issue: here the fix for xwiki 8.2.1:
> http://jira.xwiki.org/browse/XWIKI-13757?focusedCommentId=92815=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-92815
> (Vincent backported Marius patch)

Thanks Pascal.

To be precise I backported by own patch on 8.2.2 (I fixed it for 8.3M1). And 
what Pascal pointed at is a workaround that doesn’t require you to upgrade your 
wiki version.

Thanks
-Vincent

> --- En date de : Ven 30.9.16, Mario  a 
> écrit :
> 
>> De: Mario 
>> Objet: Re: [xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 
>> 8.2.1: FCKeditor on textarea and annotations with HTML code
>> À: users@xwiki.org
>> Date: Vendredi 30 septembre 2016, 12h38
>> PascalB wrote
>>> - when I use "annotation", input
>> field is filled with HTML code instead of
>>> empty:
>>> https://snag.gy/3dxoIK.jpg
>> 
>> We too have this issue on our
>> 8.2.1 system (tomcat war). However, on a 8.2.1
>> windows Standalone dummy system this issue is
>> not present. The annotation
>> editor does not
>> use the CkEditor even though the user perference is set
>> to
>> use wysiwyg.
>> 
>> Still haven't found a solution, other than
>> setting the user preference to
>> not to use
>> wysiwyg.
>> Thx
>> Mario
>> 
> ___
> 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


[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-10-03 Thread Pascal BASTIEN
FYI about annotation issue: here the fix for xwiki 8.2.1:
http://jira.xwiki.org/browse/XWIKI-13757?focusedCommentId=92815=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-92815
(Vincent backported Marius patch)


--- En date de : Ven 30.9.16, Mario  a écrit 
:

> De: Mario 
> Objet: Re: [xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 
> 8.2.1: FCKeditor on textarea and annotations with HTML code
> À: users@xwiki.org
> Date: Vendredi 30 septembre 2016, 12h38
> PascalB wrote
> > - when I use "annotation", input
> field is filled with HTML code instead of
> > empty:
> > https://snag.gy/3dxoIK.jpg
> 
> We too have this issue on our
> 8.2.1 system (tomcat war). However, on a 8.2.1
> windows Standalone dummy system this issue is
> not present. The annotation
> editor does not
> use the CkEditor even though the user perference is set
> to
> use wysiwyg.
> 
> Still haven't found a solution, other than
> setting the user preference to
> not to use
> wysiwyg.
> Thx
> Mario
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-10-03 Thread Kumar, Piyush
Hi Vincent,



As per your suggestion in below answer I went through the page 
“http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExportfeature”

For Xwiki  export and database backup to migrate to new version. I still have 
one doubt that we are using virtual wikis and currently we have one DB created 
for one virtual Wiki. So We have one DB for main Wiki as Xwiki and multiple DBs 
for multiple created virtual Wikis. In the above referred page it only talks 
about main Wiki page export and main Xwiki DB backup. I would like to know that 
what should we do for our virtual Wikis and their DBs ?



Do we need to export each virtual Wiki and its created DB separately ?



Also Please suggest on DB indexing part as asked in below email as well.



Thanks a lot Vincent for your help.



Thanks & Regards,

Piyush



-Original Message-
From: Kumar, Piyush
Sent: Wednesday, September 28, 2016 8:04 PM
To: XWiki Users
Subject: RE: [xwiki-users] I would like to migrate my xwiki application from 
4.2 to 8.2.1



Hi Vincent,



Regarding DB indexing I would like to tell you that I already created below 
indexes as per the page 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration to 
deal with performance but could not get any benefit. Sice we are having 4.2 
version at production, we created below mentioned indexes in our MySQL DB.





Indexes for XWiki Enterprise versions after 3.2 create index xwl_value on 
xwikilargestrings (xwl_value(50)); create index xwd_parent on xwikidoc 
(xwd_parent(50)); create index xwd_class_xml on xwikidoc (xwd_class_xml(20)); 
create index xws_number on xwikistatsdoc (XWS_NUMBER); create index 
xws_classname on xwikistatsdoc (XWS_CLASSNAME); create index xwr_number on 
xwikistatsreferer (XWR_NUMBER); create index xwr_classname on xwikistatsreferer 
(XWR_CLASSNAME); create index xwr_referer on xwikistatsreferer 
(XWR_REFERER(50)); create index xwv_user_agent on xwikistatsvisit 
(XWV_USER_AGENT(255)); create index xwv_cookie on xwikistatsvisit 
(XWV_COOKIE(255)); create index xwv_classname on xwikistatsvisit 
(XWV_CLASSNAME); create index xwv_number on xwikistatsvisit (XWV_NUMBER); 
create index ase_requestid on  activitystream_events (ase_requestid(200)); 
create index ase_page_date on  activitystream_events (ase_page, ase_date); 
create index xda_docid1 on xwikiattrecyclebin (xda_docid); create index 
ase_param1 on activitystream_events (ase_param1(200)); create index ase_param2 
on activitystream_events (ase_param2(200)); create index ase_param3 on 
activitystream_events (ase_param3(200)); create index ase_param4 on 
activitystream_events (ase_param4(200)); create index ase_param5 on 
activitystream_events (ase_param5(200));





Thanks & Regards,

Piyush



-Original Message-

From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol

Sent: Friday, September 23, 2016 6:33 PM

To: XWiki Users

Subject: Re: [xwiki-users] I would like to migrate my xwiki application from 
4.2 to 8.2.1





> On 23 Sep 2016, at 14:49, Kumar, Piyush 
> > wrote:

>

> Hi All,

>

> I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
> MySQL DB.  I am using XWiki clustered 2 based on network events distribution. 
>  I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
> mode") which allows us to have several wikis running on the same XWiki 
> instance (i.e. in the same JVM). I also configured Scheduled jobs to empty 
> trash and getting it triggered via cron expression.

>

> I am facing serious performance issue as Xwiki application has become very 
> slow and  frequently results in timeout.

>

> To resolve the performance issue I would like to migrate my XWiki application 
> from version 4.2 to 8.2.1.

>

> Is it a good decision?



Reply from Vincent :  It is. Actually what you’ve done (stay very long on a 
very old version is not such a good idea ;) (will make the upgrade a lot more 
complex).



Since you’re using a very old version you may want to export your data, install 
XWiki 8.2.1 and import your data. However see the limitations at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExportfeature



> If now which version can be relatively cater more performance? Also if anyone 
> can share the high level steps which must be followed while migration, would 
> be great help.



Reply from Vincent :  Re performance you can get good perf in 4.2 too. If I had 
to guess I’d say you’re missing indexes in the DB, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances



Thanks

-Vincent



Reply from Vincent :  PS: Since this is a complex operation, I’d highly suggest 
that you hire some xwiki experts. There are companies offering such expertise 
and that are sponsoring the development of the xwiki project. See 
http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport



> 

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-10-03 Thread Pascal BASTIEN
Hi

> > 
> > FYI,
> I’ve fixed this for the Mail class in:
> > http://jira.xwiki.org/browse/XWIKI-13661
> > 
> > (and for other
> classes in other issues)

For other Class you said. Then annotation issue is fixed too in 8.3 version? (I 
didn't found the issue)
Thxs.


> PascalB wrote
> >>> - when I use
> "annotation", input field is filled with HTML code
> instead of
> >>> empty:
> >>> https://snag.gy/3dxoIK.jpg
> >> 
> >> We too have
> this issue on our 8.2.1 system (tomcat war). However, on a
> 8.2.1
> >> windows Standalone dummy
> system this issue is not present. The annotation
> >> editor does not use the CkEditor even
> though the user perference is set to
> >> use wysiwyg.
> >>
> 
> >> Still haven't found a
> solution, other than setting the user preference to
> >> not to use wysiwyg.
> >> Thx
> >> Mario
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users