Author: solomax
Date: Wed Jun 6 06:05:14 2012
New Revision: 1346743
URL: http://svn.apache.org/viewvc?rev=1346743&view=rev
Log:
OPENMEETINGS-313 errors are documented
Added:
incubator/openmeetings/trunk/singlewebapp/docs/ErrorsTable.html
incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/errortable.xsl
Modified:
incubator/openmeetings/trunk/singlewebapp/build.xml
incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/project.xml
Modified: incubator/openmeetings/trunk/singlewebapp/build.xml
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1346743&r1=1346742&r2=1346743&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/build.xml (original)
+++ incubator/openmeetings/trunk/singlewebapp/build.xml Wed Jun 6 06:05:14 2012
@@ -546,6 +546,7 @@
<patternset refid="css" />
</fileset>
</copy>
+ <xslt in="WebContent/languages/errorvalues.xml"
out="${docs.dest}/ErrorsTable.html"
style="${docs.src}/stylesheets/errortable.xsl" />
</target>
<target name="build.only.webservice.doc" depends="anakia">
Added: incubator/openmeetings/trunk/singlewebapp/docs/ErrorsTable.html
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/ErrorsTable.html?rev=1346743&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/ErrorsTable.html (added)
+++ incubator/openmeetings/trunk/singlewebapp/docs/ErrorsTable.html Wed Jun 6
06:05:14 2012
@@ -0,0 +1,231 @@
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Errors Table</title>
+</head>
+<body>
+<h3>The table of OM errors</h3>
+<table>
+<tr>
+<th>Code</th><th>Type</th><th>Description</th>
+</tr>
+
+<tr>
+<td>-1</td><td>Error</td><td>Unknown error. Please report this to the
administrator.</td>
+</tr>
+
+<tr>
+<td>-2</td><td>Error</td><td>Please enter either an email address or a user
name</td>
+</tr>
+
+<tr>
+<td>-3</td><td>Error</td><td>There is no user connected to this username</td>
+</tr>
+
+<tr>
+<td>-4</td><td>Message</td><td>The email containing a special link has been
sent to your email address</td>
+</tr>
+
+<tr>
+<td>-5</td><td>Error</td><td>No user found</td>
+</tr>
+
+<tr>
+<td>-6</td><td>Error</td><td>The passwords you entered weren't identical</td>
+</tr>
+
+<tr>
+<td>-7</td><td>Error</td><td>Password and or username too short, required
minimum length for user name / password are: </td>
+</tr>
+
+<tr>
+<td>-8</td><td>Message</td><td>Password set. You can now login.</td>
+</tr>
+
+<tr>
+<td>-9</td><td>Error</td><td>No such email address was found. Make sure you
entered the same email address you used to create your account.</td>
+</tr>
+
+<tr>
+<td>-10</td><td>Error</td><td>Username not found</td>
+</tr>
+
+<tr>
+<td>-11</td><td>Error</td><td>Invalid password</td>
+</tr>
+
+<tr>
+<td>-12</td><td>Message</td><td>Successfully logged out</td>
+</tr>
+
+<tr>
+<td>-13</td><td>Error</td><td>Password and or login is too short</td>
+</tr>
+
+<tr>
+<td>-14</td><td>Error</td><td>Registration disabled</td>
+</tr>
+
+<tr>
+<td>-15</td><td>Error</td><td>The username is already used</td>
+</tr>
+
+<tr>
+<td>-16</td><td>Error</td><td>System error please contact the
administrator</td>
+</tr>
+
+<tr>
+<td>-17</td><td>Error</td><td>The mail address is already registered</td>
+</tr>
+
+<tr>
+<td>-18</td><td>Error</td><td>Your account has been created. You can now
login.</td>
+</tr>
+
+<tr>
+<td>-19</td><td>Error</td><td>Invalid email address</td>
+</tr>
+
+<tr>
+<td>-20</td><td>Error</td><td>Duplicate file name, please enter another</td>
+</tr>
+
+<tr>
+<td>-21</td><td>Error</td><td>File name too short</td>
+</tr>
+
+<tr>
+<td>-22</td><td>Error</td><td>Could not save the address</td>
+</tr>
+
+<tr>
+<td>-23</td><td>Message</td><td>User added but you need to assign this user to
an usergroup, otherwise they won't be able to log in</td>
+</tr>
+
+<tr>
+<td>-24</td><td>Error</td><td>No field found for the ID</td>
+</tr>
+
+<tr>
+<td>-25</td><td>Error</td><td>No label found</td>
+</tr>
+
+<tr>
+<td>-26</td><td>Error</td><td>Admin authorization required</td>
+</tr>
+
+<tr>
+<td>-27</td><td>Error</td><td>Invalid label ID</td>
+</tr>
+
+<tr>
+<td>-28</td><td>Message</td><td>You have deleted the label</td>
+</tr>
+
+<tr>
+<td>-29</td><td>Error</td><td>Invalid label ID</td>
+</tr>
+
+<tr>
+<td>-30</td><td>Message</td><td>This room is full</td>
+</tr>
+
+<tr>
+<td>-31</td><td>Error</td><td>No invitation available for this invitation
code</td>
+</tr>
+
+<tr>
+<td>-32</td><td>Error</td><td>This invitation was already used</td>
+</tr>
+
+<tr>
+<td>-33</td><td>Error</td><td>The invitation code is invalid</td>
+</tr>
+
+<tr>
+<td>-34</td><td>Error</td><td>Invalid password</td>
+</tr>
+
+<tr>
+<td>-35</td><td>Error</td><td>This user is already a member of this
usergroup</td>
+</tr>
+
+<tr>
+<td>-36</td><td>Error</td><td>This method needs an adminstration account to be
invoked</td>
+</tr>
+
+<tr>
+<td>-37</td><td>Error</td><td>There was no session associated with this ID</td>
+</tr>
+
+<tr>
+<td>-38</td><td>Error</td><td>You cannot delete your own user</td>
+</tr>
+
+<tr>
+<td>-39</td><td>Error</td><td>This is an administrator or moderator account.
You can only edit this account through the administration panel.</td>
+</tr>
+
+<tr>
+<td>-40</td><td>Message</td><td>You have successfully signed up. An email with
a verification code will be sent to your mailbox.</td>
+</tr>
+
+<tr>
+<td>-41</td><td>Error</td><td>Your account is not activated. Please use the
link in the email you received during registration.</td>
+</tr>
+
+<tr>
+<td>-42</td><td>Error</td><td>This session hash has already been used</td>
+</tr>
+
+<tr>
+<td>-43</td><td>Error</td><td>You have to enter your password again to auto
create the SIP data</td>
+</tr>
+
+<tr>
+<td>-44</td><td>Error</td><td>This email is already used by another user.</td>
+</tr>
+
+<tr>
+<td>-45</td><td>Error</td><td>This user is already in your contact list or has
received an invitation to your contact list that is not answered yet.</td>
+</tr>
+
+<tr>
+<td>-46</td><td>Error</td><td>The user is already denied.</td>
+</tr>
+
+<tr>
+<td>-47</td><td>Error</td><td>The user is already approved.</td>
+</tr>
+
+<tr>
+<td>-48</td><td>Error</td><td>This user contact hash is invalid.</td>
+</tr>
+
+<tr>
+<td>-49</td><td>Error</td><td>There is no such contact.</td>
+</tr>
+
+<tr>
+<td>-50</td><td>Error</td><td>You invitation code is not valid, the code is
only valid during this specific date and time:</td>
+</tr>
+
+<tr>
+<td>-51</td><td>Error</td><td>Please enter a password</td>
+</tr>
+
+<tr>
+<td>-52</td><td>Error</td><td>You need an account with user level user,
moderator or admin</td>
+</tr>
+
+<tr>
+<td>-53</td><td>Error</td><td>Please enter email</td>
+</tr>
+
+<tr>
+<td>-54</td><td>Error</td><td>You don't have the right to give yourself or
others exclusive audio. You need to apply for the right from the moderator or
ask the moderator to give you exclusive audio.</td>
+</tr>
+
+</table>
+</body>
+</html>
Added:
incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/errortable.xsl
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/errortable.xsl?rev=1346743&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/errortable.xsl
(added)
+++ incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/errortable.xsl
Wed Jun 6 06:05:14 2012
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="html"/>
+
+ <xsl:template match="ROOT">
+<html>
+ <head><title>Errors Table</title></head>
+ <body>
+ <h3>The table of OM errors</h3>
+ <table>
+ <tr>
+ <th>Code</th>
+ <th>Type</th>
+ <th>Description</th>
+ </tr>
+ <xsl:apply-templates/>
+ </table>
+ </body>
+</html>
+ </xsl:template>
+
+ <xsl:template match="row">
+ <tr>
+ <td>-<xsl:value-of
select="field[@name='errorvalues_id']"/></td>
+ <td>
+ <xsl:variable name="typeId"
select="field[@name='errortype_id']"/>
+ <xsl:variable name="x">
+ <xsl:choose>
+ <xsl:when
test="$typeId='1'">322</xsl:when>
+
<xsl:otherwise>323</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:value-of
select="document('../../WebContent/languages/english.xml')/language/string[@id=$x]/value"
/>
+ </td>
+ <td>
+ <xsl:variable name="descId"
select="field[@name='fieldvalues_id']"/>
+ <xsl:value-of
select="document('../../WebContent/languages/english.xml')/language/string[@id=$descId]/value"
/>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
Modified:
incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/project.xml
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/project.xml?rev=1346743&r1=1346742&r2=1346743&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/project.xml
(original)
+++ incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/project.xml Wed
Jun 6 06:05:14 2012
@@ -42,6 +42,7 @@
<item name="REST API Sample" href="/RestAPISample.html" />
<item name="Ldap and ADS" href="/LdapAndADS.html" />
<item name="VoIP and SIP" href="/voip-sip-integration.html"
/>
+ <item name="Errors table" href="/ErrorsTable.html" />
</menu>
<menu name="Plugins">