Skip to content

Commit

Permalink
Stop vendoring prosody modules
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 21, 2024
1 parent 21bb7cb commit 441efe0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 703 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ jobs:
run: |
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/prosody.list
sudo wget https://prosody.im/files/prosody-debian-packages.key -O/etc/apt/trusted.gpg.d/prosody.gpg
sudo apt-get update
sudo apt-get -y install lua5.3 prosody-trunk lua-bitop lua-sec
sudo apt update
sudo apt install lua5.4 prosody-trunk lua-bitop lua-sec luarocks
sudo service prosody stop
prosodyctl --config server/prosody.cfg.lua install mod_sasl2
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_bind2
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_fast
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_sm
# - run: npm install -g npm
- run: make
Expand Down
7 changes: 6 additions & 1 deletion packages/sasl2/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ test("with bind2", async () => {
</authenticate>,
);

entity.mockInput(<success xmlns="urn:xmpp:sasl:2" />);
entity.mockInput(
<success xmlns="urn:xmpp:sasl:2">
<authorization-identity>{entity.jid}</authorization-identity>
<bound xmlns="urn:xmpp:bind:0" />
</success>,
);
entity.mockInput(<features xmlns="http://etherx.jabber.org/streams" />);

await promise(entity, "online");
Expand Down
Empty file added server/modules/.gitkeep
Empty file.
228 changes: 0 additions & 228 deletions server/modules/mod_sasl2.lua

This file was deleted.

110 changes: 0 additions & 110 deletions server/modules/mod_sasl2_bind2.lua

This file was deleted.

Loading

0 comments on commit 441efe0

Please sign in to comment.