summary refs log tree commit diff
path: root/nixos/tests/xmpp
Commit message (Collapse)AuthorAge
* nixos/prosody: fix broken testsAndrey Golovizin2021-02-12
|
* treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl2021-01-10
| | | | | The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
* ejabberd: fix failing testsIsmaël Bouya2020-09-10
| | | | | | | | | | | | | | | | | | This commit fixes the ejabberd tests for hydra: mod_http_upload and mod_disco need to be explicitly enabled, and a handler needs to be setup to make it work. Also, the client needs to be able to contact the server. The commit also fixes the situation where http upload failed: in that case the client would wait forever because nothing catched the error. Finally, there remains a non-reproducible error where ejabberd server fails to start with an error like: format: "Failed to create cookie file '/var/lib/ejabberd/.erlang.cookie': eacces" (happens ~15%) I tried to check existence of /var/lib/ejabberd/ in pre-start script and saw nothing that would explain this error, so I gave up about this error in particular.
* nixosTests.prosodyMysql: fixMartin Milata2020-05-04
| | | | | Since 8aea5288 xmpp-sendmessage.nix tests MUC and HTTP upload, change the test to reflect this.
* nixos/prosody: make defaults comply with XEP-0423Félix Baylac-Jacqué2020-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting up a XMPP chat server is a pretty deep rabbit whole to jump in when you're not familiar with this whole universe. Your experience with this environment will greatly depends on whether or not your server implements the right set of XEPs. To tackle this problem, the XMPP community came with the idea of creating a meta-XEP in charge of listing the desirable XEPs to comply with. This meta-XMP is issued every year under an new XEP number. The 2020 one being XEP-0423[1]. This prosody nixos module refactoring makes complying with XEP-0423 easier. All the necessary extensions are enabled by default. For some extensions (MUC and HTTP_UPLOAD), we need some input from the user and cannot provide a sensible default nixpkgs-wide. For those, we guide the user using a couple of assertions explaining the remaining manual steps to perform. We took advantage of this substential refactoring to refresh the associated nixos test. Changelog: - Update the prosody package to provide the necessary community modules in order to comply with XEP-0423. This is a tradeoff, as depending on their configuration, the user might end up not using them and wasting some disk space. That being said, adding those will allow the XEP-0423 users, which I expect to be the majority of users, to leverage a bit more the binary cache. - Add a muc submodule populated with the prosody muc defaults. - Add a http_upload submodule in charge of setting up a basic http server handling the user uploads. This submodule is in is spinning up an HTTP(s) server in charge of receiving and serving the user's attachments. - Advertise both the MUCs and the http_upload endpoints using mod disco. - Use the slixmpp library in place of the now defunct sleekxmpp for the prosody NixOS test. - Update the nixos test to setup and test the MUC and http upload features. - Add a couple of assertions triggered if the setup is not xep-0423 compliant. [1] https://xmpp.org/extensions/xep-0423.html
* nixos/ejabberd: Port test to pythonJacek Galowicz2019-11-26
|
* nixosTests.prosody*: port to pythonRobin Gloster2019-11-24
|
* nixos/ejabberd: fix test for new releaseajs1242019-08-20
|
* prosody: fix work after update luadbi packagesIzorkin2019-08-20
|
* nixos/tests/prosodyMysql: add check work prosody with MySQL databaseIzorkin2019-08-20
|
* nixos/tests/prosody: checking work prosody through local networkIzorkin2019-08-20
|
* nixos/tests: move ejabberd and prosody test to xmpp folderIzorkin2019-08-20