Hi all,
I have my XWiki 5.1 deployment set up to store attachments in the file system (not database). If for e.g. I upload a docx file as an attachment and download it, it all works fine. If I upload a Microsoft Excel file (xlsx, xlsb, xlsm, etc.) it attaches fine, but opening presents a few strange problems.
If it is a plain xlsx file, clicking open instead of save when downloading the attachment prompts me to enter a server password. If I click save, it downloads and I can open it fine.
For xlsb and xlsm files, the attached file is served as a .zip file... I have no clue why.
It's like this in any browser I try. I'm not sure where the problem lies. Any ideas?
Thanks.
Hey guys,
i run into an exception on my newly installed xwiki after klicking the
register-button:
HTTP Status 500 -
_____
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:111)
root cause
java.lang.NoClassDefFoundError: Could not initialize class
com.xpn.xwiki.web.RegisterAction
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
java.lang.Class.newInstance0(Class.java:374)
java.lang.Class.newInstance(Class.java:327)
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:14
3)
org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcess
or.java:292)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:230)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:111)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.35 logs.
Do you have any idea why? I installed it via aptitude on my ubuntu 12.04
x64.
Regards,
Eric
Hello,
For the mail archiver app, I need to output mail content in a page. I
used to use it with html content, and display is directly done with
{{html}} macro.
But most messages from mailing-lists are plain-text. My first idea was
to use {{code}}, and this is fine.
But I think display could be greatly improved using specific xwiki
syntax rendering (2.1), but for some elements only.
To do so, I would like to render some text string, not applying all
syntax elements.
Let me explain : what is interesting to render is :
- quotes (lines starting with angle brackets '>'),
- urls (replaced by links automatically),
- emoticons
Everything else (wiki macros, ...) should NOT be rendered.
Is this possible ?
Of course I don't want to impact the way xwiki renders pages.
Thanks for help,
Jeremie
Hello,
When I try and edit or add a group or user I just get a blank page
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Groups#
I don't know where to start looking
Thanks
Adam Witwicki
Hi guys,
I need in my XWiki page a TextArea whose content I can edit and save.
Currently I have a normal Textarea in HTML macro and whenever I edit the
content of this box inwysiwyg or inline mode it will not be saved.
Here is the document content:
{{velocity}}
$xwiki.jsfx.use("js/xwiki/wysiwyg/xwe/XWikiWysiwyg.js",
{'forceSkinAction': true, 'lazy': true})
{{html}}<br/>
<div class='container'>
<div class='delegation_container'>
<a href='/xwiki/bin/view/MySpace/MyPage'>MyPage</a>
</div>
<div class='shadow_box'>
<table class='activity_table'>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>ID</div>
</td>
<td><input id='ID' type='text'
class='task_page_text_content' value='84978164'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Name</div>
</td>
<td><input id='Name' type='text'
class='task_page_text_content' value='Projektmanagment'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Arbeit</div>
</td>
<td><input id='Arbeit' type='text'
class='task_page_text_content' value='10.0'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Startzeit</div>
</td>
<td><input id='Startzeit' type='text'
class='task_page_text_content' value='02.10.2013'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Endzeit</div>
</td>
<td><input id='Endzeit' type='text'
class='task_page_text_content' value='17.10.2013'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Einschrenkung</div>
</td>
<td><input id='Einschrenkung' type='text'
class='task_page_text_content' value='none'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Art</div>
</td>
<td><input id='Art' type='text'
class='task_page_text_content' value='work'/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Kommentar</div>
</td>
<td>*<**textarea **id='84978164_ta' title='Comment'
class='task_page_comment_container'></**textarea**>*</td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Vorgänger</div>
</td>
<td><input id='Vorgänger' type='text'
class='task_page_text_content' value=''/></td>
</tr>
<tr style='border: 0px;'>
<td style='border: 0px;'>
<div class='body_identifier'>Projekt</div>
</td>
<td><input id='Projekt' type='text'
class='task_page_text_content' value='00122'/></td>
</tr>
</table>
</div>
</div>
<br/>
** This was just a attempt **
<script type="text/javascript">
Wysiwyg.onModuleLoad(function() {
alert("HELLO WOLRD");
new WysiwygEditor({hookId:'84978164_ta'});
});
</script>
*************************
{{/html}}
{{/velocity}}
What should I do so that I can save the contents of the textarea?
About help I would be very grateful.
Yours sincerely,
Michael Born
Hi all,
i use Xwiki 5.2 and have problems with Panel Wizard / Page Layout.
I want to change the page layout from "right colum" to "both colum".
To do this, i choose "both colum" and save the new layout.
I see also that the left edge which makes some space for the "left panel".
However, if i again go back to menu "Panel Wizard" (or other menu points),
"right colum" is again active layout.
It seems that that Page layout is not really permanet stored.
Any help here.
regards
Stefan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problems-with-Panel-Wizard-Page-Layout-Xw…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Has anybody experienced (or, at least, evaluated) how Livetable behaves
with more than 100k objects?
I have to import historical data and I'm not sure will it work smoothly
(one of doubts is immediate like... type search after each typed letter
in column head).
Thanks!
Valdis
Hi developers/contributors,
We have quite a lot of applications on http://extensions.xwiki.org
However several haven't been updated for a very long time even though XWiki has made progress.
I can think of 3 areas where help would be appreciated:
* Some apps have wiki pages in XWiki Syntax 1.0 version. Those need to be upgraded to XWiki Syntax 2.1.
* Some apps don't register themselves in the Applications Panel. To change that just need to create a new page with the proper XObject. You can copy the Blog.ApplicationsPanelEntry page to this app's space and edit it.
* Some apps don't automatically register translations and force the user to manually add documentation resource bundle in the Administration. There's now a better way which is to add an object of type XWiki.TranslationDocumentClass
Example of app that would need an update:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Polls+Application
So who's willing to help? :)
Note that the best strategy is to ensure that the application has a git repo on https://github.com/organizations/xwiki-contrib (there should be a Source button on the app page on extensions.xwiki.org too). If not, then let me know by answering this email and I'll create it for you and give you access so that you can make changes there. FYI the full process is documented at http://contrib.xwiki.org and I can help you with that.
Thanks!
-Vincent
We've succeeded in having a wiki devroom for FOSDEM 2014 (https://fosdem.org/2014/)! :)
This means we have a full track for wikis and we're now organizing a Call for Participation.
I hope to see a lot of proposals from the XWiki community.
If you know other wiki communities please forward them this email so that they can participate. The more communities the better so that we can cross-pollinate.
Thanks
-Vincent Massol
Begin forwarded message:
> From: Quim Gil <qgil(a)wikimedia.org>
> Subject: [wikis-devroom] Call for participation
> Date: October 7, 2013 9:24:39 PM GMT+02:00
> To: wikis-devroom(a)lists.fosdem.org
>
> Wikis devroom - FOSDEM, Brussels, 1 & 2 February 2014
>
> CALL FOR PARTICIPATION
>
> IN SHORT
>
> We accept proposals for wiki related submissions. The formats accepted are 25min sessions or 5min lighting sessions. All proposals must be submitted via https://penta.fosdem.org/submission/
>
> Deadline: 30 November 2013
>
> Questions? Feedback? Willing to help?
> https://lists.fosdem.org/listinfo/wikis-devroom
>
>
> BACKGROUND
>
> Wikis are essential tools for online collaboration, open knowledge and free software. They are everywhere: from the mainstream Wikipedia to a myriad of public, academic and corporate knowledge bases and personal sites. And most of them are open source software.
>
> Wikis became popular thanks to the edit button allowing users to create and modify text-based web pages easily. Over the years wikis have become more powerful, handling more content types, allowing better look & feel, championing localization and integrating (sometimes) with other tools. The development continues, with hundreds of professional and volunteer contributors specializing in this area.
>
> There are also challenges: the competition from (mainly proprietary and corporate) social media and online office tools, keeping up with UX expectations from users, editors and sysadmins, compatibility across different wiki engines and other publishing tools, collaboration between wiki projects...
>
>
> SCOPE
>
> Wikis devroom is a place to showcase and discuss
>
> * new features, especially exploring areas beyond plain text editing
>
> * compatibility and integration with other tools and services
>
> * lessons learned from deployments, surveys, research...
>
> * cross-project collaboration
>
> We want to focus on sessions for a technical audience including savvy editors. Basic introductions for end users and long tutorials are out of scope.
>
>
> FORMAT
>
> One day, one room. Most of the schedule will be filled with sessions of about 25 minutes that have gone through a call for participation.
>
> We will have a WikiWiki Hour of lightning presentations (5 minutes each).
>
> We will organize a panel session with representation of key wiki projects - the specific topic to be decided as we confirm the participants.
>
>
> ORGANIZATION
>
> Quim Gil (MediaWiki), Vincent Massol (XWiki) and Jean-Marc Libs (Tiki).
> _______________________________________________
> wikis-devroom mailing list
> wikis-devroom(a)lists.fosdem.org
> https://lists.fosdem.org/listinfo/wikis-devroom
The XWiki development team is proud to announce the availability of XWiki 5.2.
This release comes with multiwiki support enabled by default: users
are able to create new wikis without the need to install additional
extensions. This is possible because the Workspace Application has
been integrated in XWiki Enterprise. We stopped the support for XWiki
Enterprise Manager as a consequence. Apart from this, the new release
brings a Solr-based live search (to replace the one based on Lucene)
and the ability to track active XWiki installs. The Distribution
Wizard has a new step to upgrade all wikis. Developers will be
interested by the new Wiki Stream framework which can already be used
to export large wikis in XAR format. A lot of bug fixes (135) and many
improvements (50) complete this release and make it worth trying.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52
Thanks
-The XWiki dev team
Situation: We are currently at XWiki X.Y and we want to upgrade to the latest
XWiki version.
Problem: Upgrading is complex :-(
Wish: I wish that XWiki has an "Check for update" button. If a new version
of XWiki is released, this button will report the newest XWiki version. A
new button "Upgrade Wiki" will become available. If the admin presses that
button...
1) A backup of the current Wiki(s) will be made
2) XWiki will compare the current Wiki X.Y with the version X.Y stored at
www.xwiki.org to detect any modifications (like XWiki.XWikiPreferences,
XWiki.WebPreferences, XWiki.XWikiAllGroup, XWiki.Admin, *.*Config,
XWiki.XWikiServerXwiki, or any other page that has been modified, such as
Main.WebHome, a modified Panel, etc.
3) Perform the upgrade of all the XWiki components
4) Merge any configuration files
All automaticly, just like updating an iPhone or Android App. I just click
on "Install" and the new version of my App will be downloaded/installed.
Wishful thinking?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Auto-upgrade-from-XWiki-X-Y-tp7587454.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
We are using xwiki enterprise version 5.1 for our production wiki. I need to
upgrade it into latest version such as 5.2. I couldn't get any useful link
for this up gradation. If anyone did this update, please let me know the
steps or links
Thanks in advance
Roni
Hi Users and Devs
I trust you that you can have a solution four my problem. In my velocity
page I have a link like this one :
<a href="$xwiki.getURL("MySpace.MyPAge", "export", "myaparmas")"
target="_blank"> Download my PDF </a>
This works pretty well and open the generated PDF in a new browser tab
, what I am looking for is is there a way to download directly the PDF as a
file when clicking on the link
Thanks
Can someone tell me what it would take (generally) to add code that would parse text for a specific pattern and convert it to a hyperlink? I'm fluent in PHP and C#, and know a little Java, but have done zero custom work with XWiki. I've created this type of parser for other systems.
What I would be parsing is this regex pattern:
\*\*([0-9])*\*\*
To create this link:
http://intranet.pridedallas.com/tickets_edit.php?iTicketID=$1
Keith Davis - (214) 906-5183
This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
www.pridedallas.com
I want to change the width of my panel on the RIGHT.
So far I have:
1) Created a new XWiki-page "XWiki.MyStyleSheetExtension"
2) Added a "StyleSheetExtension" object to that page
I have added this code (css):
#rightPanels
{
width: 400px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: -400px;
float: right;
}
Use this extension: "Always on this page" (will change this to "Always on
this wiki" when I get it all right)
Parse content: "No"
Caching policy: "default"
The only change I notice is the "margin-left" property, the panel on the
right now floats more to the left. But the panel has still a width of 220px
(not 400px), and the width of the "main content" is still the same (thus the
"main content" and my panel are now overlapping).
My guess is that it is all in the CSS and I need to add more sections to
make my panel wider and my "main content" smaller.
Problem is I have NO CLUE which things I need to add to the CSS!
Help! :-)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Change-width-of-panel-tp7587403.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
With Skin Extensions, I can include a js or css from resources filesystem:
$xwiki.jsrx.use('path/to/file.js')
... would include .../xwiki/resources/path/to/file.js
With XWiki#getSkinFile, I can retrieve URL of a skin file (from current
skin etc).
$xwiki.getSkinFile("path/to/the/image.png")
... would return an URL that might target
.../xwiki/skin/colibri/path/to/the/image.png
image:icon:accept
... would insert an image from silk icons (so, from
.../xwiki/resources/icons/silk/accept.png).
But, is there a clean way to get the URL targeting a file into /resources
filesystem ? (ie, get URL to a silk icon for example)
Thanks,
Jeremie
Thank you for the new Release, Marius!
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52RC1#HNe…
Is it possible to disable/enable this Home menu item by purpose besides changing vm files and attaching them to the skin page?
Use case is following:
Home Wiki (Main Wiki)
1. Workspaces:
- workspace 1
.....
- workspace N
2. Wiki farm:
- wiki farm 1
In the Workspaces I can guess, I'd need Home menu sometimes. Probably. But in most of cases, in the wiki-farm I'd prefer users would not even know about each other.
Are you going to make it configurable via UI?
Понедельник, 30 сентября 2013, 16:22 +03:00 от Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>:
>The XWiki development team is proud to announce the availability of
>XWiki 5.2 Release Candidate 1.
>This is mostly a stabilization release leading to XWiki 5.2 final and
>it brings a new "Home" top level menu (available when there is more
>than one wiki) and a new Distribution Wizard step to upgrade all
>wikis. The WikiStream framework has been improved and now can be used
>to export large wikis in XAR format. Besides this the new release
>includes 49 bug fixes and 16 small improvements.
>
>You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
>
>Make sure to review the release notes:
>http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52RC1
>
>Thanks
>-The XWiki dev team
>_______________________________________________
>users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry
Hi
I have a problem with a URL containing a parameter of the form
action_...=... The page does not load with this parameter. For an example
see the xwiki.org start page (
http://www.xwiki.org/xwiki/bin/view/Main/WebHome?action_xyz).
The parameter action_... seems to be used for something, but I couldn't
find anything on what exactly and on how I can work around that.
Unfortunately this URL is created by an external source (Facebook), so I
can't change it.
Can somebody point me in the right direction?
Thanks,
Edo
The XWiki development team is proud to announce the availability of
XWiki 5.2 Release Candidate 1.
This is mostly a stabilization release leading to XWiki 5.2 final and
it brings a new "Home" top level menu (available when there is more
than one wiki) and a new Distribution Wizard step to upgrade all
wikis. The WikiStream framework has been improved and now can be used
to export large wikis in XAR format. Besides this the new release
includes 49 bug fixes and 16 small improvements.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52RC1
Thanks
-The XWiki dev team
Hello,
I'm trying to use the Job Module [1] for my own needs.
I know some of its APIs are marked as unstable, but well I wanted to give
it a try.
I'm on a XWiki 4.5.2 instance currently.
So I created some dummy interface:
@Role
public interface ILoadingJob extends Job
{
}
A Job implementation:
@Component
@Named(LoadingJob.JOBTYPE)
public class LoadingJob extends AbstractJob<DefaultRequest> implements
ILoadingJob, Initializable
{
public static final String JOBTYPE = "mailarchivejob";
// ...
}
In debug mode, I run the following:
this.componentManager.getComponentDescriptorList(org.xwiki.job.Job.class)
It returns:
[implementation = [org.xwiki.contrib.mailarchive.internal.LoadingJob],
instantiation = [PER_LOOKUP], implementation =
[org.xwiki.extension.job.internal.UpgradePlanJob], ... ]
So it seems OK.
I have the following code to create and execute my Job:
DefaultRequest request = new DefaultRequest();
request.setId("test");
request.setInteractive(false);
// ... other properties set
LoadingJob job = (LoadingJob)
jobManager.executeJob("mailarchivejob", request);
But this code fails with following stack trace:
org.xwiki.job.JobException: Failed to lookup any Job for role hint
[mailarchivejob]
at
org.xwiki.job.internal.DefaultJobManager.createJob(DefaultJobManager.java:185)
at
org.xwiki.job.internal.DefaultJobManager.addJob(DefaultJobManager.java:208)
at
org.xwiki.job.internal.DefaultJobManager.executeJob(DefaultJobManager.java:194)
at
org.xwiki.contrib.mailarchive.internal.MailArchiveScriptService.createLoadingJob(MailArchiveScriptService.java:112)
at
org.xwiki.contrib.mailarchive.internal.MailArchiveScriptService.load(MailArchiveScriptService.java:94)
[...]
Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find
descriptor for the component [role = [interface org.xwiki.job.Job] hint =
[mailarchivejob]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:355)
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)
at
org.xwiki.job.internal.DefaultJobManager.createJob(DefaultJobManager.java:183)
[...]
I also tried to manually register my custom Job component, in the
initialize() of a side component (I checked that this code got executed
previously to job creation), but with no different result:
// Register custom job
this.componentManager.registerComponent(this.componentManager.getComponentDescriptor(Job.class,
"mailarchivejob"));
Do you see something wrong in my approach ?
Thanks,
Jeremie
I tried to write f(x) and got f followed by a pretty image of a red x.
My guess is that there's a help page showing these replacements and
how to avoid them, but I couldn't find it with a quick search. Where
should I look?
Thanks,
Todd