Skip to content

Commit

Permalink
build v3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sualko committed May 23, 2018
1 parent 4621e24 commit bcbc37b
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 27 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
## 3.4.0 - 2018-05-23
### Added
- option to show only group members in the roster (internal)
- [jsxc/jsxc#477](https://github.com/jsxc/jsxc/issues/477) add admin setting to change log in behavior
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>JavaScript XMPP Chat</name>
<summary>Facebook-like chat</summary>
<description>Facebook-like chat with end-to-end encrypted conversation, video calls, multi-user rooms, XMPP and internal server backend.</description>
<version>3.4.0-beta.1</version>
<version>3.4.0</version>
<licence>agpl</licence>
<author mail="klaus@jsxc.org">Klaus Herberth</author>
<author>Tobia De Koninck</author>
Expand Down
1 change: 1 addition & 0 deletions build/appinfo/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function __construct(array $urlParams=array()){
$c->query('OCP\ILogger'),
$c->query('DataRetriever'),
$c->query('OCP\Security\ISecureRandom'),
$c->query('OCP\App\IAppManager'),
'https://xmpp.jsxc.ch/registration'
);
});
Expand Down
2 changes: 1 addition & 1 deletion build/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>JavaScript XMPP Chat</name>
<summary>Facebook-like chat</summary>
<description>Facebook-like chat with end-to-end encrypted conversation, video calls, multi-user rooms, XMPP and internal server backend.</description>
<version>3.4.0-beta.1</version>
<version>3.4.0</version>
<licence>agpl</licence>
<author mail="klaus@jsxc.org">Klaus Herberth</author>
<author>Tobia De Koninck</author>
Expand Down
8 changes: 4 additions & 4 deletions build/css/jsxc.oc.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* ojsxc v3.4.0-beta.1 - 2018-05-17
* ojsxc v3.4.0 - 2018-05-23
*
* Copyright (c) 2018 Klaus Herberth <klaus@jsxc.org> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <klaus@jsxc.org>
* @version 3.4.0-beta.1
* @version 3.4.0
* @license MIT
*/

Expand Down Expand Up @@ -4232,7 +4232,7 @@ div.jsxc_video {
opacity: 1; }

@media (min-width: 768px) {
#content-wrapper, #filestable > thead, #controls {
#content-wrapper, #filestable > thead {
padding-right: 0;
transition: padding-right 0.5s; }
#mainContainer, #odf-toolbar, #app-sidebar {
Expand All @@ -4242,7 +4242,7 @@ div.jsxc_video {
transition: right 0.5s; }
.app-mail .submit-message-wrapper .submit-message {
transition: right 0.5s; }
.jsxc-roster-shown #content-wrapper, .jsxc-roster-shown #filestable > thead, .jsxc-roster-shown #controls {
.jsxc-roster-shown #content-wrapper, .jsxc-roster-shown #filestable > thead {
padding-right: 210px; }
.jsxc-roster-shown #mainContainer, .jsxc-roster-shown #odf-toolbar, .jsxc-roster-shown #app-sidebar {
right: 210px; }
Expand Down
4 changes: 2 additions & 2 deletions build/js/eof.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* ojsxc v3.4.0-beta.1 - 2018-05-17
* ojsxc v3.4.0 - 2018-05-23
*
* Copyright (c) 2018 Klaus Herberth <klaus@jsxc.org> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <klaus@jsxc.org>
* @version 3.4.0-beta.1
* @version 3.4.0
* @license MIT
*/

Expand Down
6 changes: 3 additions & 3 deletions build/js/jsxc/jsxc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* jsxc v3.4.0-beta.1 - 2018-05-17
* jsxc v3.4.0 - 2018-05-23
*
* Copyright (c) 2018 Klaus Herberth <klaus@jsxc.org> <br>
* Released under the MIT license
*
* Please see https://www.jsxc.org/
*
* @author Klaus Herberth <klaus@jsxc.org>
* @version 3.4.0-beta.1
* @version 3.4.0
* @license MIT
*/

Expand All @@ -25,7 +25,7 @@ var jsxc = null, RTC = null, RTCPeerconnection = null;
*/
jsxc = {
/** Version of jsxc */
version: '3.4.0-beta.1',
version: '3.4.0',

/** True if i'm the master */
master: false,
Expand Down
2 changes: 1 addition & 1 deletion build/js/jsxc/jsxc.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/jsxc/jsxc.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/js/jsxc/lib/jsxc.dep.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/jsxc/lib/jsxc.dep.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/jsxc/lib/jsxc.dep.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/jsxc/lib/translation.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/js/ojsxc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* ojsxc v3.4.0-beta.1 - 2018-05-17
* ojsxc v3.4.0 - 2018-05-23
*
* Copyright (c) 2018 Klaus Herberth <klaus@jsxc.org> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <klaus@jsxc.org>
* @version 3.4.0-beta.1
* @version 3.4.0
* @license MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions build/js/settings/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ $(document).ready(function() {
$('.ojsxc-managed-registration').show();
});

$('#ojsxc-legal').on('change', function() {
$('#ojsxc-register').prop('disabled', !$(this).prop('checked'));
$('#ojsxc-legal, #ojsxc-dp').on('change', function() {
$('#ojsxc-register').prop('disabled', !$('#ojsxc-legal').prop('checked') || !$('#ojsxc-dp').prop('checked'));
})
});
7 changes: 6 additions & 1 deletion build/lib/Controller/ManagedServerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use OCA\OJSXC\IDataRetriever;
use OCA\OJSXC\AppInfo\Application;
use OCP\Security\ISecureRandom;
use OCP\App\IAppManager;

class ManagedServerController extends Controller
{
Expand All @@ -34,6 +35,7 @@ public function __construct(
ILogger $logger,
IDataRetriever $dataRetriever,
ISecureRandom $random,
IAppManager $appManager,
$registrationUrl
) {
parent::__construct($appName, $request);
Expand All @@ -44,6 +46,7 @@ public function __construct(
$this->logger = $logger;
$this->dataRetriever = $dataRetriever;
$this->random = $random;
$this->appManager = $appManager;
$this->registrationUrl = $registrationUrl;
}

Expand Down Expand Up @@ -83,14 +86,16 @@ private function doRegistration($promotionCode, $requestId)
$apiUrl = $this->urlGenerator->linkToRouteAbsolute('ojsxc.externalApi.index');
$apiSecret = $this->config->getAppValue('ojsxc', 'apiSecret');
$userId = $this->userSession->getUser()->getUID();
$appVersion = '3.4.0'; //$this->appManager->getAppVersion('ojsxc'); from NC 14

$data = [
'apiUrl' => $apiUrl,
'apiSecret' => $apiSecret,
'apiVersion' => 1,
'userId' => $userId,
'appVersion' => $appVersion,
'promotionCode' => $promotionCode
];
];

$response = $this->dataRetriever->fetchUrl($this->registrationUrl.'?rid='.$requestId, $data);

Expand Down
5 changes: 4 additions & 1 deletion build/templates/settings/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@
</div>
</div>
<div class="form-col-offset">
<label><input id="ojsxc-legal" type="checkbox" /> I acknowledge that this is a beta service offered by the <a href="https://jsxc.ch/federated-communication-association">Federated Communication Association</a> without any warranty whatsoever.</label>
<label><input id="ojsxc-legal" type="checkbox" /> I acknowledge that this is a beta service offered by the <a target="_blank" href="https://jsxc.ch/federated-communication-association">Federated Communication Association</a> without any warranty whatsoever.</label>
</div>
<div class="form-col-offset">
<label><input id="ojsxc-dp" type="checkbox" /> I have read and accept the <a target="_blank" href="https://jsxc.ch/privacy-policy">privacy policy</a>.</label>
</div>
<div class="form-col-offset">
<input id="ojsxc-register" type="button" value="Register" data-toggle-value="Processing registration" disabled="disabled" />
Expand Down
2 changes: 1 addition & 1 deletion js/jsxc
Submodule jsxc updated 58 files
+1 −1 CHANGELOG.md
+1 −1 bower.json
+3 −3 build/jsxc.js
+1 −1 build/jsxc.min.js
+1 −1 build/jsxc.min.js.map
+2 −2 build/lib/jsxc.dep.js
+1 −1 build/lib/jsxc.dep.min.js
+1 −1 build/lib/jsxc.dep.min.js.map
+1 −1 build/lib/translation.js
+12 −2 doc/global.html
+1 −1 doc/index.html
+83 −7 doc/jsxc.Message.html
+28 −2 doc/jsxc.fileTransfer.html
+20 −6 doc/jsxc.gui.dialog.html
+125 −3 doc/jsxc.gui.html
+24 −2 doc/jsxc.gui.queryActions.html
+62 −16 doc/jsxc.gui.roster.html
+254 −172 doc/jsxc.gui.window.html
+145 −31 doc/jsxc.html
+1 −1 doc/jsxc.lib.Message.js.html
+1 −1 doc/jsxc.lib.fileTransfer.js.html
+1 −1 doc/jsxc.lib.gui.avatar.js.html
+97 −2 doc/jsxc.lib.gui.js.html
+24 −5 doc/jsxc.lib.js.html
+1 −1 doc/jsxc.lib.muc.js.html
+1 −1 doc/jsxc.lib.notice.js.html
+1 −1 doc/jsxc.lib.notification.js.html
+1 −1 doc/jsxc.lib.options.js.html
+1 −1 doc/jsxc.lib.otr.js.html
+1 −1 doc/jsxc.lib.storage.js.html
+1 −1 doc/jsxc.lib.tab.js.html
+1 −1 doc/jsxc.lib.webrtc.js.html
+1 −1 doc/jsxc.lib.xmpp.bookmarks.js.html
+1 −1 doc/jsxc.lib.xmpp.chatState.js.html
+1 −1 doc/jsxc.lib.xmpp.httpUpload.js.html
+1 −1 doc/jsxc.lib.xmpp.js.html
+1 −1 doc/jsxc.lib.xmpp.mam.js.html
+56 −2 doc/jsxc.muc.html
+44 −2 doc/jsxc.notification.html
+34 −4 doc/jsxc.options.html
+56 −2 doc/jsxc.otr.html
+52 −2 doc/jsxc.storage.html
+12 −2 doc/jsxc.tab.html
+84 −2 doc/jsxc.webrtc.html
+28 −2 doc/jsxc.xmpp.bookmarks.html
+16 −2 doc/jsxc.xmpp.carbons.html
+32 −2 doc/jsxc.xmpp.chatState.html
+48 −2 doc/jsxc.xmpp.html
+36 −2 doc/jsxc.xmpp.httpUpload.html
+4 −2 doc/jsxc.xmpp.mam.html
+6 −2 doc/styles/jsdoc-default.css
+3 −3 locales/fr.json
+24 −24 locales/it.json
+2 −2 locales/ja.json
+1 −1 locales/pt-BR.json
+1 −1 locales/tr-TR.json
+1 −1 locales/zh-TW.json
+1 −1 package.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ojsxc",
"version": "3.4.0-beta.1",
"version": "3.4.0",
"description": "Real-time chat app for Nextcloud",
"homepage": "http://www.jsxc.org/",
"bugs": "https://github.com/jsxc/jsxc/issues",
Expand Down

0 comments on commit bcbc37b

Please sign in to comment.