Hello all,
First my proposal:
I propose we add the invitation application to platform/applications and give it a jira top level project
name, I further propose we add a dependency to the Enterprise pom.xml and merge the UI tests which I have
wrote into the Enterprise UI tests.
I would rather not move the translation keys into the default document bundle until nearer release time
because it would be nice to use the new internationalization module if possible and as development is still
going fast, there will be changes to translations.
The state of the invitation application:
All major refactoring is finished and I am now just squashing bugs and adding new features.
Lately I have been debugging using tests rather than manual debugging, So far I have 7 UI tests which
with framework comprise 1207 lines in 8 files. Maintaining a fork of the UI tests is becoming
burdensome and I think the invitation application is ready to be included.
Improvements since the version which is on the incubator:
* Each message has a "history", a list of status changes, the user who made the change and a log
(if any) which they left regarding the change.
* An invitation sent to multiple addresses is handled as a group of invitations each of which may
be accepted/declined individually, the sender or admin can view the group and see all of the
messages in it as a table.
* Users see an info macro at the bottom of the screen telling them how many pending invitations
they have (if any).
* Admins see a warning macro at the bottom of the page telling them how many message have been
reported as spam (if any have).
* Templates are translatable and (should be) compatible with more email clients.
Tasks still to be done include:
* A means by which invitees can be allowed into a closed wiki.
* Invitation of a mailing list.
* Handling "join requests".
* Use javascript to make it easier to use and implement livetable
* Improve CSS.
WDYT?
Caleb
If we invoke it twice in a row:
{{hello greetUser="true" /}}
{{hello /}}
The second invocation will not print "Hello World!" as we'd expect. But it will print the same result as the first invocation. The reasons are:
* Macro parameters are implemented as global parameters. So, they remains the same across multiple macro invocations.
* If $context.macro.params.greetUser contains "null", it will not be assigned to $greetUser. This is different from C/C++ or Java.
So in order to get around it, you can use:
#set($greetUser="$!context.macro.params.greetUser")
Tags:
[+] <http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial?showTag…>
Created by Asiri Rathnayake <http://www.xwiki.org/xwiki/bin/view/XWiki/asiri> on 2009/07/20 08:30
Last modified by Thomas Mortagne <http://www.xwiki.org/xwiki/bin/view/XWiki/ThomasMortagne> on 2010/05/12 19:42
How can I add the Last Modified by in the bottom by the Created by like on Xwiki.org? Should be an easy way but I can't seem to figure out how to add code below the page like that. Is it in the Admin tools? If so where in there?
Grant Sales
Security Operations Analyst
ING
20 Washington Ave South
Minneapolis, MN 55401
Tel: 612.342.7889
Fax: 612.342.3428
Cell: 320.761.0966
Email: grant.sales(a)us.ing.com
www.ing-usa.com
ING. Your future. Made easier. ®
---------------------------------------------------------
NOTICE: The information contained in this electronic mail message is confidential and intended only for certain recipients. If you are not an intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication and any attachments is strictly prohibited. If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.
============================================================================================
Hi,
I have almost finished writing a new right service implementation and
have some questions about nested spaces.
I am using the EntityReference classes for representing the document
hierarchy, with the addition for using the main wiki as the parent of a
virtual wiki.
XWikiRightServiceImpl is using the parent field in the space's
preferences to form a space hierarchy. The EntityReference classes
support a list of spaces, but this does not seem to be implemented
yet.
Can a right service implementation assume that the nested space
hierarchy was resolved externally and was inserted into the
DocumentReference as a list of spaces?
Will the list of spaces in an EntityReference correspond to following
parent fields in the space preferences or does a right service
implementation need to resolve these parent fields for backwards
compliancy?
Best Regards,
Andreas Jonsson
Here is how you filter out one dead property (or hide it)
#foreach($prop in $class.properties)
#if($prop.getName() != "unused_author")
; $prop.prettyName
: $doc.display($prop.getName())
#end
#end
How can you call just the properties you want with out using a for each
loop?
Grant Sales
Security Operations Analyst
ING
20 Washington Ave South
Minneapolis, MN 55401
Tel: 612.342.7889
Fax: 612.342.3428
Cell: 320.761.0966
Email: grant.sales(a)us.ing.com
www.ing-usa.com
ING. Your future. Made easier. (r)
---------------------------------------------------------
NOTICE: The information contained in this electronic mail message is confidential and intended only for certain recipients. If you are not an intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication and any attachments is strictly prohibited. If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.
============================================================================================
Hi devs,
We have avoided this discussion but it's time to settle it. We need to decide if there are candidate macros that we should write as wiki macros in our default XE distribution. And if so what are the rule for deciding whether a macro should be written as a wiki macro or as a java macro.
Some ideas:
- java macros are much easier to test
- java macros are easier to develop since you have a full-fledged IDE (debugging, syntax coloring, code validation, etc)
- java macros can obey styling rule, such as checkstyle passing
- wiki macros can be removed so users can't be sure the wiki macro will always be there since it's only provided with the default XAR
Proposal
=======
- If the macro is a generic macro then it should be written as a Java macro
- If the macro is application-specific (for ex a macro specific to the Blog application) then it can be written as a Wiki macro
WDYT?
Thanks
-Vincent
Hi XWiki lovers,
If you're interested in seeing some macros developed and available for your wiki, please edit this page and add macros you'd like to see:
http://dev.xwiki.org/xwiki/bin/view/Design/NewMacros
Thanks
-Vincent
Hello.
My name is Sorin Burjan, and I started working at XWiki two days ago. I
came to XWiki as a software tester, technical writer, but as the time
goes by, I'd like to get involved in dev too. For the moment, I'm
working with Silvia on updating the documentation on the web site, and
creating a set of rules/standards on how to write and maintain the
documentation. The document will be posted on the comunity site, so you
can give me your feedback.
Regards,
Sorin B.