[xwiki-users] Unable to upload larger files (30MB+)

2016-09-09 Thread Polydectus84
I have searched all over the forums but can't seem to find a solution that
matches what I am experiencing.

I'm unsure what information you need, but here are the basics.

XWiki Enterprise 7.4.4 on Ubuntu Server 16.06.  MySQL, Tomcat8

If there is some sort of script that I need to run to show what other
extensions are installed or specifics, please let me know.

I am trying to upload a PDF that is about 30MB.  I have tried adding it as
an attachment to a page, but it just gives me an error, "An error occurred
while uploading AE1920-228XUS.pdf"

 

I have also tried to install thru the File Manager Extension, but it doesn't
actually upload.  Here is a screenshot immediately after it "looks like" it
uploaded.

 

I have tried uploading smaller image files and those upload correctly.

Things I have already tried:

- Changed the Maximum Upload Size to 314572800
- php.ini - changed the max_upload_size value to 300MB

I wish there was a log that I could read to see what the error actually is.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Unable-to-upload-larger-files-30MB-tp7601141.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


[xwiki-users] XWiki Ldap authentication

2016-09-09 Thread Dibyendu Das
Hi,

I am trying to set up Ldap integration, and have installed both LDAP
Authenticator and LDAP Application.
I am using XWiki 8.2.1.

In my xwiki.cfg file I have the following settings in the LDAP section:

#-# LDAP authentication service

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=the.ldap.server
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=cn={0},ou=something1,ou=something2,ou=something3,dc=something4,dc=something5,dc=something6,dc=something7
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=1

Rest of the lines are commented. Note that there's nothing in base_DN
field. I have provided the same values
in bin/admin/XWiki/XWikiPreferences?editor=globaladmin=LDAP=XWiki.
But the page shows ldap.missingLdapService at the top of the page.

Any ideas why this is happening?

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


Re: [xwiki-users] ACL missunderstand

2016-09-09 Thread Vincent Massol
Hi Pascal,

> On 09 Sep 2016, at 16:54, Pascal BASTIEN  wrote:
> 
> Hello,
> 
> I don't understand very well how new ACL working with nested page with 8.2.1 
> compared to spaces ACL on 7.x version
> 
> About ACL, what use on xwiki 7.0.1 is:
> - read for XWikiAllGroup (everyone)
> - write + create page for "XWikiEditeurs" on  "Encyclopédie" space (and read 
> for every other page on this wiki)
> (I know wiki spirirt mean everyhome can write but my Boss...)
> 
> then what I use on xwiki 7.x:
> - on main xwiki, I forbidden Edit for XWikiAllGroup
> - on "Encyclopédie space" I allowed "edit" for "XWikiEditeurs" (+ read and 
> comment)
> and forbidden "edit" for allow only "read" and "comment" for XWikiAllGroup
> because I know that in my case, ACL on space overwriting wiki ACL
> 
> When I upgrade from 7.0.1 to 8.2.1, I encoutered ACL problem, no one could 
> create page on all the wiki :-/
> 
> I find that the cause is "forbidden Edit for XWikiAllGroup" on main wiki.
> 
> My questions is: how ACL overwriting working with xwiki 8.2.1?
> Is ACL right with "Rights: Page & Children" is similar to space ACL?
> What if I apply some ACL rights on a page under "Encyclopédie" and next I 
> apply different ACL right with "Rights: Page & Children" on  "Encyclopédie"?  
> Rights of children page are removed?
> 
> To conclude, do you know which ACL I must apply to have same rights thant 
> xwiki 7.0.1?
> (I must apply ACL right on ALL first level space?)

I don’t think that ACL have changed over versions. There are some new 
permissions like the Script permissions but globally they still work the same.

"Rights: Page & Children" is similar to space ACL”
Correct!

And “Rights: Page” is just permissions for the WebHome page.

As before permissions are inherited. Although before we had only 1 space level, 
now we have several spaces. But the principle is the same.

Thanks
-Vincent


> 
> Thxs for any help.
> 
> Pascal B
> ___
> 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] ACL missunderstand

2016-09-09 Thread Pascal BASTIEN
Hello,

I don't understand very well how new ACL working with nested page with 8.2.1 
compared to spaces ACL on 7.x version

About ACL, what use on xwiki 7.0.1 is:
- read for XWikiAllGroup (everyone)
- write + create page for "XWikiEditeurs" on  "Encyclopédie" space (and read 
for every other page on this wiki)
(I know wiki spirirt mean everyhome can write but my Boss...)

then what I use on xwiki 7.x:
- on main xwiki, I forbidden Edit for XWikiAllGroup
- on "Encyclopédie space" I allowed "edit" for "XWikiEditeurs" (+ read and 
comment)
 and forbidden "edit" for allow only "read" and "comment" for XWikiAllGroup
because I know that in my case, ACL on space overwriting wiki ACL

When I upgrade from 7.0.1 to 8.2.1, I encoutered ACL problem, no one could 
create page on all the wiki :-/

I find that the cause is "forbidden Edit for XWikiAllGroup" on main wiki.

My questions is: how ACL overwriting working with xwiki 8.2.1?
Is ACL right with "Rights: Page & Children" is similar to space ACL?
What if I apply some ACL rights on a page under "Encyclopédie" and next I apply 
different ACL right with "Rights: Page & Children" on  "Encyclopédie"?  Rights 
of children page are removed?

To conclude, do you know which ACL I must apply to have same rights thant xwiki 
7.0.1?
(I must apply ACL right on ALL first level space?)

Thxs for any help.

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


Re: [xwiki-users] Menu created with menu application shows up when the page is printed (XWIKI-13452)

2016-09-09 Thread Mario
Hi Marius,

I'm somewhat embarrassed, it's not the menu that gets printed but the
breadcrumb navigation bar. Because it was a long url we mistook it for the
menu.

Sorry for that. I will open a new topic so that the subject line is correct.
Thank you.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Menu-created-with-menu-application-shows-up-when-the-page-is-printed-XWIKI-13452-tp7601127p7601137.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] Problems with both WYSIWYG editors

2016-09-09 Thread alx_0x41
 With the CKEditor:  1. In 95% of cases the tree view button in the 
"add link" dialog is not  working. In the google developer console I see 
the following messages when  opening the editor:  tree.js:1 Uncaught 
SyntaxError: Unexpected token   hierarchy.js:1 Uncaught TypeError: b is 
not a function  You have a problem with the document tree which is not 
related to the CKEditor editor. The document tree is used in various places, 
like the breadcrumb, the navigation panel, etc. Don't you have the same errors 
in the JavaScript console when in view mode? Something prevents the tree from 
loading. Did you install any extensions? Did you write any JavaScript 
extensions? I've seen this problem once caused by an extension that was loading 
jQuery from CDN instead of using the version bundled with XWiki. I have a clean 
install of 8.3M1 and the tree view loads all the time on Chrome. If you want to 
help debugging then you can replace your minified version of hierarchy.js (from 
the XWiki WAR) with the unminified version 
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-8.2.1/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/hierarchy/hierarchy.js
 so that we get a better error message.   Initially I did the only modification 
- deleted the colorbutton plugin from the 'removePlugins' list on the EditSheet 
JSExtension. No other changes.   And right now I have set up a fresh 
installation from the "graphical installer for all platfroms" of 8.2 and 
replaced the hierarchy.js with the one from branch 8.2.x on github.   Here's 
what I get in the console:   tree.js:1 Uncaught SyntaxError: Unexpected token 
 hierarchy.js:104 Uncaught TypeError: $ is not a function(anonymous 
function) @ hierarchy.js:104 execCb @ require.min.js?r=1:29 check @ 
require.min.js?r=1:18 (anonymous function) @ require.min.js?r=1:22 (anonymous 
function) @ require.min.js?r=1:7 (anonymous function) @ require.min.js?r=1:23 y 
@ require.min.js?r=1:6 emit @ require.min.js?r=1:23 check @ 
require.min.js?r=1:19 enable @ require.min.js?r=1:23 init @ 
require.min.js?r=1:16 I @ require.min.js?r=1:13 completeLoad @ 
require.min.js?r=1:28 onScriptLoad @ require.min.js?r=1:29   The only time I 
receive these errors is when opening the CKEditor. I do not get it in any other 
scenarios.     Seems like in Chrome that happens more often then in 
Firefox. Tried both  production-like WAR installation and the versions from 
the "graphical  installer for all platfroms" - both 8.2 and 8.3-M1.  
 2. Sometimes the editor just does not show up at all - the editor load 
 progress indicator inside the page is rotating and nothing happens. Could 
 not find and error messages. Seems that this does not depend on any  
particular page contents - sometimes it happens, sometimes not. Tried  
cleaning the browser cache, but that did not help.   3. The similar 
problem with the "source" button. Very often it just shows  the empty page. 
If I click it about 5 times on/off then sometimes the  contents finally 
appears, but sometimes I get the raw HTML contents of the  whole current 
page inside the text box.   After giving up with CKEditor I tried the 
GWT editor (although I believe  that since the CKEditor became the default 
one, the GWT might soon became  deprecated).   But here I met 
another problem: if I format any cell in a table with either  "forecolor" 
or "backcolor" the removeformat command does not remove these  colors. It 
only works if I switch to the source and put a space between '|'  and '(%'. 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-with-both-WYSIWYG-editors-tp7601122p7601132.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


[xwiki-users] [XWiki SAS] Help promote XWiki by writing a quick review for getapp

2016-09-09 Thread Vincent Massol
Hi XWiki users,

I’m taking my XWiki SAS (http://xwiki.com) employee hat to write to you with 
this email.

XWiki SAS is trying to promote XWiki on getapp.com. Moreover we’re trying to 
get ahead of Confluence there! :)

If you check the following image you’ll see that Confluence is number 12th with 
8 review and XWiki 16th with 6 reviews. We’d love to be able to have more 
reviews: https://www.evernote.com/l/AHcCLqw2oXtCo5p1flzr3grDcou0Zi3ZJ_w

If you want to help promote XWiki you can write a small review of XWiki at:
https://www.getapp.com/collaboration-software/a/xwiki/reviews/write/

Thanks!
-Vincent Massol
Hat: XWiki SAS employee
On behalf od XWiki SAS marketing
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with both WYSIWYG editors

2016-09-09 Thread Marius Dumitru Florea
On Thu, Sep 8, 2016 at 6:49 PM, alx_0x41  wrote:

> Hi Everyone,
>
> I've been testing XWiki for a few days and there are several problems with
> both GWT and CKEditor editors.
>
> With the CKEditor:
> 1. In 95% of cases the tree view button in the "add link" dialog is not
> working. In the google developer console I see the following messages when
> opening the editor:
> tree.js:1 Uncaught SyntaxError: Unexpected token <
> hierarchy.js:1 Uncaught TypeError: b is not a function
>

You have a problem with the document tree which is not related to the
CKEditor editor. The document tree is used in various places, like the
breadcrumb, the navigation panel, etc. Don't you have the same errors in
the JavaScript console when in view mode? Something prevents the tree from
loading. Did you install any extensions? Did you write any JavaScript
extensions? I've seen this problem once caused by an extension that was
loading jQuery from CDN instead of using the version bundled with XWiki. I
have a clean install of 8.3M1 and the tree view loads all the time on
Chrome.

If you want to help debugging then you can replace your minified version of
hierarchy.js (from the XWiki WAR) with the unminified version
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-8.2.1/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/hierarchy/hierarchy.js
so that we get a better error message.


>
> Seems like in Chrome that happens more often then in Firefox. Tried both
> production-like WAR installation and the versions from the "graphical
> installer for all platfroms" - both 8.2 and 8.3-M1.
>
> 2. Sometimes the editor just does not show up at all - the editor load
> progress indicator inside the page is rotating and nothing happens. Could
> not find and error messages. Seems that this does not depend on any
> particular page contents - sometimes it happens, sometimes not. Tried
> cleaning the browser cache, but that did not help.
>
> 3. The similar problem with the "source" button. Very often it just shows
> the empty page. If I click it about 5 times on/off then sometimes the
> contents finally appears, but sometimes I get the raw HTML contents of the
> whole current page inside the text box.
>
> After giving up with CKEditor I tried the GWT editor (although I believe
> that since the CKEditor became the default one, the GWT might soon became
> deprecated).
>
> But here I met another problem: if I format any cell in a table with either
> "forecolor" or "backcolor" the removeformat command does not remove these
> colors. It only works if I switch to the source and put a space between '|'
> and '(%'.
>
> I'm really frustrated, because the table color formating is one of the main
> reasons I started looking for a new wiki engine for our company and after
> spending almost two weeks on the evaluation of different products I came to
> the conclusion that XWiki is currently the best one around.
>
> So any help would be very appreciated.
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/Problems-with-both-WYSIWYG-editors-tp7601122.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] Advice needed for new XWiki Enterprise 7.4.4 Setup

2016-09-09 Thread Vincent Massol
Hi Mike,

> On 08 Sep 2016, at 15:37, Polydectus84  wrote:
> 
> That was very helpful, thank you.  I have decided to go the route of
> pages/dashboard and nested pages.  It just makes more sense.  I will create
> another wiki to contain the sensitive information and give certain users
> access rights.
> 
> This is a bit unrelated to my question, but I searched the forum and
> FAQs/guides but couldn't find an up to date answer.  I am looking for a
> template to be able to use for a hardware model of a computer.  I have been
> using the "Encyclopedia" template and altering it from there.  I suppose my
> real question is how can I save my altered version as an actual template,
> and name it "Hardware Model Template" or something like that so if someone
> chooses that template, they can just fill in the blanks?  How would I go
> about creating a template?
> 
> XWiki software is very good.  By far the best wiki software that I have
> used, and I've tried almost all of them.  I am confident that we are going
> to stick with it.

Thanks for those kinds words. I’m really happy about that :)

I’ve taken the liberty to put this sentence as a quote on 
https://www.xwiki.org/xwiki/bin/view/References/Testimonials. I hope this is ok 
with you (feel free to edit it and make modifications to it if you wish!).

I just wanted to point out one other option for you which is to get help from 
one of the companies sponsoring the development of the XWik open source 
software. This allows to get dedicated help for your needs with guaranteed 
response time by the developers of XWiki to get faster to your goals. As 
importantly, it’s also a nice way to give back to the XWiki project since those 
companies inject back the money into developing XWiki. In case you’re 
interested, see 
https://www.xwiki.org/xwiki/bin/view/Main/Supporters/SponsoringCompanies/ to 
see what those companies are sponsoring and 
http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport for what 
they offer.

Thanks!
-Vincent

> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Advice-needed-for-new-XWiki-Enterprise-7-4-4-Setup-tp7600916p7601121.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] Menu created with menu application shows up when the page is printed (XWIKI-13452)

2016-09-09 Thread Marius Dumitru Florea
Hi Mario,

Can you check if you have the fix? See the "Commits" tab on the
XWIKI-13452. The fix is in the Menu.MenuMacro page.

Thanks,
Marius

On Fri, Sep 9, 2016 at 9:34 AM, Hofstätter Mario <
mario.hofstaet...@automationx.com> wrote:

> Hi, this issues http://jira.xwiki.org/browse/XWIKI-13452 seems to be
> still present in XWiki 8.2.1.
> We have a Menu in current wiki, positioned after header, and it is visible
> in both the print preview and the actual print out. Any advice?
>
> Thank you in advance
> 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] Menu created with menu application shows up when the page is printed (XWIKI-13452)

2016-09-09 Thread Hofstätter Mario
Hi, this issues http://jira.xwiki.org/browse/XWIKI-13452 seems to be still 
present in XWiki 8.2.1.
We have a Menu in current wiki, positioned after header, and it is visible in 
both the print preview and the actual print out. Any advice?

Thank you in advance
Mario
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Advice needed for new XWiki Enterprise 7.4.4 Setup

2016-09-09 Thread Marius Dumitru Florea
On Thu, Sep 8, 2016 at 4:37 PM, Polydectus84  wrote:

> That was very helpful, thank you.  I have decided to go the route of
> pages/dashboard and nested pages.  It just makes more sense.  I will create
> another wiki to contain the sensitive information and give certain users
> access rights.
>
> This is a bit unrelated to my question, but I searched the forum and
> FAQs/guides but couldn't find an up to date answer.  I am looking for a
> template to be able to use for a hardware model of a computer.  I have been
> using the "Encyclopedia" template and altering it from there.  I suppose my
> real question is how can I save my altered version as an actual template,
> and name it "Hardware Model Template" or something like that so if someone
> chooses that template, they can just fill in the blanks?  How would I go
> about creating a template?
>

You can do this from the Wiki Admnistration, see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HTemplates
.

Hope this helps,
Marius


>
> XWiki software is very good.  By far the best wiki software that I have
> used, and I've tried almost all of them.  I am confident that we are going
> to stick with it.
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/Advice-needed-for-new-XWiki-Enterprise-7-4-4-Setup-
> tp7600916p7601121.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