[xwiki-devs] Syntax highlighter for XWiki!
Hello XWikiers! If you have used syntax highlighter ( http://code.google.com/p/syntaxhighlighter/) in wordpress, blogger etc. you are going to like this one: http://asiri.rathnayake.org/xwiki/bin/view/Macro/MCode Now because of the flexibility of XWiki SSX and JSX, you can easily customize this macro (if you wish to extend it). There are few things I wish if I could improve (implementation details) but I hope this would be useful the way it is now :) Let me know if it looks good. Thanks. - Asiri
Hi, I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug? Thanks. - Asiri
Looks like an import bug, i.e. document event not produced when importing it. On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
I don't see what rights could have to do with that, unless you have some unexisting user in your macro as author. On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne <[email protected]> wrote:
Looks like an import bug, i.e. document event not produced when importing it.
On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
That's weird, I reproduced it and then deleted the macro to reimport it and check in debug mode but i could not reproduce. On Mon, Aug 2, 2010 at 15:31, Thomas Mortagne <[email protected]> wrote:
I don't see what rights could have to do with that, unless you have some unexisting user in your macro as author.
On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne <[email protected]> wrote:
Looks like an import bug, i.e. document event not produced when importing it.
On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Impossible to reproduce whatever i do... looks like it's something very special. On Mon, Aug 2, 2010 at 17:30, Thomas Mortagne <[email protected]> wrote:
That's weird, I reproduced it and then deleted the macro to reimport it and check in debug mode but i could not reproduce.
On Mon, Aug 2, 2010 at 15:31, Thomas Mortagne <[email protected]> wrote:
I don't see what rights could have to do with that, unless you have some unexisting user in your macro as author.
On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne <[email protected]> wrote:
Looks like an import bug, i.e. document event not produced when importing it.
On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Is it possible the document cache has something to do with this behaviour? - Asiri On Mon, Aug 2, 2010 at 9:03 PM, Thomas Mortagne <[email protected]>wrote:
Impossible to reproduce whatever i do... looks like it's something very special.
On Mon, Aug 2, 2010 at 17:30, Thomas Mortagne <[email protected]> wrote:
That's weird, I reproduced it and then deleted the macro to reimport it and check in debug mode but i could not reproduce.
On Mon, Aug 2, 2010 at 15:31, Thomas Mortagne <[email protected]> wrote:
I don't see what rights could have to do with that, unless you have some unexisting user in your macro as author.
On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne < [email protected]> wrote:
Looks like an import bug, i.e. document event not produced when importing it.
On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Tue, Aug 3, 2010 at 12:13, Asiri Rathnayake <[email protected]> wrote:
Is it possible the document cache has something to do with this behaviour?
I forgot to say that i restarted XWiki after deleted the macro so it's supposed to be the exact same state that when i reproduced the issue.
- Asiri
On Mon, Aug 2, 2010 at 9:03 PM, Thomas Mortagne <[email protected]>wrote:
Impossible to reproduce whatever i do... looks like it's something very special.
On Mon, Aug 2, 2010 at 17:30, Thomas Mortagne <[email protected]> wrote:
That's weird, I reproduced it and then deleted the macro to reimport it and check in debug mode but i could not reproduce.
On Mon, Aug 2, 2010 at 15:31, Thomas Mortagne <[email protected]> wrote:
I don't see what rights could have to do with that, unless you have some unexisting user in your macro as author.
On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne < [email protected]> wrote:
Looks like an import bug, i.e. document event not produced when importing it.
On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake <[email protected]> wrote:
Hi,
I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
participants (2)
-
Asiri Rathnayake -
Thomas Mortagne