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
bcbde045
Commit
bcbde045
authored
Feb 16, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy sounds dir to dist and use `assets_path` for `sounds_path`
parent
a81e0194
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
16 deletions
+18
-16
.eslintrc.json
.eslintrc.json
+1
-1
docs/source/configuration.rst
docs/source/configuration.rst
+1
-1
package-lock.json
package-lock.json
+7
-7
src/converse-notification.js
src/converse-notification.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+2
-1
webpack.common.js
webpack.common.js
+5
-5
webpack.prod.js
webpack.prod.js
+1
-0
No files found.
.eslintrc.json
View file @
bcbde045
...
...
@@ -165,7 +165,7 @@
"no-param-reassign"
:
"off"
,
"no-path-concat"
:
"error"
,
"no-plusplus"
:
"off"
,
"no-process-env"
:
"
error
"
,
"no-process-env"
:
"
off
"
,
"no-process-exit"
:
"error"
,
"no-proto"
:
"error"
,
"no-prototype-builtins"
:
"error"
,
...
...
docs/source/configuration.rst
View file @
bcbde045
...
...
@@ -1653,7 +1653,7 @@ server for acknowledgement of those stanzas.
sounds_path
-----------
* Default: ``sounds/``
* Default: ``
${assets_path}/
sounds/``
This option only makes sense in conjunction with the `play_sounds`_ option and
specifies the URL of the sound files to be played (exluding the file names
...
...
package-lock.json
View file @
bcbde045
...
...
@@ -14188,7 +14188,7 @@
},
"camelcase-keys"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"http
s
://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz"
,
"resolved"
:
"http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz"
,
"integrity"
:
"sha1-MIvur/3ygRkFHvodkyITyRuPkuc="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -14198,7 +14198,7 @@
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"http
s
://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"resolved"
:
"http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -14240,7 +14240,7 @@
},
"load-json-file"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"http
s
://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
,
"resolved"
:
"http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
,
"integrity"
:
"sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -14259,7 +14259,7 @@
},
"meow"
:
{
"version"
:
"3.7.0"
,
"resolved"
:
"http
s
://registry.npmjs.org/meow/-/meow-3.7.0.tgz"
,
"resolved"
:
"http://registry.npmjs.org/meow/-/meow-3.7.0.tgz"
,
"integrity"
:
"sha1-cstmi0JSKCkKu/qFaJJYcwioAfs="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -19126,7 +19126,7 @@
},
"pinkie-promise"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"http
s
://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz"
,
"resolved"
:
"http://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz"
,
"integrity"
:
"sha1-ITXW36ejWMBprJsXh3YogihFD/o="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -20617,7 +20617,7 @@
},
"load-json-file"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"http
s
://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
,
"resolved"
:
"http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
,
"integrity"
:
"sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA="
,
"dev"
:
true
,
"requires"
:
{
...
...
@@ -20630,7 +20630,7 @@
},
"os-locale"
:
{
"version"
:
"1.4.0"
,
"resolved"
:
"http
s
://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz"
,
"resolved"
:
"http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz"
,
"integrity"
:
"sha1-IPnxeuKe00XoveWDsT0gCYA8FNk="
,
"dev"
:
true
,
"requires"
:
{
...
...
src/converse-notification.js
View file @
bcbde045
...
...
@@ -31,7 +31,7 @@ converse.plugins.add('converse-notification', {
chatstate_notification_blacklist
:
[],
// ^ a list of JIDs to ignore concerning chat state notifications
play_sounds
:
true
,
sounds_path
:
'
sounds/
'
,
sounds_path
:
_converse
.
assets_path
+
'
/
sounds/
'
,
notification_icon
:
'
logo/conversejs-filled.svg
'
,
notification_delay
:
5000
});
...
...
src/headless/converse-core.js
View file @
bcbde045
...
...
@@ -201,6 +201,7 @@ _converse.default_connection_options = {'explicitResourceBinding': true};
// ----------------------------
_converse
.
default_settings
=
{
allow_non_roster_messaging
:
false
,
assets_path
:
'
/dist
'
,
authentication
:
'
login
'
,
// Available values are "login", "prebind", "anonymous" and "external".
auto_away
:
0
,
// Seconds after which user status is set to 'away'
auto_login
:
false
,
// Currently only used in connection with anonymous login
...
...
@@ -210,7 +211,6 @@ _converse.default_settings = {
connection_options
:
{},
credentials_url
:
null
,
// URL from where login credentials can be fetched
csi_waiting_time
:
0
,
// Support for XEP-0352. Seconds before client is considered idle and CSI is sent out.
loglevel
:
'
info
'
,
default_state
:
'
online
'
,
discover_connection_methods
:
false
,
geouri_regex
:
/https
\:\/\/
www.openstreetmap.org
\/
.*#map=
[
0-9
]
+
\/([\-
0-9.
]
+
)\/([\-
0-9.
]
+
)\S
*/g
,
...
...
@@ -218,6 +218,7 @@ _converse.default_settings = {
idle_presence_timeout
:
300
,
// Seconds after which an idle presence is sent
jid
:
undefined
,
keepalive
:
true
,
loglevel
:
'
info
'
,
locales
:
[
'
af
'
,
'
ar
'
,
'
bg
'
,
'
ca
'
,
'
cs
'
,
'
de
'
,
'
eo
'
,
'
es
'
,
'
eu
'
,
'
en
'
,
'
fr
'
,
'
gl
'
,
'
he
'
,
'
hi
'
,
'
hu
'
,
'
id
'
,
'
it
'
,
'
ja
'
,
'
nb
'
,
'
nl
'
,
'
mr
'
,
'
oc
'
,
...
...
webpack.common.js
View file @
bcbde045
/* global __dirname, module */
/* global __dirname, module
, process
*/
const
path
=
require
(
'
path
'
);
let
bootstrap_ignore_modules
=
[
'
carousel
'
,
'
scrollspy
'
];
bootstrap_ignore_modules
=
[
'
carousel
'
,
'
scrollspy
'
];
BOOTSTRAP_IGNORE_MODULES
=
(
process
.
env
.
BOOTSTRAP_IGNORE_MODULES
||
''
).
replace
(
/ /g
,
''
).
trim
();
if
(
BOOTSTRAP_IGNORE_MODULES
.
length
>
0
)
const
BOOTSTRAP_IGNORE_MODULES
=
(
process
.
env
.
BOOTSTRAP_IGNORE_MODULES
||
''
).
replace
(
/ /g
,
''
).
trim
();
if
(
BOOTSTRAP_IGNORE_MODULES
.
length
>
0
)
{
bootstrap_ignore_modules
=
bootstrap_ignore_modules
.
concat
(
BOOTSTRAP_IGNORE_MODULES
.
split
(
'
,
'
));
}
module
.
exports
=
{
output
:
{
...
...
webpack.prod.js
View file @
bcbde045
...
...
@@ -19,6 +19,7 @@ module.exports = merge(common, {
}),
new
MiniCssExtractPlugin
({
filename
:
'
../dist/converse.min.css
'
}),
new
CopyWebpackPlugin
([
{
from
:
'
sounds
'
},
{
from
:
'
images/favicon.ico
'
},
{
from
:
'
images/custom_emojis
'
,
to
:
'
custom_emojis
'
},
{
from
:
'
sass/webfonts
'
,
to
:
'
webfonts
'
}
...
...
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