Merge branch 'notnull' of AnarchyPlanet/dox into master
This commit is contained in:
commit
cc13668598
19
README.md
Normal file
19
README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
dox
|
||||||
|
===
|
||||||
|
|
||||||
|
Intro
|
||||||
|
-----
|
||||||
|
|
||||||
|
The purpose of dox is to create a git repository for the documentation
|
||||||
|
we have created from projex. The goals are:
|
||||||
|
|
||||||
|
1. download each etherpad in the projex pad
|
||||||
|
2. org-ify each pad
|
||||||
|
3. write a pandoc script to convert each to html
|
||||||
|
4. write a pandoc script to convert this to markdown
|
||||||
|
|
||||||
|
for now, the file structure should be:
|
||||||
|
|
||||||
|
\`\`\` . ├── css ├── html ├── md ├── org └── scripts README.md \`\`\`
|
||||||
|
|
||||||
|
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-README>
|
@ -1,110 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<title>Anarchy Planet IRC</title>
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
|
||||||
</head>
|
|
||||||
<body id="container">
|
|
||||||
<h1 id="anarchy-planet-irc-how-to">Anarchy Planet IRC how to</h1>
|
|
||||||
<h2 id="how-to-connect">How to Connect</h2>
|
|
||||||
<h3 id="web">web</h3>
|
|
||||||
<p><a href="https://irc.anarchyplanet.org" class="uri">https://irc.anarchyplanet.org</a></p>
|
|
||||||
<h3 id="using-a-client">using a client</h3>
|
|
||||||
<p>``` irc.anarchyplanet.org port 6667 irc.anarchyplanet.org port 6697 (SSL) km3jy7nrj3e2wiju.onion port 6667 || 6697 ```</p>
|
|
||||||
<h3 id="using-tor">using tor</h3>
|
|
||||||
<p><a href="https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor" class="uri">https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor</a></p>
|
|
||||||
<h2 id="basic-commands">Basic Commands</h2>
|
|
||||||
<p><code>/nick nickname</code> Changes your nick.</p>
|
|
||||||
<p><code>/list</code> Lists all channels on the current network.</p>
|
|
||||||
<p><code>/join #channel</code> Joins the specified channel.</p>
|
|
||||||
<p><code>/part #channel</code> Leaves the specified channel.</p>
|
|
||||||
<p><code>/quit [message]</code> Disconnects from current server with optional leaving message.</p>
|
|
||||||
<p><code>/names #channel</code> Shows the nicks of all users on #channel.</p>
|
|
||||||
<p><code>/msg nickname message</code> Sends a private message to a user.</p>
|
|
||||||
<p><code>/query nickname message</code> Sends a private message to a user and opens a private chat window.</p>
|
|
||||||
<p><code>/me action</code> Prints "yourname action"</p>
|
|
||||||
<p><code>/notice nickname message</code> Sends a notice to the specified user. Like a /msg, but usually makes a sound.</p>
|
|
||||||
<p><code>/whois nickname</code> Shows information about the specified user. This action is not visible to the specified user.</p>
|
|
||||||
<p><code>/whowas nickname</code> Shows information about a user who has quit.</p>
|
|
||||||
<h2 id="managing-nicknames-nickserv">Managing Nicknames (Nickserv)</h2>
|
|
||||||
<p><code>/msg nickserv register password [email]</code> Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional).</p>
|
|
||||||
<p><code>/msg nickserv identify password</code> Identifies your nick to NickServ using the password you set.</p>
|
|
||||||
<p><code>/msg nickserv recover nickname password</code> Kills (forcibly disconnects) someone who has your registered nick.</p>
|
|
||||||
<p><code>/msg nickserv ghost nickname password</code> Terminates a "ghost" IRC session that's using your nickname.</p>
|
|
||||||
<p><code>/msg nickserv set password yournewpassword</code> Changes your password. NOTE: Under no circumstances should you change your nick to the letter O followed by 8 digit</p>
|
|
||||||
<h2 id="managing-channels-chanserv">Managing Channels (ChanServ)</h2>
|
|
||||||
<p><code>/msg chanserv register #channel</code> Registers the current channel to you with ChanServ</p>
|
|
||||||
<p><code>/msg chanserv set #channel mlock modes</code> Locks the channel's modes. To unlock all of a channel's modes, use <code>/msg chanserv set #channel mlock +</code></p>
|
|
||||||
<h2 id="moderating-channels">Moderating Channels</h2>
|
|
||||||
<p><code>/kick nickname!userid@hostname</code> removes user from channel, but does not ban them. They are able to join immediately.</p>
|
|
||||||
<p><code>/ban nickname!userid@hostname</code> bans user from channel, but does not kick them. They are prevented from speaking but can still see the channel.</p>
|
|
||||||
<p><code>/kickban nickname!userid@hostname</code></p>
|
|
||||||
<p>Use <code>/whois</code>, <code>/whowas</code> or <code>/who</code> to find the information necessary for a ban. note: <code>*</code> is a wildcard and can replace nickname, userid, parts of nickname or userid, hostname or a segment of a hostname.</p>
|
|
||||||
<p><code>/mode #channel +b nickname!userid@hostname</code> the same as /ban</p>
|
|
||||||
<h3 id="ban-examples">Ban Examples:</h3>
|
|
||||||
<p><code>joe!*@*</code> Will prevent anyone with the nick joe from joining.</p>
|
|
||||||
<p><code>*myg0t*!*</code> Will prevent anyone whose nick contains myg0t from joining.</p>
|
|
||||||
<p><code>mark!*elc@*</code> Will prevent anyone with the nick mark and the userid elc from joining.</p>
|
|
||||||
<p><code>*!*@c-123-24-76-213.ga.isp.net</code> Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining.</p>
|
|
||||||
<p><code>*!*@*</code> Bans everyone. Don't do that.</p>
|
|
||||||
<h2 id="advanced-commands-for-the-uberl337">Advanced Commands for the uberl337</h2>
|
|
||||||
<h3 id="advanced-nickserv-commands">Advanced NickServ commands</h3>
|
|
||||||
<ol>
|
|
||||||
<li><p>User modes</p>
|
|
||||||
<p><code>/mode nickname +/-attributes [data]</code></p>
|
|
||||||
<p>Setting people's modes (for current channel only). To set a user's mode outside of a channel, use <code>/mode nickname #channel +/- attributes</code></p>
|
|
||||||
<p>Some of the more important ones are: <code>+q</code> User is owner of the current channel (prefix ~ or @) <code>+a</code> User is an admin (SOP) on the current channel (prefix & or @). <code>+o</code> User is an operator (AOP) on the current channel (prefix @). <code>+h</code> User is a half-op on the current channel (prefix %). <code>+v</code> User has voice on the current channel (prefix +).</p>
|
|
||||||
<p>For a complete list of user modes visit <a href="https://wiki.inspircd.org/User_Modes" class="uri">https://wiki.inspircd.org/User_Modes</a></p></li>
|
|
||||||
</ol>
|
|
||||||
<h3 id="advanced-chanserv-commands">Advanced Chanserv commands</h3>
|
|
||||||
<p><code>/msg chanserv set #channel secure [on|off]</code> Keeps everyone except aops, sops, and the founder from becoming ops.</p>
|
|
||||||
<p><code>/msg chanserv set #channel keeptopic [on|off]</code> Maintains the topic even if everyone leaves.</p>
|
|
||||||
<p><code>/msg chanserv set #channel enforce [on|off]</code> Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced.</p>
|
|
||||||
<p><code>/msg chanserv set #channel leaveops [on|off]</code> Whether or not to allow the first person who join the channel to get ops.</p>
|
|
||||||
<p><code>/msg chanserv drop #channel [dropcode]</code> Un-registers the current channel to you with ChanServ.</p>
|
|
||||||
<p><code>/msg chanserv set #channel founder [nickname]</code> Sets the current channel's founder.</p>
|
|
||||||
<p><code>/msg chanserv set #channel desc [description]</code> Changes the current channel's description.</p>
|
|
||||||
<p><code>/msg chanserv set #channel url [address]</code> Associates a URL with the channel.</p>
|
|
||||||
<p><code>/msg chanserv set #channel [email@address]</code> Associates an email address with the channel.</p>
|
|
||||||
<ol>
|
|
||||||
<li><p>Channel modes</p>
|
|
||||||
<p><code>/mode #channel +/-attribute [data]</code></p>
|
|
||||||
<p>For a full list of Inspircd's channel modes visit <a href="https://wiki.inspircd.org/Channel_Modes" class="uri">https://wiki.inspircd.org/Channel_Modes</a></p></li>
|
|
||||||
</ol>
|
|
||||||
<h3 id="access-lists">Access lists</h3>
|
|
||||||
<p><code>/msg chanserv access #channel add [nickname] [level]</code> Adds nickname to the channel's access list at the specified level.</p>
|
|
||||||
<p><code>/msg chanserv access channel del [nickname]</code> Removes nickname from the channel's access list.</p>
|
|
||||||
<p><code>/msg chanserv access #channel list</code> Displays the channel's access list.</p>
|
|
||||||
<p><code>/msg chanserv access #channel count</code> Displays how many entries are in the channel's access list.</p>
|
|
||||||
<h3 id="access-levels">Access levels</h3>
|
|
||||||
<p>These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc.</p>
|
|
||||||
<p>Founder Full access to ChanServ functions, automatic opping upon entering channel. 100+ Makes the person an SOP, automatic opping upon entering channel. 50 Makes the parson an AOP, automatic opping upon entering channel. 40 Automatic half-opping. 30 Automatic voicing. 0 No special privileges. -1 May not be opped. -100 May not join the channel. Any nick not on the access list has an access level of 0.</p>
|
|
||||||
<h3 id="aops">AOPs</h3>
|
|
||||||
<p>Are automatically ops and can give themselves ops. Can give/take op/halfop/voice to/from other channel members. Can unban themselves. Receive memos sent to the whole channel. Can invite themselves to the channel.</p>
|
|
||||||
<h3 id="sops">SOPs</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Can do everything AOPs can.</li>
|
|
||||||
<li>Can give and take AOP privileges.</li>
|
|
||||||
<li>Receive memos sent to the channel's SOPs.</li>
|
|
||||||
<li>Can add (but not remove) AKICKs.</li>
|
|
||||||
</ul>
|
|
||||||
<h2 id="viewing-and-setting-privileges">Viewing and setting privileges</h2>
|
|
||||||
<h3 id="viewing-aop-and-sop-lists">Viewing AOP and SOP lists</h3>
|
|
||||||
<p><code>/msg chanserv aop #channel list</code></p>
|
|
||||||
<p><code>/msg chanserv sop #channel list</code></p>
|
|
||||||
<p>Add an AOP or SOP <code>/msg chanserv [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list]</code></p>
|
|
||||||
<h3 id="akicks">AKICKs</h3>
|
|
||||||
<p>People on the AKICK list are automatically kicked and banned when they enter the channel. Bans made as a result of AKICK must be removed manually.</p>
|
|
||||||
<p><code>/msg chanserv akick #channel add host [reason]</code> Adds host to #channel's AKICK list [for reason].</p>
|
|
||||||
<p><code>/msg chanserv akick #channel del host</code> Removes host from the AKICK list.</p>
|
|
||||||
<p><code>/msg chanserv akick #channel list</code> <code>/msg chanserv akick #channel view</code> Displays the AKICK list.</p>
|
|
||||||
<h3 id="color-codes">Color codes</h3>
|
|
||||||
<p>It's possible to color your text in irc. in most clients you can use control c then foreground,background (background is optional). examples: red text <sup>c4</sup>. black text on a blue background <sup>c1</sup>,2. here's a full list of the color codes:</p>
|
|
||||||
<p>``` Number Name 00 white 01 black 02 blue (navy) 03 green 04 red 05 brown (maroon) 06 purple 07 orange (olive) 08 yellow 09 light green (lime) 10 teal (a green/blue cyan) 11 light cyan (cyan / aqua) 12 light blue (royal) 13 pink (light purple / fuchsia) 14 grey 15 light grey (silver) ```</p>
|
|
||||||
<p>Edit this guide: <a href="https://irc.anarchyplanet.org/pad/p/dox-irc-how-to" class="uri">https://irc.anarchyplanet.org/pad/p/dox-irc-how-to</a></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
576
html/projex.html
Normal file
576
html/projex.html
Normal file
@ -0,0 +1,576 @@
|
|||||||
|
|
||||||
|
<!doctype html><html><title>anarchy planet</title><script>
|
||||||
|
/*
|
||||||
|
|@licstart The following is the entire license notice for the
|
||||||
|
JavaScript code in this page.|
|
||||||
|
|
||||||
|
Copyright 2011 Peter Martischka, Primary Technology.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
|@licend The above is the entire license notice
|
||||||
|
for the JavaScript code in this page.|
|
||||||
|
*/
|
||||||
|
</script><meta charset="utf-8"><meta name="robots" content="noindex, nofollow"><meta name="referrer" content="no-referrer"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"><link rel="shortcut icon" href="../favicon.ico"><link href="../static/css/pad.css" rel="stylesheet"><link href="../static/skins/no-skin/pad.css" rel="stylesheet"><style title="dynamicsyntax"></style><link rel="localizations" type="application/l10n+json" href="../locales.json" /><script type="text/javascript" src="../static/js/html10n.js"></script><script type="text/javascript" src="../static/js/l10n.js"></script>
|
||||||
|
<!-- head and body had been removed intentionally -->
|
||||||
|
<div id="editbar" class="toolbar" title="Toolbar (Alt F9)">
|
||||||
|
<div id="overlay">
|
||||||
|
<div id="overlay-inner"></div>
|
||||||
|
</div>
|
||||||
|
<ul class="menu_left" role="toolbar">
|
||||||
|
<li data-type="button" data-key="bold">
|
||||||
|
<a class="grouped-left" data-l10n-id="pad.toolbar.bold.title">
|
||||||
|
<button class=" buttonicon buttonicon-bold" data-l10n-id="pad.toolbar.bold.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="italic">
|
||||||
|
<a class="grouped-middle" data-l10n-id="pad.toolbar.italic.title">
|
||||||
|
<button class=" buttonicon buttonicon-italic" data-l10n-id="pad.toolbar.italic.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="underline">
|
||||||
|
<a class="grouped-middle" data-l10n-id="pad.toolbar.underline.title">
|
||||||
|
<button class=" buttonicon buttonicon-underline" data-l10n-id="pad.toolbar.underline.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="strikethrough">
|
||||||
|
<a class="grouped-right" data-l10n-id="pad.toolbar.strikethrough.title">
|
||||||
|
<button class=" buttonicon buttonicon-strikethrough" data-l10n-id="pad.toolbar.strikethrough.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator"></li>
|
||||||
|
<li data-type="button" data-key="insertorderedlist">
|
||||||
|
<a class="grouped-left" data-l10n-id="pad.toolbar.ol.title">
|
||||||
|
<button class=" buttonicon buttonicon-insertorderedlist" data-l10n-id="pad.toolbar.ol.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="insertunorderedlist">
|
||||||
|
<a class="grouped-middle" data-l10n-id="pad.toolbar.ul.title">
|
||||||
|
<button class=" buttonicon buttonicon-insertunorderedlist" data-l10n-id="pad.toolbar.ul.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="indent">
|
||||||
|
<a class="grouped-middle" data-l10n-id="pad.toolbar.indent.title">
|
||||||
|
<button class=" buttonicon buttonicon-indent" data-l10n-id="pad.toolbar.indent.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="outdent">
|
||||||
|
<a class="grouped-right" data-l10n-id="pad.toolbar.unindent.title">
|
||||||
|
<button class=" buttonicon buttonicon-outdent" data-l10n-id="pad.toolbar.unindent.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator"></li>
|
||||||
|
<li data-type="button" data-key="undo">
|
||||||
|
<a class="grouped-left" data-l10n-id="pad.toolbar.undo.title">
|
||||||
|
<button class=" buttonicon buttonicon-undo" data-l10n-id="pad.toolbar.undo.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="redo">
|
||||||
|
<a class="grouped-right" data-l10n-id="pad.toolbar.redo.title">
|
||||||
|
<button class=" buttonicon buttonicon-redo" data-l10n-id="pad.toolbar.redo.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator"></li>
|
||||||
|
<li data-type="button" data-key="clearauthorship">
|
||||||
|
<a class="" data-l10n-id="pad.toolbar.clearAuthorship.title">
|
||||||
|
<button class=" buttonicon buttonicon-clearauthorship" data-l10n-id="pad.toolbar.clearAuthorship.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="menu_right" role="toolbar">
|
||||||
|
<li data-type="button" data-key="import_export">
|
||||||
|
<a class="grouped-left" data-l10n-id="pad.toolbar.import_export.title">
|
||||||
|
<button class=" buttonicon buttonicon-import_export" data-l10n-id="pad.toolbar.import_export.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="showTimeSlider">
|
||||||
|
<a class="grouped-middle" data-l10n-id="pad.toolbar.timeslider.title">
|
||||||
|
<button class=" buttonicon buttonicon-history" data-l10n-id="pad.toolbar.timeslider.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="savedRevision">
|
||||||
|
<a class="grouped-right" data-l10n-id="pad.toolbar.savedRevision.title">
|
||||||
|
<button class=" buttonicon buttonicon-savedRevision" data-l10n-id="pad.toolbar.savedRevision.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator"></li>
|
||||||
|
<li data-type="button" data-key="settings">
|
||||||
|
<a class="grouped-left" data-l10n-id="pad.toolbar.settings.title">
|
||||||
|
<button class=" buttonicon buttonicon-settings" data-l10n-id="pad.toolbar.settings.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-type="button" data-key="embed">
|
||||||
|
<a class="grouped-right" data-l10n-id="pad.toolbar.embed.title">
|
||||||
|
<button class=" buttonicon buttonicon-embed" data-l10n-id="pad.toolbar.embed.title"></button>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="users">
|
||||||
|
<div id="connectionstatus"></div>
|
||||||
|
<div id="myuser">
|
||||||
|
<div id="mycolorpicker">
|
||||||
|
<div id="colorpicker"></div>
|
||||||
|
<button id="mycolorpickersave" data-l10n-id="pad.colorpicker.save"></button>
|
||||||
|
<button id="mycolorpickercancel" data-l10n-id="pad.colorpicker.cancel"></button>
|
||||||
|
<span id="mycolorpickerpreview" class="myswatchboxhoverable"></span>
|
||||||
|
</div>
|
||||||
|
<div id="myswatchbox">
|
||||||
|
<div id="myswatch"></div>
|
||||||
|
</div>
|
||||||
|
<div id="myusernameform">
|
||||||
|
<input type="text" id="myusernameedit" disabled="disabled" data-l10n-id="pad.userlist.entername">
|
||||||
|
</div>
|
||||||
|
<div id="mystatusform">
|
||||||
|
<input type="text" id="mystatusedit" disabled="disabled">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="otherusers" aria-role="document">
|
||||||
|
<div id="guestprompts"></div>
|
||||||
|
<table id="otheruserstable" cellspacing="0" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div id="nootherusers"></div>
|
||||||
|
</div>
|
||||||
|
<div id="userlistbuttonarea"></div>
|
||||||
|
</div>
|
||||||
|
<div id="editorcontainerbox" class="ep_themes ep_hide_referrer ep_extend_settings ep_adminpads">
|
||||||
|
<div id="editorcontainer" class="editorcontainer"></div>
|
||||||
|
<div id="editorloadingbox">
|
||||||
|
<div id="passwordRequired">
|
||||||
|
<p data-l10n-id="pad.passwordRequired">You need a password to access this pad</p>
|
||||||
|
<form class='passForm' method='POST'>
|
||||||
|
<input id='passwordinput' type='password' name='password'>
|
||||||
|
<input type='submit' value='Submit'>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div id="permissionDenied">
|
||||||
|
<p data-l10n-id="pad.permissionDenied">You do not have permission to access this pad</p>
|
||||||
|
</div>
|
||||||
|
<div id="wrongPassword">
|
||||||
|
<p data-l10n-id="pad.wrongPassword">Your password was wrong</p>
|
||||||
|
</div>
|
||||||
|
<div id="noCookie">
|
||||||
|
<p data-l10n-id="pad.noCookie">Cookie could not be found. Please allow cookies in your browser!</p>
|
||||||
|
</div>
|
||||||
|
<p data-l10n-id="pad.loading" id="loading">Loading...</p>
|
||||||
|
<noscript>
|
||||||
|
<strong>Sorry, you have to enable Javascript in order to use this.</strong>
|
||||||
|
</noscript>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="settings" class="popup">
|
||||||
|
<h1 data-l10n-id="pad.settings.padSettings"></h1>
|
||||||
|
<div class="column">
|
||||||
|
<h2 data-l10n-id="pad.settings.myView"></h2>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-stickychat" onClick="chat.stickToScreen();">
|
||||||
|
<label for="options-stickychat" data-l10n-id="pad.settings.stickychat"></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-chatandusers" onClick="chat.chatAndUsers();">
|
||||||
|
<label for="options-chatandusers" data-l10n-id="pad.settings.chatandusers"></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-colorscheck">
|
||||||
|
<label for="options-colorscheck" data-l10n-id="pad.settings.colorcheck"></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-linenoscheck" checked>
|
||||||
|
<label for="options-linenoscheck" data-l10n-id="pad.settings.linenocheck"></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-rtlcheck">
|
||||||
|
<label for="options-rtlcheck" data-l10n-id="pad.settings.rtlcheck"></label>
|
||||||
|
</p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<label for="viewfontmenu" data-l10n-id="pad.settings.fontType">Font type:</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<select id="viewfontmenu">
|
||||||
|
<option value="normal" data-l10n-id="pad.settings.fontType.normal"></option>
|
||||||
|
<option value="monospace" data-l10n-id="pad.settings.fontType.monospaced"></option>
|
||||||
|
<option value="montserrat" data-l10n-id="pad.settings.fontType.montserrat"></option>
|
||||||
|
<option value="opendyslexic" data-l10n-id="pad.settings.fontType.opendyslexic"></option>
|
||||||
|
<option value="comicsans" data-l10n-id="pad.settings.fontType.comicsans"></option>
|
||||||
|
<option value="georgia" data-l10n-id="pad.settings.fontType.georgia"></option>
|
||||||
|
<option value="impact" data-l10n-id="pad.settings.fontType.impact"></option>
|
||||||
|
<option value="lucida" data-l10n-id="pad.settings.fontType.lucida"></option>
|
||||||
|
<option value="lucidasans" data-l10n-id="pad.settings.fontType.lucidasans"></option>
|
||||||
|
<option value="palatino" data-l10n-id="pad.settings.fontType.palatino"></option>
|
||||||
|
<option value="robotomono" data-l10n-id="pad.settings.fontType.robotomono"></option>
|
||||||
|
<option value="tahoma" data-l10n-id="pad.settings.fontType.tahoma"></option>
|
||||||
|
<option value="timesnewroman" data-l10n-id="pad.settings.fontType.timesnewroman"></option>
|
||||||
|
<option value="trebuchet" data-l10n-id="pad.settings.fontType.trebuchet"></option>
|
||||||
|
<option value="verdana" data-l10n-id="pad.settings.fontType.verdana"></option>
|
||||||
|
<option value="symbol" data-l10n-id="pad.settings.fontType.symbol"></option>
|
||||||
|
<option value="webdings" data-l10n-id="pad.settings.fontType.webdings"></option>
|
||||||
|
<option value="wingdings" data-l10n-id="pad.settings.fontType.wingdings"></option>
|
||||||
|
<option value="sansserif" data-l10n-id="pad.settings.fontType.sansserif"></option>
|
||||||
|
<option value="serif" data-l10n-id="pad.settings.fontType.serif"></option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<label for="languagemenu" data-l10n-id="pad.settings.language">Language:</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<select id="languagemenu">
|
||||||
|
<option value="af">Afrikaans</option>
|
||||||
|
<option value="ar">العربية</option>
|
||||||
|
<option value="ast">asturianu</option>
|
||||||
|
<option value="az">azərbaycanca</option>
|
||||||
|
<option value="azb">تورکجه</option>
|
||||||
|
<option value="bcc">بلوچی مکرانی</option>
|
||||||
|
<option value="be-tarask">беларуская (тарашкевіца)</option>
|
||||||
|
<option value="bg">български</option>
|
||||||
|
<option value="bn">বাংলা</option>
|
||||||
|
<option value="br">brezhoneg</option>
|
||||||
|
<option value="bs">bosanski</option>
|
||||||
|
<option value="ca">català</option>
|
||||||
|
<option value="cs">česky</option>
|
||||||
|
<option value="da">dansk</option>
|
||||||
|
<option value="de">Deutsch</option>
|
||||||
|
<option value="diq">Zazaki</option>
|
||||||
|
<option value="dsb">dolnoserbski</option>
|
||||||
|
<option value="el">Ελληνικά</option>
|
||||||
|
<option value="en-gb">British English</option>
|
||||||
|
<option value="en">English</option>
|
||||||
|
<option value="eo">Esperanto</option>
|
||||||
|
<option value="es">español</option>
|
||||||
|
<option value="et">eesti</option>
|
||||||
|
<option value="eu">euskara</option>
|
||||||
|
<option value="fa">فارسی</option>
|
||||||
|
<option value="fi">suomi</option>
|
||||||
|
<option value="fo">føroyskt</option>
|
||||||
|
<option value="fr">français</option>
|
||||||
|
<option value="fy">Frysk</option>
|
||||||
|
<option value="gl">galego</option>
|
||||||
|
<option value="gu">ગુજરાતી</option>
|
||||||
|
<option value="he">עברית</option>
|
||||||
|
<option value="hi">हिन्दी</option>
|
||||||
|
<option value="hr">hrvatski</option>
|
||||||
|
<option value="hsb">hornjoserbsce</option>
|
||||||
|
<option value="hu">magyar</option>
|
||||||
|
<option value="hy">Հայերեն</option>
|
||||||
|
<option value="ia">interlingua</option>
|
||||||
|
<option value="is">íslenska</option>
|
||||||
|
<option value="it">italiano</option>
|
||||||
|
<option value="ja">日本語</option>
|
||||||
|
<option value="kab">Taqbaylit</option>
|
||||||
|
<option value="km">ភាសាខ្មែរ</option>
|
||||||
|
<option value="ko">한국어</option>
|
||||||
|
<option value="krc">къарачай-малкъар</option>
|
||||||
|
<option value="ksh">Ripoarisch</option>
|
||||||
|
<option value="ku-latn">Kurdî (latînî)</option>
|
||||||
|
<option value="lb">Lëtzebuergesch</option>
|
||||||
|
<option value="lt">lietuvių</option>
|
||||||
|
<option value="lv">latviešu</option>
|
||||||
|
<option value="map-bms">Basa Banyumasan</option>
|
||||||
|
<option value="mg">Malagasy</option>
|
||||||
|
<option value="mk">македонски</option>
|
||||||
|
<option value="ml">മലയാളം</option>
|
||||||
|
<option value="mn">монгол</option>
|
||||||
|
<option value="mnw">ဘာသာ မန်</option>
|
||||||
|
<option value="mr">मराठी</option>
|
||||||
|
<option value="ms">Bahasa Melayu</option>
|
||||||
|
<option value="nah">Nāhuatl</option>
|
||||||
|
<option value="nap">Nnapulitano</option>
|
||||||
|
<option value="nb">norsk (bokmål)</option>
|
||||||
|
<option value="nds">Plattdüütsch</option>
|
||||||
|
<option value="ne">नेपाली</option>
|
||||||
|
<option value="nl">Nederlands</option>
|
||||||
|
<option value="nn">norsk (nynorsk)</option>
|
||||||
|
<option value="oc">occitan</option>
|
||||||
|
<option value="os">Ирон</option>
|
||||||
|
<option value="pa">ਪੰਜਾਬੀ</option>
|
||||||
|
<option value="pl">polski</option>
|
||||||
|
<option value="pms">Piemontèis</option>
|
||||||
|
<option value="ps">پښتو</option>
|
||||||
|
<option value="pt-br">português do Brasil</option>
|
||||||
|
<option value="pt">português</option>
|
||||||
|
<option value="qqq">Message documentation</option>
|
||||||
|
<option value="ro">română</option>
|
||||||
|
<option value="ru">русский</option>
|
||||||
|
<option value="sco">Scots</option>
|
||||||
|
<option value="sd">سنڌي</option>
|
||||||
|
<option value="shn">လိၵ်ႈတႆး</option>
|
||||||
|
<option value="sk">slovenčina</option>
|
||||||
|
<option value="sl">slovenščina</option>
|
||||||
|
<option value="sq">shqip</option>
|
||||||
|
<option value="sr-ec">српски (ћирилица)</option>
|
||||||
|
<option value="sv">svenska</option>
|
||||||
|
<option value="ta">தமிழ்</option>
|
||||||
|
<option value="tcy">ತುಳು</option>
|
||||||
|
<option value="te">తెలుగు</option>
|
||||||
|
<option value="th">ไทย</option>
|
||||||
|
<option value="tr">Türkçe</option>
|
||||||
|
<option value="uk">українська</option>
|
||||||
|
<option value="vi">Tiếng Việt</option>
|
||||||
|
<option value="zh-hans">中文(简体)</option>
|
||||||
|
<option value="zh-hant">中文(繁體)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<label for="themesmenu">Theme:</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<select id="themesmenu" onchange="require('ep_etherpad-lite/static/js/pad_cookie').padcookie.setPref('themeName', this.options[this.selectedIndex].value);themes.init();">
|
||||||
|
<option value="normal">Normal</option>
|
||||||
|
<option value="highcontrast">High Contrast</option>
|
||||||
|
<option value="terminal">Terminal</option>
|
||||||
|
<option value="hacker">Hacker</option>
|
||||||
|
<option value="cybergal">Cybergal</option>
|
||||||
|
<option value="monokai">Monokai</option>
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="column">
|
||||||
|
<h2 data-l10n-id="pad.settings.globalView"></h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="import_export" class="popup">
|
||||||
|
<h1 data-l10n-id="pad.importExport.import_export"></h1>
|
||||||
|
<div class="column acl-write">
|
||||||
|
<h2 data-l10n-id="pad.importExport.import"></h2>
|
||||||
|
<div class="importmessage" id="importmessageabiword" data-l10n-id="pad.importExport.abiword.innerHTML"></div>
|
||||||
|
<br>
|
||||||
|
<form id="importform" method="post" action="" target="importiframe" enctype="multipart/form-data">
|
||||||
|
<div class="importformdiv" id="importformfilediv">
|
||||||
|
<input type="file" name="file" size="10" id="importfileinput">
|
||||||
|
<div class="importmessage" id="importmessagefail"></div>
|
||||||
|
</div>
|
||||||
|
<div id="import"></div>
|
||||||
|
<div class="importmessage" id="importmessagesuccess" data-l10n-id="pad.importExport.importSuccessful"></div>
|
||||||
|
<div class="importformdiv" id="importformsubmitdiv">
|
||||||
|
<span class="nowrap">
|
||||||
|
<input type="submit" name="submit" value="Import Now" disabled="disabled" id="importsubmitinput">
|
||||||
|
<div alt="" id="importstatusball" class="loadingAnimation" align="top"></div>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="column" id="exportColumn">
|
||||||
|
<h2 data-l10n-id="pad.importExport.export"></h2>
|
||||||
|
<a id="exportetherpada" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exportetherpad" data-l10n-id="pad.importExport.exportetherpad"></div>
|
||||||
|
</a>
|
||||||
|
<a id="exporthtmla" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exporthtml" data-l10n-id="pad.importExport.exporthtml"></div>
|
||||||
|
</a>
|
||||||
|
<a id="exportplaina" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exportplain" data-l10n-id="pad.importExport.exportplain"></div>
|
||||||
|
</a>
|
||||||
|
<a id="exportworda" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exportword" data-l10n-id="pad.importExport.exportword"></div>
|
||||||
|
</a>
|
||||||
|
<a id="exportpdfa" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exportpdf" data-l10n-id="pad.importExport.exportpdf"></div>
|
||||||
|
</a>
|
||||||
|
<a id="exportopena" target="_blank" class="exportlink">
|
||||||
|
<div class="exporttype" id="exportopen" data-l10n-id="pad.importExport.exportopen"></div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="connectivity" class="popup">
|
||||||
|
<div class="connected visible">
|
||||||
|
<h2 data-l10n-id="pad.modals.connected"></h2>
|
||||||
|
</div>
|
||||||
|
<div class="reconnecting">
|
||||||
|
<h1 data-l10n-id="pad.modals.reconnecting"></h1>
|
||||||
|
<p class='loadingAnimation'></p>
|
||||||
|
</div>
|
||||||
|
<div class="userdup">
|
||||||
|
<h1 data-l10n-id="pad.modals.userdup"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.userdup.explanation"></h2>
|
||||||
|
<p id="defaulttext" data-l10n-id="pad.modals.userdup.advice"></p>
|
||||||
|
<button id="forcereconnect" data-l10n-id="pad.modals.forcereconnect"></button>
|
||||||
|
</div>
|
||||||
|
<div class="unauth">
|
||||||
|
<h1 data-l10n-id="pad.modals.unauth"></h1>
|
||||||
|
<p id="defaulttext" data-l10n-id="pad.modals.unauth.explanation"></p>
|
||||||
|
<button id="forcereconnect" data-l10n-id="pad.modals.forcereconnect"></button>
|
||||||
|
</div>
|
||||||
|
<div class="looping">
|
||||||
|
<h1 data-l10n-id="pad.modals.disconnected"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.looping.explanation"></h2>
|
||||||
|
<p data-l10n-id="pad.modals.looping.cause"></p>
|
||||||
|
</div>
|
||||||
|
<div class="initsocketfail">
|
||||||
|
<h1 data-l10n-id="pad.modals.initsocketfail"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.initsocketfail.explanation"></h2>
|
||||||
|
<p data-l10n-id="pad.modals.initsocketfail.cause"></p>
|
||||||
|
</div>
|
||||||
|
<div class="slowcommit with_reconnect_timer">
|
||||||
|
<h1 data-l10n-id="pad.modals.disconnected"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.slowcommit.explanation"></h2>
|
||||||
|
<p id="defaulttext" data-l10n-id="pad.modals.slowcommit.cause"></p>
|
||||||
|
<button id="forcereconnect" data-l10n-id="pad.modals.forcereconnect"></button>
|
||||||
|
</div>
|
||||||
|
<div class="badChangeset with_reconnect_timer">
|
||||||
|
<h1 data-l10n-id="pad.modals.disconnected"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.badChangeset.explanation"></h2>
|
||||||
|
<p id="defaulttext" data-l10n-id="pad.modals.badChangeset.cause"></p>
|
||||||
|
<button id="forcereconnect" data-l10n-id="pad.modals.forcereconnect"></button>
|
||||||
|
</div>
|
||||||
|
<div class="corruptPad">
|
||||||
|
<h1 data-l10n-id="pad.modals.disconnected"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.corruptPad.explanation"></h2>
|
||||||
|
<p data-l10n-id="pad.modals.corruptPad.cause"></p>
|
||||||
|
</div>
|
||||||
|
<div class="deleted">
|
||||||
|
<h1 data-l10n-id="pad.modals.deleted"></h1>
|
||||||
|
<p data-l10n-id="pad.modals.deleted.explanation"></p>
|
||||||
|
</div>
|
||||||
|
<div class="disconnected with_reconnect_timer">
|
||||||
|
<h1 data-l10n-id="pad.modals.disconnected"></h1>
|
||||||
|
<h2 data-l10n-id="pad.modals.disconnected.explanation"></h2>
|
||||||
|
<p id="defaulttext" data-l10n-id="pad.modals.disconnected.cause"></p>
|
||||||
|
<button id="forcereconnect" data-l10n-id="pad.modals.forcereconnect"></button>
|
||||||
|
</div>
|
||||||
|
<form id="reconnectform" method="post" action="/ep/pad/reconnect" accept-charset="UTF-8" style="display: none;">
|
||||||
|
<input type="hidden" class="padId" name="padId">
|
||||||
|
<input type="hidden" class="diagnosticInfo" name="diagnosticInfo">
|
||||||
|
<input type="hidden" class="missedChanges" name="missedChanges">
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div id="embed" class="popup">
|
||||||
|
<div id="embedreadonly" class="right acl-write">
|
||||||
|
<input type="checkbox" id="readonlyinput">
|
||||||
|
<label for="readonlyinput" data-l10n-id="pad.share.readonly"></label>
|
||||||
|
</div>
|
||||||
|
<h1 data-l10n-id="pad.share"></h1>
|
||||||
|
<div id="linkcode">
|
||||||
|
<h2 data-l10n-id="pad.share.link"></h2>
|
||||||
|
<input id="linkinput" type="text" value="" onclick="this.select()">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div id="embedcode">
|
||||||
|
<h2 data-l10n-id="pad.share.emebdcode"></h2>
|
||||||
|
<input id="embedinput" type="text" value="" onclick="this.select()">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="chaticon" onclick="chat.show();return false;" title="Chat (Alt C)">
|
||||||
|
<span id="chatlabel" data-l10n-id="pad.chat"></span>
|
||||||
|
<span class="buttonicon buttonicon-chat"></span>
|
||||||
|
<span id="chatcounter">0</span>
|
||||||
|
</div>
|
||||||
|
<div id="chatbox">
|
||||||
|
<div id="titlebar">
|
||||||
|
<span id ="titlelabel" data-l10n-id="pad.chat"></span>
|
||||||
|
<a id="titlecross" onClick="chat.hide();return false;">- </a>
|
||||||
|
<a id="titlesticky" onClick="chat.stickToScreen(true);$('#options-stickychat').prop('checked', true);return false;" title="Stick chat to screen">█ </a>
|
||||||
|
</div>
|
||||||
|
<div id="chattext" class="authorColors" aria-live="polite" aria-relevant="additions removals text" role="log" aria-atomic="false">
|
||||||
|
<div alt="loading.." id="chatloadmessagesball" class="chatloadmessages loadingAnimation" align="top"></div>
|
||||||
|
<button id="chatloadmessagesbutton" class="chatloadmessages" data-l10n-id="pad.chat.loadmessages"></button>
|
||||||
|
</div>
|
||||||
|
<div id="chatinputbox">
|
||||||
|
<form>
|
||||||
|
<input id="chatinput" type="text" maxlength="999">
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="focusprotector"> </div>
|
||||||
|
<script src="../static/plugins/ep_themes/static/js/themes.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt
|
||||||
|
(function() {
|
||||||
|
// Display errors on page load to the user
|
||||||
|
// (Gets overridden by padutils.setupGlobalExceptionHandler)
|
||||||
|
var originalHandler = window.onerror;
|
||||||
|
window.onerror = function(msg, url, line) {
|
||||||
|
var box = document.getElementById('editorloadingbox');
|
||||||
|
box.innerHTML = '
|
||||||
|
<p>
|
||||||
|
<b>An error occurred while loading the pad</b>
|
||||||
|
</p>'
|
||||||
|
+ '
|
||||||
|
<p>
|
||||||
|
<b>'+msg+'</b> '
|
||||||
|
+ '
|
||||||
|
<small>in '+ url +' (line '+ line +')</small>
|
||||||
|
</p>';
|
||||||
|
// call original error handler
|
||||||
|
if(typeof(originalHandler) == 'function') originalHandler.call(null, arguments);
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
// @license-end
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="../static/js/require-kernel.js"></script>
|
||||||
|
<script type="text/javascript" src="../socket.io/socket.io.js"></script>
|
||||||
|
<!-- Include base packages manually (this help with debugging) -->
|
||||||
|
<script type="text/javascript" src="../javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define"></script>
|
||||||
|
<script type="text/javascript" src="../javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define"></script>
|
||||||
|
<script type="text/javascript" src="../static/skins/no-skin/pad.js"></script>
|
||||||
|
<!-- Bootstrap page -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt
|
||||||
|
var clientVars = {};
|
||||||
|
(function () {
|
||||||
|
var pathComponents = location.pathname.split('/');
|
||||||
|
|
||||||
|
// Strip 'p' and the padname from the pathname and set as baseURL
|
||||||
|
var baseURL = pathComponents.slice(0,pathComponents.length-2).join('/') + '/';
|
||||||
|
|
||||||
|
require.setRootURI(baseURL + "javascripts/src");
|
||||||
|
require.setLibraryURI(baseURL + "javascripts/lib");
|
||||||
|
require.setGlobalKeyPath("require");
|
||||||
|
|
||||||
|
$ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK
|
||||||
|
browser = require('ep_etherpad-lite/static/js/browser');
|
||||||
|
|
||||||
|
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
|
||||||
|
var hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks');
|
||||||
|
|
||||||
|
plugins.baseURL = baseURL;
|
||||||
|
plugins.update(function () {
|
||||||
|
hooks.plugins = plugins;
|
||||||
|
|
||||||
|
// Call documentReady hook
|
||||||
|
$(function() {
|
||||||
|
hooks.aCallAll('documentReady');
|
||||||
|
});
|
||||||
|
|
||||||
|
var pad = require('ep_etherpad-lite/static/js/pad');
|
||||||
|
pad.baseURL = baseURL;
|
||||||
|
pad.init();
|
||||||
|
});
|
||||||
|
|
||||||
|
/* TODO: These globals shouldn't exist. */
|
||||||
|
pad = require('ep_etherpad-lite/static/js/pad').pad;
|
||||||
|
chat = require('ep_etherpad-lite/static/js/chat').chat;
|
||||||
|
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
|
||||||
|
padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp;
|
||||||
|
}());
|
||||||
|
// @license-end
|
||||||
|
</script>
|
||||||
|
<div style="display:none">
|
||||||
|
<a href="/javascript" data-jslicense="1">JavaScript license information</a>
|
||||||
|
</div>
|
||||||
|
</html>
|
@ -4,12 +4,21 @@
|
|||||||
https://irc.anarchyplanet.org
|
https://irc.anarchyplanet.org
|
||||||
|
|
||||||
*** using a client
|
*** using a client
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
- irc.anarchyplanet.org port 6667
|
- irc.anarchyplanet.org port 6667
|
||||||
- irc.anarchyplanet.org port 6697 (SSL)
|
- irc.anarchyplanet.org port 6697 (SSL)
|
||||||
- km3jy7nrj3e2wiju.onion port 6667 || 6697
|
- km3jy7nrj3e2wiju.onion port 6667 || 6697
|
||||||
|
|
||||||
*** using tor
|
*** using tor
|
||||||
|
=======
|
||||||
|
|
||||||
|
- irc.anarchyplanet.org port 6667
|
||||||
|
- irc.anarchyplanet.org port 6697 (SSL)
|
||||||
|
- km3jy7nrj3e2wiju.onion port 6667 || 6697
|
||||||
|
|
||||||
|
*** using tor
|
||||||
|
>>>>>>> master
|
||||||
https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor
|
https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor
|
||||||
** Basic Commands
|
** Basic Commands
|
||||||
|
|
||||||
|
51
upload_pads.py
Normal file
51
upload_pads.py
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
#!/bin/env python
|
||||||
|
# -*- coding: utf-8-*-
|
||||||
|
# load api key
|
||||||
|
keyfile = "APIKEY.txt"
|
||||||
|
file = open(keyfile, "r")
|
||||||
|
key = file.read().rstrip()
|
||||||
|
|
||||||
|
from etherpad_lite import EtherpadLiteClient
|
||||||
|
c = EtherpadLiteClient(base_params={'apikey':"{}".format(key)})
|
||||||
|
|
||||||
|
import glob
|
||||||
|
#import re
|
||||||
|
import string
|
||||||
|
|
||||||
|
# iterate over files in org
|
||||||
|
for filename in glob.iglob('org/*.org'):
|
||||||
|
|
||||||
|
# pick relevant part from filename
|
||||||
|
# option 1: https://docs.python.org/2/howto/regex.html
|
||||||
|
#p = re.compile('\.org$')
|
||||||
|
#id = 'pad-'+ p.sub('', filename)
|
||||||
|
# option 2:
|
||||||
|
id = string.replace(string.replace(filename, 'org/', ''), '.org', '')
|
||||||
|
padid = "dox-"+ id
|
||||||
|
file = open(filename, "r")
|
||||||
|
text = file.read()
|
||||||
|
|
||||||
|
# upload text
|
||||||
|
print ("Updating https://irc.anarchyplanet.org/pad/p/"+ padid +" ["+ filename +"]")
|
||||||
|
try:
|
||||||
|
c.deletePad(padID="{}".format(padid))
|
||||||
|
except:
|
||||||
|
print "(new)"
|
||||||
|
c.createPad(padID="{}".format(padid), text="{}".format(text))
|
||||||
|
|
||||||
|
#import urllib2, ssl
|
||||||
|
#response = urllib2.urlopen('https://irc.anarchyplanet.org/pad/p/'+ id +'/export/txt', context=ssl._create_unverified_context())
|
||||||
|
#txt = response.read()
|
||||||
|
#print txt
|
||||||
|
#writeFile = open("projex_out.txt", "w")
|
||||||
|
#writeFile.write(txt)
|
||||||
|
#writeFile.close()
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src python :results output
|
||||||
|
# FUCK I hate white space syntax
|
||||||
|
# C-c C-r to evaluate region
|
||||||
|
#file = open("hello.org", "r")
|
||||||
|
#localtxt = file.read()
|
||||||
|
#print(localtxt)
|
||||||
|
#+end_src
|
Loading…
Reference in New Issue
Block a user