Re: [xwiki-users] Sync spaces between to xwiki ?
Hi, On Mon, Mar 30, 2015 at 11:08 AM, Xavier Beaudouin xavier.beaudo...@hsoftware.com wrote: Hi ! - I (maybe I am not really up to date with xwiki) cannot figure what pages can be accesseed by each users (if someone can tell me how to find that I will be pleased to pay him/her a pint of Guinness). If you really want to, I guess you could iterate over all the documents in your wiki and call the $xwiki.hasAccessLevel('view', $someUserThatYouAreInterestedIn, $someDocument) and get the list of documents a user has rights on. Thanks for the hint (maybe if in a next version this can be added to have this without programming ?). - We are on xwiki 2.1.1 and all trys to upgrade to 6.x have fail on randoms parts (mostly rights that has been exploded, eg. everybody can see anything), or some pages being broken (people that hack too mutch groovy, they should not). A lot has changed from 2.1.1. You need to carefully read release notes and fix deprecated calls in your pages' scripts, etc. It's not really a straight-forward process, but the Distribution Wizard is supposed to help you along the way. Yeah :) I saw that. It has been one year I am working on that (I am new sysadmin for my company since more than 2 years, working on make all things up to date, old sysadmin has the very bad habit to not upgrade...). The most strange things, is... every migration has new issues, maybe because of me or something... So it is very hardwork to migrate that. So to avoid issues with rights, we have an idea to split our xwiki into 2 servers : - one for internal, if this too mutch rights this is not an issue - one for external users (customers !), with only the pages that should be online for users, with reset of user's list and clean rights management. If you really want this setup, you could use the multiwiki feature and have your main wiki for internal usage, with access to programming rights and everything, and create a subwiki for clients. I thought of that, but really I'd love the KISS feature :) Anyway I will evaluate this :) Well, that is the KISS approach. Now I want to find a way to automaticaly sync some spaces between our master xwiki and some slave xwiki... Any good pointers? I can't really recommend any extension that I know of (there may be), but I think you could easily achieve this with a scheduler job that would periodically synchronize your spaces. You would be the one defining that this synchronization is (override from master to slave, the other way around, merge, etc.), inside the job's code. Since I am a very newbee in xWiki, have any pointer about this kind of work ? Have a look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application and then generally at XWiki's API to access the data http://platform.xwiki.org/xwiki/bin/view/DevGuide/API Thanks, Eduard Regards, -- Xavier Beaudouin - Senior Network and System Administrator Infrastructure and network director Horizon Software - http://www.hsoftware.com/ 13 rue La Fayette - 75009 PARIS - France Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01 ___ 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] Sync spaces between to xwiki ?
Hi Edouard, If you really want this setup, you could use the multiwiki feature and have your main wiki for internal usage, with access to programming rights and everything, and create a subwiki for clients. I thought of that, but really I'd love the KISS feature :) Anyway I will evaluate this :) Well, that is the KISS approach. :D Since I am a very newbee in xWiki, have any pointer about this kind of work ? Have a look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application and then generally at XWiki's API to access the data http://platform.xwiki.org/xwiki/bin/view/DevGuide/API Many thanks, this is really what I have needed (and thus an another reason to push to be on 6.x or 7.x version.) Now I have some lab works :) Xavier -- Xavier Beaudouin - Senior Network and System Administrator Infrastructure and network director Horizon Software - http://www.hsoftware.com/ 13 rue La Fayette - 75009 PARIS - France Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Advice on upgrade and testing
Hi I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions: · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade? Thanks in advance for your time and help. Kind regards, Mahomed Hussein Senior NOC Engineer P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTEhttp://www.dcsawards.com/voting.php for us herehttp://www.dcsawards.com/voting.php Tel: +44 (0)1622 230382 | Email: maho...@custodiandc.com | Web: www.CustodianDC.comhttp://www.CustodianDC.com | Info: info.CustodianDC.comhttp://info.CustodianDC.com [Custodian Data Centres]http://www.CustodianDC.com [ISO 27001 IS:567248] Click to VOTEhttp://www.dcsawards.com/voting.php for Custodian! [DCS Awards Finalist] [Like us on Facebook!][Follow us on Twitter][See us on YouTube!] [Link to us!][Google Plus!] Click here to view our email disclaimerhttp://www.custodiandc.com/disclaimer.txt Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Advice on upgrade and testing
Hi Thomas Thanks for the quick reply. You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. This makes things A LOT clearer. Thanks. We have set the Ubuntu server to automatically install updates. I will get this stopped. I have seen that new versions are announced on this mailing list so that is good enough as notification for me :-) I'll look into the test server procedure and look at creating a clone. Thanks to the magic of virtualisation, this shouldn't be too difficult. The only minor issues might be IP Address and DNS name (might need to move it to a lab network instead). Also any suggestions for checking changes/apps? I assume the simplest way is a document where I note down every change that I've made (maybe at a high level such as Macro names and extensions and skin name etc.) Kind regards, Mahomed Hussein Senior NOC Engineer Custodian Data Centre Tel: +44 (0)1622 230382 || Email: maho...@custodiandc.com Web: www.CustodianDC.com || Info: http://info.custodiandc.com facebook: custodian.datacentre || Twitter: @CustodianDC Disclaimer: http://www.custodiandc.com/disclaimer.txt Registered Office: Vinters Business Park, New Cut Rd, Maidstone, Kent ME14 5NZ. Company Number: 07878023 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 01 April 2015 10:51 To: XWiki Users Subject: Re: [xwiki-users] Advice on upgrade and testing On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein maho...@custodiandc.com wrote: Hi I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions: · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. If you don't want XWiki to be upgraded by apt-get you need to look at apt-get configuration. As far as I know you can indicate a list of packages to not be taken into account automatically by apt-get upgrade. · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade? The safest for this is usually to have a test server which is a clone of the production server on which you do the upgrade and test it before doing it on the production server. Thanks in advance for your time and help. Kind regards, Mahomed Hussein Senior NOC Engineer P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTEhttp://www.dcsawards.com/voting.php for us herehttp://www.dcsawards.com/voting.php Tel: +44 (0)1622 230382 | Email: maho...@custodiandc.com | Web: www.CustodianDC.comhttp://www.CustodianDC.com | Info: info.CustodianDC.comhttp://info.CustodianDC.com [Custodian Data Centres]http://www.CustodianDC.com [ISO 27001 IS:567248] Click to VOTEhttp://www.dcsawards.com/voting.php for Custodian! [DCS Awards Finalist] [Like us on Facebook!][Follow us on Twitter][See us on YouTube!] [Link to us!][Google Plus!] Click here to view our email disclaimerhttp://www.custodiandc.com/disclaimer.txt Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ 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 on upgrade and testing
On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein maho...@custodiandc.com wrote: Hi I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions: · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. If you don't want XWiki to be upgraded by apt-get you need to look at apt-get configuration. As far as I know you can indicate a list of packages to not be taken into account automatically by apt-get upgrade. · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade? The safest for this is usually to have a test server which is a clone of the production server on which you do the upgrade and test it before doing it on the production server. Thanks in advance for your time and help. Kind regards, Mahomed Hussein Senior NOC Engineer P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTEhttp://www.dcsawards.com/voting.php for us herehttp://www.dcsawards.com/voting.php Tel: +44 (0)1622 230382 | Email: maho...@custodiandc.com | Web: www.CustodianDC.comhttp://www.CustodianDC.com | Info: info.CustodianDC.comhttp://info.CustodianDC.com [Custodian Data Centres]http://www.CustodianDC.com [ISO 27001 IS:567248] Click to VOTEhttp://www.dcsawards.com/voting.php for Custodian! [DCS Awards Finalist] [Like us on Facebook!][Follow us on Twitter][See us on YouTube!] [Link to us!][Google Plus!] Click here to view our email disclaimerhttp://www.custodiandc.com/disclaimer.txt Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Advice on upgrade and testing
Thanks again for the info. I've bookmarked Selenium and will look into it again in a few weeks. I think my main question/concern about the automatic upgrade has been answered and that will make things simpler going forward. Kind regards, Mahomed Hussein Senior NOC Engineer Custodian Data Centre Tel: +44 (0)1622 230382 || Email: maho...@custodiandc.com Web: www.CustodianDC.com || Info: http://info.custodiandc.com facebook: custodian.datacentre || Twitter: @CustodianDC Disclaimer: http://www.custodiandc.com/disclaimer.txt Registered Office: Vinters Business Park, New Cut Rd, Maidstone, Kent ME14 5NZ. Company Number: 07878023 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 01 April 2015 13:09 To: XWiki Users Subject: Re: [xwiki-users] Advice on upgrade and testing On Wed, Apr 1, 2015 at 12:08 PM, Mahomed Hussein maho...@custodiandc.com wrote: Hi Thomas Thanks for the quick reply. You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. This makes things A LOT clearer. Thanks. We have set the Ubuntu server to automatically install updates. I will get this stopped. I have seen that new versions are announced on this mailing list so that is good enough as notification for me :-) I'll look into the test server procedure and look at creating a clone. Thanks to the magic of virtualisation, this shouldn't be too difficult. The only minor issues might be IP Address and DNS name (might need to move it to a lab network instead). Also any suggestions for checking changes/apps? I assume the simplest way is a document where I note down every change that I've made (maybe at a high level such as Macro names and extensions and skin name etc.) Best is to avoid as much as possible modifying standard stuff and use extension mechanism when they exist (even if the upgrade wizard is applying a 3 ways merge). Now for testing that upgrade did not broke anything I don't have much more idea than maintaining a list of things to check (by hand or automatically with something like selenium) after each upgrade. Kind regards, Mahomed Hussein Senior NOC Engineer Custodian Data Centre Tel: +44 (0)1622 230382 || Email: maho...@custodiandc.com Web: www.CustodianDC.com || Info: http://info.custodiandc.com facebook: custodian.datacentre || Twitter: @CustodianDC Disclaimer: http://www.custodiandc.com/disclaimer.txt Registered Office: Vinters Business Park, New Cut Rd, Maidstone, Kent ME14 5NZ. Company Number: 07878023 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 01 April 2015 10:51 To: XWiki Users Subject: Re: [xwiki-users] Advice on upgrade and testing On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein maho...@custodiandc.com wrote: Hi I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions: · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. If you don't want XWiki to be upgraded by apt-get you need to look at apt-get configuration. As far as I know you can indicate a list of packages to not be taken into account automatically by apt-get upgrade. · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade? The safest for this is usually to have a test server which is a clone of the production server on which you do the upgrade and test it before doing it on the production server. Thanks in advance for your time and help. Kind regards, Mahomed Hussein Senior NOC Engineer P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTEhttp://www.dcsawards.com/voting.php for us herehttp://www.dcsawards.com/voting.php Tel: +44 (0)1622 230382 | Email: maho...@custodiandc.com |
Re: [xwiki-users] Advice on upgrade and testing
On Wed, Apr 1, 2015 at 12:08 PM, Mahomed Hussein maho...@custodiandc.com wrote: Hi Thomas Thanks for the quick reply. You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. This makes things A LOT clearer. Thanks. We have set the Ubuntu server to automatically install updates. I will get this stopped. I have seen that new versions are announced on this mailing list so that is good enough as notification for me :-) I'll look into the test server procedure and look at creating a clone. Thanks to the magic of virtualisation, this shouldn't be too difficult. The only minor issues might be IP Address and DNS name (might need to move it to a lab network instead). Also any suggestions for checking changes/apps? I assume the simplest way is a document where I note down every change that I've made (maybe at a high level such as Macro names and extensions and skin name etc.) Best is to avoid as much as possible modifying standard stuff and use extension mechanism when they exist (even if the upgrade wizard is applying a 3 ways merge). Now for testing that upgrade did not broke anything I don't have much more idea than maintaining a list of things to check (by hand or automatically with something like selenium) after each upgrade. Kind regards, Mahomed Hussein Senior NOC Engineer Custodian Data Centre Tel: +44 (0)1622 230382 || Email: maho...@custodiandc.com Web: www.CustodianDC.com || Info: http://info.custodiandc.com facebook: custodian.datacentre || Twitter: @CustodianDC Disclaimer: http://www.custodiandc.com/disclaimer.txt Registered Office: Vinters Business Park, New Cut Rd, Maidstone, Kent ME14 5NZ. Company Number: 07878023 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 01 April 2015 10:51 To: XWiki Users Subject: Re: [xwiki-users] Advice on upgrade and testing On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein maho...@custodiandc.com wrote: Hi I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions: · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade You are mixing two different things. The upgrade wizard is only about part of XWiki (the standard wiki pages) and it's been triggered because you upgraded the WAR probably using apt-get upgrade. If you don't want XWiki to be upgraded by apt-get you need to look at apt-get configuration. As far as I know you can indicate a list of packages to not be taken into account automatically by apt-get upgrade. · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade? The safest for this is usually to have a test server which is a clone of the production server on which you do the upgrade and test it before doing it on the production server. Thanks in advance for your time and help. Kind regards, Mahomed Hussein Senior NOC Engineer P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTEhttp://www.dcsawards.com/voting.php for us herehttp://www.dcsawards.com/voting.php Tel: +44 (0)1622 230382 | Email: maho...@custodiandc.com | Web: www.CustodianDC.comhttp://www.CustodianDC.com | Info: info.CustodianDC.comhttp://info.CustodianDC.com [Custodian Data Centres]http://www.CustodianDC.com [ISO 27001 IS:567248] Click to VOTEhttp://www.dcsawards.com/voting.php for Custodian! [DCS Awards Finalist] [Like us on Facebook!][Follow us on Twitter][See us on YouTube!] [Link to us!][Google Plus!] Click here to view our email disclaimerhttp://www.custodiandc.com/disclaimer.txt Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org
[xwiki-users] Xwiki Flamingo Icons Bug?
Hi, I have changed the skin of my xwiki(6.4.3) installation from calibri to flamingo. When I refreshed the page there were some errors. On some buttons the icons were drawn multiple, see the picture in the attachment. I tired to update to the latest stable xwiki version (7.0) but nothing changed. Could anybody help me please? Thanks, Georg ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users