IRC Archive for channel #xwiki on 01 February 2012
Last modified by Vincent Massol on 2012/10/18 19:22
00:14 <dave_v> has joined #xwiki
00:49 <Enygma`> has quit
00:56 <dave_v> has left #xwiki
00:58 <CIA-85> has quit
00:58 <mflorea> has quit
01:04 <tekzilla_> has quit
01:06 <tekzilla> has joined #xwiki
01:28 <CIA-120> has joined #xwiki
01:35 <Denis1> has quit
01:36 <Denis> has joined #xwiki
01:54 <Denis> has quit
01:56 <Denis> has joined #xwiki
02:15 <sburjan`> has quit
05:52 <DrLou_> has quit
06:00 <Denis1> has joined #xwiki
06:02 <Denis> has quit
06:19 <DrLou_> has joined #xwiki
07:16 <CIA-120> Sergiu Dumitriu master * r63c3881 / (3 files): [misc] Fixed indentation - http://git.io/C0BxQw
07:16 <CIA-120> Sergiu Dumitriu master * rff49f48 / (3 files): [misc] Moved chunks as code into macros - http://git.io/eH1UYQ
07:16 <CIA-120> Sergiu Dumitriu master * rab45377 / (2 files in 2 dirs): [misc] Better title displayed when installing and uninstalling extensions - http://git.io/LaGKVA
07:16 <CIA-120> Sergiu Dumitriu master * r3dbb621 / (4 files): XWIKI-7249: When an extension is already installed do not show a clickable "install" button ...
07:16 <CIA-120> Sergiu Dumitriu master * r9503b6d / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-ui/src/main/resources/XWiki/ExtensionManagerMacros.xml : [misc] Improve style - http://git.io/nROcnQ
07:54 <vmassol> has joined #xwiki
08:25 <sburjan`> has joined #xwiki
08:39 <rrodriguez> has quit
08:53 <rrodriguez> has joined #xwiki
09:03 <vmassol> has quit
09:06 <vmassol> has joined #xwiki
09:10 <rrodriguez> has quit
09:13 <vmassol1> has joined #xwiki
09:13 <vmassol> has quit
09:27 <rrodriguez> has joined #xwiki
09:37 <rrodriguez> has quit
09:43 <mflorea> has joined #xwiki
09:45 <sburjan> has joined #xwiki
09:58 <gdelhumeau> has joined #xwiki
10:01 <jvdrean> has joined #xwiki
10:02 <tmortagne> has joined #xwiki
10:09 <sdumitriu> has quit
10:10 <gdelhumeau> has quit
10:24 <gdelhumeau> has joined #xwiki
10:54 <Enygma`> has joined #xwiki
11:28 <evalica> has joined #xwiki
12:14 <rickross> has joined #xwiki
12:15 <rickross> has quit
12:15 <rickross> has joined #xwiki
12:16 <rickross> has left #xwiki
12:42 <CIA-120> tmortagne master * r820c15c / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-repositories/xwiki-platform-extension-repository-xwiki/xwiki-platform-extension-repository-xwiki-server-api/src/main/java/org/xwiki/extension/repository/xwiki/internal/resources/ExtensionVersionFileRESTResource.java : XWIKI-7477: XWiki Repository REST services should provide a ...
13:00 <mflorea> has quit
13:00 <tmortagne> has quit
13:02 <rickross> has joined #xwiki
13:03 <rickross> hi All, I saw the email list discussion of the new preferred method for managing a wiki farm, but I'm wondering whether there's a convenient way to be able to use BOTH subwiki workspace AND to manage independent farm-style wikis?
13:05 <rickross> eg - is is reasonable to import the standard XE ui .xar file in addition to the xem one, and then use the XE one when spawning a new farm-style wiki, but use the XEM one to make new workspace subwikis?
13:05 <rickross> we'd like to find a way to have a hybrid server install that permits both
13:07 <vmassol1> hi Rick
13:07 <vmassol1> XEM only adds a few pages on top of XE
13:08 <vmassol1> home page, page for creating a new wiki, etc
13:08 <vmassol1> actually I'm not so familiar with the new XEM with the new workspaces feature
13:08 <rickross> hi Vincent, so some minor mods to the workspace template might suffice to remove the workspace-related menu and other stuff?
13:09 <vmassol1> (added in XE 3.4)
13:09 <vmassol1> the best would be for Enygma` to help you out since he's the one who did this.
13:09 <vmassol1> let's wait a bit for him to become avail
13:10 <rickross> I can see some great advantages for your workspace model, but there are also cases where it would be useful to have a separate wiki which doesn't seem to be connected to any others
13:10 <rickross> hence, our interest in a hybrid that permits both
13:10 <vmassol1> yes I understand
13:10 <vmassol1> you could have 2 template wikis
13:10 <vmassol1> one with the workspaces features on and one without
13:11 <vmassol1> and create your new subwikis based on the template you wish to use
13:11 <vmassol1> I think (hope?) that the workspace-related menus are only displayed when the workspace feature is active locally
13:11 <vmassol1> (ie when the workspaces pages are available)
13:12 <vmassol1> Enygma` will be able to tell us how it works
13:12 <rickross> I may be seeing the workspace menu because I am a main wiki admin
13:12 <rickross> but there is workspace-related content in the templates, I'm pretty sure
13:13 <vmassol1> sure but usually they'll test for the existence of some page to be active
13:13 <rickross> i see
13:13 <vmassol1> depends what you call template
13:13 <vmassol1> here I'm referring to vm files
13:13 <+Enygma`> Hi. I`m catching up on your discussion
13:13 <rickross> hi Enygma
13:14 <vmassol1> however above when I said "template wiki" I was referring to setting a subwiki to be a template wiki copied when creating a new subwiki
13:14 <rickross> I may be using the term incorrectly, Vincent. I meant the collection of pages and resources installed in the .xar file
13:14 <vmassol1> ok now that Enygma` is here I'll let him answer since I don't know that well the latest version of XEM
13:14 <vmassol1> rickross: what version of XEM are you using?
13:15 <rickross> that seems to reside in workspacetemplate.template.local
13:15 <rickross> vmassol1, I have XEM 3.4 installed ATM
13:15 <+Enygma`> Hi rickross
13:16 <+Enygma`> the new XEM comes with the workspaces application bundled in it, but it also has the old wikiManager application as well, so it permits a hibrid usecase as you describe
13:16 <rickross> maybe I need another similar template wiki like farmwiki.template.local to have a modified set of pages to support an old-style farm wiki
13:17 <vmassol1> Enygma`: we really need to update manager.xwiki.org documentation...
13:17 <+Enygma`> to create workspaces, just use the UI in the main wiki. To create regular subwikis, just go to WikiManager/WebHome and see the create wiki link there with the old wikiManager application
13:17 <rickross> Enygma, I read that in the users list, but I was uncertain what to use to create a base set of pages for such a farm wiki?
13:18 <+Enygma`> vmassol1: yes, I know
13:18 <rickross> and I was unclear whether I could import the XE ui .xar file into a separate template wiki, and then base the farm-style new wiki off of that?
13:18 <vmassol1> is now known as <vmassol>
13:18 <+Enygma`> rickross: yes, you can. Just use the WikiManager/WebHome as you did before
13:18 <+Enygma`> just don`t touch the "workspacetemplate" subwiki template that is used by workspaces :)
13:18 <rickross> Enygma, I am a noob :)
13:18 <rickross> no "before"
13:18 <+Enygma`> well, you can touch it to customize it, just don`t remove it
13:19 <+Enygma`> I see :)
13:19 <+Enygma`> so yes, WikiManager is the backbone of Workspaces
13:19 <rickross> let me try to understand...
13:20 <rickross> 1 - it IS possible to import the .xar file recommended for XE base template in addition to the .xar file recommended for XEM
13:20 <rickross> 2 - I would use the older wikimanager app to create farm-style subwikis, and they would use the XE templates for their foundation
13:21 <rickross> 3 - I would use the new workspace-manager and new XEM template set to create workspace-style subwikis
13:21 <rickross> is this correct?
13:22 <+Enygma`> yes
13:22 <rickross> hmm, so use wikimanager to create a new, empty subwiki
13:22 <rickross> then import the base .xar template set from XE, and then mark this subwiki as a template wiki
13:22 <+Enygma`> 1. you can import a standard XE xar into a new subwiki template by using wikimanager, then you create new subwikis by using the just created template.
13:22 <+Enygma`> or as you just described
13:22 <rickross> and use it to spawn additional farm-style subwikis?
13:22 <+Enygma`> both work
13:23 <rickross> ok, cool
13:23 <rickross> lemme try this out
13:23 <rickross> one more issue
13:23 <rickross> I created a workspace using the subwiki identifier I wanted
13:23 <rickross> but then I realized that I didn't want a workspce, but instead wanted a farm-style wiki
13:24 <rickross> I deleted the workspace, and now I cannot seem to re-use that wiki identifier (the db is created, but there's apparently an error, and the db remains empty)
13:25 <vmassol> I think we had a bug recently about this… let me try to find it
13:26 <+Enygma`> yes, it's a known bug XWIKI-7413
13:26 <+Enygma`> http://jira.xwiki.org/browse/XWIKI-7413
13:26 <rickross> I wonder if I should just pull from your nightlies for experimenting, or maybe from your trunk
13:26 <vmassol> rickross: try restarting your wki if you haven't done so already
13:26 <+Enygma`> the workaround for now is to restart your XWiki instance
13:26 <rickross> beautiful - thanks, Vincet!
13:26 <vmassol> (to work around the bug)
13:27 <rickross> I love an easy solution :)
13:27 <+Enygma`> it's a caching issue :)
13:50 <mflorea> has joined #xwiki
13:51 <rickross> success! using wikimanager to add a new "farmtemplate" based on the standard XE "xwiki-enterprise-ui-all-3.4.xar" and then spawning new farm wiki with that template
13:52 <rickross> when I am logged in (probably since I am a main wiki admin) there is still a "Main" menu showing at the top
13:52 <rickross> with "workspacemanager.menu.mainwiki.admin" and "workspacemanager.menu.workspace.index"
13:55 <rickross> actually, the "ADD" menu also shows "workspacemanager.menu.create" as it's forst menu item
13:56 <rickross> I was hoping these things would be invisible on the farm-style subwiki
14:03 <+Enygma`> rickross: They are visible to you because you are a global user (and admin, but this does not matter). To local users to the subwiki, the menus will not appear since they are not aware of the global context and are "isolated" inside the local wiki.
14:04 <+Enygma`> the fact that instead of "Workspace Directory" you have translation keys like "workspacemanager.menu.workspace.index" is because the translations are located on the main wiki in wiki pages and the subwiki you are looking at does not use those pages as translations. This should be fixed in future versions when the translations will be moved from wiki pages to java translations, in ApplicationResources.properties, so that they are visible to all the wikis.
14:05 <+Enygma`> but only global users that visit regular subwikis are currently affected by this "inconvenience" so the impact is, let's say, minimal.
14:10 <rickross> Enygma, that works for me - thanks
14:10 <rickross> is it easy enough to add back those translations somehow?
14:11 <rickross> I like your idea to move those strings to Java properties files that are accessible
14:19 <+Enygma`> rickross: I supposed that the quickest solution for you would be to just use the translations documents in your subwikis. Since subwikis are created by admins, it should be under your control. So just go to the Administration section of the subwiki, Configuration>Localisation and add to Internationalization Document Bundles the page "xwiki:WorkspaceManager.Translations"
14:20 <rickross> ok, thx
14:20 <+Enygma`> for the ApplicationResources thing, I was waiting for a cleaner way of doing it in XWiki; a way that allows extensions to come up with their own ApplicationResources.properties file instead of just pushing everything in the default platform one.
14:21 <rickross> works perfectly - no icons for those menu items in the top menubar
14:21 <rickross> but that is not an issue
14:22 <rickross> at least, not for me
14:27 <+Enygma`> rickross: hm... yes, you are right. The icons are a bit of another story. You could do a trick for that too
14:29 <+Enygma`> If you like, you could add a page in the XWiki space of the subwiki and add a StyleSheetExtension object in it. In the content of the SSX object, add these lines:
14:29 <+Enygma`> #set ($workspaceManagerStyleDocumentReference = $services.model.createDocumentReference($xcontext.mainWikiName, 'WorkspaceManager', 'Style'))
14:29 <+Enygma`> #if ($xwiki.exists($workspaceManagerStyleDocumentReference))
14:29 <+Enygma`> @import "$xwiki.getURL($workspaceManagerStyleDocumentReference, 'ssx', '')";
14:29 <+Enygma`> #end
14:29 <+Enygma`> set the extension to be used on the entire wiki and that the content is parsed. Save and hard refresh (ctrl+f5). You should have the icons too now.
15:00 <rickross> Here's a question.. Even though I happen to know that AppWithinMinutes is installed, how would I search to determine whether it is?
15:01 <rickross> it is unclear whether the search bar on the "Installed Extentions" and "Core Extensions" is to help me add a new one, or to discover whether one is already present
15:01 <rickross> and AppWithinMinutes does not show as an installed extension, so it must be core
15:02 <rickross> but wading through 16 pages of core extensions to confirm that is not fun
15:24 <rickross> has quit
16:05 <sburjan`> has quit
16:34 <vmassol> maybe mircea should use more the preview feature ;)
16:35 <helge> has joined #xwiki
17:10 <sburjan> has quit
17:29 <tmortagne> has joined #xwiki
17:53 <sdumitriu> has joined #xwiki
18:10 <helge> @dumitriu: Hi Dumitriu, I did a fresh install of XE 3.4 with a clean Database and copy-pasted some pages from the old install. All works fine, but after I do some changes to those pages I get the same old "invalid character" error while rendering versions.e ol
18:11 <helge> It happens just erratic, in this case after adding a comment.
18:26 <lucaa> has joined #xwiki
18:40 <gdelhumeau> has quit
18:48 <@cjd> helge: what version of postgres are you using and what version of the postgres JDBC connector?
18:51 <abusenius> has joined #xwiki
18:58 <helge> @cjd: Postgres is 9.1.1-3.1.4
18:58 <helge> @cjd: JDBC is: postgresql-9.1-901.jdbc4.jar
19:13 <@cjd> ahh, I have heard something about postgres-9.1 not working properly but I only tested with 8.4
19:13 <jvdrean> has quit
19:13 <@cjd> just to double check, you created the database with "createdb -Oxwiki -Eunicode xwiki" correct?
19:16 <evalica> has quit
19:17 <mflorea> has quit
19:18 <helge> @cjd: I created the DB with: createdb xwiki -O postgres -E unicode
19:18 <@cjd> ok
19:19 <helge> great!
19:19 <tmortagne> has quit
19:23 <@cjd> can you paste your hibernate.cfg.xml file (with passwords removed)
19:23 <@cjd> ?
19:33 <helge> @cjd: hibernate: http://pastebin.de/23042
19:41 <vmassol> has quit
19:41 <lucaa> has quit
19:43 <vmassol> has joined #xwiki
19:49 <helge> has quit
19:49 <user___> has joined #xwiki
19:50 <helge> has joined #xwiki
19:51 <user___> has quit
20:05 <helge> has quit
20:19 <sburjan`> has joined #xwiki
21:18 <sburjan`> has quit
21:47 <jvdrean> has joined #xwiki
22:11 <Enygma`> has quit
23:13 <rrodriguez> has joined #xwiki
23:13 <vmassol> has quit
23:14 <abusenius> has quit