1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
Commit graph

337 commits

Author SHA1 Message Date
Josue-T
478f81f22f
Merge pull request #342 from MayeulC/patch-2
turnserver.conf: remove no-loopback-peers
2022-10-20 06:18:58 +02:00
Mayeul Cantan
20910ed00b
turnserver.conf: remove no-loopback-peers
See 8a60754d70

Option removed in 4.5.2. This was a sane default before, but now coturn complains on startup that this option is invalid:
> Bad configuration format: no-loopback-peers

See also:
cve-2020-26262
https://github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p
https://www.rtcsec.com/article/cve-2020-26262-bypass-of-coturns-access-control-protection/
https://www.mageni.net/vulnerability/coturn-452-loopback-bypass-vulnerability-145204
2022-10-19 11:53:52 +02:00
Josué Tille
620a6456d7
Upgrade synapse to 1.69.0 2022-10-18 08:30:17 +02:00
Josué Tille
f75977165d
Upgrade synapse to 1.68.0 2022-09-28 08:16:43 +02:00
yalh76
63b595518f fix bind_dn 2022-09-27 00:16:26 +02:00
Josué Tille
68c1b62eb8
Fix turnserver config for bullseye 2022-09-16 06:36:02 +02:00
Josué Tille
4c8f860644
Upgrade synapse to 1.67.0 2022-09-15 07:20:44 +02:00
Josue-T
6afcbd639f
Merge pull request #330 from csett86/patch-1
Fix starting of coturn-synapse
2022-09-13 08:11:20 +02:00
Josué Tille
cd88d25b4c
Upgrade synapse to 1.66.0 2022-09-12 20:52:43 +02:00
Christoph Settgast
4897443d24
Fix starting of coturn-synapse
coturn won't start with setuid filter, see #327 

Fix tested there, merge into package.

Closes: #327
2022-09-04 22:49:15 +02:00
Josué Tille
a5600ef453
Upgrade synapse to 1.65.0 2022-08-17 07:29:46 +02:00
Josué Tille
3f5536998e
Upgrade synapse to 1.64.0 2022-08-10 07:52:56 +02:00
Josué Tille
c955e59d1c
Upgrade synapse to 1.63.1 2022-07-21 06:03:15 +02:00
Josué Tille
474acf569d
Upgrade synapse to 1.63.0 2022-07-20 08:31:29 +02:00
Josué Tille
823642c4f1
Upgrade synapse to 1.62.0 2022-07-06 22:04:50 +02:00
Josué Tille
70861280d5
Upgrade synapse to 1.61.1 2022-07-01 18:07:19 +02:00
Josué Tille
85c350a79f
Fix path transversal issue 2022-06-27 16:57:05 +02:00
Josué Tille
2c0266f6bf
Fix email configuration 2022-06-24 13:10:44 +02:00
Josué Tille
0bf9a1f834
Upgrade synapse to 1.61.0 2022-06-17 07:51:35 +02:00
Josué Tille
5c269baa46
Upgrade synapse to 1.60.0 2022-06-15 06:35:06 +02:00
Josué Tille
77247481b4
Upgrade synapse to 1.59.1 2022-05-28 22:19:34 +02:00
Josué Tille
45a06ac69a
Update configuration from upstream 2022-05-28 00:19:44 +02:00
Josué Tille
0c09b361df
Fix systemd unit 2022-05-28 00:19:44 +02:00
Josué Tille
388ebabf39
Fix warning and create yunohost user for ldap filter and send email correctly 2022-05-26 17:19:33 +02:00
Josué Tille
1ead741342 Upgrade synapse to 1.59.0 2022-05-23 12:09:04 +02:00
Josué Tille
59a6a7d356 Upgrade synapse to 1.58.1 2022-05-23 12:09:04 +02:00
Josué Tille
0c1f5221dd Upgrade synapse to 1.58.0 2022-05-23 12:09:04 +02:00
Josué Tille
beae5c1331 Upgrade synapse to 1.57.1 2022-05-23 12:09:04 +02:00
Josué Tille
44c77c740d Upgrade synapse to 1.57.0 2022-05-23 12:09:04 +02:00
Josué Tille
398d97b3b7
Disable registration without verification 2022-04-23 21:37:22 +02:00
Josué Tille
5a0bf33caa
Revert "Enable email verification"
This reverts commit 5cf7d0f7ff.
2022-04-23 21:35:15 +02:00
tituspijean
5cf7d0f7ff
Enable email verification
Verifications are required since v1.56.0
2022-04-19 16:12:26 +02:00
Josué Tille
c50727a738
Upgrade synapse to 1.56.0 2022-04-11 20:33:00 +02:00
Josué Tille
c03ed32d68
Upgrade synapse to 1.55.2 2022-04-01 21:08:38 +02:00
Josué Tille
1e8e3dce04
Upgrade synapse to 1.55.0 2022-03-23 21:45:36 +01:00
Josué Tille
9794dea7cf
Upgrade synapse to 1.54.0 2022-03-23 21:45:35 +01:00
Josué Tille
3f8a79ccbf
Upgrade synapse to 1.53.0 2022-03-02 17:53:32 +01:00
Josué Tille
9a0fb0623c
Upgrade synapse to 1.52.0 2022-02-15 07:41:51 +01:00
Josué Tille
6181289822
Upgrade synapse to 1.51.0 2022-01-26 07:52:28 +01:00
Josué Tille
c307031fae
Upgrade synapse to 1.50.2 2022-01-26 07:52:26 +01:00
Josué Tille
f4e87f3b9a
Upgrade synapse to 1.50.1 2022-01-20 07:59:43 +01:00
Josué Tille
1a8e9e5d23
Upgrade synapse to 1.49.2 2021-12-22 08:04:06 +01:00
Josué Tille
32f6343ef5
Upgrade synapse to 1.49.0 2021-12-15 07:46:22 +01:00
Josué Tille
40a797c0eb Upgrade synapse to 1.48.0 2021-12-01 00:34:14 +01:00
Josué Tille
5a299e1852
Upgrade synapse to 1.47.1 2021-11-24 08:08:46 +01:00
Josué Tille
287c631b5f
Upgrade synapse to 1.47.0 2021-11-24 08:08:46 +01:00
Josué Tille
16aca2e6a1
Upgrade synapse to 1.46.0 2021-11-09 07:54:14 +01:00
Josué Tille
6665b4d331
Upgrade synapse to 1.45.1 2021-10-26 07:45:06 +02:00
Josué Tille
cc9ea538df
Upgrade synapse to 1.45.0 2021-10-26 07:45:05 +02:00
Josué Tille
e93a82ed89
Upgrade synapse to 1.44.0 2021-10-26 07:45:04 +02:00
Josué Tille
6336dc2648
Upgrade synapse to 1.43.0 2021-09-24 08:25:43 +02:00
Josué Tille
743b15791b
Upgrade synapse to 1.42.0 2021-09-08 19:28:51 +02:00
Josué Tille
51796af2f1
Upgrade synapse to 1.41.1 2021-09-08 19:28:50 +02:00
Josué Tille
50c04e0843
Upgrade synapse to 1.41.0 2021-09-08 19:28:48 +02:00
Josué Tille
45d59f3eeb
Upgrade synapse to 1.40.0 2021-08-28 14:29:47 +02:00
Josué Tille
dfbe168ee7
Upgrade synapse to 1.39.0 2021-08-03 21:11:47 +02:00
Josué Tille
06ecfc28e9
Upgrade synapse to 1.38.1 2021-08-03 21:11:41 +02:00
Josué Tille
f70bdc546c
Upgrade synapse to 1.38.0 2021-07-15 21:09:35 +02:00
Josué Tille
8504fe747b
Upgrade synapse to 1.37.1 2021-07-01 17:22:54 +02:00
Josué Tille
5dcf05c88b
Upgrade synapse to 1.37.0 2021-07-01 17:22:48 +02:00
Josué Tille
285501c87f
Upgrade synapse to 1.36.0 2021-06-25 13:21:29 +02:00
Josué Tille
032e2183b8
Upgrade synapse to 1.35.1 2021-06-04 21:30:05 +02:00
Josué Tille
111438caea
Upgrade synapse to 1.35.0 2021-06-04 21:29:57 +02:00
Josué Tille
a2e5ad99b5
Upgrade synapse to 1.34.0 2021-05-19 18:40:32 +02:00
Josué Tille
5a8e6598bc
Upgrade synapse to 1.33.2 2021-05-19 18:40:30 +02:00
Josué Tille
89f12fb606
Upgrade synapse to 1.33.1 2021-05-09 15:01:28 +02:00
Josué Tille
122203b772
Upgrade synapse to 1.33.0 2021-05-09 15:01:27 +02:00
Josué Tille
836ba79798
Upgrade synapse to 1.32.2 2021-04-24 14:53:22 +02:00
Josué Tille
b8f63a9371
Upgrade synapse to 1.32.1 2021-04-24 14:53:21 +02:00
Josué Tille
81c809131d
Fix nginx headers 2021-04-23 16:01:38 +02:00
Josué Tille
971275f8b1
Upgrade synapse to 1.32.0 2021-04-21 07:47:00 +02:00
Josué Tille
bea530efed
Upgrade synapse to 1.31.0 2021-04-07 17:58:33 +02:00
Mayeul Cantan
dccaf7f85a
Add X-Forwarded-Proto header
Fixes https://github.com/YunoHost-Apps/synapse_ynh/issues/249
2021-04-06 14:49:38 +02:00
Josué Tille
6e025ccbdb
Upgrade synapse to 1.30.1 2021-04-03 12:01:54 +02:00
Josué Tille
0f6c243f80
Fix some small issues and remove hardcoded version of PHP 2021-03-07 17:58:57 +01:00
Josué Tille
cb7b4b87bd
Merge branch 'testing' into permission 2021-03-01 20:14:20 +01:00
Josué Tille
dbf0a2c935
Upgrade synapse to 1.28.0 2021-03-01 20:03:17 +01:00
Josué Tille
f434fe842b
Upgrade synapse to 1.27.0 2021-02-18 19:06:20 +01:00
Josué Tille
6ccdd95b12
Fix template helper 2021-02-18 19:05:04 +01:00
Josué Tille
181f1e0551
Merge branch 'fix_crypto_build' into permission 2021-02-15 15:50:02 +01:00
Josué Tille
247899a139
Upgrade synapse to 1.26.0 2021-02-08 21:19:35 +01:00
Josué Tille
5f2ee05c4c
Implement group permission support and use new helper for config file 2021-01-26 22:06:15 +01:00
Josué Tille
f93d4e7c15
Upgrade synapse to 1.25.0 2021-01-18 19:46:50 +01:00
Josué Tille
ce99168ba3
Add ability to disable e2e encryption by default for DM 2020-12-12 16:12:39 +01:00
Josué Tille
599b808e60
Upgrade synapse to 1.23.1 2020-12-10 23:41:42 +01:00
Josué Tille
e4158175a2
Implement backup core only 2020-12-07 17:04:22 +01:00
Josué Tille
cab5b30e98
Upgrade synapse to 1.23.0 2020-11-28 18:58:15 +01:00
Josué Tille
1971cbca54
Remplace /var/run by /run 2020-11-28 17:31:45 +01:00
Josué Tille
692f39f486
Fix package linter 2020-11-18 00:04:01 +01:00
Josué Tille
7220a2cf34
Upgrade synapse to 1.22.1 2020-11-02 22:22:31 +01:00
Josué Tille
5af6b1556d
Upgrade synapse to 1.22.0 2020-11-02 22:22:31 +01:00
Josué Tille
0e43dd23f6
Upgrade synapse to 1.21.2 2020-10-23 23:26:01 +02:00
Josué Tille
3a0b700caa
Upgrade synapse to 1.21.1 2020-10-23 23:25:59 +02:00
Josué Tille
b09e1caa33
Upgrade synapse to 1.21.0 2020-10-13 19:16:59 +02:00
Josué Tille
53865af2e5
Upgrade synapse to 1.20.1 2020-09-26 00:53:56 +02:00
Josué Tille
c5ef944076
Fix well-known client configuration 2020-09-24 00:28:17 +02:00
Josué Tille
4c68195030
Upgrade synapse to 1.20.0 2020-09-23 13:25:29 +02:00
Josué Tille
aa9adbaa71
Upgrade synapse to 1.19.3 2020-09-19 00:59:04 +02:00
Josué Tille
6aaa8fe290
Upgrade synapse to 1.19.2 2020-09-17 20:24:31 +02:00
Josué Tille
449e6fae03
Upgrade synapse to 1.19.1 2020-08-31 20:36:13 +02:00
Josué Tille
8ce5179326
Upgrade synapse to 1.19.0 2020-08-20 21:31:47 +02:00
Josué Tille
884291e05a
Upgrade synapse to 1.18.0 2020-07-31 07:55:07 +02:00
Josué Tille
2d14c10c53
Add appservice support 2020-07-24 23:42:13 +02:00
Josué Tille
10a728f388
Upgrade synapse to 1.17.0 2020-07-23 14:57:30 +02:00
Josué Tille
9106143f2f
Upgrade synapse to 1.16.1 2020-07-23 14:57:28 +02:00
Josué Tille
c7cbfddc08
Upgrade synapse to 1.16.0 2020-07-23 14:57:26 +02:00
Josué Tille
c97610cc74
Upgrade synapse to 1.15.2 2020-07-04 10:10:04 +02:00
Josué Tille
7b3eff4d60
Upgrade synapse to 1.15.1 2020-06-17 14:07:50 +02:00
Josué Tille
1b484b1847
Fix arm source 2020-06-13 14:57:36 +02:00
Josué Tille
47c16adc25
Upgrade synapse to 1.15.0 2020-06-13 14:51:00 +02:00
Josué Tille
b97a5eb670
Add buster support for ARM 2020-06-03 14:33:07 +02:00
Josué Tille
ab2273fe4e
Upgrade synapse to 1.14.0 2020-05-29 21:59:57 +02:00
Josué Tille
ac78f19224
Fix and improve coturn config 2020-05-20 23:41:24 +02:00
Josué Tille
4f4d742436
Fix dh_file path on turnserver config 2020-05-20 22:08:14 +02:00
Josué Tille
1707778fa8
Upgrade synapse to 1.13.0 2020-05-20 21:13:14 +02:00
Josué Tille
e47b2d939e
Add possibility to customize jitsi server and fix config pannel 2020-05-07 14:41:35 +02:00
Josué Tille
8533a8254d
Disable SSO in public mode 2020-05-07 11:01:36 +02:00
Josué Tille
c51477193a
Upgrade synapse to 1.12.4 2020-04-27 11:27:02 +02:00
Josué Tille
4dc7d88f06
Upgrade synapse to 1.12.3 2020-04-06 09:50:53 +02:00
Josué Tille
2496cea11b
Upgrade synapse to 1.12.2 2020-04-03 15:20:18 +02:00
Josué Tille
b0f6535458
Merge branch 'testing' into v1.12 2020-04-03 11:17:18 +02:00
Josue-T
57a79f89c5
Merge pull request #175 from YunoHost-Apps/sso
CAS - SSO implementation
2020-04-03 11:12:44 +02:00
Josué Tille
713964ef37
Fix remove_sso_conf script 2020-03-31 11:37:17 +02:00
Josué Tille
91aafe7d42
Rework remove_sso_conf script 2020-03-31 10:54:44 +02:00
Josué Tille
8ce2d639e3
Fix add_sso_conf script argument 2020-03-29 16:07:15 +02:00
Josué Tille
5187f8838a
Add LDAP filter for permission 2020-03-25 22:00:41 +01:00
Josué Tille
fc866e8adf
Upgrade synapse to 1.12.0 2020-03-23 23:39:35 +01:00
Josué Tille
b2f6a02ca9
Use vector identity server to send email dans SMS 2020-03-23 15:15:47 +01:00
Josué Tille
fdd5b7f396
Fix SSO script 2020-03-17 23:31:08 +01:00
Josué Tille
e0072ab1cf
Merge branch 'testing' into sso 2020-03-14 14:35:52 +01:00
Josué Tille
70b322f6e1
Add support for .well_known access 2020-03-14 14:35:20 +01:00
Josué Tille
a3050ffd23
Upgrade synapse to 1.11.1 2020-03-06 14:16:14 +01:00
Josué Tille
47387772fd
Upgrade synapse to 1.11.0 2020-02-22 00:52:01 +01:00
Josué Tille
875638ff36
Use permission to protectect CAS server access 2020-02-22 00:50:19 +01:00
Josué Tille
80252cffd5
Add CAS info access in synapse config 2020-02-22 00:50:19 +01:00
Josué Tille
f9a381bf0a
Create small CAS server for SSO authentication 2020-02-22 00:50:18 +01:00
Josué Tille
44cc4d66e9
Upgrade synapse to 1.10.1 2020-02-18 22:36:41 +01:00
Josué Tille
d86e4cb4d0
Upgrade synapse to 1.10.0 2020-02-13 22:15:41 +01:00
Josué Tille
3bf5a13ec5
Upgrade synapse to 1.9.1 2020-01-30 20:36:58 +01:00
Josué Tille
e5d076326c
Upgrade synapse to 1.9.0 2020-01-23 22:04:05 +01:00
Josué Tille
2ec5b92aa0
Upgrade synapse to 1.8.0 2020-01-10 12:16:49 +01:00
Josué Tille
15acee6009
Upgrade synapse to 1.7.3 2020-01-02 21:22:04 +01:00
Josué Tille
e0baaf0752
Upgrade synapse to 1.7.2 2019-12-21 15:08:08 +01:00
Josué Tille
e270871afd
Upgrade synapse to 1.7.1 2019-12-19 21:30:19 +01:00
Josué Tille
c79df19b90
Upgrade synapse to 1.7.0 2019-12-14 00:56:05 +01:00
Josué Tille
bd2b63f86d
Merge branch 'testing' into block_public_rooms 2019-12-01 22:28:17 +01:00
Josué Tille
9e604bf888
Merge pull request #160 from YunoHost-Apps/v1.6 2019-12-01 22:24:30 +01:00
Thatoo
663ae2c352 well-known support (#136)
* Update README.md

* Update manifest.json

* a

* Delete a

* avoid boolean for public but ask a clear choice Yes/No

* Update check_process

Add server_name="domain2.tld"    (DOMAIN)

* .well-known

DNS conf become optionnal with .well-known edition

* .well-known redirection for access by federation

Create .well-known redirection for access by federation

* .well-known redirection for access by federation

If not existing, create .well-known redirection for access by federation

* Update README.md

back to 0.99.5.2

* back to 0.99.5.2

* back to 0.99.5.2

* back to 0.99.5.2

* Update install

* Update upgrade

* Update install

* Update upgrade

* Update install

* Update upgrade

* Update .well-known redirection

for access by federation and applications like Riot.im

* Update .well-known redirection

for access by federation and applications like Riot.im

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* Update install

* Update upgrade

* Update to 1.2.1

* Update to 1.2.1

* Update to 1.2.1

* Back to v1.1.0

* Back to v1.1.0

* Back to v1.1.0

* Update to v1.2.1

* Update to v1.2.1

* Update to v1.2.1

* Important update of upgrade script

ynh_replace_string __SERVER_NAME__ $server_name "$homeserver_config_path" was missing

* Back to v1.1.0

* Back to v1.1.0

* Back to v1.1.0

* Fix typo for ipv6 validation

* Upgrade to v1.2.1

* Upgrade to v1.2.1

* Upgrade to v1.2.1

* remove server_name's nginx conf

remove /etc/nginx/conf.d/${server_name}.d/server_name.conf

* Create server_name.conf

To allow the automatic well-known system for server-name detection instead of DNS record

* Update install

In
# Create .well-known redirection for access by federation
change
  cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
    location /.well-known/matrix/ {
        return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
        add_header Content-Type application/json;
        add_header Access-Control-Allow-Origin '*';
        }
EOF
to 
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
after creation of ../conf/server_name.conf file.

* Update upgrade

In
# Create .well-known redirection for access by federation if it doesn't exist
change
  cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
    location /.well-known/matrix/ {
        return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
        add_header Content-Type application/json;
        add_header Access-Control-Allow-Origin '*';
        }
EOF
to
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf

* backup well.known server_name nginx cond

add
ynh_backup "/etc/nginx/conf.d/${server_name}.d/server_name.conf"

* Backup well.known server-name nging conf

add
server_name=$(ynh_app_setting_get $app server_name) 
to make
ynh_backup "/etc/nginx/conf.d/${server_name}.d/server_name.conf"
understood

* Update backup

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update install

* Update README.md

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/upgrade

Co-Authored-By: Josue-T <josue@tille.ch>

* Update conf/server_name.conf

Co-Authored-By: Josue-T <josue@tille.ch>

* move .well-known redirection to config section

move #Create .well-known redirection for access by federation to end of config section

* move .well-known redirection to config section 

move #Create .well-known redirection to the end of config section and Indentation

* add checksum management for server_name.conf

add checksum management for server_name.conf with the helper ynh_store_file_checksum

* add checksum management for server_name.conf

add checksum management for server_name.conf with the helper ynh_store_file_checksum

* replace __SERVER_NAME__

* replace __SERVER_NAME__

* delete a blank line

* Update upgrade

* Update install

* Update check_process

Co-Authored-By: Josue-T <josue@tille.ch>

* Update conf/server_name.conf

Co-Authored-By: Josue-T <josue@tille.ch>

* remove blank line

* ynh_store_file_checksum after cp inside if block

* change order checksum and cp

change order to ynh_backup_if_checksum_is_different then cp then ynh_store_file_checksum

* Update install

* Update upgrade

* Update backup

* Update backup

* Update scripts/backup

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update install

* Update remove

* Update upgrade
2019-12-01 22:18:56 +01:00
Josué Tille
b70db793d4
Upgrade synapse to 1.6.1 2019-12-01 19:59:31 +01:00
Josué Tille
2e6720e341
Upgrade synapse to 1.6.0 2019-11-27 20:37:26 +01:00