Hi dev,
I'm working on http://jira.xwiki.org/jira/browse/XWIKI-4606 and i
would like to propose the following:
1) add a property than takes a list of users/groups
I only found xwiki.stats.excludedUsers for now,
xwiki.stats.excludedUsersAndGroups is a bit long an groups are meta
users so it's ok, right ? ;)
For each element of the list we get the document to know if it's a
user of a group and recursively get groups users to produce a list of
all users to filter. That means that StatUtils#getFilteredUsers would
return a list of users without any group that would have been
internally "resolved".
I plan to add this resolve tool in
com.xpn.xwiki.plugin.rightsmanager.RightsManager for now, we can see
latter if we want to add this in public apis (RightsManager*PluginApi
classes).
For now i plan to have:
* xwiki.stats.excludedUsers in xwiki.cfg (follow "xwiki.stats" propery naming)
* statistics_excludedUsers in XWikiPreferencesmyxwiki.org (follow
"statistics" property naming)
2) in all statistics search/get methods we filter theses users
automatically by inserting them in the hql where clauses (all theses
methods are mostly about creating the proper database query to get the
result)
WDYT ?
Thanks
--
Thomas Mortagne
On Mar 16, 2010, at 10:14 AM, Caleb James DeLisle wrote:
> Actually I was trying to be hip and use gedit to write the log so I could use multiple lines.
> Maybe I'll set a newline variable in my .bashrc so I can keep on using the command line...
FWIW I use vi and it works well. I just type "svn commit", then vi opens, I enter my comment and save it and it just works for me.
-Vincent
>
> Marius Dumitru Florea wrote:
>> cjdelisle (SVN) wrote:
>>> Author: cjdelisle
>>> Date: 2010-03-16 09:50:34 +0100 (Tue, 16 Mar 2010)
>>> New Revision: 27643
>>>
>>> Modified:
>>> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/UnknownAction.java
>>
>>> Log:
>>
>> You forgot the log :)
>>
>> Thanks,
>> Marius
>>
>>>
>>> Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/UnknownAction.java
>>> ===================================================================
>>> --- platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/UnknownAction.java 2010-03-16 08:34:35 UTC (rev 27642)
>>> +++ platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/UnknownAction.java 2010-03-16 08:50:34 UTC (rev 27643)
>>> @@ -40,6 +40,10 @@
>>> * @see XWikiAction#render(com.xpn.xwiki.XWikiContext)
>>> */
>>> public String render(XWikiContext context) throws XWikiException {
>>> - return context.getWiki().Param("xwiki.unknownActionResponse", "exception");
>>> + String defaultAction = context.getWiki().Param("xwiki.unknownActionResponse", "exception");
>>> + // Set the action in the context because code which uses $xcontext.getAction()
>>> + // should get the desired action instead of "unknown"
>>> + context.setAction(defaultAction);
>>> + return defaultAction;
>>> }
>>> }
>>>
>>> _______________________________________________
>>> notifications mailing list
>>> notifications(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/notifications
>> _______________________________________________
>> notifications mailing list
>> notifications(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/notifications
>>
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
+1 for annotations in standard
+1 to make possible to enable/disable annotations
On Mon, Mar 15, 2010 at 18:17, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Mar 15, 2010, at 4:04 PM, Anca Luca wrote:
>
>> Hi Vincent, all
>>
>> On 03/15/2010 12:15 PM, Vincent Massol wrote:
>>> Hi,
>>>
>>> We've slipped badly for the 2.3M1 release (my fault for not monitoring it closely enough). It was planned on the 8th of March and we're the 15th already (one week delay).
>>>
>>> The other problem is that we don't have what we had imagined would go in 2.3M1 (color theme improvement for ex). Right now there are lots of changes but nothing really user-noticeable.
>>>
>>> So I'd suggest the following:
>>> * Delay by a few days in order to be able to include:
>>> - color theme improvement. Sergiu you need to tell us if that's doable and for when.
>>> - captcha on comments. Caleb, let us know if that's all done or if there's need for more testing/development.
>>>
>>> Bonus:
>>> - Anca, will it be possible to have annotations released for 2.3M1 (ie now)? How much more time would you need?
>>
>> I'll close the vote for XWIKI-4775 asap, and commit it since it's due a long
>> time now.
>> I shouldn't need more than 2 days, but how would we want the annotations
>> integrated in the platform?
>>
>> Right now they're built as an extension, with some jars to deploy on the server
>> and a .xar to install the default annotations application.
>
> I think we should:
> * have platform/xwiki-annotations and release it when we release the plaform
> * have applications/annotations and include it in the default XE XAR
>
> The rationale is that annotations is a powerful feature and I believe it's good to have it by default for now (it would be too difficult to install it separately for now).
>
> When we have the extension manager implemented, we'll be able to trim down the size of what the "core" platform and instead have the user be able to install extensions when they start their wiki for the first time or when they go to the admin page for this. But since we don't have this now I feel it's better to have annotations packaged in the platform and in the default XAR than not have it.
>
> Here's my +1 to both (API in the platform and annotation XAR in default XE).
>
> Note: It would be great to have the ability to turn on/off the annotations feature for 2.3 final.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Thomas Mortagne
Hi,
On Mon, Mar 15, 2010 at 6:17 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Mar 15, 2010, at 4:04 PM, Anca Luca wrote:
>
> > Hi Vincent, all
> >
> > On 03/15/2010 12:15 PM, Vincent Massol wrote:
> >> Hi,
> >>
> >> We've slipped badly for the 2.3M1 release (my fault for not monitoring
> it closely enough). It was planned on the 8th of March and we're the 15th
> already (one week delay).
> >>
> >> The other problem is that we don't have what we had imagined would go in
> 2.3M1 (color theme improvement for ex). Right now there are lots of changes
> but nothing really user-noticeable.
> >>
> >> So I'd suggest the following:
> >> * Delay by a few days in order to be able to include:
> >> - color theme improvement. Sergiu you need to tell us if that's doable
> and for when.
> >> - captcha on comments. Caleb, let us know if that's all done or if
> there's need for more testing/development.
> >>
> >> Bonus:
> >> - Anca, will it be possible to have annotations released for 2.3M1 (ie
> now)? How much more time would you need?
> >
> > I'll close the vote for XWIKI-4775 asap, and commit it since it's due a
> long
> > time now.
> > I shouldn't need more than 2 days, but how would we want the annotations
> > integrated in the platform?
> >
> > Right now they're built as an extension, with some jars to deploy on the
> server
> > and a .xar to install the default annotations application.
>
> I think we should:
> * have platform/xwiki-annotations and release it when we release the
> plaform
> * have applications/annotations and include it in the default XE XAR
>
> The rationale is that annotations is a powerful feature and I believe it's
> good to have it by default for now (it would be too difficult to install it
> separately for now).
>
> When we have the extension manager implemented, we'll be able to trim down
> the size of what the "core" platform and instead have the user be able to
> install extensions when they start their wiki for the first time or when
> they go to the admin page for this. But since we don't have this now I feel
> it's better to have annotations packaged in the platform and in the default
> XAR than not have it.
>
> Here's my +1 to both (API in the platform and annotation XAR in default
> XE).
>
I'm +1 too. I believe annotations are a cool and useful feature and that
they fit well the traditional wiki use-case of people collaborating on
content together.
More generally speaking, I agree with Vincent about the strategy of
core-trimming that will need to take place once XWiki becomes more
extensible.
Guillaume
> Note: It would be great to have the ability to turn on/off the annotations
> feature for 2.3 final.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
Hi all,
I would like to go ahead with committing
http://jira.xwiki.org/jira/browse/XWIKI-4775 before the 2.2 final release
(because I would like annotations to work as clean as possible on 2.2 final).
In order to do that, we need to agree on a set of separators for the object name
and property name.
There have been the following proposals so far:
A wiki:Space.Page^objectName#property
B wiki:Space.Page^objectName$property
which has received some votes in http://markmail.org/thread/uihq4mmwgaufbcz6 but
I personally would stay away from # and $ separators since they're reserved
characters in velocity scripting language and it might be uncomfortable for
using refs in scripts.
Also, we had:
C wiki:Space.Page^objectName;property
and also:
D wiki:Space.Page:objectName.property
Which one would you prefer? Any other proposals?
Any separator should be easy to implement, and roughly anything could be used as
a separator (so feel free to propose).
Note that there is an alternative to this, to make annotations implementable on
2.2: only add the two entity types (Object and Object Property) along with
making the string serializer and string resolver extensible so one could add its
own separators for the 2 new types.
WDYT?
Thanks,
Anca
Hi,
I'm a BSc Computer Science student studying at LUMS, Pakistan and I
wish to contribute to XWiki project through GSoC 2010.
I'm familiar with OpenOffice integration with wikis, I did a
university project on a similar idea for MediaWiki, but I feel that I
can use the same techniques to export wiki content to Word/PDF/HTML
using OpenOffice components.
I've recently familiarized myself with XWiki and it's powerful
architecture excites me. I can't wait to start working on it. I would
like to know what do the mentors (Asiri Rathnayake and Florin
Ciubotaru) expect from this project, any limitations/bottlenecks they
suspect that might need to be taken care of and so on.
I've not worked on open-source projects before, but I've worked on
many web-based and software projects with sufficient experience of
Java programming.
Waiting for an opportunity to get on board,
Amer Tahir
Hi guys,
I'm preparing a proper xwiki installation in my network on a shared Oracle
10g instance. Of course, it's ot of the world granting all privileges to the
xwiki user, so I did some testing and found out that it just needs the roles
connect and resource. As far as I could see, the oracle schema contains no
procedures nor triggers or other objects but tables and indexes, and the
hibernate sequence.
Can anyone confirm it?
Cheers
Nicola
--
View this message in context: http://n2.nabble.com/Oracle-10g-Installation-real-world-permissions-tp47361…
Sent from the XWiki- Dev mailing list archive at Nabble.com.