<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Justin Mitchell pushed to branch master at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/d83fb24cd2f97be2daae22daeed78a038318afe2">d83fb24c</a></strong>
<div>
<span>by Justin Mitchell</span>
<i>at 2015-10-06T13:39:00Z</i>
</div>
<pre class='commit-message'>Suggested protocol for who listings</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/server/PROTOCOL
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/d83fb24cd2f97be2daae22daeed78a038318afe2#diff-0'>
<strong>
src/server/PROTOCOL
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/server/PROTOCOL
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/server/PROTOCOL
</span><span style="color: #aaaaaa">@@ -96,23 +96,38 @@ IPC_EVENT - an event occured
</span>           verbose - additional (amusing) texts
                reason  - justification (if any) the attacker gave
 
-       List of types, and any additional fields
-               zod  - Zebedee of Death
-               mrod - Magic Roundabout of Death
-               gag  - Apply gagging filter to user
-                       gag - name of gag to Apply
-               ungag - remove gagging filters
-
 IPC_ACTION - user requests an action
        Body: (json)
                type - type of event that occured
-               target - who did the event happen to
-               reason - optional reason why you did this
<span style="color: #000000;background-color: #ddffdd">+                target - (optional) who to apply it to
+               reason - (optional) reason why you did this
+       List of types, and any additional fields
+               zod   - Zebedee of Death
+               mrod  - Magic Roundabout of Death
+               gag   - Apply gagging filter to user
+                       gag - name of gag to Apply
+               ungag - remove gagging filters
</span>   Response:
                type - command request
                target - victim
                success=0|1
                text - prefered acknowledgement text
 
<span style="color: #000000;background-color: #ddffdd">+IPC_WHOLIST - list of all the users currently known to the system
+       Send an empty body one of these to the server to request a refresh
+       Respose:  json array() each element being one session
+               pid      - session idle
+               id       - user id
+               name     - username
+               realname - users actual name (if permitted)
+               idle     - seconds idle
+               doing    - doing info
+               dowhen   - when doing last updated
+               perms    - object of permissions
+                       chatmode
+                       chatprivs
+                       protection
+
+
</span> all other codes are old unformatted messages and are to be phased out,
 most commonly used is IPC_TEXT which is raw text to be displayed
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/d83fb24cd2f97be2daae22daeed78a038318afe2">View it on GitLab</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/d83fb24cd2f97be2daae22daeed78a038318afe2"}}</script>
</p>
</div>
</body>
</html>