Hello,
I want to do some JIRA task as a part of my application for GSoC. I
encountered some doubts.
1. I asked questions in comments in 2 issues. Is it the proper way of
discussing them or should I ask about them on mailing list?
Links to those issues:
https://jira.xwiki.org/browse/XWIKI-13496?filter=10534https://jira.xwiki.org/browse/XWIKI-12704?filter=10534
2. When I do fixes on my local repository and I want to create Pull Request
I need to upload them to one of remote branches - typically branch created
specially for my fix, right? It seems that option of creation branches on
github is disabled for externals like me. How can I upload my fixes and
create PR, then?
3. I've searched dev guides and also names of created branches on github.
What's the convention for proper naming of bugfix or feature branches?
Examples that I found are following: "feature-XWIKI-12544",
"feature-alfresco-link" or simply id of ticket: "XWIKI-7553"
I know that I sit down to coding a bit late, but I hope I'll manage do
upload at least one Pull Request before deadline.
Best,
Krzysiek
P.S. I haven't encountered any Java project so far in which the code
convention was to put opening curl bracket '{' in new line :)
Hi devs,
Here’s a proposal for the coming 3 1-month roadmaps that I’ve discussed already with the devs from XWiki SAS.
@Other devs: if you want to contribute to these releases don’t hesitate to propose items that you wish to implement!
@Anyone: feel free to comment on this roadmap (things you like, don’t like, etc). I can’t assure that everything will be taken into account but they’ll be discussed and it’ll help shape the direction of the project :)
Content
=======
* Move from XE to KB Flavor and distribute the platform distribution - Thomas
* Prepared mails might be never sent if the XWiki server crash or is restarted - http://jira.xwiki.org/browse/XWIKI-13991 - Vincent
* Be able to also restore deleted children pages when restoring a parent nested page - http://jira.xwiki.org/browse/XWIKI-13164 - Edy
* Improved Rights UI: Investigation only - Caty
* Livetable: Batch Selection + Better Filters (users, boolean, date, partial location) - ?
* Administration: Suggest & Filter for menu categories - Marius
* Administration: Default values - ?
* Multipage tours - ?
* HomePage: Proposals for exposing people to the help content from the home page and possible different default content for the home page. Investigation then some implementation - Caty for investigation. ? for dev
* Menu App by default. Investigation then some implementation - Caty for investigation. ? for dev
* Various UI usability improvements. Some topics to investigate + some implementation - Caty for investigation. ? for dev
** Save button more visible
** Implement an option to display action name under icons
** Make wheel and 3dots menu more coherent
** AWM "add entries”
** Make discoverable the logo change and panel layout features
** Admin reorg
* Drop down on "+" Menu + Admin UI to select some templates. Investigation then implementation - Caty for investigation. ? for dev
* Draw.io new version - Marius
* Attachment improvements - Marius
* Bundle Help section - ?
* Polishing CKEditor - Marius
* Look for a user workaround for the limitation of 255 chars in document location - http://jira.xwiki.org/browse/XWIKI-13402 - Thomas
* Create an extension point for the "Content Menu” area - http://jira.xwiki.org/browse/XWIKI-13078 - Edy
* Continue working on notifications - Guillaume
* Improve PDF Export - ?
Dates
=====
I’m proposing:
* 9.3RC1: 17 April 2017 (3w)
* 9.3Final: 24 April 2017 (1w)
* 9.4RC1: 22 May 2017 (4w)
* 9.4Final: 29 May 2017 (1w)
* 9.5RC1: 19 June 2017 (3w)
* 9.5Final: 26 June 2017 (1w)
Thanks
-Vincent
Hi,
I'm about to prepare a plan and timeline with milestones for the task "More
extension repositories ". The page with design details (
http://design.xwiki.org/xwiki/bin/view/Design/ExtensionManagerRepositories)
gives 10 examples of repositories to set an integration with, whilst the
description of task on XWiki GSoC information sub page refers only to 3:
Nexus , Bintray , Pypi (
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Moreextensionreposit…)
.
So the task for GSoC work includes integration with all those 10, or just
those 3? I need to know it to plan well the milestones.
Best,
Krzysztof
Hi,
On the IRC, I asked about the meaning of the term "Rendering
transformation". I went through the Rendering Framework doc and found that
'Rendering' is just a way to convert the DOM (Data Object Model: it
connects different programming languages) into a valid output which is
shown to the user.
Now in the project "Glossary Application" , the idea is to present a list
of definitions in the glossary app. I wanted to inquire if the definitions
of the 'technical terms'(words which a user while going through the x-wiki
page will find difficult to understand) of the x-wiki page is to be listed
in the glossary app? And when user clicks on that word then a new page
opens listing the definition of that term, feature etc?
Thanks :)
Hi Vincent,
Still Getting the same error on ubuntu :/
CKBuilder - Builds a release version of ckeditor-dev.
Downloading CKBuilder...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 7423k 100 7423k 0 0 306k 0 0:00:24 0:00:24 --:--:--
485k
Starting CKBuilder...
/home/sarthak/application-ckeditor-master/base/target/ckeditor-dev-4.6.2/dev/builder/build.sh:
line 61: git: command not found
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CKEditor Integration Parent POM .................... SUCCESS [
0.842 s]
[INFO] CKEditor Integration Base .......................... FAILURE [
29.140 s]
[INFO] CKEditor Integration Plugins ....................... SKIPPED
[INFO] CKEditor Integration Test Modules .................. SKIPPED
[INFO] CKEditor Integration Test Page Objects ............. SKIPPED
[INFO] CKEditor Integration WebJar ........................ SKIPPED
[INFO] CKEditor Integration UI ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30.790 s
[INFO] Finished at: 2017-03-31T22:56:08+05:30
[INFO] Final Memory: 26M/158M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
application-ckeditor-base: Command execution failed. Process exited with an
error: 127 (Exit value: 127) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
On Fri, Mar 31, 2017 at 11:19 PM, Sarthak Gupta <sarthakgupta072(a)gmail.com>
wrote:
> Hi Vincent,
> Still getting the same error on ubuntu :/
> Attached image:
>
>
> On Thu, Mar 30, 2017 at 4:59 PM, Vincent Massol <vincent(a)massol.net>
> wrote:
>
>> This build requires linux.
>>
>> Maybe it would work with cygwin, I don’t know. It’s not very nice to be
>> OS-agnostic I agree but I think we’re stuck by CKEditor which requires a
>> special custom build tool that probably only works on unix.
>>
>> Thanks
>> -Vincent
>>
>> > On 30 Mar 2017, at 12:47, Sarthak Gupta <sarthakgupta072(a)gmail.com>
>> wrote:
>> >
>> > Hi,
>> > I am getting this error while building application-ckeditor. What to do?
>> >
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] CKEditor Integration Parent POM .................... SUCCESS
>> [02:07
>> > min]
>> > [INFO] CKEditor Integration Base .......................... FAILURE
>> [15:46
>> > min]
>> > [INFO] CKEditor Integration Plugins ....................... SKIPPED
>> > [INFO] CKEditor Integration Test Modules .................. SKIPPED
>> > [INFO] CKEditor Integration Test Page Objects ............. SKIPPED
>> > [INFO] CKEditor Integration WebJar ........................ SKIPPED
>> > [INFO] CKEditor Integration UI ............................ SKIPPED
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] Total time: 19:54 min
>> > [INFO] Finished at: 2017-03-30T15:39:01+05:30
>> > [INFO] Final Memory: 20M/121M
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [ERROR] Failed to execute goal
>> > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on
>> project
>> > application-ckeditor-base: Command execution failed. Cannot run program
>> > "C:\Users\SARTHAK
>> > GUPTA\.m2\XWiki\application-ckeditor-master\base\target\cked
>> itor-dev-4.6.2\dev\builder\build.sh"
>> > (in directory "C:\Users\SARTHAK
>> > GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
>> > error=193, %1 is not a valid Win32 application -> [Help 1]
>> > [ERROR]
>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e
>> > switch.
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> > please read the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR] mvn <goals> -rf :application-ckeditor-base
>>
>>
>
Hi,
I am getting this error while building application-ckeditor. What to do?
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CKEditor Integration Parent POM .................... SUCCESS [02:07
min]
[INFO] CKEditor Integration Base .......................... FAILURE [15:46
min]
[INFO] CKEditor Integration Plugins ....................... SKIPPED
[INFO] CKEditor Integration Test Modules .................. SKIPPED
[INFO] CKEditor Integration Test Page Objects ............. SKIPPED
[INFO] CKEditor Integration WebJar ........................ SKIPPED
[INFO] CKEditor Integration UI ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19:54 min
[INFO] Finished at: 2017-03-30T15:39:01+05:30
[INFO] Final Memory: 20M/121M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
application-ckeditor-base: Command execution failed. Cannot run program
"C:\Users\SARTHAK
GUPTA\.m2\XWiki\application-ckeditor-master\base\target\ckeditor-dev-4.6.2\dev\builder\build.sh"
(in directory "C:\Users\SARTHAK
GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
error=193, %1 is not a valid Win32 application -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :application-ckeditor-base
EDITED: Resending this message to fix some escaping issues when the email
went out the first time.
I have a use case where I need to nest macros to 2+ levels deep using
XWiki's Annotated XHTML syntax. We are using this syntax as an input to a
transformation process that utilizes XWiki's rendering engine to convert the
Annotated XHTML into XWiki-native markup, similarly to how CKEditor does its
work.
The problem is that with Annotated XHTML, macros are encoded as HTML
comments -- but HTML comments cannot be nested within other HTML comments.
Here is a demonstrative example: (NOTE: in all examples below I have added
extra spaces around the ! chars to prevent these from getting stripped out
in this email)
< ! --startmacro:outermacro|-||-|outer text before < !
--startmacro:innermacro|-||-|inner text-->< ! --stopmacro--> outer text
after-->< ! --stopmacro-->
The intention is for this to be convertible to this XWiki syntax:
{{outermacro}}outer text before {{innermacro}}inner text{{/innermacro}}
outer text after{{/outermacro}}
However, this doesn't work because the HTML parser sees the first "-->" it
encounters as the "end of comment" marker, thus breaking the intended
nesting.
Thus, when converted to XWiki syntax, this is what comes out instead:
{{outermacro}}outer text before <==startmacro:innermacro|-||-|inner
text{{/outermacro}} outer text after ~-~->
We have considered a couple possible solutions:
1. Mimic what CKEditor does in this scenario, which is to use an HTML
comment for the outermost macro-block, but have any nested macros (embedded
inside the HTML comment) be rendered as XWiki-native syntax. Like this:
< ! --startmacro:outermacro|-||-|outer text before {{innermacro}}inner
text{{//innermacro}} outer text after-->< ! --stopmacro-->
This approach seems to work, but it's not ideal because our Annotated XHTML
generation code will now need to support two varieties of output depending
on the current nesting level -- Annotated XHTML for the outermost depth, and
XWiki-native for anything nested deeper.
2. Implement a variation of the existing Annotated XHTML parsing logic
which, instead of expecting macros encoded in HTML comments, will expect the
use of an XHTML structure that models the same information, but doesn't
suffer from the nesting restrictions of HTML comments. Something like this:
<xannotation name="startmacro:outermacro">
outer text before
<xannotation name="innermacro">
inner text
</xannotation>
outer text after
</xannotation>
I am looking for input from XWiki experts regarding what approach would make
the most sense. Option 2 above seems like the most elegant solution overall,
but I'm not sure how difficult this would be to get working in the current
XWiki codebase, or what file(s) would need to be extended, etc. Is there
another approach that might solve this problem more efficiently?
Note: For brevity, I've referred to "nested macros" above, but for our use
case we will actually need to handle all the different comment types
recognized in XWikiCommentHandler.java.
References:
AnnotatedXHTMLRenderer.java:
https://github.com/xwiki/xwiki-rendering/blob/master/xwiki-rendering-syntax…
XWikiCommentHandler.java:
https://github.com/xwiki/xwiki-rendering/blob/master/xwiki-rendering-syntax…
--
View this message in context: http://xwiki.475771.n2.nabble.com/RESEND-Nesting-within-Annotated-XHTML-tp7…
Sent from the XWiki- Dev mailing list archive at Nabble.com.