-
allie
bent3n: I've been using stanza myself and it's pretty good, at least once I got the hang of it
-
lovetox_
Gajim has 100K lines of python code
-
lovetox_
ok make that 80K lines, because 20K is the emoji dict
-
lovetox_
lets not count that
-
lovetox_
30K XML code lines
-
lovetox_
(UI files)
-
bent3n
I create d a webapp using strophe.js cdn adn uploaded it on my server. When I request the app in my browser I get the error that the page must run on a secured connection. I'm using prosody. Does this mean I have to configure the server so BOSH is considered secure using the command consider_bosh_secure = true; ?
-
bent3n
allie can you please send me links to tutorials and documentation ? I could not make sense of @xmpp/client
-
allie
bent3n: I don't have any tutorials. I just pieced it together from the examples they had on their github page along with some help in here and on IRC
-
allie
bent3n: if you have a reverse proxy like Apache or nginx proxying connections to BOSH, and the reverse proxy is handling the HTTPS, then yes you need that consider_bosh_secure option, just make sure you're not accepting connections for BOSH without the proxy too
-
allie
or at least not over http
-
bent3n
allie That's the difficulty I face: piecing together the examples they have on github and nmpjs(https://www.npmjs.com/package/stanza/v/12.2.3). How do I set it up (I mean the library) so I can use it ?
-
allie
download the source from github and run the build script. it should give you the javascript files you need in the dist directory. it doesn't seem to work properly if you install it via npm as those scripts are missing
-
bent3n
So is this(consider_bosh_secure) the only option I need to set to get rid of that error from strophe ?
-
allie
maybe that option means you have something else handling the HTTPS and prosody can assume everything coming into the HTTP BOSH port is adequately secured✎ -
allie
maybe. that option means you have something else handling the HTTPS and prosody can assume everything coming into the HTTP BOSH port is adequately secured ✏
-
bent3n
allie hmmm. interesting. sorry I'm a noob. By download source do you mean the source code file or the entire source(src) folder from github?
-
bent3n
allie I assume I have to also configure nginx to upgrade requests to WS connections , right ?That's if I want to use websockets. Or BOSH is just fine?
-
allie
the source tarball for the release you want from github
-
allie
(for stanza, I know nothing about strophe)
-
bent3n
no worries about strophe for now