update license and readme
Esse commit está contido em:
+1
-1
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 Klaus Herberth <klaus@jsxc.org>
|
||||
Copyright (c) 2014 Klaus Herberth <klaus@jsxc.org>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
+3
-48
@@ -1,8 +1,8 @@
|
||||
# Owncloud JavaScript Xmpp Client
|
||||
# JavaScript Xmpp Client
|
||||
|
||||
__Beware! This is beta software.__
|
||||
|
||||
Real-time chat app for OwnCloud. This app requires external XMPP server (openfire, ejabberd etc.).
|
||||
Real-time chat app. This app requires external XMPP server (openfire, ejabberd etc.).
|
||||
|
||||
### Features
|
||||
- integration into existing ui
|
||||
@@ -40,57 +40,12 @@ Real-time chat app for OwnCloud. This app requires external XMPP server (openfir
|
||||
- video conference
|
||||
- encrypted file transfer
|
||||
|
||||
## User notes
|
||||
|
||||
Please download the latest version from https://github.com/sualko/ojsxc/releases and copy the "build" folder to your app directory and rename it to "ojsxc". Now go into your app menu and enable the "JavaScript Xmpp Chat".
|
||||
|
||||
### Configuration
|
||||
|
||||
You can configure oJSXC in the admin panel of owncloud.
|
||||
|
||||
<dl>
|
||||
<dt>BOSH url</dt>
|
||||
<dd>The url to your bosh server. Please beware of the SOP. If your XMPP server doesn't reside on the same host as your OwnCloud, use the Apache ProxyRequest or modify the CSP by defining 'custom_csp_policy' in OwnCloud's config.php.
|
||||
<b>Example:</b>
|
||||
<pre><code>/* Custom CSP policy, changing this will overwrite the standard policy */
|
||||
"custom_csp_policy" => "default-src 'self' https://your.xmpp.server.com:PORT; script-src 'self' 'unsafe-eval';
|
||||
style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",</code></pre>
|
||||
</dd>
|
||||
|
||||
<dt>XMPP domain</dt>
|
||||
<dd>The domain of your Jabber ID.</dd>
|
||||
|
||||
<dt>XMPP resource</dt>
|
||||
<dd>The resource of your JID. If you leaf this field blank a random resource is generated.</dd>
|
||||
|
||||
<dt>TURN url</dt>
|
||||
<dd>The url to your TURN server. You get a free account on http://numb.viagenie.ca</dd>
|
||||
|
||||
<dt>TURN username</dt>
|
||||
<dd>If no username is set, the TURN REST API is used.</dd>
|
||||
|
||||
<dt>TURN credential</dt>
|
||||
<dd>If no credential is set, the TURN REST API is used.</dd>
|
||||
|
||||
<dt>TURN secret</dt>
|
||||
<dd>Secret for TURN REST API.</dd>
|
||||
|
||||
<dt>TURN ttl</dt>
|
||||
<dd>Lifetime of credentials.</dd>
|
||||
</dl>
|
||||
|
||||
### Screenshots
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## Developer notes
|
||||
|
||||
Please execude the following commands to get a copy of the code:
|
||||
|
||||
```
|
||||
git clone https://github.com/sualko/ojsxc/
|
||||
git clone https://github.com/sualko/jsxc/
|
||||
git submodule update --init
|
||||
```
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário