Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
e5cfdca3
Commit
e5cfdca3
authored
May 04, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move roster models into their own module
parent
09c55ebc
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
781 additions
and
730 deletions
+781
-730
src/config.js
src/config.js
+1
-0
src/converse-core.js
src/converse-core.js
+2
-725
src/converse-roster.js
src/converse-roster.js
+769
-0
src/converse-rosterview.js
src/converse-rosterview.js
+4
-5
src/converse-vcard.js
src/converse-vcard.js
+4
-0
src/converse.js
src/converse.js
+1
-0
No files found.
src/config.js
View file @
e5cfdca3
...
@@ -93,6 +93,7 @@ require.config({
...
@@ -93,6 +93,7 @@ require.config({
"
converse-profile
"
:
"
src/converse-profile
"
,
"
converse-profile
"
:
"
src/converse-profile
"
,
"
converse-register
"
:
"
src/converse-register
"
,
"
converse-register
"
:
"
src/converse-register
"
,
"
converse-roomslist
"
:
"
src/converse-roomslist
"
,
"
converse-roomslist
"
:
"
src/converse-roomslist
"
,
"
converse-roster
"
:
"
src/converse-roster
"
,
"
converse-rosterview
"
:
"
src/converse-rosterview
"
,
"
converse-rosterview
"
:
"
src/converse-rosterview
"
,
"
converse-singleton
"
:
"
src/converse-singleton
"
,
"
converse-singleton
"
:
"
src/converse-singleton
"
,
"
converse-vcard
"
:
"
src/converse-vcard
"
,
"
converse-vcard
"
:
"
src/converse-vcard
"
,
...
...
src/converse-core.js
View file @
e5cfdca3
This diff is collapsed.
Click to expand it.
src/converse-roster.js
0 → 100644
View file @
e5cfdca3
This diff is collapsed.
Click to expand it.
src/converse-rosterview.js
View file @
e5cfdca3
// Converse.js
(A browser based XMPP chat client)
// Converse.js
// http://conversejs.org
// http://conversejs.org
//
//
// Copyright (c) 2012-201
7, Jan-Carel Brand <jc@opkode.com>
// Copyright (c) 2012-201
8, the Converse.js developers
// Licensed under the Mozilla Public License (MPLv2)
// Licensed under the Mozilla Public License (MPLv2)
//
/*global define */
(
function
(
root
,
factory
)
{
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
define
([
"
converse-core
"
,
...
@@ -39,7 +37,7 @@
...
@@ -39,7 +37,7 @@
converse
.
plugins
.
add
(
'
converse-rosterview
'
,
{
converse
.
plugins
.
add
(
'
converse-rosterview
'
,
{
dependencies
:
[
"
converse-modal
"
],
dependencies
:
[
"
converse-
roster
"
,
"
converse-
modal
"
],
overrides
:
{
overrides
:
{
// Overrides mentioned here will be picked up by converse.js's
// Overrides mentioned here will be picked up by converse.js's
...
@@ -82,6 +80,7 @@
...
@@ -82,6 +80,7 @@
_converse
.
api
.
settings
.
update
({
_converse
.
api
.
settings
.
update
({
'
allow_chat_pending_contacts
'
:
true
,
'
allow_chat_pending_contacts
'
:
true
,
'
allow_contact_removal
'
:
true
,
'
allow_contact_removal
'
:
true
,
'
roster_groups
'
:
true
,
'
show_toolbar
'
:
true
,
'
show_toolbar
'
:
true
,
'
xhr_user_search_url
'
:
null
'
xhr_user_search_url
'
:
null
});
});
...
...
src/converse-vcard.js
View file @
e5cfdca3
...
@@ -63,6 +63,10 @@
...
@@ -63,6 +63,10 @@
converse
.
plugins
.
add
(
'
converse-vcard
'
,
{
converse
.
plugins
.
add
(
'
converse-vcard
'
,
{
// FIXME: After refactoring, the dependency switches, from
// converse-roster to converse-vcard
dependencies
:
[
"
converse-roster
"
],
overrides
:
{
overrides
:
{
// Overrides mentioned here will be picked up by converse.js's
// Overrides mentioned here will be picked up by converse.js's
// plugin architecture they will replace existing methods on the
// plugin architecture they will replace existing methods on the
...
...
src/converse.js
View file @
e5cfdca3
...
@@ -22,6 +22,7 @@ if (typeof define !== 'undefined') {
...
@@ -22,6 +22,7 @@ if (typeof define !== 'undefined') {
"
converse-notification
"
,
// HTML5 Notifications
"
converse-notification
"
,
// HTML5 Notifications
"
converse-otr
"
,
// Off-the-record encryption for one-on-one messages
"
converse-otr
"
,
// Off-the-record encryption for one-on-one messages
"
converse-ping
"
,
// XEP-0199 XMPP Ping
"
converse-ping
"
,
// XEP-0199 XMPP Ping
"
converse-roster
"
,
"
converse-register
"
,
// XEP-0077 In-band registration
"
converse-register
"
,
// XEP-0077 In-band registration
"
converse-roomslist
"
,
// Show currently open chat rooms
"
converse-roomslist
"
,
// Show currently open chat rooms
"
converse-vcard
"
,
// XEP-0054 VCard-temp
"
converse-vcard
"
,
// XEP-0054 VCard-temp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment