Page MenuHomeDevCentral

D3142.id8015.diff
No OneTemporary

D3142.id8015.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -10,3 +10,4 @@
- forms directories, by application
- join/: forms for join.nasqueron.org
+ - requests/: general forms to request something
diff --git a/requests/agora-account.xml b/requests/agora-account.xml
new file mode 100644
--- /dev/null
+++ b/requests/agora-account.xml
@@ -0,0 +1,209 @@
+<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
+ xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
+ xmlns:map="http://www.w3.org/2005/xpath-functions/map"
+ xmlns:array="http://www.w3.org/2005/xpath-functions/array"
+ xmlns:math="http://www.w3.org/2005/xpath-functions/math"
+ xmlns:exf="http://www.exforms.org/exf/1-0"
+ xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
+ xmlns:saxon="http://saxon.sf.net/"
+ xmlns:sql="http://orbeon.org/oxf/xml/sql"
+ xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
+ xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
+ <xh:head>
+ <xh:title>Nasqueron requests :: Agora :: New account</xh:title>
+ <xf:model id="fr-form-model" xxf:expose-xpath-types="true" xxf:analysis.calculate="true">
+
+ <!-- Main instance -->
+ <xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all" xxf:index="id">
+ <form>
+ <section-mediawiki>
+ <grid-1>
+ <control-about-mediawiki/>
+ <control-username>dereckson</control-username>
+ <control-email/>
+ <control-realname/>
+ <control-reason>Requested by contributor.</control-reason>
+ </grid-1>
+ </section-mediawiki>
+ <section-notes>
+ <grid-2>
+ <control-about-notes/>
+ <control-comments/>
+ </grid-2>
+ </section-notes>
+ </form>
+ </xf:instance>
+
+ <!-- Bindings -->
+ <xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
+ <xf:bind id="section-mediawiki-bind" name="section-mediawiki" ref="section-mediawiki">
+ <xforms:bind xmlns:xforms="http://www.w3.org/2002/xforms" id="grid-1-bind" ref="grid-1"
+ name="grid-1">
+ <xf:bind id="control-username-bind" name="control-username" ref="control-username"
+ xxf:whitespace="trim"/>
+ <xf:bind id="control-realname-bind" ref="control-realname" name="control-realname"
+ xxf:whitespace="trim"/>
+ <xf:bind id="control-email-bind" ref="control-email" name="control-email"
+ type="xf:email"
+ xxf:whitespace="trim"/>
+ <xf:bind id="control-reason-bind" ref="control-reason" name="control-reason"/>
+ <xf:bind id="control-about-mediawiki-bind" ref="control-about-mediawiki"
+ name="control-about-mediawiki"/>
+ </xforms:bind>
+
+ </xf:bind>
+ <xf:bind id="section-notes-bind" ref="section-notes" name="section-notes">
+ <xf:bind id="grid-2-bind" ref="grid-2" name="grid-2">
+ <xf:bind id="control-comments-bind" ref="control-comments" name="control-comments"/>
+ <xf:bind id="control-about-notes-bind" ref="control-about-notes"
+ name="control-about-notes"/>
+ </xf:bind>
+ </xf:bind>
+ </xf:bind>
+
+ <!-- Metadata -->
+ <xf:instance id="fr-form-metadata" xxf:readonly="true" xxf:exclude-result-prefixes="#all">
+ <metadata>
+ <application-name>nasqueron-requests</application-name>
+ <form-name>agora-account</form-name>
+ <title xml:lang="en">Nasqueron requests :: Agora :: New account</title>
+ <description xml:lang="en" mediatype="text/html">&lt;div&gt;Use this form to request a new account on &lt;strong&gt;Agora&lt;/strong&gt;.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Agora is a Mediawiki instance and currently requires an account to contribute. While MediaWiki could accept anonymous contributions, it requires thorough anti-spam and human verification capabilities, for which it seems difficult to warranty privacy (think reCAPTCHA).&lt;/div&gt;</description>
+ <created-with-version>2022.1.202212310353 CE</created-with-version>
+ <updated-with-version>2022.1.202212310353 CE</updated-with-version>
+ <permissions>
+ <permission operations="create update -list"/>
+ <permission operations="read update delete list">
+ <user-role any-of="orbeon-admin"/>
+ </permission>
+ </permissions>
+ </metadata>
+ </xf:instance>
+
+ <!-- Attachments -->
+ <xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all">
+ <attachments/>
+ </xf:instance>
+
+ <!-- All form resources -->
+ <xf:instance xxf:readonly="true" id="fr-form-resources" xxf:exclude-result-prefixes="#all">
+ <resources>
+ <resource xml:lang="en">
+ <control-about-notes>
+ <text xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
+ xmlns:p="http://www.orbeon.com/oxf/pipeline"
+ xmlns:xbl="http://www.w3.org/ns/xbl">&lt;div&gt;This section is private and won't be copied to MediaWiki software.&lt;/div&gt;
+&lt;div&gt; &lt;/div&gt;
+&lt;div&gt;It allows to let us any comment you wish. This is optional.&lt;/div&gt;</text>
+ </control-about-notes>
+ <control-comments>
+ <label>Comments</label>
+ <hint/>
+ </control-comments>
+ <control-about-mediawiki>
+ <text xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
+ xmlns:p="http://www.orbeon.com/oxf/pipeline"
+ xmlns:xbl="http://www.w3.org/ns/xbl">&lt;div&gt;This section is a copy of the form MediaWiki provides.&lt;br /&gt;&lt;br /&gt;All the information submitted will be passed through to this form.&lt;/div&gt;</text>
+ </control-about-mediawiki>
+ <section-mediawiki>
+ <label>MediaWiki account</label>
+ </section-mediawiki>
+ <section-notes>
+ <label>Notes</label>
+ </section-notes>
+ <control-username>
+ <label>Username</label>
+ <hint>Your username can have UTF-8 characters including spaces.</hint>
+ </control-username>
+ <control-email>
+ <label>E-mail address</label>
+ <hint>We'll create the account by asking MediaWiki to generate a temporary random password and send it to the specified email address.</hint>
+ </control-email>
+ <control-realname>
+ <label>Real name (optional)</label>
+ <hint>If provided, it may be used to give you attribution for your work.</hint>
+ </control-realname>
+ <control-reason>
+ <label>Reason we should log</label>
+ <hint>MediaWiki asks us "Why are you creating another account?". You can edit the answer we give, it will be publicly logged in the user creation log. For example, you can explain why you wish to contribute.</hint>
+ </control-reason>
+ </resource>
+ </resources>
+ </xf:instance>
+ </xf:model>
+ </xh:head>
+ <xh:body>
+ <fr:view>
+ <fr:body xmlns:xbl="http://www.w3.org/ns/xbl" xmlns:p="http://www.orbeon.com/oxf/pipeline"
+ xmlns:oxf="http://www.orbeon.com/oxf/processors">
+ <fr:section id="section-mediawiki-section" bind="section-mediawiki-bind">
+ <xf:label ref="$form-resources/section-mediawiki/label"/>
+ <fr:grid id="grid-1-grid" bind="grid-1-bind">
+ <fr:c x="1" y="1" w="12">
+ <fr:explanation xmlns:xxbl="http://orbeon.org/oxf/xml/xbl" id="control-about-mediawiki-control"
+ bind="control-about-mediawiki-bind">
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ <fr:text ref="$form-resources/control-about-mediawiki/text" mediatype="text/html"/>
+ </fr:explanation>
+ </fr:c>
+ <fr:c y="2" x="1" w="6">
+ <xf:input id="control-username-control" bind="control-username-bind"
+ class="fr-summary fr-search">
+ <xf:label ref="$form-resources/control-username/label"/>
+ <xf:hint ref="$form-resources/control-username/hint" mediatype="text/html"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:input>
+ </fr:c>
+ <fr:c y="2" x="7" w="6">
+ <xf:input id="control-email-control" bind="control-email-bind"
+ class="fr-summary fr-search">
+ <xf:label ref="$form-resources/control-email/label"/>
+ <xf:hint ref="$form-resources/control-email/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:input>
+ </fr:c>
+ <fr:c x="1" y="3" w="6">
+ <xf:input id="control-realname-control" bind="control-realname-bind" class="fr-search">
+ <xf:label ref="$form-resources/control-realname/label"/>
+ <xf:hint ref="$form-resources/control-realname/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:input>
+ </fr:c>
+ <fr:c x="7" y="3" w="6">
+ <xf:textarea id="control-reason-control" bind="control-reason-bind" class="fr-search">
+ <xf:label ref="$form-resources/control-reason/label"/>
+ <xf:hint ref="$form-resources/control-reason/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:textarea>
+ </fr:c>
+ </fr:grid>
+ </fr:section>
+ <fr:section id="section-notes-section" bind="section-notes-bind">
+ <xf:label ref="$form-resources/section-notes/label"/>
+ <fr:grid id="grid-2-grid" bind="grid-2-bind">
+ <fr:c x="1" y="1" w="12">
+ <fr:explanation xmlns:xxbl="http://orbeon.org/oxf/xml/xbl" id="control-about-notes-control"
+ bind="control-about-notes-bind"
+ class="fr-search">
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ <fr:text ref="$form-resources/control-about-notes/text" mediatype="text/html"/>
+ </fr:explanation>
+ </fr:c>
+ <fr:c x="1" y="2" w="6">
+ <xf:textarea id="control-comments-control" bind="control-comments-bind">
+ <xf:label ref="$form-resources/control-comments/label"/>
+ <xf:hint ref="$form-resources/control-comments/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:textarea>
+ </fr:c>
+ <fr:c x="7" y="2" w="6"/>
+ </fr:grid>
+ </fr:section>
+ </fr:body>
+ </fr:view>
+ </xh:body>
+</xh:html>

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 26, 15:35 (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2216211
Default Alt Text
D3142.id8015.diff (13 KB)

Event Timeline