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
ad499938
Commit
ad499938
authored
Apr 23, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce unnecessary logging in tests
parent
7e2552bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
package-lock.json
package-lock.json
+14
-7
src/headless/converse-bosh.js
src/headless/converse-bosh.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+1
-1
No files found.
package-lock.json
View file @
ad499938
...
...
@@ -2244,7 +2244,8 @@
"dependencies"
:
{
"filesize"
:
{
"version"
:
"6.1.0"
,
"resolved"
:
false
"resolved"
:
"https://registry.npmjs.org/filesize/-/filesize-6.1.0.tgz"
,
"integrity"
:
"sha512-LpCHtPQ3sFx67z+uh2HnSyWSLLu5Jxo21795uRDuar/EOuYWXib5EmPaGIBuSnRqH2IODiKA2k5re/K9OnN/Yg=="
},
"fs-extra"
:
{
"version"
:
"8.1.0"
,
...
...
@@ -2278,7 +2279,8 @@
},
"jed"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
false
"resolved"
:
"https://registry.npmjs.org/jed/-/jed-1.1.1.tgz"
,
"integrity"
:
"sha1-elSbvZ/+FYWwzQoZHiAwVb7ldLQ="
},
"jsonfile"
:
{
"version"
:
"5.0.0"
,
...
...
@@ -2299,18 +2301,21 @@
},
"localforage"
:
{
"version"
:
"1.7.3"
,
"resolved"
:
false
,
"resolved"
:
"https://registry.npmjs.org/localforage/-/localforage-1.7.3.tgz"
,
"integrity"
:
"sha512-1TulyYfc4udS7ECSBT2vwJksWbkwwTX8BzeUIiq8Y07Riy7bDAAnxDaPU/tWyOVmQAcWJIEIFP9lPfBGqVoPgQ=="
,
"requires"
:
{
"lie"
:
"3.1.1"
}
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
false
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"pluggable.js"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
false
,
"resolved"
:
"https://registry.npmjs.org/pluggable.js/-/pluggable.js-2.0.1.tgz"
,
"integrity"
:
"sha512-SBt6v6Tbp20Jf8hU0cpcc/+HBHGMY8/Q+yA6Ih0tBQE8tfdZ6U4PRG0iNvUUjLx/hVyOP53n0UfGBymlfaaXCg=="
,
"requires"
:
{
"lodash"
:
"^4.17.11"
}
...
...
@@ -2324,11 +2329,13 @@
},
"strophe.js"
:
{
"version"
:
"1.3.4"
,
"resolved"
:
false
"resolved"
:
"https://registry.npmjs.org/strophe.js/-/strophe.js-1.3.4.tgz"
,
"integrity"
:
"sha512-jSLDG8jolhAwGOSgiJ7DTMSYK3wVoEJHKtpVRyEacQZ6CWA6z2WRPJpcFMjsIweq5aP9/XIvKUQqHBu/ZhvESA=="
},
"twemoji"
:
{
"version"
:
"12.1.5"
,
"resolved"
:
false
,
"resolved"
:
"https://registry.npmjs.org/twemoji/-/twemoji-12.1.5.tgz"
,
"integrity"
:
"sha512-B0PBVy5xomwb1M/WZxf/IqPZfnoIYy1skXnlHjMwLwTNfZ9ljh8VgWQktAPcJXu8080WoEh6YwQGPVhDVqvrVQ=="
,
"requires"
:
{
"fs-extra"
:
"^8.0.1"
,
"jsonfile"
:
"^5.0.0"
,
...
...
src/headless/converse-bosh.js
View file @
ad499938
...
...
@@ -93,7 +93,7 @@ converse.plugins.add('converse-bosh', {
_converse
.
connection
.
restore
(
jid
,
_converse
.
onConnectStatusChanged
);
return
true
;
}
catch
(
e
)
{
log
.
warn
(
"
Could not restore session for jid:
"
+
jid
+
"
Error message:
"
+
e
.
message
);
!
_converse
.
isTestEnv
()
&&
log
.
warn
(
"
Could not restore session for jid:
"
+
jid
+
"
Error message:
"
+
e
.
message
);
return
false
;
}
}
...
...
src/headless/converse-core.js
View file @
ad499938
...
...
@@ -1071,7 +1071,7 @@ async function attemptNonPreboundSession (credentials, automatic) {
}
else
if
(
!
_converse
.
isTestEnv
()
&&
'
credentials
'
in
navigator
)
{
connect
(
await
getLoginCredentialsFromBrowser
());
}
else
{
log
.
warn
(
"
attemptNonPreboundSession: Could not find any
credentials to log in with
"
);
!
_converse
.
isTestEnv
()
&&
log
.
warn
(
"
attemptNonPreboundSession: Couldn't find
credentials to log in with
"
);
}
}
else
if
([
_converse
.
ANONYMOUS
,
_converse
.
EXTERNAL
].
includes
(
_converse
.
api
.
settings
.
get
(
"
authentication
"
))
&&
(
!
automatic
||
_converse
.
api
.
settings
.
get
(
"
auto_login
"
)))
{
connect
();
...
...
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