1
0
Fork 0
forked from mirror/prosody
Commit graph

83 commits

Author SHA1 Message Date
Sara Aimée Smiseth
375b006814
Update to debian bookworm (#54) 2023-07-09 09:59:41 +02:00
Sara Aimée Smiseth
e6415fa513
Add tests for prosody with LDAP authentication (#53)
This commit updates the docker-compose.yml file to use example.com domain instead of localhost.

It also adds a new Prosody instance using LDAP authentication with glauth as the backend. The commit also includes a new file config.cfg for the glauth server configuration.
2023-03-28 08:08:01 +02:00
Sara Aimée Smiseth
81e9c1abd9
Add LDAP authentication support to Prosody (#50)
This commit adds support for LDAP authentication.

The Dockerfile has been modified to install the required Lua modules (lua-ldap) and the prosody.cfg.lua file has been modified to add environment variables for configuring the LDAP connection. These environment variables include LDAP_BASE, LDAP_SERVER, LDAP_ROOTDN, LDAP_PASSWORD, LDAP_FILTER, LDAP_SCOPE, LDAP_TLS, LDAP_MODE, and LDAP_ADMIN_FILTER.

The authentication variable has also been updated to use the value of the AUTHENTICATION environment variable, which defaults to "internal_hashed" if not set. This allows users to configure Prosody to use LDAP for authentication instead of the default internal hashing method.

* Update test dependencies: aioxmpp, pytest-asyncio + add pytz to requirements.txt

This fixes the following error when running the tests:
E   ModuleNotFoundError: No module named 'pytz'

Instead of pytz only pytz-deprecation-shim was installed.

TODO Check if "pytz" can be removed from requirements.txt later on.
2023-03-25 11:23:51 +01:00
Sara Aimée Smiseth
f7fcfd5d88
Update prosody and luarocks (#48)
* Update prosody to version 0.12.3.
* Update luarocks to version 3.9.2
2023-02-23 16:22:36 +01:00
Sara Aimée Smiseth
ab2afd4249
Update prosody to version 0.12.1 (#37) 2022-06-15 17:57:41 +02:00
Sara Aimée Smiseth
bd7a27ea74
Update bats-assert + bats-core + bats-support (#36) 2022-05-18 16:50:37 +02:00
Sara Aimée Smiseth
7a4ebd68d8
Update prosody to version 0.12.0 (#35)
* Update luarocks to 3.9.0
* Update tests for prosody version 0.12.0
2022-05-05 18:25:19 +02:00
Sara Aimée Smiseth
13d9c1b9d1
Update prosody to version 0.11.13 (#34) 2022-01-27 21:23:32 +01:00
Sara Aimée Smiseth
52e8f5388e
Update prosody to version 0.11.12 (#33) 2022-01-24 18:08:55 +01:00
Sara Aimée Smiseth
75e4b05ce5
Updates to luarocks and prosody (#32)
* Updated to Prosody version 0.11.11.
* Updated luarocks to version 3.8.0.
* .github workflow: Use actions/checkout@v2 with submodules: recursive
2021-12-23 16:01:53 +01:00
Sara Aimée Smiseth
eab04aeaf0
Update prosody to version 0.11.10 (#28) 2021-09-02 20:48:59 +02:00
Sara Aimée Smiseth
ca4e265ffe
Update debian from buster-slim to bullseye-slim (#27) 2021-08-05 10:15:53 +02:00
Sara Aimée Smiseth
4bbcdb80e9
Updated prosody to version 0.11.9 (#26)
Prepare version v1.2.1
2021-05-13 15:33:16 +02:00
Sara Aimée Smiseth
1966b38aac
Information about permissions (#25)
This fixes #3
2021-05-13 14:25:09 +02:00
Sara Aimée Smiseth
80216c5fdc
Add support for postgres, mariadb/mysql databases (#23)
* Add environment variables for Database configuration.
* Install postgres and mysql dependencies.
* Test refactoring
* Run tests for prosody with postgres and also for prosody with sqlite.
* Add tests that check if postgres or sqlite is used.
2021-05-07 14:06:29 +02:00
Sara Aimée Smiseth
5bcf0fd3d0
Update luarocks to version 3.7.0 (#22) 2021-04-17 13:32:49 +02:00
Sara Aimée Smiseth
aec0a30279
Updated luarocks to version 3.6.0 (#21)
* Update luarocks 3.6.0
2021-03-31 18:03:14 +02:00
Sara Aimée Smiseth
66723e19a1
Updated prosody to version 0.11.8 (#19) 2021-02-16 16:46:07 +01:00
Sara Aimée Smiseth
dbc63cc00f
Updated luarocks to version 3.5.0. (#18) 2020-12-11 08:15:36 +01:00
Sara Aimée Smiseth
39bd69d39c Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
Sara Aimée Smiseth
b70fcbd98e
Create tests (#15)
Created a tests folder which contains pytest and bats tests.
Pytest is used to login and send messages to other accounts.
Bats is used to check the log for debug messages.

This fixes #13.
2020-10-30 17:47:05 +01:00
Sara Aimée Smiseth
fc45a7bab1
Add opencontainers LABELs (#17)
See https://github.com/opencontainers/image-spec/blob/master/annotations.md
2020-10-14 11:49:30 +02:00
Sara Aimée Smiseth
d2915f77f3
More badges (#16)
version, Git repository size, Github open issues, Github open pull requests
2020-10-13 17:03:52 +02:00
Sara Aimée Smiseth
357f4d4040
Fix arrays with multiple values (#14)
* fix arrays
* Set pidfile in prosody.cfg.lua
2020-10-10 08:55:43 +02:00
Sara Aimée Smiseth
ade86ee812 CHANGELOG.md v1.1.2 2020-10-02 06:16:14 +02:00
Sara Aimée Smiseth
58f5d18987 update luarocks to version 3.4.0 2020-10-01 18:22:06 +02:00
Sara Aimée Smiseth
ceef3c335f update prosody to version 0.11.7 2020-10-01 17:50:58 +02:00
Sara Aimée Smiseth
1980cf0899 Cherry picked [commit](fa13a990a1) from [zipizap/prosody](https://github.com/zipizap/prosody) which fixes a bug with env-vars not beeing initialized. 2020-09-30 15:40:40 +02:00
Ubuntu
9645f521f8 fix bug with env-vars
env-vars should be defined before the if conditional branches, so that
in case they execute, there will be no errors about undefined env-vars
2020-09-30 15:37:25 +02:00
Sara Aimée Smiseth
606e63f20f Added E2E_POLICY_WHITELIST ENV variable to configure e2e_policy_whitelist. 2020-09-26 18:54:56 +02:00
Sara Aimée Smiseth
15b95e5822 Remove obsolete server_contact_info section. Use ENV variables instead. 2020-09-26 18:43:35 +02:00
Sara Aimée Smiseth
fb50f748ee Make 03-e2e-policy.cfg.lua configurable with ENV variables. 2020-09-18 20:04:52 +02:00
Sara Aimée Smiseth
fd21384bdf Make 04-server_contact_info.cfg.lua configurable with ENV variables. Fixes #4 2020-09-18 16:26:45 +02:00
Sara Aimée Smiseth
a5c6d5ecef update prosody to version 0.11.6 2020-09-09 17:56:16 +02:00
Sara Aimée Smiseth
dbb91cbe5b replace master with dev 2020-07-12 17:45:21 +02:00
Sara Aimée Smiseth
5a963e31a8 Update CHANGELOG.md for new release. 2020-07-08 18:29:48 +02:00
Sara Aimée Smiseth
772f26d468 Add link to official documentation on certificate permissions to README. Related to #3 2020-07-08 17:43:24 +02:00
Sara Aimée Smiseth
522e26c5ac Change global ssl section to http_upload and legacy_ssl sections. It is only needed there. 2020-07-08 17:42:42 +02:00
Sara Aimée Smiseth
d49e03b5c9 Enable announce and lastactivity modules 2020-06-28 10:18:32 +02:00
Sara Aimée Smiseth
5537365e36 Download modules, install modules and delete modules in one Docker RUN. 2020-06-27 19:54:16 +02:00
Sara Aimée Smiseth
476dbd06b8 Refactor module install scripts to remove duplicate code. Fixes #6. 2020-06-27 19:47:57 +02:00
Sara Aimée Smiseth
9e24592826 Download prosody-modules only once. 2020-06-27 19:22:55 +02:00
Sara Aimée Smiseth
2500028412 Add PROSODY_ADMINS to specify who is an administrator. Fixes #7 2020-06-26 17:34:24 +02:00
Sara Aimée Smiseth
20b7d7258d Add CHANGELOG.md with unreleased changes 2020-06-21 16:05:05 +02:00
Sara Aimée Smiseth
829ecbab5a Add badges to README. Fixes #5. 2020-06-21 13:43:20 +02:00
Sara Aimée Smiseth
bd4c48a575 update readme. fixes #2 2020-06-21 12:10:24 +02:00
Sara Aimée Smiseth
c9719fdde3
Update docker-publish.yml 2020-06-12 12:58:39 +02:00
Sara Aimée Smiseth
d9535a54bc Update Dockerfile and change base image to debian:buster-slim.
Create docker-publish.yml and automatically build and push to dockerhub.
2020-06-11 14:12:09 +02:00
Sara Aimée Smiseth
145e1308f6 move cloud_notify to correct module install list 2020-06-05 08:08:32 +02:00
Sara Aimée Smiseth
434898e2f1 XEP-0060 pubsub service 2020-06-05 07:53:52 +02:00