Hello,
In ./skins/flamingo/less/bootstrap/variables.less we found:
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
...
// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm: 768px;
@screen-sm-min: @screen-sm;
Then I want use "screen-sm-min" in a new SSX object but this doesn't work:@media (min-width: @screen-sm-min) {
h1 {
color: fuchsia;
}}(If I replace screen-sm-min with his value 768px, my SSX work well.)
Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
Pascal B
Hi Vincent,
To push XWiki a biiig step forward, you should think about improving the WYSIWYG editor in my opinion. Always if I explain users XWiki I can see surprised faces, if they see the limited possibilities of the editor. Especially 2 features are always highlighted to keep their "MS Office" way of working:
1. Table handling (formatting and usage - today not only displaying tables is needed)
2. Pasting images in a page in edit mode via clipboard.
THX
Matthias
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of users-request(a)xwiki.org
Sent: Freitag, 5. Dezember 2014 16:34
To: users(a)xwiki.org
Subject: users Digest, Vol 89, Issue 7
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..."
Today's Topics:
1. What would you like to see in the XWiki 7.x cycle?
(=?utf-8?Q?vincent=40massol.net?=)
2. Re: What would you like to see in the XWiki 7.x cycle?
(Daniel Lundh)
3. run document skript with admin rights (Adrien Moi)
4. Re: What would you like to see in the XWiki 7.x cycle?
(Pascal BASTIEN)
5. I can not use less variable in a SSX (Pascal BASTIEN)
6. Re: I can not use less variable in a SSX
(Ecaterina Moraru (Valica))
7. Re: I can not use less variable in a SSX
(Ecaterina Moraru (Valica))
----------------------------------------------------------------------
Message: 1
Date: Fri, 5 Dec 2014 13:17:43 +0100
From: "=?utf-8?Q?vincent=40massol.net?=" <vincent(a)massol.net>
To: XWiki Users <users(a)xwiki.org>
Subject: [xwiki-users] What would you like to see in the XWiki 7.x
cycle?
Message-ID: <etPan.5481a267.62bbd95a.d55(a)Vincents-MacBook-Pro.local>
Content-Type: text/plain; charset="utf-8"
Dear XWiki users,
We?re getting close to the end of the XWiki 6.x cycle (6.4 is planned for the end of December) and in January we?ll start developing the XWiki 7.x cycle (which will last the whole 2015 year), starting with XWiki 7.0.
Thus it?s time for the XWiki devs to start defining the global roadmap for XWiki 7.x.
As XWiki users, I?d like to know if you have some needs for XWiki 7.x. What would you be interested in seeing in XWiki 7.x?
I?d like to start some proposal on the xwiki devs list (for the XWiki 7.x cycle) around end of December so it would be nice if you could shoot your suggestion ideas fast so that we can take them into account in the discussion! :)
Thanks a lot for your help and I hope you?re enjoying using XWiki!?
-Vincent Massol
XWiki Committer
------------------------------
Message: 2
Date: Fri, 5 Dec 2014 13:34:32 +0100
From: Daniel Lundh <dlundh(a)gmail.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] What would you like to see in the XWiki 7.x
cycle?
Message-ID:
<CAJcM3q-w3=ohitUcPxtFGZiQWgsFqiteBDKEcA1=V8DLNGQ4Nw(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hello.
New XWiki user here.
First, a big thanks, we are enjoying XWiki. :)
We have a fairly common use case, using the wiki for documenting servers and systems, trying to build an SKMS ala ITIL.
What i'd like to see is better formatting of text being cut & pasted from
(mainly) Word.
The single biggest issue I have heard complaints about is formatting.
We are moving away from a Lotus Domino environment and here too the formatting is mangled (this may have everything to do with Domino and nothing with XWiki however) when doing copy/paste.
I'd like tables to work like they do in Excel. When I press the tab key I want to move to the next field.
I want to be able to size the table with my mouse in real-time.
I want the columns to be plainly visible, not just the rows.
I want numbered lists to be a core feature.
Making text different colors and/or fonts should work like in a regular word processor, with a menu item in the WYSIWYG editor.
That's from the top of my head, anyway.
Have a great weekend.
Regards,
Daniel
On Fri, Dec 5, 2014 at 1:17 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
> Dear XWiki users,
>
> We?re getting close to the end of the XWiki 6.x cycle (6.4 is planned
> for the end of December) and in January we?ll start developing the
> XWiki 7.x cycle (which will last the whole 2015 year), starting with XWiki 7.0.
>
> Thus it?s time for the XWiki devs to start defining the global roadmap
> for XWiki 7.x.
>
> As XWiki users, I?d like to know if you have some needs for XWiki 7.x.
> What would you be interested in seeing in XWiki 7.x?
>
> I?d like to start some proposal on the xwiki devs list (for the XWiki
> 7.x
> cycle) around end of December so it would be nice if you could shoot
> your suggestion ideas fast so that we can take them into account in
> the discussion! :)
>
> Thanks a lot for your help and I hope you?re enjoying using XWiki!
>
> -Vincent Massol
> XWiki Committer
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Regards/Mvh
Daniel Lundh
------------------------------
Message: 3
Date: Fri, 5 Dec 2014 14:12:26 +0100
From: Adrien Moi <adrienmoi1988(a)hotmail.com>
To: "users(a)xwiki.org" <users(a)xwiki.org>
Subject: [xwiki-users] run document skript with admin rights
Message-ID: <DUB127-W2024960E044FCA9EBBB5BCB9790(a)phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
Hello !
on one wiki page I have a skript to delete a comment on another page. But when a user that has no edit right tries to do it, it fails. Is there a way to go around this and let the user delete the comment as if he had edit rights?
for reference here is my simplified code
{{groovy}}
yourDocReference = new org.xwiki.model.reference.DocumentReference('xwiki','Main','WebHome');
yourDoc = xwiki.getDocument(yourDocReference);
comment = yourDoc.getComments();
if(comment.isEmpty()){
println("No Comment to remove!");}
else{
yourDoc.removeObject(comment[comment.size()-1]);
yourDoc.save();
println("First comment removed !")}
{{/groovy}}
thanks for the help
Adrien
------------------------------
Message: 4
Date: Fri, 5 Dec 2014 14:13:48 +0000 (UTC)
From: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] What would you like to see in the XWiki 7.x
cycle?
Message-ID:
<1774339120.6063392.1417788828917.JavaMail.yahoo(a)jws11111.mail.ir2.yahoo.com>
Content-Type: text/plain; charset=UTF-8
Hello,
You invited us Vincent, then here my proposals.
+10 to thanks Xwiki task force team (especially to support my
+harassment)
WYSIWYG based on FckEditor better to work on tables IMO
+1: "I want the columns to be plainly visible, not just the rows"
+especially when we edit a table
Add tab "Source" on WYSIWYG editor in Blog and FAQ
Add anchor lists on the page (a macros?) to add an link to an anchor #HAnchorTitle) and update anchor link when anchor target is renamed (difficult) & detect link with anchor when a page is renamed.
Use pure CSS for xwiki menu (without JS)
Last but not least: forbidden Vincent to awake devs at 2 hours in the morning on IRC xwiki chanel to chatting about an obscure xwiki code... ;-)
Thxs for all.
Pascal BASTIEN
De?: Daniel Lundh <dlundh(a)gmail.com>
??: XWiki Users <users(a)xwiki.org>
Envoy? le : Vendredi 5 d?cembre 2014 13h34
Objet?: Re: [xwiki-users] What would you like to see in the XWiki 7.x cycle?
Hello.
New XWiki user here.
First, a big thanks, we are enjoying XWiki. :)
We have a fairly common use case, using the wiki for documenting servers and systems, trying to build an SKMS ala ITIL.
What i'd like to see is better formatting of text being cut & pasted from
(mainly) Word.
The single biggest issue I have heard complaints about is formatting.
We are moving away from a Lotus Domino environment and here too the formatting is mangled (this may have everything to do with Domino and nothing with XWiki however) when doing copy/paste.
I'd like tables to work like they do in Excel. When I press the tab key I want to move to the next field.
I want to be able to size the table with my mouse in real-time.
I want the columns to be plainly visible, not just the rows.
I want numbered lists to be a core feature.
Making text different colors and/or fonts should work like in a regular word processor, with a menu item in the WYSIWYG editor.
That's from the top of my head, anyway.
Have a great weekend.
Regards,
Daniel
On Fri, Dec 5, 2014 at 1:17 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
> Dear XWiki users,
>
> We?re getting close to the end of the XWiki 6.x cycle (6.4 is planned
> for the end of December) and in January we?ll start developing the
> XWiki 7.x cycle (which will last the whole 2015 year), starting with XWiki 7.0.
>
> Thus it?s time for the XWiki devs to start defining the global roadmap
> for XWiki 7.x.
>
> As XWiki users, I?d like to know if you have some needs for XWiki 7.x.
> What would you be interested in seeing in XWiki 7.x?
>
> I?d like to start some proposal on the xwiki devs list (for the XWiki
> 7.x
> cycle) around end of December so it would be nice if you could shoot
> your suggestion ideas fast so that we can take them into account in
> the discussion! :)
>
> Thanks a lot for your help and I hope you?re enjoying using XWiki!
>
> -Vincent Massol
> XWiki Committer
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Regards/Mvh
Daniel Lundh
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 5
Date: Fri, 5 Dec 2014 15:24:26 +0000 (UTC)
From: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
To: XWiki Users <users(a)xwiki.org>
Subject: [xwiki-users] I can not use less variable in a SSX
Message-ID:
<762255178.6097150.1417793066878.JavaMail.yahoo(a)jws11112.mail.ir2.yahoo.com>
Content-Type: text/plain; charset=UTF-8
Hello,
In ./skins/flamingo/less/bootstrap/variables.less we found:
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
...
// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1 @screen-sm:????????????????? 768px; @screen-sm-min:????????????? @screen-sm;
Then I want use "screen-sm-min" in a new SSX object but this doesn't work:@media (min-width: @screen-sm-min) { ? h1 { ??? color: fuchsia; ?? }}(If I replace screen-sm-min with his value 768px, my SSX work well.) Is it normal than @screen-sm-min doesn't work in a SSX?Thxs Pascal B
------------------------------
Message: 6
Date: Fri, 5 Dec 2014 17:28:10 +0200
From: "Ecaterina Moraru (Valica)" <valicac(a)gmail.com>
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>, XWiki Users
<users(a)xwiki.org>
Subject: Re: [xwiki-users] I can not use less variable in a SSX
Message-ID:
<CAHQu0mbwyYioJgke-AWDzX2eZbKKPTFnk-Sby4Ud+y8ZomSj2A(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
http://jira.xwiki.org/browse/XWIKI-10708
Thanks,
Caty
On Fri, Dec 5, 2014 at 5:24 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
> Hello,
> In ./skins/flamingo/less/bootstrap/variables.less we found:
> //== Media queries breakpoints
> //
> //## Define the breakpoints at which your layout will change, adapting
> to different screen sizes.
> ...
> // Small screen / tablet
> //** Deprecated `@screen-sm` as of v3.0.1
> @screen-sm: 768px;
> @screen-sm-min: @screen-sm;
>
> Then I want use "screen-sm-min" in a new SSX object but this doesn't
> work:@media (min-width: @screen-sm-min) {
> h1 {
> color: fuchsia;
> }}(If I replace screen-sm-min with his value 768px, my SSX work
> well.) Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
> Pascal B
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
------------------------------
Message: 7
Date: Fri, 5 Dec 2014 17:28:10 +0200
From: "Ecaterina Moraru (Valica)" <valicac(a)gmail.com>
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>, XWiki Users
<users(a)xwiki.org>
Subject: Re: [xwiki-users] I can not use less variable in a SSX
Message-ID:
<CAHQu0mbwyYioJgke-AWDzX2eZbKKPTFnk-Sby4Ud+y8ZomSj2A(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
http://jira.xwiki.org/browse/XWIKI-10708
Thanks,
Caty
On Fri, Dec 5, 2014 at 5:24 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
> Hello,
> In ./skins/flamingo/less/bootstrap/variables.less we found:
> //== Media queries breakpoints
> //
> //## Define the breakpoints at which your layout will change, adapting
> to different screen sizes.
> ...
> // Small screen / tablet
> //** Deprecated `@screen-sm` as of v3.0.1
> @screen-sm: 768px;
> @screen-sm-min: @screen-sm;
>
> Then I want use "screen-sm-min" in a new SSX object but this doesn't
> work:@media (min-width: @screen-sm-min) {
> h1 {
> color: fuchsia;
> }}(If I replace screen-sm-min with his value 768px, my SSX work
> well.) Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
> Pascal B
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
------------------------------
Subject: Digest Footer
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
End of users Digest, Vol 89, Issue 7
************************************
Hello all,
is there documentation I can refer to that lists all the properties of "doc".
I find most of the stuff I need in HQL or Velocity or whatever are attributes of a document, but I'd like to see all possible attributes and their meaning somewhere if it exists.
Hello,
In the user profile page the functionnality of "Automatic document watching" field seem not working like documentation indicate?
Documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application indicate:
"Each time a user create a document it's automatically added it the user watchlist"
But if I activate mail and "Automatic document watching: Major modifications" I receive mail if someone modify (major modif) a page who is already in my watchlist list.
This watchlist functionnality was modified?
Thxs for any help
Pascal BASTIEN
Hi,
I've got a few wiki pages that contain large tables (more columns than will fit across the page and more rows than will fit down the page), after being imported from a spreadsheet. I'd like to restrict the view of such tables to what can be shown in the visible area, with sliders to move around. Is there already a facility to do this, or a simple styling parameter?
Thanks,
Bryn
Our new manufacturing engineer is documenting all of the procedures in our
company. He has done this for several other companies and has work
instruction templates he uses (mostly Excel with a few Word documents). I am
to add these instructions to xWiki. I have tried several ways of importing
them into the wiki pages so they would look just like the original
documentation. All of my attempts have failed. The formatting just doesn't
seem to import correctly. There are two boxes that can be checked or
unchecked when importing the documents (Filter Styles and Use The Office
Document Viewer). I have tried every combination and none of them worked
correctly. I have included some screen shots of the documentation I am
trying to import. The idea is to only need to edit one document when future
changes arise rather than the document for the floor as well as the wiki
(with the exception of uploading the new file to the wiki).
Thanks for your help!
Capture_01.PNG
<http://xwiki.475771.n2.nabble.com/file/n7593308/Capture_01.PNG>
Capture_02.PNG
<http://xwiki.475771.n2.nabble.com/file/n7593308/Capture_02.PNG>
Capture_03.PNG
<http://xwiki.475771.n2.nabble.com/file/n7593308/Capture_03.PNG>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-using-Office-Document-Import-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
In order to debug your issue you should:
* open the browser's developer tools
* select the Network tab
* reload the page
* type something in the search input
* check the last requests send; they should target the
XWiki.SuggestSolrService page
* check the response output for each of these requests
The response output should be something like:
<?xml version="1.0" encoding="UTF-8"?>
<results>
... results here ...
</results>
Let me know what you have instead (simple user versus admin user).
On Sat, Nov 29, 2014 at 7:02 PM, Prasad Kamath
<prasad.kamath(a)accolite.com> wrote:
> Hi Marius ,
> Can you please provide me more inputs ? I am not able to fix
> the issue based on the link you have provided.
>
> Please see the screenshot of the issue I am referring to.
>
> Regards,
> Prasad
>
> On Wed, Nov 26, 2014 at 7:54 PM, Marius Dumitru Florea
> <mariusdumitru.florea(a)xwiki.com> wrote:
>>
>> I think you hit http://jira.xwiki.org/browse/XWIKI-9386 . Check who is
>> the last user that edited the search pages (Main.Search,
>> Main.SolrSearch). You can probably fix the problem by saving the
>> search pages with an user that has programming rights. But the
>> question remains: why were they saved by an user that doesn't have PR?
>>
>> Hope this helps,
>> Marius
>>
>> On Wed, Nov 26, 2014 at 9:59 AM, Prasad Kamath
>> <prasad.kamath(a)accolite.com> wrote:
>> > Hello , I am currently trying to setup Xwiki in my local machine and I
>> > am
>> > seeing that when I turn off admin role for un-registered and any other
>> > users that have been created , those users are unable to perform any
>> > search
>> > . Search works only when admin role is enabled for any user .
>> >
>> > Below are the details of my xwiki : xwiki-enterprise for windows Version
>> > :
>> > 6.3 .
>> >
>> > Can anyone tell me if this is an issue or if I am missing anything ?
>> > _______________________________________________
>> > users mailing list
>> > users(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
Having been put off writing Java components a number of times I've decided to really tackle the problem head on. I would greatly appreciate any help in this.
I've been following the advice in http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents and I have compiled a Jar identical to the Hello World example except that the class and method names differ, hopefully consistently. I've placed the jar in XE_WAR_HOME/WEB-INF/lib and written a page, which consists only of
{{velocity}}
$services.mycomponent.greet()
{{/velocity}}
The output when viewed is simple "$services.alertdb.greet()", so nothing seems to have happened. However, if I restart Tomcat (and then wait a minute or so for XWiki to restart) the output is "Hello", as desired.
So is a restart of Tomcat always required? This wasn't mentioned in the guide. And since extensions can be added via the extension manager without a restart, is there a sneaky trick to doing the same with my own components.
Also, is a restart necessary when I update the Jar, either with fixed methods or modified interface?
I am a satisfied user XWiki, but I carried on porting XWiki nuodb (jdbc
driver exists). If you are a developer, Who is able to do this, please
contact me, I can be a sponsor of this small activity (some dollars up to $
100 for this small task).
After successfull work, the code changes will be published to public xwiki
repository for all other users (open source, it's have to request, not
private development).
Testing capacity I can deliver for testing portation, license of NuoDB is
free for developers (www.nuodb.com). Platform: native linux 64 (Centos)
If you are interested, please contact me.
PS: Some new features and changes of existing I have in long wishlist....
could be long term cooperation. Work off site, no on site needed (You
provide changes as source code package of xwiki, we test it in our
environment).
Petr Šimbera
psimbera(a)seznam.cz
(native czech language, Czech Republic), english is ok ...
What's the preferred way to deal with errors occuring in Java components? Is it OK to throw an exception from within the component, and can this be caught within the Velocity or Groovy code that calls it?
What's the right way to get the current user from the execution context within a Java component?
Taking the example from the guide (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents) I thought it would be something like the following, which won't compile for me due to the getLocalUser symbol not being found.
import org.xwiki.context.Execution;
import org.xwiki.context.ExecutionContext;
...
@Inject
private Execution execution;
@Override
public String sayHello()
{
ExecutionContext context = execution.getContext();
String user = context.getLocalUser();
return "Hello " + user;
}
I note that in http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/or… the getLocalUser() method is deprecated in lieu of getUserReference() but I'd really rather deal with a String if at all possible.
Hi,
in our company we used the standalone version of XWiki for testing and are
very satisfied with it so we want to migrate to the new version and a more
robust setup.
The setup is Windows Server 2003 R2 (sadly only 32 bits) with Apache 2.4,
MySQL 5 and Tomcat 7.
XWiki 6.3 is setup now including a Wiki Template so I'd like to migrate the
data I exported as XAR from the 5.4.5 standalone instance.
My approach was exporting data from 5.4.5, creating the Wikis using the
template and importing the spaces and pages from the XAR export.
The issue I'm facing is Java heap size which constantly gets in my way. As
we're on a 32 bits system I can only assign ~1.2 GB of memory (the server
has 4GB).
This limitation makes it impossible to import the data into the new setup.
I tried general export/import via administration page and the various
options using the Admin Tools Application but on one of both ends I always
get the out of memory error.
- Using normal export/import: Export works but import throws the error
- Admin Tools - Export pages and spaces: Export works but import throws the
error
- Admin Tools - Large Export on Disk: the heap size error is thrown
Do you have any suggestions/hints on how I can migrate the spaces and pages
I have in the 5.4.5 setup to the 6.3 one?
Thanks in advance,
Dennis
On Mon, Nov 24, 2014 at 9:46 AM, Gerritjan Koekkoek
<gerritjankoekkoek(a)gmail.com> wrote:
Hi,
I'm trying to understand the new SOLR search (i did not understand the old
Lucene very well)
My use-case is the following.
We have a special FAQ application where the object has, amongst others, the
following attributes:
- Subject
- Topic-group
- Language
- Question
- Answer
he default search returns page-title/name, but this is in our case a
non-informational, generated by the system code. So instead of Page name we
would like to show: Subject
You have 3 options:
(1) Use Velocity to output the value of the subject property in the
FAQ title. See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
Gerritjan: Thanks this is helpful but see below....
(2) I doesn't make sense to have a separate String property to store
the subject when you can store it in the document title.
The designer of our FAQ has opted to store multiple objects of same class
in one page. (because XWiki does not support "multiple locales
(language-country)" on a object level. So the title must pick the subject
name of the object of the current language-country combination. When we
just display the subject we do not need to solve this challenge.
(3) Customize the entire search page just to change the way the search
results are displayed
Yes I fear there is no way around this?
As facets we would like to show Topic-group and Language,
Default (on entering the page with search box) we would like to set the
context-language as a search filter... So when reader is reading french the
result only shows french FAQ (with a french subject title) if english only
english.
By checking and unchecking languages in the facets the user could extend or
reduce the search.
This is already the case with the default search. The context language
is checked by default in the locale facet. See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
.
It looks the context language is only looking at language attribute of page.
We need to compare with attribute in object.
I think it would be useful if some explanation is how the object-based
facets can be defined.
A challenge is the topic field, this is a list with translation key. So if
user is french-language the list will show french topics, but if he/she
check english as well in facets things get complicated.
We have a business-rule that the english collection of FAQ's is the
baseline, and most comprehensive. The other languages are only translations
of the same. So another languages can not have a question not translated.
So my question is:
How to define the search
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…http://design.xwiki.org/xwiki/bin/view/Design/SolrSchemahttp://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+APIhttp://lucene.apache.org/solr/
How to modify the output so page-title is no longer showing
How to modify facets so only the two fields can be set
See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
.This helps...
Hope this helps,
Marius
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
To folks who have the "Mocca Calendar"[1] application installed in their XWiki instances:
I have just released a new version 2.2.1 to which you might want to update to, as it contains quite a few bugfixes and improvements, thanks to patches send in by several contributors.[2]
However the new release does not show up when you try to update via the "Extension Updater" in your wiki admin; instead the latest version found there will be 2.1.9.
This happened due to a glitch when reorganizing the code which changed the Extension-Id for that application.
Instead please go to "Add extensions", search for "Mocca Calendar" and when the search result comes up, the extension manager should propose you to update to the correct version 2.2.1
Also while upgrading at least in my test instances I got a few spurious conflicts.
If you get them too, even while you have made no modifications to the "code" part of the calendar, please choose to keep the new version to get all updates installed property.
Best regards and sorry for the hiccup,
Clemens
[1] http://extensions.xwiki.org/xwiki/bin/view/Extension/MoccaCalendar
[2] http://jira.xwiki.org/browse/MOCCACAL-32?filter=13491
Many thanks, I'll give that a go.
________________________________________
From: Thomas Mortagne [thomas.mortagne(a)xwiki.com]
Sent: 27 November 2014 23:14
To: Bryn Jeffries
Subject: Re: [xwiki-users] Registering components
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
is a good up to date (we changed several time the mocking system to
use in XWiki by default, it's Mockito currently) example of how to
manipuated a mock of DocumentAccessBridge in a component oriented unit
test.
On Thu, Nov 27, 2014 at 11:42 AM, Bryn Jeffries
<bryn.jeffries(a)sydney.edu.au> wrote:
> Useful to know, thanks. Incidentally, are there any useful mocks, etc, for
> unit testing xwiki component code ( to avoid frequently restarting tomcat)?
> Like a mock execution context, for instance?
>
> Thanks,
>
> Bryn
>
>
>
> ----- Reply message -----
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> To: "XWiki Users" <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Registering components
> Date: Thu, Nov 27, 2014 18:38
>
> On Thu, Nov 27, 2014 at 8:36 AM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com> wrote:
>> What you have in XE_WAR_HOME/WEB-INF/lib is loaded by Tomcat at
>> startup, there is not much XWiki can do about it.
>>
>> But you can install your jar as an extension using Extension Manager
>> as long as it's on some supported repository (which mean a Maven
>> repository or XWiki repository, see
>>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Repository+Application
>> for this last one) and you indicate your repository in
>> xwiki.properties.
>
> Note that Extension Manager is not the best fit right now to test
> snapshot jars since it does not have the required special handling of
> SNAPSHOT needed to update to a new version of the same SNAPSHOT
> version.
>
>>
>> On Thu, Nov 27, 2014 at 5:20 AM, Bryn Jeffries
>> <bryn.jeffries(a)sydney.edu.au> wrote:
>>> Having been put off writing Java components a number of times I've
>>> decided to really tackle the problem head on. I would greatly appreciate any
>>> help in this.
>>>
>>> I've been following the advice in
>>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents and I
>>> have compiled a Jar identical to the Hello World example except that the
>>> class and method names differ, hopefully consistently. I've placed the jar
>>> in XE_WAR_HOME/WEB-INF/lib and written a page, which consists only of
>>> {{velocity}}
>>> $services.mycomponent.greet()
>>> {{/velocity}}
>>>
>>> The output when viewed is simple "$services.alertdb.greet()", so nothing
>>> seems to have happened. However, if I restart Tomcat (and then wait a minute
>>> or so for XWiki to restart) the output is "Hello", as desired.
>>>
>>> So is a restart of Tomcat always required? This wasn't mentioned in the
>>> guide. And since extensions can be added via the extension manager without a
>>> restart, is there a sneaky trick to doing the same with my own components.
>>>
>>> Also, is a restart necessary when I update the Jar, either with fixed
>>> methods or modified interface?
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
>
--
Thomas Mortagne
Hi,
We are looking for the best way to access an external SQL database
using velocity exclusively (because we can't write a macro using
groovy language).
So, we installed and tried to use this plugin :
http://extensions.xwiki.org/xwiki/bin/view/Extension/SQL+Plugin. The
plugin is properly installed. Now we are unsure how to use it : there
is no mention of the user which is used to connect to the database, do
we have to to configure a JNDI ? How ?
As a side question, what is you guys your preferred method to program
xwiki pages with external database access ?
Thanks
--
Martin
Hi,
I imported several .xar files from another xwiki instance and afterwards
wanted to delete the uploaded .xar files.
All but one have successfully been deleted.
Everytime I delete "Xwiki_New.xar" from the import screen inside the
administration screen and refresh the page it's there again.
Also in document index I still see it in the attachments tab and not in the
deleted attachments tab.
Any hints?
Is it safe to simply delete it from xwikiattachment table in the database
with phpMyAdmin?
My system is Windows Server 2003 R2 with Apache 2.4, MySQL 5, Tomcat 7,
XWiki 6.3.
Thanks in advance,
Dennis
Hi,
I'm trying to understand the new SOLR search (i did not understand the old
Lucene very well)
My use-case is the following.
We have a special FAQ application where the object has, amongst others, the
following attributes:
- Subject
- Topic-group
- Language
- Question
- Answer
he default search returns page-title/name, but this is in our case a
non-informational, generated by the system code. So instead of Page name we
would like to show: Subject
As facets we would like to show Topic-group and Language,
Default (on entering the page with search box) we would like to set the
context-language as a search filter... So when reader is reading french the
result only shows french FAQ (with a french subject title) if english only
english.
By checking and unchecking languages in the facets the user could extend or
reduce the search.
A challenge is the topic field, this is a list with translation key. So if
user is french-language the list will show french topics, but if he/she
check english as well in facets things get complicated.
We have a business-rule that the english collection of FAQ's is the
baseline, and most comprehensive. The other languages are only translations
of the same. So another languages can not have a question not translated.
So my question is:
How to define the search
How to modify the output so page-title is no longer showing
How to modify facets so only the two fields can be set
Hello
In a groovy macro I can access the comments on the page like this :
comments = doc.getComments();
now I want to delete the last one... how can I do that?
I tried :
comments[0].delete();
but it doesn't work....
do you know what to type to make it work?
Thanks a lot
Adrien
Hi,
is there a way to make the search function on the main wiki also search
inside subwikis?
Couldn't find something in the documentation.
Thanks in advance,
Dennis
Hi all,
I set up a subwiki where the content is restricted to registered users.
Only global users (authenticated via LDAP from the main wiki) are allowed.
I also set up a color theme and logo.
Now when the subwiki is accessed you are automatically redirected to the
login page but there the default xwiki theme and logo is used instead of my
own.
I have to change the permissions for XWiki/DefaultSkin and allow
unregistered users and XWikiAllGroup to make the login page respect my
theme settings.
Is this by design or should I create a Jira bug report?
BR,
Dennis
I have an instance of XWiki Enterprise 6.3 running with no access for unregistered users. I am adding content as a user with membership to XwikiAdminGroup, which has admin and program rights across the wiki.
I wanted to add a Groovy component by creating a new page and then editing the object properties, but the "Edit" button does not have a list of edit options - I can only click it to edit in the default view (currently set to WYSIWYG). I can change to the object editor by explicitly changing the URL to add the GET parameters "?editor=object".
If I log in as Admin I get the usual "Edit" button, that includes the various edit modes including "Objects".
Any suggestions for how I can get the same options as another user? I don't recall having this problem in previous versions of XWiki.
Je serai absent(e) à partir du 27/11/2014 de retour le 01/12/2014.
je suis en formation.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
I want to use the Social Login extension to allow users to log in with their
Google credentials.
I have a couple of questions about generating OAuth key/secret pairs from
the Google Developer Console
1. What API should I use for login only? Google recommends the Google+ API.
Will that work?
2. I need to provide an "authorized redirect URI". Should I set it to the
main page of the wiki? Or is there a specific page in XWiki that handles
Oauth callbacks?
3. What should I set as the "authorized javascript origin"?
Any help here would be much appreciated.
Thanks,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/Configuring-Social-Login-Extension-for-Go…
Sent from the XWiki- Users mailing list archive at Nabble.com.