1
0
Fork 0
forked from mirror/prosody
Commit graph

93 commits

Author SHA1 Message Date
265fc16063
fix: add variables to global vhost 2024-12-26 22:56:02 +01:00
0eaf173701
feat: add turn support 2024-12-26 22:33:47 +01:00
Sara Aimée Smiseth
4acb4b42a8
Update LUAROCKS_VERSION=3.11.1 (#72) 2024-11-19 15:41:10 +01:00
Sara Aimée Smiseth
982ddcd60b
Move defaults from entrypoint script to cfg.lua files (#71)
* Move multiple defaults from entrypoint script to cfg.lua files.

* Move remaining defaults from entrypoint script to cfg.lua files.

* Update postgres version in tests

* Register users with prosodyctl in tests

* Replace 'docker-compose' with 'docker compose'
2024-11-19 15:09:13 +01:00
Sara Aimée Smiseth
0e33f70739
Remove modules from Dockerfile which are already part of core modules (#66)
See https://prosody.im/doc/modules.

Add test to check if log contains warnings

This fixes https://github.com/SaraSmiseth/prosody/issues/63.
2024-03-04 17:46:15 +01:00
Sara Aimée Smiseth
74c64514e2
Remove broken links. (#65) 2024-02-20 19:43:58 +01:00
Sara Aimée Smiseth
d8e5906e55
Fix deprecated config options (#64)
Adjust config:
Replace deprecated legacy_ssl with c2s_direct_tls.
Removed use_libevent = true. This means the default is now used which is epoll.

Added a test to check that no deprecated config settings are used.
2024-02-20 18:52:34 +01:00
Sara Aimée Smiseth
fe1787f93c
Switched from [http_upload](https://modules.prosody.im/mod_http_upload) to [http_file_share](https://prosody.im/doc/modules/mod_http_file_share). (#60) 2023-09-14 20:02:00 +02:00
Sara Aimée Smiseth
f8d0fe4f59
Update prosody to version 0.12.4. (#59) 2023-09-09 20:29:13 +02:00
Sara Aimée Smiseth
da2f438bda
Add ENV variables for http_max_content_size and http_upload_file_size_limit (#57)
Fixes #55 and fixes #56:

* Add environment variable HTTP_UPLOAD_FILE_SIZE_LIMIT for setting http_upload_file_size_limit
* Add environment variable HTTP_MAX_CONTENT_SIZE
* Add domain_http_upload to disco_items to support http_upload on some clients and if http_upload is not a subdomain
2023-09-07 17:48:56 +02:00
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