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
53df5d6b
Commit
53df5d6b
authored
Nov 22, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitelisting and dependencies on the headline plugins
parent
3ffb56ba
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
src/converse-dragresize.js
src/converse-dragresize.js
+1
-1
src/converse-headlines-view.js
src/converse-headlines-view.js
+1
-1
src/converse-minimize.js
src/converse-minimize.js
+7
-1
src/converse.js
src/converse.js
+0
-1
src/headless/converse-headlines.js
src/headless/converse-headlines.js
+1
-1
No files found.
src/converse-dragresize.js
View file @
53df5d6b
...
@@ -36,7 +36,7 @@ converse.plugins.add('converse-dragresize', {
...
@@ -36,7 +36,7 @@ converse.plugins.add('converse-dragresize', {
*
*
* NB: These plugins need to have already been loaded via require.js.
* NB: These plugins need to have already been loaded via require.js.
*/
*/
dependencies
:
[
"
converse-chatview
"
,
"
converse-headline
"
,
"
converse-muc-views
"
],
dependencies
:
[
"
converse-chatview
"
,
"
converse-headline
s-view
"
,
"
converse-muc-views
"
],
enabled
(
_converse
)
{
enabled
(
_converse
)
{
return
_converse
.
view_mode
==
'
overlayed
'
;
return
_converse
.
view_mode
==
'
overlayed
'
;
...
...
src/converse-headlines-view.js
View file @
53df5d6b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Licensed under the Mozilla Public License (MPLv2)
// Licensed under the Mozilla Public License (MPLv2)
/**
/**
* @module converse-headline
* @module converse-headline
s-view
*/
*/
import
"
converse-chatview
"
;
import
"
converse-chatview
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
...
...
src/converse-minimize.js
View file @
53df5d6b
...
@@ -32,7 +32,13 @@ converse.plugins.add('converse-minimize', {
...
@@ -32,7 +32,13 @@ converse.plugins.add('converse-minimize', {
*
*
* NB: These plugins need to have already been loaded via require.js.
* NB: These plugins need to have already been loaded via require.js.
*/
*/
dependencies
:
[
"
converse-chatview
"
,
"
converse-controlbox
"
,
"
converse-muc-views
"
,
"
converse-headline
"
,
"
converse-dragresize
"
],
dependencies
:
[
"
converse-chatview
"
,
"
converse-controlbox
"
,
"
converse-muc-views
"
,
"
converse-headlines-view
"
,
"
converse-dragresize
"
],
enabled
(
_converse
)
{
enabled
(
_converse
)
{
return
_converse
.
view_mode
===
'
overlayed
'
;
return
_converse
.
view_mode
===
'
overlayed
'
;
...
...
src/converse.js
View file @
53df5d6b
...
@@ -45,7 +45,6 @@ const WHITELISTED_PLUGINS = [
...
@@ -45,7 +45,6 @@ const WHITELISTED_PLUGINS = [
'
converse-dragresize
'
,
'
converse-dragresize
'
,
'
converse-emoji-views
'
,
'
converse-emoji-views
'
,
'
converse-fullscreen
'
,
'
converse-fullscreen
'
,
'
converse-headline
'
,
'
converse-mam-views
'
,
'
converse-mam-views
'
,
'
converse-message-view
'
,
'
converse-message-view
'
,
'
converse-minimize
'
,
'
converse-minimize
'
,
...
...
src/headless/converse-headlines.js
View file @
53df5d6b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Licensed under the Mozilla Public License (MPLv2)
// Licensed under the Mozilla Public License (MPLv2)
/**
/**
* @module converse-headline
* @module converse-headline
s
*/
*/
import
"
converse-chatview
"
;
import
"
converse-chatview
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
...
...
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