Re: [xwiki-users] Clobbered syntax when importing 2.1 xwiki content into 2.5.1

2011-07-20 Thread Marius Dumitru Florea
Hi,

On 07/19/2011 05:56 PM, fnadeem wrote:
 I recently upgraded wiki to 3.0 version. I had the syntax issue which was
 corrected by importing Panels.DocumentInformation document from 3.0 XAR. So
 I now have the syntax 2.0 available. After this change, the WYISWYG editor
 defaluted back to the old editor
 http://platform.xwiki.org/xwiki/bin/Features/PageEditing#HWYSIWYGeditingmode
 and I lost the new editor which has more functions
 http://platform.xwiki.org/xwiki/bin/Features/WysiwygEditor

 How I can enable the new WYISWYG editor?

The new WYSIWYG editor is not loaded if the page syntax is XWiki 1.0. 
Are you sure your pages are in XWiki 2.0 syntax? Edit in wiki edit mode 
a page for which the new WYSIWYG editor is not loading and put this content:

{{velocity}}
$doc.syntax.toIdString() 
$services.wysiwyg.isSyntaxSupported($doc.syntax.toIdString())
{{/velocity}}

then save. Do you get xwiki/2.0 true?

Hope this helps,
Marius

 Also the search function is not working after the upgrade. when I try to
 search, I get the message The requested document could not be found

 Farhan Nadeem



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Clobbered-syntax-when-importing-2-1-xwiki-content-into-2-5-1-tp5808169p6599068.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Demo] Wiki3.0 project preview

2011-07-20 Thread Paul Libbrecht


Le 20 juil. 2011 à 07:39, Marius Dumitru Florea a écrit :

 Either change your user type from simple to advance (from the 
 Preferences section of your user profile) and then choose Real Time 
 from the edit menu, or simply add editor=rt to the query string of the 
 edit URL:
 
 /xwiki/bin/edit/Space/Page?editor=rt


This worked and is indeed really really nice.
It worked in Chrome and Firefox 5.


It is failing with Safari 5 and my pet browser OmniWeb (which is basically 
safari 4) with the error:

/xwiki/resources/js/prototype/prototype.js:557XHR finished loading: 
http://synchroedit.wiki30-demo.xwiki.com/xwiki/bin/lock/Main/AnotherPage?ajax=1;.
2/xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:996XHR
 finished loading: 
http://synchroedit.wiki30-demo.xwiki.com/xwiki/resources/js/xwiki/rte/xre/CommunicationService.gwtrpc;.
/xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:3638TypeError:
 Result of expression '$wnd.editor.setContent' [undefined] is not a function.
15/xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:996XHR
 finished loading: 
http://synchroedit.wiki30-demo.xwiki.com/xwiki/resources/js/xwiki/rte/xre/CommunicationService.gwtrpc;.


paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Demo] Wiki3.0 project preview

2011-07-20 Thread Ecaterina Moraru (Valica)
Hi Eduard,

Some usability suggestions at
http://wiki30-demo.xwiki.com/xwiki/bin/view/Improvements/Usability1

Thanks,
Caty

On Wed, Jul 20, 2011 at 09:20, Paul Libbrecht p...@hoplahup.net wrote:



 Le 20 juil. 2011 à 07:39, Marius Dumitru Florea a écrit :

  Either change your user type from simple to advance (from the
  Preferences section of your user profile) and then choose Real Time
  from the edit menu, or simply add editor=rt to the query string of the
  edit URL:
 
  /xwiki/bin/edit/Space/Page?editor=rt


 This worked and is indeed really really nice.
 It worked in Chrome and Firefox 5.


 It is failing with Safari 5 and my pet browser OmniWeb (which is basically
 safari 4) with the error:

 /xwiki/resources/js/prototype/prototype.js:557XHR finished loading: 
 http://synchroedit.wiki30-demo.xwiki.com/xwiki/bin/lock/Main/AnotherPage?ajax=1
 .
 2/xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:996XHR
 finished loading: 
 http://synchroedit.wiki30-demo.xwiki.com/xwiki/resources/js/xwiki/rte/xre/CommunicationService.gwtrpc
 .
 /xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:3638TypeError:
 Result of expression '$wnd.editor.setContent' [undefined] is not a function.
 15/xwiki/resources/js/xwiki/rte/xre/359CAC3DBB4D0348AD9A722B16044C17.cache.html:996XHR
 finished loading: 
 http://synchroedit.wiki30-demo.xwiki.com/xwiki/resources/js/xwiki/rte/xre/CommunicationService.gwtrpc
 .


 paul
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clobbered syntax when importing 2.1 xwiki content into 2.5.1

2011-07-20 Thread fnadeem
Yes, when I add this code into an existing page with syntax 2.0 it does says
xwiki/2.0 true. I created new page with syntax 2.0 and same result
xwiki/2.0 true. But for both these cases old editor is opened. 

If I use syntax 1.0 and save the document with code, it says {{velocity}}
xwiki/1.0 false {{/velocity}}. However in this case the new editor is
automatically opened.

It is exactly the opposite  of what it should be...

Farhan

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Clobbered-syntax-when-importing-2-1-xwiki-content-into-2-5-1-tp5808169p6602199.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] database / xwiki objects corruption?

2011-07-20 Thread brian
Ok.

This may not be the first time it happens...
My XWiki instance is open on the internet, and it got indexed by web spider
- which managed to access URLs like GET /xwiki/bin/save/Thing.

So, several things:
- I obviously have a permission problem with some pages
- I should have used the robots.txt specified there
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances (even
though it says for performance reasons, and not security reasons)
- But *why on earth* would Xwiki let edit resources with GET requests? Isn't
it against all REST principles?

I find it very disturbing.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/database-xwiki-objects-corruption-tp6601856p6602615.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Demo] Wiki3.0 project preview

2011-07-20 Thread Eduard Moraru
Hi Marius,

On Wed, Jul 20, 2011 at 8:49 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 Hi Eduard,

 On 07/19/2011 11:29 PM, Eduard Moraru wrote:
  Hi community,
 
  If anyone is curious, a demo installation of the current work on the
 Wiki3.0
  [1] research project is available at http://wiki30-demo.xwiki.com
 
  With the Workspaces feature, you can register a user and create
 workspaces,
  invite/accept other users and generally manage your workspace.
 
  Interesting sections (or rather a list of features) are:
 
  = In the main wiki =
 
  - Create new Workspace (Add menu or homepage button)
  - Workspace Directory (Top menu, under 'Workspace')
  - 'Workspaces' section in user profile
  - User Directory improvements
  - Join/Leave/Request membership/Accept invitation to join a workspace
  (Workspace Directory or homepage of a workspace)
  - Workspace search suggestions (top-right search box)
 
  = In a workspace =
 
  - Dashboard
  - Workspace information panel (right panels)
  - Main wiki link (Top menu, under 'Workspace')
  - Delete workspace (Top menu, under Workspace, for owner)
  - Workspace Configuration section (Administration, 'Configuration'
 category)
  - Workspace Users section; Accept membership requests or invite users
  (Administration, 'Users  Groups' category)
  - User registration redirecting to main wiki (Top-Right register link)
  - Removed local XWiki.Admin user
 
 
  Besides the Workspaces feature, the Real-Time editor is also available
 for a
  quick test. You can access it by editing a page in Real Time edit mode.
  You can't miss it :)

 The real time editor is quite nice. I haven't tested it before. We
 should definitely integrate the line number feature in the wiki edit mode.

  For quick tests, you can edit the same page in 2 browser windows and see
  changes in one window triggering an update in the second one. It also
 works
  with multiple users (obviously) and allows other to join in the editing
  session.
 
  For now it's working real time only for wiki code. Work on the WYSIWYG
  version has already started.
 
 
  Please feel free to report any bugs or suggestions here or (preferably)
 at
  http://jira.xwiki.org/jira/browse/WIKITHREEDOTO and do be aware that
 it's
  still work in progress.

 The list of users in the Workspace information panel is not right for a
 newly created workspace. My user is listed twice and the first avatar in
 the list points to the workspace home page.


Fixed.


 Also, the Top Active Members section lists 3 users:

 Administrator - global user (should be hidden IMO)
 Admin - local user, missing (again, should be hidden IMO)


Fixed.

my user, but the link points to the corresponding local user which is
 obviously missing


AFAIK, this is a bug http://jira.xwiki.org/jira/browse/XWIKI-6103 that has
been fixed for XWiki 3.1. The problem is at wiki creation time, because I
change the context database and the context user does not change
accordingly, making Activity Stream to register the unchanged user, thus,
resulting in a local user instead of global. When I will upgrate to 3.1, I
hope that this will be fixed too. In practice, the 'ghost' user will
disappear as fast as at least 5 users start editing pages :)



 Looks great otherwise. Well done!


Thanks :) and thanks for the feedback as well,
Eduard


 Thanks,
 Marius

 
  Thanks,
  Eduard
 
  -
  References:
  [1] https://wiki30.xwikisas.com/
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [UX] TipsTricks

2011-07-20 Thread Ecaterina Moraru (Valica)
On Wed, Jul 20, 2011 at 19:45, Ecaterina Moraru (Valica)
vali...@gmail.comwrote:

 Hi,

 I was thinking about what tips and tricks XWiki has, things that are not
 really that well documented but that are very productive and fun.
 Would be nice to have such an inspiring thread from which we could learn a
 lot and, why not, have fun experimenting :)

 If the thread is really useful we could also integrate these tips more
 clearly in our documentation or also we could have a tips panel inside XWiki
 Enterprise, for beginners/intermediate users.

 The tip structure could be:
 *Title: **
 Level: **
 Target: *
 *Description:*

 Thanks,
 Caty*
 *


*Title: *Using emoticons*
Level:* Intermediate /* *Advanced*
Target: *User
*Since:* XE 2.6
*Description:*
Did you know that you can have emoticons :) :P :D  in your text?

Just write the textual
emoticonshttp://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise26#H3Icon2FEmoticonSupportand
they will be rendered in your saved page.

If you want to use more diverse
iconshttp://www.famfamfam.com/lab/icons/silk/previews/index_abc.pngyou
will have to switch
to XWiki 2.1 
Syntaxhttp://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingaSyntaxand
write something like image:icon:accept
.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [UX] TipsTricks

2011-07-20 Thread Ecaterina Moraru (Valica)
On Wed, Jul 20, 2011 at 19:45, Ecaterina Moraru (Valica)
vali...@gmail.comwrote:

 Hi,

 I was thinking about what tips and tricks XWiki has, things that are not
 really that well documented but that are very productive and fun.
 Would be nice to have such an inspiring thread from which we could learn a
 lot and, why not, have fun experimenting :)

 If the thread is really useful we could also integrate these tips more
 clearly in our documentation or also we could have a tips panel inside XWiki
 Enterprise, for beginners/intermediate users.

 The tip structure could be:
 *Title: **
 Level: **
 Target: *
 *Description:*


*Title:* Using Keyboard Shortcuts
 *Level: *Advanced
 *Target: *User / Developer / Admin
*Since:* XE 1.4
 *Description:*
Did you know that you can save your page by pressing [Alt] + [Shift] + [S] ?

XWiki has a variety of keyboard shortcuts that can be used depending on the
context. There are shortcuts that can be used in the Wiki Editor, others
that are specific to the WYSIWYG Editor, some can be used for the View mode
or in the Edit mode. Read more about
shortcutshttp://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts
.

Some shortcuts are global and can be used by all users, while others are
just specific to advanced users. In order to change your user
typehttp://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedModeyou
need edit your Profile Preferences. This will activate shortcuts like
[H] that displays the page history or [O] that takes you inside the objects
editor.



 Thanks,
 Caty*
 *
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [UX] TipsTricks

2011-07-20 Thread Ecaterina Moraru (Valica)
Hi,

I was thinking about what tips and tricks XWiki has, things that are not
really that well documented but that are very productive and fun.
Would be nice to have such an inspiring thread from which we could learn a
lot and, why not, have fun experimenting :)

If the thread is really useful we could also integrate these tips more
clearly in our documentation or also we could have a tips panel inside XWiki
Enterprise, for beginners/intermediate users.

The tip structure could be:
*Title: **
Level: **
Target: *
*Description:*

Thanks,
Caty*
*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users